diff options
author | Johann <johannkoenig@google.com> | 2014-06-16 11:10:07 -0700 |
---|---|---|
committer | Patrick Tjin <pattjin@google.com> | 2015-01-21 13:22:51 -0800 |
commit | 470ef077237c82c7ab7ba2def07241a6a1f9349c (patch) | |
tree | c14a5232940efb52ebb7cba35d5e45977cb1e3d4 /config.x86.mk | |
parent | 004e13f2a5a0cf8e2abf94af22cfcee4572313ce (diff) | |
download | android_external_libvpx-470ef077237c82c7ab7ba2def07241a6a1f9349c.tar.gz android_external_libvpx-470ef077237c82c7ab7ba2def07241a6a1f9349c.tar.bz2 android_external_libvpx-470ef077237c82c7ab7ba2def07241a6a1f9349c.zip |
Turn on libvpx x86 optimizations [DO NOT MERGE]
With yasm available we can use the assembly:
https://android-review.googlesource.com/#/c/96972/
Comparing with the VP9 video playback with C-reference software decode,
before and after these patches applied,
Performance data with 2 test clips:
Clips bit rate fps(after) fps(before)
vp9_720p_qp10to20_1510Kbps_30fps.webm 1510Kbps 30 12
vp9_720p_qp20to30_840Kbps_30fps.webm 840Kbps 30 13
(cherry-picked from afecaee6099284387688b9ce17ec3642ec4e5c1b)
Change-Id: I9c67e5ae302f923134e073f4bafb09fb1f3fe94d
Diffstat (limited to 'config.x86.mk')
-rw-r--r-- | config.x86.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config.x86.mk b/config.x86.mk index 055a793..5d604b9 100644 --- a/config.x86.mk +++ b/config.x86.mk @@ -3,7 +3,7 @@ # libvpx_codec_srcs_c_x86 # libvpx_codec_srcs_asm_x86 -libvpx_target := generic +libvpx_target := x86 libvpx_config_dir_x86 := $(LOCAL_PATH)/$(libvpx_target) libvpx_codec_srcs := $(sort $(shell cat $(libvpx_config_dir_x86)/libvpx_srcs.txt)) @@ -13,4 +13,5 @@ libvpx_codec_srcs_c_x86 := $(addprefix libvpx/, $(filter-out vpx_config.c, \ $(filter %.c, $(libvpx_codec_srcs)))) \ $(libvpx_target)/vpx_config.c -libvpx_codec_srcs_asm_x86 := $(filter %.asm.s, $(libvpx_codec_srcs)) +# X86 asm files are processed by the system and sent to yasm +libvpx_codec_srcs_c_x86 += $(addprefix libvpx/, $(filter %.asm, $(libvpx_codec_srcs))) |