1 LOCAL_PATH:= $(call my-dir) 2 3 # 4 # libOMX.TI.DUCATI1.VIDEO.DECODER 5 # 6 7 include $(CLEAR_VARS) 8 9 LOCAL_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 17 LOCAL_SHARED_LIBRARIES := \ 18 libmm_osal \ 19 libc \ 20 libOMX_Core \ 21 liblog \ 22 libdomx \ 23 libhardware 24 25 LOCAL_CFLAGS += -DLINUX -DTMS32060 -D_DB_TIOMAP -DSYSLINK_USE_SYSMGR -DSYSLINK_USE_LOADER 26 LOCAL_CFLAGS += -D_Android -DSET_STRIDE_PADDING_FROM_PROXY -DANDROID_QUIRK_CHANGE_PORT_VALUES -DUSE_ENHANCED_PORTRECONFIG 27 LOCAL_CFLAGS += -DANDROID_QUIRK_LOCK_BUFFER -DUSE_ION -DENABLE_GRALLOC_BUFFERS 28 LOCAL_MODULE_TAGS:= optional 29 30 LOCAL_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 39 LOCAL_MODULE:= libOMX.TI.DUCATI1.VIDEO.DECODER 40 include $(BUILD_HEAPTRACKED_SHARED_LIBRARY) 41 42 # 43 # libOMX.TI.DUCATI1.MISC.SAMPLE 44 # 45 46 include $(CLEAR_VARS) 47 48 LOCAL_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 54 LOCAL_SHARED_LIBRARIES := \ 55 libmm_osal \ 56 libc \ 57 libOMX_Core \ 58 liblog \ 59 libdomx 60 61 LOCAL_CFLAGS += -DTMS32060 -D_DB_TIOMAP -DSYSLINK_USE_SYSMGR -DSYSLINK_USE_LOADER 62 LOCAL_CFLAGS += -D_Android -DSET_STRIDE_PADDING_FROM_PROXY -DANDROID_QUIRK_CHANGE_PORT_VALUES -DUSE_ENHANCED_PORTRECONFIG 63 LOCAL_CFLAGS += -DANDROID_QUIRK_LOCK_BUFFER -DUSE_ION 64 LOCAL_MODULE_TAGS:= optional 65 66 LOCAL_SRC_FILES:= omx_sample/src/omx_proxy_sample.c 67 LOCAL_MODULE:= libOMX.TI.DUCATI1.MISC.SAMPLE 68 include $(BUILD_HEAPTRACKED_SHARED_LIBRARY) 69 70 71 # 72 # libOMX.TI.DUCATI1.VIDEO.CAMERA 73 # 74 75 include $(CLEAR_VARS) 76 77 LOCAL_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 86 LOCAL_SHARED_LIBRARIES := \ 87 libmm_osal \ 88 libc \ 89 libOMX_Core \ 90 liblog \ 91 libion_ti \ 92 libdomx 93 94 LOCAL_CFLAGS += -DTMS32060 -D_DB_TIOMAP -DSYSLINK_USE_SYSMGR -DSYSLINK_USE_LOADER 95 LOCAL_CFLAGS += -D_Android -DSET_STRIDE_PADDING_FROM_PROXY -DANDROID_QUIRK_CHANGE_PORT_VALUES -DUSE_ENHANCED_PORTRECONFIG 96 LOCAL_CFLAGS += -DANDROID_QUIRK_LOCK_BUFFER -DUSE_ION 97 LOCAL_MODULE_TAGS:= optional 98 99 LOCAL_SRC_FILES:= omx_camera/src/omx_proxy_camera.c 100 LOCAL_MODULE:= libOMX.TI.DUCATI1.VIDEO.CAMERA 101 include $(BUILD_HEAPTRACKED_SHARED_LIBRARY) 102 103 # 104 # libOMX.TI.DUCATI1.VIDEO.H264E 105 # 106 107 include $(CLEAR_VARS) 108 109 LOCAL_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 119 LOCAL_SHARED_LIBRARIES := \ 120 libmm_osal \ 121 libc \ 122 libOMX_Core \ 123 liblog \ 124 libdomx \ 125 libhardware \ 126 libcutils 127 128 LOCAL_CFLAGS += -DLINUX -DTMS32060 -D_DB_TIOMAP -DSYSLINK_USE_SYSMGR -DSYSLINK_USE_LOADER 129 LOCAL_CFLAGS += -D_Android -DSET_STRIDE_PADDING_FROM_PROXY -DANDROID_QUIRK_CHANGE_PORT_VALUES 130 LOCAL_CFLAGS += -DUSE_ENHANCED_PORTRECONFIG -DENABLE_GRALLOC_BUFFER -DANDROID_QUIRK_LOCK_BUFFER -DUSE_ION 131 LOCAL_CFLAGS += -DANDROID_CUSTOM_OPAQUECOLORFORMAT 132 LOCAL_MODULE_TAGS:= optional 133 134 LOCAL_SRC_FILES:= omx_h264_enc/src/omx_proxy_h264enc.c 135 LOCAL_MODULE:= libOMX.TI.DUCATI1.VIDEO.H264E 136 include $(BUILD_HEAPTRACKED_SHARED_LIBRARY) 137 138 # 139 # libOMX.TI.DUCATI1.VIDEO.MPEG4E 140 # 141 142 include $(CLEAR_VARS) 143 144 LOCAL_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 154 LOCAL_SHARED_LIBRARIES := \ 155 libmm_osal \ 156 libc \ 157 libOMX_Core \ 158 liblog \ 159 libdomx \ 160 libhardware \ 161 libcutils 162 163 LOCAL_CFLAGS += -DLINUX -DTMS32060 -D_DB_TIOMAP -DSYSLINK_USE_SYSMGR -DSYSLINK_USE_LOADER 164 LOCAL_CFLAGS += -D_Android -DSET_STRIDE_PADDING_FROM_PROXY -DANDROID_QUIRK_CHANGE_PORT_VALUES 165 LOCAL_CFLAGS += -DUSE_ENHANCED_PORTRECONFIG -DENABLE_GRALLOC_BUFFER -DANDROID_QUIRK_LOCK_BUFFER -DUSE_ION 166 LOCAL_CFLAGS += -DANDROID_CUSTOM_OPAQUECOLORFORMAT 167 LOCAL_MODULE_TAGS:= optional 168 169 LOCAL_SRC_FILES:= omx_mpeg4_enc/src/omx_proxy_mpeg4enc.c 170 LOCAL_MODULE:= libOMX.TI.DUCATI1.VIDEO.MPEG4E 171 include $(BUILD_HEAPTRACKED_SHARED_LIBRARY) 172 173 # 174 # libOMX.TI.DUCATI1.VIDEO.DECODER.secure 175 # 176 177 include $(CLEAR_VARS) 178 179 LOCAL_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 187 LOCAL_SHARED_LIBRARIES := \ 188 libmm_osal \ 189 libc \ 190 libOMX_Core \ 191 liblog \ 192 libdomx \ 193 libhardware \ 194 libOMX.TI.DUCATI1.VIDEO.DECODER 195 196 LOCAL_CFLAGS += -DLINUX -DTMS32060 -D_DB_TIOMAP -DSYSLINK_USE_SYSMGR -DSYSLINK_USE_LOADER 197 LOCAL_CFLAGS += -D_Android -DSET_STRIDE_PADDING_FROM_PROXY -DANDROID_QUIRK_CHANGE_PORT_VALUES -DUSE_ENHANCED_PORTRECONFIG 198 LOCAL_CFLAGS += -DANDROID_QUIRK_LOCK_BUFFER -DUSE_ION -DENABLE_GRALLOC_BUFFERS 199 LOCAL_MODULE_TAGS:= optional 200 201 LOCAL_SRC_FILES:= omx_video_dec/src/omx_proxy_videodec_secure.c 202 LOCAL_MODULE:= libOMX.TI.DUCATI1.VIDEO.DECODER.secure 203 include $(BUILD_HEAPTRACKED_SHARED_LIBRARY) 204