OpenBSD CVS

CVS log for src/sys/dev/video.c


[BACK] Up to [local] / src / sys / dev

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.57 / (download) - annotate - [select for diffs], Sat Jul 2 08:50:41 2022 UTC (23 months, 1 week ago) by visa
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, HEAD
Changes since 1.56: +1 -50 lines
Diff to previous 1.56 (colored)

Remove unused device poll functions.

Also remove unneeded includes of <sys/poll.h> and <sys/select.h>.

Some addenda from jsg@.

OK miod@ mpi@

Revision 1.56 / (download) - annotate - [select for diffs], Wed Apr 6 18:59:27 2022 UTC (2 years, 2 months ago) by naddy
Branch: MAIN
Changes since 1.55: +2 -2 lines
Diff to previous 1.55 (colored)

constify struct cfattach

Revision 1.55 / (download) - annotate - [select for diffs], Mon Mar 21 19:22:40 2022 UTC (2 years, 2 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored)

Constify struct {audio,midi,radio,video}_hw_if. No functional change.

ok mpi@ ratchov@ "More const is good" deraadt@

Revision 1.54 / (download) - annotate - [select for diffs], Wed Feb 17 17:21:58 2021 UTC (3 years, 3 months ago) by mglocker
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.53: +7 -9 lines
Diff to previous 1.53 (colored)

Unify unit initialization.

Revision 1.53 / (download) - annotate - [select for diffs], Wed Feb 17 17:09:12 2021 UTC (3 years, 3 months ago) by mglocker
Branch: MAIN
Changes since 1.52: +7 -5 lines
Diff to previous 1.52 (colored)

If the device driver open call fails, don't set sc_open since in that case
we don't get a file handle back which could be closed again, and therefore
we couldn't toggle sc_open back to zero.

Spotted and ok anton@

Revision 1.52 / (download) - annotate - [select for diffs], Wed Feb 17 08:51:40 2021 UTC (3 years, 3 months ago) by mglocker
Branch: MAIN
Changes since 1.51: +4 -4 lines
Diff to previous 1.51 (colored)

Call 'struct process' parameters 'pr' to distinguish from 'struct proc'
parameters which are usually called 'p'.

Spotted and ok anton@

Revision 1.51 / (download) - annotate - [select for diffs], Wed Feb 17 07:08:15 2021 UTC (3 years, 3 months ago) by mglocker
Branch: MAIN
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored)

Collect return code of video_stop() for ioctls calls.

Spotted and ok anton@

Revision 1.50 / (download) - annotate - [select for diffs], Tue Feb 16 19:36:03 2021 UTC (3 years, 3 months ago) by mglocker
Branch: MAIN
Changes since 1.49: +18 -17 lines
Diff to previous 1.49 (colored)

Introduce debug levels since the current debug output is too noisy by
default.

Revision 1.49 / (download) - annotate - [select for diffs], Tue Feb 16 13:50:46 2021 UTC (3 years, 3 months ago) by mglocker
Branch: MAIN
Changes since 1.48: +109 -30 lines
Diff to previous 1.48 (colored)

Enable multiple opens of a video(4) device as described in the V4L2
specification:

https://www.kernel.org/doc/html/v5.10/userspace-api/media/v4l/open.html#f1

The discussion has been started by jca@, who has implemented this
behavior recently, but limited to the same process.  This diff extends
this behavior to any process.  The first process which opens a stream
will become the device owner.  Other processes are still allowed to call
certain ioctls, but none which are related to the start/stop of a
stream, or manipulation of the streaming buffers.  At the moment only
VIDIOC_G_CTRL and VIDIOC_S_CTRL are supported to be called by non-
device owner processes, which should be extended further in the future.

There is no additional kernel locking implemented at the moment, since
video(4) already runs under the KERNEL_LOCK(), which we expect to be
sufficient for now (as discussed with claudio@).

A lot of improvement input received from anton@.

ok anton@

Revision 1.48 / (download) - annotate - [select for diffs], Sun Jan 31 19:32:01 2021 UTC (3 years, 4 months ago) by mglocker
Branch: MAIN
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored)

Spacing.

