1LOCAL_PATH:= $(call my-dir) 2 3# 4# libOMX.TI.DUCATI1.VIDEO.DECODER 5# 6 7include $(CLEAR_VARS) 8 9LOCAL_C_INCLUDES += \ 10 $(LOCAL_PATH)/../omx_core/inc \ 11 $(LOCAL_PATH)/../mm_osal/inc \ 12 $(LOCAL_PATH)/../domx \ 13 $(LOCAL_PATH)/../domx/omx_rpc/inc \ 14 $(HARDWARE_TI_OMAP4_BASE)/../../libhardware/include \ 15 $(HARDWARE_TI_OMAP4_BASE)/hwc/ 16 17LOCAL_SHARED_LIBRARIES := \ 18 libmm_osal \ 19 libc \ 20 libOMX_Core \ 21 liblog \ 22 libdomx \ 23 libhardware 24 25LOCAL_CFLAGS += -DLINUX -DTMS32060 -D_DB_TIOMAP -DSYSLINK_USE_SYSMGR -DSYSLINK_USE_LOADER 26LOCAL_CFLAGS += -D_Android -DSET_STRIDE_PADDING_FROM_PROXY -DANDROID_QUIRK_CHANGE_PORT_VALUES -DUSE_ENHANCED_PORTRECONFIG 27LOCAL_CFLAGS += -DANDROID_QUIRK_LOCK_BUFFER -DUSE_ION -DENABLE_GRALLOC_BUFFERS 28LOCAL_MODULE_TAGS:= optional 29 30LOCAL_SRC_FILES:= omx_video_dec/src/omx_proxy_videodec.c \ 31 omx_video_dec/src/omx_proxy_videodec_utils.c 32 33# Uncomment the below 2 lines to enable the run time 34# dump of NV12 buffers from Decoder/Camera 35# based on setprop control 36#LOCAL_CFLAGS += -DENABLE_RAW_BUFFERS_DUMP_UTILITY 37#LOCAL_SHARED_LIBRARIES += libcutils 38 39LOCAL_MODULE:= libOMX.TI.DUCATI1.VIDEO.DECODER 40include $(BUILD_HEAPTRACKED_SHARED_LIBRARY) 41 42# 43# libOMX.TI.DUCATI1.MISC.SAMPLE 44# 45 46include $(CLEAR_VARS) 47 48LOCAL_C_INCLUDES += \ 49 $(LOCAL_PATH)/../omx_core/inc \ 50 $(LOCAL_PATH)/../mm_osal/inc \ 51 $(LOCAL_PATH)/../domx \ 52 $(LOCAL_PATH)/../domx/omx_rpc/inc 53 54LOCAL_SHARED_LIBRARIES := \ 55 libmm_osal \ 56 libc \ 57 libOMX_Core \ 58 liblog \ 59 libdomx 60 61LOCAL_CFLAGS += -DTMS32060 -D_DB_TIOMAP -DSYSLINK_USE_SYSMGR -DSYSLINK_USE_LOADER 62LOCAL_CFLAGS += -D_Android -DSET_STRIDE_PADDING_FROM_PROXY -DANDROID_QUIRK_CHANGE_PORT_VALUES -DUSE_ENHANCED_PORTRECONFIG 63LOCAL_CFLAGS += -DANDROID_QUIRK_LOCK_BUFFER -DUSE_ION 64LOCAL_MODULE_TAGS:= optional 65 66LOCAL_SRC_FILES:= omx_sample/src/omx_proxy_sample.c 67LOCAL_MODULE:= libOMX.TI.DUCATI1.MISC.SAMPLE 68include $(BUILD_HEAPTRACKED_SHARED_LIBRARY) 69 70 71# 72# libOMX.TI.DUCATI1.VIDEO.CAMERA 73# 74 75include $(CLEAR_VARS) 76 77LOCAL_C_INCLUDES += \ 78 $(HARDWARE_TI_OMAP4_BASE)/kernel-headers-ti \ 79 $(HARDWARE_TI_OMAP4_BASE)/system-core-headers-ti \ 80 $(LOCAL_PATH)/../omx_core/inc \ 81 $(LOCAL_PATH)/../mm_osal/inc \ 82 $(LOCAL_PATH)/../domx \ 83 $(HARDWARE_TI_OMAP4_BASE)/ion/ \ 84 $(LOCAL_PATH)/../domx/omx_rpc/inc 85 86LOCAL_SHARED_LIBRARIES := \ 87 libmm_osal \ 88 libc \ 89 libOMX_Core \ 90 liblog \ 91 libion_ti \ 92 libdomx 93 94LOCAL_CFLAGS += -DTMS32060 -D_DB_TIOMAP -DSYSLINK_USE_SYSMGR -DSYSLINK_USE_LOADER 95LOCAL_CFLAGS += -D_Android -DSET_STRIDE_PADDING_FROM_PROXY -DANDROID_QUIRK_CHANGE_PORT_VALUES -DUSE_ENHANCED_PORTRECONFIG 96LOCAL_CFLAGS += -DANDROID_QUIRK_LOCK_BUFFER -DUSE_ION 97LOCAL_MODULE_TAGS:= optional 98 99LOCAL_SRC_FILES:= omx_camera/src/omx_proxy_camera.c 100LOCAL_MODULE:= libOMX.TI.DUCATI1.VIDEO.CAMERA 101include $(BUILD_HEAPTRACKED_SHARED_LIBRARY) 102 103# 104# libOMX.TI.DUCATI1.VIDEO.H264E 105# 106 107include $(CLEAR_VARS) 108 109LOCAL_C_INCLUDES += \ 110 $(LOCAL_PATH)/../omx_core/inc \ 111 $(LOCAL_PATH)/../mm_osal/inc \ 112 $(LOCAL_PATH)/../domx \ 113 $(LOCAL_PATH)/../domx/omx_rpc/inc \ 114 system/core/include/cutils \ 115 $(HARDWARE_TI_OMAP4_BASE)/hwc \ 116 $(HARDWARE_TI_OMAP4_BASE)/camera/inc \ 117 frameworks/native/include/media/hardware \ 118 119LOCAL_SHARED_LIBRARIES := \ 120 libmm_osal \ 121 libc \ 122 libOMX_Core \ 123 liblog \ 124 libdomx \ 125 libhardware \ 126 libcutils 127 128LOCAL_CFLAGS += -DLINUX -DTMS32060 -D_DB_TIOMAP -DSYSLINK_USE_SYSMGR -DSYSLINK_USE_LOADER 129LOCAL_CFLAGS += -D_Android -DSET_STRIDE_PADDING_FROM_PROXY -DANDROID_QUIRK_CHANGE_PORT_VALUES 130LOCAL_CFLAGS += -DUSE_ENHANCED_PORTRECONFIG -DENABLE_GRALLOC_BUFFER -DANDROID_QUIRK_LOCK_BUFFER -DUSE_ION 131LOCAL_CFLAGS += -DANDROID_CUSTOM_OPAQUECOLORFORMAT 132LOCAL_MODULE_TAGS:= optional 133 134LOCAL_SRC_FILES:= omx_h264_enc/src/omx_proxy_h264enc.c 135LOCAL_MODULE:= libOMX.TI.DUCATI1.VIDEO.H264E 136include $(BUILD_HEAPTRACKED_SHARED_LIBRARY) 137 138# 139# libOMX.TI.DUCATI1.VIDEO.MPEG4E 140# 141 142include $(CLEAR_VARS) 143 144LOCAL_C_INCLUDES += \ 145 $(LOCAL_PATH)/../omx_core/inc \ 146 $(LOCAL_PATH)/../mm_osal/inc \ 147 $(LOCAL_PATH)/../domx \ 148 $(LOCAL_PATH)/../domx/omx_rpc/inc \ 149 system/core/include/cutils \ 150 $(HARDWARE_TI_OMAP4_BASE)/hwc \ 151 $(HARDWARE_TI_OMAP4_BASE)/camera/inc \ 152 frameworks/native/include/media/hardware \ 153 154LOCAL_SHARED_LIBRARIES := \ 155 libmm_osal \ 156 libc \ 157 libOMX_Core \ 158 liblog \ 159 libdomx \ 160 libhardware \ 161 libcutils 162 163LOCAL_CFLAGS += -DLINUX -DTMS32060 -D_DB_TIOMAP -DSYSLINK_USE_SYSMGR -DSYSLINK_USE_LOADER 164LOCAL_CFLAGS += -D_Android -DSET_STRIDE_PADDING_FROM_PROXY -DANDROID_QUIRK_CHANGE_PORT_VALUES 165LOCAL_CFLAGS += -DUSE_ENHANCED_PORTRECONFIG -DENABLE_GRALLOC_BUFFER -DANDROID_QUIRK_LOCK_BUFFER -DUSE_ION 166LOCAL_CFLAGS += -DANDROID_CUSTOM_OPAQUECOLORFORMAT 167LOCAL_MODULE_TAGS:= optional 168 169LOCAL_SRC_FILES:= omx_mpeg4_enc/src/omx_proxy_mpeg4enc.c 170LOCAL_MODULE:= libOMX.TI.DUCATI1.VIDEO.MPEG4E 171include $(BUILD_HEAPTRACKED_SHARED_LIBRARY) 172 173# 174# libOMX.TI.DUCATI1.VIDEO.DECODER.secure 175# 176 177include $(CLEAR_VARS) 178 179LOCAL_C_INCLUDES += \ 180 $(LOCAL_PATH)/../omx_core/inc \ 181 $(LOCAL_PATH)/../mm_osal/inc \ 182 $(LOCAL_PATH)/../domx \ 183 $(LOCAL_PATH)/../domx/omx_rpc/inc \ 184 $(HARDWARE_TI_OMAP4_BASE)/../../libhardware/include \ 185 $(HARDWARE_TI_OMAP4_BASE)/hwc/ 186 187LOCAL_SHARED_LIBRARIES := \ 188 libmm_osal \ 189 libc \ 190 libOMX_Core \ 191 liblog \ 192 libdomx \ 193 libhardware \ 194 libOMX.TI.DUCATI1.VIDEO.DECODER 195 196LOCAL_CFLAGS += -DLINUX -DTMS32060 -D_DB_TIOMAP -DSYSLINK_USE_SYSMGR -DSYSLINK_USE_LOADER 197LOCAL_CFLAGS += -D_Android -DSET_STRIDE_PADDING_FROM_PROXY -DANDROID_QUIRK_CHANGE_PORT_VALUES -DUSE_ENHANCED_PORTRECONFIG 198LOCAL_CFLAGS += -DANDROID_QUIRK_LOCK_BUFFER -DUSE_ION -DENABLE_GRALLOC_BUFFERS 199LOCAL_MODULE_TAGS:= optional 200 201LOCAL_SRC_FILES:= omx_video_dec/src/omx_proxy_videodec_secure.c 202LOCAL_MODULE:= libOMX.TI.DUCATI1.VIDEO.DECODER.secure 203include $(BUILD_HEAPTRACKED_SHARED_LIBRARY) 204