[XviD-devel] basic gmc decoding

peter ross xvid-devel@xvid.org
Mon, 04 Nov 2002 01:51:39 +1100


hi,

its done. whew, about 40 lines of code. (basic == one warp point)

michaeln, ive borrowed your trajectory value code. for encoding,
christoph has used a rather large lookup table, but your method is
much more elegant.
if ((x >> (length - 1)) == 0) /* if MSB not set it is negative*/
     x = - (x ^ ((1 << length) - 1));

i've added gmc to my localtree, which has the newer colorspace code.
before commiting it i need atleast someone to confirm the colorspace
patch does break their system.

-- pete

_________________________________________________________________
Get faster connections -- switch to MSN Internet Access! 
http://resourcecenter.msn.com/access/plans/default.asp