libavc-mirror/decoder.x86_64.mk
Martin Storsjo b8681a4380 Remove unnecessary defines/undefines in the makefiles
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
2015-06-25 08:25:43 -07:00

29 lines
1.5 KiB
Makefile

libavcd_cflags_x86_64 += -DX86 -DDISABLE_AVX2 -m64 -msse4.2 -mno-avx -DDEFAULT_ARCH=D_ARCH_X86_SSE42
libavcd_inc_dir_x86_64 += $(LOCAL_PATH)/decoder/x86
libavcd_inc_dir_x86_64 += $(LOCAL_PATH)/common/x86
libavcd_srcs_c_x86_64 += decoder/x86/ih264d_function_selector.c
libavcd_srcs_c_x86_64 += decoder/x86/ih264d_function_selector_sse42.c
libavcd_srcs_c_x86_64 += decoder/x86/ih264d_function_selector_ssse3.c
libavcd_srcs_c_x86_64 += common/x86/ih264_inter_pred_filters_ssse3.c
libavcd_srcs_c_x86_64 += common/x86/ih264_deblk_luma_ssse3.c
libavcd_srcs_c_x86_64 += common/x86/ih264_deblk_chroma_ssse3.c
libavcd_srcs_c_x86_64 += common/x86/ih264_padding_ssse3.c
libavcd_srcs_c_x86_64 += common/x86/ih264_mem_fns_ssse3.c
libavcd_srcs_c_x86_64 += common/x86/ih264_iquant_itrans_recon_dc_ssse3.c
libavcd_srcs_c_x86_64 += common/x86/ih264_iquant_itrans_recon_ssse3.c
libavcd_srcs_c_x86_64 += common/x86/ih264_luma_intra_pred_filters_ssse3.c
libavcd_srcs_c_x86_64 += common/x86/ih264_chroma_intra_pred_filters_ssse3.c
libavcd_srcs_c_x86_64 += common/x86/ih264_iquant_itrans_recon_sse42.c
libavcd_srcs_c_x86_64 += common/x86/ih264_weighted_pred_sse42.c
libavcd_srcs_c_x86_64 += common/x86/ih264_ihadamard_scaling_sse42.c
LOCAL_SRC_FILES_x86_64 += $(libavcd_srcs_c_x86_64) $(libavcd_srcs_asm_x86_64)
LOCAL_C_INCLUDES_x86_64 += $(libavcd_inc_dir_x86_64)
LOCAL_CFLAGS_x86_64 += $(libavcd_cflags_x86_64)