===================================================================
@@ -338,6 +338,7 @@
v4l2_mpeg_videotype \
v4l2_mpeg_videotype \
v4l2_power_line_frequency \
+ v4l2_colorfx \
v4l2_prio_state \
; do echo "-e \"s/ *$$i/\\\\ $$i/g\""; done)
===================================================================
@@ -261,11 +261,20 @@
<entry>Adjusts the backlight compensation in a camera. The
minimum value disables backlight compensation.</entry>
</row>
+ <row>
+ <entry><constant>V4L2_CID_COLORFX</constant></entry>
+ <entry>integer</entry>
+ <entry>Sets the color effect to be applied to the captured
+or displayed image. Possible values are:
+<constant>V4L2_COLORFX_DEFAULT</constant> (0),
+<constant>V4L2_COLORFX_BW</constant> (1) and
+<constant>V4L2_COLORFX_SEPIA</constant> (2).</entry>
+ </row>
<row>
<entry><constant>V4L2_CID_LASTP1</constant></entry>
<entry></entry>
<entry>End of the predefined control IDs (currently
-<constant>V4L2_CID_BACKLIGHT_COMPENSATION</constant> + 1).</entry>
+<constant>V4L2_CID_COLORFX</constant> + 1).</entry>
</row>
<row>
<entry><constant>V4L2_CID_PRIVATE_BASE</constant></entry>
===================================================================
@@ -879,7 +879,13 @@
#define V4L2_CID_WHITE_BALANCE_TEMPERATURE (V4L2_CID_BASE+26)
#define V4L2_CID_SHARPNESS (V4L2_CID_BASE+27)
#define V4L2_CID_BACKLIGHT_COMPENSATION (V4L2_CID_BASE+28)
-#define V4L2_CID_LASTP1 (V4L2_CID_BASE+29) /* last CID + 1 */
+#define V4L2_CID_COLORFX (V4L2_CID_BASE+31)
+enum v4l2_colorfx {
+ V4L2_COLORFX_DEFAULT = 0,
+ V4L2_COLORFX_BW = 1,
+ V4L2_COLORFX_SEPIA = 2,
+};
+#define V4L2_CID_LASTP1 (V4L2_CID_BASE+32) /* last CID + 1 */
/* MPEG-class control IDs defined by V4L2 */
#define V4L2_CID_MPEG_BASE (V4L2_CTRL_CLASS_MPEG | 0x900)