Home
last modified time | relevance | path

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

/external/swiftshader/src/Shader/
DConstants.cpp267 sRGBtoLinear8_12[i] = (unsigned short)(sw::sRGBtoLinear((float)i / 0xFF) * 0x1000 + 0.5f); in Constants()
272 sRGBtoLinear6_12[i] = (unsigned short)(sw::sRGBtoLinear((float)i / 0x3F) * 0x1000 + 0.5f); in Constants()
277 sRGBtoLinear5_12[i] = (unsigned short)(sw::sRGBtoLinear((float)i / 0x1F) * 0x1000 + 0.5f); in Constants()
283 …sRGBtoLinear12_16[i] = (unsigned short)(clamp(sw::sRGBtoLinear((float)i / 0x0FFF) * 0xFFFF + 0.5f,… in Constants()
DPixelRoutine.hpp90 Float4 sRGBtoLinear(const Float4 &x);
DPixelRoutine.cpp2094 sRGBtoLinear(pixel.x); in alphaBlend()
2095 sRGBtoLinear(pixel.y); in alphaBlend()
2096 sRGBtoLinear(pixel.z); in alphaBlend()
2703 Float4 PixelRoutine::sRGBtoLinear(const Float4 &x) // Approximates x^2.2 in sRGBtoLinear() function in sw::PixelRoutine
/external/swiftshader/src/Common/
DMath.cpp43 …sRGBtoLinearTable[i] = static_cast<unsigned char>(sw::sRGBtoLinear(static_cast<float>(i) / 255.0f)… in sRGB8toLinear8()
DMath.hpp324 inline float sRGBtoLinear(float c) in sRGBtoLinear() function
/external/swiftshader/src/Renderer/
DSurface.cpp2469 …sRGBtoLinearTable[i] = static_cast<byte>(sRGBtoLinear(static_cast<float>(i) / 255.0f) * 255.0f + 0… in decodeETC2()