[FFmpeg-devel] [PATCH 8/9] x86: dct-test: add 10 bits versions.
Christophe Gisquet
christophe.gisquet at gmail.com
Fri Oct 9 23:53:45 CEST 2015
---
libavcodec/x86/dct-test.c | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/libavcodec/x86/dct-test.c b/libavcodec/x86/dct-test.c
index 692c23b..22a3ecf 100644
--- a/libavcodec/x86/dct-test.c
+++ b/libavcodec/x86/dct-test.c
@@ -89,7 +89,18 @@ static const struct algo idct_tab_arch8[] = {
};
static const struct algo fdct_tab_arch10[] = { { 0 } };
-static const struct algo idct_tab_arch10[] = { { 0 } };
+
+static const struct algo idct_tab_arch10[] = {
+#if HAVE_YASM
+#if HAVE_SSE2_EXTERNAL
+ { "SIMPLE10-SSE2", ff_simple_idct10_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, 1 },
+#endif
+#endif
+ { 0 }
+};
static const struct algo fdct_tab_arch12[] = { { 0 } };
static const struct algo idct_tab_arch12[] = { { 0 } };
--
2.6.0
More information about the ffmpeg-devel
mailing list