diff options
author | Mike Melanson <mike@multimedia.cx> | 2004-04-26 00:20:29 +0000 |
---|---|---|
committer | Mike Melanson <mike@multimedia.cx> | 2004-04-26 00:20:29 +0000 |
commit | 116824d0aa1c416c3fb0f2c39d339fc00ae251f3 (patch) | |
tree | 0d062e4045aee066c0003234e1d4b716ad1b2c83 /libavcodec/i386/dsputil_mmx.c | |
parent | 4ea4b274697767abddda3c425ba4bb43dfdee52f (diff) | |
download | ffmpeg-116824d0aa1c416c3fb0f2c39d339fc00ae251f3.tar.gz |
reorganize and simplify the VP3 IDCT stuff
Originally committed as revision 3071 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386/dsputil_mmx.c')
-rw-r--r-- | libavcodec/i386/dsputil_mmx.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libavcodec/i386/dsputil_mmx.c b/libavcodec/i386/dsputil_mmx.c index 772c9c1f03..61bfc89ac5 100644 --- a/libavcodec/i386/dsputil_mmx.c +++ b/libavcodec/i386/dsputil_mmx.c @@ -2149,14 +2149,12 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx) /* VP3 optimized DSP functions */ if (mm_flags & MM_SSE2) { c->vp3_dsp_init = vp3_dsp_init_sse2; - c->vp3_idct_put = vp3_idct_put_sse2; - c->vp3_idct_add = vp3_idct_add_sse2; + c->vp3_idct = vp3_idct_sse2; } else { c->vp3_dsp_init = vp3_dsp_init_mmx; - c->vp3_idct_put = vp3_idct_put_mmx; - c->vp3_idct_add = vp3_idct_add_mmx; + c->vp3_idct = vp3_idct_mmx; } - + #ifdef CONFIG_ENCODERS c->get_pixels = get_pixels_mmx; c->diff_pixels = diff_pixels_mmx; |