• Home
  • Raw
  • Download

Lines Matching refs:blockWidth

456 inline void setASTCErrorColorBlock (void* dst, int blockWidth, int blockHeight, bool isSRGB)  in setASTCErrorColorBlock()  argument
462 for (int i = 0; i < blockWidth*blockHeight; i++) in setASTCErrorColorBlock()
474 for (int i = 0; i < blockWidth*blockHeight; i++) in setASTCErrorColorBlock()
484 DecompressResult decodeVoidExtentBlock (void* dst, const Block128& blockData, int blockWidth, int b… in decodeVoidExtentBlock() argument
495 setASTCErrorColorBlock(dst, blockWidth, blockHeight, isSRGB); in decodeVoidExtentBlock()
510 for (int i = 0; i < blockWidth*blockHeight; i++) in decodeVoidExtentBlock()
526 for (int i = 0; i < blockWidth*blockHeight; i++) in decodeVoidExtentBlock()
532 for (int i = 0; i < blockWidth*blockHeight; i++) in decodeVoidExtentBlock()
1258 void interpolateWeights (TexelWeightPair* dst, const deUint32* unquantizedWeights, int blockWidth, … in interpolateWeights() argument
1261 const deUint32 scaleX = (1024 + blockWidth/2) / (blockWidth-1); in interpolateWeights()
1266 for (int texelX = 0; texelX < blockWidth; texelX++) in interpolateWeights()
1287 …dst[texelY*blockWidth + texelX].w[texelWeightNdx] = (p00*w00 + p01*w01 + p10*w10 + p11*w11 + 8) >>… in interpolateWeights()
1293 void computeTexelWeights (TexelWeightPair* dst, const Block128& blockData, int blockWidth, int bloc… in computeTexelWeights() argument
1305 interpolateWeights(dst, &unquantizedWeights[0], blockWidth, blockHeight, blockMode); in computeTexelWeights()
1383 …int numPartitions, int blockWidth, int blockHeight, bool isSRGB, bool isLDRMode, const deUint32* c… in setTexelColors() argument
1385 const bool smallBlock = blockWidth*blockHeight < 31; in setTexelColors()
1393 for (int texelX = 0; texelX < blockWidth; texelX++) in setTexelColors()
1395 const int texelNdx = texelY*blockWidth + texelX; in setTexelColors()
1460 DecompressResult decompressBlock (void* dst, const Block128& blockData, int blockWidth, int blockHe… in decompressBlock() argument
1472 setASTCErrorColorBlock(dst, blockWidth, blockHeight, isSRGB); in decompressBlock()
1479 return decodeVoidExtentBlock(dst, blockData, blockWidth, blockHeight, isSRGB, isLDR); in decompressBlock()
1492 blockMode.weightGridWidth > blockWidth || in decompressBlock()
1496 setASTCErrorColorBlock(dst, blockWidth, blockHeight, isSRGB); in decompressBlock()
1522 setASTCErrorColorBlock(dst, blockWidth, blockHeight, isSRGB); in decompressBlock()
1535 computeTexelWeights(&texelWeights[0], blockData, blockWidth, blockHeight, blockMode); in decompressBlock()
1542 …ndpoints[0], &texelWeights[0], ccs, partitionIndexSeed, numPartitions, blockWidth, blockHeight, is… in decompressBlock()
1549 const int blockWidth = dst.getWidth(); in decompress() local
1565 for (int j = 0; j < blockWidth; j++) in decompress()
1567 dst.setPixel(IVec4(decompressedBuffer.sRGB[(i*blockWidth + j) * 4 + 0], in decompress()
1568 decompressedBuffer.sRGB[(i*blockWidth + j) * 4 + 1], in decompress()
1569 decompressedBuffer.sRGB[(i*blockWidth + j) * 4 + 2], in decompress()
1570 decompressedBuffer.sRGB[(i*blockWidth + j) * 4 + 3]), j, i); in decompress()
1576 for (int j = 0; j < blockWidth; j++) in decompress()
1578 dst.setPixel(Vec4(decompressedBuffer.linear[(i*blockWidth + j) * 4 + 0], in decompress()
1579 decompressedBuffer.linear[(i*blockWidth + j) * 4 + 1], in decompress()
1580 decompressedBuffer.linear[(i*blockWidth + j) * 4 + 2], in decompress()
1581 decompressedBuffer.linear[(i*blockWidth + j) * 4 + 3]), j, i); in decompress()
1856 static inline bool isValidBlockParams (const NormalBlockParams& params, int blockWidth, int blockHe… in isValidBlockParams() argument
1865 params.weightGridWidth <= blockWidth && in isValidBlockParams()
2207 static AssignBlock128 generateNormalBlock (const NormalBlockParams& blockParams, int blockWidth, in… in generateNormalBlock() argument
2209 DE_ASSERT(isValidBlockParams(blockParams, blockWidth, blockHeight)); in generateNormalBlock()
2210 DE_UNREF(blockWidth); // \note For non-debug builds. in generateNormalBlock()
2881 void generateDummyNormalBlocks (deUint8* dst, size_t numBlocks, int blockWidth, int blockHeight) in generateDummyNormalBlocks() argument
2903 …generateNormalBlock(blockParams, blockWidth, blockHeight, iseInputs).assignToMemory(dst + blockNdx… in generateDummyNormalBlocks()