Lines Matching refs:deInt8
447 inline deInt8 extendSigned3To8 (deUint8 src) in extendSigned3To8()
450 return (deInt8)((isNeg ? ~((1<<3)-1) : 0) | src); in extendSigned3To8()
455 const deUint8 t = (deUint8)((deInt8)base5 + extendSigned3To8(delta3)); in extend5Delta3To8()
556 const deInt8 selBR = (deInt8)getBits(src, 59, 63); // 5 bits. in decompressETC2Block()
557 const deInt8 selBG = (deInt8)getBits(src, 51, 55); in decompressETC2Block()
558 const deInt8 selBB = (deInt8)getBits(src, 43, 47); in decompressETC2Block()
559 const deInt8 selDR = extendSigned3To8((deUint8)getBits(src, 56, 58)); // 3 bits. in decompressETC2Block()
560 const deInt8 selDG = extendSigned3To8((deUint8)getBits(src, 48, 50)); in decompressETC2Block()
561 const deInt8 selDB = extendSigned3To8((deUint8)getBits(src, 40, 42)); in decompressETC2Block()
1251 inline float int8ToFloat (deInt8 src) in int8ToFloat()
1312 inline deInt8 extractModeBc6 (deUint8 src) in extractModeBc6()
1328 case 2: return (deInt8)(2 + ((src >> 2) & 0x7)); in extractModeBc6()
1329 case 3: return (deInt8)(10 + ((src >> 2) & 0x7)); in extractModeBc6()
1335 inline deInt8 extractModeBc7 (deUint8 src) in extractModeBc7()
1337 for (deInt8 i = 0; i < 8; i++) in extractModeBc7()
1714 const deInt8 red0s = ((deInt8*)src)[0]; in decompressBc4()
1715 const deInt8 red1s = ((deInt8*)src)[1]; in decompressBc4()
1780 const deInt8 rg0s = ((deInt8*)src)[offset]; in decompressBc5()
1781 const deInt8 rg1s = ((deInt8*)src)[offset + 1]; in decompressBc5()