[XviD-devel] get_block_inter and dequant_inter in the same routine?

Christoph Lampert xvid-devel@xvid.org
Sat, 11 Jan 2003 20:19:55 +0100 (CET)


Hi,

did anyone ever test if doing get_block_inter() and dequant_inter()
in the same routine would give a speedup (at least H263 dequant).

It seems so wasteful that the decoder has to call 

memset(&block[i * 64], 0, 64 * sizeof(int16_t));	

every time a block is read from bitstream, even if only 1 or 2 
coefficients are in the bitsream (which is the general case), and 
then all the zeros are also dequantized. 

gruel