Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/utils/
DColor.h90 static constexpr float EOCF_sRGB(float srgb) { in EOCF_sRGB() argument
92 return srgb <= 0.04045f ? srgb / 12.92f : powf((srgb + 0.055f) / 1.055f, 2.4f); in EOCF_sRGB()
/frameworks/base/libs/hwui/
DCanvasTransform.cpp141 sk_sp<SkColorSpace> srgb = SkColorSpace::MakeSRGB(); in filterPalette() local
142 color = paint->getColorFilter()->filterColor4f(color, srgb.get(), srgb.get()); in filterPalette()
/frameworks/av/media/libstagefright/renderfright/gl/
DGLESRenderEngine.cpp367 const ColorSpace srgb(ColorSpace::sRGB()); in GLESRenderEngine() local
372 mSrgbToXyz = mat4(srgb.getRGBtoXYZ()); in GLESRenderEngine()
375 mXyzToSrgb = mat4(srgb.getXYZtoRGB()); in GLESRenderEngine()
/frameworks/base/graphics/java/android/graphics/
DColorSpace.java3591 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()
/frameworks/base/core/java/android/view/
DSurfaceControl.java2400 ColorSpace srgb = ColorSpace.get(ColorSpace.Named.SRGB); in getCompositionColorSpaces() local
2401 ColorSpace[] colorSpaces = { srgb, srgb }; in getCompositionColorSpaces()