• Home
  • Raw
  • Download

Lines Matching refs:numPartitions

541 …ointModes (deUint32* endpointModesDst, const Block128& blockData, int numPartitions, int extraCemB…  in decodeColorEndpointModes()  argument
543 if (numPartitions == 1) in decodeColorEndpointModes()
552 for (int i = 0; i < numPartitions; i++) in decodeColorEndpointModes()
557 for (int partNdx = 0; partNdx < numPartitions; partNdx++) in decodeColorEndpointModes()
560 const deUint32 lowBit0Ndx = numPartitions + 2*partNdx; in decodeColorEndpointModes()
561 const deUint32 lowBit1Ndx = numPartitions + 2*partNdx + 1; in decodeColorEndpointModes()
571 int computeNumColorEndpointValues (const deUint32* endpointModes, int numPartitions) in computeNumColorEndpointValues() argument
574 for (int i = 0; i < numPartitions; i++) in computeNumColorEndpointValues()
1005 …tPair* dst, const deUint32* unquantizedEndpoints, const deUint32* endpointModes, int numPartitions) in decodeColorEndpoints() argument
1009 for (int partitionNdx = 0; partitionNdx < numPartitions; partitionNdx++) in decodeColorEndpoints()
1192 …r* dst, const Block128& blockData, const deUint32* endpointModes, int numPartitions, int numColorE… in computeColorEndpoints() argument
1194 const int colorEndpointDataStart = numPartitions == 1 ? 17 : 29; in computeColorEndpoints()
1205 decodeColorEndpoints(dst, &unquantizedEndpoints[0], &endpointModes[0], numPartitions); in computeColorEndpoints()
1344 …ition (deUint32 seedIn, deUint32 xIn, deUint32 yIn, deUint32 zIn, int numPartitions, bool smallBlo… in computeTexelPartition() argument
1350 const deUint32 seed = seedIn + 1024*(numPartitions-1); in computeTexelPartition()
1379 const int shB = numPartitions == 3 ? 6 : 5; in computeTexelPartition()
1399 const int c = numPartitions >= 3 ? 0x3f & (seed5*x + seed6*y + seed9*z + (rnum >> 6)) : 0; in computeTexelPartition()
1400 const int d = numPartitions >= 4 ? 0x3f & (seed7*x + seed8*y + seed10*z + (rnum >> 2)) : 0; in computeTexelPartition()
1409 …int numPartitions, int blockWidth, int blockHeight, bool isSRGB, bool isLDRMode, const deUint32* c… in setTexelColors() argument
1415 for (int i = 0; i < numPartitions; i++) in setTexelColors()
1422 … int colorEndpointNdx = numPartitions == 1 ? 0 : computeTexelPartition(partitionIndexSeed, texe… in setTexelColors()
1423 DE_ASSERT(colorEndpointNdx < numPartitions); in setTexelColors()
1511 const int numPartitions = (int)blockData.getBits(11, 12) + 1; in decompressBlock() local
1520 (numPartitions == 4 && blockMode.isDualPlane)) in decompressBlock()
1528 const bool isSingleUniqueCem = numPartitions == 1 || blockData.getBits(23, 24) == 0; in decompressBlock()
1529 …const int numConfigDataBits = (numPartitions == 1 ? 17 : isSingleUniqueCem ? 29 : 25 + 3*numPart… in decompressBlock()
1533 : numPartitions == 4 ? 7 in decompressBlock()
1534 : numPartitions == 3 ? 4 in decompressBlock()
1535 : numPartitions == 2 ? 1 in decompressBlock()
1540 decodeColorEndpointModes(&colorEndpointModes[0], blockData, numPartitions, extraCemBitsStart); in decompressBlock()
1542 …const int numColorEndpointValues = computeNumColorEndpointValues(colorEndpointModes, numPartitions in decompressBlock()
1555 …computeColorEndpoints(&colorEndpoints[0], blockData, &colorEndpointModes[0], numPartitions, numCol… in decompressBlock()
1566 const deUint32 partitionIndexSeed = numPartitions > 1 ? blockData.getBits(13, 22) : (deUint32)-1; in decompressBlock()
1568 …s(dst, &colorEndpoints[0], &texelWeights[0], ccs, partitionIndexSeed, numPartitions, blockWidth, b… in decompressBlock()
1820 int numPartitions; member
1832 , numPartitions (-1) in NormalBlockParams()
1863 … numConfigDataBits = (params.numPartitions == 1 ? 17 : params.isMultiPartSingleCemMode ? 29 : 25 … in computeNumBitsForColorEndpoints()
1869 static inline int computeNumColorEndpointValues (const deUint32* endpointModes, int numPartitions, … in computeNumColorEndpointValues() argument
1872 return numPartitions * computeNumColorEndpointValues(endpointModes[0]); in computeNumColorEndpointValues()
1876 for (int i = 0; i < numPartitions; i++) in computeNumColorEndpointValues()
1886 …= computeNumColorEndpointValues(&params.colorEndpointModes[0], params.numPartitions, params.isMult… in isValidBlockParams()
1893 !(params.numPartitions == 4 && params.isDualPlane) && in isValidBlockParams()
2022 …onst deUint32* colorEndpointModes, bool isMultiPartSingleCemMode, int numPartitions, int extraCemB… in writeColorEndpointModes() argument
2024 if (numPartitions == 1) in writeColorEndpointModes()
2035 DE_ASSERT(numPartitions > 0); in writeColorEndpointModes()
2036 …deUint32 minCem = *std::min_element(&colorEndpointModes[0], &colorEndpointModes[numPartitions]); in writeColorEndpointModes()
2037 …deUint32 maxCem = *std::max_element(&colorEndpointModes[0], &colorEndpointModes[numPartitions]); in writeColorEndpointModes()
2046 for (int partNdx = 0; partNdx < numPartitions; partNdx++) in writeColorEndpointModes()
2050 const deUint32 lowMBit0Ndx = numPartitions + 2*partNdx; in writeColorEndpointModes()
2051 const deUint32 lowMBit1Ndx = numPartitions + 2*partNdx + 1; in writeColorEndpointModes()
2245 block.setBits(11, 12, blockParams.numPartitions - 1); in generateNormalBlock()
2246 if (blockParams.numPartitions > 1) in generateNormalBlock()
2250 …const int extraCemBitsStart = 127 - numWeightBits - (blockParams.numPartitions == 1 || blockParams… in generateNormalBlock()
2251 : blockParams.numPartitions == 4 ? 7 in generateNormalBlock()
2252 : blockParams.numPartitions == 3 ? 4 in generateNormalBlock()
2253 : blockParams.numPartitions == 2 ? 1 in generateNormalBlock()
2256 …orEndpointModes[0], blockParams.isMultiPartSingleCemMode, blockParams.numPartitions, extraCemBitsS… in generateNormalBlock()
2265 …umColorEndpointValues(&blockParams.colorEndpointModes[0], blockParams.numPartitions, blockParams.i… in generateNormalBlock()
2267 const int colorEndpointDataStartNdx = blockParams.numPartitions == 1 ? 17 : 29; in generateNormalBlock()
2305 …umColorEndpointValues(&blockParams.colorEndpointModes[0], blockParams.numPartitions, blockParams.i… in generateDefaultISEInputs()
2360 blockParams.numPartitions = rnd.getInt(1, 4); in generateRandomBlock()
2362 blockParams.isDualPlane = blockParams.numPartitions != 4 && rnd.getBool(); in generateRandomBlock()
2374 for (int i = 1; i < blockParams.numPartitions; i++) in generateRandomBlock()
2387 …umColorEndpointValues(&blockParams.colorEndpointModes[0], blockParams.numPartitions, blockParams.i… in generateRandomBlock()
2497 blockParams.numPartitions = 1; in generateBlockCaseTestData()
2520 blockParams.numPartitions = 1; in generateBlockCaseTestData()
2581 for (int numPartitions = 1; numPartitions <= (isDualPlane != 0 ? 3 : 4); numPartitions++) in generateBlockCaseTestData() local
2584 if (numPartitions > 1) in generateBlockCaseTestData()
2593 blockParams.numPartitions = numPartitions; in generateBlockCaseTestData()
2612 for (deUint32 cem1 = 0; cem1 < (numPartitions >= 2 ? 16u : 1u); cem1++) in generateBlockCaseTestData()
2613 for (deUint32 cem2 = 0; cem2 < (numPartitions >= 3 ? 16u : 1u); cem2++) in generateBlockCaseTestData()
2614 for (deUint32 cem3 = 0; cem3 < (numPartitions >= 4 ? 16u : 1u); cem3++) in generateBlockCaseTestData()
2621 blockParams.numPartitions = numPartitions; in generateBlockCaseTestData()
2630 …d::min_element(&blockParams.colorEndpointModes[0], &blockParams.colorEndpointModes[numPartitions]); in generateBlockCaseTestData()
2631 …d::max_element(&blockParams.colorEndpointModes[0], &blockParams.colorEndpointModes[numPartitions]); in generateBlockCaseTestData()
2657 for (int numPartitions = 2; numPartitions <= 4; numPartitions++) in generateBlockCaseTestData() local
2665 blockParams.numPartitions = numPartitions; in generateBlockCaseTestData()
2702 blockParams.numPartitions = 1; in generateBlockCaseTestData()
2744 …for (int numPartitions = 1; !validCaseGenerated && numPartitions <= 4; numPartition… in generateBlockCaseTestData() local
2756 blockParams.numPartitions = numPartitions; in generateBlockCaseTestData()
2764 … computeNumColorEndpointValues(&blockParams.colorEndpointModes[0], numPartitions, true)); in generateBlockCaseTestData()
2770 … = computeNumColorEndpointValues(&blockParams.colorEndpointModes[0], numPartitions, blockParams.i… in generateBlockCaseTestData()
2824 for (int numPartitions = 1; numPartitions <= 3; numPartitions++) in generateBlockCaseTestData() local
2833 blockParams.numPartitions = numPartitions; in generateBlockCaseTestData()
2915 blockParams.numPartitions = 1; in generateDummyNormalBlocks()