diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-11-02 23:19:47 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-11-02 23:19:47 +0000 |
commit | 821cb11f76d55111dd747346313dad3b9568810b (patch) | |
tree | 99cd5a9ce5d46729bbd50f13098150c444868f76 /libavcodec/i386/mpegvideo_mmx_template.c | |
parent | 432d84c395a0ccdbed383767a87ef037817e56f8 (diff) | |
download | ffmpeg-821cb11f76d55111dd747346313dad3b9568810b.tar.gz |
noise reduction of dct coefficients
Originally committed as revision 2468 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386/mpegvideo_mmx_template.c')
-rw-r--r-- | libavcodec/i386/mpegvideo_mmx_template.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/i386/mpegvideo_mmx_template.c b/libavcodec/i386/mpegvideo_mmx_template.c index 2728a8dd95..f357e14035 100644 --- a/libavcodec/i386/mpegvideo_mmx_template.c +++ b/libavcodec/i386/mpegvideo_mmx_template.c @@ -45,6 +45,9 @@ static int RENAME(dct_quantize)(MpegEncContext *s, //s->fdct (block); RENAMEl(ff_fdct) (block); //cant be anything else ... + if(s->dct_error_sum) + ff_denoise_dct(s, block); + if (s->mb_intra) { int dummy; if (n < 4) |