blob: 2140b94febf1049a3fd41e1191b7f59a535e9b68 [file] [log] [blame]
Hamsalekha S8d3d3032015-03-13 21:24:58 +05301libavcd_cflags_arm64 += -DARMV8
Martin Storsjo29fe0e22015-05-20 10:00:45 +03002libavcd_cflags_arm64 += -DARM
Hamsalekha S8d3d3032015-03-13 21:24:58 +05303
4libavcd_inc_dir_arm64 += $(LOCAL_PATH)/decoder/arm
5libavcd_inc_dir_arm64 += $(LOCAL_PATH)/common/armv8
6
7libavcd_srcs_c_arm64 += decoder/arm/ih264d_function_selector.c
8
9ifeq ($(ARCH_ARM_HAVE_NEON),true)
10libavcd_srcs_c_arm64 += decoder/arm/ih264d_function_selector_av8.c
11
12libavcd_srcs_asm_arm64 += common/armv8/ih264_intra_pred_chroma_av8.s
13libavcd_srcs_asm_arm64 += common/armv8/ih264_intra_pred_luma_16x16_av8.s
14libavcd_srcs_asm_arm64 += common/armv8/ih264_intra_pred_luma_4x4_av8.s
15libavcd_srcs_asm_arm64 += common/armv8/ih264_inter_pred_chroma_av8.s
16libavcd_srcs_asm_arm64 += common/armv8/ih264_inter_pred_filters_luma_horz_av8.s
17libavcd_srcs_asm_arm64 += common/armv8/ih264_inter_pred_filters_luma_vert_av8.s
18libavcd_srcs_asm_arm64 += common/armv8/ih264_inter_pred_luma_copy_av8.s
19libavcd_srcs_asm_arm64 += common/armv8/ih264_inter_pred_luma_horz_qpel_av8.s
20libavcd_srcs_asm_arm64 += common/armv8/ih264_inter_pred_luma_vert_qpel_av8.s
21libavcd_srcs_asm_arm64 += common/armv8/ih264_inter_pred_luma_horz_hpel_vert_hpel_av8.s
22libavcd_srcs_asm_arm64 += common/armv8/ih264_inter_pred_luma_horz_qpel_vert_qpel_av8.s
23libavcd_srcs_asm_arm64 += common/armv8/ih264_inter_pred_luma_horz_qpel_vert_hpel_av8.s
24libavcd_srcs_asm_arm64 += common/armv8/ih264_inter_pred_luma_horz_hpel_vert_qpel_av8.s
25libavcd_srcs_asm_arm64 += common/armv8/ih264_default_weighted_pred_av8.s
26libavcd_srcs_asm_arm64 += common/armv8/ih264_weighted_pred_av8.s
27libavcd_srcs_asm_arm64 += common/armv8/ih264_weighted_bi_pred_av8.s
28libavcd_srcs_asm_arm64 += common/armv8/ih264_deblk_chroma_av8.s
29libavcd_srcs_asm_arm64 += common/armv8/ih264_deblk_luma_av8.s
30libavcd_srcs_asm_arm64 += common/armv8/ih264_padding_neon_av8.s
31libavcd_srcs_asm_arm64 += common/armv8/ih264_iquant_itrans_recon_av8.s
32libavcd_srcs_asm_arm64 += common/armv8/ih264_iquant_itrans_recon_dc_av8.s
33libavcd_srcs_asm_arm64 += common/armv8/ih264_ihadamard_scaling_av8.s
34libavcd_srcs_asm_arm64 += common/armv8/ih264_intra_pred_luma_8x8_av8.s
35
Martin Storsjo4691c4b2015-05-19 14:47:33 +030036libavcd_cflags_arm64 += -DDEFAULT_ARCH=D_ARCH_ARMV8_GENERIC
Hamsalekha S8d3d3032015-03-13 21:24:58 +053037else
38libavcd_cflags_arm64 += -DDISABLE_NEON -DDEFAULT_ARCH=D_ARCH_ARM_NONEON
39endif
40
41
42
43
44LOCAL_SRC_FILES_arm64 += $(libavcd_srcs_c_arm64) $(libavcd_srcs_asm_arm64)
45LOCAL_C_INCLUDES_arm64 += $(libavcd_inc_dir_arm64)
46LOCAL_CFLAGS_arm64 += $(libavcd_cflags_arm64)
Lajos Molnarfab9a812015-04-16 18:47:11 -070047
48# CLANG WORKAROUNDS
Lajos Molnarfab9a812015-04-16 18:47:11 -070049LOCAL_CLANG_ASFLAGS_arm64 += $(addprefix -Wa$(comma)-I,$(libavcd_inc_dir_arm64))