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

Radoslaw Czyz xvid-devel@xvid.org
Fri, 16 Aug 2002 22:11:01 +0930


> Ouch! Is this in the standard? Where? Is this for B-frames, too?

> Because XviD does not check iDCT results to decide if a block should be
> encoded. For B-frames, iDCT isn't even _done_!

Yes it does. It won't encode a DCT block if all coefficients are zero.
The sum of coefficients is computed during quantization, and block is
coded only if (sum >= TOOSMALL_LIMIT) i.e. (sum >= 1). No problems
there.

Btw it's strange that there is any bug in this code. It's quite easy.

Radek