diff options
author | Ronghua Wu <ronghuawu@google.com> | 2015-01-26 15:47:10 -0800 |
---|---|---|
committer | Ronghua Wu <ronghuawu@google.com> | 2015-02-12 22:39:44 +0000 |
commit | 37b2b389139ed638831e49708c947863eef631ef (patch) | |
tree | 0c0ea0f002452b5108dee8e3b24a9948415f3788 /include/media | |
parent | e2cce8139fb5a205170d4e878cc9fea5493755d1 (diff) | |
download | frameworks_av-37b2b389139ed638831e49708c947863eef631ef.zip frameworks_av-37b2b389139ed638831e49708c947863eef631ef.tar.gz frameworks_av-37b2b389139ed638831e49708c947863eef631ef.tar.bz2 |
stagefright: add support for limiting framerate in GraphicBufferSource
Bug: 19014096
Change-Id: I6de781e4d140a247dfd8fd8f12c3ddd7baa39ad4
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/IOMX.h | 1 | ||||
-rw-r--r-- | include/media/stagefright/ACodec.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/media/IOMX.h b/include/media/IOMX.h index 627f23b..6def65b 100644 --- a/include/media/IOMX.h +++ b/include/media/IOMX.h @@ -147,6 +147,7 @@ public: INTERNAL_OPTION_SUSPEND, // data is a bool INTERNAL_OPTION_REPEAT_PREVIOUS_FRAME_DELAY, // data is an int64_t INTERNAL_OPTION_MAX_TIMESTAMP_GAP, // data is int64_t + INTERNAL_OPTION_MAX_FPS, // data is float INTERNAL_OPTION_START_TIME, // data is an int64_t INTERNAL_OPTION_TIME_LAPSE, // data is an int64_t[2] }; diff --git a/include/media/stagefright/ACodec.h b/include/media/stagefright/ACodec.h index 595ace8..442c861 100644 --- a/include/media/stagefright/ACodec.h +++ b/include/media/stagefright/ACodec.h @@ -214,6 +214,7 @@ private: int64_t mRepeatFrameDelayUs; int64_t mMaxPtsGapUs; + float mMaxFps; int64_t mTimePerFrameUs; int64_t mTimePerCaptureUs; |