Lines Matching refs:m2mMPP
237 …osResourceManager::DstBufMgrThread::needDstRealloc(uint32_t Xres, uint32_t Yres, ExynosMPP *m2mMPP) in needDstRealloc() argument
240 if (((Xres == 720 && Yres == 1480) && (m2mMPP->getDstAllocSize() != DST_SIZE_HD_PLUS)) || in needDstRealloc()
241 ((Xres == 720 && Yres == 1280) && (m2mMPP->getDstAllocSize() != DST_SIZE_HD)) || in needDstRealloc()
242 ((Xres == 1080 && Yres == 2220) && (m2mMPP->getDstAllocSize() != DST_SIZE_FHD_PLUS)) || in needDstRealloc()
243 ((Xres == 1080 && Yres == 1920) && (m2mMPP->getDstAllocSize() != DST_SIZE_FHD)) || in needDstRealloc()
244 ((Xres == 1440 && Yres == 2960) && (m2mMPP->getDstAllocSize() != DST_SIZE_WQHD_PLUS)) || in needDstRealloc()
245 ((Xres == 1440 && Yres == 2560) && (m2mMPP->getDstAllocSize() != DST_SIZE_WQHD))) { in needDstRealloc()
489 ExynosMPP *m2mMPP = NULL; in setResourcePriority() local
500 m2mMPP = layer->mM2mMPP; in setResourcePriority()
506 m2mMPP->mName.c_str()); in setResourcePriority()
507 m2mMPP->reserveMPP(); in setResourcePriority()
508 layer->mCheckMPPFlag[m2mMPP->mLogicalType] = eMPPHWBusy; in setResourcePriority()
513 m2mMPP = display->mExynosCompositionInfo.mM2mMPP; in setResourcePriority()
517 if ((m2mMPP == NULL) || (m2mMPP->mAcrylicHandle == NULL)) { in setResourcePriority()
519 m2mMPP); in setResourcePriority()
520 } else if ((check_ret = m2mMPP->prioritize(2)) != NO_ERROR) { in setResourcePriority()
521 …HDEBUGLOGD(eDebugResourceManager, "%s setting priority error(%d)", m2mMPP->mName.c_str(), check_re… in setResourcePriority()
533 layer->mCheckMPPFlag[m2mMPP->mLogicalType] = eMPPHWBusy; in setResourcePriority()
538 m2mMPP->resetUsedCapacity(); in setResourcePriority()
540 m2mMPP->mName.c_str()); in setResourcePriority()
541 m2mMPP->reserveMPP(); in setResourcePriority()
544 HDEBUGLOGD(eDebugResourceManager, "%s setting priority is ok", m2mMPP->mName.c_str()); in setResourcePriority()
679 ExynosMPP *m2mMPP = display->mExynosCompositionInfo.mM2mMPP; in updateExynosComposition() local
682 uint32_t remainNum = m2mMPP->mMaxSrcLayerNum - (lastIndex - firstIndex + 1); in updateExynosComposition()
699 if ((layer->mSupportedMPPFlag & m2mMPP->mLogicalType) != 0) in updateExynosComposition()
700 isAssignableState = isAssignable(m2mMPP, display, src_img, dst_img, layer); in updateExynosComposition()
705 (layer->mSupportedMPPFlag & m2mMPP->mLogicalType) && isAssignableState; in updateExynosComposition()
715 if ((ret = m2mMPP->assignMPP(display, layer)) != NO_ERROR) in updateExynosComposition()
718 __func__, m2mMPP->mName.c_str(), ret); in updateExynosComposition()
722 float totalUsedCapacity = getResourceUsedCapa(*m2mMPP); in updateExynosComposition()
739 if ((layer->mSupportedMPPFlag & m2mMPP->mLogicalType) != 0) in updateExynosComposition()
740 isAssignableState = isAssignable(m2mMPP, display, src_img, dst_img, layer); in updateExynosComposition()
745 (layer->mSupportedMPPFlag & m2mMPP->mLogicalType) && isAssignableState; in updateExynosComposition()
755 if ((ret = m2mMPP->assignMPP(display, layer)) != NO_ERROR) in updateExynosComposition()
758 __func__, m2mMPP->mName.c_str(), ret); in updateExynosComposition()
762 float totalUsedCapacity = getResourceUsedCapa(*m2mMPP); in updateExynosComposition()
815 ExynosMPP* m2mMPP, ExynosMPP* otfMPP) { in changeLayerFromClientToDevice() argument
831 if (m2mMPP != NULL) { in changeLayerFromClientToDevice()
832 if ((ret = m2mMPP->assignMPP(display, layer)) != NO_ERROR) in changeLayerFromClientToDevice()
835 __func__, m2mMPP->mName.c_str(), ret); in changeLayerFromClientToDevice()
840 m2mMPP->mName.c_str()); in changeLayerFromClientToDevice()
871 ExynosMPP *m2mMPP = NULL; in updateClientComposition() local
882 … compositionType = assignLayer(display, layer, i, m2m_out_img, &m2mMPP, &otfMPP, overlayInfo); in updateClientComposition()
889 if ((m2mMPP != NULL) && (m2mMPP->mPhysicalType == MPP_G2D)) in updateClientComposition()
892 …if ((ret = changeLayerFromClientToDevice(display, layer, i, m2m_out_img, m2mMPP, otfMPP)) != NO_ER… in updateClientComposition()
902 ExynosMPP *m2mMPP = NULL; in updateClientComposition() local
913 … compositionType = assignLayer(display, layer, i, m2m_out_img, &m2mMPP, &otfMPP, overlayInfo); in updateClientComposition()
920 if ((m2mMPP != NULL) && (m2mMPP->mPhysicalType == MPP_G2D)) in updateClientComposition()
922 …if ((ret = changeLayerFromClientToDevice(display, layer, i, m2m_out_img, m2mMPP, otfMPP)) != NO_ER… in updateClientComposition()
1447 exynos_image &m2m_out_img, ExynosMPP **m2mMPP, ExynosMPP **otfMPP, uint32_t &overlayInfo) in assignLayer() argument
1605 *m2mMPP = mM2mMPPs[j]; in assignLayer()
1616 *m2mMPP = mM2mMPPs[j]; in assignLayer()
1646 ExynosMPP *m2mMPP = NULL; in assignLayers() local
1672 … compositionType = assignLayer(display, layer, i, m2m_out_img, &m2mMPP, &otfMPP, validateFlag); in assignLayers()
1684 if (m2mMPP != NULL) { in assignLayers()
1685 if ((ret = m2mMPP->assignMPP(display, layer)) != NO_ERROR) in assignLayers()
1688 __func__, m2mMPP->mName.c_str(), ret); in assignLayers()
1693 m2mMPP->mName.c_str()); in assignLayers()
1701 if (m2mMPP != NULL) { in assignLayers()
1702 if ((ret = m2mMPP->assignMPP(display, layer)) != NO_ERROR) in assignLayers()
1705 __func__, m2mMPP->mName.c_str(), ret); in assignLayers()
1708 totalUsedCapacity = getResourceUsedCapa(*m2mMPP); in assignLayers()
1710 m2mMPP->mName.c_str()); in assignLayers()
2398 auto m2mMPP = std::find_if(mM2mMPPs.begin(), mM2mMPPs.end(), in setScaleDownRatio() local
2400 findMpp = m2mMPP == mM2mMPPs.end() ? nullptr : *m2mMPP; in setScaleDownRatio()