[vlc-commits] V4L2: hack compatibility with kernel headers 2.6.32-2.6.34
Rémi Denis-Courmont
git at videolan.org
Sun Oct 23 10:43:03 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Oct 23 10:42:01 2011 +0200| [37575838f4457e9efdc6d48f80b695d6bd6b42a0] | committer: Rémi Denis-Courmont
V4L2: hack compatibility with kernel headers 2.6.32-2.6.34
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=37575838f4457e9efdc6d48f80b695d6bd6b42a0
---
modules/access/v4l2/v4l2.h | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/modules/access/v4l2/v4l2.h b/modules/access/v4l2/v4l2.h
index 7fed7b7..8b227d1 100644
--- a/modules/access/v4l2/v4l2.h
+++ b/modules/access/v4l2/v4l2.h
@@ -45,13 +45,19 @@
#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
More information about the vlc-commits
mailing list