summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2012-11-01 15:48:44 -0700
committerAndreas Huber <andih@google.com>2012-11-01 15:48:44 -0700
commit96076964863ee6887f0bed9d0f11f424b48ab9b9 (patch)
treeff74d91d61bbcb4ddf8af89ea9f49f72e6d00da6 /include
parent90a92053219ae50ddf4bb54e3d54db2d309e2b8d (diff)
downloadframeworks_av-96076964863ee6887f0bed9d0f11f424b48ab9b9.zip
frameworks_av-96076964863ee6887f0bed9d0f11f424b48ab9b9.tar.gz
frameworks_av-96076964863ee6887f0bed9d0f11f424b48ab9b9.tar.bz2
Make video encoders' bitrate mode (constant, variable, ...) configurable
through the desired output format. Configure the video encoder to use constant bitrate mode for WFD. Change-Id: Id7bd619598153c13448a9c5acd69d80f8a01f333 related-to-bug: 7459597
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/ACodec.h5
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();