1libhevcd_cflags_arm64 += -DARMV8 2libhevcd_cflags_arm64 += -DDISABLE_NEONINTR -DARM -DARMGCC 3 4libhevcd_inc_dir_arm64 += $(LOCAL_PATH)/decoder/arm 5libhevcd_inc_dir_arm64 += $(LOCAL_PATH)/common/arm 6libhevcd_inc_dir_arm64 += $(LOCAL_PATH)/decoder/arm64 7libhevcd_inc_dir_arm64 += $(LOCAL_PATH)/common/arm64 8 9libhevcd_srcs_c_arm64 += decoder/arm/ihevcd_function_selector.c 10libhevcd_srcs_c_arm64 += decoder/arm/ihevcd_function_selector_noneon.c 11 12libhevcd_srcs_c_arm64 += decoder/arm64/ihevcd_function_selector_av8.c 13 14libhevcd_srcs_c_arm64 += common/arm/ihevc_intra_pred_filters_neon_intr.c 15libhevcd_srcs_c_arm64 += common/arm/ihevc_weighted_pred_neon_intr.c 16 17libhevcd_srcs_asm_arm64 += common/arm64/ihevc_mem_fns.s 18libhevcd_srcs_asm_arm64 += common/arm64/ihevc_itrans_recon_32x32.s 19libhevcd_srcs_asm_arm64 += common/arm64/ihevc_weighted_pred_bi_default.s 20libhevcd_srcs_asm_arm64 += common/arm64/ihevc_weighted_pred_bi.s 21libhevcd_srcs_asm_arm64 += common/arm64/ihevc_weighted_pred_uni.s 22libhevcd_srcs_asm_arm64 += common/arm64/ihevc_deblk_luma_horz.s 23libhevcd_srcs_asm_arm64 += common/arm64/ihevc_deblk_luma_vert.s 24libhevcd_srcs_asm_arm64 += common/arm64/ihevc_deblk_chroma_vert.s 25libhevcd_srcs_asm_arm64 += common/arm64/ihevc_deblk_chroma_horz.s 26libhevcd_srcs_asm_arm64 += common/arm64/ihevc_sao_band_offset_luma.s 27libhevcd_srcs_asm_arm64 += common/arm64/ihevc_sao_band_offset_chroma.s 28libhevcd_srcs_asm_arm64 += common/arm64/ihevc_sao_edge_offset_class0.s 29libhevcd_srcs_asm_arm64 += common/arm64/ihevc_sao_edge_offset_class0_chroma.s 30libhevcd_srcs_asm_arm64 += common/arm64/ihevc_sao_edge_offset_class1.s 31libhevcd_srcs_asm_arm64 += common/arm64/ihevc_sao_edge_offset_class1_chroma.s 32libhevcd_srcs_asm_arm64 += common/arm64/ihevc_sao_edge_offset_class2.s 33libhevcd_srcs_asm_arm64 += common/arm64/ihevc_sao_edge_offset_class2_chroma.s 34libhevcd_srcs_asm_arm64 += common/arm64/ihevc_sao_edge_offset_class3.s 35libhevcd_srcs_asm_arm64 += common/arm64/ihevc_sao_edge_offset_class3_chroma.s 36libhevcd_srcs_asm_arm64 += common/arm64/ihevc_inter_pred_luma_horz_w16out.s 37libhevcd_srcs_asm_arm64 += common/arm64/ihevc_inter_pred_filters_luma_horz.s 38libhevcd_srcs_asm_arm64 += common/arm64/ihevc_inter_pred_filters_luma_vert.s 39libhevcd_srcs_asm_arm64 += common/arm64/ihevc_inter_pred_chroma_horz.s 40libhevcd_srcs_asm_arm64 += common/arm64/ihevc_inter_pred_chroma_horz_w16out.s 41libhevcd_srcs_asm_arm64 += common/arm64/ihevc_inter_pred_chroma_vert.s 42libhevcd_srcs_asm_arm64 += common/arm64/ihevc_inter_pred_chroma_vert_w16out.s 43libhevcd_srcs_asm_arm64 += common/arm64/ihevc_inter_pred_chroma_vert_w16inp.s 44libhevcd_srcs_asm_arm64 += common/arm64/ihevc_inter_pred_chroma_vert_w16inp_w16out.s 45libhevcd_srcs_asm_arm64 += common/arm64/ihevc_inter_pred_filters_luma_vert_w16inp.s 46libhevcd_srcs_asm_arm64 += common/arm64/ihevc_inter_pred_filters_luma_vert_w16out.s 47libhevcd_srcs_asm_arm64 += common/arm64/ihevc_inter_pred_luma_vert_w16inp_w16out.s 48libhevcd_srcs_asm_arm64 += common/arm64/ihevc_inter_pred_luma_copy_w16out.s 49libhevcd_srcs_asm_arm64 += common/arm64/ihevc_inter_pred_luma_copy.s 50libhevcd_srcs_asm_arm64 += common/arm64/ihevc_inter_pred_chroma_copy.s 51libhevcd_srcs_asm_arm64 += common/arm64/ihevc_inter_pred_chroma_copy_w16out.s 52libhevcd_srcs_asm_arm64 += common/arm64/ihevc_itrans_recon_4x4_ttype1.s 53libhevcd_srcs_asm_arm64 += common/arm64/ihevc_itrans_recon_4x4.s 54libhevcd_srcs_asm_arm64 += common/arm64/ihevc_itrans_recon_8x8.s 55libhevcd_srcs_asm_arm64 += common/arm64/ihevc_itrans_recon_16x16.s 56libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_chroma_planar.s 57libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_chroma_dc.s 58libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_chroma_horz.s 59libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_chroma_ver.s 60libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_chroma_mode2.s 61libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_chroma_mode_18_34.s 62libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_filters_chroma_mode_11_to_17.s 63libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_filters_chroma_mode_19_to_25.s 64libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_chroma_mode_3_to_9.s 65libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_chroma_mode_27_to_33.s 66libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_luma_planar.s 67libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_luma_horz.s 68libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_luma_mode2.s 69libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_luma_mode_27_to_33.s 70libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_luma_mode_18_34.s 71libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_luma_vert.s 72libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_luma_dc.s 73libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_filters_luma_mode_11_to_17.s 74libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_filters_luma_mode_19_to_25.s 75libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_luma_mode_3_to_9.s 76libhevcd_srcs_asm_arm64 += common/arm64/ihevc_padding.s 77 78 79 80libhevcd_srcs_asm_arm64 += decoder/arm64/ihevcd_itrans_recon_dc_luma.s 81libhevcd_srcs_asm_arm64 += decoder/arm64/ihevcd_itrans_recon_dc_chroma.s 82libhevcd_srcs_asm_arm64 += decoder/arm64/ihevcd_fmt_conv_420sp_to_420p.s 83libhevcd_srcs_asm_arm64 += decoder/arm64/ihevcd_fmt_conv_420sp_to_420sp.s 84libhevcd_srcs_asm_arm64 += decoder/arm64/ihevcd_fmt_conv_420sp_to_rgba8888.s 85 86libhevcd_cflags_arm64 += -DDEFAULT_ARCH=D_ARCH_ARMV8_GENERIC 87 88 89 90 91LOCAL_SRC_FILES_arm64 += $(libhevcd_srcs_c_arm64) $(libhevcd_srcs_asm_arm64) 92LOCAL_C_INCLUDES_arm64 += $(libhevcd_inc_dir_arm64) 93LOCAL_CFLAGS_arm64 += $(libhevcd_cflags_arm64) 94 95# Clang doesn't pass -I flags to the assembler when building a .s file. 96# We need to tell it to pass them to the assembler specifically (doesn't hurt 97# with gcc either, and may actually help future gcc versions if they decide 98# to start making a difference between assembly and C includes). 99comma := , 100LOCAL_ASFLAGS_arm64 += $(addprefix -Wa$(comma)-I,$(libhevcd_inc_dir_arm64)) 101