blob: e5ac2d46d4849ed76f7cd5c704f95da551756abf [file] [log] [blame]
Hamsalekha S8d3d3032015-03-13 21:24:58 +05301libavcd_inc_dir_arm += $(LOCAL_PATH)/decoder/arm
2libavcd_inc_dir_arm += $(LOCAL_PATH)/common/arm
3
4libavcd_srcs_c_arm += decoder/arm/ih264d_function_selector.c
Martin Storsjo29fe0e22015-05-20 10:00:45 +03005libavcd_cflags_arm += -DARM
Hamsalekha S8d3d3032015-03-13 21:24:58 +05306
7#LOCAL_ARM_MODE := arm
8
9ifeq ($(ARCH_ARM_HAVE_NEON),true)
10libavcd_srcs_c_arm += decoder/arm/ih264d_function_selector_a9q.c
11
12libavcd_srcs_asm_arm += common/arm/ih264_intra_pred_chroma_a9q.s
13libavcd_srcs_asm_arm += common/arm/ih264_intra_pred_luma_16x16_a9q.s
14libavcd_srcs_asm_arm += common/arm/ih264_intra_pred_luma_4x4_a9q.s
15libavcd_srcs_asm_arm += common/arm/ih264_intra_pred_luma_8x8_a9q.s
16libavcd_srcs_asm_arm += common/arm/ih264_inter_pred_chroma_a9q.s
17libavcd_srcs_asm_arm += common/arm/ih264_inter_pred_filters_luma_horz_a9q.s
18libavcd_srcs_asm_arm += common/arm/ih264_inter_pred_filters_luma_vert_a9q.s
19libavcd_srcs_asm_arm += common/arm/ih264_inter_pred_luma_copy_a9q.s
20libavcd_srcs_asm_arm += common/arm/ih264_inter_pred_luma_horz_qpel_a9q.s
21libavcd_srcs_asm_arm += common/arm/ih264_inter_pred_luma_vert_qpel_a9q.s
22libavcd_srcs_asm_arm += common/arm/ih264_inter_pred_luma_horz_hpel_vert_hpel_a9q.s
23libavcd_srcs_asm_arm += common/arm/ih264_inter_pred_luma_horz_qpel_vert_qpel_a9q.s
24libavcd_srcs_asm_arm += common/arm/ih264_inter_pred_luma_horz_qpel_vert_hpel_a9q.s
25libavcd_srcs_asm_arm += common/arm/ih264_inter_pred_luma_horz_hpel_vert_qpel_a9q.s
26libavcd_srcs_asm_arm += common/arm/ih264_default_weighted_pred_a9q.s
27libavcd_srcs_asm_arm += common/arm/ih264_weighted_pred_a9q.s
28libavcd_srcs_asm_arm += common/arm/ih264_weighted_bi_pred_a9q.s
29libavcd_srcs_asm_arm += common/arm/ih264_deblk_chroma_a9.s
30libavcd_srcs_asm_arm += common/arm/ih264_deblk_luma_a9.s
31libavcd_srcs_asm_arm += common/arm/ih264_padding_neon.s
32libavcd_srcs_asm_arm += common/arm/ih264_iquant_itrans_recon_a9.s
33libavcd_srcs_asm_arm += common/arm/ih264_iquant_itrans_recon_dc_a9.s
34libavcd_srcs_asm_arm += common/arm/ih264_ihadamard_scaling_a9.s
Hamsalekha S8d3d3032015-03-13 21:24:58 +053035
36libavcd_cflags_arm += -DDEFAULT_ARCH=D_ARCH_ARM_A9Q
37else
38libavcd_cflags_arm += -DDISABLE_NEON -DDEFAULT_ARCH=D_ARCH_ARM_NONEON
39endif
40
Lajos Molnar7023f4d2015-04-16 11:37:41 -070041libavcd_srcs_asm_arm += common/arm/ih264_arm_memory_barrier.s
42
Hamsalekha S8d3d3032015-03-13 21:24:58 +053043LOCAL_SRC_FILES_arm += $(libavcd_srcs_c_arm) $(libavcd_srcs_asm_arm)
44LOCAL_C_INCLUDES_arm += $(libavcd_inc_dir_arm)
45LOCAL_CFLAGS_arm += $(libavcd_cflags_arm)