summaryrefslogtreecommitdiffstats
path: root/Documentation/DocBook/media/v4l/pixfmt-packed-rgb.xml
diff options
context:
space:
mode:
authorSylwester Nawrocki2011-11-14 12:48:18 +0100
committerMauro Carvalho Chehab2011-12-30 17:05:08 +0100
commitcc1d327232759647ea56725eab1c6b16c92d52fa (patch)
treec929516390d3aade90f4a87f29ceaa05be47aa6a /Documentation/DocBook/media/v4l/pixfmt-packed-rgb.xml
parentMerge tag 'v3.2-rc7' into staging/for_v3.3 (diff)
downloadkernel-qcow2-linux-cc1d327232759647ea56725eab1c6b16c92d52fa.tar.gz
kernel-qcow2-linux-cc1d327232759647ea56725eab1c6b16c92d52fa.tar.xz
kernel-qcow2-linux-cc1d327232759647ea56725eab1c6b16c92d52fa.zip
[media] v4l: Add new alpha component control
The V4L2_CID_ALPHA_COMPONENT control is intended for the video capture or memory-to-memory devices that are capable of setting up the per-pixel alpha component to some arbitrary value. It allows to set the alpha component for all pixels to an arbitrary value. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation/DocBook/media/v4l/pixfmt-packed-rgb.xml')
-rw-r--r--Documentation/DocBook/media/v4l/pixfmt-packed-rgb.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/Documentation/DocBook/media/v4l/pixfmt-packed-rgb.xml b/Documentation/DocBook/media/v4l/pixfmt-packed-rgb.xml
index ba56536622f2..166c8d65e4f7 100644
--- a/Documentation/DocBook/media/v4l/pixfmt-packed-rgb.xml
+++ b/Documentation/DocBook/media/v4l/pixfmt-packed-rgb.xml
@@ -428,8 +428,11 @@ colorspace <constant>V4L2_COLORSPACE_SRGB</constant>.</para>
<para>Bit 7 is the most significant bit. The value of a = alpha
bits is undefined when reading from the driver, ignored when writing
to the driver, except when alpha blending has been negotiated for a
-<link linkend="overlay">Video Overlay</link> or <link
-linkend="osd">Video Output Overlay</link>.</para>
+<link linkend="overlay">Video Overlay</link> or <link linkend="osd">
+Video Output Overlay</link> or when alpha component has been configured
+for a <link linkend="capture">Video Capture</link> by means of <link
+linkend="v4l2-alpha-component"> <constant>V4L2_CID_ALPHA_COMPONENT
+</constant> </link> control.</para>
<example>
<title><constant>V4L2_PIX_FMT_BGR24</constant> 4 &times; 4 pixel