summaryrefslogtreecommitdiffstats
path: root/openembedded/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/linux-videodev2.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-05-09 16:35:43 +0000
committerRichard Purdie <richard@openedhand.com>2006-05-09 16:35:43 +0000
commit8e898fe29b4b621df383b49b4a1df8d7d12b9a8f (patch)
tree383d65ec1202a8bb5891e9c68ed5e681b1b8e53e /openembedded/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/linux-videodev2.patch
parent8100c3dbd30a3c28306c9d176323b4a69d101a6a (diff)
downloadpoky-8e898fe29b4b621df383b49b4a1df8d7d12b9a8f.tar.gz
Add EABI toolchain
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@379 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/linux-videodev2.patch')
-rw-r--r--openembedded/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/linux-videodev2.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/openembedded/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/linux-videodev2.patch b/openembedded/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/linux-videodev2.patch
new file mode 100644
index 0000000000..95335c99b6
--- /dev/null
+++ b/openembedded/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/linux-videodev2.patch
@@ -0,0 +1,45 @@
1--- linux-libc-headers-2.6.15.99/include/linux/videodev2.h.orig 2006-03-20 11:14:35.000000000 +0100
2+++ linux-libc-headers-2.6.15.99/include/linux/videodev2.h 2006-03-20 11:14:37.000000000 +0100
3@@ -15,7 +15,32 @@
4 */
5 #include <sys/time.h> /* need struct timeval */
6 #include <asm/types.h> /* needed __u64 */
7-
8+
9+#define OBSOLETE_OWNER 1 /* It will be removed for 2.6.15 */
10+#define HAVE_V4L2 1
11+
12+/*
13+ * Common stuff for both V4L1 and V4L2
14+ * Moved from videodev.h
15+ */
16+
17+#define VIDEO_MAX_FRAME 32
18+
19+#define VID_TYPE_CAPTURE 1 /* Can capture */
20+#define VID_TYPE_TUNER 2 /* Can tune */
21+#define VID_TYPE_TELETEXT 4 /* Does teletext */
22+#define VID_TYPE_OVERLAY 8 /* Overlay onto frame buffer */
23+#define VID_TYPE_CHROMAKEY 16 /* Overlay by chromakey */
24+#define VID_TYPE_CLIPPING 32 /* Can clip */
25+#define VID_TYPE_FRAMERAM 64 /* Uses the frame buffer memory */
26+#define VID_TYPE_SCALES 128 /* Scalable */
27+#define VID_TYPE_MONOCHROME 256 /* Monochrome only */
28+#define VID_TYPE_SUBCAPTURE 512 /* Can capture subareas of the image */
29+#define VID_TYPE_MPEG_DECODER 1024 /* Can decode MPEG streams */
30+#define VID_TYPE_MPEG_ENCODER 2048 /* Can encode MPEG streams */
31+#define VID_TYPE_MJPEG_DECODER 4096 /* Can decode MJPEG streams */
32+#define VID_TYPE_MJPEG_ENCODER 8192 /* Can encode MJPEG streams */
33+
34 /*
35 * M I S C E L L A N E O U S
36 */
37@@ -464,7 +489,7 @@
38 struct v4l2_clip
39 {
40 struct v4l2_rect c;
41- struct v4l2_clip __user *next;
42+ struct v4l2_clip *next;
43 };
44
45 struct v4l2_window