Lines Matching defs:bits_per_plane
62 int *x, int *y, int *plane, int bits_per_plane)
65 int shift = *plane * bits_per_plane;
66 unsigned mask = ((1U << bits_per_plane) - 1) << shift;
70 int pixels_per_value = 8/bits_per_plane;
76 for (j = 8-bits_per_plane; j >= 0; j -= bits_per_plane) {
87 value <<= bits_per_plane;
88 mask <<= bits_per_plane;
96 j = (j < bits_per_plane ? 8 : j) - bits_per_plane;
127 int bits_per_plane, bpp, etype, esize, npal, pos_after_pal;
142 bits_per_plane = tmp & 0xF;
144 bpp = bits_per_plane * s->nb_planes;
145 if (bits_per_plane > 8 || bpp < 1 || bpp > 32) {
247 if (bits_per_plane == 8) {
252 picmemset(s, frame, val, run, &x, &y, &plane, bits_per_plane);
262 if (bits_per_plane == 8)
265 picmemset(s, frame, val, run / (8 / bits_per_plane), &x, &y, &plane, bits_per_plane);