Lines Matching refs:bits_per_plane
61 int *x, int *y, int *plane, int bits_per_plane)
64 int shift = *plane * bits_per_plane;
65 int mask = ((1 << bits_per_plane) - 1) << shift;
70 for (j = 8-bits_per_plane; j >= 0; j -= bits_per_plane) {
80 value <<= bits_per_plane;
81 mask <<= bits_per_plane;
107 int bits_per_plane, bpp, etype, esize, npal, pos_after_pal;
122 bits_per_plane = tmp & 0xF;
124 bpp = bits_per_plane * s->nb_planes;
125 if (bits_per_plane > 8 || bpp < 1 || bpp > 32) {
229 if (bits_per_plane == 8) {
234 picmemset(s, frame, val, run, &x, &y, &plane, bits_per_plane);
241 if (bits_per_plane == 8)
244 picmemset(s, frame, val, run / (8 / bits_per_plane), &x, &y, &plane, bits_per_plane);