1libavce_cflags_arm64 += -DARMV8
2libavce_cflags_arm64 += -DARM
3
4libavce_inc_dir_arm64   +=  $(LOCAL_PATH)/encoder/arm
5libavce_inc_dir_arm64   +=  $(LOCAL_PATH)/encoder/armv8
6libavce_inc_dir_arm64   +=  $(LOCAL_PATH)/common/armv8
7
8libavce_srcs_c_arm64    += encoder/arm/ih264e_function_selector.c
9
10ifeq ($(ARCH_ARM_HAVE_NEON),true)
11libavce_srcs_c_arm64    += encoder/arm/ih264e_function_selector_av8.c
12
13libavce_srcs_asm_arm64    +=  common/armv8/ih264_resi_trans_quant_av8.s
14libavce_srcs_asm_arm64    +=  common/armv8/ih264_iquant_itrans_recon_av8.s
15libavce_srcs_asm_arm64    +=  common/armv8/ih264_iquant_itrans_recon_dc_av8.s
16libavce_srcs_asm_arm64    +=  common/armv8/ih264_ihadamard_scaling_av8.s
17
18libavce_srcs_asm_arm64    +=  common/armv8/ih264_intra_pred_chroma_av8.s
19libavce_srcs_asm_arm64    +=  common/armv8/ih264_intra_pred_luma_16x16_av8.s
20libavce_srcs_asm_arm64    +=  common/armv8/ih264_intra_pred_luma_4x4_av8.s
21libavce_srcs_asm_arm64    +=  common/armv8/ih264_intra_pred_luma_8x8_av8.s
22libavce_srcs_asm_arm64    +=  common/armv8/ih264_inter_pred_luma_copy_av8.s
23libavce_srcs_asm_arm64    +=  common/armv8/ih264_inter_pred_chroma_av8.s
24libavce_srcs_asm_arm64    +=  common/armv8/ih264_inter_pred_filters_luma_horz_av8.s
25libavce_srcs_asm_arm64    +=  common/armv8/ih264_inter_pred_filters_luma_vert_av8.s
26libavce_srcs_asm_arm64    +=  common/armv8/ih264_padding_neon_av8.s
27libavce_srcs_asm_arm64    +=  common/armv8/ih264_mem_fns_neon_av8.s
28libavce_srcs_asm_arm64    +=  common/armv8/ih264_deblk_luma_av8.s
29libavce_srcs_asm_arm64    +=  common/armv8/ih264_deblk_chroma_av8.s
30
31libavce_srcs_asm_arm64    +=  encoder/armv8/ih264e_evaluate_intra16x16_modes_av8.s
32libavce_srcs_asm_arm64    +=  encoder/armv8/ih264e_evaluate_intra_chroma_modes_av8.s
33libavce_srcs_asm_arm64    +=  encoder/armv8/ih264e_half_pel_av8.s
34
35#ME
36libavce_srcs_asm_arm64    +=  encoder/armv8/ime_distortion_metrics_av8.s
37
38else
39libavce_cflags_arm64 += -DDISABLE_NEON
40endif
41
42
43
44
45LOCAL_SRC_FILES_arm64 += $(libavce_srcs_c_arm64) $(libavce_srcs_asm_arm64)
46LOCAL_C_INCLUDES_arm64 += $(libavce_inc_dir_arm64)
47LOCAL_CFLAGS_arm64 += $(libavce_cflags_arm64)
48
49# CLANG WORKAROUNDS
50LOCAL_CLANG_ASFLAGS_arm64 += $(addprefix -Wa$(comma)-I,$(libavce_inc_dir_arm64))
51