Lines Matching defs:pixel
1891 * The MSF-06000CZ seems to lock-up if the pixel-unit is used.
1920 /* pixel unit and halftoning: */
2048 /* Mode selection is accomplished solely by bits/pixel (1, 8, 24) */
2052 *cp++ = 24; /* 24 bits/pixel in color mode */
2057 *cp++ = 8; /* 8 bits/pixel in gray mode */
2062 *cp++ = 1; /* 1 bit/pixel in lineart mode */
3575 SANE_Int color, pixel, res, half_res, scale;
3695 for (pixel = 0; pixel < s->params.pixels_per_line; ++pixel)
3716 for (pixel = 0; pixel < bpc; ++pixel)
3724 for (pixel = 0; pixel < bpc; ++pixel)
3768 for (pixel = 0; pixel < s->params.pixels_per_line;
3769 ++pixel)
3792 for (pixel = 0; pixel < bpc; ++pixel)
3800 for (pixel = 0; pixel < bpc; ++pixel)
3919 SANE_Word pixel;
3922 for (pixel = 0; pixel < (num_lines * bpl / 2); pixel++)
3924 *(out + pixel * 2) = *(raw + pixel * 2) << 4;
3925 *(out + pixel * 2 + 1) = (*(raw + pixel * 2) >> 4) +
3926 (*(raw + pixel * 2 + 1) << 4);
3929 for (pixel = 0; pixel < (num_lines * bpl / 2); pixel++)
3931 *(out + pixel * 2) = (*(raw + pixel * 2) >> 4) +
3932 (*(raw + pixel * 2 + 1) << 4);
3933 *(out + pixel * 2 + 1) = *(raw + pixel * 2) << 4;
4642 /* convert to pixel-interleaved format: */