Skip to content
Snippets Groups Projects
Commit 83803231 authored by Chun-Min Chang's avatar Chun-Min Chang
Browse files

Bug 1798975 - Add new values to VideoColorSpace r=webidl,jgilbert,padenot,smaug

Add more color spaces introduced by https://github.com/w3c/webcodecs/pull/566

Differential Revision: https://phabricator.services.mozilla.com/D161224
parent a5631d89
No related branches found
No related tags found
No related merge requests found
......@@ -32,12 +32,17 @@ enum VideoColorPrimaries {
"bt709", // BT.709, sRGB
"bt470bg", // BT.601 PAL
"smpte170m", // BT.601 NTSC
"bt2020", // BT.2020, BT.2100
"smpte432", // P3 D65
};
enum VideoTransferCharacteristics {
"bt709", // BT.709
"smpte170m", // BT.601 (functionally the same as bt709)
"iec61966-2-1", // sRGB
"linear", // linear RGB
"pq", // BT.2100 PQ
"hlg", // BT.2100 HLG
};
enum VideoMatrixCoefficients {
......@@ -45,4 +50,5 @@ enum VideoMatrixCoefficients {
"bt709", // BT.709
"bt470bg", // BT.601 PAL
"smpte170m", // BT.601 NTSC (functionally the same as bt470bg)
"bt2020-ncl", // BT.2020 NCL
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment