Lines Matching refs:image
168 static inline void fb_color_imageblit(const struct fb_image *image, struct fb_address *dst, in fb_color_imageblit() argument
175 iter.data = (const u8 *)image->data; in fb_color_imageblit()
189 iter.width = image->width; in fb_color_imageblit()
192 height = image->height; in fb_color_imageblit()
215 static inline void fb_bitmap4x_imageblit(const struct fb_image *image, struct fb_address *dst, in fb_bitmap4x_imageblit() argument
235 iter.data = (const u8 *)image->data; in fb_bitmap4x_imageblit()
242 iter.width = image->width; in fb_bitmap4x_imageblit()
243 iter.i = image->width; in fb_bitmap4x_imageblit()
248 height = image->height; in fb_bitmap4x_imageblit()
256 static inline void fb_bitmap1x_imageblit(const struct fb_image *image, struct fb_address *dst, in fb_bitmap1x_imageblit() argument
269 iter.data = (const u8 *)image->data; in fb_bitmap1x_imageblit()
270 iter.width = image->width; in fb_bitmap1x_imageblit()
273 height = image->height; in fb_bitmap1x_imageblit()
281 static inline void fb_bitmap_1ppw(const struct fb_image *image, struct fb_address *dst, in fb_bitmap_1ppw() argument
286 const u8 *src = (u8 *)image->data; in fb_bitmap_1ppw()
287 int width = image->width; in fb_bitmap_1ppw()
299 height = image->height; in fb_bitmap_1ppw()
337 static inline void fb_bitmap_2ppw(const struct fb_image *image, struct fb_address *dst, in fb_bitmap_2ppw() argument
342 const u8 *src = (u8 *)image->data; in fb_bitmap_2ppw()
343 int width = image->width / 2; in fb_bitmap_2ppw()
359 height = image->height; in fb_bitmap_2ppw()
388 static inline void fb_bitmap_4ppw(const struct fb_image *image, struct fb_address *dst, in fb_bitmap_4ppw() argument
405 const u8 *src = (u8 *)image->data; in fb_bitmap_4ppw()
406 int width = image->width / 4; in fb_bitmap_4ppw()
427 height = image->height; in fb_bitmap_4ppw()
441 static inline void fb_bitmap_imageblit(const struct fb_image *image, struct fb_address *dst, in fb_bitmap_imageblit() argument
448 fgcolor = palette[image->fg_color]; in fb_bitmap_imageblit()
449 bgcolor = palette[image->bg_color]; in fb_bitmap_imageblit()
451 fgcolor = image->fg_color; in fb_bitmap_imageblit()
452 bgcolor = image->bg_color; in fb_bitmap_imageblit()
457 fb_bitmap_1ppw(image, dst, fgcolor, bgcolor, in fb_bitmap_imageblit()
461 if (bpp == BITS_PER_LONG/2 && !(image->width & 1)) { in fb_bitmap_imageblit()
462 fb_bitmap_2ppw(image, dst, fgcolor, bgcolor, in fb_bitmap_imageblit()
466 if (bpp == BITS_PER_LONG/4 && !(image->width & 3)) { in fb_bitmap_imageblit()
467 fb_bitmap_4ppw(image, dst, fgcolor, bgcolor, in fb_bitmap_imageblit()
474 fb_bitmap4x_imageblit(image, dst, fgcolor, bgcolor, bpp, in fb_bitmap_imageblit()
477 fb_bitmap1x_imageblit(image, dst, fgcolor, bgcolor, bpp, in fb_bitmap_imageblit()
481 static inline void fb_imageblit(struct fb_info *p, const struct fb_image *image) in fb_imageblit() argument
489 fb_address_forward(&dst, image->dy * bits_per_line + image->dx * bpp); in fb_imageblit()
491 if (image->depth == 1) in fb_imageblit()
492 fb_bitmap_imageblit(image, &dst, bits_per_line, palette, bpp, reverse); in fb_imageblit()
494 fb_color_imageblit(image, &dst, bits_per_line, palette, bpp, reverse); in fb_imageblit()