summaryrefslogtreecommitdiff
path: root/sys/dev/video_if.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/video_if.h')
-rw-r--r--sys/dev/video_if.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/video_if.h b/sys/dev/video_if.h
index 2ecbc9f2720..b54c9f89ee9 100644
--- a/sys/dev/video_if.h
+++ b/sys/dev/video_if.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: video_if.h,v 1.8 2008/06/07 22:14:57 mglocker Exp $ */
+/* $OpenBSD: video_if.h,v 1.9 2008/06/09 05:49:10 robert Exp $ */
/*
* Copyright (c) 2008 Robert Nagy <robert@openbsd.org>
*
@@ -23,7 +23,6 @@
*/
#define VIDEOUNIT(x) (minor(x))
-#define VIDEO_BUF_SIZE 131072
struct video_hw_if {
/* open hardware */
@@ -47,6 +46,9 @@ struct video_hw_if {
int (*streamon)(void *, int);
int (*try_fmt)(void *, struct v4l2_format *);
caddr_t (*mappage)(void *, off_t, int);
+
+ /* other functions */
+ int (*get_bufsize)(void *);
};
struct video_attach_args {