Lines Matching refs:blockSize
960 const IVec3 blockSize = getBlockPixelSize(format); in generateBlockCaseTestData() local
961 DE_ASSERT(blockSize.z() == 1); in generateBlockCaseTestData()
1031 if (isValidBlockParams(blockParams, blockSize.x(), blockSize.y())) in generateBlockCaseTestData()
1032 …generateNormalBlock(blockParams, blockSize.x(), blockSize.y(), generateDefaultISEInputs(blockParam… in generateBlockCaseTestData()
1056 while (!isValidBlockParams(blockParams, blockSize.x(), blockSize.y())) in generateBlockCaseTestData()
1077 … generateNormalBlock(blockParams, blockSize.x(), blockSize.y(), iseInputs).pushBytesToVector(dst); in generateBlockCaseTestData()
1100 … generateNormalBlock(blockParams, blockSize.x(), blockSize.y(), iseInputs).pushBytesToVector(dst); in generateBlockCaseTestData()
1132 if (isValidBlockParams(blockParams, blockSize.x(), blockSize.y())) in generateBlockCaseTestData()
1134 …generateNormalBlock(blockParams, blockSize.x(), blockSize.y(), generateDefaultISEInputs(blockParam… in generateBlockCaseTestData()
1173 if (isValidBlockParams(blockParams, blockSize.x(), blockSize.y())) in generateBlockCaseTestData()
1175 …generateNormalBlock(blockParams, blockSize.x(), blockSize.y(), generateDefaultISEInputs(blockParam… in generateBlockCaseTestData()
1201 …generateNormalBlock(blockParams, blockSize.x(), blockSize.y(), generateDefaultISEInputs(blockParam… in generateBlockCaseTestData()
1257 … generateNormalBlock(blockParams, blockSize.x(), blockSize.y(), iseInputs).pushBytesToVector(dst); in generateBlockCaseTestData()
1292 if (isValidBlockParams(blockParams, blockSize.x(), blockSize.y())) in generateBlockCaseTestData()
1316 … generateNormalBlock(blockParams, blockSize.x(), blockSize.y(), iseInputs).pushBytesToVector(dst); in generateBlockCaseTestData()
1339 … generateNormalBlock(blockParams, blockSize.x(), blockSize.y(), iseInputs).pushBytesToVector(dst); in generateBlockCaseTestData()
1369 …generateNormalBlock(blockParams, blockSize.x(), blockSize.y(), generateDefaultISEInputs(blockParam… in generateBlockCaseTestData()
1406 blockParams.weightGridWidth = rnd.getInt(2, blockSize.x()); in generateBlockCaseTestData()
1407 blockParams.weightGridHeight = rnd.getInt(2, blockSize.y()); in generateBlockCaseTestData()
1426 } while (!isValidBlockParams(blockParams, blockSize.x(), blockSize.y())); in generateBlockCaseTestData()
1466 … generateNormalBlock(blockParams, blockSize.x(), blockSize.y(), iseInputs).pushBytesToVector(dst); in generateBlockCaseTestData()
1527 const IVec2& blockSize, in compareBlockImages() argument
1538 const int numXBlocks = width / blockSize.x(); in compareBlockImages()
1540 DE_ASSERT(width % blockSize.x() == 0 && height % blockSize.y() == 0); in compareBlockImages()
1550 const IVec2 blockCoord = IVec2(x, y) / blockSize; in compareBlockImages()
1796 const IVec2 blockSize = m_renderer->getBlockSize(); in iterate() local
1798 …t numXBlocksPerImage = de::min(m_context.getRenderTarget().getWidth(), 512) / blockSize.x(); in iterate()
1799 …t numYBlocksPerImage = de::min(m_context.getRenderTarget().getHeight(), 512) / blockSize.y(); in iterate()
1801 const int imageWidth = numXBlocksPerImage * blockSize.x(); in iterate()
1802 const int imageHeight = numYBlocksPerImage * blockSize.y(); in iterate()
1815 << ", with block size " << blockSize.x() << "x" << blockSize.y() in iterate()
1839 …const bool compareOk = compareBlockImages(referenceFrame, renderedFrame, threshold, blockSize, cur… in iterate()
1925 const IVec2 blockSize = m_renderer->getBlockSize(); in init() local
1926 …m_renderer->initialize(MAX_NUM_BLOCKS_X*blockSize.x(), MAX_NUM_BLOCKS_Y*blockSize.y(), Vec4(1.0f),… in init()
1937 const IVec2 blockSize = m_renderer->getBlockSize(); in iterate() local
1938 const int curRemainderX = m_currentIteration % blockSize.x(); in iterate()
1939 const int curRemainderY = m_currentIteration / blockSize.x(); in iterate()
1940 const int imageWidth = (MAX_NUM_BLOCKS_X-1)*blockSize.x() + curRemainderX; in iterate()
1941 const int imageHeight = (MAX_NUM_BLOCKS_Y-1)*blockSize.y() + curRemainderY; in iterate()
1942 const int numBlocksX = divRoundUp(imageWidth, blockSize.x()); in iterate()
1943 const int numBlocksY = divRoundUp(imageHeight, blockSize.y()); in iterate()
1950 …generateDefaultBlockData((deUint8*)compressed.getData(), totalNumBlocks, blockSize.x(), blockSize.… in iterate()
1969 << blockSize.x() << "x" << blockSize.y() in iterate()
1984 if (m_currentIteration == 0 && m_currentIteration+1 < blockSize.x()*blockSize.y()) in iterate()
1989 if (m_currentIteration >= blockSize.x()*blockSize.y()) in iterate()
1991 DE_ASSERT(m_currentIteration == blockSize.x()*blockSize.y()); in iterate()