aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/constants.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2015-02-04 20:23:19 -0300
committerJames Almer <jamrial@gmail.com>2015-02-05 15:02:33 -0300
commit15574c505b81d6e92370096eaca6764c13b5fbfc (patch)
tree224fce351260fb2a9fd6e1a656d6245998b26caf /libavcodec/x86/constants.h
parent042c1159fcf8431725c718a504b1fb40364bf434 (diff)
downloadffmpeg-15574c505b81d6e92370096eaca6764c13b5fbfc.tar.gz
x86/hevcdsp: add ff_hevc_sao_edge_filter_{10,12}_{sse2,avx2}
Original x86 intrinsics code by Pierre-Edouard Lepere. Yasm port, refactoring and optimizations by James Almer. Benchmarks of BQTerrace_1920x1080_60_qp22.bin with an Intel Core i5-4200U Width 32 342694 decicycles in sao_edge_filter_10, 16384 runs, 0 skips 29476 decicycles in ff_hevc_sao_edge_filter_32_10_ssse3, 16384 runs, 0 skips 13996 decicycles in ff_hevc_sao_edge_filter_32_10_avx2, 16381 runs, 3 skips Width 64 581163 decicycles in sao_edge_filter_10, 8192 runs, 0 skips 59774 decicycles in ff_hevc_sao_edge_filter_64_10_ssse3, 8192 runs, 0 skips 28383 decicycles in ff_hevc_sao_edge_filter_64_10_avx2, 8191 runs, 1 skips Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/x86/constants.h')
-rw-r--r--libavcodec/x86/constants.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/x86/constants.h b/libavcodec/x86/constants.h
index 1c24dda3a7..094dd42564 100644
--- a/libavcodec/x86/constants.h
+++ b/libavcodec/x86/constants.h
@@ -25,8 +25,8 @@
#include "libavutil/x86/asm.h"
-extern const xmm_reg ff_pw_1;
-extern const xmm_reg ff_pw_2;
+extern const ymm_reg ff_pw_1;
+extern const ymm_reg ff_pw_2;
extern const xmm_reg ff_pw_3;
extern const xmm_reg ff_pw_4;
extern const xmm_reg ff_pw_5;
@@ -47,7 +47,7 @@ extern const xmm_reg ff_pw_512;
extern const xmm_reg ff_pw_1024;
extern const xmm_reg ff_pw_2048;
extern const xmm_reg ff_pw_8192;
-extern const xmm_reg ff_pw_m1;
+extern const ymm_reg ff_pw_m1;
extern const ymm_reg ff_pb_1;
extern const ymm_reg ff_pb_3;