* [stk-webcam] change constants to work better on FreeBSD
@ 2009-11-14 9:09 Buganini
0 siblings, 0 replies; only message in thread
From: Buganini @ 2009-11-14 9:09 UTC (permalink / raw)
To: Mauro Carvalho Chehab, linux-media, linux-kernel, Andrew Morton
[-- Attachment #1: Type: text/plain, Size: 228 bytes --]
Suggested by hselasky@FreeBSD.org, tested by me on FreeBSD.
With original value it hangs a lot.
I dont fully understand background knowledge,
it's said that the default value is not enough for high speed transfer.
--Buganini
[-- Attachment #2: stk-webcam.h.patch --]
[-- Type: application/octet-stream, Size: 476 bytes --]
--- linux/drivers/media/video/stk-webcam.h.orig 2009-11-12 22:21:05.000000000 +0800
+++ linux/drivers/media/video/stk-webcam.h 2009-11-12 02:42:45.616603379 +0800
@@ -28,8 +28,8 @@
#define DRIVER_VERSION "v0.0.1"
#define DRIVER_VERSION_NUM 0x000001
-#define MAX_ISO_BUFS 3
-#define ISO_FRAMES_PER_DESC 16
+#define MAX_ISO_BUFS 2
+#define ISO_FRAMES_PER_DESC 64
#define ISO_MAX_FRAME_SIZE 3 * 1024
#define ISO_BUFFER_SIZE (ISO_FRAMES_PER_DESC * ISO_MAX_FRAME_SIZE)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-11-14 9:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-14 9:09 [stk-webcam] change constants to work better on FreeBSD Buganini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®