diff options
author | Koen Kooi <koen@openembedded.org> | 2009-08-16 11:34:38 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-08-16 11:34:38 +0200 |
commit | 97aee9aeb0da17f7c3a3c31acf5f8ddd227bd3e2 (patch) | |
tree | c6f9e1aa40a5abfde9d03de2fb4f86e778ef8ffd /recipes/linux/linux-omap-pm-2.6.29/isp/v4l/0001-V4L2-Add-COLORFX-user-control.patch | |
parent | 2001d352e87a4a143c6dd4bed2d3261937c16eba (diff) | |
download | openembedded-97aee9aeb0da17f7c3a3c31acf5f8ddd227bd3e2.tar.gz |
linux-omap-pm 2.6.29: update to latest git HEAD, sync patches and defconfig with regular linux-omap 2.6.29
Diffstat (limited to 'recipes/linux/linux-omap-pm-2.6.29/isp/v4l/0001-V4L2-Add-COLORFX-user-control.patch')
-rw-r--r-- | recipes/linux/linux-omap-pm-2.6.29/isp/v4l/0001-V4L2-Add-COLORFX-user-control.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/recipes/linux/linux-omap-pm-2.6.29/isp/v4l/0001-V4L2-Add-COLORFX-user-control.patch b/recipes/linux/linux-omap-pm-2.6.29/isp/v4l/0001-V4L2-Add-COLORFX-user-control.patch new file mode 100644 index 0000000000..d9e4243b4a --- /dev/null +++ b/recipes/linux/linux-omap-pm-2.6.29/isp/v4l/0001-V4L2-Add-COLORFX-user-control.patch @@ -0,0 +1,44 @@ +From ad422f476ce04636f911557bbfd066c516e9b472 Mon Sep 17 00:00:00 2001 +From: Aguirre Rodriguez, Sergio Alberto <saaguirre@ti.com> +Date: Tue, 20 Jan 2009 16:29:26 -0600 +Subject: [PATCH] V4L2: Add COLORFX user control + +From 07396d67b39bf7bcc81440d3e72d253ad6c54f11 Mon Sep 17 00:00:00 2001 +From: Sergio Aguirre <saaguirre@ti.com> +Date: Tue, 20 Jan 2009 15:34:43 -0600 +Subject: [PATCH v2] V4L2: Add COLORFX user control + +This is a common feature on many cameras. the options are: +Default colors, +B & W, +Sepia + +Signed-off-by: Sergio Aguirre <saaguirre@ti.com> +--- + include/linux/videodev2.h | 9 ++++++++- + 1 files changed, 8 insertions(+), 1 deletions(-) + +diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h +index 5571dbe..8e4e25e 100644 +--- a/include/linux/videodev2.h ++++ b/include/linux/videodev2.h +@@ -879,8 +879,15 @@ enum v4l2_power_line_frequency { + #define V4L2_CID_BACKLIGHT_COMPENSATION (V4L2_CID_BASE+28) + #define V4L2_CID_CHROMA_AGC (V4L2_CID_BASE+29) + #define V4L2_CID_COLOR_KILLER (V4L2_CID_BASE+30) ++#define V4L2_CID_COLORFX (V4L2_CID_BASE+31) ++enum v4l2_colorfx { ++ V4L2_COLORFX_NONE = 0, ++ V4L2_COLORFX_BW = 1, ++ V4L2_COLORFX_SEPIA = 2, ++}; ++ + /* last CID + 1 */ +-#define V4L2_CID_LASTP1 (V4L2_CID_BASE+31) ++#define V4L2_CID_LASTP1 (V4L2_CID_BASE+32) + + /* MPEG-class control IDs defined by V4L2 */ + #define V4L2_CID_MPEG_BASE (V4L2_CTRL_CLASS_MPEG | 0x900) +-- +1.5.6.5 + |