Vasily Khoruzhick schrieb:
On 11 January 2009 15:25:56 Hans de Goede wrote:Vasily Khoruzhick wrote:Hi, HansRecent sn9c20x driver written by microdia project (http://groups.goolge.com/group/microdia) introduce new output format - sn9c20x-i420. This format is actually scrambled yuv420, so it's very easy and fast to convert it to yuv420. This patch adds sn9c20x-i420 decoder to the libv4l-0.5.7Hi, As you've probably already seen from the release mail, I've just released libv4l-0.5.8, which includes your patch. Is there any more image format conversion code inside the sn9c20x driver? If so it would be really good to move that to userspace too, once that is done the driver can be moved in to the mainline kernel (if considered ready by its devs)Nope, there's no more image format conversion code inside the sn9c20x driver, but I really don't know if it's time to move driver into the mainline kernel. I think we should discuss this question on the microdia maillist.Regards, HansRegards Vasily
Got myself the 0.5.8 release from fedora updates-testing and it works nicely with my bandwidth-dependent JPEG-compression patch.
Therefore I'd like to push that patch now. I attached it again. Maybe someone wants add something to the two lines I wrote ;) .
GWater
From ea4d4504ccdee2916555ea0c4f593b2066d05b6e Mon Sep 17 00:00:00 2001 From: GWater <[email protected]> Date: Sat, 10 Jan 2009 16:24:32 +0100 Subject: [PATCH] Disable JPEG for high speed USB 2.0 connections Signed-off-by: GWater <[email protected]> --- sn9c20x-usb.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/sn9c20x-usb.c b/sn9c20x-usb.c index f001016..0b6ec15 100644 --- a/sn9c20x-usb.c +++ b/sn9c20x-usb.c @@ -827,6 +827,9 @@ static int usb_sn9c20x_probe(struct usb_interface *interface, const struct usb_d usb_sn9c20x_default_settings(dev); + if (dev->udev->speed == USB_SPEED_HIGH && bandwidth == 8) + jpeg = 0; + return 0; free_dev: -- 1.6.0.6
signature.asc
Description: OpenPGP digital signature
