1libmpeg2d_cflags_arm64 += -DARMV8 2libmpeg2d_cflags_arm64 += -DDISABLE_NEONINTR -DARM -DARMGCC 3 4libmpeg2d_inc_dir_arm64 += $(LOCAL_PATH)/decoder/arm 5libmpeg2d_inc_dir_arm64 += $(LOCAL_PATH)/common/armv8 6 7libmpeg2d_srcs_c_arm64 += decoder/arm/impeg2d_function_selector.c 8 9ifeq ($(ARCH_ARM_HAVE_NEON),true) 10libmpeg2d_srcs_c_arm64 += decoder/arm/impeg2d_function_selector_av8.c 11libmpeg2d_srcs_c_arm64 += common/arm/ideint_function_selector.c 12libmpeg2d_srcs_c_arm64 += common/arm/ideint_function_selector_av8.c 13libmpeg2d_srcs_asm_arm64 += common/armv8/icv_sad_av8.s 14libmpeg2d_srcs_asm_arm64 += common/armv8/icv_variance_av8.s 15libmpeg2d_srcs_asm_arm64 += common/armv8/ideint_spatial_filter_av8.s 16libmpeg2d_srcs_asm_arm64 += common/armv8/ideint_cac_av8.s 17 18libmpeg2d_srcs_asm_arm64 += common/armv8/impeg2_neon_macros.s 19libmpeg2d_srcs_asm_arm64 += common/armv8/impeg2_format_conv.s 20libmpeg2d_srcs_asm_arm64 += common/armv8/impeg2_idct.s 21libmpeg2d_srcs_asm_arm64 += common/armv8/impeg2_inter_pred.s 22libmpeg2d_srcs_asm_arm64 += common/armv8/impeg2_mem_func.s 23libmpeg2d_cflags_arm += -DDEFAULT_ARCH=D_ARCH_ARMV8_GENERIC 24else 25libmpeg2d_cflags_arm64 += -DDISABLE_NEON -DDEFAULT_ARCH=D_ARCH_ARM_NONEON 26endif 27 28 29 30 31LOCAL_SRC_FILES_arm64 += $(libmpeg2d_srcs_c_arm64) $(libmpeg2d_srcs_asm_arm64) 32LOCAL_C_INCLUDES_arm64 += $(libmpeg2d_inc_dir_arm64) 33LOCAL_CFLAGS_arm64 += $(libmpeg2d_cflags_arm64) 34 35# CLANG WORKAROUNDS 36LOCAL_CLANG_ASFLAGS_arm64 += -no-integrated-as 37LOCAL_CLANG_ASFLAGS_arm64 += $(addprefix -Wa$(comma)-I,$(libmpeg2d_inc_dir_arm64)) 38