• Home
  • Raw
  • Download

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()
2178 const int numBlocks = deDivRoundUp32(numValues, 5); in encodeISE() local
2179 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in encodeISE()
2181 const int numValuesInBlock = blockNdx == numBlocks-1 ? numValues - 5*(numBlocks-1) : 5; in encodeISE()
2190 const int numBlocks = deDivRoundUp32(numValues, 3); in encodeISE() local
2191 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in encodeISE()
2193 const int numValuesInBlock = blockNdx == numBlocks-1 ? numValues - 3*(numBlocks-1) : 3; in encodeISE()
2425 const int numBlocks = 1<<13; in generateBlockCaseTestData() local
2427 dst.reserve(numBlocks*BLOCK_SIZE_BYTES); in generateBlockCaseTestData()
2429 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in generateBlockCaseTestData()
2431 const deUint32 baseValue = blockNdx*(numValues-1) / (numBlocks-1); in generateBlockCaseTestData()
2449 const int numBlocks = 1<<13; in generateBlockCaseTestData() local
2450 dst.reserve(numBlocks*BLOCK_SIZE_BYTES); in generateBlockCaseTestData()
2452 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in generateBlockCaseTestData()
2454 const int rNdx = (blockNdx + numBlocks*0/4) % numBlocks; in generateBlockCaseTestData()
2455 const int gNdx = (blockNdx + numBlocks*1/4) % numBlocks; in generateBlockCaseTestData()
2456 const int bNdx = (blockNdx + numBlocks*2/4) % numBlocks; in generateBlockCaseTestData()
2457 const int aNdx = (blockNdx + numBlocks*3/4) % numBlocks; in generateBlockCaseTestData()
2458 …Float16 r = deFloat32To16(minValue + (float)rNdx * (maxValue - minValue) / (float)(numBlocks-1)); in generateBlockCaseTestData()
2459 …Float16 g = deFloat32To16(minValue + (float)gNdx * (maxValue - minValue) / (float)(numBlocks-1)); in generateBlockCaseTestData()
2460 …Float16 b = deFloat32To16(minValue + (float)bNdx * (maxValue - minValue) / (float)(numBlocks-1)); in generateBlockCaseTestData()
2461 …Float16 a = deFloat32To16(minValue + (float)aNdx * (maxValue - minValue) / (float)(numBlocks-1)); in generateBlockCaseTestData()
2524 const int numBlocks = deDivRoundUp32(numWeightValues, numWeights); in generateBlockCaseTestData() local
2529 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in generateBlockCaseTestData()
2545 const int numBlocks = deDivRoundUp32(numTQValues, numISEBlocksPerBlock); in generateBlockCaseTestData() local
2548 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in generateBlockCaseTestData()
2763 const int numBlocks = deDivRoundUp32(numColorEndpointValues, numColorEndpoints); in generateBlockCaseTestData() local
2768 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in generateBlockCaseTestData()
2784 const int numBlocks = deDivRoundUp32(numTQValues, numISEBlocksPerBlock); in generateBlockCaseTestData() local
2787 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in generateBlockCaseTestData()
2835 const int numBlocks = 16384; in generateBlockCaseTestData() local
2838 dst.resize(numBlocks*BLOCK_SIZE_BYTES); in generateBlockCaseTestData()
2840 generateRandomBlocks(&dst[0], numBlocks, format, seed); in generateBlockCaseTestData()
2850 void generateRandomBlocks (deUint8* dst, size_t numBlocks, CompressedTexFormat format, deUint32 see… in generateRandomBlocks() argument
2859 for (numBlocksGenerated = 0; numBlocksGenerated < numBlocks; numBlocksGenerated++) in generateRandomBlocks()
2867 void generateRandomValidBlocks (deUint8* dst, size_t numBlocks, CompressedTexFormat format, TexDeco… in generateRandomValidBlocks() argument
2876 for (numBlocksGenerated = 0; numBlocksGenerated < numBlocks; numBlocksGenerated++) in generateRandomValidBlocks()
2888 void generateDummyVoidExtentBlocks (deUint8* dst, size_t numBlocks) in generateDummyVoidExtentBlocks() argument
2891 for (size_t ndx = 0; ndx < numBlocks; ndx++) in generateDummyVoidExtentBlocks()
2895 void generateDummyNormalBlocks (deUint8* dst, size_t numBlocks, int blockWidth, int blockHeight) in generateDummyNormalBlocks() argument
2912 for (size_t blockNdx = 0; blockNdx < numBlocks; blockNdx++) in generateDummyNormalBlocks()
2915 …htNdx] = (deUint32)((blockNdx*numWeights + weightNdx) * weightRangeMax / (numBlocks*numWeights-1)); in generateDummyNormalBlocks()