Allocate an AVContentLightMetadata structure and set its fields to default values. The resulting struct can be freed using av_freep().
Allocate a complete AVContentLightMetadata and add it to the frame.
Allocate an AVMasteringDisplayMetadata structure and set its fields to default values. The resulting struct can be freed using av_freep().
Allocate a complete AVMasteringDisplayMetadata and add it to the frame.
Content light level needed by to transmit HDR over HDMI (CTA-861.3).
Mastering display metadata capable of representing the color volume of the display used to master the content (SMPTE 2086:2014).