Lines Matching defs:width
2437 /* convert pixel width to horizontal location coordinates */
5473 * average a width*height rgb/monochrome area
5477 average_area (SANE_Byte * regs, SANE_Byte * data, int width, int height,
5492 for (x = 0; x < width; x++)
5495 rc += data[3 * width * y + x];
5496 gc += data[3 * width * y + width + x];
5497 bc += data[3 * width * y + 2 * width + x];
5499 global = (rc + gc + bc) / (3 * width * height);
5500 *ra = rc / (width * height);
5501 *ga = gc / (width * height);
5502 *ba = bc / (width * height);
5506 for (x = 0; x < width; x++)
5509 gc += data[width * y + x];
5511 global = gc / (width * height);
5512 *ga = gc / (width * height);