Lines Matching refs:first
94 uint32_t currentAmount = mppSrc->getHWResourceAmount(attr->first); in checkTDMResource()
101 display->mDisplayTDMInfo[TDMInfoIdx].getAvailableAmount(attr->first).totalAmount; in checkTDMResource()
105 attr->second.name.c_str(), loadSharing, accumulatedAmount[attr->first], in checkTDMResource()
107 if (accumulatedAmount[attr->first] + currentAmount > totalAmount) { in checkTDMResource()
191 setupHWResource(attr->first, attr->second.name, blockId->first, AXI_DONT_CARE, in setDisplaysTDMInfo()
195 setupHWResource(attr->first, attr->second.name, blockId->first, axi->first, in setDisplaysTDMInfo()
215 const auto &TDMInfoId = std::make_pair(blockId->first, AXI_DONT_CARE); in setDisplaysTDMInfo()
217 .getAvailableAmount(attr->first) in setDisplaysTDMInfo()
221 blockId->first, amount, in setDisplaysTDMInfo()
225 const auto &TDMInfoId = std::make_pair(blockId->first, axi->first); in setDisplaysTDMInfo()
227 .getAvailableAmount(attr->first) in setDisplaysTDMInfo()
232 blockId->first, axi->first, amount, in setDisplaysTDMInfo()
290 return it->first; in calculateHWResourceAmount()
377 if (it->first == TDM_ATTR_SRAM_AMOUNT) { in calculateHWResourceAmount()
380 amount = needHWResource(display, mppSrc->mSrcImg, mppSrc->mDstImg, it->first); in calculateHWResourceAmount()
382 mppSrc->setHWResourceAmount(it->first, amount); in calculateHWResourceAmount()
562 uint32_t compareAmount = compSrc->getHWResourceAmount(attr->first); in getAmounts()
565 DPUFAmounts[attr->first], compareAmount); in getAmounts()
567 DPUFAmounts[attr->first] += compareAmount; in getAmounts()
570 log.appendFormat(",AXI-%d(+ %d)", AXIAmounts[attr->first], compareAmount); in getAmounts()
572 AXIAmounts[attr->first] += compareAmount; in getAmounts()