aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2014-05-21 18:16:01 -0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-17 11:44:46 -0400
commitb04ef7c075e8806fa18bc849e32d6a3163150cec (patch)
treedc9d14cb94fd01db372066b0259b894a263fad6c
parent977ff0e4fb3460df9f3dd27de92d60786be28645 (diff)
[media] DocBook: media: Document ALPHA_COMPONENT control usage on output devices
Extend the V4L2_CID_ALPHA_COMPONENT control for use on output devices, to set the alpha component value when the output format doesn't have an alpha channel. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
-rw-r--r--Documentation/DocBook/media/v4l/controls.xml17
1 files changed, 10 insertions, 7 deletions
diff --git a/Documentation/DocBook/media/v4l/controls.xml b/Documentation/DocBook/media/v4l/controls.xml
index cc0087efc8d2..74f575560f1b 100644
--- a/Documentation/DocBook/media/v4l/controls.xml
+++ b/Documentation/DocBook/media/v4l/controls.xml
@@ -408,14 +408,17 @@ to work.</entry>
408 <row id="v4l2-alpha-component"> 408 <row id="v4l2-alpha-component">
409 <entry><constant>V4L2_CID_ALPHA_COMPONENT</constant></entry> 409 <entry><constant>V4L2_CID_ALPHA_COMPONENT</constant></entry>
410 <entry>integer</entry> 410 <entry>integer</entry>
411 <entry> Sets the alpha color component on the capture device or on 411 <entry>Sets the alpha color component. When a capture device (or
412 the capture buffer queue of a mem-to-mem device. When a mem-to-mem 412 capture queue of a mem-to-mem device) produces a frame format that
413 device produces frame format that includes an alpha component 413 includes an alpha component
414 (e.g. <link linkend="rgb-formats">packed RGB image formats</link>) 414 (e.g. <link linkend="rgb-formats">packed RGB image formats</link>)
415 and the alpha value is not defined by the mem-to-mem input data 415 and the alpha value is not defined by the device or the mem-to-mem
416 this control lets you select the alpha component value of all 416 input data this control lets you select the alpha component value of
417 pixels. It is applicable to any pixel format that contains an alpha 417 all pixels. When an output device (or output queue of a mem-to-mem
418 component. 418 device) consumes a frame format that doesn't include an alpha
419 component and the device supports alpha channel processing this
420 control lets you set the alpha component value of all pixels for
421 further processing in the device.
419 </entry> 422 </entry>
420 </row> 423 </row>
421 <row> 424 <row>