Harish Mahendrakar | 0d8951c | 2014-05-16 10:31:13 -0700 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
| 4 | libhevc_source_dir := $(LOCAL_PATH) |
| 5 | |
| 6 | ## Arch-common settings |
| 7 | LOCAL_MODULE := libhevcdec |
| 8 | #LOCAL_32_BIT_ONLY := true |
| 9 | |
| 10 | LOCAL_MODULE_CLASS := STATIC_LIBRARIES |
| 11 | |
Harish Mahendrakar | 0d8951c | 2014-05-16 10:31:13 -0700 | [diff] [blame] | 12 | LOCAL_CFLAGS += -D_LIB -DMULTICORE -fPIC |
Harish Mahendrakar | 707042f | 2014-06-04 10:31:48 -0700 | [diff] [blame] | 13 | LOCAL_CFLAGS += -O3 -DANDROID |
Harish Mahendrakar | 0d8951c | 2014-05-16 10:31:13 -0700 | [diff] [blame] | 14 | |
| 15 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/decoder $(LOCAL_PATH)/common |
| 16 | |
| 17 | libhevcd_srcs_c += common/ihevc_quant_tables.c |
| 18 | libhevcd_srcs_c += common/ihevc_inter_pred_filters.c |
| 19 | libhevcd_srcs_c += common/ihevc_weighted_pred.c |
| 20 | libhevcd_srcs_c += common/ihevc_padding.c |
| 21 | libhevcd_srcs_c += common/ihevc_deblk_edge_filter.c |
| 22 | libhevcd_srcs_c += common/ihevc_deblk_tables.c |
| 23 | libhevcd_srcs_c += common/ihevc_cabac_tables.c |
| 24 | libhevcd_srcs_c += common/ihevc_common_tables.c |
| 25 | libhevcd_srcs_c += common/ihevc_intra_pred_filters.c |
| 26 | libhevcd_srcs_c += common/ihevc_chroma_intra_pred_filters.c |
| 27 | libhevcd_srcs_c += common/ihevc_mem_fns.c |
| 28 | libhevcd_srcs_c += common/ihevc_sao.c |
| 29 | libhevcd_srcs_c += common/ihevc_trans_tables.c |
| 30 | libhevcd_srcs_c += common/ihevc_recon.c |
| 31 | libhevcd_srcs_c += common/ihevc_itrans.c |
| 32 | libhevcd_srcs_c += common/ihevc_itrans_recon.c |
| 33 | libhevcd_srcs_c += common/ihevc_iquant_recon.c |
| 34 | libhevcd_srcs_c += common/ihevc_iquant_itrans_recon.c |
| 35 | libhevcd_srcs_c += common/ihevc_itrans_recon_32x32.c |
| 36 | libhevcd_srcs_c += common/ihevc_itrans_recon_16x16.c |
| 37 | libhevcd_srcs_c += common/ihevc_itrans_recon_8x8.c |
| 38 | libhevcd_srcs_c += common/ihevc_chroma_itrans_recon.c |
| 39 | libhevcd_srcs_c += common/ihevc_chroma_iquant_recon.c |
| 40 | libhevcd_srcs_c += common/ihevc_chroma_iquant_itrans_recon.c |
| 41 | libhevcd_srcs_c += common/ihevc_chroma_recon.c |
| 42 | libhevcd_srcs_c += common/ihevc_chroma_itrans_recon_16x16.c |
| 43 | libhevcd_srcs_c += common/ihevc_chroma_itrans_recon_8x8.c |
| 44 | libhevcd_srcs_c += common/ihevc_buf_mgr.c |
| 45 | libhevcd_srcs_c += common/ihevc_disp_mgr.c |
| 46 | libhevcd_srcs_c += common/ihevc_dpb_mgr.c |
| 47 | libhevcd_srcs_c += common/ithread.c |
| 48 | |
| 49 | |
| 50 | |
| 51 | libhevcd_srcs_c += decoder/ihevcd_version.c |
Harish Mahendrakar | 0d8951c | 2014-05-16 10:31:13 -0700 | [diff] [blame] | 52 | libhevcd_srcs_c += decoder/ihevcd_api.c |
| 53 | libhevcd_srcs_c += decoder/ihevcd_decode.c |
| 54 | libhevcd_srcs_c += decoder/ihevcd_nal.c |
| 55 | libhevcd_srcs_c += decoder/ihevcd_bitstream.c |
| 56 | libhevcd_srcs_c += decoder/ihevcd_parse_headers.c |
| 57 | libhevcd_srcs_c += decoder/ihevcd_parse_slice_header.c |
| 58 | libhevcd_srcs_c += decoder/ihevcd_parse_slice.c |
| 59 | libhevcd_srcs_c += decoder/ihevcd_parse_residual.c |
| 60 | libhevcd_srcs_c += decoder/ihevcd_cabac.c |
| 61 | libhevcd_srcs_c += decoder/ihevcd_intra_pred_mode_prediction.c |
| 62 | libhevcd_srcs_c += decoder/ihevcd_process_slice.c |
| 63 | libhevcd_srcs_c += decoder/ihevcd_utils.c |
| 64 | libhevcd_srcs_c += decoder/ihevcd_job_queue.c |
| 65 | libhevcd_srcs_c += decoder/ihevcd_ref_list.c |
| 66 | libhevcd_srcs_c += decoder/ihevcd_get_mv.c |
| 67 | libhevcd_srcs_c += decoder/ihevcd_mv_pred.c |
| 68 | libhevcd_srcs_c += decoder/ihevcd_mv_merge.c |
| 69 | libhevcd_srcs_c += decoder/ihevcd_iquant_itrans_recon_ctb.c |
| 70 | libhevcd_srcs_c += decoder/ihevcd_itrans_recon_dc.c |
| 71 | libhevcd_srcs_c += decoder/ihevcd_common_tables.c |
| 72 | libhevcd_srcs_c += decoder/ihevcd_boundary_strength.c |
| 73 | libhevcd_srcs_c += decoder/ihevcd_deblk.c |
| 74 | libhevcd_srcs_c += decoder/ihevcd_inter_pred.c |
| 75 | libhevcd_srcs_c += decoder/ihevcd_sao.c |
| 76 | libhevcd_srcs_c += decoder/ihevcd_ilf_padding.c |
Harish Mahendrakar | 0d8951c | 2014-05-16 10:31:13 -0700 | [diff] [blame] | 77 | libhevcd_srcs_c += decoder/ihevcd_fmt_conv.c |
| 78 | |
| 79 | LOCAL_SRC_FILES := $(libhevcd_srcs_c) $(libhevcd_srcs_asm) |
| 80 | |
| 81 | |
| 82 | # Load the arch-specific settings |
| 83 | include $(LOCAL_PATH)/decoder.arm.mk |
| 84 | include $(LOCAL_PATH)/decoder.arm64.mk |
| 85 | include $(LOCAL_PATH)/decoder.x86.mk |
| 86 | include $(LOCAL_PATH)/decoder.x86_64.mk |
| 87 | include $(LOCAL_PATH)/decoder.mips.mk |
| 88 | include $(LOCAL_PATH)/decoder.mips64.mk |
| 89 | |
| 90 | include $(BUILD_STATIC_LIBRARY) |