Searched refs:r_lin (Results 1 – 1 of 1) sorted by relevance
41 double r_lin = r / 255.0; in rgb888_to_lab() local45 r_lin = r_lin > 0.04045 ? pow((r_lin + 0.055) / 1.055, 2.4) : r_lin / 12.92; in rgb888_to_lab()49 double x = r_lin * 0.4124 + g_lin * 0.3576 + b_lin * 0.1805; in rgb888_to_lab()50 double y = r_lin * 0.2126 + g_lin * 0.7152 + b_lin * 0.0722; in rgb888_to_lab()51 double z = r_lin * 0.0193 + g_lin * 0.1192 + b_lin * 0.9505; in rgb888_to_lab()