Lines Matching refs:numBlocks
68 …mpressedTexFormat format, TexDecompressionParams::AstcMode mode, size_t numBlocks, const deUint8* … in testDecompress() argument
73 …TextureLevel texture (uncompressedFormat, blockPixelSize.x()*(int)numBlocks, blockPixelSiz… in testDecompress()
78 void testDecompress (CompressedTexFormat format, size_t numBlocks, const deUint8* data) in testDecompress() argument
80 testDecompress(format, TexDecompressionParams::ASTCMODE_LDR, numBlocks, data); in testDecompress()
83 testDecompress(format, TexDecompressionParams::ASTCMODE_HDR, numBlocks, data); in testDecompress()
86 …mpressedTexFormat format, TexDecompressionParams::AstcMode mode, size_t numBlocks, const deUint8* … in verifyBlocksValid() argument
88 for (size_t blockNdx = 0; blockNdx < numBlocks; blockNdx++) in verifyBlocksValid()
133 const size_t numBlocks = 1024; in iterate() local
135 generatedData.resize(numBlocks*astc::BLOCK_SIZE_BYTES); in iterate()
136 astc::generateDummyVoidExtentBlocks(&generatedData[0], numBlocks); in iterate()
138 testDecompress(m_format, numBlocks, &generatedData[0]); in iterate()
140 verifyBlocksValid(m_format, TexDecompressionParams::ASTCMODE_LDR, numBlocks, &generatedData[0]); in iterate()
143 verifyBlocksValid(m_format, TexDecompressionParams::ASTCMODE_HDR, numBlocks, &generatedData[0]); in iterate()
148 const size_t numBlocks = 1024; in iterate() local
151 generatedData.resize(numBlocks*astc::BLOCK_SIZE_BYTES); in iterate()
152 …astc::generateDummyNormalBlocks(&generatedData[0], numBlocks, blockPixelSize.x(), blockPixelSize.y… in iterate()
154 testDecompress(m_format, numBlocks, &generatedData[0]); in iterate()
156 verifyBlocksValid(m_format, TexDecompressionParams::ASTCMODE_LDR, numBlocks, &generatedData[0]); in iterate()
159 verifyBlocksValid(m_format, TexDecompressionParams::ASTCMODE_HDR, numBlocks, &generatedData[0]); in iterate()
166 const size_t numBlocks = 1024; in iterate() local
171 generatedData.resize(numBlocks*astc::BLOCK_SIZE_BYTES); in iterate()
172 …astc::generateRandomValidBlocks(&generatedData[0], numBlocks, m_format, mode, deInt32Hash(m_format… in iterate()
174 testDecompress(m_format, numBlocks, &generatedData[0]); in iterate()
176 verifyBlocksValid(m_format, mode, numBlocks, &generatedData[0]); in iterate()