Lines Matching refs:image
56 static void color_imageblit(const struct fb_image *image, struct fb_info *p,
65 const u8 *src = image->data;
68 for (i = image->height; i--; ) {
69 n = image->width;
115 static void slow_imageblit(const struct fb_image *image, struct fb_info *p,
123 u32 spitch = (image->width+7)/8;
124 const u8 *src = image->data, *s;
131 for (i = image->height; i--; ) {
134 j = image->width;
185 * image->width is divisible by pixel/dword (ppw);
189 static void fast_imageblit(const struct fb_image *image, struct fb_info *p,
193 u32 ppw = 32/bpp, spitch = (image->width + 7)/8;
195 const char *s = image->data, *src;
222 k = image->width/ppw;
224 for (i = image->height; i--; ) {
243 void sys_imageblit(struct fb_info *p, const struct fb_image *image)
247 u32 width = image->width;
248 u32 dx = image->dx, dy = image->dy;
265 if (image->depth == 1) {
268 fgcolor = ((u32*)(p->pseudo_palette))[image->fg_color];
269 bgcolor = ((u32*)(p->pseudo_palette))[image->bg_color];
271 fgcolor = image->fg_color;
272 bgcolor = image->bg_color;
278 fast_imageblit(image, p, dst1, fgcolor, bgcolor);
280 slow_imageblit(image, p, dst1, fgcolor, bgcolor,
283 color_imageblit(image, p, dst1, start_index, pitch_index);