Lines Matching defs:image
138 /* image data is MSB-first, fb structure is MSB-first too */
145 static void vt8623fb_iplan_imageblit(struct fb_info *info, const struct fb_image *image)
147 u32 fg = expand_color(image->fg_color);
148 u32 bg = expand_color(image->bg_color);
155 src1 = image->data;
156 dst1 = info->screen_base + (image->dy * info->fix.line_length)
157 + ((image->dx / 8) * 4);
159 for (y = 0; y < image->height; y++) {
162 for (x = 0; x < image->width; x += 8) {
167 src1 += image->width / 8;
193 /* image data is MSB-first, fb structure is high-nibble-in-low-byte-first */
201 static void vt8623fb_cfb4_imageblit(struct fb_info *info, const struct fb_image *image)
203 u32 fg = image->fg_color * 0x11111111;
204 u32 bg = image->bg_color * 0x11111111;
211 src1 = image->data;
212 dst1 = info->screen_base + (image->dy * info->fix.line_length)
213 + ((image->dx / 8) * 4);
215 for (y = 0; y < image->height; y++) {
218 for (x = 0; x < image->width; x += 8) {
223 src1 += image->width / 8;
228 static void vt8623fb_imageblit(struct fb_info *info, const struct fb_image *image)
230 if ((info->var.bits_per_pixel == 4) && (image->depth == 1)
231 && ((image->width % 8) == 0) && ((image->dx % 8) == 0)) {
233 vt8623fb_iplan_imageblit(info, image);
235 vt8623fb_cfb4_imageblit(info, image);
237 cfb_imageblit(info, image);