summaryrefslogtreecommitdiffstats
path: root/encoder.arm64.mk
diff options
context:
space:
mode:
authorHamsalekha S <hamsalekha.s@ittiam.com>2015-03-13 15:54:58 (GMT)
committerHamsalekha S <hamsalekha.s@ittiam.com>2015-04-02 10:29:02 (GMT)
commit8d3d303c7942ced6a987a52db8977d768dc3605f (patch)
treecc806c96794356996b13ba9970941d0aed74a97e /encoder.arm64.mk
parent3956d913d37327dcb340f836e604b04bd478b158 (diff)
downloadandroid_external_libavc-8d3d303c7942ced6a987a52db8977d768dc3605f.zip
android_external_libavc-8d3d303c7942ced6a987a52db8977d768dc3605f.tar.gz
android_external_libavc-8d3d303c7942ced6a987a52db8977d768dc3605f.tar.bz2
Initial version
Change-Id: I7efe9a589cd24edf86e8d086b40c27cbbf8b4017
Diffstat (limited to 'encoder.arm64.mk')
-rwxr-xr-xencoder.arm64.mk48
1 files changed, 48 insertions, 0 deletions
diff --git a/encoder.arm64.mk b/encoder.arm64.mk
new file mode 100755
index 0000000..845b481
--- /dev/null
+++ b/encoder.arm64.mk
@@ -0,0 +1,48 @@
+libavce_cflags_arm64 += -DARMV8
+libavce_cflags_arm64 += -DDISABLE_NEONINTR -DARM -DARMGCC
+
+libavce_inc_dir_arm64 += $(LOCAL_PATH)/encoder/arm
+libavce_inc_dir_arm64 += $(LOCAL_PATH)/encoder/armv8
+libavce_inc_dir_arm64 += $(LOCAL_PATH)/common/armv8
+
+libavce_srcs_c_arm64 += encoder/arm/ih264e_function_selector.c
+
+ifeq ($(ARCH_ARM_HAVE_NEON),true)
+libavce_srcs_c_arm64 += encoder/arm/ih264e_function_selector_av8.c
+
+libavce_srcs_asm_arm64 += common/armv8/ih264_resi_trans_quant_av8.s
+libavce_srcs_asm_arm64 += common/armv8/ih264_iquant_itrans_recon_av8.s
+libavce_srcs_asm_arm64 += common/armv8/ih264_iquant_itrans_recon_dc_av8.s
+libavce_srcs_asm_arm64 += common/armv8/ih264_ihadamard_scaling_av8.s
+
+libavce_srcs_asm_arm64 += common/armv8/ih264_intra_pred_chroma_av8.s
+libavce_srcs_asm_arm64 += common/armv8/ih264_intra_pred_luma_16x16_av8.s
+libavce_srcs_asm_arm64 += common/armv8/ih264_intra_pred_luma_4x4_av8.s
+libavce_srcs_asm_arm64 += common/armv8/ih264_intra_pred_luma_8x8_av8.s
+libavce_srcs_asm_arm64 += common/armv8/ih264_inter_pred_luma_copy_av8.s
+libavce_srcs_asm_arm64 += common/armv8/ih264_inter_pred_chroma_av8.s
+libavce_srcs_asm_arm64 += common/armv8/ih264_inter_pred_filters_luma_horz_av8.s
+libavce_srcs_asm_arm64 += common/armv8/ih264_inter_pred_filters_luma_vert_av8.s
+libavce_srcs_asm_arm64 += common/armv8/ih264_padding_neon_av8.s
+libavce_srcs_asm_arm64 += common/armv8/ih264_mem_fns_neon_av8.s
+libavce_srcs_asm_arm64 += common/armv8/ih264_deblk_luma_av8.s
+libavce_srcs_asm_arm64 += common/armv8/ih264_deblk_chroma_av8.s
+
+libavce_srcs_asm_arm64 += encoder/armv8/ih264e_evaluate_intra16x16_modes_av8.s
+libavce_srcs_asm_arm64 += encoder/armv8/ih264e_evaluate_intra_chroma_modes_av8.s
+libavce_srcs_asm_arm64 += encoder/armv8/ih264e_half_pel_av8.s
+
+#ME
+libavce_srcs_asm_arm64 += encoder/armv8/ime_distortion_metrics_av8.s
+
+libavce_cflags_arm += -DDEFAULT_ARCH=D_ARCH_ARMV8_GENERIC
+else
+libavce_cflags_arm64 += -DDISABLE_NEON -DDEFAULT_ARCH=D_ARCH_ARM_NONEON
+endif
+
+
+
+
+LOCAL_SRC_FILES_arm64 += $(libavce_srcs_c_arm64) $(libavce_srcs_asm_arm64)
+LOCAL_C_INCLUDES_arm64 += $(libavce_inc_dir_arm64)
+LOCAL_CFLAGS_arm64 += $(libavce_cflags_arm64)