Skip to content

Draft: Parse static HDR metadata from the EDID

Jeremy Cline requested to merge jcline/weston:hdr-edid into main

The EDID may include a CTA-861 extension block that includes HDR static metadata, dynamic metadata, and colorimetry.

This extracts the HDR static metadata from the extension, if it is present. This table includes supported electro-optical transfer functions, static metadata types, and optionally preferred min/max/average luminance levels.

This is part of the work for HDR support outlined in #467

I've marked this a WIP as I think it probably makes sense to also parse the HDR dynamic metadata and colorimetry blocks as part of this work, and presumably some tests would be valuable as well. This is my first weston contribution, however, so I thought getting feedback earlier rather than later would be best.

Merge request reports