[XviD-devel] trellis questions

Radek Czyz syskin at ihug.com.au
Sat Sep 4 14:00:19 CEST 2004


Hi everyone,

I'm still breaking trellis search :) and I have a question:

There is a code

	/* source (w/ CBP penalty) */
	Run_Costs[-1] = 2<<TL_SHIFT;

As far as I understand, it's an approximation of CBP cost - but I have 
absolutely no idea how it works... so, how?
Also, how do I change the code if the block is initially empty and I'm 
running trellis anyway? (IF I do that. if.)

Or maybe CBP is just not taken into account?

I wish I understood how trellis works :/

Radek


More information about the XviD-devel mailing list