From 05804b14193b917e6acd9275fa29d0108a9945e6 Mon Sep 17 00:00:00 2001 From: codeworkx Date: Tue, 5 Jun 2012 01:54:17 +0200 Subject: codecs: build shared mfcapi lib on exynos4x12 Change-Id: I8a09f8e6e86191197f0382e5c40e6acd16f33cda --- exynos/multimedia/openmax/component/video/dec/h264/Android.mk | 8 +++++++- exynos/multimedia/openmax/component/video/dec/mpeg4/Android.mk | 8 +++++++- exynos/multimedia/openmax/component/video/dec/vc1/Android.mk | 8 +++++++- exynos/multimedia/openmax/component/video/dec/vp8/Android.mk | 8 +++++++- exynos/multimedia/openmax/component/video/enc/h264/Android.mk | 8 +++++++- exynos/multimedia/openmax/component/video/enc/mpeg4/Android.mk | 8 +++++++- 6 files changed, 42 insertions(+), 6 deletions(-) (limited to 'exynos/multimedia/openmax/component/video') diff --git a/exynos/multimedia/openmax/component/video/dec/h264/Android.mk b/exynos/multimedia/openmax/component/video/dec/h264/Android.mk index 5ac0170..f491d60 100644 --- a/exynos/multimedia/openmax/component/video/dec/h264/Android.mk +++ b/exynos/multimedia/openmax/component/video/dec/h264/Android.mk @@ -35,10 +35,16 @@ endif LOCAL_ARM_MODE := arm LOCAL_STATIC_LIBRARIES := libSEC_OMX_Vdec libsecosal libsecbasecomponent \ - libseccscapi libsecmfcapi + libseccscapi LOCAL_SHARED_LIBRARIES := libc libdl libcutils libutils libui \ libSEC_OMX_Resourcemanager +ifeq ($(TARGET_SOC),exynos4x12) +LOCAL_SHARED_LIBRARIES += libsecmfcdecapi +else +LOCAL_STATIC_LIBRARIES += libsecmfcapi +endif + ifeq ($(filter-out exynos4,$(TARGET_BOARD_PLATFORM)),) LOCAL_SHARED_LIBRARIES += libhwconverter endif diff --git a/exynos/multimedia/openmax/component/video/dec/mpeg4/Android.mk b/exynos/multimedia/openmax/component/video/dec/mpeg4/Android.mk index d45c727..3ea203f 100644 --- a/exynos/multimedia/openmax/component/video/dec/mpeg4/Android.mk +++ b/exynos/multimedia/openmax/component/video/dec/mpeg4/Android.mk @@ -29,10 +29,16 @@ endif LOCAL_ARM_MODE := arm LOCAL_STATIC_LIBRARIES := libSEC_OMX_Vdec libsecosal libsecbasecomponent \ - libseccscapi libsecmfcapi + libseccscapi LOCAL_SHARED_LIBRARIES := libc libdl libcutils libutils libui \ libSEC_OMX_Resourcemanager +ifeq ($(TARGET_SOC),exynos4x12) +LOCAL_SHARED_LIBRARIES += libsecmfcdecapi +else +LOCAL_STATIC_LIBRARIES += libsecmfcapi +endif + ifeq ($(filter-out exynos4,$(TARGET_BOARD_PLATFORM)),) LOCAL_SHARED_LIBRARIES += libhwconverter endif diff --git a/exynos/multimedia/openmax/component/video/dec/vc1/Android.mk b/exynos/multimedia/openmax/component/video/dec/vc1/Android.mk index 9412233..7ca0477 100644 --- a/exynos/multimedia/openmax/component/video/dec/vc1/Android.mk +++ b/exynos/multimedia/openmax/component/video/dec/vc1/Android.mk @@ -29,10 +29,16 @@ endif LOCAL_ARM_MODE := arm LOCAL_STATIC_LIBRARIES := libSEC_OMX_Vdec libsecosal libsecbasecomponent \ - libseccscapi libsecmfcapi + libseccscapi LOCAL_SHARED_LIBRARIES := libc libdl libcutils libutils libui \ libSEC_OMX_Resourcemanager +ifeq ($(TARGET_SOC),exynos4x12) +LOCAL_SHARED_LIBRARIES += libsecmfcdecapi +else +LOCAL_STATIC_LIBRARIES += libsecmfcapi +endif + ifeq ($(filter-out exynos4,$(TARGET_BOARD_PLATFORM)),) LOCAL_SHARED_LIBRARIES += libhwconverter endif diff --git a/exynos/multimedia/openmax/component/video/dec/vp8/Android.mk b/exynos/multimedia/openmax/component/video/dec/vp8/Android.mk index e4629a6..734284f 100644 --- a/exynos/multimedia/openmax/component/video/dec/vp8/Android.mk +++ b/exynos/multimedia/openmax/component/video/dec/vp8/Android.mk @@ -24,10 +24,16 @@ endif LOCAL_ARM_MODE := arm LOCAL_STATIC_LIBRARIES := libSEC_OMX_Vdec libsecosal libsecbasecomponent \ - libseccscapi libsecmfcapi + libseccscapi LOCAL_SHARED_LIBRARIES := libc libdl libcutils libutils libui \ libSEC_OMX_Resourcemanager +ifeq ($(TARGET_SOC),exynos4x12) +LOCAL_SHARED_LIBRARIES += libsecmfcdecapi +else +LOCAL_STATIC_LIBRARIES += libsecmfcapi +endif + ifeq ($(filter-out exynos4,$(TARGET_BOARD_PLATFORM)),) LOCAL_SHARED_LIBRARIES += libhwconverter endif diff --git a/exynos/multimedia/openmax/component/video/enc/h264/Android.mk b/exynos/multimedia/openmax/component/video/enc/h264/Android.mk index 435fbf7..e9ebb60 100644 --- a/exynos/multimedia/openmax/component/video/enc/h264/Android.mk +++ b/exynos/multimedia/openmax/component/video/enc/h264/Android.mk @@ -24,10 +24,16 @@ endif LOCAL_ARM_MODE := arm LOCAL_STATIC_LIBRARIES := libSEC_OMX_Venc libsecosal libsecbasecomponent \ - libseccscapi libsecmfcapi + libseccscapi LOCAL_SHARED_LIBRARIES := libc libdl libcutils libutils libui \ libSEC_OMX_Resourcemanager +ifeq ($(TARGET_SOC),exynos4x12) +LOCAL_SHARED_LIBRARIES += libsecmfcdecapi +else +LOCAL_STATIC_LIBRARIES += libsecmfcapi +endif + LOCAL_C_INCLUDES := $(SEC_OMX_INC)/khronos \ $(SEC_OMX_INC)/sec \ $(SEC_OMX_TOP)/osal \ diff --git a/exynos/multimedia/openmax/component/video/enc/mpeg4/Android.mk b/exynos/multimedia/openmax/component/video/enc/mpeg4/Android.mk index ad6a604..ed140d1 100644 --- a/exynos/multimedia/openmax/component/video/enc/mpeg4/Android.mk +++ b/exynos/multimedia/openmax/component/video/enc/mpeg4/Android.mk @@ -24,10 +24,16 @@ endif LOCAL_ARM_MODE := arm LOCAL_STATIC_LIBRARIES := libSEC_OMX_Venc libsecosal libsecbasecomponent \ - libseccscapi libsecmfcapi + libseccscapi LOCAL_SHARED_LIBRARIES := libc libdl libcutils libutils libui \ libSEC_OMX_Resourcemanager +ifeq ($(TARGET_SOC),exynos4x12) +LOCAL_SHARED_LIBRARIES += libsecmfcdecapi +else +LOCAL_STATIC_LIBRARIES += libsecmfcapi +endif + LOCAL_C_INCLUDES := $(SEC_OMX_INC)/khronos \ $(SEC_OMX_INC)/sec \ $(SEC_OMX_TOP)/osal \ -- cgit v1.1