comparison mpegvideo.c @ 1599:079239998a38 libavcodec

10l (fixes dct coeff noise reduction)
author michael
date Mon, 03 Nov 2003 13:31:02 +0000
parents 932d306bf1dc
children a70c07e13e8e
comparison
equal deleted inserted replaced
1598:932d306bf1dc 1599:079239998a38
4074 4074
4075 void ff_denoise_dct(MpegEncContext *s, DCTELEM *block){ 4075 void ff_denoise_dct(MpegEncContext *s, DCTELEM *block){
4076 const int intra= s->mb_intra; 4076 const int intra= s->mb_intra;
4077 int i; 4077 int i;
4078 4078
4079 s->dct_count[intra]++;
4080
4079 for(i=0; i<64; i++){ 4081 for(i=0; i<64; i++){
4080 int level= block[i]; 4082 int level= block[i];
4081 4083
4082 if(level){ 4084 if(level){
4083 if(level>0){ 4085 if(level>0){