[XviD-devel] Deblocking filter in XviD 1.0.0 beta3 problem

Tsuri tsuri at quixtech.com
Tue Jan 20 14:20:27 CET 2004


Hi,
I have some problem with the new deblocking filter.

The post process of deblocking uses the MB quantization step.
(i.e. mbs[(j+0)/2*mb_stride + (i/2)].quant).

But,
in case of MB which was not coded the value of quant is wrong.
(i.e. mbs[(j+0)/2*mb_stride + (i/2)].mode == MODE_NOT_CODED)
It equals to a value the same MB had 2 frames before, when not using Bframes.

The MB's quant values are set in decoder_pframe(...), only when the MB was coded.
it sets:    mb->quant = quant;

Which quant value should it be? 

I solved it locally by adding:
mb->quant = quant;
to decoder_pframe(...), even when the frame is not coded.

But, that is only because the MB dequant value is set to 0 (no XVID_REQDQUANTS).

What happens otherwise?

Thanks,
Tsuri

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://edu.bnhof.de/pipermail/xvid-devel/attachments/20040120/bb84858c/attachment.htm


More information about the XviD-devel mailing list