diff options
author | Andreas Huber <andih@google.com> | 2013-07-31 13:50:42 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2013-08-13 10:11:46 -0700 |
commit | a61285dcf1da8a2cf40c499ee3a7b9fc4d74ac58 (patch) | |
tree | a360123ee73434ee45608b03a02d8fb6ff431c3b /include/media | |
parent | 1b832c3d8f2b1b24f9bc7025afd2b4a8b4e6c6f9 (diff) | |
download | frameworks_av-a61285dcf1da8a2cf40c499ee3a7b9fc4d74ac58.zip frameworks_av-a61285dcf1da8a2cf40c499ee3a7b9fc4d74ac58.tar.gz frameworks_av-a61285dcf1da8a2cf40c499ee3a7b9fc4d74ac58.tar.bz2 |
Optionally repeat the previously submitted frame to the encoder
if no new frame has been delivered by surface flinger within the timeout
interval.
Change-Id: I282f1b726dfe5646b178d7858d6f5d4f5a264fde
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/IOMX.h | 1 | ||||
-rw-r--r-- | include/media/stagefright/ACodec.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/media/IOMX.h b/include/media/IOMX.h index 6d116f0..db9093a 100644 --- a/include/media/IOMX.h +++ b/include/media/IOMX.h @@ -137,6 +137,7 @@ public: enum InternalOptionType { INTERNAL_OPTION_SUSPEND, // data is a bool + INTERNAL_OPTION_REPEAT_PREVIOUS_FRAME_DELAY, // data is an int64_t }; virtual status_t setInternalOption( node_id node, diff --git a/include/media/stagefright/ACodec.h b/include/media/stagefright/ACodec.h index 6bf83dd..41542ec 100644 --- a/include/media/stagefright/ACodec.h +++ b/include/media/stagefright/ACodec.h @@ -199,6 +199,8 @@ private: bool mStoreMetaDataInOutputBuffers; int32_t mMetaDataBuffersToSubmit; + int64_t mRepeatFrameDelayUs; + status_t setCyclicIntraMacroblockRefresh(const sp<AMessage> &msg, int32_t mode); status_t allocateBuffersOnPort(OMX_U32 portIndex); status_t freeBuffersOnPort(OMX_U32 portIndex); |