diff options
author | Christophe Gisquet <christophe.gisquet@gmail.com> | 2015-10-12 20:37:50 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-10-13 17:03:04 +0300 |
commit | b6594a9605debcfddc049627808d5319f1df537f (patch) | |
tree | 35554b3db8dd2d253aff9df065b007792a25469b /libavcodec/x86 | |
parent | a745d1a9e4c426b847ed17cfb85764e60c1c10b0 (diff) |
x86: dct-test: add more idcts
In particular for 10 and 12 bits.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/x86')
-rw-r--r-- | libavcodec/x86/dct-test.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libavcodec/x86/dct-test.c b/libavcodec/x86/dct-test.c index 0414381e65..28ede16670 100644 --- a/libavcodec/x86/dct-test.c +++ b/libavcodec/x86/dct-test.c @@ -85,6 +85,18 @@ static const struct algo idct_tab_arch[] = { { "PR-AVX", ff_prores_idct_put_10_avx_wrap, FF_IDCT_PERM_TRANSPOSE, AV_CPU_FLAG_AVX, 1 }, # endif #endif +#if HAVE_YASM +#if ARCH_X86_64 +#if HAVE_SSE2_EXTERNAL + { "SIMPLE10-SSE2", ff_simple_idct10_sse2, FF_IDCT_PERM_TRANSPOSE, AV_CPU_FLAG_SSE2}, + { "SIMPLE12-SSE2", ff_simple_idct12_sse2, FF_IDCT_PERM_TRANSPOSE, AV_CPU_FLAG_SSE2, 1 }, +#endif +#if HAVE_AVX_EXTERNAL + { "SIMPLE10-AVX", ff_simple_idct10_avx, FF_IDCT_PERM_TRANSPOSE, AV_CPU_FLAG_AVX}, + { "SIMPLE12-AVX", ff_simple_idct12_avx, FF_IDCT_PERM_TRANSPOSE, AV_CPU_FLAG_AVX, 1 }, +#endif +#endif +#endif { 0 } }; |