aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChang Ying <ying.chang@intel.com>2012-12-27 15:09:56 +0800
committerPatrick Tjin <pattjin@google.com>2014-07-21 22:03:40 -0700
commite4801dc9e4a65e365b88d927f527caf08e2190f8 (patch)
treec2c4fd22f3adfe61ab32b502cd1c9aedbc9191ce
parent8af4549cec855377507046127d9b9a45911eaf04 (diff)
downloadwrs_omxil_core-e4801dc9e4a65e365b88d927f527caf08e2190f8.tar.gz
OMXIL: extension to add VP8 encoder support
BZ: 77123 Add OMX_VIDEO_VP8REFERENCEFRAMETYPE to control VP8 reference frame buffers. Change-Id: I32060b57cfb8ae94ed4145f3d60b9cff2397d9c0 Signed-off-by: Chang Ying <ying.chang@intel.com> Reviewed-on: http://android.intel.com:8080/83986 Reviewed-by: Zhang, Zhangfei <zhangfei.zhang@intel.com> Reviewed-by: Yuan, Shengquan <shengquan.yuan@intel.com> Reviewed-by: Shi, PingX <pingx.shi@intel.com> Tested-by: Shi, PingX <pingx.shi@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
-rw-r--r--core/inc/khronos/openmax/include/OMX_Index.h1
-rw-r--r--core/inc/khronos/openmax/include/OMX_Video.h12
2 files changed, 13 insertions, 0 deletions
diff --git a/core/inc/khronos/openmax/include/OMX_Index.h b/core/inc/khronos/openmax/include/OMX_Index.h
index b32bbad..a3912c5 100644
--- a/core/inc/khronos/openmax/include/OMX_Index.h
+++ b/core/inc/khronos/openmax/include/OMX_Index.h
@@ -179,6 +179,7 @@ typedef enum OMX_INDEXTYPE {
OMX_IndexParamVideoSliceFMO, /**< reference: OMX_VIDEO_PARAM_AVCSLICEFMO */
OMX_IndexConfigVideoAVCIntraPeriod, /**< reference: OMX_VIDEO_CONFIG_AVCINTRAPERIOD */
OMX_IndexConfigVideoNalSize, /**< reference: OMX_VIDEO_CONFIG_NALSIZE */
+ OMX_IndexConfigVideoVp8ReferenceFrame, /**< reference: OMX_VIDEO_VP8REFERENCEFRAMETYPE */
/* Image & Video common Configurations */
OMX_IndexCommonStartUnused = 0x07000000,
diff --git a/core/inc/khronos/openmax/include/OMX_Video.h b/core/inc/khronos/openmax/include/OMX_Video.h
index af4eb98..d053582 100644
--- a/core/inc/khronos/openmax/include/OMX_Video.h
+++ b/core/inc/khronos/openmax/include/OMX_Video.h
@@ -786,6 +786,18 @@ typedef struct OMX_VIDEO_PARAM_VP8TYPE {
OMX_BOOL bErrorResilientMode;
} OMX_VIDEO_PARAM_VP8TYPE;
+typedef struct OMX_VIDEO_VP8REFERENCEFRAMETYPE {
+ OMX_U32 nSize;
+ OMX_VERSIONTYPE nVersion;
+ OMX_U32 nPortIndex;
+ OMX_BOOL bPreviousFrameRefresh;
+ OMX_BOOL bGoldenFrameRefresh;
+ OMX_BOOL bAlternateFrameRefresh;
+ OMX_BOOL bUsePreviousFrame;
+ OMX_BOOL bUseGoldenFrame;
+ OMX_BOOL bUseAlternateFrame;
+} OMX_VIDEO_VP8REFERENCEFRAMETYPE ;
+
/**
* AVC profile types, each profile indicates support for various
* performance bounds and different annexes.