Home
last modified time | relevance | path

Searched refs:srgb (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/libs/hwui/utils/
DColor.h114 static constexpr float EOCF_sRGB(float srgb) { in EOCF_sRGB() argument
116 return srgb <= 0.04045f ? srgb / 12.92f : powf((srgb + 0.055f) / 1.055f, 2.4f); in EOCF_sRGB()
122 static constexpr float EOCF(float srgb) { in EOCF() argument
124 return EOCF_sRGB(srgb); in EOCF()
126 return srgb; in EOCF()