mirror of
https://gitlab.freedesktop.org/wayland/wayland-protocols.git
synced 2025-12-20 03:30:13 +01:00
staging/color-management: recommend gamma22 instead of srgb
https://gitlab.freedesktop.org/pq/color-and-hdr/-/blob/main/doc/wayland_qa.md#q-should-srgb-content-be-decoded-with-the-piecewise-srgb-transfer-function I found it unfortunate that we left in a TF code that will intuitively be used incorrectly. It is as if we designed the protocol so that compositors will need to fix up client image descriptions. I am not aware of any use case that would want to target a display with the sRGB piece-wise transfer function, that would be a non-standard display. This patch does not help compositors avoid needing to second-guess client image descriptions using srgb TF, but it at least documents the situation. We could choose to out-law srgb TF in a minor version bump, or drop it completely in the next major version. Compositors can also not advertise support for srgb TF. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
parent
c855c8725b
commit
dceda690c0
1 changed files with 6 additions and 0 deletions
|
|
@ -290,6 +290,8 @@
|
||||||
of Federal Regulations 73.682 (a) (20)
|
of Federal Regulations 73.682 (a) (20)
|
||||||
- Rec. ITU-R BT.1700-0 625 PAL and 625 SECAM
|
- Rec. ITU-R BT.1700-0 625 PAL and 625 SECAM
|
||||||
Equivalent to H.273 TransferCharacteristics code point 4.
|
Equivalent to H.273 TransferCharacteristics code point 4.
|
||||||
|
|
||||||
|
Note: an sRGB display (IEC 61966-2-1) uses this transfer function.
|
||||||
</description>
|
</description>
|
||||||
</entry>
|
</entry>
|
||||||
<entry name="gamma28" value="3">
|
<entry name="gamma28" value="3">
|
||||||
|
|
@ -340,6 +342,10 @@
|
||||||
- IEC 61966-2-1 sRGB
|
- IEC 61966-2-1 sRGB
|
||||||
Equivalent to H.273 TransferCharacteristics code point 13 with
|
Equivalent to H.273 TransferCharacteristics code point 13 with
|
||||||
MatrixCoefficients set to 0.
|
MatrixCoefficients set to 0.
|
||||||
|
|
||||||
|
Note: This is not appropriate for describing sRGB material.
|
||||||
|
sRGB material is intended to be viewed on an sRGB display, and
|
||||||
|
that is described by gamma22.
|
||||||
</description>
|
</description>
|
||||||
</entry>
|
</entry>
|
||||||
<entry name="ext_srgb" value="10">
|
<entry name="ext_srgb" value="10">
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue