diff options
author | Marcus Glocker <mglocker@cvs.openbsd.org> | 2008-04-16 20:45:25 +0000 |
---|---|---|
committer | Marcus Glocker <mglocker@cvs.openbsd.org> | 2008-04-16 20:45:25 +0000 |
commit | ecf26c98d06bc7c8cbc49abba7289ee84e98bc1f (patch) | |
tree | 1a77ae854e1f91a97ec0a0b62ba105ee3b67be2d /sys/dev/usb/uvideo.h | |
parent | 9ee2c32a73816704cd27d077ba879665504d6bfd (diff) |
Tune isoc maximal transfer size to a better value. Makes all available
resolutions on my cam work.
Diffstat (limited to 'sys/dev/usb/uvideo.h')
-rw-r--r-- | sys/dev/usb/uvideo.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/dev/usb/uvideo.h b/sys/dev/usb/uvideo.h index 1a6428e6332..2ba71a2f77e 100644 --- a/sys/dev/usb/uvideo.h +++ b/sys/dev/usb/uvideo.h @@ -1,4 +1,4 @@ -/* $OpenBSD: uvideo.h,v 1.4 2008/04/16 12:19:11 mglocker Exp $ */ +/* $OpenBSD: uvideo.h,v 1.5 2008/04/16 20:45:24 mglocker Exp $ */ /* * Copyright (c) 2007 Robert Nagy <robert@openbsd.org> @@ -305,10 +305,8 @@ struct usb_video_frame_mjpeg_desc { /* * Driver specific private definitions. */ -//#define UVIDEO_NFRAMES 10 /* XXX calculate right value */ -//#define UVIDEO_NFRAMES 4 /* XXX calculate right value */ -#define UVIDEO_NFRAMES_MAX 10 /* XXX find optimal value */ -#define UVIDEO_SFRAMES_MAX 3200 /* XXX find optimal value */ +#define UVIDEO_NFRAMES_MAX 34 /* XXX find optimal value */ +#define UVIDEO_SFRAMES_MAX 6400 /* XXX find optimal value */ struct uvideo_vs_iface { struct uvideo_softc *sc; |