Searched refs:color_t (Results 1 – 3 of 3) sorted by relevance
70 struct color_t struct72 static color_t from_ansi (unsigned int x) in from_ansi() argument74 color_t c = {(0xFF<<24) | ((0xFF*(x&1))<<16) | ((0xFF*((x >> 1)&1))<<8) | (0xFF*((x >> 2)&1))}; in from_ansi()82 color_diff_t diff (const color_t &o) in diff() argument104 data ((color_t *) data_), in image_t() argument111 data ((color_t *) malloc (sizeof (data[0]) * width * height)), in image_t()116 color_t &operator () (unsigned int x, unsigned int y) in operator ()()119 color_t operator () (unsigned int x, unsigned int y) const in operator ()()130 color_t *p = data + x + MIN (y + row, height - 1) * stride; in copy_sub_image()131 color_t *q = s.data + row * s.stride; in copy_sub_image()[all …]
35 } color_t; typedef36 void func_enum(color_t);37 void func_typedef(color_t);
109 enum color_t { enum130 static enum color_t picodbg_getLevelColor(int level) in picodbg_getLevelColor()