Lines Matching refs:deClamp32
450 dst[dstOffset+0] = (deUint8)deClamp32((int)baseR[subBlock] + modifier, 0, 255); in decompressETC1Block()
451 dst[dstOffset+1] = (deUint8)deClamp32((int)baseG[subBlock] + modifier, 0, 255); in decompressETC1Block()
452 dst[dstOffset+2] = (deUint8)deClamp32((int)baseB[subBlock] + modifier, 0, 255); in decompressETC1Block()
563 dst[dstOffset+0] = (deUint8)deClamp32((int)baseR[subBlock] + modifier, 0, 255); in decompressETC2Block()
564 dst[dstOffset+1] = (deUint8)deClamp32((int)baseG[subBlock] + modifier, 0, 255); in decompressETC2Block()
565 dst[dstOffset+2] = (deUint8)deClamp32((int)baseB[subBlock] + modifier, 0, 255); in decompressETC2Block()
600 paintR[1] = (deUint8)deClamp32((int)paintR[2] + dist, 0, 255); in decompressETC2Block()
601 paintG[1] = (deUint8)deClamp32((int)paintG[2] + dist, 0, 255); in decompressETC2Block()
602 paintB[1] = (deUint8)deClamp32((int)paintB[2] + dist, 0, 255); in decompressETC2Block()
603 paintR[3] = (deUint8)deClamp32((int)paintR[2] - dist, 0, 255); in decompressETC2Block()
604 paintG[3] = (deUint8)deClamp32((int)paintG[2] - dist, 0, 255); in decompressETC2Block()
605 paintB[3] = (deUint8)deClamp32((int)paintB[2] - dist, 0, 255); in decompressETC2Block()
636 paintR[0] = (deUint8)deClamp32((int)baseR[0] + dist, 0, 255); in decompressETC2Block()
637 paintG[0] = (deUint8)deClamp32((int)baseG[0] + dist, 0, 255); in decompressETC2Block()
638 paintB[0] = (deUint8)deClamp32((int)baseB[0] + dist, 0, 255); in decompressETC2Block()
639 paintR[1] = (deUint8)deClamp32((int)baseR[0] - dist, 0, 255); in decompressETC2Block()
640 paintG[1] = (deUint8)deClamp32((int)baseG[0] - dist, 0, 255); in decompressETC2Block()
641 paintB[1] = (deUint8)deClamp32((int)baseB[0] - dist, 0, 255); in decompressETC2Block()
642 paintR[2] = (deUint8)deClamp32((int)baseR[1] + dist, 0, 255); in decompressETC2Block()
643 paintG[2] = (deUint8)deClamp32((int)baseG[1] + dist, 0, 255); in decompressETC2Block()
644 paintB[2] = (deUint8)deClamp32((int)baseB[1] + dist, 0, 255); in decompressETC2Block()
645 paintR[3] = (deUint8)deClamp32((int)baseR[1] - dist, 0, 255); in decompressETC2Block()
646 paintG[3] = (deUint8)deClamp32((int)baseG[1] - dist, 0, 255); in decompressETC2Block()
647 paintB[3] = (deUint8)deClamp32((int)baseB[1] - dist, 0, 255); in decompressETC2Block()
668 dst[dstOffset+0] = (deUint8)deClamp32((int)paintR[paintNdx], 0, 255); in decompressETC2Block()
669 dst[dstOffset+1] = (deUint8)deClamp32((int)paintG[paintNdx], 0, 255); in decompressETC2Block()
670 dst[dstOffset+2] = (deUint8)deClamp32((int)paintB[paintNdx], 0, 255); in decompressETC2Block()
708 dst[dstOffset+0] = (deUint8)deClamp32(unclampedR, 0, 255); in decompressETC2Block()
709 dst[dstOffset+1] = (deUint8)deClamp32(unclampedG, 0, 255); in decompressETC2Block()
710 dst[dstOffset+2] = (deUint8)deClamp32(unclampedB, 0, 255); in decompressETC2Block()
754 dst[dstOffset] = (deUint8)deClamp32((int)baseCodeword + (int)multiplier*modifier, 0, 255); in decompressEAC8Block()
806 value = (deInt16)deClamp32(baseCodeword*8 + multiplier*modifier*8, -1023, 1023); in decompressEAC11Block()
808 value = (deInt16)deClamp32(baseCodeword*8 + modifier, -1023, 1023); in decompressEAC11Block()
817 value = (deUint16)deClamp32(baseCodeword*8 + 4 + multiplier*modifier*8, 0, 2047); in decompressEAC11Block()
819 value= (deUint16)deClamp32(baseCodeword*8 + 4 + modifier, 0, 2047); in decompressEAC11Block()