[vlc-commits] vlc_es: add support for mastering colour volume data & content light level
Steve Lhomme
git at videolan.org
Fri Mar 31 11:36:34 CEST 2017
vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Fri Mar 31 11:07:30 2017 +0200| [8cadb9c9cbcd4bc8caee0640c9d01bd90ca473b1] | committer: Hugo Beauzée-Luyssen
vlc_es: add support for mastering colour volume data & content light level
As in HDR10 metadata speficied in SMPTE ST 2086 and CEA 861.3.
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8cadb9c9cbcd4bc8caee0640c9d01bd90ca473b1
---
include/vlc_es.h | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/include/vlc_es.h b/include/vlc_es.h
index 4210bc0..9b5afb7 100644
--- a/include/vlc_es.h
+++ b/include/vlc_es.h
@@ -345,6 +345,18 @@ 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;
+ struct {
+ /* similar to CTA-861.3 content light level */
+ uint16_t MaxCLL; /* max content light level */
+ uint16_t MaxFALL; /* max frame average light level */
+ } ligthing;
uint32_t i_cubemap_padding; /**< padding in pixels of the cube map faces */
};
More information about the vlc-commits
mailing list