[XviD-devel] VHQ

Christoph Lampert chl at math.uni-bonn.de
Thu Feb 13 14:18:17 CET 2003


Hi,

in new ModeDecision you call dev16() for deviation of current block 
four times, I guess its supposed to sum up the subblocks, but dev16 acts
on 16x16 blocks! We don't have a dev8() routine... 

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? 

gruel 




More information about the XviD-devel mailing list