Commit 161d777c authored by kabi's avatar kabi

* quick fix for bit exact setting

  (FIXME - add this into context flags)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1200 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 1ce2ebfe
...@@ -1792,6 +1792,12 @@ void dsputil_init(DSPContext* c, unsigned mask) ...@@ -1792,6 +1792,12 @@ void dsputil_init(DSPContext* c, unsigned mask)
#ifdef HAVE_MMX #ifdef HAVE_MMX
dsputil_init_mmx(c, mask); 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 #endif
#ifdef ARCH_ARMV4L #ifdef ARCH_ARMV4L
dsputil_init_armv4l(c, mask); dsputil_init_armv4l(c, mask);
...@@ -1817,7 +1823,7 @@ void avcodec_set_bit_exact(void) ...@@ -1817,7 +1823,7 @@ void avcodec_set_bit_exact(void)
{ {
ff_bit_exact=1; ff_bit_exact=1;
#ifdef HAVE_MMX #ifdef HAVE_MMX
#warning FIXME - set_bit_exact // FIXME - better set_bit_exact
// dsputil_set_bit_exact_mmx(); // dsputil_set_bit_exact_mmx();
#endif #endif
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment