Home
last modified time | relevance | path

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

/external/deqp/framework/common/
DtcuCompressedTexture.cpp429 const int subBlock = ((flipBit ? y : x) >= 2) ? 1 : 0; in decompressETC1Block() local
430 const deUint32 tableNdx = table[subBlock]; in decompressETC1Block()
434 dst[dstOffset+0] = (deUint8)deClamp32((int)baseR[subBlock] + modifier, 0, 255); in decompressETC1Block()
435 dst[dstOffset+1] = (deUint8)deClamp32((int)baseG[subBlock] + modifier, 0, 255); in decompressETC1Block()
436 dst[dstOffset+2] = (deUint8)deClamp32((int)baseB[subBlock] + modifier, 0, 255); in decompressETC1Block()
524 const int subBlock = ((flipBit ? y : x) >= 2) ? 1 : 0; in decompressETC2Block() local
525 const deUint32 tableNdx = table[subBlock]; in decompressETC2Block()
547 dst[dstOffset+0] = (deUint8)deClamp32((int)baseR[subBlock] + modifier, 0, 255); in decompressETC2Block()
548 dst[dstOffset+1] = (deUint8)deClamp32((int)baseG[subBlock] + modifier, 0, 255); in decompressETC2Block()
549 dst[dstOffset+2] = (deUint8)deClamp32((int)baseB[subBlock] + modifier, 0, 255); in decompressETC2Block()