Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert color-gamut to be a single value. #311

Merged
merged 2 commits into from
Oct 13, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1770,12 +1770,15 @@ following additional fields:
display could return this value as 1.6 to indicate its preferred content
scaling. Default is none.

: color-gamuts (optional)
: color-gamut (optional)
:: An optional field indicating what color spaces can be decoded and rendered by
markafoltz marked this conversation as resolved.
Show resolved Hide resolved
the media receiver. The media sender may use these values to determine how
the media receiver. The media sender may use this value to determine how
to encode video. Valid values correspond to [[MEDIA-CAPABILITIES#colorgamut|ColorGamut]]
in the [[!MEDIA-CAPABILITIES|Media Capabilities]] API. The default value is
a list with the single entry "srgb".
"srgb".

NOTE: Support for "p3" implies support for "srgb", and support for "rec2020"
implies support for "p3" and "srgb".

: hdr-formats (optional)
:: An optional field indicating what HDR transfer functions and metadata formats
Expand Down
2 changes: 1 addition & 1 deletion messages_appendix.cddl
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ receive-video-capability = {
? 3: uint ; max-pixels-per-second
? 4: uint ; min-bit-rate
? 5: ratio ; aspect-ratio
? 6: [* string] ; color-gamuts
? 6: string ; color-gamut
? 7: [* video-resolution] ; native-resolutions
? 8: bool ; supports-scaling
? 9: bool ; supports-rotation
Expand Down