Lines Matching refs:getBits
55 inline deUint32 getBits (deUint32 src, int low, int high) in getBits() function
100 return getBits(v, 10, 14) == 31; in isFloat16InfOrNan()
221 deUint32 getBits (int low, int high) const in getBits() function in tcu::astc::__anon1989e5c50111::Block128
282 return m_forward ? m_src.getBits(m_startNdxInSrc + low, m_startNdxInSrc + high) in getNext()
283 : reverseBits(m_src.getBits(m_startNdxInSrc - high, m_startNdxInSrc - low), numBitsFromSrc); in getNext()
346 blockMode.isVoidExtent = getBits(blockModeData, 0, 8) == 0x1fc; in getASTCBlockMode()
350 …if ((getBits(blockModeData, 0, 1) == 0 && getBits(blockModeData, 6, 8) == 7) || getBits(blockModeD… in getASTCBlockMode()
355 if (getBits(blockModeData, 0, 1) == 0) in getASTCBlockMode()
360 const deUint32 i78 = getBits(blockModeData, 7, 8); in getASTCBlockMode()
372 const deUint32 a = getBits(blockModeData, 5, 6); in getASTCBlockMode()
377 …case 2: blockMode.weightGridWidth = a + 6; blockMode.weightGridHeight = getBits(blockModeData, 9,… in getASTCBlockMode()
387 const deUint32 i23 = getBits(blockModeData, 2, 3); in getASTCBlockMode()
388 const deUint32 a = getBits(blockModeData, 5, 6); in getASTCBlockMode()
401 const deUint32 b = getBits(blockModeData, 7, 8); in getASTCBlockMode()
413 const bool zeroDH = getBits(blockModeData, 0, 1) == 0 && getBits(blockModeData, 7, 8) == 2; in getASTCBlockMode()
486 const deUint32 minSExtent = blockData.getBits(12, 24); in decodeVoidExtentBlock()
487 const deUint32 maxSExtent = blockData.getBits(25, 37); in decodeVoidExtentBlock()
488 const deUint32 minTExtent = blockData.getBits(38, 50); in decodeVoidExtentBlock()
489 const deUint32 maxTExtent = blockData.getBits(51, 63); in decodeVoidExtentBlock()
501 blockData.getBits(64, 79), in decodeVoidExtentBlock()
502 blockData.getBits(80, 95), in decodeVoidExtentBlock()
503 blockData.getBits(96, 111), in decodeVoidExtentBlock()
504 blockData.getBits(112, 127) in decodeVoidExtentBlock()
544 endpointModesDst[0] = blockData.getBits(13, 16); in decodeColorEndpointModes()
547 const deUint32 highLevelSelector = blockData.getBits(23, 24); in decodeColorEndpointModes()
551 const deUint32 mode = blockData.getBits(25, 28); in decodeColorEndpointModes()
814 const deUint32 m23 = getBits(v0, 6, 7); in decodeHDREndpointMode7()
822 deInt32 red = (deInt32)getBits(v0, 0, 5); in decodeHDREndpointMode7()
823 deInt32 green = (deInt32)getBits(v1, 0, 4); in decodeHDREndpointMode7()
824 deInt32 blue = (deInt32)getBits(v2, 0, 4); in decodeHDREndpointMode7()
825 deInt32 scale = (deInt32)getBits(v3, 0, 4); in decodeHDREndpointMode7()
896 e0 = UVec4(v0<<4, v2<<4, getBits(v4,0,6)<<5, 0x780); in decodeHDREndpointMode11()
897 e1 = UVec4(v1<<4, v3<<4, getBits(v5,0,6)<<5, 0x780); in decodeHDREndpointMode11()
904 deInt32 c = (deInt32)(getBits(v1, 0, 5)); in decodeHDREndpointMode11()
905 deInt32 b0 = (deInt32)(getBits(v2, 0, 5)); in decodeHDREndpointMode11()
906 deInt32 b1 = (deInt32)(getBits(v3, 0, 5)); in decodeHDREndpointMode11()
907 deInt32 d0 = (deInt32)(getBits(v4, 0, 4)); in decodeHDREndpointMode11()
908 deInt32 d1 = (deInt32)(getBits(v5, 0, 4)); in decodeHDREndpointMode11()
981 deInt32 v6 = (deInt32)getBits(v6In, 0, 6); in decodeHDREndpointMode15()
982 deInt32 v7 = (deInt32)getBits(v7In, 0, 6); in decodeHDREndpointMode15()
1027 const deUint32 L0 = (v[0] >> 2) | (getBits(v[1], 6, 7) << 6); in decodeColorEndpoints()
1028 const deUint32 L1 = de::min(0xffu, L0 + getBits(v[1], 0, 5)); in decodeColorEndpoints()
1048 const deUint32 y0 = m ? (getBits(v[1], 5, 7) << 9) | (getBits(v[0], 0, 6) << 2) in decodeColorEndpoints()
1049 : (getBits(v[1], 4, 7) << 8) | (getBits(v[0], 0, 6) << 1); in decodeColorEndpoints()
1050 const deUint32 d = m ? getBits(v[1], 0, 4) << 2 in decodeColorEndpoints()
1051 : getBits(v[1], 0, 3) << 1; in decodeColorEndpoints()
1470 const deUint32 e = getBits(c, 11, 15); in setTexelColors()
1471 const deUint32 m = getBits(c, 0, 10); in setTexelColors()
1492 const ASTCBlockMode blockMode = getASTCBlockMode(blockData.getBits(0, 10)); in decompressBlock()
1511 const int numPartitions = (int)blockData.getBits(11, 12) + 1; in decompressBlock()
1528 const bool isSingleUniqueCem = numPartitions == 1 || blockData.getBits(23, 24) == 0; in decompressBlock()
1565 …const int ccs = blockMode.isDualPlane ? (int)blockData.getBits(extraCemBitsStart-2, extraCem… in decompressBlock()
1566 const deUint32 partitionIndexSeed = numPartitions > 1 ? blockData.getBits(13, 22) : (deUint32)-1; in decompressBlock()
1717 const deUint32 actualBits = getBits(bits, 0, numBitsToDst-1); in setNext()
2099 bitParts[i] = numBits > 0 ? getBits(nonBlockInput[i], 0, numBits-1) : 0; in encodeISETritBlock()
2117 dst.setNext(2, getBits(T, 0, 1)); in encodeISETritBlock()
2119 dst.setNext(2, getBits(T, 2, 3)); in encodeISETritBlock()
2123 dst.setNext(2, getBits(T, 5, 6)); in encodeISETritBlock()
2157 bitParts[i] = numBits > 0 ? getBits(nonBlockInput[i], 0, numBits-1) : 0; in encodeISEQuintBlock()
2173 dst.setNext(3, getBits(Q, 0, 2)); in encodeISEQuintBlock()
2175 dst.setNext(2, getBits(Q, 3, 4)); in encodeISEQuintBlock()
2177 dst.setNext(2, getBits(Q, 5, 6)); in encodeISEQuintBlock()