Home
last modified time | relevance | path

Searched refs:srcPix (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/src/Device/
DSurface.cpp1884 byte *srcPix = srcRow + x * internal.bytes; in decodeETC2() local
1887 srcPix[i] = sRGBtoLinearTable[srcPix[i]]; in decodeETC2()
1912 int* srcPix = reinterpret_cast<int*>(srcRow + x * internal.bytes); in decodeEAC() local
1913 float* dstPix = reinterpret_cast<float*>(srcPix); in decodeEAC()
1916 dstPix[c] = clamp(static_cast<float>(srcPix[c]) * normalization, -1.0f, 1.0f); in decodeEAC()
/external/swiftshader/src/Renderer/
DSurface.cpp2619 byte *srcPix = srcRow + x * internal.bytes; in decodeETC2() local
2622 srcPix[i] = sRGBtoLinearTable[srcPix[i]]; in decodeETC2()
2647 int* srcPix = reinterpret_cast<int*>(srcRow + x * internal.bytes); in decodeEAC() local
2648 float* dstPix = reinterpret_cast<float*>(srcPix); in decodeEAC()
2651 dstPix[c] = clamp(static_cast<float>(srcPix[c]) * normalization, -1.0f, 1.0f); in decodeEAC()