Mercurial > libavcodec.hg
diff mpegvideo.h @ 1597:4c9165372ab3 libavcodec
noise reduction of dct coefficients
author | michael |
---|---|
date | Sun, 02 Nov 2003 23:19:47 +0000 |
parents | 3d1d0490e5a6 |
children | 20c1a4d5b761 |
line wrap: on
line diff
--- a/mpegvideo.h Sun Nov 02 22:56:47 2003 +0000 +++ b/mpegvideo.h Sun Nov 02 23:19:47 2003 +0000 @@ -468,6 +468,11 @@ ScanTable intra_h_scantable; ScanTable intra_v_scantable; ScanTable inter_scantable; ///< if inter == intra then intra should be used to reduce tha cache usage + + /* noise reduction */ + int (*dct_error_sum)[64]; + int dct_count[2]; + uint16_t (*dct_offset)[64]; void *opaque; ///< private data for the user @@ -719,6 +724,7 @@ void ff_print_debug_info(MpegEncContext *s, Picture *pict); void ff_write_quant_matrix(PutBitContext *pb, int16_t *matrix); int ff_find_unused_picture(MpegEncContext *s, int shared); +void ff_denoise_dct(MpegEncContext *s, DCTELEM *block); void ff_er_frame_start(MpegEncContext *s); void ff_er_frame_end(MpegEncContext *s);