Lines Matching defs:image
287 void atyfb_imageblit(struct fb_info *info, const struct fb_image *image)
290 u32 src_bytes, dx = image->dx, dy = image->dy, width = image->width;
295 if (!image->width || !image->height)
298 (image->depth != 1 && info->var.bits_per_pixel != image->depth)) {
299 cfb_imageblit(info, image);
305 switch (image->depth) {
351 if (image->depth == 1 && M64_HAS(HW_TRIPLE) && image->width % 8 == 0)
355 if (image->depth == 1) {
359 fg = ((u32*)(info->pseudo_palette))[image->fg_color];
360 bg = ((u32*)(info->pseudo_palette))[image->bg_color];
362 fg = image->fg_color;
363 bg = image->bg_color;
383 draw_rect(dx, dy, width, image->height, par);
384 src_bytes = (((image->width * image->depth) + 7) / 8) * image->height;
387 if (image->depth == 1 && info->var.bits_per_pixel == 24 && !(pix_width & DP_HOST_TRIPLE_EN)) {
389 u8 *pbitmapin = (u8*)image->data, *pbitmapout;
392 for (width = image->width, inbit = 7, mult24 = 0; src_bytes; ) {
413 width = image->width;
424 for (pbitmap = (u32*)(image->data); dwords; dwords--, pbitmap++) {