[FFmpeg-cvslog] dct-test: arm: indicate required cpu features for optimised funcs

Mans Rullgard git at videolan.org
Sat Dec 8 13:55:35 CET 2012


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Sat Dec  1 23:08:41 2012 +0000| [c29d49c1b3c8ad15955bf0638b51ea752df5ea37] | committer: Mans Rullgard

dct-test: arm: indicate required cpu features for optimised funcs

Signed-off-by: Mans Rullgard <mans at mansr.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c29d49c1b3c8ad15955bf0638b51ea752df5ea37
---

 libavcodec/dct-test.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c
index c480aec..3ce0270 100644
--- a/libavcodec/dct-test.c
+++ b/libavcodec/dct-test.c
@@ -120,13 +120,13 @@ static const struct algo idct_tab[] = {
     { "INT-ARM",        ff_j_rev_dct_arm,      MMX_PERM },
 #endif
 #if HAVE_ARMV5TE
-    { "SIMPLE-ARMV5TE", ff_simple_idct_armv5te,NO_PERM  },
+    { "SIMPLE-ARMV5TE", ff_simple_idct_armv5te,NO_PERM,   AV_CPU_FLAG_ARMV5TE },
 #endif
 #if HAVE_ARMV6
-    { "SIMPLE-ARMV6",   ff_simple_idct_armv6,  MMX_PERM },
+    { "SIMPLE-ARMV6",   ff_simple_idct_armv6,  MMX_PERM,  AV_CPU_FLAG_ARMV6   },
 #endif
 #if HAVE_NEON
-    { "SIMPLE-NEON",    ff_simple_idct_neon,   PARTTRANS_PERM },
+    { "SIMPLE-NEON",    ff_simple_idct_neon, PARTTRANS_PERM, AV_CPU_FLAG_NEON },
 #endif
 
 #if ARCH_ALPHA



More information about the ffmpeg-cvslog mailing list