summaryrefslogtreecommitdiff
path: root/headers
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2020-02-17 16:44:20 -0800
committerJean-Michel Trivi <jmtrivi@google.com>2020-02-19 10:08:30 -0800
commitf46ac350e9c936f5d77c74d0a1854411116707c0 (patch)
tree241adfa481e6cfe6a609087c3fc335f8695e777a /headers
parent453f2c3e7a99fc1a342319c0419da4a2de2e9a87 (diff)
downloadnative-f46ac350e9c936f5d77c74d0a1854411116707c0.tar.gz
Declare new AAC struct for MPEG-4 / MPEG-D DRC parameters
Declare AAC DRC output loudness, album mode parameters in a new structure. Bug: 148385721 Test: atest DecoderTestXheAac DecoderTestAacDrc Change-Id: I17bda0a775879eee373ef2a7f187d9e560e8b852
Diffstat (limited to 'headers')
-rw-r--r--headers/media_plugin/media/openmax/OMX_AudioExt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/headers/media_plugin/media/openmax/OMX_AudioExt.h b/headers/media_plugin/media/openmax/OMX_AudioExt.h
index 477faedef8..b66efce35a 100644
--- a/headers/media_plugin/media/openmax/OMX_AudioExt.h
+++ b/headers/media_plugin/media/openmax/OMX_AudioExt.h
@@ -116,6 +116,8 @@ typedef struct OMX_AUDIO_PARAM_ANDROID_AACDRCPRESENTATIONTYPE {
OMX_S32 nEncodedTargetLevel; /**< Target reference level assumed at the encoder, between 0 and 127, -1 if unspecified */
OMX_S32 nPCMLimiterEnable; /**< Signal level limiting, 0 for disable, 1 for enable, -1 if unspecified */
OMX_S32 nDrcEffectType; /**< MPEG-D DRC effect type, between -1 and 6, -2 if unspecified */
+ OMX_S32 nDrcOutputLoudness; /**< MPEG-D DRC Output Loudness, between -1 and 231, -2 if unspecified */
+ OMX_S32 nDrcAlbumMode; /**< MPEG-D DRC Album Mode, between 0 and 1, -1 if unspecified */
} OMX_AUDIO_PARAM_ANDROID_AACDRCPRESENTATIONTYPE;
typedef struct OMX_AUDIO_PARAM_ANDROID_PROFILETYPE {