[XviD-devel] VHQ

Radek Czyz radoslaw at syskin.cjb.net
Fri Feb 14 00:04:23 CET 2003


Hello Christoph,

> deviation = dev16(Data->Cur, Data->iEdgedWidth) +
>                 dev16(Data->Cur+8, Data->iEdgedWidth) +
>                 dev16(Data->Cur + 8*Data->iEdgedWidth,Data->iEdgedWidth) +
>                 dev16(Data->Cur+8+8*Data->iEdgedWidth,Data->iEdgedWidth);

> It that a typo?

well, the line before is:

       if (!Data->rrv) deviation = dev16(Data->Cur, Data->iEdgedWidth);
       else
           [and the code you quote]

Data->rrv says that we're encoding at reduced resolution....

Radek

PS .... so it IS a typo. not 8 but 16! Damn.... lol



More information about the XviD-devel mailing list