Revision 1.47 / (download) - annotate - [select for diffs], Wed Jan 6 18:57:58 2021 UTC (3 years, 5 months ago) by jca
Branch: MAIN
Changes since 1.46: +12 -7 lines
Diff to previous 1.46 (colored)

Let a process open a video(4) device multiple times

The previous behavior was conservative but a bit too restrictive.
The V4L API lets several processes open a single video device, with
exclusive access to certain methods when a process starts streaming.
This is not trivial to implement.

This small change fixes webcam usage with Firefox and BigBlueButton.
Diff simplified + ok mglocker@, thanks!

Revision 1.46 / (download) - annotate - [select for diffs], Mon Dec 28 18:28:11 2020 UTC (3 years, 5 months ago) by mglocker
Branch: MAIN
Changes since 1.45: +16 -1 lines
Diff to previous 1.45 (colored)

Analog to the the kern.audio.record sysctl parameter for audio(4)
devices, introduce kern.video.record for video(4) devices.  By default
kern.video.record will be set to zero, blanking all data delivered
by device drivers which attach to video(4).

The idea was initially proposed by
Laurence Tratt <laurie AT tratt DOT net>.

ok mpi@

Revision 1.45 / (download) - annotate - [select for diffs], Fri Dec 25 12:59:52 2020 UTC (3 years, 5 months ago) by visa
Branch: MAIN
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

Refactor klist insertion and removal

Rename klist_{insert,remove}() to klist_{insert,remove}_locked().
These functions assume that the caller has locked the klist. The current
state of locking remains intact because the kernel lock is still used
with all klists.

Add new functions klist_insert() and klist_remove() that lock the klist
internally. This allows some code simplification.

OK mpi@

