From 0bfb862329cadc909e61ed634ab8a5fa2015ccf3 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Tue, 20 Aug 2019 21:10:45 +0900 Subject: [PATCH] video-hdr: Update documentation * Fix typo s/nunormalized/normalized/g * Update GstVideoMasteringDisplayInfo description Each values are not array. * Add missing newline between arguments description and detailed comment. --- gst-libs/gst/video/video-hdr.c | 1 + gst-libs/gst/video/video-hdr.h | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gst-libs/gst/video/video-hdr.c b/gst-libs/gst/video/video-hdr.c index 46d449dbf6..aaa6c393de 100644 --- a/gst-libs/gst/video/video-hdr.c +++ b/gst-libs/gst/video/video-hdr.c @@ -377,6 +377,7 @@ gst_video_content_light_level_from_string (GstVideoContentLightLevel * /** * gst_video_content_light_level_to_string: * @linfo: a #GstVideoContentLightLevel + * * Convert @linfo to its string representation. * * Returns: (transfer full): a string representation of @linfo. diff --git a/gst-libs/gst/video/video-hdr.h b/gst-libs/gst/video/video-hdr.h index a0b92fd28c..5f982fbf61 100644 --- a/gst-libs/gst/video/video-hdr.h +++ b/gst-libs/gst/video/video-hdr.h @@ -30,7 +30,7 @@ typedef struct _GstVideoContentLightLevel GstVideoContentLightLevel; /** * GstVideoMasteringDisplayInfo: - * @Rx_n: the numerator of nunormalized red x coordinate as defined CIE 1931 + * @Rx_n: the numerator of normalized red x coordinate as defined CIE 1931 * @Rx_d: the denominator of normalized red x coordinate as defined CIE 1931 * @Ry_n: the numerator of normalized red y coordinate as defined CIE 1931 * @Ry_d: the denominator of normalized red y coordinate as defined CIE 1931 @@ -53,8 +53,8 @@ typedef struct _GstVideoContentLightLevel GstVideoContentLightLevel; * * Mastering display color volume information defined by SMPTE ST 2086 * (a.k.a static HDR metadata). - * Each array represent fraction value of red, green, blue, white - * and min/max luma (the first element of an array is numerator). + * Each pair of *_d and *_n represents fraction value of red, green, blue, white + * and min/max luma. * * The decimal representation of each red, green, blue and white value should * be in the range of [0, 1].