From 73cebb604e43c066d2d31eb145f82fc3080db532 Mon Sep 17 00:00:00 2001 From: wfeng6 Date: Tue, 12 Nov 2013 23:14:58 +0800 Subject: Set right color format for omx plugins using GEN HW BZ: 151374 Set color format to titled for omx plugins using GEN HW. Change-Id: Iec7b8c1ae828b04a784f8efd9d861a182398cd6f Signed-off-by: wfeng6 --- videocodec/Android.mk | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'videocodec/Android.mk') diff --git a/videocodec/Android.mk b/videocodec/Android.mk index c16aa26..daa510e 100644 --- a/videocodec/Android.mk +++ b/videocodec/Android.mk @@ -49,6 +49,10 @@ ifeq ($(TARGET_VPP_USE_GEN),true) LOCAL_CFLAGS += -DDEINTERLACE_EXT endif +ifeq ($(TARGET_BOARD_PLATFORM),baytrail) +LOCAL_CFLAGS += -DUSE_GEN_HW +endif + include $(BUILD_SHARED_LIBRARY) @@ -219,6 +223,10 @@ ifeq ($(TARGET_VPP_USE_GEN),true) LOCAL_CFLAGS += -DDEINTERLACE_EXT endif +ifeq ($(TARGET_BOARD_PLATFORM),baytrail) +LOCAL_CFLAGS += -DUSE_GEN_HW +endif + include $(BUILD_SHARED_LIBRARY) #Build secure AVC video decoder only on supported platforms -- cgit v1.2.3