Revision 1.44 / (download) - annotate - [select for diffs], Sat May 16 10:47:22 2020 UTC (4 years ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.43: +76 -2 lines
Diff to previous 1.43 (colored)

Implement kqueue(2) support.

ok visa@

Revision 1.43 / (download) - annotate - [select for diffs], Thu Jan 16 09:59:26 2020 UTC (4 years, 4 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.42: +3 -4 lines
Diff to previous 1.42 (colored)

Free data structures after closing the pseudo-device with vdevgone(9).

Pseudo-drivers exposing a userland interface generally start & stop I/O
in *_open() and *_close() respectively.  So it isn't safe to detach such
device while it is still open, because I/O might still be in flight.

A more generic fix would be to detach children devices before the parents.

Fix a race reported by Kevin Chadwick on bugs@.

Discussed with Peter Stuge, tested by and ok zhuk@

Revision 1.42 / (download) - annotate - [select for diffs], Sun Oct 6 17:13:10 2019 UTC (4 years, 8 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

tsleep(9) to tsleep_nsec(9) conversion

ok visa@, kn@

Revision 1.41 / (download) - annotate - [select for diffs], Wed Oct 11 08:08:50 2017 UTC (6 years, 8 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.40: +5 -5 lines
Diff to previous 1.40 (colored)

Fix debug printf, from Dave Voutila.

Revision 1.40 / (download) - annotate - [select for diffs], Sun Jul 3 20:05:44 2016 UTC (7 years, 11 months ago) by mglocker
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.39: +22 -2 lines
Diff to previous 1.39 (colored)

Move videovar.h in to video.c since it isn't used anywhere else.

Suggested by mpi@ diff from Patrick Keshishian.

ok mpi

Revision 1.39 / (download) - annotate - [select for diffs], Wed Jun 1 09:48:20 2016 UTC (8 years ago) by mglocker
Branch: MAIN
Changes since 1.38: +10 -2 lines
Diff to previous 1.38 (colored)

New USB device driver for Audio/Video capture devices based on the
Fushicai USBTV007 chip.

The chip specific code has been written by Lubomir Rintel and Federico
Simoncelli.  Patrick Keshishian has ported it to OpenBSD and wrote the
remaining code based on uvideo(4).

Input and help also from mpi@ and ratchov@.

ok mpi

Revision 1.38 / (download) - annotate - [select for diffs], Mon Feb 8 17:21:10 2016 UTC (8 years, 4 months ago) by stefan
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.37: +6 -8 lines
Diff to previous 1.37 (colored)

Convert to uiomove. From Martin Natano.

Revision 1.37 / (download) - annotate - [select for diffs], Sat Aug 29 20:51:46 2015 UTC (8 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.36: +6 -6 lines
Diff to previous 1.36 (colored)

video sub-drivers will not return EINVAL in size variable.  (Well,
a broken USB driver could, then what happens?)  0 is the right error.
Also, keep track the size for free()

Revision 1.36 / (download) - annotate - [select for diffs], Fri Jul 17 23:29:14 2015 UTC (8 years, 10 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.35: +3 -2 lines
Diff to previous 1.35 (colored)

add missing braces to only call selrecord when intended to
ok deraadt@ millert@

Revision 1.35 / (download) - annotate - [select for diffs], Tue Feb 10 21:56:09 2015 UTC (9 years, 4 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

First step towards making uiomove() take a size_t size argument:
- rename uiomove() to uiomovei() and update all its users.
- introduce uiomove(), which is similar to uiomovei() but with a size_t.
- rewrite uiomovei() as an uiomove() wrapper.
ok kettenis@

Revision 1.34 / (download) - annotate - [select for diffs], Tue Dec 16 18:30:03 2014 UTC (9 years, 5 months ago) by tedu
Branch: MAIN
Changes since 1.33: +3 -1 lines
Diff to previous 1.33 (colored)

primary change: move uvm_vnode out of vnode, keeping only a pointer.
objective: vnode.h doesn't include uvm_extern.h anymore.
followup changes: include uvm_extern.h or lock.h where necessary.
ok and help from deraadt

Revision 1.33 / (download) - annotate - [select for diffs], Sat Oct 18 08:01:34 2014 UTC (9 years, 7 months ago) by armani
Branch: MAIN
Changes since 1.32: +6 -1 lines
Diff to previous 1.32 (colored)

Add VIDIOC_G_INPUT ioctl, some ports need it (at least ffmpeg)

ok ratchov@, sthen@, mpi@

Revision 1.32 / (download) - annotate - [select for diffs], Sun Sep 14 14:17:24 2014 UTC (9 years, 8 months ago) by jsg
Branch: MAIN
Changes since 1.31: +1 -2 lines
Diff to previous 1.31 (colored)

remove uneeded proc.h includes
ok mpi@ kspillner@

Revision 1.31 / (download) - annotate - [select for diffs], Sat Jul 12 18:48:51 2014 UTC (9 years, 11 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Jul 8 17:19:25 2014 UTC (9 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.29: +1 -4 lines
Diff to previous 1.29 (colored)

decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.h
don't need to be married.
ok guenther miod beck jsing kettenis

Revision 1.29 / (download) - annotate - [select for diffs], Fri Mar 28 17:57:11 2014 UTC (10 years, 2 months ago) by mpi
Branch: MAIN
Changes since 1.28: +4 -2 lines
Diff to previous 1.28 (colored)

Reduce uvm include madness.  Use <uvm/uvm_extern.h> instead of
<uvm/uvm.h> if possible and remove double inclusions.

ok beck@, mlarkin@, deraadt@

Revision 1.28 / (download) - annotate - [select for diffs], Sun Jul 3 15:47:16 2011 UTC (12 years, 11 months ago) by matthew
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.27: +1 -4 lines
Diff to previous 1.27 (colored)

Remove config_activate() and DVACT_ACTIVATE.  PCMCIA's the only thing
that's ever used it, and it's long since been changed to use
DVACT_{QUIESCE,SUSPEND,RESUME} instead.

ok deraadt@, dlg@; miod@ also agreed with this idea when I brought it
up a few weeks ago

Revision 1.27 / (download) - annotate - [select for diffs], Sat Mar 26 08:13:05 2011 UTC (13 years, 2 months ago) by jakemsr
Branch: MAIN
Changes since 1.26: +11 -1 lines
Diff to previous 1.26 (colored)

support VIDIOC_S_PARM and VIDIOC_G_PARM.  these ioctls are used for
setting and and getting the frame interval.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Dec 26 15:41:00 2010 UTC (13 years, 5 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.25: +1 -5 lines
Diff to previous 1.25 (colored)

Kill pmap_phys_address(), and force every driver's mmap() routine to return
a physical address [more precisely, something suitable to pass to pmap_enter()'sphysical address argument].

This allows MI drivers to implement mmap() routines without having to know
about the pmap_phys_address() implementation and #ifdef obfuscation.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Jul 14 21:24:33 2010 UTC (13 years, 11 months ago) by jakemsr
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.24: +84 -18 lines
Diff to previous 1.24 (colored)

implement poll() for video(4)
ok mglocker

Revision 1.24 / (download) - annotate - [select for diffs], Tue Oct 13 19:33:16 2009 UTC (14 years, 8 months ago) by pirofti
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

Get rid of devact enum, substitute it with an int and coresponding defines.

This is needed for the addition of further suspend/resume actions.

Okay deraadt@, marco@.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Nov 11 12:37:07 2008 UTC (15 years, 7 months ago) by mglocker
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

Spacing.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Aug 24 11:05:02 2008 UTC (15 years, 9 months ago) by mglocker
Branch: MAIN
Changes since 1.21: +11 -1 lines
Diff to previous 1.21 (colored)

Add support for processing unit (e.g. brightness) controls.  New V4L2
ioctls therefore are VIDIOC_QUERYCTRL, VIDIOC_G_CTRL, and VIDIOC_S_CTRL.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Aug 13 20:29:34 2008 UTC (15 years, 10 months ago) by mglocker
Branch: MAIN
Changes since 1.20: +11 -1 lines
Diff to previous 1.20 (colored)

Add VIDIOC_ENUM_FRAMESIZES ioctl.  This permits applications to query the
available formats and resolutions of a device (e.g. "luvcview -L").

Revision 1.20 / (download) - annotate - [select for diffs], Thu Jul 31 15:26:25 2008 UTC (15 years, 10 months ago) by mglocker
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.19: +4 -2 lines
Diff to previous 1.19 (colored)

- Don't relay on bFormatIndex as an internal array index, since this
field is unreliable and can start with any number.  Use an own internal
array index instead.

- If the read buffer is too small, return a propper error to the calling
functions.  Just check the buffer size if we use the read(2) method since
it doesn't affect mmap(2).

Fixes kernel crashes seen with the M$ LifeCam NX-6000 and internal
(laptop) Sonix chipsets.

Tested by jcs@ (Sonix) and myself (NX-6000).

OK deraadt@

Revision 1.19 / (download) - annotate - [select for diffs], Sat Jul 26 11:42:43 2008 UTC (15 years, 10 months ago) by mglocker
Branch: MAIN
Changes since 1.18: +5 -1 lines
Diff to previous 1.18 (colored)

Since we are able to change the device image resolution on the fly in the
meantime, the memory allocation for the read(2) method for video(4)
is not right anymore, and can cause a buffer overflow.

We fix this by queuering the maximum available image size for a device at
attach time.  If the image size should exceed our video(4) buffer after a
video format change (which shouldn't happen), uvideo(4) will gracefully
fail.

Also tested by kettenis@

Revision 1.18 / (download) - annotate - [select for diffs], Wed Jul 23 22:10:21 2008 UTC (15 years, 10 months ago) by mglocker
Branch: MAIN
Changes since 1.17: +11 -4 lines
Diff to previous 1.17 (colored)

If /dev/video* is already used by an application, return EBUSY to other
applications.  Fixes a kernel panic.

Reported by ian@

Revision 1.17 / (download) - annotate - [select for diffs], Sat Jul 19 06:39:00 2008 UTC (15 years, 10 months ago) by mglocker
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

In interrupt handler change printf -> DRPINTF.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Jun 13 18:04:56 2008 UTC (16 years ago) by mglocker
Branch: MAIN
Changes since 1.15: +1 -3 lines
Diff to previous 1.15 (colored)

Remove DEBUG #undef's we can turn it on/off in GENERIC like for all
other drivers.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jun 13 05:00:32 2008 UTC (16 years ago) by mglocker
Branch: MAIN
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 (colored)

Add myself to the copyright since i fumbled around in those files, too.

OK robert@

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jun 12 22:16:16 2008 UTC (16 years ago) by robert
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

disable debug printfs and descriptor dumps

Revision 1.13 / (download) - annotate - [select for diffs], Thu Jun 12 21:20:00 2008 UTC (16 years ago) by mglocker
Branch: MAIN
Changes since 1.12: +7 -1 lines
Diff to previous 1.12 (colored)

Wrap DPRINTF around #ifdef VIDEO_DEBUG, but leave debugging on by
default for now.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Jun 11 01:27:30 2008 UTC (16 years ago) by robert
Branch: MAIN
Changes since 1.11: +6 -1 lines
Diff to previous 1.11 (colored)

implement the VIDIOC_STREAMOFF ioctl and remove some unused code

Revision 1.11 / (download) - annotate - [select for diffs], Tue Jun 10 23:39:01 2008 UTC (16 years ago) by robert
Branch: MAIN
Changes since 1.10: +6 -1 lines
Diff to previous 1.10 (colored)

add VIDIOC_QUERYCTRL to the supported ioctls

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jun 9 20:51:31 2008 UTC (16 years ago) by mglocker
Branch: MAIN
Changes since 1.9: +9 -1 lines
Diff to previous 1.9 (colored)

Let the driver switch between read() and mmap() depending on what
the userland application wants.

OK robert@

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jun 9 17:13:35 2008 UTC (16 years ago) by robert
Branch: MAIN
Changes since 1.8: +1 -2 lines
Diff to previous 1.8 (colored)

according to miod pmap_update() is not need after pmap_extract() at all,
so remove it.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jun 9 05:49:10 2008 UTC (16 years ago) by robert
Branch: MAIN
Changes since 1.7: +6 -2 lines
Diff to previous 1.7 (colored)

Allocate the video buffer based on the maximum frame size that's reported
by the device instead of using the statically set VIDEO_BUF_SIZE.

ok mglocker@

Revision 1.7 / (download) - annotate - [select for diffs], Sat Jun 7 22:14:57 2008 UTC (16 years ago) by mglocker
Branch: MAIN
Changes since 1.6: +14 -1 lines
Diff to previous 1.6 (colored)

Start to queue mmap frames.  Add VIDIOC_QBUF, VIDIOC_DQBUF,
VIDIOC_STREAMON for that purpose, too.

OK robert@

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jun 5 20:50:28 2008 UTC (16 years ago) by mglocker
Branch: MAIN
Changes since 1.5: +32 -11 lines
Diff to previous 1.5 (colored)

Add some first mmap bits.

Help by miod@

Revision 1.5 / (download) - annotate - [select for diffs], Fri May 30 06:37:38 2008 UTC (16 years ago) by mglocker
Branch: MAIN
Changes since 1.4: +11 -11 lines
Diff to previous 1.4 (colored)

Allocate static buffer for software frame buffer and make sure to not
overflow it.

Revision 1.4 / (download) - annotate - [select for diffs], Mon May 26 17:51:18 2008 UTC (16 years ago) by mglocker
Branch: MAIN
Changes since 1.3: +23 -1 lines
Diff to previous 1.3 (colored)

Add more ioctl's (still unfinished);  VIDIOC_ENUM_FMT, VIDIOC_ENUMINPUT,
VIDIOC_S_INPUT, VIDIOC_TRY_FMT.  Allows me at least to use a small V4L2
compatible webcam application to capture some images.

Revision 1.3 / (download) - annotate - [select for diffs], Sun May 25 07:47:47 2008 UTC (16 years ago) by mglocker
Branch: MAIN
Changes since 1.2: +5 -5 lines
Diff to previous 1.2 (colored)

Spacing.  Comments.  strncpy() -> strlcpy().

Revision 1.2 / (download) - annotate - [select for diffs], Sat May 24 19:37:34 2008 UTC (16 years ago) by mglocker
Branch: MAIN
Changes since 1.1: +79 -2 lines
Diff to previous 1.1 (colored)

- Enable userland to read(2) video stream from /dev/video.
- Prepare for mmap(2).

Revision 1.1 / (download) - annotate - [select for diffs], Wed Apr 9 19:49:55 2008 UTC (16 years, 2 months ago) by robert
Branch: MAIN

Initial import for uvideo(4) and video(4):

uvideo(4) is a driver for USB video device class devices including webcams,
camcorders and other cameras.

video(4) is a device-independent layer that implements the V4L2 (Video for Linux Two)
API.

These drivers are *really* work in progress so don't even try to use them just yet,
because the driver still has some issues, even if it can be used to capture simple
MJPEG videos.

ok mglocker@, deraadt@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.