Commit 6691ca73 authored by bellard's avatar bellard

use ff_idct_put/add()


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@670 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ec727ff1
......@@ -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