summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux/linux-omap-2.6.29/isp/v4l/0001-V4L2-Add-COLORFX-user-control.patch
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:14:24 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:29:45 +0100
commit29d6678fd546377459ef75cf54abeef5b969b5cf (patch)
tree8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-kernel/linux/linux-omap-2.6.29/isp/v4l/0001-V4L2-Add-COLORFX-user-control.patch
parentda49de6885ee1bc424e70bc02f21f6ab920efb55 (diff)
downloadpoky-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-kernel/linux/linux-omap-2.6.29/isp/v4l/0001-V4L2-Add-COLORFX-user-control.patch')
-rw-r--r--meta/recipes-kernel/linux/linux-omap-2.6.29/isp/v4l/0001-V4L2-Add-COLORFX-user-control.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-omap-2.6.29/isp/v4l/0001-V4L2-Add-COLORFX-user-control.patch b/meta/recipes-kernel/linux/linux-omap-2.6.29/isp/v4l/0001-V4L2-Add-COLORFX-user-control.patch
new file mode 100644
index 0000000000..d9e4243b4a
--- /dev/null
+++ b/meta/recipes-kernel/linux/linux-omap-2.6.29/isp/v4l/0001-V4L2-Add-COLORFX-user-control.patch
@@ -0,0 +1,44 @@
1From ad422f476ce04636f911557bbfd066c516e9b472 Mon Sep 17 00:00:00 2001
2From: Aguirre Rodriguez, Sergio Alberto <saaguirre@ti.com>
3Date: Tue, 20 Jan 2009 16:29:26 -0600
4Subject: [PATCH] V4L2: Add COLORFX user control
5
6From 07396d67b39bf7bcc81440d3e72d253ad6c54f11 Mon Sep 17 00:00:00 2001
7From: Sergio Aguirre <saaguirre@ti.com>
8Date: Tue, 20 Jan 2009 15:34:43 -0600
9Subject: [PATCH v2] V4L2: Add COLORFX user control
10
11This is a common feature on many cameras. the options are:
12Default colors,
13B & W,
14Sepia
15
16Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
17---
18 include/linux/videodev2.h | 9 ++++++++-
19 1 files changed, 8 insertions(+), 1 deletions(-)
20
21diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h
22index 5571dbe..8e4e25e 100644
23--- a/include/linux/videodev2.h
24+++ b/include/linux/videodev2.h
25@@ -879,8 +879,15 @@ enum v4l2_power_line_frequency {
26 #define V4L2_CID_BACKLIGHT_COMPENSATION (V4L2_CID_BASE+28)
27 #define V4L2_CID_CHROMA_AGC (V4L2_CID_BASE+29)
28 #define V4L2_CID_COLOR_KILLER (V4L2_CID_BASE+30)
29+#define V4L2_CID_COLORFX (V4L2_CID_BASE+31)
30+enum v4l2_colorfx {
31+ V4L2_COLORFX_NONE = 0,
32+ V4L2_COLORFX_BW = 1,
33+ V4L2_COLORFX_SEPIA = 2,
34+};
35+
36 /* last CID + 1 */
37-#define V4L2_CID_LASTP1 (V4L2_CID_BASE+31)
38+#define V4L2_CID_LASTP1 (V4L2_CID_BASE+32)
39
40 /* MPEG-class control IDs defined by V4L2 */
41 #define V4L2_CID_MPEG_BASE (V4L2_CTRL_CLASS_MPEG | 0x900)
42--
431.5.6.5
44