summaryrefslogtreecommitdiff
path: root/sys/dev/video_if.h
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2008-06-07 22:14:59 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2008-06-07 22:14:59 +0000
commit77a4b0d7526dca960ca19dd7349bca46fdcd7fec (patch)
tree578514d6e8a6524b3f7c073f72b759fa20aace0e /sys/dev/video_if.h
parenta093385f0573f959758c4808757085c5034d4f7b (diff)
Start to queue mmap frames. Add VIDIOC_QBUF, VIDIOC_DQBUF,
VIDIOC_STREAMON for that purpose, too. OK robert@
Diffstat (limited to 'sys/dev/video_if.h')
-rw-r--r--sys/dev/video_if.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/video_if.h b/sys/dev/video_if.h
index 7ad280185f8..2ecbc9f2720 100644
--- a/sys/dev/video_if.h
+++ b/sys/dev/video_if.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: video_if.h,v 1.7 2008/06/07 19:26:25 robert Exp $ */
+/* $OpenBSD: video_if.h,v 1.8 2008/06/07 22:14:57 mglocker Exp $ */
/*
* Copyright (c) 2008 Robert Nagy <robert@openbsd.org>
*
@@ -42,7 +42,9 @@ struct video_hw_if {
int (*s_input)(void *, int);
int (*reqbufs)(void *, struct v4l2_requestbuffers *);
int (*querybuf)(void *, struct v4l2_buffer *);
+ int (*qbuf)(void *, struct v4l2_buffer *);
int (*dqbuf)(void *, struct v4l2_buffer *);
+ int (*streamon)(void *, int);
int (*try_fmt)(void *, struct v4l2_format *);
caddr_t (*mappage)(void *, off_t, int);
};