diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-05-17 18:28:40 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-05-17 18:28:40 +0000 |
commit | 5773a746695f445805291d3aa74fa82e948825f2 (patch) | |
tree | bf6e047b35fb787f204dcaafe848ad190d5bf68f /libavcodec/dsputil.c | |
parent | 1482fee88d0df2ff1f991725c87221f13b0b1c04 (diff) | |
download | ffmpeg-5773a746695f445805291d3aa74fa82e948825f2.tar.gz |
porting the mmx&sse2 (sse2 untested) vp3 idcts to the lavc idct API
Originally committed as revision 4260 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.c')
-rw-r--r-- | libavcodec/dsputil.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c index 5505dff78e..601413cf3e 100644 --- a/libavcodec/dsputil.c +++ b/libavcodec/dsputil.c @@ -3885,6 +3885,10 @@ void dsputil_init(DSPContext* c, AVCodecContext *avctx) for(i=0; i<64; i++) c->idct_permutation[i]= ((i&7)<<3) | (i>>3); break; + case FF_PARTTRANS_IDCT_PERM: + for(i=0; i<64; i++) + c->idct_permutation[i]= (i&0x24) | ((i&3)<<3) | ((i>>3)&3); + break; default: av_log(avctx, AV_LOG_ERROR, "Internal error, IDCT permutation not set\n"); } |