Home
last modified time | relevance | path

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

/external/swiftshader/src/Shader/
DConstants.cpp282 sRGBtoLinear8_12[i] = (unsigned short)(sw::sRGBtoLinear((float)i / 0xFF) * 0x1000 + 0.5f); in Constants()
287 sRGBtoLinear6_12[i] = (unsigned short)(sw::sRGBtoLinear((float)i / 0x3F) * 0x1000 + 0.5f); in Constants()
292 sRGBtoLinear5_12[i] = (unsigned short)(sw::sRGBtoLinear((float)i / 0x1F) * 0x1000 + 0.5f); in Constants()
298 …sRGBtoLinear12_16[i] = (unsigned short)(clamp(sw::sRGBtoLinear((float)i / 0x0FFF) * 0xFFFF + 0.5f,… in Constants()
DPixelRoutine.hpp90 Float4 sRGBtoLinear(const Float4 &x);
DPixelRoutine.cpp2047 sRGBtoLinear(pixel.x); in alphaBlend()
2048 sRGBtoLinear(pixel.y); in alphaBlend()
2049 sRGBtoLinear(pixel.z); in alphaBlend()
2426 Float4 PixelRoutine::sRGBtoLinear(const Float4 &x) // Approximates x^2.2 in sRGBtoLinear() function in sw::PixelRoutine
/external/swiftshader/src/Common/
DMath.cpp45 …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.cpp2437 …sRGBtoLinearTable[i] = static_cast<byte>(sRGBtoLinear(static_cast<float>(i) / 255.0f) * 255.0f + 0… in decodeETC2()