Mercurial > libavcodec.hg
diff mpegvideo.c @ 478:055d9ac1584d libavcodec
use ff_idct_put/add()
author | bellard |
---|---|
date | Wed, 05 Jun 2002 18:36:03 +0000 |
parents | 11dbd00682fc |
children | 29a7e17d19dd |
line wrap: on
line diff
--- a/mpegvideo.c Wed Jun 05 18:35:28 2002 +0000 +++ b/mpegvideo.c Wed Jun 05 18:36:03 2002 +0000 @@ -1103,8 +1103,7 @@ { 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 @@ 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); } }