Lines Matching +full:op +full:- +full:panel

1 // SPDX-License-Identifier: GPL-2.0+
5 * (C) Copyright 2001-2002
6 * Wolfgang Denk, DENX Software Engineering -- wd@denx.de
114 ushort v_step = (v_max + N_BLK_VERT - 1) / N_BLK_VERT; in test_pattern()
115 ushort h_step = (h_max + N_BLK_HOR - 1) / N_BLK_HOR; in test_pattern()
153 lcd_base = map_sysmem(gd->fb_base, 0); in drv_lcd_init()
216 /* setup text-console */ in lcd_clear()
253 * by setting up gd->fb_base. Check for this condition and fixup in lcd_init()
256 if (map_to_sysmem(lcdbase) != gd->fb_base) in lcd_init()
257 lcd_base = map_sysmem(gd->fb_base, 0); in lcd_init()
289 debug("LCD panel info: %d x %d, %d bit/pix\n", panel_info.vl_col, in lcd_setmem()
296 addr = ALIGN(addr - CONFIG_LCD_ALIGNMENT + 1, CONFIG_LCD_ALIGNMENT); in lcd_setmem()
299 addr -= size; in lcd_setmem()
364 col16 = bmp_logo_palette[(bmap[j]-16)]; in lcd_logo_plot()
388 unsigned long panel_picture_delta = panel_size - picture_size; in splash_align_axis()
413 cnt--; in draw_unencoded_bitmap()
422 cnt -= cnt_8copy << 3; in draw_encoded_bitmap()
432 cnt_8copy--; in draw_encoded_bitmap()
436 cnt--; in draw_encoded_bitmap()
453 width = get_unaligned_le32(&bmp->header.width); in lcd_display_rle8_bitmap()
454 height = get_unaligned_le32(&bmp->header.height); in lcd_display_rle8_bitmap()
455 bmap = (uchar *)bmp + get_unaligned_le32(&bmp->header.data_offset); in lcd_display_rle8_bitmap()
458 y = height - 1; in lcd_display_rle8_bitmap()
467 y--; in lcd_display_rle8_bitmap()
468 /* 16bpix, 2-byte per pixel, width should *2 */ in lcd_display_rle8_bitmap()
469 fb -= (width * 2 + lcd_line_length); in lcd_display_rle8_bitmap()
478 y -= bmap[3]; in lcd_display_rle8_bitmap()
479 /* 16bpix, 2-byte per pixel, x should *2 */ in lcd_display_rle8_bitmap()
480 fb = (uchar *) (lcd_base + (y + y_off - 1) in lcd_display_rle8_bitmap()
491 cnt = width - x; in lcd_display_rle8_bitmap()
517 cnt = width - x; in lcd_display_rle8_bitmap()
551 cte = bmp->color_table[i]; in lcd_set_cmap()
573 if (!bmp || !(bmp->header.signature[0] == 'B' && in lcd_display_bitmap()
574 bmp->header.signature[1] == 'M')) { in lcd_display_bitmap()
580 palette = bmp->color_table; in lcd_display_bitmap()
581 width = get_unaligned_le32(&bmp->header.width); in lcd_display_bitmap()
582 height = get_unaligned_le32(&bmp->header.height); in lcd_display_bitmap()
583 bmp_bpix = get_unaligned_le16(&bmp->header.bit_count); in lcd_display_bitmap()
584 hdr_size = get_unaligned_le16(&bmp->header.size); in lcd_display_bitmap()
606 bpix, get_unaligned_le16(&bmp->header.bit_count)); in lcd_display_bitmap()
610 debug("Display-bmp: %d x %d with %d colors, display %d\n", in lcd_display_bitmap()
624 width = pwidth - x; in lcd_display_bitmap()
626 height = panel_info.vl_row - y; in lcd_display_bitmap()
628 bmap = (uchar *)bmp + get_unaligned_le32(&bmp->header.data_offset); in lcd_display_bitmap()
630 (y + height - 1) * lcd_line_length + x * bpix / 8); in lcd_display_bitmap()
637 u32 compression = get_unaligned_le32(&bmp->header.compression); in lcd_display_bitmap()
668 val = entry->blue >> 3 | in lcd_display_bitmap()
669 entry->green >> 2 << 5 | in lcd_display_bitmap()
670 entry->red >> 3 << 11; in lcd_display_bitmap()
677 bmap += (padded_width - width); in lcd_display_bitmap()
678 fb -= byte_width + lcd_line_length; in lcd_display_bitmap()
689 bmap += (padded_width - width) * 2; in lcd_display_bitmap()
690 fb -= width * 2 + lcd_line_length; in lcd_display_bitmap()
703 fb -= lcd_line_length + width * (bpix / 8); in lcd_display_bitmap()
716 fb -= lcd_line_length + width * (bpix / 8); in lcd_display_bitmap()
741 static int on_splashimage(const char *name, const char *value, enum env_op op, in on_splashimage() argument
747 if (op == env_op_delete) in on_splashimage()
751 /* See README.displaying-bmps */ in on_splashimage()
755 return -1; in on_splashimage()