diff options
author | Andreas Huber <andih@google.com> | 2012-11-01 16:03:19 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-11-01 16:03:19 -0700 |
commit | 269019581b7bdd73f4c4e618a3a5bbc541058e72 (patch) | |
tree | cbf49090bb4b54022a993af711e614a85c445c62 /include | |
parent | 8af901cdea0af7e536579dee6d56e69987035a01 (diff) | |
parent | 5520b9c29c3eba005fb5a5044cbf44687254965e (diff) | |
download | frameworks_av-269019581b7bdd73f4c4e618a3a5bbc541058e72.zip frameworks_av-269019581b7bdd73f4c4e618a3a5bbc541058e72.tar.gz frameworks_av-269019581b7bdd73f4c4e618a3a5bbc541058e72.tar.bz2 |
am d37ee8fb: am 96076964: Make video encoders\' bitrate mode (constant, variable, ...) configurable
* commit 'd37ee8fb36c972bf8d07868700a2c47358e25eb4':
Make video encoders' bitrate mode (constant, variable, ...) configurable
Diffstat (limited to 'include')
-rw-r--r-- | include/media/stagefright/ACodec.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/media/stagefright/ACodec.h b/include/media/stagefright/ACodec.h index d27f463..cba8a6b 100644 --- a/include/media/stagefright/ACodec.h +++ b/include/media/stagefright/ACodec.h @@ -242,7 +242,10 @@ private: status_t setupAVCEncoderParameters(const sp<AMessage> &msg); status_t verifySupportForProfileAndLevel(int32_t profile, int32_t level); - status_t configureBitrate(int32_t bitrate); + + status_t configureBitrate( + int32_t bitrate, OMX_VIDEO_CONTROLRATETYPE bitrateMode); + status_t setupErrorCorrectionParameters(); status_t initNativeWindow(); |