[XviD-devel] footprint patch

Radek Czyz radoslaw at syskin.cjb.net
Sat Dec 17 10:18:22 CET 2005


Hi everyone,

I just made a big ugly patch for one small thing - I reduced memory 
taken but each MACROBLOCK instance from 460 to 374 bytes. That's 100kb 
less data for PAL encoding (times two+number of bframes), which 
hopefully reduces some cache usage.

The idea is to use union and keep b-vop specific stuff (8 vectors) and 
p/i-vop specific stuff (ac/dc prediction, mostly) in one memory space.

patch at http://syskin.is.dreaming.org/sizeof.patch

If you don't like this patch, yell. Otherwise, I'll commit it tomorrow.

Radek


More information about the XviD-devel mailing list