Skip to content

Commit db6a3fd

Browse files
committed
[css-color-hdr] dded color-hdr function. Added ISO 21496-1 informative reference #11616
1 parent cbe685e commit db6a3fd

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

css-color-hdr-1/Overview.bs

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,19 @@ WPT Display: open
3838
"href": "https://www.arib.or.jp/english/html/overview/doc/2-STD-B67v1_0.pdf",
3939
"title": "Essential Parameter Values for the Extended Image Dynamic Range Television (EIDRTV) System for Programme Production",
4040
"publisher": "ARIB",
41-
"ate": "3 July 2015"
41+
"date": "3 July 2015"
4242
},
4343
"DisplayHDR": {
4444
"title": "Summary of DisplayHDR Specs under CTS 1.2",
4545
"href": "https://displayhdr.org/performance-criteria/",
4646
"publisher": "VESA",
4747
"date": "17 May 2024"
4848
},
49+
"ISO 21496-1": {
50+
"title": "Gain map metadata for image conversion: Part 1: Dynamic Range Conversion",
51+
"href": "https://www.iso.org/standard/86775.html",
52+
"publisher": "ISO"
53+
},
4954
"Perrin": {
5055
"authors": [
5156
"Perrin, A-F.",
@@ -450,6 +455,30 @@ Mixing Dynamic Range Limits: the ''dynamic-range-limit-mix()'' function {#dynami
450455
</pre>
451456
</div>
452457

458+
<h2 id="hdr-color-function">HDR colors parameterized by headroom: the ''hdr-color()'' function</h2>
459+
460+
The ''hdr-color()'' function allows a range of colors to be specified,
461+
whose value is automatically calculated based on the [=HDR headroom=].
462+
463+
It does this by specifying two <<color>> values,
464+
each with an associated level of HDR headroom.
465+
The actual value is computed by interpolating between these two colors,
466+
based on the current amount of HDR headroom.
467+
468+
This is a similar meachanism to gain maps,
469+
in raster images conforming to [[?ISO 21496-1]].
470+
471+
The actual calculated result is not exposed,
472+
nor is the actual HDR headroom,
473+
as this is a fingerprinting vector.
474+
475+
Its syntax is as follows:
476+
477+
<pre class='prod'>
478+
<dfn>hdr-color()</dfn> = color-hdr([ <<color>> && <<number [1,infty]>>? ]#{2})
479+
</pre>
480+
481+
453482
<h2 id="color-function">
454483
Specifying Predefined and Custom Color Spaces: the ''color()'' Function
455484
</h2>

0 commit comments

Comments
 (0)