Closed sandersdan closed 1 year ago
Should we align these with Media Capabilities ColorGamut and TransferFunction? Are there cases where WebCodecs needs a different set of possible values than Media Capabilities?
Should we align these with Media Capabilities ColorGamut and TransferFunction?
The short answer is that we diverged with the first version of WebCodecs, which we decided was acceptable since WebCodecs does not integrate with MediaCapabilities. Some of the values I picked in this PR do match between the two, at least.
Perhaps more relevant is alignment with https://github.com/w3c/ColorWeb-CG/blob/master/hdr_html_canvas_element.md, but that is not yet finalized and also has a different technical interpretation.
Any last comments on these names? It's been 3 weeks, so we'll go ahead and merge tomorrow otherwise.
Thanks all. I think we have sufficient approval to merge now.
This implements the color spaces portion of #384, but does not add pixel formats or HDR metadata.
Preview | Diff