* Make Exynos_UpdateFrameSize global to link with other modules.
* Suppress warnings about int conversion, pointer conversion,
implicit function declaration, sign/unsign comparison, and
c++11-narrowing.
Change-Id: I462902cbc0d1c3442d59a6741c66d8a870a99e8c
include $(CLEAR_VARS)
+LOCAL_CLANG_CFLAGS += \
+ -Wno-int-conversion \
+ -Wno-incompatible-pointer-types
+
LOCAL_SRC_FILES := \
dec/src/ExynosVideoDecoder.c \
enc/src/ExynosVideoEncoder.c
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
+LOCAL_CLANG_CFLAGS += -Wno-int-conversion
+
LOCAL_SRC_FILES := \
Exynos_OMX_VdecControl.c \
Exynos_OMX_Vdec.c
return (mbX * 16) * (mbY * 16);
}
-inline void Exynos_UpdateFrameSize(OMX_COMPONENTTYPE *pOMXComponent)
+void Exynos_UpdateFrameSize(OMX_COMPONENTTYPE *pOMXComponent)
{
EXYNOS_OMX_BASECOMPONENT *pExynosComponent = (EXYNOS_OMX_BASECOMPONENT *)pOMXComponent->pComponentPrivate;
EXYNOS_OMX_BASEPORT *exynosInputPort = &pExynosComponent->pExynosPort[INPUT_PORT_INDEX];
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
+LOCAL_CLANG_CFLAGS += -Wno-int-conversion
+
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := \
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
+LOCAL_CLANG_CFLAGS += -Wno-int-conversion
+
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := \
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
+LOCAL_CLANG_CFLAGS += -Wno-int-conversion
+
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := \
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
+LOCAL_CLANG_CFLAGS += -Wno-int-conversion
+
LOCAL_SRC_FILES := \
Exynos_OMX_VencControl.c \
Exynos_OMX_Venc.c
#include "Exynos_OSAL_Log.h"
-inline void Exynos_UpdateFrameSize(OMX_COMPONENTTYPE *pOMXComponent)
+void Exynos_UpdateFrameSize(OMX_COMPONENTTYPE *pOMXComponent)
{
EXYNOS_OMX_BASECOMPONENT *pExynosComponent = (EXYNOS_OMX_BASECOMPONENT *)pOMXComponent->pComponentPrivate;
EXYNOS_OMX_BASEPORT *exynosInputPort = &pExynosComponent->pExynosPort[INPUT_PORT_INDEX];
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
+LOCAL_CLANG_CFLAGS += -Wno-int-conversion
+
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := \
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
+LOCAL_CLANG_CFLAGS += -Wno-int-conversion
+
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := \
LOCAL_CFLAGS :=
+LOCAL_CLANG_CFLAGS += \
+ -Wno-implicit-function-declaration \
+ -Wno-int-conversion \
+ -Wno-sign-compare
+
ifeq ($(BOARD_USE_S3D_SUPPORT), true)
LOCAL_CFLAGS += -DS3D_SUPPORT
endif
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
+LOCAL_CLANG_CFLAGS += -Wno-c++11-narrowing
+
# HAL module implemenation stored in
# hw/<COPYPIX_HARDWARE_MODULE_ID>.<ro.product.board>.so
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_SHARED_LIBRARIES)/hw
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
+LOCAL_CLANG_CFLAGS += -Wno-int-conversion
+
LOCAL_SHARED_LIBRARIES := liblog libutils libcutils libexynosutils libexynosv4l2
# to talk to secure side