Lines Matching defs:pixel
1080 cs3_pixel_t pixel;
1125 for (pixel = 0; pixel < s->n_lut; pixel++)
1126 ((SANE_Word *) v)[pixel] = s->lut_r[pixel];
1131 for (pixel = 0; pixel < s->n_lut; pixel++)
1132 ((SANE_Word *) v)[pixel] = s->lut_g[pixel];
1137 for (pixel = 0; pixel < s->n_lut; pixel++)
1138 ((SANE_Word *) v)[pixel] = s->lut_b[pixel];
1293 for (pixel = 0; pixel < s->n_lut; pixel++)
1294 s->lut_r[pixel] = ((SANE_Word *) v)[pixel];
1299 for (pixel = 0; pixel < s->n_lut; pixel++)
1300 s->lut_g[pixel] = ((SANE_Word *) v)[pixel];
1305 for (pixel = 0; pixel < s->n_lut; pixel++)
1306 s->lut_b[pixel] = ((SANE_Word *) v)[pixel];
1692 "BUG: sane_read(): Unknown number of bytes per pixel.\n");
2435 cs3_pixel_t pixel;
2470 for (pixel = 0; pixel < s->n_lut; pixel++) {
2471 s->lut_r[pixel] = s->lut_g[pixel] = s->lut_b[pixel] =
2472 s->lut_neutral[pixel] = pixel;
2943 cs3_pixel_t *lut, pixel;
2980 for (pixel = 0; pixel < s->n_lut; pixel++) { /* XXX 2 bytes per point */
2981 cs3_pack_word(s, lut[pixel]);
3030 cs3_pack_byte(s, s->real_depth); /* pixel composition */