diff options
-rw-r--r-- | Documentation/DocBook/v4l/controls.xml | 11 | ||||
-rw-r--r-- | Documentation/DocBook/v4l/videodev2.h.xml | 7 | ||||
-rw-r--r-- | drivers/media/video/v4l2-common.c | 7 | ||||
-rw-r--r-- | include/linux/videodev2.h | 7 |
4 files changed, 30 insertions, 2 deletions
diff --git a/Documentation/DocBook/v4l/controls.xml b/Documentation/DocBook/v4l/controls.xml index 7e0c68747134..8408caaee276 100644 --- a/Documentation/DocBook/v4l/controls.xml +++ b/Documentation/DocBook/v4l/controls.xml | |||
@@ -283,8 +283,15 @@ minimum value disables backlight compensation.</entry> | |||
283 | <entry>Selects a color effect. Possible values for | 283 | <entry>Selects a color effect. Possible values for |
284 | <constant>enum v4l2_colorfx</constant> are: | 284 | <constant>enum v4l2_colorfx</constant> are: |
285 | <constant>V4L2_COLORFX_NONE</constant> (0), | 285 | <constant>V4L2_COLORFX_NONE</constant> (0), |
286 | <constant>V4L2_COLORFX_BW</constant> (1) and | 286 | <constant>V4L2_COLORFX_BW</constant> (1), |
287 | <constant>V4L2_COLORFX_SEPIA</constant> (2).</entry> | 287 | <constant>V4L2_COLORFX_SEPIA</constant> (2), |
288 | <constant>V4L2_COLORFX_NEGATIVE</constant> (3), | ||
289 | <constant>V4L2_COLORFX_EMBOSS</constant> (4), | ||
290 | <constant>V4L2_COLORFX_SKETCH</constant> (5), | ||
291 | <constant>V4L2_COLORFX_SKY_BLUE</constant> (6), | ||
292 | <constant>V4L2_COLORFX_GRASS_GREEN</constant> (7), | ||
293 | <constant>V4L2_COLORFX_SKIN_WHITEN</constant> (8) and | ||
294 | <constant>V4L2_COLORFX_VIVID</constant> (9).</entry> | ||
288 | </row> | 295 | </row> |
289 | <row> | 296 | <row> |
290 | <entry><constant>V4L2_CID_ROTATE</constant></entry> | 297 | <entry><constant>V4L2_CID_ROTATE</constant></entry> |
diff --git a/Documentation/DocBook/v4l/videodev2.h.xml b/Documentation/DocBook/v4l/videodev2.h.xml index c18dfebedeff..865b06d9e679 100644 --- a/Documentation/DocBook/v4l/videodev2.h.xml +++ b/Documentation/DocBook/v4l/videodev2.h.xml | |||
@@ -1018,6 +1018,13 @@ enum <link linkend="v4l2-colorfx">v4l2_colorfx</link> { | |||
1018 | V4L2_COLORFX_NONE = 0, | 1018 | V4L2_COLORFX_NONE = 0, |
1019 | V4L2_COLORFX_BW = 1, | 1019 | V4L2_COLORFX_BW = 1, |
1020 | V4L2_COLORFX_SEPIA = 2, | 1020 | V4L2_COLORFX_SEPIA = 2, |
1021 | V4L2_COLORFX_NEGATIVE = 3, | ||
1022 | V4L2_COLORFX_EMBOSS = 4, | ||
1023 | V4L2_COLORFX_SKETCH = 5, | ||
1024 | V4L2_COLORFX_SKY_BLUE = 6, | ||
1025 | V4L2_COLORFX_GRASS_GREEN = 7, | ||
1026 | V4L2_COLORFX_SKIN_WHITEN = 8, | ||
1027 | V4L2_COLORFX_VIVID = 9. | ||
1021 | }; | 1028 | }; |
1022 | #define V4L2_CID_AUTOBRIGHTNESS (V4L2_CID_BASE+32) | 1029 | #define V4L2_CID_AUTOBRIGHTNESS (V4L2_CID_BASE+32) |
1023 | #define V4L2_CID_BAND_STOP_FILTER (V4L2_CID_BASE+33) | 1030 | #define V4L2_CID_BAND_STOP_FILTER (V4L2_CID_BASE+33) |
diff --git a/drivers/media/video/v4l2-common.c b/drivers/media/video/v4l2-common.c index 67944f53a79a..035c414507a1 100644 --- a/drivers/media/video/v4l2-common.c +++ b/drivers/media/video/v4l2-common.c | |||
@@ -343,6 +343,13 @@ const char **v4l2_ctrl_get_menu(u32 id) | |||
343 | "None", | 343 | "None", |
344 | "Black & White", | 344 | "Black & White", |
345 | "Sepia", | 345 | "Sepia", |
346 | "Negative", | ||
347 | "Emboss", | ||
348 | "Sketch", | ||
349 | "Sky blue", | ||
350 | "Grass green", | ||
351 | "Skin whiten", | ||
352 | "Vivid", | ||
346 | NULL | 353 | NULL |
347 | }; | 354 | }; |
348 | static const char *tune_preemphasis[] = { | 355 | static const char *tune_preemphasis[] = { |
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index 65d13ec13c1f..e878056952c7 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h | |||
@@ -1026,6 +1026,13 @@ enum v4l2_colorfx { | |||
1026 | V4L2_COLORFX_NONE = 0, | 1026 | V4L2_COLORFX_NONE = 0, |
1027 | V4L2_COLORFX_BW = 1, | 1027 | V4L2_COLORFX_BW = 1, |
1028 | V4L2_COLORFX_SEPIA = 2, | 1028 | V4L2_COLORFX_SEPIA = 2, |
1029 | V4L2_COLORFX_NEGATIVE = 3, | ||
1030 | V4L2_COLORFX_EMBOSS = 4, | ||
1031 | V4L2_COLORFX_SKETCH = 5, | ||
1032 | V4L2_COLORFX_SKY_BLUE = 6, | ||
1033 | V4L2_COLORFX_GRASS_GREEN = 7, | ||
1034 | V4L2_COLORFX_SKIN_WHITEN = 8, | ||
1035 | V4L2_COLORFX_VIVID = 9, | ||
1029 | }; | 1036 | }; |
1030 | #define V4L2_CID_AUTOBRIGHTNESS (V4L2_CID_BASE+32) | 1037 | #define V4L2_CID_AUTOBRIGHTNESS (V4L2_CID_BASE+32) |
1031 | #define V4L2_CID_BAND_STOP_FILTER (V4L2_CID_BASE+33) | 1038 | #define V4L2_CID_BAND_STOP_FILTER (V4L2_CID_BASE+33) |