Home
last modified time | relevance | path

Searched refs:sRGBtoLinearTable (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/src/Common/
DMath.cpp38 static unsigned char sRGBtoLinearTable[256] = { 255 }; in sRGB8toLinear8() local
39 if(sRGBtoLinearTable[0] == 255) in sRGB8toLinear8()
43sRGBtoLinearTable[i] = static_cast<unsigned char>(sw::sRGBtoLinear(static_cast<float>(i) / 255.0f)… in sRGB8toLinear8()
47 return sRGBtoLinearTable[value]; in sRGB8toLinear8()
/external/swiftshader/src/System/
DMath.cpp38 static unsigned char sRGBtoLinearTable[256] = { 255 }; in sRGB8toLinear8() local
39 if(sRGBtoLinearTable[0] == 255) in sRGB8toLinear8()
43sRGBtoLinearTable[i] = static_cast<unsigned char>(sw::sRGBtoLinear(static_cast<float>(i) / 255.0f)… in sRGB8toLinear8()
47 return sRGBtoLinearTable[value]; in sRGB8toLinear8()
/external/swiftshader/src/Renderer/
DSurface.cpp2438 static byte sRGBtoLinearTable[256]; in decodeETC2() local
2444sRGBtoLinearTable[i] = static_cast<byte>(sRGBtoLinear(static_cast<float>(i) / 255.0f) * 255.0f + 0… in decodeETC2()
2459 srcPix[i] = sRGBtoLinearTable[srcPix[i]]; in decodeETC2()