diff options
author | Clément Bœsch <u@pkh.me> | 2014-01-14 08:09:48 +0100 |
---|---|---|
committer | Clément Bœsch <clement@stupeflix.com> | 2014-01-15 15:54:03 +0100 |
commit | 8b4190da9382434758e390370b1752583bf4ce3a (patch) | |
tree | da0db2f11156c6fabd71ea752f7203a055d78bf2 /libavcodec/x86/vp9lpf.asm | |
parent | 53e6977c07a8720cf4f785ef23686bf34b5cec57 (diff) | |
download | ffmpeg-8b4190da9382434758e390370b1752583bf4ce3a.tar.gz |
vp9/x86: add AVX for itxfm and lpf.
4412 decicycles in ff_vp9_loop_filter_h_16_16_ssse3, 4193462 runs, 842 skips
3600 decicycles in ff_vp9_loop_filter_h_16_16_avx, 4193621 runs, 683 skips
3010 decicycles in ff_vp9_loop_filter_v_16_16_ssse3, 4193528 runs, 776 skips
2678 decicycles in ff_vp9_loop_filter_v_16_16_avx, 4193742 runs, 562 skips
23025 decicycles in ff_vp9_idct_idct_32x32_add_ssse3, 2096871 runs, 281 skips
19943 decicycles in ff_vp9_idct_idct_32x32_add_avx, 2096815 runs, 337 skips
4675 decicycles in ff_vp9_idct_idct_16x16_add_ssse3, 4194018 runs, 286 skips
3980 decicycles in ff_vp9_idct_idct_16x16_add_avx, 4194022 runs, 282 skips
967 decicycles in ff_vp9_idct_idct_8x8_add_ssse3, 16776972 runs, 244 skips
887 decicycles in ff_vp9_idct_idct_8x8_add_avx, 16777002 runs, 214 skips
Diffstat (limited to 'libavcodec/x86/vp9lpf.asm')
-rw-r--r-- | libavcodec/x86/vp9lpf.asm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libavcodec/x86/vp9lpf.asm b/libavcodec/x86/vp9lpf.asm index e2dc8d9362..c5e5df9097 100644 --- a/libavcodec/x86/vp9lpf.asm +++ b/libavcodec/x86/vp9lpf.asm @@ -655,12 +655,17 @@ SECTION .text %endif %endmacro -INIT_XMM ssse3 +%macro LPF_16_16_VH 1 +INIT_XMM %1 cglobal vp9_loop_filter_v_16_16, 5,8,16, dst, stride, E, I, H, mstride, dst1, dst2 LPF_16_16 v RET cglobal vp9_loop_filter_h_16_16, 5,8,16, 256, dst, stride, E, I, H, mstride, dst1, dst2 LPF_16_16 h RET +%endmacro + +LPF_16_16_VH ssse3 +LPF_16_16_VH avx %endif ; x86-64 |