mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-04 05:57:49 +02:00
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
This commit is contained in:
parent
7f065b36c8
commit
ccd3ec82b8
@ -2528,9 +2528,7 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx)
|
|||||||
c->idct_permutation_type= FF_LIBMPEG2_IDCT_PERM;
|
c->idct_permutation_type= FF_LIBMPEG2_IDCT_PERM;
|
||||||
#endif
|
#endif
|
||||||
}else if((ENABLE_VP3_DECODER || ENABLE_VP5_DECODER || ENABLE_VP6_DECODER) &&
|
}else if((ENABLE_VP3_DECODER || ENABLE_VP5_DECODER || ENABLE_VP6_DECODER) &&
|
||||||
idct_algo==FF_IDCT_VP3 &&
|
idct_algo==FF_IDCT_VP3){
|
||||||
avctx->codec->id!=CODEC_ID_THEORA &&
|
|
||||||
!(avctx->flags & CODEC_FLAG_BITEXACT)){
|
|
||||||
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;
|
||||||
c->idct_add= ff_vp3_idct_add_sse2;
|
c->idct_add= ff_vp3_idct_add_sse2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user