[XviD-devel] GMC help

Tushit Bharthuar bharthuar at yahoo.com
Thu Dec 9 03:04:42 CET 2004


Hi,
Is the calculation for effective number of warping
points correct?
if (nb_pts<2 || (pts->duv[2].x==0 && pts->duv[2].y==0
&& pts->duv[1].x==0 && pts->duv[1].y==0 )) {
  	if (nb_pts<2 || (pts->duv[1].x==0 &&
pts->duv[1].y==0)) {
	  	if (nb_pts<1 || (pts->duv[0].x==0 &&
pts->duv[0].y==0)) {
		    nb_pts = 0;
  		}
	  	else nb_pts = 1;
  	}
	  else nb_pts = 2;
  }
Shouldnot the checking for pts->duv[1].x==0 &&
pts->duv[1].y==0 not be there in the first statement?

Thanks and regards,
Tushit



		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 


More information about the XviD-devel mailing list