Lines Matching defs:height
64 static SANE_Status getTopEdge (int width, int height, int resolution,
67 static SANE_Status getLeftEdge (int width, int height, int * top, int * bot,
70 static SANE_Status getLine (int height, int width, int * buff,
281 int height = params->lines;
323 *top = height;
324 for(i=0; i<height; i++){
337 *top = height;
342 for(i=height-1; i>=0; i--){
509 int height = params->lines;
548 ret = getTopEdge (pwidth, height, dpiY, topBuf,
565 ret = getLeftEdge (pwidth, height, topBuf, botBuf, LSlope,
617 int height = params->lines;
625 outbuf = malloc(bwidth*height);
639 memset(outbuf,bg_color,bwidth*height);
641 for (i=0; i<height; i++) {
653 if (sourceY < 0 || sourceY >= height)
669 memset(outbuf,bg_color,bwidth*height);
671 for (i=0; i<height; i++) {
683 if (sourceY < 0 || sourceY >= height)
702 memcpy(buffer,outbuf,bwidth*height);
1268 getTopEdge(int width, int height, int resolution,
1308 ret = getLine(height,width,buff,slopes,minSlope+sStep2,maxSlope+sStep2,offsets,minOffset+oStep2,maxOffset+oStep2,&slope,&offset,&density);
1379 getLine (int height, int width, int * buff,
1409 (void) height;
1596 getLeftEdge (int width, int height, int * top, int * bot,
1613 if(top[i] < height){
1688 int height = params->lines;
1692 int firstLine = height-1;
1701 lastLine = height;
1742 if(farLine < 0 || farLine >= height){
1745 if(nearLine < 0 || nearLine >= height){
1808 /* Loop thru the image height and look for first color change in each row.
1821 int height = params->lines;
1839 buff = calloc(height,sizeof(int));
1844 for(i=0; i<height; i++)
1857 for(i=0; i<height; i++){
1902 for(i=0; i<height; i++){
1925 for(i=0;i<height-7;i++){