Harish Mahendrakar | 0d8951c | 2014-05-16 10:31:13 -0700 | [diff] [blame] | 1 | libhevcd_cflags_arm64 += -DARMV8 |
| 2 | libhevcd_cflags_arm64 += -DDISABLE_NEONINTR -DARM -DARMGCC |
| 3 | |
| 4 | libhevcd_inc_dir_arm64 += $(LOCAL_PATH)/decoder/arm |
| 5 | libhevcd_inc_dir_arm64 += $(LOCAL_PATH)/common/arm |
| 6 | libhevcd_inc_dir_arm64 += $(LOCAL_PATH)/decoder/arm64 |
| 7 | libhevcd_inc_dir_arm64 += $(LOCAL_PATH)/common/arm64 |
| 8 | |
| 9 | libhevcd_srcs_c_arm64 += decoder/arm/ihevcd_function_selector.c |
| 10 | libhevcd_srcs_c_arm64 += decoder/arm/ihevcd_function_selector_noneon.c |
| 11 | |
Harish Mahendrakar | 0d8951c | 2014-05-16 10:31:13 -0700 | [diff] [blame] | 12 | libhevcd_srcs_c_arm64 += decoder/arm64/ihevcd_function_selector_av8.c |
| 13 | |
| 14 | libhevcd_srcs_c_arm64 += common/arm/ihevc_intra_pred_filters_neon_intr.c |
| 15 | libhevcd_srcs_c_arm64 += common/arm/ihevc_weighted_pred_neon_intr.c |
| 16 | |
| 17 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_mem_fns.s |
| 18 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_itrans_recon_32x32.s |
| 19 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_weighted_pred_bi_default.s |
| 20 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_weighted_pred_bi.s |
| 21 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_weighted_pred_uni.s |
| 22 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_deblk_luma_horz.s |
| 23 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_deblk_luma_vert.s |
| 24 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_deblk_chroma_vert.s |
| 25 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_deblk_chroma_horz.s |
| 26 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_sao_band_offset_luma.s |
| 27 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_sao_band_offset_chroma.s |
| 28 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_sao_edge_offset_class0.s |
| 29 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_sao_edge_offset_class0_chroma.s |
| 30 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_sao_edge_offset_class1.s |
| 31 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_sao_edge_offset_class1_chroma.s |
| 32 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_sao_edge_offset_class2.s |
| 33 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_sao_edge_offset_class2_chroma.s |
| 34 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_sao_edge_offset_class3.s |
| 35 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_sao_edge_offset_class3_chroma.s |
| 36 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_inter_pred_luma_horz_w16out.s |
| 37 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_inter_pred_filters_luma_horz.s |
| 38 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_inter_pred_filters_luma_vert.s |
| 39 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_inter_pred_chroma_horz.s |
| 40 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_inter_pred_chroma_horz_w16out.s |
| 41 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_inter_pred_chroma_vert.s |
| 42 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_inter_pred_chroma_vert_w16out.s |
| 43 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_inter_pred_chroma_vert_w16inp.s |
| 44 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_inter_pred_chroma_vert_w16inp_w16out.s |
| 45 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_inter_pred_filters_luma_vert_w16inp.s |
| 46 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_inter_pred_filters_luma_vert_w16out.s |
| 47 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_inter_pred_luma_vert_w16inp_w16out.s |
| 48 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_inter_pred_luma_copy_w16out.s |
| 49 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_inter_pred_luma_copy.s |
| 50 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_inter_pred_chroma_copy.s |
| 51 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_inter_pred_chroma_copy_w16out.s |
| 52 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_itrans_recon_4x4_ttype1.s |
| 53 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_itrans_recon_4x4.s |
| 54 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_itrans_recon_8x8.s |
| 55 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_itrans_recon_16x16.s |
| 56 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_chroma_planar.s |
| 57 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_chroma_dc.s |
| 58 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_chroma_horz.s |
| 59 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_chroma_ver.s |
| 60 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_chroma_mode2.s |
| 61 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_chroma_mode_18_34.s |
| 62 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_filters_chroma_mode_11_to_17.s |
| 63 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_filters_chroma_mode_19_to_25.s |
| 64 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_chroma_mode_3_to_9.s |
| 65 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_chroma_mode_27_to_33.s |
| 66 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_luma_planar.s |
| 67 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_luma_horz.s |
| 68 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_luma_mode2.s |
| 69 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_luma_mode_27_to_33.s |
| 70 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_luma_mode_18_34.s |
| 71 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_luma_vert.s |
| 72 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_luma_dc.s |
| 73 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_filters_luma_mode_11_to_17.s |
| 74 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_filters_luma_mode_19_to_25.s |
| 75 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_intra_pred_luma_mode_3_to_9.s |
| 76 | libhevcd_srcs_asm_arm64 += common/arm64/ihevc_padding.s |
| 77 | |
| 78 | |
| 79 | |
| 80 | libhevcd_srcs_asm_arm64 += decoder/arm64/ihevcd_itrans_recon_dc_luma.s |
| 81 | libhevcd_srcs_asm_arm64 += decoder/arm64/ihevcd_itrans_recon_dc_chroma.s |
| 82 | libhevcd_srcs_asm_arm64 += decoder/arm64/ihevcd_fmt_conv_420sp_to_420p.s |
| 83 | libhevcd_srcs_asm_arm64 += decoder/arm64/ihevcd_fmt_conv_420sp_to_420sp.s |
| 84 | libhevcd_srcs_asm_arm64 += decoder/arm64/ihevcd_fmt_conv_420sp_to_rgba8888.s |
| 85 | |
Greg Hackmann | a90d9a9 | 2014-08-09 12:07:32 -0700 | [diff] [blame] | 86 | libhevcd_cflags_arm64 += -DDEFAULT_ARCH=D_ARCH_ARMV8_GENERIC |
Harish Mahendrakar | 0d8951c | 2014-05-16 10:31:13 -0700 | [diff] [blame] | 87 | |
| 88 | |
| 89 | |
| 90 | |
| 91 | LOCAL_SRC_FILES_arm64 += $(libhevcd_srcs_c_arm64) $(libhevcd_srcs_asm_arm64) |
| 92 | LOCAL_C_INCLUDES_arm64 += $(libhevcd_inc_dir_arm64) |
| 93 | LOCAL_CFLAGS_arm64 += $(libhevcd_cflags_arm64) |
Bernhard Rosenkränzer | d91eedb | 2014-11-25 19:18:50 +0100 | [diff] [blame] | 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). |
| 99 | comma := , |
| 100 | LOCAL_ASFLAGS_arm64 += $(addprefix -Wa$(comma)-I,$(libhevcd_inc_dir_arm64)) |