Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cc036312 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab
Browse files

[media] DocBook media: add missing ycbcr_enc and quantization fields



I forgot to add these fields to the relevant structs.

Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent f2d27e45
Loading
Loading
Loading
Loading
+34 −2
Original line number Diff line number Diff line
@@ -141,6 +141,22 @@ applicable values.</para></entry>
	  <entry>Flags set by the application or driver, see <xref
linkend="format-flags" />.</entry>
	</row>
	<row>
	  <entry>&v4l2-ycbcr-encoding;</entry>
	  <entry><structfield>ycbcr_enc</structfield></entry>
	  <entry>This information supplements the
<structfield>colorspace</structfield> and must be set by the driver for
capture streams and by the application for output streams,
see <xref linkend="colorspaces" />.</entry>
	</row>
	<row>
	  <entry>&v4l2-quantization;</entry>
	  <entry><structfield>quantization</structfield></entry>
	  <entry>This information supplements the
<structfield>colorspace</structfield> and must be set by the driver for
capture streams and by the application for output streams,
see <xref linkend="colorspaces" />.</entry>
	</row>
      </tbody>
    </tgroup>
  </table>
@@ -231,10 +247,26 @@ codes can be used.</entry>
	  <entry><structfield>flags</structfield></entry>
	  <entry>Flags set by the application or driver, see <xref
linkend="format-flags" />.</entry>
	</row>
	<row>
	  <entry>&v4l2-ycbcr-encoding;</entry>
	  <entry><structfield>ycbcr_enc</structfield></entry>
	  <entry>This information supplements the
<structfield>colorspace</structfield> and must be set by the driver for
capture streams and by the application for output streams,
see <xref linkend="colorspaces" />.</entry>
	</row>
	<row>
	  <entry>&v4l2-quantization;</entry>
	  <entry><structfield>quantization</structfield></entry>
	  <entry>This information supplements the
<structfield>colorspace</structfield> and must be set by the driver for
capture streams and by the application for output streams,
see <xref linkend="colorspaces" />.</entry>
	</row>
        <row>
          <entry>__u8</entry>
          <entry><structfield>reserved[10]</structfield></entry>
          <entry><structfield>reserved[8]</structfield></entry>
          <entry>Reserved for future extensions. Should be zeroed by the
           application.</entry>
        </row>
+17 −1
Original line number Diff line number Diff line
@@ -33,9 +33,25 @@
	  <entry>Image colorspace, from &v4l2-colorspace;. See
	  <xref linkend="colorspaces" /> for details.</entry>
	</row>
	<row>
	  <entry>&v4l2-ycbcr-encoding;</entry>
	  <entry><structfield>ycbcr_enc</structfield></entry>
	  <entry>This information supplements the
<structfield>colorspace</structfield> and must be set by the driver for
capture streams and by the application for output streams,
see <xref linkend="colorspaces" />.</entry>
	</row>
	<row>
	  <entry>&v4l2-quantization;</entry>
	  <entry><structfield>quantization</structfield></entry>
	  <entry>This information supplements the
<structfield>colorspace</structfield> and must be set by the driver for
capture streams and by the application for output streams,
see <xref linkend="colorspaces" />.</entry>
	</row>
	<row>
	  <entry>__u32</entry>
	  <entry><structfield>reserved</structfield>[7]</entry>
	  <entry><structfield>reserved</structfield>[6]</entry>
	  <entry>Reserved for future extensions. Applications and drivers must
	  set the array to zero.</entry>
	</row>