Home
last modified time | relevance | path

Searched refs:RenderIntent (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DDisplayColorProfileTest.cpp37 using ui::RenderIntent;
40 constexpr RenderIntent VendorRenderIntent = static_cast<RenderIntent>(0x100);
98 ProfileFactory& addColorModeRenderIntent(ColorMode colorMode, RenderIntent renderIntent) { in addColorModeRenderIntent()
104 std::initializer_list<RenderIntent> renderIntents) { in addColorModeRenderIntents()
120 .addColorModeRenderIntent(ColorMode::DISPLAY_BT2020, RenderIntent::COLORIMETRIC) in createProfileWithBT2020ColorModeSupport()
121 .addColorModeRenderIntent(ColorMode::DISPLAY_BT2020, RenderIntent::ENHANCE) in createProfileWithBT2020ColorModeSupport()
130 .addColorModeRenderIntent(ColorMode::SRGB, RenderIntent::COLORIMETRIC) in createProfileWithSRGBColorModeSupport()
131 .addColorModeRenderIntent(ColorMode::SRGB, RenderIntent::ENHANCE) in createProfileWithSRGBColorModeSupport()
148 .addColorModeRenderIntent(ColorMode::DISPLAY_P3, RenderIntent::COLORIMETRIC) in createProfileWithDisplayP3ColorModeSupport()
149 .addColorModeRenderIntent(ColorMode::DISPLAY_P3, RenderIntent::ENHANCE) in createProfileWithDisplayP3ColorModeSupport()
[all …]
DDisplayTest.cpp409 ASSERT_EQ(ui::RenderIntent::COLORIMETRIC, mDisplay->getState().renderIntent); in TEST_F()
413 ui::RenderIntent::COLORIMETRIC}); in TEST_F()
417 EXPECT_EQ(ui::RenderIntent::COLORIMETRIC, mDisplay->getState().renderIntent); in TEST_F()
423 ui::RenderIntent::TONE_MAP_COLORIMETRIC)) in TEST_F()
427 ui::RenderIntent::TONE_MAP_COLORIMETRIC}); in TEST_F()
431 EXPECT_EQ(ui::RenderIntent::TONE_MAP_COLORIMETRIC, mDisplay->getState().renderIntent); in TEST_F()
446 ui::RenderIntent::TONE_MAP_COLORIMETRIC}); in TEST_F()
450 EXPECT_EQ(ui::RenderIntent::COLORIMETRIC, virtualDisplay->getState().renderIntent); in TEST_F()
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayDevice_GetBestColorModeTest.cpp28 using hal::RenderIntent;
37 std::vector<ui::RenderIntent> renderIntents) { in addHwcColorModesMapping()
43 void setInputRenderIntent(ui::RenderIntent renderIntent) { mInputRenderIntent = renderIntent; } in setInputRenderIntent()
61 ui::RenderIntent mOutRenderIntent;
65 ui::RenderIntent mInputRenderIntent;
67 std::unordered_map<ui::ColorMode, std::vector<ui::RenderIntent>> mHwcColorModes;
72 std::vector<ui::RenderIntent>(1, RenderIntent::COLORIMETRIC)); in TEST_F()
74 setInputRenderIntent(ui::RenderIntent::COLORIMETRIC); in TEST_F()
81 ASSERT_EQ(ui::RenderIntent::COLORIMETRIC, mOutRenderIntent); in TEST_F()
86 std::vector<ui::RenderIntent>(1, RenderIntent::COLORIMETRIC)); in TEST_F()
[all …]
DSurfaceFlinger_SetupNewDisplayDeviceInternalTest.cpp29 using hal::RenderIntent;
49 std::vector<RenderIntent>({RenderIntent::COLORIMETRIC})), in setupComposerCallExpectations()
53 RenderIntent::COLORIMETRIC)) in setupComposerCallExpectations()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DDisplayColorProfile.cpp40 using ui::RenderIntent;
56 const std::array<RenderIntent, 2> sSdrRenderIntents = {
57 RenderIntent::ENHANCE,
58 RenderIntent::COLORIMETRIC,
62 const std::array<RenderIntent, 2> sHdrRenderIntents = {
63 RenderIntent::TONE_MAP_ENHANCE,
64 RenderIntent::TONE_MAP_COLORIMETRIC,
121 std::vector<RenderIntent> getRenderIntentCandidates(RenderIntent intent) { in getRenderIntentCandidates()
122 std::vector<RenderIntent> candidates; in getRenderIntentCandidates()
157 const std::unordered_map<ColorMode, std::vector<RenderIntent>>& hwcColorModes, in getHwcColorMode()
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DDisplayColorProfile.h41 bool hasRenderIntent(ui::RenderIntent intent) const override;
43 void getBestColorMode(ui::Dataspace dataspace, ui::RenderIntent intent,
45 ui::RenderIntent* outIntent) const override;
64 const ui::ColorMode mode, const ui::RenderIntent intent);
72 ui::RenderIntent renderIntent;
75 static ColorModeKey getColorModeKey(ui::Dataspace dataspace, ui::RenderIntent intent) { in getColorModeKey()
DOutputCompositionState.h116 ui::RenderIntent renderIntent{ui::RenderIntent::COLORIMETRIC};
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/
DDisplayColorProfile.h32 MOCK_CONST_METHOD1(hasRenderIntent, bool(ui::RenderIntent));
35 void(ui::Dataspace, ui::RenderIntent, ui::Dataspace*, ui::ColorMode*,
36 ui::RenderIntent*));
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DDisplayColorProfile.h55 virtual bool hasRenderIntent(ui::RenderIntent) const = 0;
62 virtual void getBestColorMode(ui::Dataspace dataspace, ui::RenderIntent intent,
64 ui::RenderIntent* outIntent) const = 0;
DDisplayColorProfileCreationArgs.h41 using HwcColorModes = std::unordered_map<ui::ColorMode, std::vector<ui::RenderIntent>>;
/frameworks/native/libs/ui/
DDebugUtils.cpp27 using android::ui::RenderIntent;
329 std::string decodeRenderIntent(RenderIntent renderIntent) { in decodeRenderIntent()
331 case RenderIntent::COLORIMETRIC: in decodeRenderIntent()
333 case RenderIntent::ENHANCE: in decodeRenderIntent()
335 case RenderIntent::TONE_MAP_COLORIMETRIC: in decodeRenderIntent()
337 case RenderIntent::TONE_MAP_ENHANCE: in decodeRenderIntent()
/frameworks/native/libs/tonemap/include/tonemap/
Dtonemap.h74 aidl::android::hardware::graphics::composer3::RenderIntent renderIntent =
75 aidl::android::hardware::graphics::composer3::RenderIntent::TONE_MAP_COLORIMETRIC;
/frameworks/native/libs/shaders/include/shaders/
Dshaders.h103 aidl::android::hardware::graphics::composer3::RenderIntent renderIntent =
104 aidl::android::hardware::graphics::composer3::RenderIntent::TONE_MAP_COLORIMETRIC);
/frameworks/native/services/surfaceflinger/
DScreenCaptureOutput.cpp86 auto renderIntent = static_cast<ui::RenderIntent>(clientCompositionDisplay.renderIntent); in generateClientCompositionDisplaySettings()
87 if (mDimInGammaSpaceForEnhancedScreenshots && renderIntent != ui::RenderIntent::COLORIMETRIC && in generateClientCompositionDisplaySettings()
88 renderIntent != ui::RenderIntent::TONE_MAP_COLORIMETRIC) { in generateClientCompositionDisplaySettings()
/frameworks/native/libs/shaders/tests/
Dshaders_test.cpp62 RenderIntent::COLORIMETRIC); in TEST_F()
85 RenderIntent::COLORIMETRIC); in TEST_F()
/frameworks/native/libs/renderengine/include/renderengine/
DDisplaySettings.h87 aidl::android::hardware::graphics::composer3::RenderIntent renderIntent =
88 aidl::android::hardware::graphics::composer3::RenderIntent::TONE_MAP_COLORIMETRIC;
/frameworks/native/libs/renderengine/skia/filters/
DLinearEffect.h51 aidl::android::hardware::graphics::composer3::RenderIntent renderIntent);
DLinearEffect.cpp47 aidl::android::hardware::graphics::composer3::RenderIntent renderIntent) { in createLinearEffectShader()
/frameworks/native/libs/ui/include/ui/
DDebugUtils.h39 std::string decodeRenderIntent(android::ui::RenderIntent renderIntent);
DGraphicTypes.h43 using android::hardware::graphics::common::V1_1::RenderIntent;
/frameworks/native/libs/ui/include_vndk/ui/
DDebugUtils.h39 std::string decodeRenderIntent(android::ui::RenderIntent renderIntent);
/frameworks/native/libs/renderengine/tests/
DDisplaySettingsTest.cpp65 a.renderIntent = aidl::android::hardware::graphics::composer3::RenderIntent::TONE_MAP_ENHANCE; in TEST()
/frameworks/base/graphics/java/android/graphics/
DColorSpace.java783 public enum RenderIntent { enum in ColorSpace
1266 return connect(source, destination, RenderIntent.PERCEPTUAL); in connect()
1291 @NonNull RenderIntent intent) { in connect()
1322 return connect(source, RenderIntent.PERCEPTUAL); in connect()
1343 public static Connector connect(@NonNull ColorSpace source, @NonNull RenderIntent intent) { in connect()
3960 @NonNull private final RenderIntent mIntent;
3971 @NonNull RenderIntent intent) {
3988 @NonNull RenderIntent intent, @Nullable @Size(3) float[] transform) {
4003 @NonNull ColorSpace destination, @NonNull RenderIntent intent) {
4004 if (intent != RenderIntent.ABSOLUTE) return null;
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/
DMockComposer.h32 using android::hardware::graphics::common::V1_1::RenderIntent;
93 MOCK_METHOD3(setColorMode, Error(Display, ColorMode, RenderIntent));
124 MOCK_METHOD3(getRenderIntents, Error(Display, ColorMode, std::vector<RenderIntent>*));
/frameworks/native/libs/ui/include_types/ui/
DGraphicTypes.h43 using android::hardware::graphics::common::V1_1::RenderIntent;

123