blob: 8b9bd55d413f41c7d251693bb01401ad0c09ae02 [file] [log] [blame]
Hamsalekha S8d3d3032015-03-13 21:24:58 +05301LOCAL_PATH := $(call my-dir)
2include $(CLEAR_VARS)
3
4libavcd_source_dir := $(LOCAL_PATH)
5
6## Arch-common settings
7LOCAL_MODULE := libavcdec
8#LOCAL_32_BIT_ONLY := true
9
10LOCAL_MODULE_CLASS := STATIC_LIBRARIES
11
Martin Storsjo29fe0e22015-05-20 10:00:45 +030012LOCAL_CFLAGS += -fPIC
13LOCAL_CFLAGS += -O3
Hamsalekha S8d3d3032015-03-13 21:24:58 +053014
15LOCAL_C_INCLUDES := $(LOCAL_PATH)/decoder $(LOCAL_PATH)/common
16
17libavcd_srcs_c += common/ih264_buf_mgr.c
18libavcd_srcs_c += common/ih264_disp_mgr.c
19libavcd_srcs_c += common/ih264_inter_pred_filters.c
20libavcd_srcs_c += common/ih264_luma_intra_pred_filters.c
21libavcd_srcs_c += common/ih264_chroma_intra_pred_filters.c
22libavcd_srcs_c += common/ih264_padding.c
23libavcd_srcs_c += common/ih264_mem_fns.c
24libavcd_srcs_c += common/ih264_deblk_edge_filters.c
25libavcd_srcs_c += common/ih264_iquant_itrans_recon.c
26libavcd_srcs_c += common/ih264_ihadamard_scaling.c
27libavcd_srcs_c += common/ih264_weighted_pred.c
28
29libavcd_srcs_c += common/ithread.c
30
31libavcd_srcs_c += decoder/ih264d_cabac.c
32libavcd_srcs_c += decoder/ih264d_parse_mb_header.c
33libavcd_srcs_c += decoder/ih264d_parse_cabac.c
34libavcd_srcs_c += decoder/ih264d_process_intra_mb.c
35libavcd_srcs_c += decoder/ih264d_inter_pred.c
36libavcd_srcs_c += decoder/ih264d_parse_bslice.c
37libavcd_srcs_c += decoder/ih264d_parse_pslice.c
38libavcd_srcs_c += decoder/ih264d_parse_islice.c
39libavcd_srcs_c += decoder/ih264d_cabac_init_tables.c
Hamsalekha S8d3d3032015-03-13 21:24:58 +053040libavcd_srcs_c += decoder/ih264d_bitstrm.c
41libavcd_srcs_c += decoder/ih264d_compute_bs.c
42libavcd_srcs_c += decoder/ih264d_deblocking.c
43libavcd_srcs_c += decoder/ih264d_parse_headers.c
44libavcd_srcs_c += decoder/ih264d_mb_utils.c
45libavcd_srcs_c += decoder/ih264d_mvpred.c
46libavcd_srcs_c += decoder/ih264d_utils.c
47libavcd_srcs_c += decoder/ih264d_process_bslice.c
48libavcd_srcs_c += decoder/ih264d_process_pslice.c
49libavcd_srcs_c += decoder/ih264d_parse_slice.c
50libavcd_srcs_c += decoder/ih264d_quant_scaling.c
51libavcd_srcs_c += decoder/ih264d_parse_cavlc.c
52libavcd_srcs_c += decoder/ih264d_dpb_mgr.c
53libavcd_srcs_c += decoder/ih264d_nal.c
54libavcd_srcs_c += decoder/ih264d_sei.c
55libavcd_srcs_c += decoder/ih264d_tables.c
56libavcd_srcs_c += decoder/ih264d_vui.c
57libavcd_srcs_c += decoder/ih264d_format_conv.c
58libavcd_srcs_c += decoder/ih264d_thread_parse_decode.c
59libavcd_srcs_c += decoder/ih264d_api.c
60libavcd_srcs_c += decoder/ih264d_thread_compute_bs.c
61libavcd_srcs_c += decoder/ih264d_function_selector_generic.c
62
63
64LOCAL_SRC_FILES := $(libavcd_srcs_c) $(libavcd_srcs_asm)
65
66
67# Load the arch-specific settings
68include $(LOCAL_PATH)/decoder.arm.mk
69include $(LOCAL_PATH)/decoder.arm64.mk
70include $(LOCAL_PATH)/decoder.x86.mk
71include $(LOCAL_PATH)/decoder.x86_64.mk
72include $(LOCAL_PATH)/decoder.mips.mk
73include $(LOCAL_PATH)/decoder.mips64.mk
74
75include $(BUILD_STATIC_LIBRARY)