aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/videodev2.h
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2011-11-14 06:48:18 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-12-30 11:05:08 -0500
commitcc1d327232759647ea56725eab1c6b16c92d52fa (patch)
treec929516390d3aade90f4a87f29ceaa05be47aa6a /include/linux/videodev2.h
parentb4d48c942c17ce3d3a330ad91e109e522bc97378 (diff)
[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 'include/linux/videodev2.h')
-rw-r--r--include/linux/videodev2.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h
index 3d62631839bc..2965906a02c9 100644
--- a/include/linux/videodev2.h
+++ b/include/linux/videodev2.h
@@ -1204,10 +1204,10 @@ enum v4l2_colorfx {
1204#define V4L2_CID_MIN_BUFFERS_FOR_CAPTURE (V4L2_CID_BASE+39) 1204#define V4L2_CID_MIN_BUFFERS_FOR_CAPTURE (V4L2_CID_BASE+39)
1205#define V4L2_CID_MIN_BUFFERS_FOR_OUTPUT (V4L2_CID_BASE+40) 1205#define V4L2_CID_MIN_BUFFERS_FOR_OUTPUT (V4L2_CID_BASE+40)
1206 1206
1207/* last CID + 1 */ 1207#define V4L2_CID_ALPHA_COMPONENT (V4L2_CID_BASE+41)
1208#define V4L2_CID_LASTP1 (V4L2_CID_BASE+41)
1209 1208
1210/* Minimum number of buffer neede by the device */ 1209/* last CID + 1 */
1210#define V4L2_CID_LASTP1 (V4L2_CID_BASE+42)
1211 1211
1212/* MPEG-class control IDs defined by V4L2 */ 1212/* MPEG-class control IDs defined by V4L2 */
1213#define V4L2_CID_MPEG_BASE (V4L2_CTRL_CLASS_MPEG | 0x900) 1213#define V4L2_CID_MPEG_BASE (V4L2_CTRL_CLASS_MPEG | 0x900)