[XviD-devel] hq ac prediction mode

suxen_drol suxen_drol at hotmail.com
Sun Feb 9 04:06:09 CET 2003


hi,

i implemented a new ac prediction calculation method, which considers
actual coefficient cost (bits), as ooposed to the present coeff sum
method. it reduces file sizes a little, though nothing significant.

640x256, 500 consecutive i-frames
	|		b	y	t	e	s
quant	|	coeff		bitstrema	saving
	|	sum		sum
--------+------------------------------------------------------
q=2	|	8,105,984	7,938,048	167,936	(2.07%)
q=3	|	5,941,248	5,814,272	126,976	(2.14%)
q=4	|	4,812,800	4,718,592	94,208	(1.96%)
q=8	|	2,865,152	2,813,952	51,200	(1.79%)


640x256, 500 frames (~10 i-frames, 490 p-frames)
	|		bytes
quant	|	coeff		bitstrema
	|	sum		sum
--------+---------------------------------
q=2	|	2,187,264	2,183,168
q=3	|	1,519,616	1,515,520
q=4	|	1,105,920	1,103,872
q=8	|	561,152		559,104

should i clean it up with a XVID_HQACPRED flag, and commit?

-- pete




More information about the XviD-devel mailing list