Lines Matching refs:cte
173 struct bmp_color_table_entry *cte, unsigned colours) in video_set_cmap() argument
181 *cmap = ((cte->red << 8) & 0xf800) | in video_set_cmap()
182 ((cte->green << 3) & 0x07e0) | in video_set_cmap()
183 ((cte->blue >> 3) & 0x001f); in video_set_cmap()
185 cte++; in video_set_cmap()
274 struct bmp_color_table_entry *cte; in video_bmp_display() local
305 cte = &palette[*bmap]; in video_bmp_display()
308 *(fb++) = cte->red; in video_bmp_display()
309 *(fb++) = cte->green; in video_bmp_display()
310 *(fb++) = cte->blue; in video_bmp_display()
312 *(fb++) = cte->blue; in video_bmp_display()
313 *(fb++) = cte->green; in video_bmp_display()
314 *(fb++) = cte->red; in video_bmp_display()