Lines Matching refs:bytes_per_pixel
217 int samples_per_scan, depth, real_depth, bytes_per_pixel, shift_bits,
1436 s->n_colors * s->logical_width * s->bytes_per_pixel;
1451 p->depth = 8 * s->bytes_per_pixel;
1556 xfer_len_line = s->n_colors * s->logical_width * s->bytes_per_pixel;
1568 "%s: colors = %d, logical_width = %ld, bytes_per_pixel = %d\n",
1569 __func__, s->n_colors, s->logical_width, s->bytes_per_pixel);
1628 int where = s->bytes_per_pixel
1633 switch (s->bytes_per_pixel) {
2789 s->bytes_per_pixel = (s->real_depth > 8 ? 2 : 1);
2790 s->shift_bits = 8 * s->bytes_per_pixel - s->real_depth;
2793 s->real_depth, s->bytes_per_pixel, s->shift_bits);
2857 if ((s->bytes_per_pixel == 1) && (s->logical_width & 0x01)
2888 s->bytes_per_pixel * s->n_colors * s->logical_width *