Home
last modified time | relevance | path

Searched refs:DisplayColorProfile (Results 1 – 15 of 15) sorted by relevance

/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DDisplayColorProfile.cpp33 DisplayColorProfile::~DisplayColorProfile() = default;
186 std::unique_ptr<compositionengine::DisplayColorProfile> createDisplayColorProfile( in createDisplayColorProfile()
188 return std::make_unique<DisplayColorProfile>(args); in createDisplayColorProfile()
191 DisplayColorProfile::DisplayColorProfile(const DisplayColorProfileCreationArgs& args) in DisplayColorProfile() function in android::compositionengine::impl::DisplayColorProfile
227 DisplayColorProfile::~DisplayColorProfile() = default;
229 bool DisplayColorProfile::isValid() const { in isValid()
233 bool DisplayColorProfile::hasWideColorGamut() const { in hasWideColorGamut()
237 int32_t DisplayColorProfile::getSupportedPerFrameMetadata() const { in getSupportedPerFrameMetadata()
241 bool DisplayColorProfile::hasHDR10PlusSupport() const { in hasHDR10PlusSupport()
245 bool DisplayColorProfile::hasHDR10Support() const { in hasHDR10Support()
[all …]
DOutput.cpp343 compositionengine::DisplayColorProfile* Output::getDisplayColorProfile() const { in getDisplayColorProfile()
347 void Output::setDisplayColorProfile(std::unique_ptr<compositionengine::DisplayColorProfile> mode) { in setDisplayColorProfile()
356 std::unique_ptr<compositionengine::DisplayColorProfile> mode) { in setDisplayColorProfileForTest()
/frameworks/native/services/surfaceflinger/CompositionEngine/mock/
DDisplayColorProfile.cpp22 DisplayColorProfile::DisplayColorProfile() = default;
23 DisplayColorProfile::~DisplayColorProfile() = default;
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/
DDisplayColorProfile.h25 class DisplayColorProfile : public compositionengine::DisplayColorProfile {
27 DisplayColorProfile();
28 ~DisplayColorProfile() override;
DOutput.h60 MOCK_CONST_METHOD0(getDisplayColorProfile, compositionengine::DisplayColorProfile*());
62 void(std::unique_ptr<compositionengine::DisplayColorProfile>));
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DDisplayColorProfile.h34 class DisplayColorProfile : public compositionengine::DisplayColorProfile {
36 DisplayColorProfile(const DisplayColorProfileCreationArgs&);
37 ~DisplayColorProfile() override;
92 std::unique_ptr<compositionengine::DisplayColorProfile> createDisplayColorProfile(
DOutput.h67 compositionengine::DisplayColorProfile* getDisplayColorProfile() const override;
68 void setDisplayColorProfile(std::unique_ptr<compositionengine::DisplayColorProfile>) override;
116 void setDisplayColorProfileForTest(std::unique_ptr<compositionengine::DisplayColorProfile>);
181 std::unique_ptr<compositionengine::DisplayColorProfile> mDisplayColorProfile;
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DDisplayColorProfile.h42 class DisplayColorProfile {
47 virtual ~DisplayColorProfile();
DOutput.h51 class DisplayColorProfile; variable
216 virtual DisplayColorProfile* getDisplayColorProfile() const = 0;
284 virtual void setDisplayColorProfile(std::unique_ptr<DisplayColorProfile>) = 0;
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DDisplayColorProfileTest.cpp51 impl::DisplayColorProfile build() const { in build()
52 return impl::DisplayColorProfile{DisplayColorProfileCreationArgs{ in build()
112 static impl::DisplayColorProfile createProfileWithNoColorModeSupport() { in createProfileWithNoColorModeSupport()
116 static impl::DisplayColorProfile createProfileWithBT2020ColorModeSupport() { in createProfileWithBT2020ColorModeSupport()
126 static impl::DisplayColorProfile createProfileWithSRGBColorModeSupport() { in createProfileWithSRGBColorModeSupport()
136 static impl::DisplayColorProfile createProfileWithBT2100PQSupport() { in createProfileWithBT2100PQSupport()
144 static impl::DisplayColorProfile createProfileWithDisplayP3ColorModeSupport() { in createProfileWithDisplayP3ColorModeSupport()
190 impl::DisplayColorProfile profile = ProfileFactory().setPerFrameMetadata(123).build(); in TEST_F()
262 EXPECT_EQ(DisplayColorProfile::sDefaultMaxLumiance, in TEST_F()
264 EXPECT_EQ(DisplayColorProfile::sDefaultMaxLumiance, in TEST_F()
[all …]
DDisplayTest.cpp403 mock::DisplayColorProfile* colorProfile = new StrictMock<mock::DisplayColorProfile>(); in TEST_F()
404 mDisplay->setDisplayColorProfileForTest(std::unique_ptr<DisplayColorProfile>(colorProfile)); in TEST_F()
440 mock::DisplayColorProfile* colorProfile = new StrictMock<mock::DisplayColorProfile>(); in TEST_F()
442 std::unique_ptr<DisplayColorProfile>(colorProfile)); in TEST_F()
DOutputTest.cpp155 std::unique_ptr<DisplayColorProfile>(mDisplayColorProfile)); in OutputTest()
175 mock::DisplayColorProfile* mDisplayColorProfile = new StrictMock<mock::DisplayColorProfile>();
971 std::unique_ptr<DisplayColorProfile>(mDisplayColorProfile)); in OutputPrepareFrameTest()
976 mock::DisplayColorProfile* mDisplayColorProfile = new StrictMock<mock::DisplayColorProfile>();
1038 std::unique_ptr<DisplayColorProfile>(mDisplayColorProfile)); in OutputPrepareFrameAsyncTest()
1043 mock::DisplayColorProfile* mDisplayColorProfile = new StrictMock<mock::DisplayColorProfile>();
2102 std::unique_ptr<DisplayColorProfile>(mDisplayColorProfile)); in OutputUpdateColorProfileTest()
2118 mock::DisplayColorProfile* mDisplayColorProfile = new StrictMock<mock::DisplayColorProfile>();
2764 std::unique_ptr<DisplayColorProfile>(mDisplayColorProfile)); in OutputBeginFrameTest()
2823 mock::DisplayColorProfile* mDisplayColorProfile = new StrictMock<mock::DisplayColorProfile>();
[all …]
DOutputLayerTest.cpp590 StrictMock<mock::DisplayColorProfile> mDisplayColorProfile;
943 StrictMock<mock::DisplayColorProfile> mDisplayColorProfile;
1355 NiceMock<mock::DisplayColorProfile> mDisplayColorProfile;
/frameworks/native/services/surfaceflinger/CompositionEngine/
DAndroid.bp77 "src/DisplayColorProfile.cpp",
113 "mock/DisplayColorProfile.cpp",
/frameworks/native/services/surfaceflinger/
DScreenCaptureOutput.cpp43 output->setDisplayColorProfile(std::make_unique<compositionengine::impl::DisplayColorProfile>( in createScreenCaptureOutput()