[XviD-devel] basic gmc decoding

Marc FD xvid-devel@xvid.org
Sun, 3 Nov 2002 16:07:45 +0100


----- Message d'origine -----
De : "peter ross" <suxen_drol@hotmail.com>
À : <xvid-devel@xvid.org>
Envoyé : dimanche 3 novembre 2002 15:51
Objet : [XviD-devel] basic gmc decoding


> 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.

okay i'll do a fast check of the new convertions with some tests with
RGB32/YUY2/YV12 source.
do we need to test on playing too? i'm not sure if my players ask for
RGB32/YUY2/ or YV12...