FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
AVMasteringDisplayMetadata Struct Reference

Copyright (c) 2016 Neil Birkbeck neil..nosp@m.birk.nosp@m.beck@.nosp@m.gmai.nosp@m.l.com More...

#include <mastering_display_metadata.h>

Data Fields

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

Detailed Description

Copyright (c) 2016 Neil Birkbeck neil..nosp@m.birk.nosp@m.beck@.nosp@m.gmai.nosp@m.l.com

This file is part of FFmpeg.

FFmpeg is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

FFmpeg is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with FFmpeg; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 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.

Definition at line 38 of file mastering_display_metadata.h.

Field Documentation

AVRational AVMasteringDisplayMetadata::display_primaries[3][2]

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

Definition at line 42 of file mastering_display_metadata.h.

Referenced by dump_mastering_display_metadata(), mkv_parse_video_color(), mkv_write_video_color(), and set_side_data().

AVRational AVMasteringDisplayMetadata::white_point[2]

CIE 1931 xy chromaticity coords of white point.

Definition at line 47 of file mastering_display_metadata.h.

Referenced by dump_mastering_display_metadata(), mkv_parse_video_color(), mkv_write_video_color(), and set_side_data().

AVRational AVMasteringDisplayMetadata::min_luminance

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

Definition at line 52 of file mastering_display_metadata.h.

Referenced by dump_mastering_display_metadata(), mkv_parse_video_color(), mkv_write_video_color(), and set_side_data().

AVRational AVMasteringDisplayMetadata::max_luminance

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

Definition at line 57 of file mastering_display_metadata.h.

Referenced by dump_mastering_display_metadata(), mkv_parse_video_color(), mkv_write_video_color(), and set_side_data().

int AVMasteringDisplayMetadata::has_primaries

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

Definition at line 62 of file mastering_display_metadata.h.

Referenced by dump_mastering_display_metadata(), mkv_parse_video_color(), mkv_write_video_color(), and set_side_data().

int AVMasteringDisplayMetadata::has_luminance

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

Definition at line 67 of file mastering_display_metadata.h.

Referenced by dump_mastering_display_metadata(), mkv_parse_video_color(), mkv_write_video_color(), and set_side_data().


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