Home | History | Annotate | Download | only in lib

Lines Matching refs:y1

272 static int render_point(int x0,int x1,int y0,int y1,int x){
274 y1&=0x7fff;
277 int dy=y1-y0;
362 static void render_line(int n, int x0,int x1,int y0,int y1,float *d){
363 int dy=y1-y0;
391 static void render_line0(int n, int x0,int x1,int y0,int y1,int *d){
392 int dy=y1-y0;
471 static int fit_line(lsfit_acc *a,int fits,int *y0,int *y1,
498 if(*y1>=0){
500 yb+= *y1;
502 y2b+= *y1 * *y1;
503 xyb+= *y1 * x1;
514 *y1=rint(a+b*x1);
518 if(*y1>1023)*y1=1023;
520 if(*y1<0)*y1=0;
525 *y1=0;
531 static int inspect_error(int x0,int x1,int y0,int y1,const float *mask,
534 int dy=y1-y0;
628 int y1=-200;
629 fit_line(fits,posts-1,&y0,&y1,info);
633 fit_valueB[1]=y1;
634 fit_valueA[1]=y1;
729 int y1=output[hn];
731 int predicted=render_point(x0,x1,y0,y1,info->postlist[i]);
811 int y1=post[hn];
813 int predicted=render_point(x0,x1,y0,y1,info->postlist[i]);