changeset 858:43cf04688a38 libavcodec

* quick fix for bit exact setting (FIXME - add this into context flags)
author kabi
date Mon, 11 Nov 2002 21:44:27 +0000
parents b510a7b6decd
children 9512471dec40
files dsputil.c
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dsputil.c	Mon Nov 11 16:17:25 2002 +0000
+++ b/dsputil.c	Mon Nov 11 21:44:27 2002 +0000
@@ -1792,6 +1792,12 @@
 
 #ifdef HAVE_MMX
     dsputil_init_mmx(c, mask);
+    if (ff_bit_exact)
+    {
+        /* FIXME - AVCodec context should have flag for bitexact match */
+	/* fprintf(stderr, "\n\n\nff_bit_exact %d\n\n\n\n", ff_bit_exact); */
+	dsputil_set_bit_exact_mmx(c, mask);
+    }
 #endif
 #ifdef ARCH_ARMV4L
     dsputil_init_armv4l(c, mask);
@@ -1817,7 +1823,7 @@
 {
     ff_bit_exact=1;
 #ifdef HAVE_MMX
-#warning FIXME - set_bit_exact
+// FIXME - better set_bit_exact
 //    dsputil_set_bit_exact_mmx();
 #endif
 }