Re[4]: [XviD-devel] xvid + bframes and mplayer/ffmpeg decoding

Radoslaw Czyz xvid-devel@xvid.org
Sat, 17 Aug 2002 22:18:57 +0930


>... reactivate coeff thresholding for now
> (maybe define a TOO_SMALL_LIMIT of 2 or 3) which should fix the problem.

Come on. Just implement my coeff thresholding. I know I should upload
it to cvs myself but I can't, wincvs sux. I don't wanna destroy
anything.

For those who don't know:

TOOSMALL_LIMIT = 3

Block skip decision:
if ( (sum >= TOOSMALL_LIMIT)
     || (qcoeff[i*64] != 0) || (qcoeff[i*64+1] != 0) ||
     (qcoeff[i*64+8] != 0) ) { encode_block }

This code gives me psnr improvement of about 0.1 dB (doesn't degrade
psnr in any case) for one-pass fixed bitrate.

Perhaps checking qcoeff[i*64+9] (DCT 1,1) could improve it even more.

Don't expect me to commit it :P , sorry.

Radek