diff options
| author | Hans Verkuil <hans.verkuil@cisco.com> | 2015-09-13 12:41:30 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-09-30 18:43:35 -0400 |
| commit | 7146a9cfa499ac3bfaea18555d67afb04cac40c3 (patch) | |
| tree | e052e25e9e3b527a3e53b5ea4413079ff02531b0 /Documentation/DocBook | |
| parent | 529a7960307012f66faec6426747cf61d320265c (diff) | |
[media] DocBook media: document the new DCI-P3 colorspace
Document this colorspace.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'Documentation/DocBook')
| -rw-r--r-- | Documentation/DocBook/media/v4l/biblio.xml | 9 | ||||
| -rw-r--r-- | Documentation/DocBook/media/v4l/pixfmt.xml | 70 |
2 files changed, 79 insertions, 0 deletions
diff --git a/Documentation/DocBook/media/v4l/biblio.xml b/Documentation/DocBook/media/v4l/biblio.xml index fdee6b3f3eca..f54db5992279 100644 --- a/Documentation/DocBook/media/v4l/biblio.xml +++ b/Documentation/DocBook/media/v4l/biblio.xml | |||
| @@ -177,6 +177,15 @@ Signal - NTSC for Studio Applications"</title> | |||
| 177 | 1125-Line High-Definition Production"</title> | 177 | 1125-Line High-Definition Production"</title> |
| 178 | </biblioentry> | 178 | </biblioentry> |
| 179 | 179 | ||
| 180 | <biblioentry id="smpte431"> | ||
| 181 | <abbrev>SMPTE RP 431-2</abbrev> | ||
| 182 | <authorgroup> | ||
| 183 | <corpauthor>Society of Motion Picture and Television Engineers | ||
| 184 | (<ulink url="http://www.smpte.org">http://www.smpte.org</ulink>)</corpauthor> | ||
| 185 | </authorgroup> | ||
| 186 | <title>SMPTE RP 431-2:2011 "D-Cinema Quality - Reference Projector and Environment"</title> | ||
| 187 | </biblioentry> | ||
| 188 | |||
| 180 | <biblioentry id="srgb"> | 189 | <biblioentry id="srgb"> |
| 181 | <abbrev>sRGB</abbrev> | 190 | <abbrev>sRGB</abbrev> |
| 182 | <authorgroup> | 191 | <authorgroup> |
diff --git a/Documentation/DocBook/media/v4l/pixfmt.xml b/Documentation/DocBook/media/v4l/pixfmt.xml index 965ea916784a..41733331af4c 100644 --- a/Documentation/DocBook/media/v4l/pixfmt.xml +++ b/Documentation/DocBook/media/v4l/pixfmt.xml | |||
| @@ -540,6 +540,10 @@ colorspaces except for BT.2020 which uses limited range R'G'B' quantization.</pa | |||
| 540 | <entry>See <xref linkend="col-bt2020" />.</entry> | 540 | <entry>See <xref linkend="col-bt2020" />.</entry> |
| 541 | </row> | 541 | </row> |
| 542 | <row> | 542 | <row> |
| 543 | <entry><constant>V4L2_COLORSPACE_DCI_P3</constant></entry> | ||
| 544 | <entry>See <xref linkend="col-dcip3" />.</entry> | ||
| 545 | </row> | ||
| 546 | <row> | ||
| 543 | <entry><constant>V4L2_COLORSPACE_SMPTE240M</constant></entry> | 547 | <entry><constant>V4L2_COLORSPACE_SMPTE240M</constant></entry> |
| 544 | <entry>See <xref linkend="col-smpte-240m" />.</entry> | 548 | <entry>See <xref linkend="col-smpte-240m" />.</entry> |
| 545 | </row> | 549 | </row> |
| @@ -601,6 +605,10 @@ colorspaces except for BT.2020 which uses limited range R'G'B' quantization.</pa | |||
| 601 | <entry><constant>V4L2_XFER_FUNC_NONE</constant></entry> | 605 | <entry><constant>V4L2_XFER_FUNC_NONE</constant></entry> |
| 602 | <entry>Do not use a transfer function (i.e. use linear RGB values).</entry> | 606 | <entry>Do not use a transfer function (i.e. use linear RGB values).</entry> |
| 603 | </row> | 607 | </row> |
| 608 | <row> | ||
| 609 | <entry><constant>V4L2_XFER_FUNC_DCI_P3</constant></entry> | ||
| 610 | <entry>Use the DCI-P3 transfer function.</entry> | ||
| 611 | </row> | ||
| 604 | </tbody> | 612 | </tbody> |
| 605 | </tgroup> | 613 | </tgroup> |
| 606 | </table> | 614 | </table> |
| @@ -1154,6 +1162,68 @@ clamped to the range [-0.5…0.5]. The Y'CbCr quantization is limited range | |||
| 1154 | clamped to the range [-0.5…0.5]. The Yc'CbcCrc quantization is limited range.</para> | 1162 | clamped to the range [-0.5…0.5]. The Yc'CbcCrc quantization is limited range.</para> |
| 1155 | </section> | 1163 | </section> |
| 1156 | 1164 | ||
| 1165 | <section id="col-dcip3"> | ||
| 1166 | <title>Colorspace DCI-P3 (<constant>V4L2_COLORSPACE_DCI_P3</constant>)</title> | ||
| 1167 | <para>The <xref linkend="smpte431" /> standard defines the colorspace used by cinema | ||
| 1168 | projectors that use the DCI-P3 colorspace. | ||
| 1169 | The default transfer function is <constant>V4L2_XFER_FUNC_DCI_P3</constant>. | ||
| 1170 | The default Y'CbCr encoding is <constant>V4L2_YCBCR_ENC_709</constant>. Note that this | ||
| 1171 | colorspace does not specify a Y'CbCr encoding since it is not meant to be encoded | ||
| 1172 | to Y'CbCr. So this default Y'CbCr encoding was picked because it is the HDTV | ||
| 1173 | encoding. The default Y'CbCr quantization is limited range. The chromaticities of | ||
| 1174 | the primary colors and the white reference are:</para> | ||
| 1175 | <table frame="none"> | ||
| 1176 | <title>DCI-P3 Chromaticities</title> | ||
| 1177 | <tgroup cols="3" align="left"> | ||
| 1178 | &cs-str; | ||
| 1179 | <thead> | ||
| 1180 | <row> | ||
| 1181 | <entry>Color</entry> | ||
| 1182 | <entry>x</entry> | ||
| 1183 | <entry>y</entry> | ||
| 1184 | </row> | ||
| 1185 | </thead> | ||
| 1186 | <tbody valign="top"> | ||
| 1187 | <row> | ||
| 1188 | <entry>Red</entry> | ||
| 1189 | <entry>0.6800</entry> | ||
| 1190 | <entry>0.3200</entry> | ||
| 1191 | </row> | ||
| 1192 | <row> | ||
| 1193 | <entry>Green</entry> | ||
| 1194 | <entry>0.2650</entry> | ||
| 1195 | <entry>0.6900</entry> | ||
| 1196 | </row> | ||
| 1197 | <row> | ||
| 1198 | <entry>Blue</entry> | ||
| 1199 | <entry>0.1500</entry> | ||
| 1200 | <entry>0.0600</entry> | ||
| 1201 | </row> | ||
| 1202 | <row> | ||
| 1203 | <entry>White Reference</entry> | ||
| 1204 | <entry>0.3140</entry> | ||
| 1205 | <entry>0.3510</entry> | ||
| 1206 | </row> | ||
| 1207 | </tbody> | ||
| 1208 | </tgroup> | ||
| 1209 | </table> | ||
| 1210 | <variablelist> | ||
| 1211 | <varlistentry> | ||
| 1212 | <term>Transfer function:</term> | ||
| 1213 | <listitem> | ||
| 1214 | <para>L' = L<superscript>1/2.6</superscript></para> | ||
| 1215 | </listitem> | ||
| 1216 | </varlistentry> | ||
| 1217 | <varlistentry> | ||
| 1218 | <term>Inverse Transfer function:</term> | ||
| 1219 | <listitem> | ||
| 1220 | <para>L = L'<superscript>2.6</superscript></para> | ||
| 1221 | </listitem> | ||
| 1222 | </varlistentry> | ||
| 1223 | </variablelist> | ||
| 1224 | <para>Y'CbCr encoding is not specified. V4L2 defaults to Rec. 709.</para> | ||
| 1225 | </section> | ||
| 1226 | |||
| 1157 | <section id="col-smpte-240m"> | 1227 | <section id="col-smpte-240m"> |
| 1158 | <title>Colorspace SMPTE 240M (<constant>V4L2_COLORSPACE_SMPTE240M</constant>)</title> | 1228 | <title>Colorspace SMPTE 240M (<constant>V4L2_COLORSPACE_SMPTE240M</constant>)</title> |
| 1159 | <para>The <xref linkend="smpte240m" /> standard was an interim standard used during | 1229 | <para>The <xref linkend="smpte240m" /> standard was an interim standard used during |
