Skip to content

Commit b8dd618

Browse files
author
Dan Sanders
committed
Add WCG color spaces.
1 parent 1db4c21 commit b8dd618

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
@@ -4461,9 +4461,11 @@
44614461

44624462
<xmp class='idl'>
44634463
enum VideoColorPrimaries {
4464-
"bt709", // BT.709, sRGB
4465-
"bt470bg", // BT.601 PAL
4466-
"smpte170m", // BT.601 NTSC
4464+
"bt709",
4465+
"bt470bg",
4466+
"smpte170m",
4467+
"bt2020",
4468+
"smpte432",
44674469
};
44684470
</xmp>
44694471

@@ -4483,6 +4485,16 @@
44834485
Color primaries used by BT.601 NTSC, as described by [[H.273]]
44844486
section 8.1 table 2 value 6.
44854487
</dd>
4488+
<dt><dfn enum-value for=VideoColorPrimaries>bt2020</dfn></dt>
4489+
<dd>
4490+
Color primaries used by BT.2020 and BT.2100, as described by [[H.273]]
4491+
section 8.1 table 2 value 9.
4492+
</dd>
4493+
<dt><dfn enum-value for=VideoColorPrimaries>smpte432</dfn></dt>
4494+
<dd>
4495+
Color primaries used by P3 D65, as described by [[H.273]]
4496+
section 8.1 table 2 value 12.
4497+
</dd>
44864498
</dl>
44874499

44884500
Video Transfer Characteristics {#videotransfercharacteristics}
@@ -4492,9 +4504,12 @@
44924504

44934505
<xmp class='idl'>
44944506
enum VideoTransferCharacteristics {
4495-
"bt709", // BT.709
4496-
"smpte170m", // BT.601 (functionally the same as bt709)
4497-
"iec61966-2-1", // sRGB
4507+
"bt709",
4508+
"smpte170m",
4509+
"iec61966-2-1",
4510+
"linear",
4511+
"pq",
4512+
"hlg",
44984513
};
44994514
</xmp>
45004515

@@ -4507,13 +4522,28 @@
45074522
<dt><dfn enum-value for=VideoTransferCharacteristics>smpte170m</dfn></dt>
45084523
<dd>
45094524
Transfer characteristics used by BT.601, as described by [[H.273]]
4510-
section 8.2 table 3 value 6.
4525+
section 8.2 table 3 value 6. (Functionally the same as "bt709".)
45114526
</dd>
45124527
<dt><dfn enum-value for=VideoTransferCharacteristics>iec61966-2-1</dfn></dt>
45134528
<dd>
45144529
Transfer characteristics used by sRGB, as described by [[H.273]]
45154530
section 8.2 table 3 value 13.
45164531
</dd>
4532+
<dt><dfn enum-value for=VideoTransferCharacteristics>linear</dfn></dt>
4533+
<dd>
4534+
Transfer characteristics used by linear RGB, as described by [[H.273]]
4535+
section 8.2 table 3 value 8.
4536+
</dd>
4537+
<dt><dfn enum-value for=VideoTransferCharacteristics>pq</dfn></dt>
4538+
<dd>
4539+
Transfer characteristics used by BT.2100 PQ, as described by [[H.273]]
4540+
section 8.2 table 3 value 16.
4541+
</dd>
4542+
<dt><dfn enum-value for=VideoTransferCharacteristics>hlg</dfn></dt>
4543+
<dd>
4544+
Transfer characteristics used by BT.2100 HLG, as described by [[H.273]]
4545+
section 8.2 table 3 value 18.
4546+
</dd>
45174547
</dl>
45184548

45194549
Video Matrix Coefficients {#videomatrixcoefficients}
@@ -4523,10 +4553,11 @@
45234553

45244554
<xmp class='idl'>
45254555
enum VideoMatrixCoefficients {
4526-
"rgb", // sRGB
4527-
"bt709", // BT.709
4528-
"bt470bg", // BT.601 PAL
4529-
"smpte170m", // BT.601 NTSC (functionally the same as bt470bg)
4556+
"rgb",
4557+
"bt709",
4558+
"bt470bg",
4559+
"smpte170m",
4560+
"bt2020-ncl",
45304561
};
45314562
</xmp>
45324563

@@ -4549,7 +4580,12 @@
45494580
<dt><dfn enum-value for=VideoMatrixCoefficients>smpte170m</dfn></dt>
45504581
<dd>
45514582
Matrix coefficients used by BT.601 NTSC, as described by [[H.273]]
4552-
section 8.3 table 4 value 6.
4583+
section 8.3 table 4 value 6. (Functionally the same as "bt470bg".)
4584+
</dd>
4585+
<dt><dfn enum-value for=VideoMatrixCoefficients>bt2020-ncl</dfn></dt>
4586+
<dd>
4587+
Matrix coefficients used by BT.2020 NCL, as described by [[H.273]]
4588+
section 8.3 table 4 value 9.
45534589
</dd>
45544590
</dl>
45554591

0 commit comments

Comments
 (0)