Lines Matching defs:image
135 /* image data is MSB-first, fb structure is MSB-first too */
142 static void vt8623fb_iplan_imageblit(struct fb_info *info, const struct fb_image *image)
144 u32 fg = expand_color(image->fg_color);
145 u32 bg = expand_color(image->bg_color);
152 src1 = image->data;
153 dst1 = info->screen_base + (image->dy * info->fix.line_length)
154 + ((image->dx / 8) * 4);
156 for (y = 0; y < image->height; y++) {
159 for (x = 0; x < image->width; x += 8) {
164 src1 += image->width / 8;
190 /* image data is MSB-first, fb structure is high-nibble-in-low-byte-first */
198 static void vt8623fb_cfb4_imageblit(struct fb_info *info, const struct fb_image *image)
200 u32 fg = image->fg_color * 0x11111111;
201 u32 bg = image->bg_color * 0x11111111;
208 src1 = image->data;
209 dst1 = info->screen_base + (image->dy * info->fix.line_length)
210 + ((image->dx / 8) * 4);
212 for (y = 0; y < image->height; y++) {
215 for (x = 0; x < image->width; x += 8) {
220 src1 += image->width / 8;
225 static void vt8623fb_imageblit(struct fb_info *info, const struct fb_image *image)
227 if ((info->var.bits_per_pixel == 4) && (image->depth == 1)
228 && ((image->width % 8) == 0) && ((image->dx % 8) == 0)) {
230 vt8623fb_iplan_imageblit(info, image);
232 vt8623fb_cfb4_imageblit(info, image);
234 cfb_imageblit(info, image);