Lines Matching refs:mAssignedSources

230     mAssignedSources.clear();  in ExynosMPP()
1115 if (mPrevFrameInfo.srcNum != mAssignedSources.size()) in canUsePrevFrame()
1119 if ((mPrevFrameInfo.srcInfo[i].bufferHandle != mAssignedSources[i]->mSrcImg.bufferHandle) || in canUsePrevFrame()
1120 (mPrevFrameInfo.srcInfo[i].x != mAssignedSources[i]->mSrcImg.x) || in canUsePrevFrame()
1121 (mPrevFrameInfo.srcInfo[i].y != mAssignedSources[i]->mSrcImg.y) || in canUsePrevFrame()
1122 (mPrevFrameInfo.srcInfo[i].w != mAssignedSources[i]->mSrcImg.w) || in canUsePrevFrame()
1123 (mPrevFrameInfo.srcInfo[i].h != mAssignedSources[i]->mSrcImg.h) || in canUsePrevFrame()
1124 (mPrevFrameInfo.srcInfo[i].format != mAssignedSources[i]->mSrcImg.format) || in canUsePrevFrame()
1125 (mPrevFrameInfo.srcInfo[i].usageFlags != mAssignedSources[i]->mSrcImg.usageFlags) || in canUsePrevFrame()
1126 (mPrevFrameInfo.srcInfo[i].dataSpace != mAssignedSources[i]->mSrcImg.dataSpace) || in canUsePrevFrame()
1127 (mPrevFrameInfo.srcInfo[i].blending != mAssignedSources[i]->mSrcImg.blending) || in canUsePrevFrame()
1128 (mPrevFrameInfo.srcInfo[i].transform != mAssignedSources[i]->mSrcImg.transform) || in canUsePrevFrame()
1129 (mPrevFrameInfo.srcInfo[i].compressed != mAssignedSources[i]->mSrcImg.compressed) || in canUsePrevFrame()
1130 (mPrevFrameInfo.srcInfo[i].planeAlpha != mAssignedSources[i]->mSrcImg.planeAlpha) || in canUsePrevFrame()
1131 (mPrevFrameInfo.dstInfo[i].x != mAssignedSources[i]->mMidImg.x) || in canUsePrevFrame()
1132 (mPrevFrameInfo.dstInfo[i].y != mAssignedSources[i]->mMidImg.y) || in canUsePrevFrame()
1133 (mPrevFrameInfo.dstInfo[i].w != mAssignedSources[i]->mMidImg.w) || in canUsePrevFrame()
1134 (mPrevFrameInfo.dstInfo[i].h != mAssignedSources[i]->mMidImg.h) || in canUsePrevFrame()
1135 (mPrevFrameInfo.dstInfo[i].format != mAssignedSources[i]->mMidImg.format)) in canUsePrevFrame()
1289 if ((mAssignedSources.size() <= 1) && in getDstMetaInfo()
1290 (mAssignedSources[0]->mSrcImg.dataSpace == dstDataspace)) { in getDstMetaInfo()
1292 … (uint16_t)mAssignedSources[0]->mSrcImg.metaParcel.sHdrStaticInfo.sType1.mMinDisplayLuminance; in getDstMetaInfo()
1294 …(uint16_t)(mAssignedSources[0]->mSrcImg.metaParcel.sHdrStaticInfo.sType1.mMaxDisplayLuminance/1000… in getDstMetaInfo()
1333 dataspace = mAssignedSources[0]->mMidImg.dataSpace; in setupDst()
1426 size_t sourceNum = mAssignedSources.size(); in doPostProcessingInternal()
1435 MPP_LOGD(eDebugMPP|eDebugFence, "Setup [%zu] source: %p", i, mAssignedSources[i]); in doPostProcessingInternal()
1436 …if ((ret = setupLayer(&mSrcImgs[i], mAssignedSources[i]->mSrcImg, mAssignedSources[i]->mMidImg)) !… in doPostProcessingInternal()
1462 if (mAcrylicHandle->layerCount() != mAssignedSources.size()) { in doPostProcessingInternal()
1464 mAcrylicHandle->layerCount(), mAssignedSources.size()); in doPostProcessingInternal()
1500 mAssignedSources[i]->mSrcImg.fullWidth, mAssignedSources[i]->mSrcImg.fullHeight, in doPostProcessingInternal()
1501 mAssignedSources[i]->mSrcImg.x, mAssignedSources[i]->mSrcImg.y, in doPostProcessingInternal()
1502 mAssignedSources[i]->mSrcImg.x + mAssignedSources[i]->mSrcImg.w, in doPostProcessingInternal()
1503 mAssignedSources[i]->mSrcImg.y + mAssignedSources[i]->mSrcImg.h, in doPostProcessingInternal()
1504 mAssignedSources[i]->mMidImg.x, mAssignedSources[i]->mMidImg.y, in doPostProcessingInternal()
1505 mAssignedSources[i]->mMidImg.x + mAssignedSources[i]->mMidImg.w, in doPostProcessingInternal()
1506 mAssignedSources[i]->mMidImg.y + mAssignedSources[i]->mMidImg.h, in doPostProcessingInternal()
1507 mAssignedSources[i]->mSrcImg.transform); in doPostProcessingInternal()
1633 if ((mAssignedDisplay == NULL) || (mAssignedSources.size() == 0)) in canSkipProcessing()
1635 ExynosMPPSource *source = mAssignedSources[0]; in canSkipProcessing()
1653 MPP_LOGD(eDebugMPP, "total assigned sources (%zu)++++++++", mAssignedSources.size()); in doPostProcessing()
1657 if (mAssignedSources.size() == 0) { in doPostProcessing()
1659 mAssignedSources.size()); in doPostProcessing()
1700 for (uint32_t i = 0; i < mAssignedSources.size(); i++) { in doPostProcessing()
1701 mAssignedSources[i]->mSrcImg.acquireFenceFd = in doPostProcessing()
1702 fence_close(mAssignedSources[i]->mSrcImg.acquireFenceFd, in doPostProcessing()
1718 mPrevFrameInfo.srcNum = (uint32_t)mAssignedSources.size(); in doPostProcessing()
1720 mPrevFrameInfo.srcInfo[i] = mAssignedSources[i]->mSrcImg; in doPostProcessing()
1721 mPrevFrameInfo.dstInfo[i] = mAssignedSources[i]->mMidImg; in doPostProcessing()
1748 for (uint32_t i = 0; i < mAssignedSources.size(); i++) { in resetSrcReleaseFence()
1779 if (mAssignedSources.size() == 1) { in getDstImageInfo()
1780 img->x = mAssignedSources[0]->mDstImg.x; in getDstImageInfo()
1781 img->y = mAssignedSources[0]->mDstImg.y; in getDstImageInfo()
1782 img->w = mAssignedSources[0]->mDstImg.w; in getDstImageInfo()
1783 img->h = mAssignedSources[0]->mDstImg.h; in getDstImageInfo()
1791 img->x = mAssignedSources[0]->mMidImg.x; in getDstImageInfo()
1792 img->y = mAssignedSources[0]->mMidImg.y; in getDstImageInfo()
1793 img->w = mAssignedSources[0]->mMidImg.w; in getDstImageInfo()
1794 img->h = mAssignedSources[0]->mMidImg.h; in getDstImageInfo()
1796 mAssignedSources[0]->mMidImg.needColorTransform; in getDstImageInfo()
2126 mAssignedSources.clear(); in resetMPP()
2136 for (int i = (int)mAssignedSources.size(); i-- > 0;) { in resetAssignedState()
2137 ExynosMPPSource *mppSource = mAssignedSources[i]; in resetAssignedState()
2144 mAssignedSources.removeItemsAt(i); in resetAssignedState()
2149 (mAssignedSources.size() == 0)) { in resetAssignedState()
2163 for (int i = (int)mAssignedSources.size(); i-- > 0;) { in resetAssignedState()
2164 ExynosMPPSource *source = mAssignedSources[i]; in resetAssignedState()
2173 mAssignedSources.removeItemsAt(i); in resetAssignedState()
2184 (mAssignedSources.size() == 0)) { in resetAssignedState()
2219 mAssignedSources.add(mppSource); in assignMPP()
2223 mAssignedSources.size()); in assignMPP()
2229 std::sort(mAssignedSources.begin(), mAssignedSources.end(), exynosMPPSourceComp); in assignMPP()
2243 return mAssignedSources.size(); in getAssignedSourceNum()
2300 if (mAssignedSources.size() < getSrcMaxBlendingNum(src, dst)) in isAssignableState()
2308 if (mAssignedSources.size() < getSrcMaxBlendingNum(src, dst)) in isAssignableState()
2320 isAssignable, mAssignedSources.size(), getSrcMaxBlendingNum(src, dst)); in isAssignableState()
2476 for (uint32_t i = 0; i < mAssignedSources.size(); i++) { in getAssignedCapacity()
2477 if ((mAssignedSources[i]->mSrcImg.transform & HAL_TRANSFORM_ROT_90) != 0) in getAssignedCapacity()
2490 for (uint32_t i = 0; i < mAssignedSources.size(); i++) { in getAssignedCapacity()
2492 uint32_t srcResolution = mAssignedSources[i]->mSrcImg.w * mAssignedSources[i]->mSrcImg.h; in getAssignedCapacity()
2493 uint32_t dstResolution = mAssignedSources[i]->mMidImg.w * mAssignedSources[i]->mMidImg.h; in getAssignedCapacity()
2497 if (mAssignedSources[i]->mSrcImg.layerFlags & EXYNOS_HWC_DIM_LAYER) { in getAssignedCapacity()
2500 …PPC = getPPC(mAssignedSources[i]->mSrcImg, mAssignedSources[i]->mMidImg, mAssignedSources[i]->mSrc… in getAssignedCapacity()
2501 &mAssignedSources[i]->mSrcImg, &mAssignedSources[i]->mMidImg); in getAssignedCapacity()
2506 if ((hasHdrInfo(mAssignedSources[i]->mSrcImg) || in getAssignedCapacity()
2507 (getDrmMode(mAssignedSources[i]->mSrcImg.usageFlags) != NO_DRM))) { in getAssignedCapacity()
2509 … i, srcCycles, PPC, srcResolution, dstResolution, mAssignedSources[i]->mSrcImg.transform); in getAssignedCapacity()
2516 …i, srcCycles, baseCycles, PPC, srcResolution, dstResolution, mAssignedSources[i]->mSrcImg.transfor… in getAssignedCapacity()
2539 if ((mAssignedSources.size() == 0) || in getRequiredCapacity()
2544 if ((mAssignedSources.size() == 0) && in getRequiredCapacity()
2566 for (uint32_t i = 0; i < mAssignedSources.size(); i++) { in getRequiredCapacity()
2568 … uint32_t assignedSrcResolution = mAssignedSources[i]->mSrcImg.w * mAssignedSources[i]->mSrcImg.h; in getRequiredCapacity()
2569 … uint32_t assignedDstResolution = mAssignedSources[i]->mMidImg.w * mAssignedSources[i]->mMidImg.h; in getRequiredCapacity()
2571 … float assignedPPC = getPPC(mAssignedSources[i]->mSrcImg, mAssignedSources[i]->mMidImg, in getRequiredCapacity()
2572 mAssignedSources[i]->mSrcImg, &src, &dst); in getRequiredCapacity()
2578 …eCycles, assignedPPC, assignedSrcResolution, assignedDstResolution, mAssignedSources[i]->mSrcImg.t… in getRequiredCapacity()
2630 if ((mAssignedSources.size() == 0) || in addCapacity()
2641 (mAssignedSources.size() == 0)) { in addCapacity()
2666 mAssignedSources.size(), in addCapacity()
2701 mAssignedSources.size(), in removeCapacity()
2741 (mAssignedSources.size() > 0)) { in updateUsedCapacity()
2749 for (uint32_t i = 0; i < mAssignedSources.size(); i++) { in updateUsedCapacity()
2750 … uint32_t srcResolution = mAssignedSources[i]->mSrcImg.w * mAssignedSources[i]->mSrcImg.h; in updateUsedCapacity()
2751 if ((mAssignedSources[i]->mSrcImg.transform & HAL_TRANSFORM_ROT_90) == 0) in updateUsedCapacity()
2758 for (uint32_t i = 0; i < mAssignedSources.size(); i++) { in updateUsedCapacity()
2760 … uint32_t srcResolution = mAssignedSources[i]->mSrcImg.w * mAssignedSources[i]->mSrcImg.h; in updateUsedCapacity()
2761 … uint32_t dstResolution = mAssignedSources[i]->mMidImg.w * mAssignedSources[i]->mMidImg.h; in updateUsedCapacity()
2763 …float PPC = getPPC(mAssignedSources[i]->mSrcImg, mAssignedSources[i]->mMidImg, mAssignedSources[i]… in updateUsedCapacity()
2768 … i, srcCycles, cycles, PPC, srcResolution, dstResolution, mAssignedSources[i]->mSrcImg.transform); in updateUsedCapacity()
2777 …MPP_LOGD(eDebugCapacity, "assigned layer size(%zu), mUsedCapacity: %f", mAssignedSources.size(), m… in updateUsedCapacity()
2864 mAssignedSources.size(), mCapacity, mUsedCapacity, mCurrentDstBuf); in dump()
2870 for (uint32_t i = 0; i < mAssignedSources.size(); i++) in closeFences()