mbox

[FFmpeg-devel,0/5] 22.2 channel layout support for AAC decoding

Message ID 20200616210253.7169-1-jeebjp@gmail.com
Headers show

Message

Jan Ekström June 16, 2020, 9:02 p.m. UTC
Now that we actually have sample(s) for channel_config 13, it was possible
to see at which various points the AAC decoder fails attempting to parse
the bit stream.

I have not yet found or generated a channel layout test sample so I could
fully validate the channel map output by the AAC decoder, but at least
7/24 seem to be correct looking at the decoded WAV output in Audacity 
(front left/right, center, top and bottom front left/right seem to be
correct based on the sample linked in #8714).

Fixes #8714

Jan Ekström (5):
  avutil/channel_layout: add 22.2 layout
  avcodec/mpeg4audio: add newer channel_coding mappings
  avcodec/aacdectab: add mapping for 22.2
  avcodec/aacdec_template: mark second LFE element as LFE2
  avcodec/aacdec_template: add support for 22.2 / channel_config 13

 doc/APIchanges               |  5 ++++
 libavcodec/aacdec_template.c | 55 ++++++++++++++++++++++++++++++++++--
 libavcodec/aacdectab.h       | 23 +++++++++++++--
 libavcodec/mpeg4audio.c      | 17 +++++++++--
 libavcodec/mpeg4audio.h      |  2 +-
 libavutil/channel_layout.c   |  6 ++++
 libavutil/channel_layout.h   |  6 ++++
 libavutil/version.h          |  2 +-
 8 files changed, 108 insertions(+), 8 deletions(-)