Mercurial > libavcodec.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
1596:c1d5491f144a | 1597:4c9165372ab3 |
---|---|
466 /* scantables */ | 466 /* scantables */ |
467 ScanTable __align8 intra_scantable; | 467 ScanTable __align8 intra_scantable; |
468 ScanTable intra_h_scantable; | 468 ScanTable intra_h_scantable; |
469 ScanTable intra_v_scantable; | 469 ScanTable intra_v_scantable; |
470 ScanTable inter_scantable; ///< if inter == intra then intra should be used to reduce tha cache usage | 470 ScanTable inter_scantable; ///< if inter == intra then intra should be used to reduce tha cache usage |
471 | |
472 /* noise reduction */ | |
473 int (*dct_error_sum)[64]; | |
474 int dct_count[2]; | |
475 uint16_t (*dct_offset)[64]; | |
471 | 476 |
472 void *opaque; ///< private data for the user | 477 void *opaque; ///< private data for the user |
473 | 478 |
474 /* bit rate control */ | 479 /* bit rate control */ |
475 int I_frame_bits; //FIXME used in mpeg12 ... | 480 int I_frame_bits; //FIXME used in mpeg12 ... |
717 int ff_combine_frame( MpegEncContext *s, int next, uint8_t **buf, int *buf_size); | 722 int ff_combine_frame( MpegEncContext *s, int next, uint8_t **buf, int *buf_size); |
718 void ff_mpeg_flush(AVCodecContext *avctx); | 723 void ff_mpeg_flush(AVCodecContext *avctx); |
719 void ff_print_debug_info(MpegEncContext *s, Picture *pict); | 724 void ff_print_debug_info(MpegEncContext *s, Picture *pict); |
720 void ff_write_quant_matrix(PutBitContext *pb, int16_t *matrix); | 725 void ff_write_quant_matrix(PutBitContext *pb, int16_t *matrix); |
721 int ff_find_unused_picture(MpegEncContext *s, int shared); | 726 int ff_find_unused_picture(MpegEncContext *s, int shared); |
727 void ff_denoise_dct(MpegEncContext *s, DCTELEM *block); | |
722 | 728 |
723 void ff_er_frame_start(MpegEncContext *s); | 729 void ff_er_frame_start(MpegEncContext *s); |
724 void ff_er_frame_end(MpegEncContext *s); | 730 void ff_er_frame_end(MpegEncContext *s); |
725 void ff_er_add_slice(MpegEncContext *s, int startx, int starty, int endx, int endy, int status); | 731 void ff_er_add_slice(MpegEncContext *s, int startx, int starty, int endx, int endy, int status); |
726 | 732 |