[XviD-devel] [BUG] trellis quantization

Edouard Gomez ed.gomez at free.fr
Sun Aug 24 18:46:36 CEST 2003


Here is a patch that makes trellis return the sum of values, so the
limit thresholds compares oranges with oranges.

This patch also uses the array tricks to remove if branches, i don't
notice any speed impact (functions are only called once per coded MB so
impact would have been in all cases, very low)

If you don't like this type of coding, just tell me, i'll just keep the
trellis fix, and will commit only that part.

@gruel: i left you a nice placeholder where to put trellis for mpeg
quant ;-) feel free to fill with useful code.

http://ed.gomez.free.fr/vrac/xvid-patches/mbtransquant-cleanup.diff

-- 
Edouard Gomez


More information about the XviD-devel mailing list