Commit 3a67e431 authored by aurel's avatar aurel

Enables back the mmx/sse optimized version of the vp3 idct.

It generates different md5sum than the reference C implementation,
but no visual difference, so enabled only when bitexact is not set.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6241 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 1f6bba4e
......@@ -3053,8 +3053,8 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx)
c->idct = ff_mmx_idct;
}
c->idct_permutation_type= FF_LIBMPEG2_IDCT_PERM;
#if 0
}else if(idct_algo==FF_IDCT_VP3){
}else if(idct_algo==FF_IDCT_VP3 &&
!(avctx->flags & CODEC_FLAG_BITEXACT)){
if(mm_flags & MM_SSE2){
c->idct_put= ff_vp3_idct_put_sse2;
c->idct_add= ff_vp3_idct_add_sse2;
......@@ -3067,7 +3067,6 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx)
c->idct = ff_vp3_idct_mmx;
c->idct_permutation_type= FF_PARTTRANS_IDCT_PERM;
}
#endif
}else if(idct_algo==FF_IDCT_CAVS){
c->idct_permutation_type= FF_TRANSPOSE_IDCT_PERM;
#ifdef CONFIG_GPL
......
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