The following defines aren't referenced anywhere in the code base: _LIB MULTICORE APPLY_CONCEALMENT THREAD_QUAD_CORE DISABLE_NEONINTR ARMGCC The DEFAULT_ARCH define isn't used within the encoder at all. The ANDROID define isn't referenced anywhere either, and if necessary, the automatically enabled define __ANDROID__ can be used instead. The defines INSERT_LOGO and LOGO_EN were undefined in the makefiles, but that is unnecessary since nothing actually defines them. The decoder x86_64 makefile also undefined LOGO_EN; an architecture specific makefile shouldn't touch such feature settings, otherwise there's a risk that different builds for different architectures behave significantly differently. Change-Id: I13b86c8bf2feb3a381d904a13f18c3b35f40a575
37 lines
1.7 KiB
Makefile
37 lines
1.7 KiB
Makefile
libavce_cflags_x86 += -DX86 -DDISABLE_AVX2 -m32 -msse4.2 -mno-avx
|
|
|
|
libavce_inc_dir_x86 += $(LOCAL_PATH)/encoder/x86
|
|
libavce_inc_dir_x86 += $(LOCAL_PATH)/common/x86
|
|
|
|
libavce_srcs_c_x86 += encoder/x86/ih264e_function_selector.c
|
|
libavce_srcs_c_x86 += encoder/x86/ih264e_function_selector_sse42.c
|
|
libavce_srcs_c_x86 += encoder/x86/ih264e_function_selector_ssse3.c
|
|
|
|
libavce_srcs_c_x86 += common/x86/ih264_iquant_itrans_recon_ssse3.c
|
|
libavce_srcs_c_x86 += common/x86/ih264_iquant_itrans_recon_dc_ssse3.c
|
|
libavce_srcs_c_x86 += common/x86/ih264_ihadamard_scaling_ssse3.c
|
|
libavce_srcs_c_x86 += common/x86/ih264_inter_pred_filters_ssse3.c
|
|
libavce_srcs_c_x86 += common/x86/ih264_mem_fns_ssse3.c
|
|
libavce_srcs_c_x86 += common/x86/ih264_padding_ssse3.c
|
|
libavce_srcs_c_x86 += common/x86/ih264_luma_intra_pred_filters_ssse3.c
|
|
libavce_srcs_c_x86 += common/x86/ih264_chroma_intra_pred_filters_ssse3.c
|
|
libavce_srcs_c_x86 += common/x86/ih264_deblk_chroma_ssse3.c
|
|
libavce_srcs_c_x86 += common/x86/ih264_deblk_luma_ssse3.c
|
|
libavce_srcs_c_x86 += common/x86/ih264_iquant_itrans_recon_sse42.c
|
|
libavce_srcs_c_x86 += common/x86/ih264_ihadamard_scaling_sse42.c
|
|
libavce_srcs_c_x86 += common/x86/ih264_resi_trans_quant_sse42.c
|
|
libavce_srcs_c_x86 += common/x86/ih264_weighted_pred_sse42.c
|
|
|
|
libavce_srcs_c_x86 += encoder/x86/ih264e_half_pel_ssse3.c
|
|
libavce_srcs_c_x86 += encoder/x86/ih264e_intra_modes_eval_ssse3.c
|
|
libavce_srcs_c_x86 += encoder/x86/ime_distortion_metrics_sse42.c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES_x86 += $(libavce_srcs_c_x86) $(libavce_srcs_asm_x86)
|
|
LOCAL_C_INCLUDES_x86 += $(libavce_inc_dir_x86)
|
|
LOCAL_CFLAGS_x86 += $(libavce_cflags_x86)
|
|
|