summaryrefslogtreecommitdiffstats
path: root/libavcodec/i386/dsputil_mmx.c
diff options
context:
space:
mode:
authorDavid Conrad <lessen42@gmail.com>2008-09-17 19:30:03 +0000
committerDavid Conrad <lessen42@gmail.com>2008-09-17 19:30:03 +0000
commitccd3ec82b836d727e390317a8895e41f75d48d79 (patch)
treeb3c27db40c52640f0197bd6877c2b4b6c0f3c7c6 /libavcodec/i386/dsputil_mmx.c
parent7f065b36c8c5ca837ac5f2d15b0b736c4a4b721c (diff)
downloadffmpeg-streaming-ccd3ec82b836d727e390317a8895e41f75d48d79.zip
ffmpeg-streaming-ccd3ec82b836d727e390317a8895e41f75d48d79.tar.gz
MMX/SSE2 VP3 IDCT are bitexact now that the dequantization matrices are permutated correctly
Originally committed as revision 15345 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386/dsputil_mmx.c')
-rw-r--r--libavcodec/i386/dsputil_mmx.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/i386/dsputil_mmx.c b/libavcodec/i386/dsputil_mmx.c
index 7dbb6a3..1ee9a2e 100644
--- a/libavcodec/i386/dsputil_mmx.c
+++ b/libavcodec/i386/dsputil_mmx.c
@@ -2528,9 +2528,7 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx)
c->idct_permutation_type= FF_LIBMPEG2_IDCT_PERM;
#endif
}else if((ENABLE_VP3_DECODER || ENABLE_VP5_DECODER || ENABLE_VP6_DECODER) &&
- idct_algo==FF_IDCT_VP3 &&
- avctx->codec->id!=CODEC_ID_THEORA &&
- !(avctx->flags & CODEC_FLAG_BITEXACT)){
+ idct_algo==FF_IDCT_VP3){
if(mm_flags & MM_SSE2){
c->idct_put= ff_vp3_idct_put_sse2;
c->idct_add= ff_vp3_idct_add_sse2;
OpenPOWER on IntegriCloud