mirror of
https://github.com/mstorsjo/fdk-aac.git
synced 2025-06-05 22:39:13 +02:00
AAC Decoder: support 6.1/7.1 decoded as 5.1
- Add 6.1 and 7.1 channel support including downmixer. Per default the decoder creates a 5.1 channel output for all streams with more than six encoded channels. Modified file(s): libPCMutils/include/pcmutils_lib.h libPCMutils/src/pcmutils_lib.cpp libAACdec/include/aacdecoder_lib.h libAACdec/src/aac_rom.h libAACdec/src/aacdecoder.cpp libAACdec/src/aac_ram.cpp libAACdec/src/aacdec_drc.cpp libAACdec/src/aacdecoder_lib.cpp libAACdec/src/aac_rom.cpp libAACdec/src/aacdecoder.h libSBRdec/include/sbrdecoder.h libSBRdec/src/sbrdec_drc.h libSBRdec/src/sbrdecoder.cpp libSBRdec/src/sbr_ram.cpp libSBRdec/src/sbr_ram.h libMpegTPDec/include/tp_data.h libMpegTPDec/include/tpdec_lib.h libMpegTPDec/src/version libMpegTPDec/src/tpdec_asc.cpp libMpegTPEnc/include/tp_data.h libMpegTPEnc/src/version libSYS/include/FDK_audio.h libSYS/src/genericStds.cpp - Fix error concealment modules fade-out/in mechanism. Modified file(s): libAACdec/src/conceal.cpp Bug 9428126 Change-Id: I3230bd2072314b730911cd7ec1740e290cb1d254
This commit is contained in:
@@ -151,6 +151,7 @@ typedef enum {
|
||||
#define PC_ASSOCDATA_MAX 8
|
||||
#define PC_CCEL_MAX 16 /* CC elements */
|
||||
#define PC_COMMENTLENGTH 256
|
||||
#define PC_NUM_HEIGHT_LAYER 3
|
||||
|
||||
|
||||
/*!
|
||||
@@ -239,14 +240,20 @@ int CProgramConfig_LookupElement(
|
||||
);
|
||||
|
||||
/**
|
||||
* \brief Get table of elements in canonical order.
|
||||
* \param pPce A valid program config structure.
|
||||
* \param table An array where the element IDs are stored.
|
||||
* \return Total element count including all SCE, CPE and LFE.
|
||||
* \brief Get table of elements in canonical order from a
|
||||
* give program config field.
|
||||
* \param pPce A valid program config structure.
|
||||
* \param table An array where the element IDs are stored.
|
||||
* \param elListSize The length of the table array.
|
||||
* \param pChMapIdx Pointer to a field receiving the corresponding
|
||||
* implicit channel configuration index of the given
|
||||
* PCE. If none can be found it receives the value 0.
|
||||
* \return Total element count including all SCE, CPE and LFE.
|
||||
*/
|
||||
int CProgramConfig_GetElementTable( const CProgramConfig *pPce,
|
||||
MP4_ELEMENT_ID table[],
|
||||
const INT elListSize );
|
||||
const INT elListSize,
|
||||
UCHAR *pChMapIdx );
|
||||
|
||||
/**
|
||||
* \brief Initialize a given AudioSpecificConfig structure.
|
||||
|
Reference in New Issue
Block a user