]> git.sesse.net Git - vlc/commitdiff
V4L2: hack compatibility with kernel headers 2.6.32-2.6.34
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 23 Oct 2011 08:42:01 +0000 (10:42 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 23 Oct 2011 08:42:01 +0000 (10:42 +0200)
modules/access/v4l2/v4l2.h

index 7fed7b743f50ec9d8c48e24ae140323618d83c67..8b227d11eca9d63a206a75696e5542ffddebad37 100644 (file)
 #endif
 #ifndef V4L2_CID_CHROMA_GAIN /* 2.6.35 */
 # define V4L2_CID_CHROMA_GAIN (V4L2_CID_BASE+36)
+# define V4L2_COLORFX_VIVID 9
+# define V4L2_COLORFX_SKIN_WHITEN 8
+# define V4L2_COLORFX_GRASS_GREEN 7
+# define V4L2_COLORFX_SKY_BLUE 6
+# define V4L2_COLORFX_SKETCH 5
+# define V4L2_COLORFX_EMBOSS 4
+# define V4L2_COLORFX_NEGATIVE 3
 #endif
 #ifndef V4L2_CID_ROTATE /* 2.6.33 */
 # define V4L2_CID_BG_COLOR (V4L2_CID_BASE+35)
 # define V4L2_CID_ROTATE (V4L2_CID_BASE+34)
 #endif
 
-
 #ifdef HAVE_LIBV4L2
 #   include <libv4l2.h>
 #else