diff options
Diffstat (limited to 'v4l2-spec/pixfmt.sgml')
-rw-r--r-- | v4l2-spec/pixfmt.sgml | 96 |
1 files changed, 48 insertions, 48 deletions
diff --git a/v4l2-spec/pixfmt.sgml b/v4l2-spec/pixfmt.sgml index 9e6bebeb4..aaea55d44 100644 --- a/v4l2-spec/pixfmt.sgml +++ b/v4l2-spec/pixfmt.sgml @@ -39,9 +39,9 @@ format is YUV 4:2:0, <structfield>width</structfield> and <entry>The pixel format or type of compression, set by the application. This is a little endian <link linkend="v4l2-fourcc">four character code</link>. V4L2 defines -standard RGB formats in <xref linkend="rgb-formats">, YUV formats in <xref -linkend="yuv-formats">, and reserved codes in <xref -linkend="reserved-formats"></entry> +standard RGB formats in <xref linkend="rgb-formats" />, YUV formats in <xref +linkend="yuv-formats" />, and reserved codes in <xref +linkend="reserved-formats" /></entry> </row> <row> <entry>&v4l2-field;</entry> @@ -50,7 +50,7 @@ linkend="reserved-formats"></entry> can request to capture or output only the top or bottom field, or both fields interlaced or sequentially stored in one buffer or alternating in separate buffers. Drivers return the actual field order selected. -For details see <xref linkend="field-order">.</entry> +For details see <xref linkend="field-order" />.</entry> </row> <row> <entry>__u32</entry> @@ -94,7 +94,7 @@ hold an image.</entry> <entry><structfield>colorspace</structfield></entry> <entry>This information supplements the <structfield>pixelformat</structfield> and must be set by the driver, -see <xref linkend="colorspaces">.</entry> +see <xref linkend="colorspaces" />.</entry> </row> <row> <entry>__u32</entry> @@ -304,20 +304,20 @@ EB = clamp (b * 255); <table pgwide="1" id="v4l2-colorspace" orient="land"> <title>enum v4l2_colorspace</title> <tgroup cols="11" align="center"> - <colspec align="left"> - <colspec align="center"> - <colspec align="left"> - <colspec colname="cr"> - <colspec colname="cg"> - <colspec colname="cb"> - <colspec colname="wp"> - <colspec colname="gc"> - <colspec colname="lum"> - <colspec colname="qy"> - <colspec colname="qc"> - <spanspec namest="cr" nameend="cb" spanname="chrom"> - <spanspec namest="qy" nameend="qc" spanname="quant"> - <spanspec namest="lum" nameend="qc" spanname="spam"> + <colspec align="left" /> + <colspec align="center" /> + <colspec align="left" /> + <colspec colname="cr" /> + <colspec colname="cg" /> + <colspec colname="cb" /> + <colspec colname="wp" /> + <colspec colname="gc" /> + <colspec colname="lum" /> + <colspec colname="qy" /> + <colspec colname="qc" /> + <spanspec namest="cr" nameend="cb" spanname="chrom" /> + <spanspec namest="qy" nameend="qc" spanname="quant" /> + <spanspec namest="lum" nameend="qc" spanname="spam" /> <thead> <row> <entry morerows="1">Identifier</entry> @@ -344,8 +344,8 @@ given in the CIE system (1931)</para> <row> <entry><constant>V4L2_COLORSPACE_SMPTE170M</constant></entry> <entry>1</entry> - <entry>NTSC/PAL according to <xref linkend="smpte170m">, -<xref linkend="itu601"></entry> + <entry>NTSC/PAL according to <xref linkend="smpte170m" />, +<xref linkend="itu601" /></entry> <entry>x = 0.630, y = 0.340</entry> <entry>x = 0.310, y = 0.595</entry> <entry>x = 0.155, y = 0.070</entry> @@ -363,7 +363,7 @@ given in the CIE system (1931)</para> <entry><constant>V4L2_COLORSPACE_SMPTE240M</constant></entry> <entry>2</entry> <entry>1125-Line (US) HDTV, see <xref -linkend="smpte240m"></entry> +linkend="smpte240m" /></entry> <entry>x = 0.630, y = 0.340</entry> <entry>x = 0.310, y = 0.595</entry> <entry>x = 0.155, y = 0.070</entry> @@ -381,7 +381,7 @@ linkend="smpte240m"></entry> <entry><constant>V4L2_COLORSPACE_REC709</constant></entry> <entry>3</entry> <entry>HDTV and modern devices, see <xref -linkend="itu709"></entry> +linkend="itu709" /></entry> <entry>x = 0.640, y = 0.330</entry> <entry>x = 0.300, y = 0.600</entry> <entry>x = 0.150, y = 0.060</entry> @@ -404,7 +404,7 @@ quantizes E'<subscript>Y</subscript> to 238 levels, yielding a range of Y' = 16 … 253, unlike Rec. 601 Y' = 16 … 235. This is not a typo in the Bt878 documentation, it has been implemented in silicon. The chroma extents are unclear.</para> - </footnote>, <xref linkend="itu601"></entry> + </footnote>, <xref linkend="itu601" /></entry> <entry>?</entry> <entry>?</entry> <entry>?</entry> @@ -423,8 +423,8 @@ implemented in silicon. The chroma extents are unclear.</para> <para>No identifier exists for M/PAL which uses the chromaticities of M/NTSC, the remaining parameters are equal to B and G/PAL.</para> - </footnote> according to <xref linkend="itu470">, <xref - linkend="itu601"></entry> + </footnote> according to <xref linkend="itu470" />, <xref + linkend="itu601" /></entry> <entry>x = 0.67, y = 0.33</entry> <entry>x = 0.21, y = 0.71</entry> <entry>x = 0.14, y = 0.08</entry> @@ -440,7 +440,7 @@ G/PAL.</para> <entry><constant>V4L2_COLORSPACE_470_SYSTEM_BG</constant></entry> <entry>6</entry> <entry>625-line PAL and SECAM systems according to <xref -linkend="itu470">, <xref linkend="itu601"></entry> +linkend="itu470" />, <xref linkend="itu601" /></entry> <entry>x = 0.64, y = 0.33</entry> <entry>x = 0.29, y = 0.60</entry> <entry>x = 0.15, y = 0.06</entry> @@ -456,7 +456,7 @@ Illuminant D<subscript>65</subscript></entry> <row> <entry><constant>V4L2_COLORSPACE_JPEG</constant></entry> <entry>7</entry> - <entry>JPEG Y'CbCr, see <xref linkend="jfif">, <xref linkend="itu601"></entry> + <entry>JPEG Y'CbCr, see <xref linkend="jfif" />, <xref linkend="itu601" /></entry> <entry>?</entry> <entry>?</entry> <entry>?</entry> @@ -502,23 +502,23 @@ access the palette, this must be done with ioctls of the Linux framebuffer API.< <table pgwide="0" frame="none"> <title>Indexed Image Format</title> <tgroup cols="37" align="center"> - <colspec colname="id" align="left"> - <colspec colname="fourcc"> - <colspec colname="bit"> - - <colspec colnum="4" colname="b07" align="center"> - <colspec colnum="5" colname="b06" align="center"> - <colspec colnum="6" colname="b05" align="center"> - <colspec colnum="7" colname="b04" align="center"> - <colspec colnum="8" colname="b03" align="center"> - <colspec colnum="9" colname="b02" align="center"> - <colspec colnum="10" colname="b01" align="center"> - <colspec colnum="11" colname="b00" align="center"> - - <spanspec namest="b07" nameend="b00" spanname="b0"> - <spanspec namest="b17" nameend="b10" spanname="b1"> - <spanspec namest="b27" nameend="b20" spanname="b2"> - <spanspec namest="b37" nameend="b30" spanname="b3"> + <colspec colname="id" align="left" /> + <colspec colname="fourcc" /> + <colspec colname="bit" /> + + <colspec colnum="4" colname="b07" align="center" /> + <colspec colnum="5" colname="b06" align="center" /> + <colspec colnum="6" colname="b05" align="center" /> + <colspec colnum="7" colname="b04" align="center" /> + <colspec colnum="8" colname="b03" align="center" /> + <colspec colnum="9" colname="b02" align="center" /> + <colspec colnum="10" colname="b01" align="center" /> + <colspec colnum="11" colname="b00" align="center" /> + + <spanspec namest="b07" nameend="b00" spanname="b0" /> + <spanspec namest="b17" nameend="b10" spanname="b1" /> + <spanspec namest="b27" nameend="b20" spanname="b2" /> + <spanspec namest="b37" nameend="b30" spanname="b3" /> <thead> <row> <entry>Identifier</entry> @@ -565,7 +565,7 @@ access the palette, this must be done with ioctls of the Linux framebuffer API.< &sub-packed-rgb; &sub-sbggr8; &sub-sgbrg8; - &sub-sgrbg8 + &sub-sgrbg8; &sub-sbggr16; </section> @@ -577,7 +577,7 @@ signals. It separates the brightness information (Y) from the color information (U and V or Cb and Cr). The color information consists of red and blue <emphasis>color difference</emphasis> signals, this way the green component can be reconstructed by subtracting from the -brightness component. See <xref linkend="colorspaces"> for conversion +brightness component. See <xref linkend="colorspaces" /> for conversion examples. YUV was chosen because early television would only transmit brightness information. To add color in a way compatible with existing receivers a new signal carrier was added to transmit the color @@ -629,7 +629,7 @@ information.</para> <entry>'MPEG'</entry> <entry>MPEG stream. The actual format is determined by extended control <constant>V4L2_CID_MPEG_STREAM_TYPE</constant>, see -<xref linkend="mpeg-control-id">.</entry> +<xref linkend="mpeg-control-id" />.</entry> </row> </tbody> </tgroup> |