Lines Matching refs:blockData
484 DecompressResult decodeVoidExtentBlock (void* dst, const Block128& blockData, int blockWidth, int b… in decodeVoidExtentBlock() argument
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()
491 const bool isHDRBlock = blockData.isBitSet(9); 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()
541 void decodeColorEndpointModes (deUint32* endpointModesDst, const Block128& blockData, int numPartit… in decodeColorEndpointModes() argument
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()
559 const deUint32 cemClass = highLevelSelector - (blockData.isBitSet(25 + partNdx) ? 0 : 1); in decodeColorEndpointModes()
562 …const deUint32 lowBit0 = blockData.getBit(lowBit0Ndx < 4 ? 25+lowBit0Ndx : extraCemBitsStart+lowB… in decodeColorEndpointModes()
563 …const deUint32 lowBit1 = blockData.getBit(lowBit1Ndx < 4 ? 25+lowBit1Ndx : extraCemBitsStart+lowB… in decodeColorEndpointModes()
1180 void computeColorEndpoints (ColorEndpointPair* dst, const Block128& blockData, const deUint32* endp… in computeColorEndpoints() argument
1186 BitAccessStream dataStream(blockData, colorEndpointDataStart, numBitsAvailable, true); in computeColorEndpoints()
1307 void computeTexelWeights (TexelWeightPair* dst, const Block128& blockData, int blockWidth, int bloc… in computeTexelWeights() argument
1312 …BitAccessStream dataStream(blockData, 127, computeNumRequiredBits(blockMode.weightISEParams, compu… in computeTexelWeights()
1474 DecompressResult decompressBlock (void* dst, const Block128& blockData, int blockWidth, int blockHe… in decompressBlock() argument
1480 const ASTCBlockMode blockMode = getASTCBlockMode(blockData.getBits(0, 10)); in decompressBlock()
1493 return decodeVoidExtentBlock(dst, blockData, blockWidth, blockHeight, isSRGB, isLDR); in decompressBlock()
1499 const int numPartitions = (int)blockData.getBits(11, 12) + 1; in decompressBlock()
1516 const bool isSingleUniqueCem = numPartitions == 1 || blockData.getBits(23, 24) == 0; in decompressBlock()
1528 decodeColorEndpointModes(&colorEndpointModes[0], blockData, numPartitions, extraCemBitsStart); in decompressBlock()
1543 …computeColorEndpoints(&colorEndpoints[0], blockData, &colorEndpointModes[0], numPartitions, numCol… in decompressBlock()
1549 computeTexelWeights(&texelWeights[0], blockData, blockWidth, blockHeight, blockMode); in decompressBlock()
1553 …const int ccs = blockMode.isDualPlane ? (int)blockData.getBits(extraCemBitsStart-2, extraCem… in decompressBlock()
1554 const deUint32 partitionIndexSeed = numPartitions > 1 ? blockData.getBits(13, 22) : (deUint32)-1; in decompressBlock()
1572 const Block128 blockData(data); in decompress() local
1574 blockData, dst.getWidth(), dst.getHeight(), isSRGB, isLDR); in decompress()
2935 const Block128 blockData (data); in isValidBlock() local
2937 blockData, blockPixelSize.x(), blockPixelSize.y(), isSRGB, isLDR); in isValidBlock()