Hamsalekha S | 8d3d303 | 2015-03-13 21:24:58 +0530 | [diff] [blame] | 1 | libavcd_cflags_arm64 += -DARMV8 |
Martin Storsjo | 29fe0e2 | 2015-05-20 10:00:45 +0300 | [diff] [blame] | 2 | libavcd_cflags_arm64 += -DARM |
Hamsalekha S | 8d3d303 | 2015-03-13 21:24:58 +0530 | [diff] [blame] | 3 | |
| 4 | libavcd_inc_dir_arm64 += $(LOCAL_PATH)/decoder/arm |
| 5 | libavcd_inc_dir_arm64 += $(LOCAL_PATH)/common/armv8 |
| 6 | |
| 7 | libavcd_srcs_c_arm64 += decoder/arm/ih264d_function_selector.c |
| 8 | |
| 9 | ifeq ($(ARCH_ARM_HAVE_NEON),true) |
| 10 | libavcd_srcs_c_arm64 += decoder/arm/ih264d_function_selector_av8.c |
| 11 | |
| 12 | libavcd_srcs_asm_arm64 += common/armv8/ih264_intra_pred_chroma_av8.s |
| 13 | libavcd_srcs_asm_arm64 += common/armv8/ih264_intra_pred_luma_16x16_av8.s |
| 14 | libavcd_srcs_asm_arm64 += common/armv8/ih264_intra_pred_luma_4x4_av8.s |
| 15 | libavcd_srcs_asm_arm64 += common/armv8/ih264_inter_pred_chroma_av8.s |
| 16 | libavcd_srcs_asm_arm64 += common/armv8/ih264_inter_pred_filters_luma_horz_av8.s |
| 17 | libavcd_srcs_asm_arm64 += common/armv8/ih264_inter_pred_filters_luma_vert_av8.s |
| 18 | libavcd_srcs_asm_arm64 += common/armv8/ih264_inter_pred_luma_copy_av8.s |
| 19 | libavcd_srcs_asm_arm64 += common/armv8/ih264_inter_pred_luma_horz_qpel_av8.s |
| 20 | libavcd_srcs_asm_arm64 += common/armv8/ih264_inter_pred_luma_vert_qpel_av8.s |
| 21 | libavcd_srcs_asm_arm64 += common/armv8/ih264_inter_pred_luma_horz_hpel_vert_hpel_av8.s |
| 22 | libavcd_srcs_asm_arm64 += common/armv8/ih264_inter_pred_luma_horz_qpel_vert_qpel_av8.s |
| 23 | libavcd_srcs_asm_arm64 += common/armv8/ih264_inter_pred_luma_horz_qpel_vert_hpel_av8.s |
| 24 | libavcd_srcs_asm_arm64 += common/armv8/ih264_inter_pred_luma_horz_hpel_vert_qpel_av8.s |
| 25 | libavcd_srcs_asm_arm64 += common/armv8/ih264_default_weighted_pred_av8.s |
| 26 | libavcd_srcs_asm_arm64 += common/armv8/ih264_weighted_pred_av8.s |
| 27 | libavcd_srcs_asm_arm64 += common/armv8/ih264_weighted_bi_pred_av8.s |
| 28 | libavcd_srcs_asm_arm64 += common/armv8/ih264_deblk_chroma_av8.s |
| 29 | libavcd_srcs_asm_arm64 += common/armv8/ih264_deblk_luma_av8.s |
| 30 | libavcd_srcs_asm_arm64 += common/armv8/ih264_padding_neon_av8.s |
| 31 | libavcd_srcs_asm_arm64 += common/armv8/ih264_iquant_itrans_recon_av8.s |
| 32 | libavcd_srcs_asm_arm64 += common/armv8/ih264_iquant_itrans_recon_dc_av8.s |
| 33 | libavcd_srcs_asm_arm64 += common/armv8/ih264_ihadamard_scaling_av8.s |
| 34 | libavcd_srcs_asm_arm64 += common/armv8/ih264_intra_pred_luma_8x8_av8.s |
| 35 | |
Martin Storsjo | 4691c4b | 2015-05-19 14:47:33 +0300 | [diff] [blame] | 36 | libavcd_cflags_arm64 += -DDEFAULT_ARCH=D_ARCH_ARMV8_GENERIC |
Hamsalekha S | 8d3d303 | 2015-03-13 21:24:58 +0530 | [diff] [blame] | 37 | else |
| 38 | libavcd_cflags_arm64 += -DDISABLE_NEON -DDEFAULT_ARCH=D_ARCH_ARM_NONEON |
| 39 | endif |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | LOCAL_SRC_FILES_arm64 += $(libavcd_srcs_c_arm64) $(libavcd_srcs_asm_arm64) |
| 45 | LOCAL_C_INCLUDES_arm64 += $(libavcd_inc_dir_arm64) |
| 46 | LOCAL_CFLAGS_arm64 += $(libavcd_cflags_arm64) |
Lajos Molnar | fab9a81 | 2015-04-16 18:47:11 -0700 | [diff] [blame] | 47 | |
| 48 | # CLANG WORKAROUNDS |
Lajos Molnar | fab9a81 | 2015-04-16 18:47:11 -0700 | [diff] [blame] | 49 | LOCAL_CLANG_ASFLAGS_arm64 += $(addprefix -Wa$(comma)-I,$(libavcd_inc_dir_arm64)) |