Skip to content

Commit 34b6ed2

Browse files
authored
Merge pull request #566 from w3c/wcg
Add WCG color spaces.
2 parents 9ad546a + b8dd618 commit 34b6ed2

File tree

1 file changed

+48
-12
lines changed

1 file changed

+48
-12
lines changed

index.src.html

Lines changed: 48 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4500,9 +4500,11 @@
45004500

45014501
<xmp class='idl'>
45024502
enum VideoColorPrimaries {
4503-
"bt709", // BT.709, sRGB
4504-
"bt470bg", // BT.601 PAL
4505-
"smpte170m", // BT.601 NTSC
4503+
"bt709",
4504+
"bt470bg",
4505+
"smpte170m",
4506+
"bt2020",
4507+
"smpte432",
45064508
};
45074509
</xmp>
45084510

@@ -4522,6 +4524,16 @@
45224524
Color primaries used by BT.601 NTSC, as described by [[H.273]]
45234525
section 8.1 table 2 value 6.
45244526
</dd>
4527+
<dt><dfn enum-value for=VideoColorPrimaries>bt2020</dfn></dt>
4528+
<dd>
4529+
Color primaries used by BT.2020 and BT.2100, as described by [[H.273]]
4530+
section 8.1 table 2 value 9.
4531+
</dd>
4532+
<dt><dfn enum-value for=VideoColorPrimaries>smpte432</dfn></dt>
4533+
<dd>
4534+
Color primaries used by P3 D65, as described by [[H.273]]
4535+
section 8.1 table 2 value 12.
4536+
</dd>
45254537
</dl>
45264538

45274539
Video Transfer Characteristics {#videotransfercharacteristics}
@@ -4531,9 +4543,12 @@
45314543

45324544
<xmp class='idl'>
45334545
enum VideoTransferCharacteristics {
4534-
"bt709", // BT.709
4535-
"smpte170m", // BT.601 (functionally the same as bt709)
4536-
"iec61966-2-1", // sRGB
4546+
"bt709",
4547+
"smpte170m",
4548+
"iec61966-2-1",
4549+
"linear",
4550+
"pq",
4551+
"hlg",
45374552
};
45384553
</xmp>
45394554

@@ -4546,13 +4561,28 @@
45464561
<dt><dfn enum-value for=VideoTransferCharacteristics>smpte170m</dfn></dt>
45474562
<dd>
45484563
Transfer characteristics used by BT.601, as described by [[H.273]]
4549-
section 8.2 table 3 value 6.
4564+
section 8.2 table 3 value 6. (Functionally the same as "bt709".)
45504565
</dd>
45514566
<dt><dfn enum-value for=VideoTransferCharacteristics>iec61966-2-1</dfn></dt>
45524567
<dd>
45534568
Transfer characteristics used by sRGB, as described by [[H.273]]
45544569
section 8.2 table 3 value 13.
45554570
</dd>
4571+
<dt><dfn enum-value for=VideoTransferCharacteristics>linear</dfn></dt>
4572+
<dd>
4573+
Transfer characteristics used by linear RGB, as described by [[H.273]]
4574+
section 8.2 table 3 value 8.
4575+
</dd>
4576+
<dt><dfn enum-value for=VideoTransferCharacteristics>pq</dfn></dt>
4577+
<dd>
4578+
Transfer characteristics used by BT.2100 PQ, as described by [[H.273]]
4579+
section 8.2 table 3 value 16.
4580+
</dd>
4581+
<dt><dfn enum-value for=VideoTransferCharacteristics>hlg</dfn></dt>
4582+
<dd>
4583+
Transfer characteristics used by BT.2100 HLG, as described by [[H.273]]
4584+
section 8.2 table 3 value 18.
4585+
</dd>
45564586
</dl>
45574587

45584588
Video Matrix Coefficients {#videomatrixcoefficients}
@@ -4562,10 +4592,11 @@
45624592

45634593
<xmp class='idl'>
45644594
enum VideoMatrixCoefficients {
4565-
"rgb", // sRGB
4566-
"bt709", // BT.709
4567-
"bt470bg", // BT.601 PAL
4568-
"smpte170m", // BT.601 NTSC (functionally the same as bt470bg)
4595+
"rgb",
4596+
"bt709",
4597+
"bt470bg",
4598+
"smpte170m",
4599+
"bt2020-ncl",
45694600
};
45704601
</xmp>
45714602

@@ -4588,7 +4619,12 @@
45884619
<dt><dfn enum-value for=VideoMatrixCoefficients>smpte170m</dfn></dt>
45894620
<dd>
45904621
Matrix coefficients used by BT.601 NTSC, as described by [[H.273]]
4591-
section 8.3 table 4 value 6.
4622+
section 8.3 table 4 value 6. (Functionally the same as "bt470bg".)
4623+
</dd>
4624+
<dt><dfn enum-value for=VideoMatrixCoefficients>bt2020-ncl</dfn></dt>
4625+
<dd>
4626+
Matrix coefficients used by BT.2020 NCL, as described by [[H.273]]
4627+
section 8.3 table 4 value 9.
45924628
</dd>
45934629
</dl>
45944630

0 commit comments

Comments
 (0)