Commit 5ced7b80 authored by Michael Niedermayer's avatar Michael Niedermayer

disable the vp3 mmx and sse2 idcts, their output doesnt match the c idct...

disable the vp3 mmx and sse2 idcts, their output doesnt match the c idct (tested with -f crc) and the theora spec does not allow different idcts not to mention the difference is quite vissible ...

Originally committed as revision 5788 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 86329cce
...@@ -2764,6 +2764,7 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx) ...@@ -2764,6 +2764,7 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx)
c->idct = ff_mmx_idct; c->idct = ff_mmx_idct;
} }
c->idct_permutation_type= FF_LIBMPEG2_IDCT_PERM; c->idct_permutation_type= FF_LIBMPEG2_IDCT_PERM;
#if 0
}else if(idct_algo==FF_IDCT_VP3){ }else if(idct_algo==FF_IDCT_VP3){
if(mm_flags & MM_SSE2){ if(mm_flags & MM_SSE2){
c->idct_put= ff_vp3_idct_put_sse2; c->idct_put= ff_vp3_idct_put_sse2;
...@@ -2777,6 +2778,7 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx) ...@@ -2777,6 +2778,7 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx)
c->idct = ff_vp3_idct_mmx; c->idct = ff_vp3_idct_mmx;
c->idct_permutation_type= FF_PARTTRANS_IDCT_PERM; c->idct_permutation_type= FF_PARTTRANS_IDCT_PERM;
} }
#endif
#ifdef CONFIG_GPL #ifdef CONFIG_GPL
}else if(idct_algo==FF_IDCT_XVIDMMX){ }else if(idct_algo==FF_IDCT_XVIDMMX){
if(mm_flags & MM_MMXEXT){ if(mm_flags & MM_MMXEXT){
......
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