Mercurial > libavcodec.hg
comparison i386/dsputil_mmx.c @ 3721:2000e401593d libavcodec
disable vp3 mmx idct for theora files to avoid artifacts
(see theora-a4_v6-k250-s0_2.ogg)
author | aurel |
---|---|
date | Thu, 14 Sep 2006 22:13:23 +0000 |
parents | ea9fe1c9d126 |
children | 20545fbb6f7c |
comparison
equal
deleted
inserted
replaced
3720:c52a1096385e | 3721:2000e401593d |
---|---|
3054 c->idct = ff_mmx_idct; | 3054 c->idct = ff_mmx_idct; |
3055 } | 3055 } |
3056 c->idct_permutation_type= FF_LIBMPEG2_IDCT_PERM; | 3056 c->idct_permutation_type= FF_LIBMPEG2_IDCT_PERM; |
3057 #endif | 3057 #endif |
3058 }else if(idct_algo==FF_IDCT_VP3 && | 3058 }else if(idct_algo==FF_IDCT_VP3 && |
3059 avctx->codec->id!=CODEC_ID_THEORA && | |
3059 !(avctx->flags & CODEC_FLAG_BITEXACT)){ | 3060 !(avctx->flags & CODEC_FLAG_BITEXACT)){ |
3060 if(mm_flags & MM_SSE2){ | 3061 if(mm_flags & MM_SSE2){ |
3061 c->idct_put= ff_vp3_idct_put_sse2; | 3062 c->idct_put= ff_vp3_idct_put_sse2; |
3062 c->idct_add= ff_vp3_idct_add_sse2; | 3063 c->idct_add= ff_vp3_idct_add_sse2; |
3063 c->idct = ff_vp3_idct_sse2; | 3064 c->idct = ff_vp3_idct_sse2; |