design: mediatype-video: improve chroma-site/colorimety brief

* make sure it's clear there are more sitings
* include canonical names for default values
This commit is contained in:
Reynaldo H. Verdejo Pinochet 2017-05-17 14:13:10 -07:00
parent 4c04cfda9f
commit 5eceb4020d

View File

@ -37,15 +37,17 @@
must be prepared for this. This mode requires multiple must be prepared for this. This mode requires multiple
GstVideoMeta metadata to describe the fields. GstVideoMeta metadata to describe the fields.
- **chroma-site**, `G_TYPE_STRING`: Default UNKNOWN. The chroma siting of the - **chroma-site**, `G_TYPE_STRING`: Default `GST_VIDEO_CHROMA_SITE_UNKNOWN`.
video frames. The chroma siting of the video frames.
- *"jpeg"*: `GST_VIDEO_CHROMA_SITE_JPEG` - *"jpeg"*: `GST_VIDEO_CHROMA_SITE_JPEG`
- *"mpeg2"*: `GST_VIDEO_CHROMA_SITE_MPEG2` - *"mpeg2"*: `GST_VIDEO_CHROMA_SITE_MPEG2`
- *"dv"*: `GST_VIDEO_CHROMA_SITE_DV` - *"dv"*: `GST_VIDEO_CHROMA_SITE_DV`
- ...
- *"none"*: `GST_VIDEO_CHROMA_SITE_NONE`
- **colorimetry**, `G_TYPE_STRING`: Default UNKNOWN. The colorimetry of the - **colorimetry**, `G_TYPE_STRING`: Default `GST_VIDEO_COLORIMETRY_UNKNOWN`.
video frames. Predefined colorimetry is given with the following values: The colorimetry of the video frames. Predefined colorimetry is given with the following values:
- *"bt601"* - *"bt601"*
- *"bt709"* - *"bt709"*