patch-2.4.0-test3 linux/drivers/ieee1394/video1394.h
Next file: linux/drivers/isdn/avmb1/Makefile
Previous file: linux/drivers/ieee1394/video1394.c
Back to the patch index
Back to the overall index
- Lines: 40
- Date:
Wed Jul 5 13:03:56 2000
- Orig file:
v2.4.0-test2/linux/drivers/ieee1394/video1394.h
- Orig date:
Fri Jun 23 21:55:09 2000
diff -u --recursive --new-file v2.4.0-test2/linux/drivers/ieee1394/video1394.h linux/drivers/ieee1394/video1394.h
@@ -20,6 +20,8 @@
#ifndef _VIDEO_1394_H
#define _VIDEO_1394_H
+#define VIDEO1394_DRIVER_NAME "video1394"
+
#define VIDEO1394_MAX_SIZE 0x400000
enum {
@@ -31,8 +33,12 @@
enum {
VIDEO1394_LISTEN_CHANNEL = 0,
VIDEO1394_UNLISTEN_CHANNEL,
- VIDEO1394_QUEUE_BUFFER,
- VIDEO1394_WAIT_BUFFER
+ VIDEO1394_LISTEN_QUEUE_BUFFER,
+ VIDEO1394_LISTEN_WAIT_BUFFER,
+ VIDEO1394_TALK_CHANNEL,
+ VIDEO1394_UNTALK_CHANNEL,
+ VIDEO1394_TALK_QUEUE_BUFFER,
+ VIDEO1394_TALK_WAIT_BUFFER
};
struct video1394_mmap {
@@ -40,6 +46,8 @@
int sync_tag;
int nb_buffers;
int buf_size;
+ int packet_size;
+ int fps;
};
struct video1394_wait {
@@ -47,4 +55,5 @@
int buffer;
};
-#endif
+
+#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)