Lines Matching refs:mpp

2068 void ExynosResourceManager::setFrameRateForPerformance(ExynosMPP &mpp,  in setFrameRateForPerformance()  argument
2071 int fps = ceil(msecsPerSec / mpp.mCapacity); in setFrameRateForPerformance()
2073 mpp.mName.string(), fps); in setFrameRateForPerformance()
2087 ExynosMPP *mpp = NULL; in deliverPerformanceInfo() local
2091 mpp = mM2mMPPs[i]; in deliverPerformanceInfo()
2092 if (mpp->mPhysicalType != mpp_physical_type) in deliverPerformanceInfo()
2098 if ((mpp->mPrevAssignedState & MPP_ASSIGN_STATE_ASSIGNED) || in deliverPerformanceInfo()
2099 (mpp->mAssignedState & MPP_ASSIGN_STATE_ASSIGNED)) in deliverPerformanceInfo()
2104 if (mpp->canSkipProcessing()) in deliverPerformanceInfo()
2107 if ((mpp->mAssignedDisplay != NULL) && in deliverPerformanceInfo()
2108 (mpp->mAssignedSources.size() > 0)) in deliverPerformanceInfo()
2123 mpp = mM2mMPPs[i]; in deliverPerformanceInfo()
2124 if ((mpp->mPhysicalType == mpp_physical_type) && in deliverPerformanceInfo()
2125 (mpp->mAssignedDisplay != NULL) && in deliverPerformanceInfo()
2126 (mpp->mAssignedSources.size() > 0)) in deliverPerformanceInfo()
2128 if (mpp->canSkipProcessing()) in deliverPerformanceInfo()
2135 if(frame->reset(mpp->mAssignedSources.size()) == false) { in deliverPerformanceInfo()
2136 … HWC_LOGE(NULL,"%d frame reset fail (%zu)", assignedInstanceIndex, mpp->mAssignedSources.size()); in deliverPerformanceInfo()
2139 setFrameRateForPerformance(*mpp, frame); in deliverPerformanceInfo()
2141 for (uint32_t j = 0; j < mpp->mAssignedSources.size(); j++) { in deliverPerformanceInfo()
2142 ExynosMPPSource* mppSource = mpp->mAssignedSources[j]; in deliverPerformanceInfo()
2164 uint32_t format = mpp->mAssignedSources[0]->mMidImg.format; in deliverPerformanceInfo()
2166 if (mpp->mNeedSolidColorLayer) { in deliverPerformanceInfo()
2171 frame->setTargetDimension(mpp->mAssignedDisplay->mXres, in deliverPerformanceInfo()
2172 mpp->mAssignedDisplay->mYres, format, hasSolidColorLayer); in deliverPerformanceInfo()
2177 if ((mpp = getExynosMPP(MPP_LOGICAL_G2D_RGB)) != NULL) in deliverPerformanceInfo()
2178 mpp->mAcrylicHandle->requestPerformanceQoS(&request); in deliverPerformanceInfo()
2189 float ExynosResourceManager::getResourceUsedCapa(ExynosMPP &mpp) in getResourceUsedCapa() argument
2192 if (mpp.mCapacity < 0) in getResourceUsedCapa()
2196 __func__, mpp.mName.string(), mpp.mLogicalIndex, in getResourceUsedCapa()
2197 mpp.mPhysicalType, mpp.mPhysicalIndex); in getResourceUsedCapa()
2199 if (mpp.mMPPType == MPP_TYPE_OTF) { in getResourceUsedCapa()
2201 if ((mpp.mPhysicalType == mOtfMPPs[i]->mPhysicalType) && in getResourceUsedCapa()
2202 (mpp.mPhysicalIndex == mOtfMPPs[i]->mPhysicalIndex)) { in getResourceUsedCapa()
2208 if ((mpp.mPhysicalType == mM2mMPPs[i]->mPhysicalType) && in getResourceUsedCapa()
2209 (mpp.mPhysicalIndex == mM2mMPPs[i]->mPhysicalIndex)) { in getResourceUsedCapa()
2216 mpp.mName.string(), mpp.mLogicalIndex, usedCapa); in getResourceUsedCapa()
2246 auto mpp_compare = [=](ExynosMPP *mpp)->bool { in setScaleDownRatio() argument
2247 return ((mpp->mPhysicalType == physicalType) && in setScaleDownRatio()
2248 (mpp->mPhysicalIndex == physicalIndex) && in setScaleDownRatio()
2249 (mpp->mLogicalIndex == logicalIndex)); in setScaleDownRatio()