# HG changeset patch # User bellard # Date 1023302163 0 # Node ID 055d9ac1584d0e3cf8d7afe3aff4709044d8ff16 # Parent bc7ceb6461eb604d9a7f4d398b3b36e3b00ec434 use ff_idct_put/add() diff -r bc7ceb6461eb -r 055d9ac1584d mpegvideo.c --- 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); } }