diff options
author | Neil Birkbeck <neil.birkbeck@gmail.com> | 2016-01-26 14:14:20 -0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-01-29 19:08:52 +0100 |
commit | c323c98ee34861de1ef21a5d20fa1dec3eb436d9 (patch) | |
tree | 428733cd044101bfed03d546f77af42b8cb15c71 /libavutil/mastering_display_metadata.h | |
parent | 6cc156793d4f15d75b0498b34bf12e8cd6a0d7e0 (diff) | |
download | ffmpeg-c323c98ee34861de1ef21a5d20fa1dec3eb436d9.tar.gz |
libavutil/mastering_display_metadata.h: change fields to be rationals as this is how they are typically coded.
(this structure is not referenced anywhere yet)
Signed-off-by: Neil Birkbeck <neil.birkbeck@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavutil/mastering_display_metadata.h')
-rw-r--r-- | libavutil/mastering_display_metadata.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libavutil/mastering_display_metadata.h b/libavutil/mastering_display_metadata.h index 781c1fd3b2..936533fec4 100644 --- a/libavutil/mastering_display_metadata.h +++ b/libavutil/mastering_display_metadata.h @@ -22,6 +22,8 @@ #define AVUTIL_MASTERING_DISPLAY_METADATA_H #include "frame.h" +#include "rational.h" + /** * Mastering display metadata capable of representing the color volume of @@ -37,22 +39,22 @@ typedef struct AVMasteringDisplayMetadata { /** * CIE 1931 xy chromaticity coords of color primaries (r, g, b order). */ - float display_primaries[3][2]; + AVRational display_primaries[3][2]; /** * CIE 1931 xy chromaticity coords of white point. */ - float white_point[2]; + AVRational white_point[2]; /** * Min luminance of mastering display (cd/m^2). */ - float min_luminance; + AVRational min_luminance; /** * Max luminance of mastering display (cd/m^2). */ - float max_luminance; + AVRational max_luminance; /** * Flag indicating whether the display primaries (and white point) are set. |