Lines Matching refs:baseG
378 deUint8 baseG[2]; in decompressETC1Block() local
386 baseG[0] = extend4To8((deUint8)getBits(src, 52, 55)); in decompressETC1Block()
387 baseG[1] = extend4To8((deUint8)getBits(src, 48, 51)); in decompressETC1Block()
402 baseG[0] = extend5To8(bG); in decompressETC1Block()
406 baseG[1] = extend5Delta3To8(bG, dG); in decompressETC1Block()
435 dst[dstOffset+1] = (deUint8)deClamp32((int)baseG[subBlock] + modifier, 0, 255); in decompressETC1Block()
493 deUint8 baseG[2]; in decompressETC2Block() local
501 baseG[0] = extend4To8((deUint8)getBits(src, 52, 55)); in decompressETC2Block()
502 baseG[1] = extend4To8((deUint8)getBits(src, 48, 51)); in decompressETC2Block()
510 baseG[0] = extend5To8(selBG); in decompressETC2Block()
514 baseG[1] = extend5To8((deUint8)(selBG + selDG)); in decompressETC2Block()
548 dst[dstOffset+1] = (deUint8)deClamp32((int)baseG[subBlock] + modifier, 0, 255); in decompressETC2Block()
603 deUint8 baseG[2]; in decompressETC2Block() local
610 baseG[0] = extend4To8((deUint8)((G1a << 1) | G1b)); in decompressETC2Block()
613 baseG[1] = extend4To8(G2); in decompressETC2Block()
615 baseValue[0] = (((deUint32)baseR[0]) << 16) | (((deUint32)baseG[0]) << 8) | baseB[0]; in decompressETC2Block()
616 baseValue[1] = (((deUint32)baseR[1]) << 16) | (((deUint32)baseG[1]) << 8) | baseB[1]; in decompressETC2Block()
621 paintG[0] = (deUint8)deClamp32((int)baseG[0] + dist, 0, 255); in decompressETC2Block()
624 paintG[1] = (deUint8)deClamp32((int)baseG[0] - dist, 0, 255); in decompressETC2Block()
627 paintG[2] = (deUint8)deClamp32((int)baseG[1] + dist, 0, 255); in decompressETC2Block()
630 paintG[3] = (deUint8)deClamp32((int)baseG[1] - dist, 0, 255); in decompressETC2Block()