Lines Matching refs:numBlocks
697 const int numBlocks = deDivRoundUp32(numValues, 5); in decodeISE() local
698 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in decodeISE()
700 const int numValuesInBlock = blockNdx == numBlocks-1 ? numValues - 5*(numBlocks-1) : 5; in decodeISE()
706 const int numBlocks = deDivRoundUp32(numValues, 3); in decodeISE() local
707 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in decodeISE()
709 const int numValuesInBlock = blockNdx == numBlocks-1 ? numValues - 3*(numBlocks-1) : 3; in decodeISE()
2164 const int numBlocks = deDivRoundUp32(numValues, 5); in encodeISE() local
2165 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in encodeISE()
2167 const int numValuesInBlock = blockNdx == numBlocks-1 ? numValues - 5*(numBlocks-1) : 5; in encodeISE()
2176 const int numBlocks = deDivRoundUp32(numValues, 3); in encodeISE() local
2177 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in encodeISE()
2179 const int numValuesInBlock = blockNdx == numBlocks-1 ? numValues - 3*(numBlocks-1) : 3; in encodeISE()
2411 const int numBlocks = 1<<13; in generateBlockCaseTestData() local
2413 dst.reserve(numBlocks*BLOCK_SIZE_BYTES); in generateBlockCaseTestData()
2415 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in generateBlockCaseTestData()
2417 const deUint32 baseValue = blockNdx*(numValues-1) / (numBlocks-1); in generateBlockCaseTestData()
2435 const int numBlocks = 1<<13; in generateBlockCaseTestData() local
2436 dst.reserve(numBlocks*BLOCK_SIZE_BYTES); in generateBlockCaseTestData()
2438 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in generateBlockCaseTestData()
2440 const int rNdx = (blockNdx + numBlocks*0/4) % numBlocks; in generateBlockCaseTestData()
2441 const int gNdx = (blockNdx + numBlocks*1/4) % numBlocks; in generateBlockCaseTestData()
2442 const int bNdx = (blockNdx + numBlocks*2/4) % numBlocks; in generateBlockCaseTestData()
2443 const int aNdx = (blockNdx + numBlocks*3/4) % numBlocks; in generateBlockCaseTestData()
2444 …Float16 r = deFloat32To16(minValue + (float)rNdx * (maxValue - minValue) / (float)(numBlocks-1)); in generateBlockCaseTestData()
2445 …Float16 g = deFloat32To16(minValue + (float)gNdx * (maxValue - minValue) / (float)(numBlocks-1)); in generateBlockCaseTestData()
2446 …Float16 b = deFloat32To16(minValue + (float)bNdx * (maxValue - minValue) / (float)(numBlocks-1)); in generateBlockCaseTestData()
2447 …Float16 a = deFloat32To16(minValue + (float)aNdx * (maxValue - minValue) / (float)(numBlocks-1)); in generateBlockCaseTestData()
2510 const int numBlocks = deDivRoundUp32(numWeightValues, numWeights); in generateBlockCaseTestData() local
2515 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in generateBlockCaseTestData()
2531 const int numBlocks = deDivRoundUp32(numTQValues, numISEBlocksPerBlock); in generateBlockCaseTestData() local
2534 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in generateBlockCaseTestData()
2749 const int numBlocks = deDivRoundUp32(numColorEndpointValues, numColorEndpoints); in generateBlockCaseTestData() local
2754 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in generateBlockCaseTestData()
2770 const int numBlocks = deDivRoundUp32(numTQValues, numISEBlocksPerBlock); in generateBlockCaseTestData() local
2773 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in generateBlockCaseTestData()
2821 const int numBlocks = 16384; in generateBlockCaseTestData() local
2824 dst.resize(numBlocks*BLOCK_SIZE_BYTES); in generateBlockCaseTestData()
2826 generateRandomBlocks(&dst[0], numBlocks, format, seed); in generateBlockCaseTestData()
2836 void generateRandomBlocks (deUint8* dst, size_t numBlocks, CompressedTexFormat format, deUint32 see… in generateRandomBlocks() argument
2845 for (numBlocksGenerated = 0; numBlocksGenerated < numBlocks; numBlocksGenerated++) in generateRandomBlocks()
2853 void generateRandomValidBlocks (deUint8* dst, size_t numBlocks, CompressedTexFormat format, TexDeco… in generateRandomValidBlocks() argument
2862 for (numBlocksGenerated = 0; numBlocksGenerated < numBlocks; numBlocksGenerated++) in generateRandomValidBlocks()
2874 void generateDummyVoidExtentBlocks (deUint8* dst, size_t numBlocks) in generateDummyVoidExtentBlocks() argument
2877 for (size_t ndx = 0; ndx < numBlocks; ndx++) in generateDummyVoidExtentBlocks()
2881 void generateDummyNormalBlocks (deUint8* dst, size_t numBlocks, int blockWidth, int blockHeight) in generateDummyNormalBlocks() argument
2898 for (size_t blockNdx = 0; blockNdx < numBlocks; blockNdx++) in generateDummyNormalBlocks()
2901 …htNdx] = (deUint32)((blockNdx*numWeights + weightNdx) * weightRangeMax / (numBlocks*numWeights-1)); in generateDummyNormalBlocks()