Home
last modified time | relevance | path

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

/external/deqp/framework/common/
DtcuCompressedTexture.cpp1095 static const deUint8 epBits[14] = { 10, 7, 11, 11, 11, 9, 8, 8, 8, 6, 10, 11, 12, 16 }; variable
1425 if (epBits[mode] >= 16) return x; in unquantize()
1435 else if (x >= (((deInt32)1 << (epBits[mode] - 1)) - 1)) in unquantize()
1438 x = (((deInt32)x << 15) + 0x4000) >> (epBits[mode] - 1); in unquantize()
1447 if (epBits[mode] >= 15) in unquantize()
1451 else if (x == (((deInt32)1 << epBits[mode]) - 1)) in unquantize()
1454 return ((((deInt32)x << 15) + 0x4000) >> (epBits[mode] - 1)); in unquantize()
2142 r[0] = signExtend(r[0], epBits[mode], 32); in decompressBc6H()
2143 g[0] = signExtend(g[0], epBits[mode], 32); in decompressBc6H()
2144 b[0] = signExtend(b[0], epBits[mode], 32); in decompressBc6H()
[all …]