Venkatarama Avadhani | aed24ee | 2015-03-11 10:08:57 +0530 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
| 4 | libmpeg2d_source_dir := $(LOCAL_PATH) |
| 5 | |
| 6 | ## Arch-common settings |
| 7 | LOCAL_MODULE := libmpeg2dec |
| 8 | #LOCAL_32_BIT_ONLY := true |
| 9 | |
| 10 | LOCAL_MODULE_CLASS := STATIC_LIBRARIES |
| 11 | |
| 12 | LOCAL_CFLAGS += -D_LIB -DMULTICORE -fPIC |
| 13 | LOCAL_CFLAGS += -O3 -DANDROID |
| 14 | |
| 15 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/decoder $(LOCAL_PATH)/common |
| 16 | |
| 17 | libmpeg2d_srcs_c += common/impeg2_buf_mgr.c |
| 18 | libmpeg2d_srcs_c += common/impeg2_disp_mgr.c |
| 19 | libmpeg2d_srcs_c += common/impeg2_format_conv.c |
| 20 | libmpeg2d_srcs_c += common/impeg2_globals.c |
| 21 | libmpeg2d_srcs_c += common/impeg2_idct.c |
| 22 | libmpeg2d_srcs_c += common/impeg2_inter_pred.c |
| 23 | libmpeg2d_srcs_c += common/impeg2_job_queue.c |
| 24 | libmpeg2d_srcs_c += common/impeg2_mem_func.c |
| 25 | |
| 26 | libmpeg2d_srcs_c += common/ithread.c |
| 27 | |
| 28 | libmpeg2d_srcs_c += decoder/impeg2d_api_main.c |
| 29 | libmpeg2d_srcs_c += decoder/impeg2d_bitstream.c |
| 30 | libmpeg2d_srcs_c += decoder/impeg2d_debug.c |
| 31 | libmpeg2d_srcs_c += decoder/impeg2d_dec_hdr.c |
| 32 | libmpeg2d_srcs_c += decoder/impeg2d_decoder.c |
| 33 | libmpeg2d_srcs_c += decoder/impeg2d_d_pic.c |
| 34 | libmpeg2d_srcs_c += decoder/impeg2d_function_selector_generic.c |
| 35 | libmpeg2d_srcs_c += decoder/impeg2d_globals.c |
| 36 | libmpeg2d_srcs_c += decoder/impeg2d_i_pic.c |
| 37 | libmpeg2d_srcs_c += decoder/impeg2d_mc.c |
| 38 | libmpeg2d_srcs_c += decoder/impeg2d_mv_dec.c |
| 39 | libmpeg2d_srcs_c += decoder/impeg2d_pic_proc.c |
| 40 | libmpeg2d_srcs_c += decoder/impeg2d_pnb_pic.c |
| 41 | libmpeg2d_srcs_c += decoder/impeg2d_vld.c |
| 42 | libmpeg2d_srcs_c += decoder/impeg2d_vld_tables.c |
Harish Mahendrakar | 80a1411 | 2015-08-13 10:59:13 +0530 | [diff] [blame] | 43 | libmpeg2d_srcs_c += decoder/impeg2d_deinterlace.c |
| 44 | |
| 45 | libmpeg2d_srcs_c += common/icv_sad.c |
| 46 | libmpeg2d_srcs_c += common/icv_variance.c |
| 47 | libmpeg2d_srcs_c += common/ideint.c |
| 48 | libmpeg2d_srcs_c += common/ideint_cac.c |
| 49 | libmpeg2d_srcs_c += common/ideint_debug.c |
| 50 | libmpeg2d_srcs_c += common/ideint_function_selector_generic.c |
| 51 | libmpeg2d_srcs_c += common/ideint_utils.c |
Venkatarama Avadhani | aed24ee | 2015-03-11 10:08:57 +0530 | [diff] [blame] | 52 | |
| 53 | LOCAL_SRC_FILES := $(libmpeg2d_srcs_c) $(libmpeg2d_srcs_asm) |
| 54 | |
| 55 | |
| 56 | # Load the arch-specific settings |
| 57 | include $(LOCAL_PATH)/decoder.arm.mk |
| 58 | include $(LOCAL_PATH)/decoder.arm64.mk |
| 59 | include $(LOCAL_PATH)/decoder.x86.mk |
| 60 | include $(LOCAL_PATH)/decoder.x86_64.mk |
| 61 | include $(LOCAL_PATH)/decoder.mips.mk |
| 62 | include $(LOCAL_PATH)/decoder.mips64.mk |
| 63 | |
| 64 | include $(BUILD_STATIC_LIBRARY) |