aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--base/src/Android.mk4
-rw-r--r--base/src/componentbase.cpp2
-rw-r--r--core/inc/khronos/openmax/include/OMX_IntelIndexExt.h2
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