• 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 … (TexelWeightPair* dst, const deUint32 (&unquantizedWeights) [64], int blockWidth, int blockHeight… in interpolateWeights() argument
1261 const deUint32 scaleX = (1024 + blockWidth/2) / (blockWidth-1); in interpolateWeights()
1268 for (int texelX = 0; texelX < blockWidth; texelX++) in interpolateWeights()
1301 …dst[texelY*blockWidth + texelX].w[texelWeightNdx] = (p00*w00 + p01*w01 + p10*w10 + p11*w11 + 8) >>… in interpolateWeights()
1307 void computeTexelWeights (TexelWeightPair* dst, const Block128& blockData, int blockWidth, int bloc… in computeTexelWeights() argument
1319 interpolateWeights(dst, unquantizedWeights, blockWidth, blockHeight, blockMode); in computeTexelWeights()
1397 …int numPartitions, int blockWidth, int blockHeight, bool isSRGB, bool isLDRMode, const deUint32* c… in setTexelColors() argument
1399 const bool smallBlock = blockWidth*blockHeight < 31; in setTexelColors()
1407 for (int texelX = 0; texelX < blockWidth; texelX++) in setTexelColors()
1409 const int texelNdx = texelY*blockWidth + texelX; in setTexelColors()
1474 DecompressResult decompressBlock (void* dst, const Block128& blockData, int blockWidth, int blockHe… in decompressBlock() argument
1486 setASTCErrorColorBlock(dst, blockWidth, blockHeight, isSRGB); in decompressBlock()
1493 return decodeVoidExtentBlock(dst, blockData, blockWidth, blockHeight, isSRGB, isLDR); in decompressBlock()
1506 blockMode.weightGridWidth > blockWidth || in decompressBlock()
1510 setASTCErrorColorBlock(dst, blockWidth, blockHeight, isSRGB); in decompressBlock()
1536 setASTCErrorColorBlock(dst, blockWidth, blockHeight, isSRGB); in decompressBlock()
1549 computeTexelWeights(&texelWeights[0], blockData, blockWidth, blockHeight, blockMode); in decompressBlock()
1556 …ndpoints[0], &texelWeights[0], ccs, partitionIndexSeed, numPartitions, blockWidth, blockHeight, is… in decompressBlock()
1563 const int blockWidth = dst.getWidth(); in decompress() local
1579 for (int j = 0; j < blockWidth; j++) in decompress()
1581 dst.setPixel(IVec4(decompressedBuffer.sRGB[(i*blockWidth + j) * 4 + 0], in decompress()
1582 decompressedBuffer.sRGB[(i*blockWidth + j) * 4 + 1], in decompress()
1583 decompressedBuffer.sRGB[(i*blockWidth + j) * 4 + 2], in decompress()
1584 decompressedBuffer.sRGB[(i*blockWidth + j) * 4 + 3]), j, i); in decompress()
1590 for (int j = 0; j < blockWidth; j++) in decompress()
1592 dst.setPixel(Vec4(decompressedBuffer.linear[(i*blockWidth + j) * 4 + 0], in decompress()
1593 decompressedBuffer.linear[(i*blockWidth + j) * 4 + 1], in decompress()
1594 decompressedBuffer.linear[(i*blockWidth + j) * 4 + 2], in decompress()
1595 decompressedBuffer.linear[(i*blockWidth + j) * 4 + 3]), j, i); in decompress()
1870 static inline bool isValidBlockParams (const NormalBlockParams& params, int blockWidth, int blockHe… in isValidBlockParams() argument
1879 params.weightGridWidth <= blockWidth && in isValidBlockParams()
2221 static AssignBlock128 generateNormalBlock (const NormalBlockParams& blockParams, int blockWidth, in… in generateNormalBlock() argument
2223 DE_ASSERT(isValidBlockParams(blockParams, blockWidth, blockHeight)); in generateNormalBlock()
2224 DE_UNREF(blockWidth); // \note For non-debug builds. in generateNormalBlock()
2895 void generateDummyNormalBlocks (deUint8* dst, size_t numBlocks, int blockWidth, int blockHeight) in generateDummyNormalBlocks() argument
2917 …generateNormalBlock(blockParams, blockWidth, blockHeight, iseInputs).assignToMemory(dst + blockNdx… in generateDummyNormalBlocks()