Lines Matching refs:bits_per_plane
60 int *x, int *y, int *plane, int bits_per_plane)
63 int shift = *plane * bits_per_plane;
64 int mask = ((1 << bits_per_plane) - 1) << shift;
69 for (j = 8-bits_per_plane; j >= 0; j -= bits_per_plane) {
79 value <<= bits_per_plane;
80 mask <<= bits_per_plane;
105 int bits_per_plane, bpp, etype, esize, npal, pos_after_pal;
120 bits_per_plane = tmp & 0xF;
122 bpp = bits_per_plane * s->nb_planes;
123 if (bits_per_plane > 8 || bpp < 1 || bpp > 32) {
226 if (bits_per_plane == 8) {
231 picmemset(s, val, run, &x, &y, &plane, bits_per_plane);