Home
last modified time | relevance | path

Searched refs:cmap (Results 1 – 10 of 10) sorted by relevance

/rk3399_rockchip-uboot/drivers/video/drm/
H A Dbmp_helper.c18 static void draw_unencoded_bitmap(uint16_t **dst, uint8_t *bmap, uint16_t *cmap, in draw_unencoded_bitmap() argument
22 *(*dst)++ = cmap[*bmap++]; in draw_unencoded_bitmap()
51 static void decode_rle8_bitmap(void *psrc, void *pdst, uint16_t *cmap, in decode_rle8_bitmap() argument
112 cmap, cnt); in decode_rle8_bitmap()
135 cmap[bmap[1]], cnt); in decode_rle8_bitmap()
151 uint16_t *cmap; in bmpdecoder() local
179 cmap = malloc(sizeof(cmap) * 256); in bmpdecoder()
187 cmap[i] = colreg; in bmpdecoder()
193 decode_rle8_bitmap(src, dst, cmap, width, height, in bmpdecoder()
204 *(uint16_t *)dst = cmap[*(src++)]; in bmpdecoder()
[all …]
/rk3399_rockchip-uboot/drivers/video/
H A Dvideo_bmp.c21 static void draw_unencoded_bitmap(ushort **fbp, uchar *bmap, ushort *cmap, in draw_unencoded_bitmap() argument
25 *(*fbp)++ = cmap[*bmap++]; in draw_unencoded_bitmap()
42 struct bmp_image *bmp, ushort *cmap, in video_display_rle8_bitmap() argument
96 bmap, cmap, cnt); in video_display_rle8_bitmap()
121 cmap[bmap[1]], cnt); in video_display_rle8_bitmap()
180 ushort *cmap = priv->cmap; in video_set_cmap() local
184 *cmap = ((cte->red << 8) & 0xf800) | in video_set_cmap()
187 cmap++; in video_set_cmap()
270 cmap_base = priv->cmap; in video_bmp_display()
H A Dvideo-uclass.c184 priv->cmap = calloc(256, sizeof(ushort)); in video_pre_probe()
185 if (!priv->cmap) in video_pre_probe()
195 free(priv->cmap); in video_pre_remove()
H A Datmel_lcdfb.c74 uint *cmap = (uint *)configuration_get_cmap(); in lcd_logo_set_cmap() local
87 *(cmap + BMP_LOGO_OFFSET) = lut_entry; in lcd_logo_set_cmap()
88 cmap++; in lcd_logo_set_cmap()
H A Dstb_truetype.h1024 stbtt_uint32 cmap, t; in stbtt_InitFont() local
1030 cmap = stbtt__find_table(data, fontstart, "cmap"); // required in stbtt_InitFont()
1037 if (!cmap || !info->loca || !info->head || !info->glyf || !info->hhea || !info->hmtx) in stbtt_InitFont()
1049 numTables = ttUSHORT(data + cmap + 2); in stbtt_InitFont()
1052 stbtt_uint32 encoding_record = cmap + 4 + 8 * i; in stbtt_InitFont()
1060 info->index_map = cmap + ttULONG(data+encoding_record+4); in stbtt_InitFont()
1067 info->index_map = cmap + ttULONG(data+encoding_record+4); in stbtt_InitFont()
/rk3399_rockchip-uboot/include/linux/
H A Dfb.h230 struct fb_cmap cmap; /* color map info */ member
355 struct fb_cmap_user cmap; /* color map info */ member
502 struct fb_cmap cmap; /* Current cmap */ member
589 extern int fb_alloc_cmap(struct fb_cmap *cmap, int len, int transp);
590 extern void fb_dealloc_cmap(struct fb_cmap *cmap);
593 extern int fb_set_cmap(struct fb_cmap *cmap, struct fb_info *fb_info);
594 extern int fb_set_user_cmap(struct fb_cmap_user *cmap, struct fb_info *fb_info);
/rk3399_rockchip-uboot/common/
H A Dlcd.c340 ushort *cmap = configuration_get_cmap(); in lcd_logo_set_cmap() local
343 *cmap++ = bmp_logo_palette[i]; in lcd_logo_set_cmap()
418 static void draw_unencoded_bitmap(ushort **fbp, uchar *bmap, ushort *cmap, in draw_unencoded_bitmap() argument
422 *(*fbp)++ = cmap[*bmap++]; in draw_unencoded_bitmap()
454 static void lcd_display_rle8_bitmap(struct bmp_image *bmp, ushort *cmap, in lcd_display_rle8_bitmap() argument
506 bmap, cmap, cnt); in lcd_display_rle8_bitmap()
531 cmap[bmap[1]], cnt); in lcd_display_rle8_bitmap()
558 ushort *cmap = configuration_get_cmap(); in lcd_set_cmap() local
562 *cmap = (((cte.red) << 8) & 0xf800) | in lcd_set_cmap()
565 cmap++; in lcd_set_cmap()
/rk3399_rockchip-uboot/include/
H A Dlcd.h56 ushort *cmap; /* Pointer to the colormap */ member
62 return panel_info.cmap; in configuration_get_cmap()
H A Dvideo.h90 ushort *cmap; member
/rk3399_rockchip-uboot/board/compulab/common/
H A Domap3_display.c40 .cmap = (ushort *)CMAP_ADDR,