Lines Matching defs:image
134 /* image data is MSB-first, fb structure is MSB-first too */
141 static void vt8623fb_iplan_imageblit(struct fb_info *info, const struct fb_image *image)
143 u32 fg = expand_color(image->fg_color);
144 u32 bg = expand_color(image->bg_color);
151 src1 = image->data;
152 dst1 = info->screen_base + (image->dy * info->fix.line_length)
153 + ((image->dx / 8) * 4);
155 for (y = 0; y < image->height; y++) {
158 for (x = 0; x < image->width; x += 8) {
163 src1 += image->width / 8;
189 /* image data is MSB-first, fb structure is high-nibble-in-low-byte-first */
197 static void vt8623fb_cfb4_imageblit(struct fb_info *info, const struct fb_image *image)
199 u32 fg = image->fg_color * 0x11111111;
200 u32 bg = image->bg_color * 0x11111111;
207 src1 = image->data;
208 dst1 = info->screen_base + (image->dy * info->fix.line_length)
209 + ((image->dx / 8) * 4);
211 for (y = 0; y < image->height; y++) {
214 for (x = 0; x < image->width; x += 8) {
219 src1 += image->width / 8;
224 static void vt8623fb_imageblit(struct fb_info *info, const struct fb_image *image)
226 if ((info->var.bits_per_pixel == 4) && (image->depth == 1)
227 && ((image->width % 8) == 0) && ((image->dx % 8) == 0)) {
229 vt8623fb_iplan_imageblit(info, image);
231 vt8623fb_cfb4_imageblit(info, image);
233 cfb_imageblit(info, image);