Lines Matching refs:lab
39 CIELAB lab; in rgb888_to_lab() local
60 lab.L = 116.0 * y - 16.0; in rgb888_to_lab()
61 lab.a = 500.0 * (x - y); in rgb888_to_lab()
62 lab.b = 200.0 * (y - z); in rgb888_to_lab()
64 return lab; in rgb888_to_lab()
90 static inline void sum_lab(CIELAB *sum, const CIELAB lab) in sum_lab() argument
92 sum->L += lab.L; in sum_lab()
93 sum->a += lab.a; in sum_lab()
94 sum->b += lab.b; in sum_lab()
97 static inline void average_lab(CIELAB *lab, const uint32_t count) in average_lab() argument
100 lab->L /= count; in average_lab()
101 lab->a /= count; in average_lab()
102 lab->b /= count; in average_lab()