Searched refs:srgb (Results 1 – 5 of 5) sorted by relevance
90 static constexpr float EOCF_sRGB(float srgb) { in EOCF_sRGB() argument92 return srgb <= 0.04045f ? srgb / 12.92f : powf((srgb + 0.055f) / 1.055f, 2.4f); in EOCF_sRGB()
141 sk_sp<SkColorSpace> srgb = SkColorSpace::MakeSRGB(); in filterPalette() local142 color = paint->getColorFilter()->filterColor4f(color, srgb.get(), srgb.get()); in filterPalette()
367 const ColorSpace srgb(ColorSpace::sRGB()); in GLESRenderEngine() local372 mSrgbToXyz = mat4(srgb.getRGBtoXYZ()); in GLESRenderEngine()375 mXyzToSrgb = mat4(srgb.getXYZtoRGB()); in GLESRenderEngine()
3591 ColorSpace.Rgb srgb = (ColorSpace.Rgb) get(Named.SRGB); in isSrgb()3594 if (!compare(x, OETF, srgb.mOetf)) return false; in isSrgb()3595 if (!compare(x, EOTF, srgb.mEotf)) return false; in isSrgb()
2400 ColorSpace srgb = ColorSpace.get(ColorSpace.Named.SRGB); in getCompositionColorSpaces() local2401 ColorSpace[] colorSpaces = { srgb, srgb }; in getCompositionColorSpaces()