summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/omx/Android.mk
diff options
context:
space:
mode:
authorLajos Molnar <lajos@google.com>2014-10-10 17:15:17 -0700
committerLajos Molnar <lajos@google.com>2014-10-13 23:16:20 -0700
commit2edda09a2ad1d112c52acd37d323f63f0a492d67 (patch)
treeef7d3fbbf888e258fb12b24ddf23a04dac3e54c5 /media/libstagefright/omx/Android.mk
parent512e979284de984427e5b2f73b9054ae1b5e2b0a (diff)
downloadframeworks_av-2edda09a2ad1d112c52acd37d323f63f0a492d67.zip
frameworks_av-2edda09a2ad1d112c52acd37d323f63f0a492d67.tar.gz
frameworks_av-2edda09a2ad1d112c52acd37d323f63f0a492d67.tar.bz2
stagefright: fix surface input handling of software encoders
- added SoftVideoEncoder for common color conversion and extension handling logic - fix YUV420 SemiPlanar handling that should be NV12 not NV21 Bug: 17935149 Change-Id: I9b8d05678b1862dd37bf349ea83d67bdf1bb5560
Diffstat (limited to 'media/libstagefright/omx/Android.mk')
-rw-r--r--media/libstagefright/omx/Android.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/media/libstagefright/omx/Android.mk b/media/libstagefright/omx/Android.mk
index cd912e7..aaa8334 100644
--- a/media/libstagefright/omx/Android.mk
+++ b/media/libstagefright/omx/Android.mk
@@ -1,6 +1,10 @@
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
+ifeq ($(TARGET_DEVICE), manta)
+ LOCAL_CFLAGS += -DSURFACE_IS_BGR32
+endif
+
LOCAL_SRC_FILES:= \
GraphicBufferSource.cpp \
OMX.cpp \
@@ -10,6 +14,7 @@ LOCAL_SRC_FILES:= \
SoftOMXComponent.cpp \
SoftOMXPlugin.cpp \
SoftVideoDecoderOMXComponent.cpp \
+ SoftVideoEncoderOMXComponent.cpp \
LOCAL_C_INCLUDES += \
$(TOP)/frameworks/av/media/libstagefright \
@@ -18,6 +23,7 @@ LOCAL_C_INCLUDES += \
LOCAL_SHARED_LIBRARIES := \
libbinder \
+ libhardware \
libmedia \
libutils \
liblog \