diff options
author | Xigui Wang <xigui.wang@intel.com> | 2014-11-14 22:08:13 +0800 |
---|---|---|
committer | Pat Tjin <pattjin@google.com> | 2014-12-02 21:50:00 +0000 |
commit | 7c51a53fdded8c5115afd1f2f32dfd269841ec9e (patch) | |
tree | bddeb8fd3dd7d40476767748dee78de91f08fc15 | |
parent | aba5931866f6b482539b82cb42ab108d291bba57 (diff) | |
download | wrs_omxil_core-7c51a53fdded8c5115afd1f2f32dfd269841ec9e.tar.gz |
enable OMX extension OMX_IndexExtVppBufferNum for ISV
change TARGET_HAS_VPP to TARGET_HAS_ISV
BZ: 229811
Bug: 17383204
Change-Id: I34507e96e26cc7b1e5905f57d4838f67b120d528
Signed-off-by: Jason Hu <jason.hu@intel.com>
-rw-r--r-- | base/src/Android.mk | 4 | ||||
-rw-r--r-- | base/src/componentbase.cpp | 2 | ||||
-rw-r--r-- | core/inc/khronos/openmax/include/OMX_IntelIndexExt.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/base/src/Android.mk b/base/src/Android.mk index 3e4e8e7..b16b8e9 100644 --- a/base/src/Android.mk +++ b/base/src/Android.mk @@ -1,8 +1,8 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) -ifeq ($(TARGET_HAS_VPP),true) -LOCAL_CFLAGS += -DTARGET_HAS_VPP +ifeq ($(TARGET_HAS_ISV),true) +LOCAL_CFLAGS += -DTARGET_HAS_ISV endif LOCAL_SRC_FILES := \ diff --git a/base/src/componentbase.cpp b/base/src/componentbase.cpp index 56ce5ed..72a012e 100644 --- a/base/src/componentbase.cpp +++ b/base/src/componentbase.cpp @@ -825,7 +825,7 @@ OMX_ERRORTYPE ComponentBase::CBaseGetExtensionIndex( return OMX_ErrorNone; } -#ifdef TARGET_HAS_VPP +#ifdef TARGET_HAS_ISV if (!strcmp(cParameterName, "OMX.Intel.index.vppBufferNum")) { *pIndexType = static_cast<OMX_INDEXTYPE>(OMX_IndexExtVppBufferNum); return OMX_ErrorNone; diff --git a/core/inc/khronos/openmax/include/OMX_IntelIndexExt.h b/core/inc/khronos/openmax/include/OMX_IntelIndexExt.h index 1914662..c96ccb0 100644 --- a/core/inc/khronos/openmax/include/OMX_IntelIndexExt.h +++ b/core/inc/khronos/openmax/include/OMX_IntelIndexExt.h @@ -71,7 +71,7 @@ typedef enum OMX_INTELINDEXEXTTYPE { OMX_IndexExtRequestBlackFramePointer, /**<reference: OMX_VIDEO_INTEL_REQUEST_BALCK_FRAME_POINTER*/ // Index for VPP must always be put at the end -#ifdef TARGET_HAS_VPP +#ifdef TARGET_HAS_ISV OMX_IndexExtVppBufferNum, /**<reference: vpp buffer number*/ #endif OMX_IntelIndexExtMax = 0x7FFFFFFF |