Lines Matching refs:mSrcImg

74     return (l->mSrcImg.zOrder < r->mSrcImg.zOrder);  in exynosMPPSourceComp()
98 memset(&mSrcImg, 0, sizeof(mSrcImg)); in ExynosMPPSource()
99 mSrcImg.acquireFenceFd = -1; in ExynosMPPSource()
100 mSrcImg.releaseFenceFd = -1; in ExynosMPPSource()
117 memset(&mSrcImg, 0, sizeof(mSrcImg)); in ExynosMPPSource()
118 mSrcImg.acquireFenceFd = -1; in ExynosMPPSource()
119 mSrcImg.releaseFenceFd = -1; in ExynosMPPSource()
129 mSrcImg = src_img; in setExynosImage()
1138 if ((mPrevFrameInfo.srcInfo[i].bufferHandle != mAssignedSources[i]->mSrcImg.bufferHandle) || in canUsePrevFrame()
1139 (mPrevFrameInfo.srcInfo[i].x != mAssignedSources[i]->mSrcImg.x) || in canUsePrevFrame()
1140 (mPrevFrameInfo.srcInfo[i].y != mAssignedSources[i]->mSrcImg.y) || in canUsePrevFrame()
1141 (mPrevFrameInfo.srcInfo[i].w != mAssignedSources[i]->mSrcImg.w) || in canUsePrevFrame()
1142 (mPrevFrameInfo.srcInfo[i].h != mAssignedSources[i]->mSrcImg.h) || in canUsePrevFrame()
1143 (mPrevFrameInfo.srcInfo[i].format != mAssignedSources[i]->mSrcImg.format) || in canUsePrevFrame()
1144 (mPrevFrameInfo.srcInfo[i].usageFlags != mAssignedSources[i]->mSrcImg.usageFlags) || in canUsePrevFrame()
1145 (mPrevFrameInfo.srcInfo[i].dataSpace != mAssignedSources[i]->mSrcImg.dataSpace) || in canUsePrevFrame()
1146 (mPrevFrameInfo.srcInfo[i].blending != mAssignedSources[i]->mSrcImg.blending) || in canUsePrevFrame()
1147 (mPrevFrameInfo.srcInfo[i].transform != mAssignedSources[i]->mSrcImg.transform) || in canUsePrevFrame()
1149 mAssignedSources[i]->mSrcImg.compressionInfo.type) || in canUsePrevFrame()
1150 (mPrevFrameInfo.srcInfo[i].planeAlpha != mAssignedSources[i]->mSrcImg.planeAlpha) || in canUsePrevFrame()
1320 (mAssignedSources[0]->mSrcImg.dataSpace == dstDataspace)) { in getDstMetaInfo()
1322 … (uint16_t)mAssignedSources[0]->mSrcImg.metaParcel.sHdrStaticInfo.sType1.mMinDisplayLuminance; in getDstMetaInfo()
1324 …(uint16_t)(mAssignedSources[0]->mSrcImg.metaParcel.sHdrStaticInfo.sType1.mMaxDisplayLuminance/1000… in getDstMetaInfo()
1480 …if ((ret = setupLayer(&mSrcImgs[i], mAssignedSources[i]->mSrcImg, mAssignedSources[i]->mMidImg)) !… in doPostProcessingInternal()
1544 mAssignedSources[i]->mSrcImg.fullWidth, mAssignedSources[i]->mSrcImg.fullHeight, in doPostProcessingInternal()
1545 mAssignedSources[i]->mSrcImg.x, mAssignedSources[i]->mSrcImg.y, in doPostProcessingInternal()
1546 mAssignedSources[i]->mSrcImg.x + mAssignedSources[i]->mSrcImg.w, in doPostProcessingInternal()
1547 mAssignedSources[i]->mSrcImg.y + mAssignedSources[i]->mSrcImg.h, in doPostProcessingInternal()
1551 mAssignedSources[i]->mSrcImg.transform); in doPostProcessingInternal()
1743 mAssignedSources[i]->mSrcImg.acquireFenceFd = in doPostProcessing()
1744 fence_close(mAssignedSources[i]->mSrcImg.acquireFenceFd, in doPostProcessing()
1762 mPrevFrameInfo.srcInfo[i] = mAssignedSources[i]->mSrcImg; in doPostProcessing()
2535 if ((mAssignedSources[i]->mSrcImg.transform & HAL_TRANSFORM_ROT_90) != 0) in getAssignedCapacity()
2550 uint32_t srcResolution = mAssignedSources[i]->mSrcImg.w * mAssignedSources[i]->mSrcImg.h; in getAssignedCapacity()
2555 if (mAssignedSources[i]->mSrcImg.layerFlags & EXYNOS_HWC_DIM_LAYER) { in getAssignedCapacity()
2558 …PPC = getPPC(mAssignedSources[i]->mSrcImg, mAssignedSources[i]->mMidImg, mAssignedSources[i]->mSrc… in getAssignedCapacity()
2559 &mAssignedSources[i]->mSrcImg, &mAssignedSources[i]->mMidImg); in getAssignedCapacity()
2564 if ((hasHdrInfo(mAssignedSources[i]->mSrcImg) || in getAssignedCapacity()
2565 (getDrmMode(mAssignedSources[i]->mSrcImg.usageFlags) != NO_DRM))) { in getAssignedCapacity()
2567 … i, srcCycles, PPC, srcResolution, dstResolution, mAssignedSources[i]->mSrcImg.transform); in getAssignedCapacity()
2574 … srcCycles, baseCycles, PPC, srcResolution, dstResolution, mAssignedSources[i]->mSrcImg.transform); in getAssignedCapacity()
2626 … uint32_t assignedSrcResolution = mAssignedSources[i]->mSrcImg.w * mAssignedSources[i]->mSrcImg.h; in getRequiredCapacity()
2629 … float assignedPPC = getPPC(mAssignedSources[i]->mSrcImg, mAssignedSources[i]->mMidImg, in getRequiredCapacity()
2630 mAssignedSources[i]->mSrcImg, &src, &dst); in getRequiredCapacity()
2636 …assignedPPC, assignedSrcResolution, assignedDstResolution, mAssignedSources[i]->mSrcImg.transform); in getRequiredCapacity()
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()
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()
2740 uint32_t srcResolution = mppSource->mSrcImg.w * mppSource->mSrcImg.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()
2808 … uint32_t srcResolution = mAssignedSources[i]->mSrcImg.w * mAssignedSources[i]->mSrcImg.h; in updateUsedCapacity()
2809 if ((mAssignedSources[i]->mSrcImg.transform & HAL_TRANSFORM_ROT_90) == 0) in updateUsedCapacity()
2818 … uint32_t srcResolution = mAssignedSources[i]->mSrcImg.w * mAssignedSources[i]->mSrcImg.h; in updateUsedCapacity()
2821 …float PPC = getPPC(mAssignedSources[i]->mSrcImg, mAssignedSources[i]->mMidImg, mAssignedSources[i]… in updateUsedCapacity()
2826 … i, srcCycles, cycles, PPC, srcResolution, dstResolution, mAssignedSources[i]->mSrcImg.transform); in updateUsedCapacity()