libvpx: enable runtime cpu detection feature

This commit is contained in:
Pierre-Eric Pelloux-Prayer 2011-09-16 15:51:27 +02:00
parent 5e1943f3b7
commit 08c0c8dd08
2 changed files with 5 additions and 4 deletions

View file

@ -195,7 +195,7 @@ ASM_FILES += \
vp8/decoder/arm/armv6/dequant_dc_idct_v6.$(ASM) \ vp8/decoder/arm/armv6/dequant_dc_idct_v6.$(ASM) \
vp8/decoder/arm/armv6/dequant_idct_v6.$(ASM) \ vp8/decoder/arm/armv6/dequant_idct_v6.$(ASM) \
vp8/decoder/arm/armv6/dequantize_v6.$(ASM) vp8/decoder/arm/armv6/dequantize_v6.$(ASM)
# vpx_mem subfolder [vpx_mem.mk] # vpx_mem subfolder [vpx_mem.mk]
LOCAL_SRC_FILES += vpx_mem/vpx_mem.c LOCAL_SRC_FILES += vpx_mem/vpx_mem.c
@ -213,6 +213,8 @@ ASM_FILES += \
vpx_scale/arm/neon/vp8_vpxyv12_copysrcframe_func_neon.$(ASM) \ vpx_scale/arm/neon/vp8_vpxyv12_copysrcframe_func_neon.$(ASM) \
vpx_scale/arm/neon/vp8_vpxyv12_extendframeborders_neon.$(ASM) \ vpx_scale/arm/neon/vp8_vpxyv12_extendframeborders_neon.$(ASM) \
LOCAL_SRC_FILES += vpx_ports/arm_cpudetect.c
LOCAL_SRC_FILES += $(ASM_FILES) LOCAL_SRC_FILES += $(ASM_FILES)
LOCAL_CFLAGS += \ LOCAL_CFLAGS += \
@ -231,4 +233,3 @@ LOCAL_C_INCLUDES += \
$(LOCAL_PATH)/vpx_codec $(LOCAL_PATH)/vpx_codec
include $(BUILD_STATIC_LIBRARY) include $(BUILD_STATIC_LIBRARY)

View file

@ -1,7 +1,7 @@
/* This file automatically generated by configure. Do not edit! */ /* This file automatically generated by configure. Do not edit! */
#ifndef VPX_CONFIG_H #ifndef VPX_CONFIG_H
#define VPX_CONFIG_H #define VPX_CONFIG_H
#define RESTRICT #define RESTRICT
#define ARCH_ARM 1 #define ARCH_ARM 1
#define ARCH_MIPS 0 #define ARCH_MIPS 0
#define ARCH_X86 0 #define ARCH_X86 0
@ -49,7 +49,7 @@
#define CONFIG_MD5 1 #define CONFIG_MD5 1
#define CONFIG_DEQUANT_TOKENS 0 #define CONFIG_DEQUANT_TOKENS 0
#define CONFIG_DC_RECON 0 #define CONFIG_DC_RECON 0
#define CONFIG_RUNTIME_CPU_DETECT 0 #define CONFIG_RUNTIME_CPU_DETECT 1
#define CONFIG_POSTPROC 0 #define CONFIG_POSTPROC 0
#define CONFIG_MULTITHREAD 1 #define CONFIG_MULTITHREAD 1
#define CONFIG_INTERNAL_STATS 0 #define CONFIG_INTERNAL_STATS 0