Mercurial > libavcodec.hg
changeset 3712:f7f75f718efb libavcodec
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.
author | aurel |
---|---|
date | Tue, 12 Sep 2006 20:58:17 +0000 |
parents | 4a5536551692 |
children | 8b0992252432 |
files | i386/dsputil_mmx.c |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/i386/dsputil_mmx.c Tue Sep 12 04:35:11 2006 +0000 +++ b/i386/dsputil_mmx.c Tue Sep 12 20:58:17 2006 +0000 @@ -3053,8 +3053,8 @@ 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 @@ 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