Lines Matching refs:mppSource
2186 ExynosMPPSource *mppSource = mAssignedSources[i]; in resetAssignedState() local
2187 if (mppSource->mOtfMPP == this) { in resetAssignedState()
2188 mppSource->mOtfMPP = NULL; in resetAssignedState()
2190 if (mppSource->mM2mMPP == this) { in resetAssignedState()
2191 mppSource->mM2mMPP = NULL; in resetAssignedState()
2209 int32_t ExynosMPP::resetAssignedState(ExynosMPPSource *mppSource) in resetAssignedState() argument
2214 if (source == mppSource) { in resetAssignedState()
2215 if (mppSource->mM2mMPP == this) { in resetAssignedState()
2216 mppSource->mM2mMPP = NULL; in resetAssignedState()
2220 needUpdateCapacity = removeCapacity(mppSource); in resetAssignedState()
2249 int32_t ExynosMPP::assignMPP(ExynosDisplay *display, ExynosMPPSource* mppSource) in assignMPP() argument
2254 mppSource->mOtfMPP = this; in assignMPP()
2256 mppSource->mM2mMPP = this; in assignMPP()
2266 bool needUpdateCapacity = addCapacity(mppSource); in assignMPP()
2268 mAssignedSources.add(mppSource); in assignMPP()
2271 mppSource, mppSource->mSourceType, in assignMPP()
2681 bool ExynosMPP::addCapacity(ExynosMPPSource* mppSource) in addCapacity() argument
2683 if ((mppSource == NULL) || mCapacity == -1) in addCapacity()
2691 ((mppSource->mSrcImg.transform & HAL_TRANSFORM_ROT_90) == 0))) { in addCapacity()
2711 float baseCycles = getRequiredBaseCycles(mppSource->mSrcImg, mppSource->mMidImg); in addCapacity()
2714 uint32_t srcResolution = mppSource->mSrcImg.w * mppSource->mSrcImg.h; in addCapacity()
2715 uint32_t dstResolution = mppSource->mMidImg.w * mppSource->mMidImg.h; in addCapacity()
2716 if ((mppSource->mSrcImg.transform & HAL_TRANSFORM_ROT_90) == 0) in addCapacity()
2726 mppSource->mSrcImg.transform, mNoRotatedSrcCropBW, mRotatedSrcCropBW); in addCapacity()
2728 mUsedCapacity = getRequiredCapacity(NULL, mppSource->mSrcImg, mppSource->mMidImg); in addCapacity()
2734 bool ExynosMPP::removeCapacity(ExynosMPPSource* mppSource) in removeCapacity() argument
2736 if ((mppSource == NULL) || (mCapacity == -1)) in removeCapacity()
2740 uint32_t srcResolution = mppSource->mSrcImg.w * mppSource->mSrcImg.h; in removeCapacity()
2741 uint32_t dstResolution = mppSource->mDstImg.w * mppSource->mDstImg.h; in removeCapacity()
2745 if (mppSource->mSrcImg.transform == 0) in removeCapacity()
2753 float baseCycles = getRequiredBaseCycles(mppSource->mSrcImg, mppSource->mMidImg); in removeCapacity()
2761 mppSource->mSrcImg.transform, mNoRotatedSrcCropBW, mRotatedSrcCropBW); in removeCapacity()
2763 exynos_image &src = mppSource->mSrcImg; in removeCapacity()
2764 exynos_image &dst = mppSource->mDstImg; in removeCapacity()