Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/utils/
DColor.h87 static constexpr float EOCF_sRGB(float srgb) { in EOCF_sRGB() argument
89 return srgb <= 0.04045f ? srgb / 12.92f : powf((srgb + 0.055f) / 1.055f, 2.4f); in EOCF_sRGB()
/frameworks/base/core/java/android/view/
DSurfaceControl.java1723 ColorSpace srgb = ColorSpace.get(ColorSpace.Named.SRGB); in getCompositionColorSpaces() local
1724 ColorSpace[] colorSpaces = { srgb, srgb }; in getCompositionColorSpaces()
/frameworks/native/libs/renderengine/gl/
DGLESRenderEngine.cpp392 const ColorSpace srgb(ColorSpace::sRGB()); in GLESRenderEngine() local
397 mSrgbToXyz = mat4(srgb.getRGBtoXYZ()); in GLESRenderEngine()
400 mXyzToSrgb = mat4(srgb.getXYZtoRGB()); in GLESRenderEngine()
/frameworks/base/graphics/java/android/graphics/
DColorSpace.java3279 ColorSpace.Rgb srgb = (ColorSpace.Rgb) get(Named.SRGB); in isSrgb()
3282 if (!compare(x, OETF, srgb.mOetf)) return false; in isSrgb()
3283 if (!compare(x, EOTF, srgb.mEotf)) return false; in isSrgb()