aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/tests
diff options
context:
space:
mode:
authorJames Darnley <jdarnley@obe.tv>2017-06-02 15:20:19 +0200
committerJames Darnley <jdarnley@obe.tv>2017-06-28 17:27:35 +0200
commitd7246ea9f229db64ed909d7446196128d6f53de0 (patch)
tree62bf59089de984c19802bac0daf9b3dfb52230ff /libavcodec/tests
parent8b19467d07d5782b4140f61363f24361efb87ff6 (diff)
downloadffmpeg-d7246ea9f229db64ed909d7446196128d6f53de0.tar.gz
avcodec/x86: add an 8-bit simple IDCT function based on the x86-64 high depth functions
Includes add/put functions Rounding contributed by Ronald S. Bultje
Diffstat (limited to 'libavcodec/tests')
-rw-r--r--libavcodec/tests/x86/dct.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/tests/x86/dct.c b/libavcodec/tests/x86/dct.c
index 5a25135c9c..afb03b194b 100644
--- a/libavcodec/tests/x86/dct.c
+++ b/libavcodec/tests/x86/dct.c
@@ -88,10 +88,12 @@ static const struct algo idct_tab_arch[] = {
#if HAVE_X86ASM
#if ARCH_X86_64
#if HAVE_SSE2_EXTERNAL
+ { "SIMPLE8-SSE2", ff_simple_idct8_sse2, FF_IDCT_PERM_TRANSPOSE, AV_CPU_FLAG_SSE2},
{ "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
+ { "SIMPLE8-AVX", ff_simple_idct8_avx, FF_IDCT_PERM_TRANSPOSE, AV_CPU_FLAG_AVX},
{ "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