AVMasteringDisplayMetadata

Mastering display metadata capable of representing the color volume of the display used to master the content (SMPTE 2086:2014).

To be used as payload of a AVFrameSideData or AVPacketSideData with the appropriate type.

@note The struct should be allocated with av_mastering_display_metadata_alloc() and its size is not a part of the public ABI.

Members

Variables

display_primaries
AVRational[2][3] display_primaries;

CIE 1931 xy chromaticity coords of color primaries (r, g, b order).

has_luminance
int has_luminance;

Flag indicating whether the luminance (min_ and max_) have been set.

has_primaries
int has_primaries;

Flag indicating whether the display primaries (and white point) are set.

max_luminance
AVRational max_luminance;

Max luminance of mastering display (cd/m^2).

min_luminance
AVRational min_luminance;

Min luminance of mastering display (cd/m^2).

white_point
AVRational[2] white_point;

CIE 1931 xy chromaticity coords of white point.

Meta