lists.zerezo.com
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PATCH: gspca-default-comp_fac.patch
- Date: Fri, 04 Jul 2008 10:55:35 +0200
- From: Hans de Goede <j.w.r.degoede@xxxxxx>
- Subject: PATCH: gspca-default-comp_fac.patch
Hi,
This patch changes the default gspca comp_fac as 30% sometimes causes issues
with the spca561, whose bayer compression does not allways achieve 30%.
Signed-off-by: Hans de Goede <j.w.r.degoede@xxxxxx>
Regards,
Hans
This patch changes the default gspca comp_fac as 30% sometimes causes issues
with the spca561, whose bayer compression does not allways achieve 30%.
Signed-off-by: Hans de Goede <j.w.r.degoede@xxxxxx>
diff -r 15974504cec1 linux/drivers/media/video/gspca/gspca.c
--- a/linux/drivers/media/video/gspca/gspca.c Fri Jul 04 10:51:37 2008 +0200
+++ b/linux/drivers/media/video/gspca/gspca.c Fri Jul 04 10:53:35 2008 +0200
@@ -48,7 +48,9 @@
static int video_nr = -1;
-static int comp_fac = 30; /* Buffer size ratio when compressed in % */
+static int comp_fac = 40; /* Buffer size ratio when compressed in %,
+ Note 30% is too small for bayer level
+ compression like the spca561 */
#ifdef CONFIG_VIDEO_ADV_DEBUG
int gspca_debug = D_ERR | D_PROBE;
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list