diff options
author | Fraunhofer IIS FDK <audio-fdk@iis.fraunhofer.de> | 2019-12-19 17:21:07 +0100 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2020-02-11 16:02:32 -0800 |
commit | 31f66f6d3ffcfa429c170b2c35250982d11f5082 (patch) | |
tree | c7e87162565c1b45af14c32d11fa71f2489e760a /libDRCdec/include/FDK_drcDecLib.h | |
parent | 3255d513ce56f98085d77dd7b92840b73ab4cfd3 (diff) | |
download | fdk-aac-31f66f6d3ffcfa429c170b2c35250982d11f5082.tar.gz fdk-aac-31f66f6d3ffcfa429c170b2c35250982d11f5082.tar.bz2 fdk-aac-31f66f6d3ffcfa429c170b2c35250982d11f5082.zip |
Extend decoder API with audio output loudness info (FDKdec v3.1.3).
Bug: 148385721
Test: atest DecoderTestXheAac DecoderTestAacDrc
Change-Id: I68b09883def21baef259c9ab914922567ab8cee3
Diffstat (limited to 'libDRCdec/include/FDK_drcDecLib.h')
-rw-r--r-- | libDRCdec/include/FDK_drcDecLib.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/libDRCdec/include/FDK_drcDecLib.h b/libDRCdec/include/FDK_drcDecLib.h index 2d28d23..79f8566 100644 --- a/libDRCdec/include/FDK_drcDecLib.h +++ b/libDRCdec/include/FDK_drcDecLib.h @@ -114,6 +114,8 @@ amm-info@iis.fraunhofer.de extern "C" { #endif +#define DRC_DEC_LOUDNESS_NOT_PRESENT (LONG)0x7FFFFFFE + typedef struct s_drc_decoder* HANDLE_DRC_DECODER; typedef struct s_uni_drc_interface* HANDLE_UNI_DRC_INTERFACE; typedef struct s_selection_process_output* HANDLE_SEL_PROC_OUTPUT; @@ -150,9 +152,12 @@ typedef enum { DRC_DEC_IS_ACTIVE, /**< MPEG-D DRC payload is present and at least one of Dynamic Range Control (DRC) or Loudness Normalization (LN) is activated */ - DRC_DEC_TARGET_CHANNEL_COUNT_SELECTED /**< number of output channels if - appropriate downmixInstruction exists - */ + DRC_DEC_TARGET_CHANNEL_COUNT_SELECTED, /**< number of output channels if + appropriate downmixInstruction + exists */ + DRC_DEC_OUTPUT_LOUDNESS /**< output loudness in dB, with exponent e = 7, or + DRC_DEC_LOUDNESS_NOT_PRESENT if no loudness is + contained in the bitstream */ } DRC_DEC_USERPARAM; typedef enum { |