Lines Matching defs:image
416 const struct fb_image *image)
419 u32 *pd = (u32 *) image->data;
424 // Used only for drawing the penguine (image->depth > 1)
425 if (image->depth != 1) {
426 cfb_imageblit(info, image);
430 if (image->width == 0 || image->height == 0) {
437 fgcol = ((u32 *) (info->pseudo_palette))[image->fg_color];
438 bgcol = ((u32 *) (info->pseudo_palette))[image->bg_color];
440 fgcol = image->fg_color;
441 bgcol = image->bg_color;
455 out32(GEB8, basestride | ((image->dy * info->var.xres_virtual *
460 if (!(image->dx < 2048 && (image->dx + image->width - 1) >= 2048)) {
461 u32 dds = ((image->width + 31) >> 5) * image->height;
463 out32(GE08, point(image->dx, 0));
464 out32(GE0C, point(image->dx + image->width - 1,
465 image->height - 1));
470 u32 ddstotal = (image->width + 31) >> 5;
471 u32 ddsleft = (2048 - image->dx + 31) >> 5;
475 out32(GE08, point(image->dx, 0));
476 out32(GE0C, point(2048 - 1, image->height - 1));
477 for (i = 0; i < image->height; i++) {
483 if (image->dx % 32) {
486 if (image->width > ddsleft << 5)
487 out32(GE0C, point(image->dx + (ddsleft << 5) -
488 1, image->height - 1));
490 out32(GE0C, point(image->dx + image->width - 1,
491 image->height - 1));
492 pd = ((u32 *) image->data) + ddstotal - skipleft - 1;
493 for (i = 0; i < image->height; i++) {
495 (image->dx & 31)) & 31)));
502 out32(GE08, point(image->dx + (ddsleft << 5), 0));
503 out32(GE0C, point(image->dx + image->width - 1,
504 image->height - 1));
505 pd = (u32 *) image->data;
506 for (i = 0; i < image->height; i++) {