[XviD-devel] A question on the mpeg quant

jmtest at voila.fr jmtest at voila.fr
Tue Apr 20 16:56:12 CEST 2004


Hello,

I try to rewrite the mpeg quantization (intel asm part) because I think some speed gains are possible. I did some tests with the current C functions and found something I don't understand. For quant=2 and input value in [-5,5] the intra quant C function sometimes return a value (let's call it v) higher than it should be: dequant(v-1) is near from original source than dequant(v). Is it a good thing?

Another strange point: for the mpeg inter quant, I sometimes found dequant(v)-original == original-dequant(v-1). the quantized value seems too big also, but I'm not a specialist of quantization.

Someone knows how it works?

Thanks,

Jean-Marc

------------------------------------------

Faites un voeu et puis Voila ! www.voila.fr 




More information about the XviD-devel mailing list