Lines Matching defs:left
62 SANE_Parameters * params, int dpi, SANE_Byte * buffer, int left);
275 int dpiX, int dpiY, int * top, int * bot, int * left, int * right)
322 /* loop thru left and right lists, look for top and bottom extremes */
373 *left = width;
376 if(*left > i){
377 *left = i;
387 *left = width;
409 /* could not find left/right edges */
410 if(*left > *right){
417 *top,*bot,*left,*right);
436 int top, int bot, int left, int right)
450 /*convert left and right to bytes, figure new byte and pixel width */
452 pixels = right-left;
454 left *= 3;
458 pixels = right-left;
459 bytes = right-left;
462 left /= 8;
464 bytes = right-left;
473 DBG (15, "sanei_magic_crop: l:%d r:%d p:%d b:%d\n",left,right,pixels,bytes);
483 memcpy(line, buffer + i*bwidth + left, bytes);
563 /* find best left line, perpendicular to top line */
571 DBG(15,"sanei_magic_findSkew: left: %04.04f %d %d\n",LSlope,LXInter,LYInter);
580 DBG(15,"sanei_magic_findSkew: left half: %04.04f %d\n",LSlopeHalf,LOffsetHalf);
820 /* skip the top and left 1/4 inch */
854 /* skip the top and left 1/4 inch */
1590 /* find the left side of paper by moving a line
1592 * the 'left-most' point on the paper is the
1812 SANE_Parameters * params, int dpi, SANE_Byte * buffer, int left)
1831 /* override for left-first*/
1832 if(left){