aboutsummaryrefslogtreecommitdiffstats
path: root/videocodec/OMXVideoDecoderBase.h
diff options
context:
space:
mode:
Diffstat (limited to 'videocodec/OMXVideoDecoderBase.h')
-rw-r--r--videocodec/OMXVideoDecoderBase.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/videocodec/OMXVideoDecoderBase.h b/videocodec/OMXVideoDecoderBase.h
index ee1cff3..5ad8d3f 100644
--- a/videocodec/OMXVideoDecoderBase.h
+++ b/videocodec/OMXVideoDecoderBase.h
@@ -83,6 +83,7 @@ protected:
#ifdef TARGET_HAS_ISV
DECLARE_HANDLER(OMXVideoDecoderBase, DecoderVppBufferNum);
#endif
+ DECLARE_HANDLER(OMXVideoDecoderBase, StoreMetaDataMode);
DECLARE_HANDLER(OMXVideoDecoderBase, ErrorReportMode);
DECLARE_HANDLER(OMXVideoDecoderBase, CodecPriority);
DECLARE_HANDLER(OMXVideoDecoderBase, DecoderOperatingRate);
@@ -135,6 +136,15 @@ protected:
GraphicBufferParam mGraphicBufferParam;
uint32_t mOMXBufferHeaderTypePtrNum;
OMX_BUFFERHEADERTYPE *mOMXBufferHeaderTypePtrArray[MAX_GRAPHIC_BUFFER_NUM];
+
+ enum AdaptivePlaybackMode {
+ METADATA_MODE,
+ LEGACY_MODE,
+ };
+ AdaptivePlaybackMode mAPMode;
+ uint32_t mMetaDataBuffersNum;
+ bool mFormatChanged;
+ uint32_t getStride(uint32_t format, uint32_t width);
};
#endif /* OMX_VIDEO_DECODER_BASE_H_ */