Robert Mader abe186e466 wayland: Add basic colorimetrie support
Using the Wayland color-management and color-representation protocols.

The implementation queries supported values from the compositors and tries
to convert them into GstVideoColorimetry values. It currently *does not*
pass these upstream to decoders etc. as GstCaps for negotiation.

On the Wayland side it uses named transfer functions, named primaries,
matrices and ranges. The straight alpha mode is also set if supported
by the compositor.

On setting caps it translates the GstVideoColorimetry from the GstVideoInfo
back to into a Wayland parametric image description and color representation
for the video surface if possible. If a colorimetry is not fully
support, we bail out and if wayland objects already exist they get reset or
deleted.

Note that not all GstVideoColorimetry values are implemented yet.

Useful debug options: GST_DEBUG=wlwindow:4,wldisplay:4

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6830>
2025-06-17 05:41:40 +00:00
..
2025-03-13 11:37:35 +00:00
2025-02-17 06:30:17 +00:00
2025-02-17 06:30:17 +00:00
2025-03-13 11:37:35 +00:00
2025-02-17 06:30:17 +00:00
2025-02-17 06:30:17 +00:00
2025-04-30 10:18:57 +00:00
2025-02-17 06:30:17 +00:00
2025-02-17 06:30:17 +00:00
2025-02-17 06:30:17 +00:00
2025-05-02 05:54:56 +00:00
2025-02-17 06:30:17 +00:00
2025-04-08 11:45:11 +00:00
2025-02-17 06:30:17 +00:00
2025-02-17 06:30:17 +00:00
2025-02-17 06:30:17 +00:00
2025-05-01 23:16:25 +09:00
2025-02-17 06:30:17 +00:00
2025-04-30 10:18:57 +00:00
2025-02-17 06:30:17 +00:00
2025-02-17 06:30:17 +00:00