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 = {(0xFFu<<24) | ((0xFFu*(x&1))<<16) | ((0xFFu*((x >> 1)&1))<<8) | (0xFFu*((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 …]
3009 } color_t; typedef3035 static color_t color(tarjan *t, const upb_refcounted *r) { in color()
3168 } color_t; typedef3194 static color_t color(tarjan *t, const upb_refcounted *r) { in color()