Home
last modified time | relevance | path

Searched refs:ScreenHDRFormat (Results 1 - 25 of 53) sorted by relevance

123

/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/screen_manager/
H A Drs_screen_hdr_capability.h31 RSScreenHDRCapability(float maxLum, float minLum, float maxAverageLum, const std::vector<ScreenHDRFormat>& formats);
40 const std::vector<ScreenHDRFormat>& GetHdrFormats() const;
45 void SetHdrFormats(const std::vector<ScreenHDRFormat>& formats);
48 bool WriteVector(const std::vector<ScreenHDRFormat>& formats, Parcel &parcel) const;
49 static bool ReadVector(std::vector<ScreenHDRFormat>& unmarFormats, Parcel &parcel);
53 std::vector<ScreenHDRFormat> hdrFormats_;
H A Drs_screen_info.h49 ScreenHDRFormat hdrFormat = ScreenHDRFormat::NOT_SUPPORT_HDR;
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/screen_manager/
H A Drs_screen_hdr_capability.cpp22 const std::vector<ScreenHDRFormat>& formats) : maxLum_(maxLum), minLum_(minLum), in RSScreenHDRCapability()
42 const std::vector<ScreenHDRFormat>& RSScreenHDRCapability::GetHdrFormats() const in GetHdrFormats()
62 void RSScreenHDRCapability::SetHdrFormats(const std::vector<ScreenHDRFormat>& formats) in SetHdrFormats()
67 bool RSScreenHDRCapability::WriteVector(const std::vector<ScreenHDRFormat>& formats, Parcel &parcel) const in WriteVector()
72 for (ScreenHDRFormat format : formats) { in WriteVector()
80 bool RSScreenHDRCapability::ReadVector(std::vector<ScreenHDRFormat>& unmarFormats, Parcel &parcel) in ReadVector()
86 size_t readableSize = parcel.GetReadableBytes() / sizeof(ScreenHDRFormat); in ReadVector()
98 unmarFormats.push_back(static_cast<ScreenHDRFormat>(format)); in ReadVector()
125 std::vector<ScreenHDRFormat> formats; in Unmarshalling()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsscreenhdrcapability_fuzzer/
H A Drsscreenhdrcapability_fuzzer.cpp223 std::vector<ScreenHDRFormat> hdrFormats = { GetData<ScreenHDRFormat>() }; in DoSetHdrFormats()
241 std::vector<ScreenHDRFormat> hdrFormats = { GetData<ScreenHDRFormat>() }; in DoWriteVector()
259 std::vector<ScreenHDRFormat> unmarFormats = { GetData<ScreenHDRFormat>() }; in DoReadVector()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/screen_manager/
H A Drs_screen_hdr_capability_test.cpp73 std::vector<ScreenHDRFormat> formats = {ScreenHDRFormat::VIDEO_HDR10, ScreenHDRFormat::VIDEO_HDR_VIVID}; in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/screen_manager/
H A Drs_screen.h97 virtual int32_t GetScreenSupportedHDRFormats(std::vector<ScreenHDRFormat>& hdrFormats) const = 0;
98 virtual int32_t GetScreenHDRFormat(ScreenHDRFormat& hdrFormat) const = 0;
181 int32_t GetScreenSupportedHDRFormats(std::vector<ScreenHDRFormat>& hdrFormats) const override;
182 int32_t GetScreenHDRFormat(ScreenHDRFormat& hdrFormat) const override;
248 std::vector<ScreenHDRFormat> supportedVirtualHDRFormats_ = {
250 std::vector<ScreenHDRFormat> supportedPhysicalHDRFormats_;
258 static std::map<GraphicHDRFormat, ScreenHDRFormat> HDI_HDR_FORMAT_TO_RS_MAP;
259 static std::map<ScreenHDRFormat, GraphicHDRFormat> RS_TO_HDI_HDR_FORMAT_MAP;
H A Drs_screen_manager.h178 virtual int32_t GetScreenSupportedHDRFormats(ScreenId id, std::vector<ScreenHDRFormat>& hdrFormats) const = 0;
180 virtual int32_t GetScreenHDRFormat(ScreenId id, ScreenHDRFormat& hdrFormat) const = 0;
387 int32_t GetScreenSupportedHDRFormats(ScreenId id, std::vector<ScreenHDRFormat>& hdrFormats) const override;
389 int32_t GetScreenHDRFormat(ScreenId id, ScreenHDRFormat& hdrFormat) const override;
493 int32_t GetScreenSupportedHDRFormatsLocked(ScreenId id, std::vector<ScreenHDRFormat>& hdrFormats) const;
494 int32_t GetScreenHDRFormatLocked(ScreenId id, ScreenHDRFormat& hdrFormat) const;
H A Drs_screen.cpp54 std::map<GraphicHDRFormat, ScreenHDRFormat> RSScreen::HDI_HDR_FORMAT_TO_RS_MAP {
62 std::map<ScreenHDRFormat, GraphicHDRFormat> RSScreen::RS_TO_HDI_HDR_FORMAT_MAP {
149 [](GraphicHDRFormat item) -> ScreenHDRFormat {return HDI_HDR_FORMAT_TO_RS_MAP[item];});
905 int32_t RSScreen::GetScreenSupportedHDRFormats(std::vector<ScreenHDRFormat>& hdrFormats) const in GetScreenSupportedHDRFormats()
919 int32_t RSScreen::GetScreenHDRFormat(ScreenHDRFormat& hdrFormat) const in GetScreenHDRFormat()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsbasescreenmanager_fuzzer/
H A Drsbasescreenmanager_fuzzer.cpp100 std::vector<ScreenHDRFormat> hdrFormats = { GetData<ScreenHDRFormat>() }; in RSScreenHdrCapabilityFuzzTest()
/foundation/window/window_manager/interfaces/innerkits/dm/
H A Dscreen.h267 DMError GetSupportedHDRFormats(std::vector<ScreenHDRFormat>& hdrFormats) const;
274 DMError GetScreenHDRFormat(ScreenHDRFormat& hdrFormat) const;
/foundation/window/window_manager/interfaces/kits/napi/display_runtime/
H A Djs_display.cpp99 } ScreenHDRFormat; member
135 const std::map<ScreenHDRFormat, HDRFormat> NATIVE_TO_JS_HDR_FORMAT_TYPE_MAP {
136 { ScreenHDRFormat::NOT_SUPPORT_HDR, HDRFormat::NONE },
137 { ScreenHDRFormat::VIDEO_HLG, HDRFormat::VIDEO_HLG },
138 { ScreenHDRFormat::VIDEO_HDR10, HDRFormat::VIDEO_HDR10 },
139 { ScreenHDRFormat::VIDEO_HDR_VIVID, HDRFormat::VIDEO_HDR_VIVID },
140 { ScreenHDRFormat::IMAGE_HDR_VIVID_DUAL, HDRFormat::IMAGE_HDR_VIVID_DUAL },
141 { ScreenHDRFormat::IMAGE_HDR_VIVID_SINGLE, HDRFormat::IMAGE_HDR_VIVID_SINGLE },
142 { ScreenHDRFormat::IMAGE_HDR_ISO_DUAL, HDRFormat::IMAGE_HDR_ISO_DUAL },
143 { ScreenHDRFormat
[all...]
/foundation/window/window_manager/dm/src/
H A Dscreen.cpp169 DMError Screen::GetSupportedHDRFormats(std::vector<ScreenHDRFormat>& hdrFormats) const in GetSupportedHDRFormats()
174 DMError Screen::GetScreenHDRFormat(ScreenHDRFormat& hdrFormat) const in GetScreenHDRFormat()
/foundation/window/window_manager/dmserver/include/
H A Ddisplay_manager_proxy.h60 DMError GetSupportedHDRFormats(ScreenId screenId, std::vector<ScreenHDRFormat>& hdrFormats) override;
61 DMError GetScreenHDRFormat(ScreenId screenId, ScreenHDRFormat& hdrFormat) override;
/foundation/window/window_manager/test/common/mock/
H A Dmock_display_manager_adapter.h83 MOCK_METHOD2(GetSupportedHDRFormats, DMError(ScreenId screenId, std::vector<ScreenHDRFormat>& hdrFormats));
84 MOCK_METHOD2(GetScreenHDRFormat, DMError(ScreenId screenId, ScreenHDRFormat& hdrFormat));
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsrenderserviceconnectionproxy_fuzzer/
H A Drsrenderserviceconnectionproxy_fuzzer.cpp96 ScreenHDRFormat screenHDRFormat = (ScreenHDRFormat)width; in DoSomethingInterestingWithMyAPI()
111 std::vector<ScreenHDRFormat> hdrFormats; in DoSomethingInterestingWithMyAPI()
/foundation/window/window_manager/dm/test/unittest/
H A Dscreen_test.cpp311 std::vector<ScreenHDRFormat> hdrFormats; in HWTEST_F()
325 ScreenHDRFormat hdrFormat = ScreenHDRFormat{0}; in HWTEST_F()
H A Ddisplay_manager_adapter_test.cpp332 std::vector<ScreenHDRFormat> hdrFormats; in HWTEST_F()
348 ScreenHDRFormat hdrFormat = ScreenHDRFormat{NOT_SUPPORT_HDR}; in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/transaction/
H A Drs_interfaces.h188 int32_t GetScreenSupportedHDRFormats(ScreenId id, std::vector<ScreenHDRFormat>& hdrFormats);
190 int32_t GetScreenHDRFormat(ScreenId id, ScreenHDRFormat& hdrFormat);
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/platform/ohos/
H A Drs_irender_service_connection.h211 virtual int32_t GetScreenSupportedHDRFormats(ScreenId id, std::vector<ScreenHDRFormat>& hdrFormats) = 0;
213 virtual int32_t GetScreenHDRFormat(ScreenId id, ScreenHDRFormat& hdrFormat) = 0;
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/
H A Drs_render_service_connection_proxy.h183 int32_t GetScreenSupportedHDRFormats(ScreenId id, std::vector<ScreenHDRFormat>& hdrFormats) override;
185 int32_t GetScreenHDRFormat(ScreenId id, ScreenHDRFormat& hdrFormat) override;
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_render_service_connection.h208 int32_t GetScreenSupportedHDRFormats(ScreenId id, std::vector<ScreenHDRFormat>& hdrFormats) override;
210 int32_t GetScreenHDRFormat(ScreenId id, ScreenHDRFormat& hdrFormat) override;
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/windows/
H A Drs_render_service_client.cpp376 int32_t RSRenderServiceClient::GetScreenSupportedHDRFormats(ScreenId id, std::vector<ScreenHDRFormat>& hdrFormats) in GetScreenSupportedHDRFormats()
381 int32_t RSRenderServiceClient::GetScreenHDRFormat(ScreenId id, ScreenHDRFormat& hdrFormat) in GetScreenHDRFormat()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/transaction/
H A Drs_render_service_client.h268 int32_t GetScreenSupportedHDRFormats(ScreenId id, std::vector<ScreenHDRFormat>& hdrFormats);
270 int32_t GetScreenHDRFormat(ScreenId id, ScreenHDRFormat& hdrFormat);
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/darwin/
H A Drs_render_service_client.cpp376 int32_t RSRenderServiceClient::GetScreenSupportedHDRFormats(ScreenId id, std::vector<ScreenHDRFormat>& hdrFormats) in GetScreenSupportedHDRFormats()
381 int32_t RSRenderServiceClient::GetScreenHDRFormat(ScreenId id, ScreenHDRFormat& hdrFormat) in GetScreenHDRFormat()
/foundation/window/window_manager/dm/include/
H A Ddisplay_manager_adapter.h150 virtual DMError GetSupportedHDRFormats(ScreenId screenId, std::vector<ScreenHDRFormat>& hdrFormats);
151 virtual DMError GetScreenHDRFormat(ScreenId screenId, ScreenHDRFormat& hdrFormat);

Completed in 17 milliseconds

123