FFmpeg
Public Attributes | List of all members
AVMasteringDisplayMetadata Struct Reference

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

#include <mastering_display_metadata.h>

Public Attributes

AVRational display_primaries [3][2]
 CIE 1931 xy chromaticity coords of color primaries (r, g, b order).
 
AVRational white_point [2]
 CIE 1931 xy chromaticity coords of white point.
 
AVRational min_luminance
 Min luminance of mastering display (cd/m^2).
 
AVRational max_luminance
 Max luminance of mastering display (cd/m^2).
 
int has_primaries
 Flag indicating whether the display primaries (and white point) are set.
 
int has_luminance
 Flag indicating whether the luminance (min_ and max_) have been set.
 

Detailed Description

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.

The documentation for this struct was generated from the following file: