Commit ad31c904 authored by Fabrice Bellard's avatar Fabrice Bellard

use ff_idct_put/add()

Originally committed as revision 670 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent ee4b748b
......@@ -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);
}
}
......
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