• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#encoder int test
2OLD_LOCAL_PATH := $(LOCAL_PATH)
3MM_JPEG_TEST_PATH := $(call my-dir)
4
5include $(LOCAL_PATH)/../../common.mk
6include $(CLEAR_VARS)
7LOCAL_PATH := $(MM_JPEG_TEST_PATH)
8LOCAL_MODULE_TAGS := optional
9
10LOCAL_CFLAGS := -DCAMERA_ION_HEAP_ID=ION_IOMMU_HEAP_ID
11LOCAL_CFLAGS += -Wall -Wextra -Werror -Wno-unused-parameter
12LOCAL_CFLAGS += -D_ANDROID_
13
14ifeq ($(strip $(TARGET_USES_ION)),true)
15LOCAL_CFLAGS += -DUSE_ION
16endif
17
18JPEG_PIPELINE_TARGET_LIST := msm8994
19JPEG_PIPELINE_TARGET_LIST += msm8992
20JPEG_PIPELINE_TARGET_LIST += msm8996
21JPEG_PIPELINE_TARGET_LIST += msmcobalt
22
23ifneq (,$(filter  $(JPEG_PIPELINE_TARGET_LIST),$(TARGET_BOARD_PLATFORM)))
24    LOCAL_CFLAGS+= -DMM_JPEG_USE_PIPELINE
25endif
26
27# System header file path prefix
28LOCAL_CFLAGS += -DSYSTEM_HEADER_PREFIX=sys
29
30OMX_HEADER_DIR := frameworks/native/include/media/openmax
31OMX_CORE_DIR := $(MM_JPEG_TEST_PATH)/../../../../mm-image-codec
32
33LOCAL_C_INCLUDES := $(MM_JPEG_TEST_PATH)
34LOCAL_C_INCLUDES += $(MM_JPEG_TEST_PATH)/../inc
35LOCAL_C_INCLUDES += $(MM_JPEG_TEST_PATH)/../../common
36LOCAL_C_INCLUDES += $(MM_JPEG_TEST_PATH)/../../mm-camera-interface/inc
37LOCAL_C_INCLUDES += $(OMX_HEADER_DIR)
38LOCAL_C_INCLUDES += $(OMX_CORE_DIR)/qexif
39LOCAL_C_INCLUDES += $(OMX_CORE_DIR)/qomx_core
40
41LOCAL_C_INCLUDES+= $(kernel_includes)
42LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps)
43
44LOCAL_SRC_FILES := mm_jpeg_test.c
45
46LOCAL_32_BIT_ONLY := $(BOARD_QTI_CAMERA_32BIT_ONLY)
47LOCAL_MODULE           := mm-jpeg-interface-test
48LOCAL_PRELINK_MODULE   := false
49LOCAL_SHARED_LIBRARIES := libcutils libdl liblog libmmjpeg_interface
50LOCAL_PROPRIETARY_MODULE := true
51
52include $(BUILD_EXECUTABLE)
53
54
55
56#decoder int test
57
58include $(CLEAR_VARS)
59LOCAL_PATH := $(MM_JPEG_TEST_PATH)
60LOCAL_MODULE_TAGS := optional
61
62LOCAL_CFLAGS := -DCAMERA_ION_HEAP_ID=ION_IOMMU_HEAP_ID
63LOCAL_CFLAGS += -Wall -Wextra -Werror -Wno-unused-parameter
64
65LOCAL_CFLAGS += -D_ANDROID_
66
67ifeq ($(strip $(TARGET_USES_ION)),true)
68LOCAL_CFLAGS += -DUSE_ION
69endif
70
71# System header file path prefix
72LOCAL_CFLAGS += -DSYSTEM_HEADER_PREFIX=sys
73
74OMX_HEADER_DIR := frameworks/native/include/media/openmax
75OMX_CORE_DIR := $(MM_JPEG_TEST_PATH)/../../../../mm-image-codec
76
77LOCAL_C_INCLUDES := $(MM_JPEG_TEST_PATH)
78LOCAL_C_INCLUDES += $(MM_JPEG_TEST_PATH)/../inc
79LOCAL_C_INCLUDES += $(MM_JPEG_TEST_PATH)/../../common
80LOCAL_C_INCLUDES += $(MM_JPEG_TEST_PATH)/../../mm-camera-interface/inc
81LOCAL_C_INCLUDES += $(OMX_HEADER_DIR)
82LOCAL_C_INCLUDES += $(OMX_CORE_DIR)/qexif
83LOCAL_C_INCLUDES += $(OMX_CORE_DIR)/qomx_core
84
85LOCAL_C_INCLUDES+= $(kernel_includes)
86LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps)
87
88LOCAL_SRC_FILES := mm_jpegdec_test.c
89
90LOCAL_32_BIT_ONLY := $(BOARD_QTI_CAMERA_32BIT_ONLY)
91LOCAL_MODULE           := mm-jpegdec-interface-test
92LOCAL_PRELINK_MODULE   := false
93LOCAL_SHARED_LIBRARIES := libcutils libdl liblog libmmjpeg_interface
94LOCAL_PROPRIETARY_MODULE := true
95
96include $(BUILD_EXECUTABLE)
97
98LOCAL_PATH := $(OLD_LOCAL_PATH)
99