Home
last modified time | relevance | path

Searched refs:mppSource (Results 1 – 5 of 5) sorted by relevance

/hardware/google/graphics/gs101/libhwc2.1/libresource/
DExynosMPPModule.cpp62 auto mppSource = mAssignedSources[i]; in setColorConversionInfo() local
63 ExynosLayer* layer = (ExynosLayer*)mppSource; in setColorConversionInfo()
65 if ((mppSource == nullptr) || (layer == nullptr) || in setColorConversionInfo()
70 if (mppSource->mSrcImg.dataSpace == mppSource->mMidImg.dataSpace) { in setColorConversionInfo()
80 "%s, src: 0x%8x", __func__, mppSource->mSrcImg.dataSpace); in setColorConversionInfo()
/hardware/google/graphics/gs101/libhwc2.1/libdisplayinterface/
DExynosDisplayDrmInterfaceModule.cpp323 ExynosMPPSource* mppSource = config.assignedMPP->mAssignedSources[0]; in setPlaneColorSetting() local
324 if (mppSource->mSourceType >= MPP_SOURCE_MAX) { in setPlaneColorSetting()
326 "%s: invalid mpp source type (%d)", __func__, mppSource->mSourceType); in setPlaneColorSetting()
343 if (!colorManager->hasDppForLayer(mppSource)) { in setPlaneColorSetting()
344 if (mppSource->mSourceType == MPP_SOURCE_LAYER) { in setPlaneColorSetting()
349 } else if (mppSource->mSourceType == MPP_SOURCE_COMPOSITION_TARGET) { in setPlaneColorSetting()
353 "%s: invalid mpp source type (%d)", __func__, mppSource->mSourceType); in setPlaneColorSetting()
358 if (mppSource->mSourceType == MPP_SOURCE_LAYER) { in setPlaneColorSetting()
359 ExynosLayer* layer = (ExynosLayer*)mppSource; in setPlaneColorSetting()
368 const typename GsInterfaceType::IDpp& dpp = colorManager->getDppForLayer(mppSource); in setPlaneColorSetting()
[all …]
/hardware/google/graphics/common/libhwc2.1/libresource/
DExynosMPP.cpp2186 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()
[all …]
DExynosMPP.h662 int32_t resetAssignedState(ExynosMPPSource *mppSource);
668 int32_t assignMPP(ExynosDisplay *display, ExynosMPPSource* mppSource);
741 bool addCapacity(ExynosMPPSource* mppSource);
742 bool removeCapacity(ExynosMPPSource* mppSource);
DExynosResourceManager.cpp2284 ExynosMPPSource* mppSource = mpp->mAssignedSources[j]; in deliverPerformanceInfo() local
2286 mppSource->mSrcImg.w, mppSource->mSrcImg.h, in deliverPerformanceInfo()
2287 mppSource->mSrcImg.format); in deliverPerformanceInfo()
2289 if (mppSource->mSrcImg.compressionInfo.type == COMP_TYPE_AFBC) in deliverPerformanceInfo()
2293 src_area.left = mppSource->mSrcImg.x; in deliverPerformanceInfo()
2294 src_area.top = mppSource->mSrcImg.y; in deliverPerformanceInfo()
2295 src_area.right = mppSource->mSrcImg.x + mppSource->mSrcImg.w; in deliverPerformanceInfo()
2296 src_area.bottom = mppSource->mSrcImg.y + mppSource->mSrcImg.h; in deliverPerformanceInfo()
2299 out_area.left = mppSource->mMidImg.x; in deliverPerformanceInfo()
2300 out_area.top = mppSource->mMidImg.y; in deliverPerformanceInfo()
[all …]