Home
last modified time | relevance | path

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

/external/swiftshader/src/Shader/
DConstants.cpp267 sRGBtoLinear8_16[i] = (unsigned short)(sw::sRGBtoLinear((float)i / 0xFF) * 0xFFFF + 0.5f); in Constants()
272 sRGBtoLinear6_16[i] = (unsigned short)(sw::sRGBtoLinear((float)i / 0x3F) * 0xFFFF + 0.5f); in Constants()
277 sRGBtoLinear5_16[i] = (unsigned short)(sw::sRGBtoLinear((float)i / 0x1F) * 0xFFFF + 0.5f); in Constants()
283 …sRGBtoLinear12_16[i] = (unsigned short)(clamp(sw::sRGBtoLinear((float)i / 0x0FFF) * 0xFFFF + 0.5f,… in Constants()
DPixelRoutine.hpp87 Float4 sRGBtoLinear(const Float4 &x);
DPixelRoutine.cpp2106 sRGBtoLinear(pixel.x); in alphaBlend()
2107 sRGBtoLinear(pixel.y); in alphaBlend()
2108 sRGBtoLinear(pixel.z); in alphaBlend()
2712 Float4 PixelRoutine::sRGBtoLinear(const Float4 &x) // Approximates x^2.2 in sRGBtoLinear() function in sw::PixelRoutine
/external/swiftshader/src/Pipeline/
DConstants.cpp267 sRGBtoLinear8_16[i] = (unsigned short)(sw::sRGBtoLinear((float)i / 0xFF) * 0xFFFF + 0.5f); in Constants()
272 sRGBtoLinear6_16[i] = (unsigned short)(sw::sRGBtoLinear((float)i / 0x3F) * 0xFFFF + 0.5f); in Constants()
277 sRGBtoLinear5_16[i] = (unsigned short)(sw::sRGBtoLinear((float)i / 0x1F) * 0xFFFF + 0.5f); in Constants()
283 …sRGBtoLinear12_16[i] = (unsigned short)(clamp(sw::sRGBtoLinear((float)i / 0x0FFF) * 0xFFFF + 0.5f,… in Constants()
DPixelRoutine.hpp85 Float4 sRGBtoLinear(const Float4 &x);
DPixelRoutine.cpp1870 sRGBtoLinear(pixel.x); in alphaBlend()
1871 sRGBtoLinear(pixel.y); in alphaBlend()
1872 sRGBtoLinear(pixel.z); in alphaBlend()
2472 Float4 PixelRoutine::sRGBtoLinear(const Float4 &x) // Approximates x^2.2 in sRGBtoLinear() function in sw::PixelRoutine
/external/swiftshader/src/System/
DMath.cpp43 …sRGBtoLinearTable[i] = static_cast<unsigned char>(sw::sRGBtoLinear(static_cast<float>(i) / 255.0f)… in sRGB8toLinear8()
DMath.hpp358 inline float sRGBtoLinear(float c) in sRGBtoLinear() function
/external/swiftshader/src/Common/
DMath.cpp43 …sRGBtoLinearTable[i] = static_cast<unsigned char>(sw::sRGBtoLinear(static_cast<float>(i) / 255.0f)… in sRGB8toLinear8()
DMath.hpp358 inline float sRGBtoLinear(float c) in sRGBtoLinear() function
/external/swiftshader/src/Renderer/
DBlitter.hpp112 static Float4 sRGBtoLinear(Float4 &color);
DBlitter.cpp1119 value = (srcSRGB && !preScaled) ? sRGBtoLinear(value) : LinearToSRGB(value); in ApplyScaleAndClamp()
1169 Float4 Blitter::sRGBtoLinear(Float4 &c) in sRGBtoLinear() function in sw::Blitter
DSurface.cpp1052 r = sRGBtoLinear(r); in read()
1053 g = sRGBtoLinear(g); in read()
1054 b = sRGBtoLinear(b); in read()
2607 …sRGBtoLinearTable[i] = static_cast<byte>(sRGBtoLinear(static_cast<float>(i) / 255.0f) * 255.0f + 0… in decodeETC2()
/external/swiftshader/src/Device/
DBlitter.hpp112 static Float4 sRGBtoLinear(Float4 &color);
DBlitter.cpp1363 value = (srcSRGB && !preScaled) ? sRGBtoLinear(value) : LinearToSRGB(value); in ApplyScaleAndClamp()
1409 Float4 Blitter::sRGBtoLinear(Float4 &c) in sRGBtoLinear() function in sw::Blitter
DSurface.cpp578 r = sRGBtoLinear(r); in read()
579 g = sRGBtoLinear(g); in read()
580 b = sRGBtoLinear(b); in read()
1872 …sRGBtoLinearTable[i] = static_cast<byte>(sRGBtoLinear(static_cast<float>(i) / 255.0f) * 255.0f + 0… in decodeETC2()