Searched refs:sRGBtoLinearTable (Results 1 – 4 of 4) sorted by relevance
38 static unsigned char sRGBtoLinearTable[256] = { 255 }; in sRGB8toLinear8() local39 if(sRGBtoLinearTable[0] == 255) in sRGB8toLinear8()43 …sRGBtoLinearTable[i] = static_cast<unsigned char>(sw::sRGBtoLinear(static_cast<float>(i) / 255.0f)… in sRGB8toLinear8()47 return sRGBtoLinearTable[value]; in sRGB8toLinear8()
1866 static byte sRGBtoLinearTable[256]; in decodeETC2() local1872 …sRGBtoLinearTable[i] = static_cast<byte>(sRGBtoLinear(static_cast<float>(i) / 255.0f) * 255.0f + 0… in decodeETC2()1887 srcPix[i] = sRGBtoLinearTable[srcPix[i]]; in decodeETC2()
2601 static byte sRGBtoLinearTable[256]; in decodeETC2() local2607 …sRGBtoLinearTable[i] = static_cast<byte>(sRGBtoLinear(static_cast<float>(i) / 255.0f) * 255.0f + 0… in decodeETC2()2622 srcPix[i] = sRGBtoLinearTable[srcPix[i]]; in decodeETC2()