[XviD-devel] [BUG] DC thresholding

Edouard Gomez ed.gomez at free.fr
Wed Oct 29 16:03:58 CET 2003


Seen on the forum:
http://www.xvid.org/modules.php?op=modload&name=phpBB2&file=viewtopic&t=1595&highlight=

<quote>
According to ISO/IEC 14496-2 table 6-21, the QP is the quantization
parameter of previous coded marcoblock, except for the first coded MB.

However, in XVID decoder.c, I found the following trouble:

if (quant < intra_dc_threshold) {
int dc_size;
int dc_dif;
.................
.................
} else {
start_coeff = 0;
}

where quant = mb->quant, it's QP of current MB, not previous MB.
So it does not consist with the standard.
</quote>

I confirm  that devapi4 still  has this and  i've read the  standard, it
seems he's right. Anyone with spare time to spend on this (I have not) ?

-- 
Edouard Gomez


More information about the XviD-devel mailing list