summaryrefslogtreecommitdiffstats
path: root/libc/kernel/common/linux/videodev.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/kernel/common/linux/videodev.h')
-rw-r--r--libc/kernel/common/linux/videodev.h58
1 files changed, 18 insertions, 40 deletions
diff --git a/libc/kernel/common/linux/videodev.h b/libc/kernel/common/linux/videodev.h
index 1f37fde..5a95f82 100644
--- a/libc/kernel/common/linux/videodev.h
+++ b/libc/kernel/common/linux/videodev.h
@@ -12,8 +12,25 @@
#ifndef __LINUX_VIDEODEV_H
#define __LINUX_VIDEODEV_H
+#include <linux/types.h>
+#include <linux/ioctl.h>
#include <linux/videodev2.h>
+#define VID_TYPE_CAPTURE 1
+#define VID_TYPE_TUNER 2
+#define VID_TYPE_TELETEXT 4
+#define VID_TYPE_OVERLAY 8
+#define VID_TYPE_CHROMAKEY 16
+#define VID_TYPE_CLIPPING 32
+#define VID_TYPE_FRAMERAM 64
+#define VID_TYPE_SCALES 128
+#define VID_TYPE_MONOCHROME 256
+#define VID_TYPE_SUBCAPTURE 512
+#define VID_TYPE_MPEG_DECODER 1024
+#define VID_TYPE_MPEG_ENCODER 2048
+#define VID_TYPE_MJPEG_DECODER 4096
+#define VID_TYPE_MJPEG_ENCODER 8192
+
struct video_capability
{
char name[32];
@@ -283,45 +300,6 @@ struct video_code
#define VID_PLAY_RESET 13
#define VID_PLAY_END_MARK 14
-#define VID_HARDWARE_BT848 1
-#define VID_HARDWARE_QCAM_BW 2
-#define VID_HARDWARE_PMS 3
-#define VID_HARDWARE_QCAM_C 4
-#define VID_HARDWARE_PSEUDO 5
-#define VID_HARDWARE_SAA5249 6
-#define VID_HARDWARE_AZTECH 7
-#define VID_HARDWARE_SF16MI 8
-#define VID_HARDWARE_RTRACK 9
-#define VID_HARDWARE_ZOLTRIX 10
-#define VID_HARDWARE_SAA7146 11
-#define VID_HARDWARE_VIDEUM 12
-#define VID_HARDWARE_RTRACK2 13
-#define VID_HARDWARE_PERMEDIA2 14
-#define VID_HARDWARE_RIVA128 15
-#define VID_HARDWARE_PLANB 16
-#define VID_HARDWARE_BROADWAY 17
-#define VID_HARDWARE_GEMTEK 18
-#define VID_HARDWARE_TYPHOON 19
-#define VID_HARDWARE_VINO 20
-#define VID_HARDWARE_CADET 21
-#define VID_HARDWARE_TRUST 22
-#define VID_HARDWARE_TERRATEC 23
-#define VID_HARDWARE_CPIA 24
-#define VID_HARDWARE_ZR36120 25
-#define VID_HARDWARE_ZR36067 26
-#define VID_HARDWARE_OV511 27
-#define VID_HARDWARE_ZR356700 28
-#define VID_HARDWARE_W9966 29
-#define VID_HARDWARE_SE401 30
-#define VID_HARDWARE_PWC 31
-#define VID_HARDWARE_MEYE 32
-#define VID_HARDWARE_CPIA2 33
-#define VID_HARDWARE_VICAM 34
-#define VID_HARDWARE_SF16FMR2 35
-#define VID_HARDWARE_W9968CF 36
-#define VID_HARDWARE_SAA7114H 37
-#define VID_HARDWARE_SN9C102 38
-#define VID_HARDWARE_ARV 39
-
#endif
+