diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2014-08-01 22:17:48 -0700 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2014-08-08 11:03:32 -0700 |
commit | 8045853d03649f43ea2f7107e7d2dbb9b2d20855 (patch) | |
tree | e11dfa27febf887acc5cc31c5e975ba74f72da11 /include | |
parent | b97cc6a9a3c81215e365c61b071a932073b56ff2 (diff) | |
download | frameworks_av-8045853d03649f43ea2f7107e7d2dbb9b2d20855.zip frameworks_av-8045853d03649f43ea2f7107e7d2dbb9b2d20855.tar.gz frameworks_av-8045853d03649f43ea2f7107e7d2dbb9b2d20855.tar.bz2 |
AAC decoder: add support for controlling presentation parameters
Control the dowmixing of the AAC decoder
Control the DRC processing of the AAC decoder
Bug 16740915
Change-Id: I9b06ea8785f56213ea120ed85eeb360c88223297
Diffstat (limited to 'include')
-rw-r--r-- | include/media/stagefright/ACodec.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/media/stagefright/ACodec.h b/include/media/stagefright/ACodec.h index a68adea..ca5076d 100644 --- a/include/media/stagefright/ACodec.h +++ b/include/media/stagefright/ACodec.h @@ -248,10 +248,19 @@ private: int32_t width, int32_t height, OMX_VIDEO_CODINGTYPE compressionFormat); + typedef struct drcParams { + int32_t drcCut; + int32_t drcBoost; + int32_t heavyCompression; + int32_t targetRefLevel; + int32_t encodedTargetLevel; + } drcParams_t; + status_t setupAACCodec( bool encoder, int32_t numChannels, int32_t sampleRate, int32_t bitRate, - int32_t aacProfile, bool isADTS, int32_t sbrMode); + int32_t aacProfile, bool isADTS, int32_t sbrMode, + int32_t maxOutputChannelCount, const drcParams_t& drc); status_t setupAC3Codec(bool encoder, int32_t numChannels, int32_t sampleRate); |