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.
This commit is contained in:
Seungha Yang 2019-08-20 21:10:45 +09:00
parent 8d122f21ad
commit 0bfb862329
2 changed files with 4 additions and 3 deletions

View file

@ -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.

View file

@ -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].