20#include <libavutil/frame.h>
21#include <libavutil/mastering_display_metadata.h>
48 .r = {{ 0.640f, 0.330f, }},
49 .g = {{ 0.300f, 0.600f, }},
50 .b = {{ 0.150f, 0.060f, }},
51 .whitepoint = {{ 0.3127f, 0.3290f, }},
53 .whitepoint_name =
"D65",
60 .r = {{ 0.708f, 0.292f, }},
61 .g = {{ 0.170f, 0.797f, }},
62 .b = {{ 0.131f, 0.046f, }},
63 .whitepoint = {{ 0.3127f, 0.3290f, }},
65 .whitepoint_name =
"D65",
73 .r = {{ 0.640f, 0.330f, }},
74 .g = {{ 0.290f, 0.600f, }},
75 .b = {{ 0.150f, 0.060f, }},
76 .whitepoint = {{ 0.3127f, 0.3290f, }},
78 .whitepoint_name =
"D65",
85#define ARRAY_LENGTH(a) (sizeof(a) / sizeof(a)[0])
static struct colorspace bt470bg
BT470bg Color Space.
static struct colorspace bt2020
BT2020 Color Space.
static struct colorspace *const colorspaces[]
static struct colorspace bt709
BT709 Color Space.
static struct colorspace * colorspace_lookup(const char *name)
int Build(struct hdr_output_metadata *, int, int, AVFrameSideData *, AVFrameSideData *)
Build an HDR static metadata blob.
const char * whitepoint_name