Lines Matching refs:bytes_per_pixel
252 int samples_per_scan, depth, real_depth, bytes_per_pixel, shift_bits,
1448 p->bytes_per_line = s->logical_width * s->bytes_per_pixel;
1454 s->n_colour_out * s->logical_width * s->bytes_per_pixel;
1458 p->depth = 8 * s->bytes_per_pixel;
1552 xfer_len_line = s->n_colour_out * s->logical_width * s->bytes_per_pixel;
1554 s->n_colour_in * s->logical_width * s->bytes_per_pixel +
1616 switch (s->bytes_per_pixel)
2637 s->bytes_per_pixel = (s->real_depth > 8 ? 2 : 1);
2638 s->shift_bits = 8 * s->bytes_per_pixel - s->real_depth;
2694 if ((s->bytes_per_pixel == 1) && (s->logical_width & 0x01)
2722 s->bytes_per_pixel * s->n_colour_out * s->logical_width *
2738 s->bytes_per_pixel * s->logical_width * s->logical_height;