Home
last modified time | relevance | path

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

/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/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/Device/
DSurface.cpp1866 static byte sRGBtoLinearTable[256]; in decodeETC2() local
1872sRGBtoLinearTable[i] = static_cast<byte>(sRGBtoLinear(static_cast<float>(i) / 255.0f) * 255.0f + 0… in decodeETC2()
1887 srcPix[i] = sRGBtoLinearTable[srcPix[i]]; in decodeETC2()
/external/swiftshader/src/Renderer/
DSurface.cpp2601 static byte sRGBtoLinearTable[256]; in decodeETC2() local
2607sRGBtoLinearTable[i] = static_cast<byte>(sRGBtoLinear(static_cast<float>(i) / 255.0f) * 255.0f + 0… in decodeETC2()
2622 srcPix[i] = sRGBtoLinearTable[srcPix[i]]; in decodeETC2()