summaryrefslogtreecommitdiffstats
path: root/libAACdec/src/aacdecoder.h
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2013-12-30 16:01:08 -0800
committerJean-Michel Trivi <jmtrivi@google.com>2014-03-31 23:41:44 +0000
commit603f48ab99ce76f552f4f6f85d06b8c5b94c698e (patch)
tree303937f6779cdb798e3cec67ebe32abb39eab15b /libAACdec/src/aacdecoder.h
parent629f60c0e71f4a5ad273d5ab3fc6964e5eb1f9f4 (diff)
downloadfdk-aac-603f48ab99ce76f552f4f6f85d06b8c5b94c698e.tar.gz
fdk-aac-603f48ab99ce76f552f4f6f85d06b8c5b94c698e.tar.bz2
fdk-aac-603f48ab99ce76f552f4f6f85d06b8c5b94c698e.zip
AAC Decoder: introduce time domain limiter
Introduce time domain limiter. The module is per default enabled for all AAC-LC and HE-AAC v1/2 streams. For all ER-AAC-LD and ER-AAC-ELD streams the limiter is disabled per default. The feature can be en- or disabled via dynamic API parameter. Note that the limiter introduces an additional output delay which depends on the module parameters and the streams sampling rate. Bug 9428126 Change-Id: I299a072340b33e2c324facbd347a72c8de3d380e
Diffstat (limited to 'libAACdec/src/aacdecoder.h')
-rw-r--r--libAACdec/src/aacdecoder.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libAACdec/src/aacdecoder.h b/libAACdec/src/aacdecoder.h
index f581054..bcbc040 100644
--- a/libAACdec/src/aacdecoder.h
+++ b/libAACdec/src/aacdecoder.h
@@ -111,6 +111,7 @@ amm-info@iis.fraunhofer.de
#include "aacdec_drc.h"
#include "pcmutils_lib.h"
+ #include "limiter.h"
/* Capabilities flags */
@@ -215,6 +216,12 @@ struct AAC_DECODER_INSTANCE {
CAncData ancData; /*!< structure to handle ancillary data */
HANDLE_PCM_DOWNMIX hPcmUtils; /*!< privat data for the PCM utils. */
+ TDLimiterPtr hLimiter; /*!< Handle of time domain limiter. */
+ UCHAR limiterEnableUser; /*!< The limiter configuration requested by the library user */
+ UCHAR limiterEnableCurr; /*!< The current limiter configuration. */
+
+ FIXP_DBL extGain[1]; /*!< Gain that must be applied to the output signal. */
+ UINT extGainDelay; /*!< Delay that must be accounted for extGain. */
};