Home | History | Annotate | Download | only in common

Lines Matching defs:getBits

55 inline deUint32 getBits (deUint32 src, int low, int high)
100 return getBits(v, 10, 14) == 31;
221 deUint32 getBits (int low, int high) const
282 return m_forward ? m_src.getBits(m_startNdxInSrc + low, m_startNdxInSrc + high)
283 : reverseBits(m_src.getBits(m_startNdxInSrc - high, m_startNdxInSrc - low), numBitsFromSrc);
346 blockMode.isVoidExtent = getBits(blockModeData, 0, 8) == 0x1fc;
350 if ((getBits(blockModeData, 0, 1) == 0 && getBits(blockModeData, 6, 8) == 7) || getBits(blockModeData, 0, 3) == 0)
355 if (getBits(blockModeData, 0, 1) == 0)
360 const deUint32 i78 = getBits(blockModeData, 7, 8);
372 const deUint32 a = getBits(blockModeData, 5, 6);
377 case 2: blockMode.weightGridWidth = a + 6; blockMode.weightGridHeight = getBits(blockModeData, 9, 10) + 6; break;
387 const deUint32 i23 = getBits(blockModeData, 2, 3);
388 const deUint32 a = getBits(blockModeData, 5, 6);
401 const deUint32 b = getBits(blockModeData, 7, 8);
413 const bool zeroDH = getBits(blockModeData, 0, 1) == 0 && getBits(blockModeData, 7, 8) == 2;
486 const deUint32 minSExtent = blockData.getBits(12, 24);
487 const deUint32 maxSExtent = blockData.getBits(25, 37);
488 const deUint32 minTExtent = blockData.getBits(38, 50);
489 const deUint32 maxTExtent = blockData.getBits(51, 63);
501 blockData.getBits(64, 79),
502 blockData.getBits(80, 95),
503 blockData.getBits(96, 111),
504 blockData.getBits(112, 127)
544 endpointModesDst[0] = blockData.getBits(13, 16);
547 const deUint32 highLevelSelector = blockData.getBits(23, 24);
551 const deUint32 mode = blockData.getBits(25, 28);
802 const deUint32 m23 = getBits(v0, 6, 7);
810 deInt32 red = (deInt32)getBits(v0, 0, 5);
811 deInt32 green = (deInt32)getBits(v1, 0, 4);
812 deInt32 blue = (deInt32)getBits(v2, 0, 4);
813 deInt32 scale = (deInt32)getBits(v3, 0, 4);
884 e0 = UVec4(v0<<4, v2<<4, getBits(v4,0,6)<<5, 0x780);
885 e1 = UVec4(v1<<4, v3<<4, getBits(v5,0,6)<<5, 0x780);
892 deInt32 c = (deInt32)(getBits(v1, 0, 5));
893 deInt32 b0 = (deInt32)(getBits(v2, 0, 5));
894 deInt32 b1 = (deInt32)(getBits(v3, 0, 5));
895 deInt32 d0 = (deInt32)(getBits(v4, 0, 4));
896 deInt32 d1 = (deInt32)(getBits(v5, 0, 4));
969 deInt32 v6 = (deInt32)getBits(v6In, 0, 6);
970 deInt32 v7 = (deInt32)getBits(v7In, 0, 6);
1015 const deUint32 L0 = (v[0] >> 2) | (getBits(v[1], 6, 7) << 6);
1016 const deUint32 L1 = de::min(0xffu, L0 + getBits(v[1], 0, 5));
1036 const deUint32 y0 = m ? (getBits(v[1], 5, 7) << 9) | (getBits(v[0], 0, 6) << 2)
1037 : (getBits(v[1], 4, 7) << 8) | (getBits(v[0], 0, 6) << 1);
1038 const deUint32 d = m ? getBits(v[1], 0, 4) << 2
1039 : getBits(v[1], 0, 3) << 1;
1458 const deUint32 e = getBits(c, 11, 15);
1459 const deUint32 m = getBits(c, 0, 10);
1480 const ASTCBlockMode blockMode = getASTCBlockMode(blockData.getBits(0, 10));
1499 const int numPartitions = (int)blockData.getBits(11, 12) + 1;
1516 const bool isSingleUniqueCem = numPartitions == 1 || blockData.getBits(23, 24) == 0;
1553 const int ccs = blockMode.isDualPlane ? (int)blockData.getBits(extraCemBitsStart-2, extraCemBitsStart-1) : -1;
1554 const deUint32 partitionIndexSeed = numPartitions > 1 ? blockData.getBits(13, 22) : (deUint32)-1;
1705 const deUint32 actualBits = getBits(bits, 0, numBitsToDst-1);
2087 bitParts[i] = numBits > 0 ? getBits(nonBlockInput[i], 0, numBits-1) : 0;
2105 dst.setNext(2, getBits(T, 0, 1));
2107 dst.setNext(2, getBits(T, 2, 3));
2111 dst.setNext(2, getBits(T, 5, 6));
2145 bitParts[i] = numBits > 0 ? getBits(nonBlockInput[i], 0, numBits-1) : 0;
2161 dst.setNext(3, getBits(Q, 0, 2));
2163 dst.setNext(2, getBits(Q, 3, 4));
2165 dst.setNext(2, getBits(Q, 5, 6));