Lines Matching refs:mppSrc

56                                                    ExynosMPPSource *mppSrc) {  in checkTDMResource()  argument
62 mppSrc->mSrcImg.bufferHandle, currentMPP->mName.c_str()); in checkTDMResource()
63 … ExynosLayer *layer = (mppSrc->mSourceType == MPP_SOURCE_LAYER) ? (ExynosLayer *)mppSrc : nullptr; in checkTDMResource()
68 getAmounts(display, blkId, axiId, otfMPP, mppSrc, compLayer, in checkTDMResource()
75 __func__, mppSrc->mSrcImg.bufferHandle, currentMPP->mName.c_str()); in checkTDMResource()
78 getAmounts(display, blkId, axiId, otfMPP, mppSrc, &display->mExynosCompositionInfo, in checkTDMResource()
85 __func__, mppSrc->mSrcImg.bufferHandle, currentMPP->mName.c_str()); in checkTDMResource()
88 getAmounts(display, blkId, axiId, otfMPP, mppSrc, &display->mClientCompositionInfo, in checkTDMResource()
94 uint32_t currentAmount = mppSrc->getHWResourceAmount(attr->first); in checkTDMResource()
104 __func__, mppSrc->mSrcImg.bufferHandle, currentMPP->mName.c_str(), in checkTDMResource()
115 mppSrc->mSrcImg.bufferHandle, currentMPP->mName.c_str()); in checkTDMResource()
121 ExynosMPPSource *mppSrc) { in isHWResourceAvailable() argument
122 if (!checkTDMResource(display, currentMPP, mppSrc)) { in isHWResourceAvailable()
130 if (!otfMPP || dynamic_cast<ExynosMPPSource *>(layer) == mppSrc) continue; in isHWResourceAvailable()
132 if ((currentBlockId == otfMPP->getHWBlockId()) && isOverlapped(display, mppSrc, layer)) in isHWResourceAvailable()
139 __func__, mppSrc->mSrcImg.bufferHandle, currentMPP->mName.c_str(), in isHWResourceAvailable()
143 HDEBUGLOGD(eDebugTDM, "%s : %p overlapped %p", __func__, mppSrc->mSrcImg.bufferHandle, in isHWResourceAvailable()
250 ExynosMPPSource *mppSrc) in calculateHWResourceAmount() argument
254 if (mppSrc == nullptr) return SRAMtotal; in calculateHWResourceAmount()
256 if (mppSrc->mSourceType == MPP_SOURCE_LAYER) { in calculateHWResourceAmount()
257 ExynosLayer *layer = static_cast<ExynosLayer *>(mppSrc->mSource); in calculateHWResourceAmount()
269 int32_t transform = mppSrc->mSrcImg.transform; in calculateHWResourceAmount()
270 int32_t compressType = mppSrc->mSrcImg.compressionInfo.type; in calculateHWResourceAmount()
273 int32_t width = mppSrc->mSrcImg.w; in calculateHWResourceAmount()
274 int32_t height = mppSrc->mSrcImg.h; in calculateHWResourceAmount()
275 uint32_t format = mppSrc->mSrcImg.format; in calculateHWResourceAmount()
351 int srcW = mppSrc->mSrcImg.w; in calculateHWResourceAmount()
352 int srcH = mppSrc->mSrcImg.h; in calculateHWResourceAmount()
353 int dstW = mppSrc->mDstImg.w; in calculateHWResourceAmount()
354 int dstH = mppSrc->mDstImg.h; in calculateHWResourceAmount()
380 amount = needHWResource(display, mppSrc->mSrcImg, mppSrc->mDstImg, it->first); in calculateHWResourceAmount()
382 mppSrc->setHWResourceAmount(it->first, amount); in calculateHWResourceAmount()
388 mppSrc->mSrcImg.bufferHandle, SRAMtotal, in calculateHWResourceAmount()
389 needHWResource(display, mppSrc->mSrcImg, mppSrc->mDstImg, TDM_ATTR_SCALE), in calculateHWResourceAmount()
390 needHWResource(display, mppSrc->mSrcImg, mppSrc->mDstImg, TDM_ATTR_AFBC), in calculateHWResourceAmount()
391 needHWResource(display, mppSrc->mSrcImg, mppSrc->mDstImg, TDM_ATTR_ITP), in calculateHWResourceAmount()
392 needHWResource(display, mppSrc->mSrcImg, mppSrc->mDstImg, TDM_ATTR_SBWC), in calculateHWResourceAmount()
393 needHWResource(display, mppSrc->mSrcImg, mppSrc->mDstImg, TDM_ATTR_WCG), in calculateHWResourceAmount()
394 needHWResource(display, mppSrc->mSrcImg, mppSrc->mDstImg, TDM_ATTR_ROT_90)); in calculateHWResourceAmount()
472 ExynosMPPSource *mppSrc = mpp->mAssignedSources[0]; in otfMppReordering() local
473 if ((mppSrc->mSourceType == MPP_SOURCE_LAYER) && in otfMppReordering()
474 (mppSrc->mSrcImg.bufferHandle != nullptr)) { in otfMppReordering()
476 (isAFBCCompressed(mppSrc->mSrcImg.bufferHandle))) { in otfMppReordering()
480 (needHdrProcessing(display, mppSrc->mSrcImg, mppSrc->mDstImg))) { in otfMppReordering()
484 } else if (mppSrc->mSourceType == MPP_SOURCE_COMPOSITION_TARGET) { in otfMppReordering()
485 ExynosCompositionInfo *info = (ExynosCompositionInfo *)mppSrc; in otfMppReordering()
490 (isAFBCCompressed(mppSrc->mSrcImg.bufferHandle))) { in otfMppReordering()
502 (mppSrc->mSourceType == MPP_SOURCE_LAYER) ? "Layer" : "Client Target"); in otfMppReordering()
583 ExynosMPPSource* mppSrc) { in isAssignable() argument
590 mppSrc); in isAssignable()