libvpx: enable runtime cpu detection feature
This commit is contained in:
parent
5e1943f3b7
commit
08c0c8dd08
2 changed files with 5 additions and 4 deletions
3
submodules/externals/build/libvpx/Android.mk
vendored
3
submodules/externals/build/libvpx/Android.mk
vendored
|
@ -213,6 +213,8 @@ ASM_FILES += \
|
|||
vpx_scale/arm/neon/vp8_vpxyv12_copysrcframe_func_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_CFLAGS += \
|
||||
|
@ -231,4 +233,3 @@ LOCAL_C_INCLUDES += \
|
|||
$(LOCAL_PATH)/vpx_codec
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
#define CONFIG_MD5 1
|
||||
#define CONFIG_DEQUANT_TOKENS 0
|
||||
#define CONFIG_DC_RECON 0
|
||||
#define CONFIG_RUNTIME_CPU_DETECT 0
|
||||
#define CONFIG_RUNTIME_CPU_DETECT 1
|
||||
#define CONFIG_POSTPROC 0
|
||||
#define CONFIG_MULTITHREAD 1
|
||||
#define CONFIG_INTERNAL_STATS 0
|
||||
|
|
Loading…
Reference in a new issue