Searched refs:LinearChannelToSrgb (Results 1 – 1 of 1) sorted by relevance
317 static inline float LinearChannelToSrgb(float cs) { in LinearChannelToSrgb() function340 float r = LinearChannelToSrgb((color & 0xff) / 255.0f); in LinearColorToSrgb()341 float g = LinearChannelToSrgb(((color >> 8) & 0xff) / 255.0f); in LinearColorToSrgb()342 float b = LinearChannelToSrgb(((color >> 16) & 0xff) / 255.0f); in LinearColorToSrgb()