aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2002-06-05 18:36:03 +0000
committerFabrice Bellard <fabrice@bellard.org>2002-06-05 18:36:03 +0000
commitad31c904b2369bd883f96cacfac9c545585b6518 (patch)
tree8d0dfd5c82ac96a752f42d9cf0011685d9053688
parentee4b748b7f0f612260e18991be4e39d266c82614 (diff)
downloadffmpeg-ad31c904b2369bd883f96cacfac9c545585b6518.tar.gz
use ff_idct_put/add()
Originally committed as revision 670 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/mpegvideo.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index ea5a980889..329cde2a4a 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -1103,8 +1103,7 @@ static inline void put_dct(MpegEncContext *s,
{
if (!s->mpeg2)
s->dct_unquantize(s, block, i, s->qscale);
- ff_idct (block);
- put_pixels_clamped(block, dest, line_size);
+ ff_idct_put (dest, line_size, block);
}
/* add block[] to dest[] */
@@ -1119,8 +1118,7 @@ static inline void add_dct(MpegEncContext *s,
if(s->encoding || (!s->h263_msmpeg4))
s->dct_unquantize(s, block, i, s->qscale);
- ff_idct (block);
- add_pixels_clamped(block, dest, line_size);
+ ff_idct_add (dest, line_size, block);
}
}