Lines Matching defs:height
9055 * y movement and scan area height
9056 * height is scan area height
9058 * total move will be ypos+height */
9060 encodeHY (int height, int ypos, int *motor)
9062 motor[0] = height % 256;
9063 motor[1] = (height / 256) & 0x3F;
9246 DBG (0, "\t->scan height =0x%04X (%d)\n", scanh, scanh);
9247 DBG (0, "\t->skip height =0x%04X (%d)\n", skiph, skiph);
9402 DumpNB (int width, int height, unsigned char *data, char *name)
9422 fprintf (fic, "P5\n%d %d\n255\n", width, height);
9423 fwrite (data, width, height, fic);
9431 DumpRVB (int width, int height, unsigned char *data, char *name)
9452 fprintf (fic, "P6\n%d %d\n255\n", width, height);
9453 for (y = 0; y < height; y++)
9467 DumpRGB (int width, int height, unsigned char *data, char *name)
9483 fprintf (fic, "P6\n%d %d\n255\n", width, height);
9489 for (y = 0; y < height; y++)
9744 edgePosition (int width, int height, unsigned char *data)
9753 dbuffer = (unsigned char *) malloc (3 * width * height);
9754 memset (dbuffer, 0x00, 3 * width * height);
9766 for (y = 10; (y < height) && (data[i] > 10); y++)
9804 for (y = 0; y < height; y++)
9810 DumpRGB (width, height, dbuffer, NULL);
10209 sanei_umax_pp_scan (int x, int y, int width, int height, int dpi, int color,
10289 (x, y - dataoffset, width, height + dataoffset, dpi, color, gain,
10305 /* correct th to be usable scan height */
10563 sanei_umax_pp_startScan (int x, int y, int width, int height, int dpi,
10665 DBG (8, "startScan(%d,%d,%d,%d,%d,%d,%X);\n", x, y, width, height, dpi,
10818 th = (height * dpi) / hwdpi;
10865 /* round width and height */
10867 height = (th * hwdpi) / dpi;
10886 h = ((height * ydpi) / hwdpi) + 8;
10891 h = ((height * ydpi) / hwdpi) + 4;
11645 opsc48[0] = 0x05; /* B&H height is 5 */
11650 opsc48[0] = 0x05; /* color height is 5 (+4 ?) */
12517 /* picture height is scan area height minus y */
12754 /* picture height is scan area height minus y */