mirror of https://git.ffmpeg.org/ffmpeg.git
use ff_idct_put/add()
Originally committed as revision 670 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
ee4b748b7f
commit
ad31c904b2
|
@ -1103,8 +1103,7 @@ static inline void put_dct(MpegEncContext *s,
|
||||||
{
|
{
|
||||||
if (!s->mpeg2)
|
if (!s->mpeg2)
|
||||||
s->dct_unquantize(s, block, i, s->qscale);
|
s->dct_unquantize(s, block, i, s->qscale);
|
||||||
ff_idct (block);
|
ff_idct_put (dest, line_size, block);
|
||||||
put_pixels_clamped(block, dest, line_size);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* add block[] to dest[] */
|
/* add block[] to dest[] */
|
||||||
|
@ -1119,8 +1118,7 @@ static inline void add_dct(MpegEncContext *s,
|
||||||
if(s->encoding || (!s->h263_msmpeg4))
|
if(s->encoding || (!s->h263_msmpeg4))
|
||||||
s->dct_unquantize(s, block, i, s->qscale);
|
s->dct_unquantize(s, block, i, s->qscale);
|
||||||
|
|
||||||
ff_idct (block);
|
ff_idct_add (dest, line_size, block);
|
||||||
add_pixels_clamped(block, dest, line_size);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue