Lines Matching full:pixels
37 static bool fb_bitmap_image(void *iterator, unsigned long *pixels, int *bits) in fb_bitmap_image() argument
45 *pixels = iter->colors[(iter->data[byte] >> bit) & 1]; in fb_bitmap_image()
62 static bool fb_color_image(void *iterator, unsigned long *pixels, int *bits) in fb_color_image() argument
71 *pixels = color << iter->shift; in fb_color_image()
73 *pixels = fb_reverse_bits_long(*pixels); in fb_color_image()
81 /* bitmap image iterator, 4 pixels at a time */
91 static bool fb_bitmap4x_image(void *iterator, unsigned long *pixels, int *bits) in fb_bitmap4x_image() argument
119 *pixels = (iter->fgxcolor & iter->expand[data]) ^ iter->bgcolor; in fb_bitmap4x_image()
121 *pixels <<= BITS_PER_LONG - *bits; in fb_bitmap4x_image()
126 /* draw a line a group of pixels at a time */
127 static __always_inline void fb_bitblit(bool (*get)(void *iter, unsigned long *pixels, in fb_bitblit() argument
132 unsigned long pixels, val, mask, old; in fb_bitblit() local
145 while (get(iter, &pixels, &bits)) { in fb_bitblit()
146 val |= fb_right(pixels, shift); in fb_bitblit()
155 val = !shift ? 0 : fb_left(pixels, bits - shift); in fb_bitblit()
214 /* draw a 2 color image four pixels at a time (for 1-8 bpp only) */