All of lore.kernel.org
 help / color / mirror / Atom feed
* Adding AC3, TrueHD, and other audio codecs to compress-offload API
@ 2022-12-06 13:31 Carlos Rafael Giani
  0 siblings, 0 replies; only message in thread
From: Carlos Rafael Giani @ 2022-12-06 13:31 UTC (permalink / raw)
  To: alsa-devel

Hello,

currently, the compress-offload API does not include AC3, EAC3, TrueHD, 
MPEG-H, DTS in its list of audio codecs (found in 
include/uapi/sound/compress_params.h ). However, in part due to the rise 
of 3D audio like Dolby Atmos, adding these codecs would be useful if the 
underlying DSP is able to directly receive the compressed audio frames 
instead of having to rely on passing the compressed data through IEC958 
/ IEC61937.

 From what I see, no special parameters would be needed - these codecs 
are self contained (no extra codec headers and such required). In the 
MPEG-H case, I'd limit support to MHAS (MPEG-H 3D Audio Stream), since 
that seems to be the more popular method of transporting MPEG-H frames, 
and also does not require any special extra info. As a result, this 
would amount to just adding a couple of audio codec #defines to 
compress_params.h .

Thoughts?

Carlos


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-06 13:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-06 13:31 Adding AC3, TrueHD, and other audio codecs to compress-offload API Carlos Rafael Giani

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.