Lines Matching refs:baseG
479 deUint8 baseG[2]; in decompressETC1Block() local
487 baseG[0] = extend4To8((deUint8)getBits(src, 52, 55)); in decompressETC1Block()
488 baseG[1] = extend4To8((deUint8)getBits(src, 48, 51)); in decompressETC1Block()
503 baseG[0] = extend5To8(bG); in decompressETC1Block()
507 baseG[1] = extend5Delta3To8(bG, dG); in decompressETC1Block()
536 dst[dstOffset+1] = (deUint8)deClamp32((int)baseG[subBlock] + modifier, 0, 255); in decompressETC1Block()
594 deUint8 baseG[2]; in decompressETC2Block() local
602 baseG[0] = extend4To8((deUint8)getBits(src, 52, 55)); in decompressETC2Block()
603 baseG[1] = extend4To8((deUint8)getBits(src, 48, 51)); in decompressETC2Block()
611 baseG[0] = extend5To8(selBG); in decompressETC2Block()
615 baseG[1] = extend5To8((deUint8)(selBG + selDG)); in decompressETC2Block()
649 dst[dstOffset+1] = (deUint8)deClamp32((int)baseG[subBlock] + modifier, 0, 255); in decompressETC2Block()
704 deUint8 baseG[2]; in decompressETC2Block() local
711 baseG[0] = extend4To8((deUint8)((G1a << 1) | G1b)); in decompressETC2Block()
714 baseG[1] = extend4To8(G2); in decompressETC2Block()
716 baseValue[0] = (((deUint32)baseR[0]) << 16) | (((deUint32)baseG[0]) << 8) | baseB[0]; in decompressETC2Block()
717 baseValue[1] = (((deUint32)baseR[1]) << 16) | (((deUint32)baseG[1]) << 8) | baseB[1]; in decompressETC2Block()
722 paintG[0] = (deUint8)deClamp32((int)baseG[0] + dist, 0, 255); in decompressETC2Block()
725 paintG[1] = (deUint8)deClamp32((int)baseG[0] - dist, 0, 255); in decompressETC2Block()
728 paintG[2] = (deUint8)deClamp32((int)baseG[1] + dist, 0, 255); in decompressETC2Block()
731 paintG[3] = (deUint8)deClamp32((int)baseG[1] - dist, 0, 255); in decompressETC2Block()