summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/Android.mk
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2015-11-25 16:54:19 -0800
committerSteve Kondik <steve@cyngn.com>2015-11-25 16:54:19 -0800
commit17c160c29793a049c1af12ac88a0921a0db62234 (patch)
treeb66850643cd0509e369f1f81f603963cfa5df877 /media/libstagefright/Android.mk
parent92d5d4863030d35117c43104fdf8e4c38af90ff7 (diff)
downloadframeworks_av-17c160c29793a049c1af12ac88a0921a0db62234.zip
frameworks_av-17c160c29793a049c1af12ac88a0921a0db62234.tar.gz
frameworks_av-17c160c29793a049c1af12ac88a0921a0db62234.tar.bz2
stagefright: Support hardware codecs with FFMPEG extractor
* Quite often we'll be using our custom extractor to handle container formats which aren't supported by any other means, but the codecs used inside the container are hardware supported. * For QC specifically we need to send a few magical incantations, so add support for this. Software codecs will be used if hardware support is unavailable. Change-Id: I917b674142fdab0b009e066e9511648c2695ec4b
Diffstat (limited to 'media/libstagefright/Android.mk')
-rw-r--r--media/libstagefright/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/media/libstagefright/Android.mk b/media/libstagefright/Android.mk
index 5a75269..40792a0 100644
--- a/media/libstagefright/Android.mk
+++ b/media/libstagefright/Android.mk
@@ -161,6 +161,8 @@ ifeq ($(TARGET_USES_QCOM_BSP), true)
LOCAL_CFLAGS += -DQTI_BSP
endif
+LOCAL_C_INCLUDES += $(call project-path-for,qcom-media)/mm-core/inc
+
# enable experiments only in userdebug and eng builds
ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT)))
LOCAL_CFLAGS += -DENABLE_STAGEFRIGHT_EXPERIMENTS
@@ -189,6 +191,7 @@ endif
# FFMPEG plugin
LOCAL_C_INCLUDES += $(TOP)/external/stagefright-plugins/include
+#LOCAL_CFLAGS += -DLOG_NDEBUG=0
LOCAL_MODULE:= libstagefright
LOCAL_MODULE_TAGS := optional