[vlc-devel] [PATCH 1/5] vlc_es: add support for mastering colour volume data
Steve Lhomme
robux4 at videolabs.io
Wed Mar 29 15:39:27 CEST 2017
As in HDR10 metadata speficied in SMPTE ST 2086.
---
include/vlc_es.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/include/vlc_es.h b/include/vlc_es.h
index 4210bc0d71..57d2a8461f 100644
--- a/include/vlc_es.h
+++ b/include/vlc_es.h
@@ -345,6 +345,13 @@ struct video_format_t
float f_roll_degrees; /**< view point roll in degrees ]-180;180] */
float f_fov_degrees; /**< view point fov in degrees ]0;180[ */
} pose;
+ struct {
+ /* similar to SMPTE ST 2086 mastering display color volume */
+ uint16_t primaries[3*2]; /* G,B,R / x,y */
+ uint16_t white_point[2]; /* x,y */
+ uint32_t max_luminance;
+ uint32_t min_luminance;
+ } mastering;
uint32_t i_cubemap_padding; /**< padding in pixels of the cube map faces */
};
--
2.11.1
More information about the vlc-devel
mailing list