Home
last modified time | relevance | path

Searched refs:colorProfile (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/services/surfaceflinger/
DScreenCaptureOutput.h30 const compositionengine::Output::ColorProfile& colorProfile; member
52 const compositionengine::Output::ColorProfile& colorProfile,
DScreenCaptureOutput.cpp32 bool>(args.compositionEngine, args.renderArea, args.colorProfile, args.regionSampling, in createScreenCaptureOutput()
65 const RenderArea& renderArea, const compositionengine::Output::ColorProfile& colorProfile, in ScreenCaptureOutput() argument
69 mColorProfile(colorProfile), in ScreenCaptureOutput()
DSurfaceFlinger.cpp8541 compositionengine::Output::ColorProfile colorProfile{.dataspace = dataspace, in renderScreenImpl() local
8564 .colorProfile = colorProfile, in renderScreenImpl()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DDisplay.cpp114 void Display::setColorProfile(const ColorProfile& colorProfile) { in setColorProfile() argument
115 if (colorProfile.mode == getState().colorMode && in setColorProfile()
116 colorProfile.dataspace == getState().dataspace && in setColorProfile()
117 colorProfile.renderIntent == getState().renderIntent) { in setColorProfile()
126 Output::setColorProfile(colorProfile); in setColorProfile()
130 getCompositionEngine().getHwComposer().setActiveColorMode(*physicalId, colorProfile.mode, in setColorProfile()
131 colorProfile.renderIntent); in setColorProfile()
DOutput.cpp267 void Output::setColorProfile(const ColorProfile& colorProfile) { in setColorProfile() argument
269 if (outputState.colorMode == colorProfile.mode && in setColorProfile()
270 outputState.dataspace == colorProfile.dataspace && in setColorProfile()
271 outputState.renderIntent == colorProfile.renderIntent) { in setColorProfile()
275 outputState.colorMode = colorProfile.mode; in setColorProfile()
276 outputState.dataspace = colorProfile.dataspace; in setColorProfile()
277 outputState.renderIntent = colorProfile.renderIntent; in setColorProfile()
279 mRenderSurface->setBufferDataspace(colorProfile.dataspace); in setColorProfile()
282 decodeColorMode(colorProfile.mode).c_str(), colorProfile.mode, in setColorProfile()
283 decodeRenderIntent(colorProfile.renderIntent).c_str(), colorProfile.renderIntent); in setColorProfile()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DDisplayTest.cpp403 mock::DisplayColorProfile* colorProfile = new StrictMock<mock::DisplayColorProfile>(); in TEST_F() local
404 mDisplay->setDisplayColorProfileForTest(std::unique_ptr<DisplayColorProfile>(colorProfile)); in TEST_F()
440 mock::DisplayColorProfile* colorProfile = new StrictMock<mock::DisplayColorProfile>(); in TEST_F() local
442 std::unique_ptr<DisplayColorProfile>(colorProfile)); in TEST_F()