get_bw 221 lib/gocr/detect.c if( get_bw(box2->x0,box2->x1,box2->y1+1 ,box2->y1+my/2,box2->p,JOB->cfg.cs,1) == 0 get_bw 222 lib/gocr/detect.c || get_bw(box2->x0,box2->x1,box2->y1+my/2,box2->y1+my/2,box2->p,JOB->cfg.cs,1) == 1 get_bw 212 lib/gocr/gocr.h char get_bw(int x0, int x1, int y0, int y1, get_bw 254 lib/gocr/ocr0.c for(y=y0;2*y<y0+y1;y++)if( get_bw(xl,xr,y,y,box1->p,cs,1)==0 ) break; get_bw 257 lib/gocr/ocr0.c while( get_bw(xl,xr,y,y,box1->p,cs,1)==0 && 2*y<=y0+y1) y++; get_bw 262 lib/gocr/ocr0.c if( get_bw(xl-1,xl-1,yu,yl-1,box1->p,cs,1)==1 ) // neighbour overlap? get_bw 263 lib/gocr/ocr0.c while( get_bw(xl ,xl ,yu,yl-1,box1->p,cs,1)==1 && 2*xl<x0+x1) xl++; get_bw 264 lib/gocr/ocr0.c for(;xl<x1;xl++)if( get_bw(xl,xl,yu,yl,box1->p,cs,1)==1 ) break; get_bw 265 lib/gocr/ocr0.c for(;xr>xl;xr--)if( get_bw(xr,xr,yu,yl,box1->p,cs,1)==1 ) break; get_bw 277 lib/gocr/ocr0.c if( get_bw(xl,x1+1,yu,yl-1,box1->p,cs,1)==0 ) r=0; // neighbour overlap? get_bw 279 lib/gocr/ocr0.c if( get_bw(xl ,xl ,yu,yl-1,box1->p,cs,1)==0 get_bw 280 lib/gocr/ocr0.c || get_bw(xl-1,xl-1,yu,yl-1,box1->p,cs,1)==0 ) // be sure there are gap to neighbours get_bw 281 lib/gocr/ocr0.c if( get_bw(xr ,xr ,yu,yl-1,box1->p,cs,1)==0 get_bw 282 lib/gocr/ocr0.c || get_bw(xr+1,xr+1,yu,yl-1,box1->p,cs,1)==0 ) get_bw 290 lib/gocr/ocr0.c for (i=yu;i<yl;i++) if (get_bw(xl,xr,i,i,box1->p,cs,1)==1) break; get_bw 291 lib/gocr/ocr0.c for ( ;i<yl;i++) if (get_bw(xl,xr,i,i,box1->p,cs,1)==0) break; get_bw 292 lib/gocr/ocr0.c for (j=xl;j<xr;j++) if (get_bw(j,j,yu,i,box1->p,cs,1)==1) break; get_bw 293 lib/gocr/ocr0.c for ( ;j<xr;j++) if (get_bw(j,j,yu,i,box1->p,cs,1)==0) break; get_bw 294 lib/gocr/ocr0.c for ( x=j;x<xr;x++) if (get_bw(x,x,yu,i,box1->p,cs,1)==1) break; get_bw 301 lib/gocr/ocr0.c while( get_bw(xl,xr,yl,yl,box1->p,cs,1)==0 && 2*yl<y0+y1) yl++; get_bw 311 lib/gocr/ocr0.c while( get_bw(x0,x1,yu,yu,box1->p,cs,1)==0 && 2*yu<y0+y1) yu++; get_bw 330 lib/gocr/ocr0.c && get_bw(xl,xr,yu,yl,box1->p,cs,2)==0 ) get_bw 547 lib/gocr/ocr0.c if( get_bw(i,i,y0+dy/4,y,box1->p,cs,1) == 1 ) j++; get_bw 630 lib/gocr/ocr0.c if( get_bw(x0+dx/3,x1-dx/6,y,y,box1->p,cs,2) == 0 ) i=0; get_bw 633 lib/gocr/ocr0.c if( get_bw(x0+dx/6,x1-dx/4,y,y,box1->p,cs,2) == 0 ) i=0; get_bw 668 lib/gocr/ocr0.c if( get_bw(x0+dx/2,x0+dx/2,y0+dy/4,y1-dy/4,box1->p,cs,1) == 0 ) Break; get_bw 704 lib/gocr/ocr0.c if(y>1)if( get_bw(dx-1-dx/4,dx-1,0,y-2,sdata->bp,cs,1) == 1 ) Break; get_bw 753 lib/gocr/ocr0.c if( get_bw(dx-1-i/2,dx-1-i/2,0,dy/2,sdata->bp,cs,1) == 1 ) Break; // ~rr get_bw 755 lib/gocr/ocr0.c if( get_bw(dx-1-i ,dx-1-i ,0,dy/2,sdata->bp,cs,1) == 0 ) Break; // ~rv get_bw 757 lib/gocr/ocr0.c if( get_bw(dx/2,dx/2,dy/4,dy/4,sdata->bp,cs,1) == 0 get_bw 758 lib/gocr/ocr0.c && get_bw(dx/2,dx-1,dy-2,dy-2,sdata->bp,cs,1) == 0 get_bw 759 lib/gocr/ocr0.c && get_bw(dx/2,dx/2,dy/4,dy-2,sdata->bp,cs,1) == 1 ) Break; // ~P get_bw 763 lib/gocr/ocr0.c if( get_bw((x1+x0)/2,x1,box1->m1,y0-1,box1->p,cs,1) == 1 ) get_bw 1095 lib/gocr/ocr0.c if( get_bw(0 ,dx/2,dy/8 ,dy/8 ,bp,cs,1) != 1 ) Break; get_bw 1096 lib/gocr/ocr0.c if( get_bw(0 ,dx/2,dy/2 ,dy/2 ,bp,cs,1) != 1 ) Break; get_bw 1097 lib/gocr/ocr0.c if( get_bw(dx/2 ,dx-1,dy-1-dy/3,dy-1-dy/3,bp,cs,1) != 1 ) Break; get_bw 1098 lib/gocr/ocr0.c if( get_bw(dx/2 ,dx/2,dy/5 ,dy-1-dy/3,bp,cs,1) != 1 ) Break; get_bw 1099 lib/gocr/ocr0.c if( get_bw(dx-1-dx/3,dx-1,0 ,1 ,bp,cs,1) == 1 ) Break; get_bw 1100 lib/gocr/ocr0.c if( get_bw(dx-1-dx/3,dx-1,1 ,dy/6 ,bp,cs,1) == 1 ) Break; get_bw 1102 lib/gocr/ocr0.c if( get_bw(dx-1-dx/3,dx-1,dy/6 ,dy/5 ,bp,cs,1) == 1 ) Break; get_bw 1103 lib/gocr/ocr0.c if( get_bw(dx-1-dx/3,dx-1,dy-1-dy/4,dy-1 ,bp,cs,1) == 0 ) Break; // s- get_bw 1105 lib/gocr/ocr0.c if( get_bw(x, x,y1-dy/4, y1, box1->p,cs,1) == 0 ) break; get_bw 1206 lib/gocr/ocr0.c if( get_bw( x, x,y0 ,y0+dy/4,box1->p,cs,1) == 0 ) i=0; get_bw 1209 lib/gocr/ocr0.c if( get_bw( x, x,y1-dy/4,y1 ,box1->p,cs,1) == 0 ) i=0; get_bw 1220 lib/gocr/ocr0.c if( get_bw(x1-dx/8, x1 , y0, y0+dy/8,box1->p,cs,1) != 1 ) Break; get_bw 1221 lib/gocr/ocr0.c if( get_bw(x0 , x0+dx/8, y1-dy/8, y1,box1->p,cs,1) != 1 ) Break; get_bw 1319 lib/gocr/ocr0.c if( get_bw(x0 ,x0+dx/2,y0 ,y0+dy/4,box1->p,cs,1) != 1 ) Break; get_bw 1320 lib/gocr/ocr0.c if( get_bw(x0+dx/2,x1, y1-dy/3,y1 ,box1->p,cs,1) != 1 ) Break; get_bw 1321 lib/gocr/ocr0.c if( get_bw(x1-dx/4,x1, y0 ,y0+3*dy/16,box1->p,cs,1) == 1 ) Break; get_bw 1322 lib/gocr/ocr0.c if( get_bw(x1-dx/4,x1, y0+dy/4,y1-dy/4,box1->p,cs,1) != 1 ) Break; //~1 get_bw 1323 lib/gocr/ocr0.c if( get_bw(x1-dx/4,x1, y1-dy/8,y1 ,box1->p,cs,1) != 1 ) Break; get_bw 1328 lib/gocr/ocr0.c if( get_bw(x0,x1,y,y,box1->p,cs,1) == 0 ) break; get_bw 1386 lib/gocr/ocr0.c if( !get_bw(0,dx/2,y,y,bp,cs,1) ) break; get_bw 1417 lib/gocr/ocr0.c if( get_bw(x1-dx/3,x1,y0,y0+dy/8,box1->p,cs,1) != 1 ) Break; // ~k get_bw 1652 lib/gocr/ocr0.c if ( get_bw(x0+dx/8,x0+dx/8,y0+dy/4,y1-dy/16,box1->p,cs,2) == 0 get_bw 1684 lib/gocr/ocr0.c if (get_bw(x0+dx/16,x1-dx/16,y0,y0,box1->p,cs,2) == 0) { // white pixels? get_bw 1710 lib/gocr/ocr0.c if( get_bw(x0,x0+dx/2, y , y ,box1->p,cs,1) != 1 ) i=0; get_bw 1713 lib/gocr/ocr0.c if( get_bw(x0,x0+dx/3, y , y ,box1->p,cs,1) != 1 ) i=0; get_bw 1715 lib/gocr/ocr0.c if( get_bw(x1,x1 , y0 , y0 ,box1->p,cs,1) == 1 ) Break; get_bw 1733 lib/gocr/ocr0.c if( get_bw(x0,x0,y0,y0,box1->p,cs,1) == 0 ) get_bw 1734 lib/gocr/ocr0.c if( get_bw(x0,x0,y1,y1,box1->p,cs,1) == 0 ) Break; // ~8 get_bw 1794 lib/gocr/ocr0.c if( get_bw(x0 , x0+dx/2, y , y ,box1->p,cs,1) != 1 ) Break; get_bw 1796 lib/gocr/ocr0.c if( get_bw(x0+ dx/2, x0+dx/2, y1-dy/3, y1 ,box1->p,cs,1) != 1 ) Break; get_bw 1797 lib/gocr/ocr0.c if( get_bw(x1- dx/2, x1 , y1-dy/3, y1-dy/3,box1->p,cs,1) != 1 ) Break; get_bw 1798 lib/gocr/ocr0.c if( get_bw(x1- dx/3, x1 , y0 , y0+dy/5,box1->p,cs,1) == 1 ) Break; get_bw 1799 lib/gocr/ocr0.c if( get_bw(x1-4*dx/9, x1 , y0+dy/5, y0+dy/5,box1->p,cs,1) == 1 ) Break; get_bw 1836 lib/gocr/ocr0.c if( get_bw(x0 ,x0+dx/3,y0+dy/2,y0+dy/2,box1->p,cs,1) != 1 ) Break; get_bw 1837 lib/gocr/ocr0.c if( get_bw(x1-dx/3,x1 ,y0+dy/2,y0+dy/2,box1->p,cs,1) != 1 ) Break; get_bw 1838 lib/gocr/ocr0.c if( get_bw(x1 ,x1 ,y0 ,y0+dy/16,box1->p,cs,1) == 1 ) Break; get_bw 1839 lib/gocr/ocr0.c if( get_bw(x1-dx/2,x1 ,y0+dy/4,y0+dy/4 ,box1->p,cs,1) != 1 ) Break; get_bw 1874 lib/gocr/ocr0.c if (get_bw(dx/2,dx-1,dy-1-y,dy-1-y,bp,cs,1)==1) Break; // ~A get_bw 1901 lib/gocr/ocr0.c if( get_bw(x0 , x0+dx/2, y1-dy/6, y1-dy/9,box1->p,cs,1) != 1 ) Break; get_bw 1902 lib/gocr/ocr0.c if( get_bw(x0 , x0+dx/2, y1-dy/3, y1-dy/3,box1->p,cs,1) != 1 ) Break; get_bw 1903 lib/gocr/ocr0.c if( get_bw(x0+dx/2, x1 , y1-dy/3, y1-dy/3,box1->p,cs,1) != 1 ) Break; get_bw 1904 lib/gocr/ocr0.c if( get_bw(x1-dx/4, x1 , y0+dy/8, y0+dy/8,box1->p,cs,1) != 1 ) Break; get_bw 1905 lib/gocr/ocr0.c if( get_bw(x0+dx/2, x0+dx/2, y1-dy/4, y1 ,box1->p,cs,1) != 1 ) Break; get_bw 1907 lib/gocr/ocr0.c if( get_bw(x0 , x0+dx/3, y0 , y0+dy/5,box1->p,cs,1) == 1 ) Break; get_bw 1908 lib/gocr/ocr0.c if( get_bw(x0 , x0+dx/3, y0 , y0+dy/6,box1->p,cs,1) == 1 ) Break; get_bw 1909 lib/gocr/ocr0.c if( get_bw(x0 , x0+dx/4, y1-dy/8, y1 ,box1->p,cs,1) != 1 ) Break; get_bw 1910 lib/gocr/ocr0.c if( get_bw(x0+dx/2-1,x0+dx/2,y1-dy/8, y1 ,box1->p,cs,1) != 1 ) Break; // ~"A get_bw 1954 lib/gocr/ocr0.c if( get_bw(x0+dx/2,x0+dx/2,y0,y0+dy/8,box1->p,cs,1) != 1 ) Break; get_bw 1955 lib/gocr/ocr0.c if( get_bw(x0,x0+dx/4,y1-dy/4,y1-dy/4,box1->p,cs,1) != 1 ) Break; get_bw 1956 lib/gocr/ocr0.c if( get_bw(x0,x0+dx/2,y0+dy/4,y0+dy/4,box1->p,cs,1) != 1 ) Break; get_bw 1985 lib/gocr/ocr0.c if( get_bw(0,dx/2,y,y,bp,cs,1) != 1 ) i=0; get_bw 1989 lib/gocr/ocr0.c if( get_bw(0,dx/3,y,y,bp,cs,1) != 1 ) i=0; get_bw 1998 lib/gocr/ocr0.c if( get_bw(dx-1-dx/4,dx-1,dy-1-dy/4,dy-1,bp,cs,1) == 1 ) Break; // ~E get_bw 1999 lib/gocr/ocr0.c if( get_bw(dx-1 ,dx-1,0 ,dy/3,bp,cs,1) != 1 ) Break; get_bw 2010 lib/gocr/ocr0.c if( get_bw( 1, 1,1,1,bp,cs,1) == 1 get_bw 2011 lib/gocr/ocr0.c && get_bw( 0, 0,2,2,bp,cs,1) == 1 get_bw 2012 lib/gocr/ocr0.c && get_bw(dx-2,dx-1,0,0,bp,cs,1) == 0 get_bw 2013 lib/gocr/ocr0.c && get_bw( 0, 1,0,0,bp,cs,1) == 0 get_bw 2014 lib/gocr/ocr0.c && get_bw( 0, 0,0,1,bp,cs,1) == 0 ) Break; get_bw 2060 lib/gocr/ocr0.c if( get_bw(dx/2,dx/2,dy/2,dy-1,bp,cs,1)==0 ) Break; get_bw 2061 lib/gocr/ocr0.c if( get_bw(dx/2,dx-1,dy/2,dy/2,bp,cs,1)==0 ) Break; get_bw 2065 lib/gocr/ocr0.c if( get_bw(0,x ,i-1,i-1,bp,cs,1)==0 ) Break; get_bw 2066 lib/gocr/ocr0.c if( get_bw(x,dx-1,i-1,i-1,bp,cs,1)==0 ) Break; get_bw 2080 lib/gocr/ocr0.c if( get_bw( x, x, y0, y0+dy/3,box1->p,cs,1) != 1 ) i=0; get_bw 2083 lib/gocr/ocr0.c if( get_bw( x, x,y0+dy/3,y1-dy/3,box1->p,cs,3) != 2 ) i--; get_bw 2086 lib/gocr/ocr0.c if( get_bw( x, x,y1-dy/2,y1,box1->p,cs,3) == 2 ) i=0; get_bw 2087 lib/gocr/ocr0.c if( get_bw( x, x,y1-dy/3,y1,box1->p,cs,3) == 2 ) ad=98*ad/100; get_bw 2142 lib/gocr/ocr0.c if( get_bw(dx/2,dx/2,3*dy/8,7*dy/8,bp,cs,1)==0 ) break; get_bw 2143 lib/gocr/ocr0.c if( get_bw(dx/2,dx-1,3*dy/8,7*dy/8,bp,cs,1)==0 ) break; get_bw 2150 lib/gocr/ocr0.c if( get_bw(0,x ,i-1,i-1,bp,cs,1)==0 ) break; get_bw 2151 lib/gocr/ocr0.c if( get_bw(x,dx-1,i-1,i-1,bp,cs,1)==0 ) break; get_bw 2164 lib/gocr/ocr0.c if( get_bw( x, x, y0, y0+dy/4,box1->p,cs,1) != 1 ) i=0; get_bw 2167 lib/gocr/ocr0.c if( get_bw( x, x,y0+dy/4,y1-dy/2,box1->p,cs,3) != 2 ) i--; get_bw 2171 lib/gocr/ocr0.c if( get_bw( (dx+2)/4,dx-1,dy-2-3*dy/16,dy-1,bp,cs,1) == 1 ) break; get_bw 2196 lib/gocr/ocr0.c if( get_bw(x0,x0+x,y0+y,y0+y,box1->p,cs,1) != 1 ) Break; get_bw 2197 lib/gocr/ocr0.c if( get_bw(x0+x,x1,y0+y,y0+y,box1->p,cs,1) != 1 ) Break; get_bw 2198 lib/gocr/ocr0.c if( get_bw(x0+x,x0+x,y1-dy/2,y1, box1->p,cs,1) != 1 ) Break; get_bw 2199 lib/gocr/ocr0.c if( get_bw(x0+x, x0+x ,y0, y0+dy/3,box1->p,cs,1) == 1 ) // it v? get_bw 2200 lib/gocr/ocr0.c if( get_bw(x0+x+1,x0+x+1,y0, y0+dy/3,box1->p,cs,1) == 1 ) Break; get_bw 2209 lib/gocr/ocr0.c if( get_bw(0 ,dx/8,dy-1-dy/6,dy-1,bp,cs,1)==1 ) Break; get_bw 2210 lib/gocr/ocr0.c if( get_bw(dx-1-dx/8,dx-1,dy-1-dy/6,dy-1,bp,cs,1)==1 ) Break; get_bw 2309 lib/gocr/ocr0.c if( get_bw(x,x,0,(dy+2)/4,bp,cs,1) !=1 ) break; } get_bw 2313 lib/gocr/ocr0.c && get_bw(dx-1-dx/8,dx-1,dy-1-dy/4,dy-1,bp,cs,1) ==1 ) Break; get_bw 2327 lib/gocr/ocr0.c && get_bw(0,dx/8,0,dy/4,bp,cs,1) ==1 ) Break; get_bw 2357 lib/gocr/ocr0.c if( get_bw(x0 , x0+dx/2,y, y,box1->p,cs,1) != 1 ) i=0; get_bw 2360 lib/gocr/ocr0.c if( get_bw( x, x, y0, y0+dy/4,box1->p,cs,1) != 1 ) i=0; get_bw 2381 lib/gocr/ocr0.c if( get_bw(x1-dx/3,x1,y0,y0+dy/4,box1->p,cs,1) != 1 ) Break; // pixel ru get_bw 2554 lib/gocr/ocr0.c if( get_bw( 0,dx-1, dy/2, dy/2,bp,cs,1) != 1 ) Break; get_bw 2555 lib/gocr/ocr0.c if( get_bw( 0,(dx-1)/8, dy/2,dy-1-dy/8,bp,cs,1) == 1 ) Break; get_bw 2556 lib/gocr/ocr0.c if( get_bw( 0,3*dx/16, dy/2,dy-1-dy/4,bp,cs,1) == 1 ) Break; get_bw 2557 lib/gocr/ocr0.c if( get_bw(dx-1-dx/4,dx-1, dy/2,dy-1-dy/4,bp,cs,1) == 1 ) Break; get_bw 2741 lib/gocr/ocr0.c if( get_bw(0,i1,y,y,bp,cs,1) != 1 ) break; get_bw 2821 lib/gocr/ocr0.c if( get_bw(x0+dx/2, x0+dx/2, y1-dy/2, y1,box1->p,cs,1) != 1 ) Break; get_bw 2822 lib/gocr/ocr0.c if( get_bw(x1-dx/4, x1 , y1-dy/4, y1,box1->p,cs,1) != 1 ) Break; // ~p get_bw 2823 lib/gocr/ocr0.c if( get_bw(x0+dx/2, x0+dx/2, y0, y0+dy/2,box1->p,cs,1) != 1 ) Break; get_bw 2834 lib/gocr/ocr0.c if( get_bw(0,dx/2,7*dy/8,7*dy/8,bp,cs,1) != 1 ) Break; // ~q get_bw 2872 lib/gocr/ocr0.c if( get_bw(x0 ,x0+dx/2,y0+dy/3,y0+dy/3,box1->p,cs,1) != 1 ) Break; get_bw 2873 lib/gocr/ocr0.c if( get_bw(x0+dx/2,x1-dx/4,y0 ,y0+dy/4,box1->p,cs,1) != 1 ) Break; get_bw 2874 lib/gocr/ocr0.c if( get_bw(x0+dx/2,x0+dx/2,y1-dy/4,y1 ,box1->p,cs,1) != 1 ) Break; get_bw 2875 lib/gocr/ocr0.c if( get_bw(x0 ,x0+dx/2,y1-dy/3,y1-dy/3,box1->p,cs,1) != 1 ) Break; // ~S get_bw 2877 lib/gocr/ocr0.c if( get_bw(x1-dx/2,x1,y,y,box1->p,cs,1) == 0 ) break; get_bw 3139 lib/gocr/ocr0.c if( get_bw(x0,x0+dx/4,y0+dy/2,y0+dy/2,box1->p,cs,1) != 0 ) Break; get_bw 3140 lib/gocr/ocr0.c if( get_bw(x1-dx/4,x1,y0+dy/2,y0+dy/2,box1->p,cs,1) != 0 ) Break; get_bw 3211 lib/gocr/ocr0.c if( get_bw(x0,x0,y1-dy/8,y1,box1->p,cs,1) == 1 ) { get_bw 3212 lib/gocr/ocr0.c if( get_bw(x0,x0+4*dx/8,y0+dy/8,y0+dy/8,box1->p,cs,1) != 1 ) Break; get_bw 3214 lib/gocr/ocr0.c if( get_bw(x0,x0+3*dx/8,y0+dy/8,y0+dy/8,box1->p,cs,1) != 1 ) Break; get_bw 3576 lib/gocr/ocr0.c if( get_bw(dx/2 ,dx/2 ,dy-1-dy/8,dy-1,bp,cs,1) == 1 get_bw 3577 lib/gocr/ocr0.c && get_bw(dx/2-1,dx/2-1,dy-1-dy/8,dy-1,bp,cs,1) == 1 ) Break; // ~B get_bw 3616 lib/gocr/ocr0.c if( get_bw(dx-1-dx/4, dx-1, dy-1-dy/4, dy-1, bp,cs,1) != 1 ) Break; get_bw 3649 lib/gocr/ocr0.c if( get_bw(x0 , x0+dx/2, y1-dy/3, y1-dy/3,box1->p,cs,1) != 1 ) Break; get_bw 3650 lib/gocr/ocr0.c if( get_bw(x1-dx/3, x1 , y0+dy/3, y0+dy/3,box1->p,cs,1) != 1 ) Break; get_bw 3651 lib/gocr/ocr0.c if( get_bw(x1-dx/3, x1 , y0+dy/4, y0+dy/4,box1->p,cs,1) != 1 ) Break; get_bw 3652 lib/gocr/ocr0.c if( get_bw(x0+dx/2, x0+dx/2, y1-dy/3, y1, box1->p,cs,1) != 1 ) Break; get_bw 3653 lib/gocr/ocr0.c if( get_bw(x0+dx/2, x0+dx/2, y0 , y0+dy/3,box1->p,cs,1) != 1 ) Break; get_bw 3654 lib/gocr/ocr0.c if( get_bw(x0+dx/3, x1-dx/3, y0 , y0 ,box1->p,cs,1) != 1 ) Break; get_bw 3655 lib/gocr/ocr0.c if( get_bw(x0+dx/4, x1-dx/2, y1 , y1 ,box1->p,cs,1) != 1 ) get_bw 3656 lib/gocr/ocr0.c if( get_bw(x0+dx/4, x1-dx/3, y1-1 , y1-1 ,box1->p,cs,1) != 1 ) Break; get_bw 3657 lib/gocr/ocr0.c if( get_bw(x0 , x0 , y0+dy/2, y1 ,box1->p,cs,1) != 1 ) get_bw 3658 lib/gocr/ocr0.c if( get_bw(x0+dx/8, x0+dx/8, y0+dy/2, y1 ,box1->p,cs,1) != 1 ) Break; get_bw 3713 lib/gocr/ocr0.c if( get_bw(x0 , x0+dx/2,y0+dy/2 , y0+dy/2,box1->p,cs,1) != 1 ) Break; get_bw 3714 lib/gocr/ocr0.c if( get_bw(x1-dx/2 , x1 ,y0+dy/2 , y0+dy/2,box1->p,cs,1) != 1 ) Break; get_bw 3715 lib/gocr/ocr0.c if( get_bw(x0+dx/2 , x0+dx/2,y1-dy/2 , y1, box1->p,cs,1) != 1 ) Break; get_bw 3716 lib/gocr/ocr0.c if( get_bw(x0+dx/2 , x0+dx/2,y0 , y0+dy/2,box1->p,cs,1) != 1 ) Break; get_bw 3717 lib/gocr/ocr0.c if( get_bw(x0+dx/3 , x0+dx/3,y0 , y0+dy/2,box1->p,cs,1) != 1 ) Break; get_bw 3721 lib/gocr/ocr0.c if( get_bw(x0 , x0 ,y1 , y1 ,box1->p,cs,1) == 1 ) Break; get_bw 3780 lib/gocr/ocr0.c if( get_bw(dx/2,dx/2,dy-1-dy/8,dy-1,bp,cs,1) == 1 ) break; // ~B get_bw 3813 lib/gocr/ocr0.c if( get_bw(dx-1-dx/4, dx-1, dy-1-dy/4, dy-1, bp,cs,1) != 1 ) break; get_bw 3857 lib/gocr/ocr0.c if( get_bw(x0 , x0+dx/3,y0+dy/2, y0+dy/2,box1->p,cs,1) != 1 ) Break; get_bw 3858 lib/gocr/ocr0.c if( get_bw(x0+dx/2, x0+dx/2,y1-dy/3, y1, box1->p,cs,1) != 1 ) Break; get_bw 3859 lib/gocr/ocr0.c if( get_bw(x0+dx/2, x0+dx/2,y0 , y0+dy/3,box1->p,cs,1) != 1 ) Break; get_bw 3863 lib/gocr/ocr0.c if( get_bw(x0+dx/2,x1,y,y,box1->p,cs,1) == 0 ) break; get_bw 3881 lib/gocr/ocr0.c if( get_bw(x0+dx/2,x1,y,y,box1->p,cs,1) == 1 ) break; get_bw 3929 lib/gocr/ocr0.c if( get_bw(x0,x0,y0 ,y1 ,box1->p,cs,2) != 2 get_bw 3930 lib/gocr/ocr0.c && get_bw(x0,x1,y0 ,y0 ,box1->p,cs,2) != 2 get_bw 3931 lib/gocr/ocr0.c && get_bw(x0,x1,y1 ,y1 ,box1->p,cs,2) != 2 get_bw 3932 lib/gocr/ocr0.c && get_bw(x1,x1,y0+1,y1-1,box1->p,cs,1) != 1 ) Break; /* ~[ */ get_bw 4093 lib/gocr/ocr0.c if( get_bw(dx-1-dx/8,dx-1,0,dy/6,bp,cs,1) != 1 ) get_bw 4094 lib/gocr/ocr0.c if( get_bw(dx-1-dx/8,dx-1,0,dy/2,bp,cs,1) == 1 ) Break; get_bw 4096 lib/gocr/ocr0.c if( get_bw(dx-1-dx/8,dx-1,dy/4,dy/3,bp,cs,1) != 1 ) // large I ??? get_bw 4097 lib/gocr/ocr0.c if( get_bw(0 ,dx/8,dy/4,dy/3,bp,cs,1) != 1 ) get_bw 4098 lib/gocr/ocr0.c if( get_bw(dx-1-dx/8,dx-1,0 ,dy/8,bp,cs,1) == 1 ) get_bw 4099 lib/gocr/ocr0.c if( get_bw(0 ,dx/8,0 ,dy/8,bp,cs,1) == 1 ) ad=ad*97/100; get_bw 4100 lib/gocr/ocr0.c if( get_bw(dx-1-dx/8,dx-1,dy/2,dy-1,bp,cs,1) != 1 ) // r ??? get_bw 4101 lib/gocr/ocr0.c if( get_bw(0 ,dx/8,dy/2,dy-1,bp,cs,1) == 1 ) get_bw 4102 lib/gocr/ocr0.c if( get_bw(dx-1-dx/8,dx-1,0 ,dy/3,bp,cs,1) == 1 ) get_bw 4103 lib/gocr/ocr0.c if( get_bw(0 ,dx/8,0 ,dy/3,bp,cs,1) == 1 ) Break; get_bw 4112 lib/gocr/ocr0.c if( get_bw(dx/4,dx-1-dx/4,y,y,bp,cs,1) != 1 ) break; get_bw 4131 lib/gocr/ocr0.c if ( get_bw(x0,x1,y1+1,box1->m4+dy/8,box1->p,cs,1) == 1 ) get_bw 4136 lib/gocr/ocr0.c if( get_bw(dx-1-i/2,dx-1-i/2,0,dy/2,bp,cs,1) == 1 ) Break; // ~t get_bw 4155 lib/gocr/ocr0.c && get_bw(0,dx/8,0,dy/4,bp,cs,1) == 1 ) Break; // ~7 get_bw 4158 lib/gocr/ocr0.c && get_bw(3*dx/4,dx-1,3*dy/4,dy-1,bp,cs,1) == 1) { get_bw 4164 lib/gocr/ocr0.c if( get_bw(dx/4,dx/4, 0,dy/4,bp,cs,1) == 1 get_bw 4165 lib/gocr/ocr0.c && get_bw(dx/4,dx/4,dy/2,dy-1,bp,cs,1) == 0 ) Break; get_bw 4176 lib/gocr/ocr0.c if( get_bw( x, x, 0,dy/4 ,bp,cs,1) == 1 ) break; get_bw 4178 lib/gocr/ocr0.c if( get_bw( x,x+dx/16, 0,dy/16,bp,cs,1) == 0 get_bw 4179 lib/gocr/ocr0.c && get_bw( x,x+dx/16,dy/4 ,dy/2 ,bp,cs,1) == 0 get_bw 4180 lib/gocr/ocr0.c && get_bw( x,x+dx/16,dy/16,dy/4 ,bp,cs,1) == 1 ){ get_bw 4197 lib/gocr/ocr0.c if( get_bw(x1,x1,y0 ,y1 ,box1->p,cs,2) != 2 get_bw 4198 lib/gocr/ocr0.c && get_bw(x0,x1,y0 ,y0 ,box1->p,cs,2) != 2 get_bw 4199 lib/gocr/ocr0.c && get_bw(x0,x1,y1 ,y1 ,box1->p,cs,2) != 2 get_bw 4200 lib/gocr/ocr0.c && get_bw(x0,x0+dx/4,y0+1+dy/16,y1-1-dy/16,box1->p,cs,1) != 1 ) Break; /* ~] */ get_bw 4204 lib/gocr/ocr0.c if( get_bw(x0,x0,y0 ,y1 ,box1->p,cs,2) != 2 get_bw 4205 lib/gocr/ocr0.c && get_bw(x0,x1,y0 ,y0 ,box1->p,cs,2) != 2 get_bw 4206 lib/gocr/ocr0.c && get_bw(x0,x1,y1 ,y1 ,box1->p,cs,2) != 2 get_bw 4207 lib/gocr/ocr0.c && get_bw(x1-dx/4,x1,y0+1+dy/16,y1-1-dy/16,box1->p,cs,1) != 1 ) Break; /* ~[ */ get_bw 4252 lib/gocr/ocr0.c if( get_bw(x0,x1,y0,y1,box1->p,cs,2) == 0 ) ad=99*ad/100; get_bw 4265 lib/gocr/ocr0.c if( get_bw(x0,x0,y1,y1,box1->p,cs,2) == 0 ) ad=99*ad/100; get_bw 4266 lib/gocr/ocr0.c if( get_bw(x1,x1,y1,y1,box1->p,cs,2) == 0 ) ad=99*ad/100; get_bw 4304 lib/gocr/ocr0.c if( get_bw(x0 , x0+dx/2,y0+dy/2 , y0+dy/2,box1->p,cs,1) != 1 ) Break; get_bw 4305 lib/gocr/ocr0.c if( get_bw(x1-dx/2 , x1 ,y0+dy/2 , y0+dy/2,box1->p,cs,1) != 1 ) Break; get_bw 4306 lib/gocr/ocr0.c if( get_bw(x0+dx/2 , x0+dx/2,y1-dy/2 , y1, box1->p,cs,1) != 1 ) Break; get_bw 4307 lib/gocr/ocr0.c if( get_bw(x0+dx/2 , x0+dx/2,y0 , y0+dy/2,box1->p,cs,1) != 1 ) Break; get_bw 4308 lib/gocr/ocr0.c if( get_bw(x0+dx/2 , x0+dx/2,y0+dy/2 , y1-dy/3,box1->p,cs,1) != 0 ) Break; get_bw 4344 lib/gocr/ocr0.c if( get_bw(x1-dx/32,x1,y0,y0+dy/32,box1->p,cs,1) == 0 get_bw 4345 lib/gocr/ocr0.c && get_bw(x1-dx/32,x1,y1-dy/32,y1,box1->p,cs,1) == 0 get_bw 4347 lib/gocr/ocr0.c && ( get_bw(0,dx/32,0,dy/32,bp,cs,1) == 1 get_bw 4348 lib/gocr/ocr0.c || get_bw(x0,x0+dx/32,y1-dy/32,y1,box1->p,cs,1) == 1 ) ) Break; // ~D get_bw 4402 lib/gocr/ocr0.c if( get_bw(0 , dx/2,3*dy/4,3*dy/4,bp,cs,1) != 1 ) Break; get_bw 4403 lib/gocr/ocr0.c if( get_bw(0 , dx/2, dy/2, dy/2,bp,cs,1) < 1 ) Break; get_bw 4404 lib/gocr/ocr0.c if( get_bw(dx/4, dx-1, dy/4, dy/4,bp,cs,1) != 1 ) Break; get_bw 4433 lib/gocr/ocr0.c if( get_bw(3*dx/4,dx-1, y , dy-1,bp,cs,1) == 1 ) Break; get_bw 4474 lib/gocr/ocr0.c if( get_bw(x0 ,x0+dx/3,y0+dy/3,y0+dy/3,box1->p,cs,1) != 1 ) Break; get_bw 4475 lib/gocr/ocr0.c if( get_bw(x1-dx/3,x1 ,y0+dy/3,y0+dy/3,box1->p,cs,1) != 1 ) Break; get_bw 4476 lib/gocr/ocr0.c if( get_bw(x0+dx/2,x0+dx/2,y1-dy/3,y1, box1->p,cs,1) != 1 ) Break; get_bw 4477 lib/gocr/ocr0.c if( get_bw(x0+dx/2,x0+dx/2,y0 ,y0+dy/4,box1->p,cs,1) != 1 ) Break; get_bw 4478 lib/gocr/ocr0.c if( get_bw(x0+dx/2,x0+dx/2,y0+dy/3,y1-dy/2,box1->p,cs,1) == 1 ) Break; get_bw 4479 lib/gocr/ocr0.c if( get_bw(x1 ,x1 ,y0 ,y0 ,box1->p,cs,1) == 1 ) Break; //alpha get_bw 4485 lib/gocr/ocr0.c if( get_bw(x1 ,x1 ,y1-dy/8 , y1 ,box1->p,cs,1) == 0 ) get_bw 4522 lib/gocr/ocr0.c if( get_bw(0,dx/2,dy-1-j/2,dy-1-j/2,bp,cs,1) == 1 ) { // ~RA get_bw 4572 lib/gocr/ocr0.c if( get_bw(x1-dx/3, x1, y0+dy/3, y0+dy/3,box1->p,cs,1) != 1 ) Break; get_bw 4573 lib/gocr/ocr0.c if( get_bw(x0, x0+dx/3, y0+dy/3, y0+dy/3,box1->p,cs,1) != 1 ) Break; get_bw 4574 lib/gocr/ocr0.c if( get_bw(x0, x0+dx/4, y1-dy/8, y1-dy/9,box1->p,cs,1) == 1 ) Break; get_bw 4575 lib/gocr/ocr0.c if( get_bw(x0, x0+dx/4, y1-dy/5, y1-dy/9,box1->p,cs,1) == 1 ) ad=99*ad/100; get_bw 4584 lib/gocr/ocr0.c && get_bw(dx/4,dx/4,dy-1-dy/4,dy-1,bp,cs,1)==1 ) Break; // ~\it g get_bw 4628 lib/gocr/ocr0.c if( get_bw(x0,x1,y0,(box1->m1+box1->m2)/2,box1->p,cs,1) == 1 ) get_bw 4629 lib/gocr/ocr0.c if( get_bw(x0,x1,y1-i ,y1-i ,box1->p,cs,1) == 0 get_bw 4630 lib/gocr/ocr0.c || get_bw(x0,x1,y1-i-1,y1-i-1,box1->p,cs,1) == 0 get_bw 4631 lib/gocr/ocr0.c || get_bw(x0,x1,y1-i-2,y1-i-2,box1->p,cs,1) == 0 ) get_bw 4641 lib/gocr/ocr0.c for (y=ya;2*y<ya+y1;y++) if( get_bw(x0,x1,y,y,box1->p,cs,1) == 1 ) break; get_bw 4645 lib/gocr/ocr0.c for ( ;2*y<y1+ya;y++) if( get_bw(x0,x1,y,y,box1->p,cs,1) != 1 ) break; get_bw 4647 lib/gocr/ocr0.c for ( ;2*y<y1+ya;y++) if( get_bw(x0,x1,y,y,box1->p,cs,1) == 1 ) break; get_bw 4658 lib/gocr/ocr0.c for (y=y1;y>ya;y--) if( get_bw(x0,x1,y,y,box1->p,cs,1) != 1 ) break; get_bw 4724 lib/gocr/ocr0.c for(y=ya;2*y<ya+y1;y++) if( get_bw(x0,x1,y,y,box1->p,cs,1) == 1 ) break; get_bw 4728 lib/gocr/ocr0.c for( ;2*y<y1+ya;y++) if( get_bw(x0,x1,y,y,box1->p,cs,1) != 1 ) break; get_bw 4730 lib/gocr/ocr0.c for( ;2*y<y1+ya;y++) if( get_bw(x0,x1,y,y,box1->p,cs,1) == 1 ) break; get_bw 4738 lib/gocr/ocr0.c for(y=(ya+y1)/2;y<=y1;y++) if( get_bw(x0,x1,y,y,box1->p,cs,1) != 1 ) break; get_bw 4861 lib/gocr/ocr0.c if( get_bw(dx/4,dx/4, 0,dy/4,bp,cs,1) == 1 get_bw 4862 lib/gocr/ocr0.c && get_bw(dx/4,dx/4,dy/2,dy-1,bp,cs,1) == 0 ) Break; get_bw 4868 lib/gocr/ocr0.c if( get_bw(x1,x1,y0 ,y1 ,box1->p,cs,2) != 2 get_bw 4869 lib/gocr/ocr0.c && get_bw(x0,x1,y0 ,y0 ,box1->p,cs,2) != 2 get_bw 4870 lib/gocr/ocr0.c && get_bw(x0,x1,y1 ,y1 ,box1->p,cs,2) != 2 get_bw 4871 lib/gocr/ocr0.c && get_bw(x0,x0,y0+1,y1-1,box1->p,cs,1) != 1 ) Break; /* ~] */ get_bw 4895 lib/gocr/ocr0.c if( get_bw(x0+dx/8,x1-dx/8,box1->m1,(box1->m1+box1->m2)/2,box1->p,cs,1) == 1 ) get_bw 4904 lib/gocr/ocr0.c || get_bw(x1-i3/4,x1-i3/4,y0,y0+dy/4,box1->p,cs,1) != 1 get_bw 4905 lib/gocr/ocr0.c || get_bw(x0+i4/4,x0+i4/4,y1-dy/4,y1,box1->p,cs,1) != 1 ) get_bw 4909 lib/gocr/ocr0.c if ((dx>2 && get_bw(x0+1,x1-1,y1+1,box1->m4,box1->p,cs,1) == 1) get_bw 4910 lib/gocr/ocr0.c || (dx<3 && get_bw(x0 ,x1 ,y1+1,box1->m4,box1->p,cs,1) == 1)) { get_bw 4936 lib/gocr/ocr0.c if( get_bw(x0,x1,y0,y1,box1->p,cs,2) == 0 ) ad=99*ad/100; get_bw 5264 lib/gocr/ocr0.c if( get_bw(x0,x1,y0 ,y0 ,box1->p,cs,2) == 2 get_bw 5265 lib/gocr/ocr0.c && get_bw(x0,x1,y0+1,y0+1,box1->p,cs,2) == 2 ) {Break;}; get_bw 5266 lib/gocr/ocr0.c if( get_bw(x0,x1,y1 ,y1 ,box1->p,cs,2) == 2 get_bw 5267 lib/gocr/ocr0.c && get_bw(x0,x1,y1-1,y1-1,box1->p,cs,2) == 2 ) {Break;}; get_bw 5268 lib/gocr/ocr0.c if( get_bw(x0 ,x0,y0 ,y1 ,box1->p,cs,2) == 0 get_bw 5269 lib/gocr/ocr0.c || get_bw(x0+1 ,x0+1,y0 ,y1 ,box1->p,cs,2) == 0 ) get_bw 5270 lib/gocr/ocr0.c if( get_bw(x0+dx/2,x1,y0+dy/4,y1-dy/4,box1->p,cs,1) == 0 ) get_bw 5272 lib/gocr/ocr0.c if( get_bw(x1 ,x1,y0 ,y1 ,box1->p,cs,2) == 0 get_bw 5273 lib/gocr/ocr0.c || get_bw(x1-1 ,x1-1,y0 ,y1 ,box1->p,cs,2) == 0 ) get_bw 5274 lib/gocr/ocr0.c if( get_bw(x0,x1-dx/2,y0+dy/4,y1-dy/4,box1->p,cs,1) == 0 ) get_bw 5344 lib/gocr/ocr0.c if( get_bw((3*x0+5*x1)/8,x1,y0+3*dy/16,y1-3*dy/16,box1->p,cs,1) == 0) get_bw 5346 lib/gocr/ocr0.c if( get_bw(x0,(5*x0+3*x1)/8,y0+3*dy/16,y1-3*dy/16,box1->p,cs,1) == 0) get_bw 5371 lib/gocr/ocr0.c if ( get_bw(x0,x0,y0,y0+dy/4,box1->p,cs,1) == 1 get_bw 5372 lib/gocr/ocr0.c || get_bw(x0,x0,y1-dy/4,y1,box1->p,cs,1) == 1 ) Break; get_bw 5394 lib/gocr/ocr0.c if ( get_bw(x1,x1,y0,y0+dy/4,box1->p,cs,1) == 1 get_bw 5395 lib/gocr/ocr0.c || get_bw(x1,x1,y1-dy/4,y1,box1->p,cs,1) == 1 ) Break; get_bw 5455 lib/gocr/ocr0.c if( get_bw(x0,x0+dx/2,y,y,box1->p,cs,1) == 0 ) i--; get_bw 5457 lib/gocr/ocr0.c if( get_bw(x1-dx/2,x1,y,y,box1->p,cs,1) == 0 ) i--; get_bw 5469 lib/gocr/ocr0.c if( get_bw(x1-dx/6,x1,y,y,box1->p,cs,1) == 1 ) break; get_bw 5473 lib/gocr/ocr0.c if( get_bw(x1-dx/6,x1,y,y,box1->p,cs,1) == 1 ) break; get_bw 5479 lib/gocr/ocr0.c && get_bw(x1-dx/8,x1-dx/8,y,y1,box1->p,cs,1) == 1 ) break; get_bw 5498 lib/gocr/ocr0.c if( get_bw(x,x,y0,y0+dy/4,box1->p,cs,1) == 0 ) break; get_bw 5515 lib/gocr/ocr0.c if( get_bw(x0,x0+xa,y0,y0+ya,box1->p,cs,1) == 1 ) Break; get_bw 5516 lib/gocr/ocr0.c if( get_bw(x0,x0+xa,y1-ya,y1,box1->p,cs,1) == 1 ) Break; get_bw 5517 lib/gocr/ocr0.c if( get_bw(x1-xb,x1,y0,y0+ya,box1->p,cs,1) == 1 ) Break; get_bw 5518 lib/gocr/ocr0.c if( get_bw(x1-xa,x1,y1-ya,y1,box1->p,cs,1) == 1 ) Break; get_bw 5520 lib/gocr/ocr0.c if( get_bw(x0+dx/9,x1-dx/9,y,y,box1->p,cs,2) == 0 ) { i=y; break; } get_bw 5534 lib/gocr/ocr0.c if( get_bw(x0,x0+dx/5,y0 ,y0+dy/18,box1->p,cs,1) == 1 ) Break; get_bw 5535 lib/gocr/ocr0.c if( get_bw(x0,x0+dx/9,y1-dy/23,y1 ,box1->p,cs,1) == 1 ) Break; get_bw 5536 lib/gocr/ocr0.c if( get_bw(x1-dx/9,x1,y0 ,y0+dy/18,box1->p,cs,1) == 1 ) Break; get_bw 5537 lib/gocr/ocr0.c if( get_bw(x1-dx/5,x1,y1-dy/23,y1 ,box1->p,cs,1) == 1 ) Break; get_bw 5538 lib/gocr/ocr0.c if( get_bw(x0,x0+dx/3,y0+dy/3 ,y0+dy/2 ,box1->p,cs,1) != 1 ) Break; get_bw 5539 lib/gocr/ocr0.c if( get_bw(x1-dx/3,x1,y1-dy/2 ,y1-dy/3 ,box1->p,cs,1) != 1 ) Break; get_bw 5564 lib/gocr/ocr0.c if( get_bw(x1-dx/9,x1,y0,y0+dy/4,box1->p,cs,1) == 1 ) Break; // g get_bw 5620 lib/gocr/ocr0.c if( get_bw(x0, x1, y, y,box1->p,cs,1) != 1 ) break; // lower end get_bw 5624 lib/gocr/ocr0.c if (get_bw(x0+1,x1-1,y1+1,box1->m4,box1->p,cs,1) != 1 ) Break; get_bw 5627 lib/gocr/ocr0.c if( get_bw(x0, x1,i1,i1,box1->p,cs,1) == 1 ) break; // lower dot get_bw 5636 lib/gocr/ocr0.c if( get_bw(x0,x1,y,y,box1->p,cs,1) == 0 ) break; get_bw 5639 lib/gocr/ocr0.c if( get_bw(x0,x1,y,y,box1->p,cs,1) == 1 ) break; get_bw 5640 lib/gocr/ocr0.c if( get_bw(x0,x1,y,y,box1->p,cs,1) != 1 ) Break; get_bw 5641 lib/gocr/ocr0.c if( get_bw(x0+7*dx/8,x1,y,i1,box1->p,cs,1) == 1 ) Break; // broken thin 2 get_bw 5654 lib/gocr/ocr0.c if( get_bw(x0, x1, y, y,box1->p,cs,1) != 1 ) break; // lower end get_bw 5659 lib/gocr/ocr0.c if ((dx>2 && get_bw(x0+1,x1-1,y1+1,box1->m4,box1->p,cs,1) == 1) get_bw 5660 lib/gocr/ocr0.c || (dx<3 && get_bw(x0 ,x1 ,y1+1,box1->m4,box1->p,cs,1) == 1 )) { get_bw 5663 lib/gocr/ocr0.c if( get_bw(x0, x1,i1,i1,box1->p,cs,1) == 1 ) break; // lower dot get_bw 5690 lib/gocr/ocr0.c if (get_bw(x,x,0,y,bp,cs,2)==2) Break; get_bw 5694 lib/gocr/ocr0.c if (get_bw(0,dx-1,y ,y ,bp,cs,2)==2 get_bw 5695 lib/gocr/ocr0.c && get_bw(0,dx-1,y+1,y+1,bp,cs,2)==2) Break; get_bw 5703 lib/gocr/ocr0.c dbg[4]=i=get_bw( x, x,dy-1-dy/8,dy-1,bp,cs,1); if(i==1) Break; get_bw 5781 lib/gocr/ocr0.c if( get_bw( 0,dx/2,3*dy/4,3*dy/4,bp,cs,1) == 1 ) break; get_bw 5782 lib/gocr/ocr0.c if( get_bw(3*dx/4,dx-1,3*dy/4,3*dy/4,bp,cs,1) == 0 ) break; get_bw 5783 lib/gocr/ocr0.c if( get_bw( 0,dx/4, dy/4, dy/4,bp,cs,1) == 0 ) break; get_bw 5784 lib/gocr/ocr0.c if( get_bw( dx/2,dx-1, dy/4, dy/4,bp,cs,1) == 1 ) break; get_bw 5785 lib/gocr/ocr0.c if( get_bw(dx/2,dx/2, 0, dy/4,bp,cs,1) == 0 ) break; get_bw 5786 lib/gocr/ocr0.c if( get_bw(dx/2,dx/2,dy-1-dy/4, dy-1,bp,cs,1) == 0 ) break; get_bw 5858 lib/gocr/ocr0.c if( get_bw( x, x,y0 ,y0+dy/4,box1->p,cs,1) == 0 ) i=0; get_bw 5861 lib/gocr/ocr0.c if( get_bw( x, x,y1-dy/4,y1 ,box1->p,cs,1) == 0 ) i=0; get_bw 5873 lib/gocr/ocr0.c if( get_bw(x1-dx/8, x1 , y0, y0+dy/8,box1->p,cs,1) != 1 ) break; get_bw 5874 lib/gocr/ocr0.c if( get_bw(x0 , x0+dx/8, y1-dy/8, y1,box1->p,cs,1) != 1 ) break; get_bw 6131 lib/gocr/ocr0.c if( get_bw(x0,x1,y0,y1,box1->p,cs,2) != 0 ) break; get_bw 6142 lib/gocr/ocr0.c if( get_bw(x0+dx/8,x1-dx/8,y0+dy/9,y1-dy/9,box1->p,cs,2) != 0 ) break; get_bw 6144 lib/gocr/ocr0.c if( get_bw(x0 ,x0+dx/8,y0+dy/9,y1-dy/9,box1->p,cs,2) != 0 ) ad=99*ad/100; get_bw 6145 lib/gocr/ocr0.c if( get_bw(x1-dx/8,x1 ,y0+dy/9,y1-dy/9,box1->p,cs,2) != 0 ) ad=99*ad/100; get_bw 6146 lib/gocr/ocr0.c if( get_bw(x0+dx/8,x1-dx/8,y0 ,y0+dy/8,box1->p,cs,2) != 0 ) ad=99*ad/100; get_bw 6147 lib/gocr/ocr0.c if( get_bw(x0+dx/8,x1-dx/8,y1-dy/8,y1 ,box1->p,cs,2) != 0 ) ad=99*ad/100; get_bw 6182 lib/gocr/ocr0.c if ( get_bw(x0+x,x0+x,y0+dy/8,y1-dy/8,box1->p,cs,2) != 2 ) break; get_bw 6193 lib/gocr/ocr0.c if( get_bw(x0 , x0+dx/2,y0+dy/2 , y0+dy/2,box1->p,cs,1) != 1 ) Break; get_bw 6194 lib/gocr/ocr0.c if( get_bw(x1-dx/2 , x1 ,y0+dy/2 , y0+dy/2,box1->p,cs,1) != 1 ) Break; get_bw 6195 lib/gocr/ocr0.c if( get_bw(x0+dx/2 , x0+dx/2,y0 , y0+dy/2,box1->p,cs,1) != 1 ) Break; get_bw 6196 lib/gocr/ocr0.c if( get_bw(x0+dx/2 , x0+dx/2,y0+dy/3 , y1-dy/3,box1->p,cs,1) != 0 ) Break; get_bw 6307 lib/gocr/ocr0.c if( get_bw(x0,x1,y,y,box1->p,cs,1)==0 ) break; get_bw 6309 lib/gocr/ocr0.c if( get_bw((x0+x1)/2,(x0+x1)/2,y,box1->m4,box1->p,cs,1)==0 ){ get_bw 6327 lib/gocr/ocr0.c if( get_bw(x0+dx/8+1,x1-dx/8-1,y0+dy/8+((dy>2)?1:0), get_bw 6348 lib/gocr/ocr0.c if( get_bw(x0+dx/10,x1-dx/10,y ,y ,box1->p,cs,1)==1 ) break; get_bw 6349 lib/gocr/ocr0.c if( get_bw(x0+dx/10,x1-dx/10,y ,y ,box1->p,cs,2)==2 ) break; get_bw 6350 lib/gocr/ocr0.c if( get_bw(x0 ,x1 ,(y+y1)/2,(y+y1)/2,box1->p,cs,1)==1 ) break; get_bw 6351 lib/gocr/ocr0.c if( get_bw(x0+dx/10,x1-dx/10,y1 ,y1 ,box1->p,cs,2)==2 ) break; get_bw 6361 lib/gocr/ocr0.c if( get_bw(x0+dx/8,x1-dx/8,y0+i1,y0+i1,box1->p,cs,1)==0 ) break; get_bw 6364 lib/gocr/ocr0.c if( get_bw(x0+dx/8,x1-dx/8,y1-i2,y1-i2,box1->p,cs,1)==0 ) break; get_bw 6389 lib/gocr/ocr0.c if( get_bw(x0,x1,y0+i1,y0+i1,box1->p,cs,1)==0 ) break; get_bw 6392 lib/gocr/ocr0.c if( get_bw(x0,x1,y1-i2,y1-i2,box1->p,cs,1)==0 ) break; get_bw 6433 lib/gocr/ocr0.c || get_bw(0,dx/2,dy/2,dy-1,bp,cs,1)==0) ){ // ocr-a-, get_bw 6461 lib/gocr/ocr0.c if (get_bw(x0,x1,(box1->m2+box1->m3)/2,box1->m4,box1->p,cs,1)!=0) get_bw 6467 lib/gocr/ocr0.c if ( get_bw((x0+x1)/2,(x0+x1)/2,y0,y1,box1->p,cs,1)!=0 ) ad=96*ad/100; get_bw 6517 lib/gocr/ocr0.c for(;y<y0+dy/2;y++)if( get_bw(x0+dx/4,x1,y,y,box1->p,cs,1)==1) break; get_bw 6520 lib/gocr/ocr0.c for(;y<y0+dy/2;y++)if( get_bw(x0,x1,y,y,box1->p,cs,1)==0) break; get_bw 6532 lib/gocr/ocr0.c if( get_bw(x0,x1,y,y,box1->p,cs,1)==0) { y0=y; dy=y1-y0+1; break; } // scan "a "o "u get_bw 289 lib/gocr/ocr0n.c || get_bw(x1+1,x1+2,y0,y0+dy/8,box1->p,cs,1)==1 ) Break; // Mai00 get_bw 291 lib/gocr/ocr0n.c && get_bw(x1-dx/4,x1,y1-1,y1,box1->p,cs,1)==1 ) Break; // ~z Jun00 get_bw 365 lib/gocr/ocr0n.c if( get_bw(x0+dx/2, x0+dx/2 , y1-dy/5, y1 ,box1->p,cs,1) != 1 ) Break; get_bw 366 lib/gocr/ocr0n.c if( get_bw(x0+dx/2, x0+dx/2 , y0 , y0+dy/5,box1->p,cs,1) != 1 ) Break; get_bw 367 lib/gocr/ocr0n.c if( get_bw(x0+dx/8, x1-dx/3 , y1-dy/3, y1-dy/3,box1->p,cs,1) != 1 ) Break; get_bw 369 lib/gocr/ocr0n.c if( get_bw(x1-dx/3, x1 , y0+dy/3 , y0+dy/3,box1->p,cs,1) != 1 ) Break; get_bw 370 lib/gocr/ocr0n.c if( get_bw(x0 , x0+dx/ 8, y1-dy/16, y1 ,box1->p,cs,1) != 1 ) Break; get_bw 372 lib/gocr/ocr0n.c if( get_bw(x0, x0+dx/9 , y0 , y0 ,box1->p,cs,1) == 1 get_bw 373 lib/gocr/ocr0n.c && get_bw(x0, x0+dx/2 ,y0+3*dy/16,y0+3*dy/16,box1->p,cs,1) == 1 ) Break; get_bw 374 lib/gocr/ocr0n.c if( get_bw(x0, x0+dx/9 , y0 , y0 ,box1->p,cs,1) get_bw 375 lib/gocr/ocr0n.c != get_bw(x1-dx/9, x1 , y0 , y0 ,box1->p,cs,1) ) get_bw 392 lib/gocr/ocr0n.c if( get_bw( x0, x0+dx/3, y, y,box1->p,cs,1) == 0 ) i=0; get_bw 544 lib/gocr/ocr0n.c if( get_bw(dx/2,dx/2, 0,dy/6,bp,cs,1) == 0 ) Break; // ~4 get_bw 545 lib/gocr/ocr0n.c if( get_bw(dx/2,dx-1, dy/6,dy/6,bp,cs,1) == 0 ) Break; // ~j get_bw 546 lib/gocr/ocr0n.c if( get_bw(dx/2,dx/2,dy-1-dy/8,dy-1,bp,cs,1) == 0 ) Break; // ~4 get_bw 581 lib/gocr/ocr0n.c if( get_bw(i3,i3,i1,i2 ,bp,cs,1) != 1 ) Break; get_bw 582 lib/gocr/ocr0n.c if( get_bw(i4,i4,i1,i2 ,bp,cs,1) != 1 ) Break; get_bw 583 lib/gocr/ocr0n.c if( get_bw(i3,i3,0 ,i1 ,bp,cs,1) != 1 ) Break; get_bw 584 lib/gocr/ocr0n.c if( get_bw(i4,i4,i1,dy-1,bp,cs,1) != 1 ) Break; // m like get_bw 751 lib/gocr/ocr0n.c if( get_bw(x0 , x0+3*dx/8, y1-dy/7, y1-dy/7,box1->p,cs,1) == 1 ) Break; get_bw 752 lib/gocr/ocr0n.c if( get_bw(x0+dx/2, x1 , y1-dy/3, y1-dy/3,box1->p,cs,1) != 1 ) Break; get_bw 753 lib/gocr/ocr0n.c if( get_bw(x0+dx/2, x0+dx/2, y0+dy/3, y1-dy/5,box1->p,cs,1) != 1 ) Break; get_bw 926 lib/gocr/ocr0n.c if( get_bw(x0,x0+dx/4,y1-dy/4,y1-dy/4,box1->p,cs,1) == 0 ) Break; // ~9 get_bw 927 lib/gocr/ocr0n.c if( get_bw(x0,x0+dx/2,y0+dy/4,y0+dy/4,box1->p,cs,1) == 0 ) Break; get_bw 928 lib/gocr/ocr0n.c if( get_bw(x0+dx/2,x0+dx/2,y0+dy/4,y1-dy/4,box1->p,cs,1) == 0 ) Break; // ~0 get_bw 1084 lib/gocr/ocr0n.c if( get_bw(x0 , x0+dx/3,y0+dy/2 , y0+dy/2,box1->p,cs,1) != 1 ) Break; get_bw 1085 lib/gocr/ocr0n.c if( get_bw(x1-dx/3 , x1 ,y0+dy/2 , y0+dy/2,box1->p,cs,1) != 1 ) Break; get_bw 1087 lib/gocr/ocr0n.c if( get_bw(x0 , x1 ,y0+dy/2 , y0+dy/2,box1->p,cs,1) != 3 ) ad=99; get_bw 1088 lib/gocr/ocr0n.c if( get_bw(x0+dx/2 , x0+dx/2,y1-dy/3 , y1,box1->p,cs,1) != 1 ) Break; get_bw 1089 lib/gocr/ocr0n.c if( get_bw(x0+dx/2 , x0+dx/2,y0 , y0+dy/3,box1->p,cs,1) != 1 ) Break; get_bw 1091 lib/gocr/ocr0n.c if( get_bw(x0+dx/2 , x0+dx/2,y0+dy/3 , y1-dy/3,box1->p,cs,1) != 0 ) Break; get_bw 1134 lib/gocr/ocr0n.c if( get_bw(x1-dx/32,x1,y0,y0+dy/32,box1->p,cs,1) == 0 get_bw 1135 lib/gocr/ocr0n.c && get_bw(x1-dx/32,x1,y1-dy/32,y1,box1->p,cs,1) == 0 get_bw 1136 lib/gocr/ocr0n.c && ( get_bw(x0,x0+dx/32,y0,y0+dy/32,box1->p,cs,1) == 1 get_bw 1137 lib/gocr/ocr0n.c || get_bw(x0,x0+dx/32,y1-dy/32,y1,box1->p,cs,1) == 1 ) ) { get_bw 1177 lib/gocr/ocr0n.c if( get_bw(x0 , x0+dx/2,y0+dy/2 , y0+dy/2,box1->p,cs,1) != 1 ) Break; get_bw 1178 lib/gocr/ocr0n.c if( get_bw(x1-dx/2 , x1 ,y0+dy/2 , y0+dy/2,box1->p,cs,1) != 1 ) Break; get_bw 1179 lib/gocr/ocr0n.c if( get_bw(x0+dx/2 , x0+dx/2,y1-dy/2 , y1,box1->p,cs,1) != 1 ) Break; get_bw 1180 lib/gocr/ocr0n.c if( get_bw(x0+dx/2 , x0+dx/2,y0 , y0+dy/2,box1->p,cs,1) != 1 ) Break; get_bw 1181 lib/gocr/ocr0n.c if( get_bw(x0+dx/2 , x0+dx/2,y0+dy/3 , y1-dy/3,box1->p,cs,1) != 1 ) Break; get_bw 1236 lib/gocr/ocr0n.c if( get_bw(x1-dx/32,x1,y0,y0+dy/32,box1->p,cs,1) == 0 get_bw 1237 lib/gocr/ocr0n.c && get_bw(x1-dx/32,x1,y1-dy/32,y1,box1->p,cs,1) == 0 get_bw 1238 lib/gocr/ocr0n.c && ( get_bw(x0,x0+dx/32,y0,y0+dy/32,box1->p,cs,1) == 1 get_bw 1239 lib/gocr/ocr0n.c || get_bw(x0,x0+dx/32,y1-dy/32,y1,box1->p,cs,1) == 1 ) ) Break; // ~D get_bw 1166 lib/gocr/pgm2asc.c while( get_bw(x0,x1,y0,y0,p,cs,1)!=1 && y0+1<y1) y0++; get_bw 1167 lib/gocr/pgm2asc.c while( get_bw(x0,x1,y1,y1,p,cs,1)!=1 && y0+1<y1) y1--; get_bw 1185 lib/gocr/pgm2asc.c while( get_bw(x0,x1,y0,y0,p,cs,1)==0 && y0+1<y1) y0++; get_bw 1186 lib/gocr/pgm2asc.c while( get_bw(x0,x1,y1,y1,p,cs,1)==0 && y0+1<y1) y1--; get_bw 1187 lib/gocr/pgm2asc.c while( get_bw(x0,x0,y0,y1,p,cs,1)==0 && x0+1<x1) x0++; get_bw 1188 lib/gocr/pgm2asc.c while( get_bw(x1,x1,y0,y1,p,cs,1)==0 && x0+1<x1) x1--; get_bw 1804 lib/gocr/pgm2asc.c if( get_bw(x0 ,x0 ,y1,y1 ,pp,cs,1) == 1) get_bw 1805 lib/gocr/pgm2asc.c if( get_bw(x0-2,x0-1,y1,y1+2,pp,cs,1) == 1) get_bw 1824 lib/gocr/pgm2asc.c if( get_bw((3*x0+x1)/4,(3*x0+x1)/4,(3*y0+y1)/4,y1,pp,cs,1) == 0) get_bw 1825 lib/gocr/pgm2asc.c if( get_bw(x0,(3*x0+x1)/4,(3*y0+y1)/4,(y0+3*y1)/4,pp,cs,1) == 0) get_bw 1826 lib/gocr/pgm2asc.c if( get_bw(x0, x0, y0,(3*y0+y1)/4,pp,cs,1) == 1) get_bw 146 lib/gocr/remove.c if(get_bw((3*x0+x1)/4,(x0+3*x1)/4,y1+y1-y0+1,y1+8*(y1-y0+1),pp,cs,1)) get_bw 529 lib/gocr/remove.c if( get_bw(j2 ,j2 ,y0,(y0+y1)/2,pp,cs,1) == 0 get_bw 530 lib/gocr/remove.c && get_bw(j2+xb,j2+xb,(y0+y1)/2,i3,pp,cs,1) == 0 ) get_bw 594 lib/gocr/remove.c if( get_bw(j2 ,j2 ,(y0+y1)/2,y1,pp,cs,1) == 0 get_bw 595 lib/gocr/remove.c && get_bw(j2+xb,j2+xb,y0,(y0+y1)/2,pp,cs,1) == 0 )