From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m4FKpgEO001800 for ; Thu, 15 May 2008 16:51:42 -0400 Received: from smtp1-g19.free.fr (smtp1-g19.free.fr [212.27.42.27]) by mx3.redhat.com (8.13.8/8.13.8) with ESMTP id m4FKpSjs013295 for ; Thu, 15 May 2008 16:51:29 -0400 Message-ID: <482CA266.6040003@free.fr> Date: Thu, 15 May 2008 22:51:50 +0200 From: Thierry Merle MIME-Version: 1.0 To: Jean-Francois Moine References: <62e5edd40805150604h6d0f23ffybf13eb6b07d87a76@mail.gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: video4linux-list@redhat.com Subject: Re: In-kernel frame conversion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: video4linux-list-bounces@redhat.com Errors-To: video4linux-list-bounces@redhat.com List-ID: Hello Jean-Francois and Erik, Jean-Francois Moine a écrit : > On Thu, 15 May 2008 15:04:45 +0200, "Erik_Andrén" > wrote: >> Hi list, > > Hi Erik, > >> I'm one of the developers of the m560x project. ( >> http://sourceforge.net/projects/m560x-driver/ ) >> aiming to provide a driver for the ALi m5602, m5603 chipsets. > [snip] >> This driver is unfortunately braindead, always sending Bayer-encoded frames >> at a fixed VGA resolution. >> Color recovery, resizing and format conversion is all done in software. >> >> Currently we do the same in order to make the camera useful as many relevant >> linux v4l2 applications fail to have user-space routines converting >> Bayer-frames. >> >> Is it possible to get a driver included upstream and still have such >> kernel-space frame conversion routines or do they have to go in order to get >> the driver in an acceptable shape? > > I am working on a driver, gspca v2, which does frame conversion in > user-space. It is based on gspca v1 which handles over 270 USB > webcams. It is composed of: > - a main driver with the USB exchanges and the v4l2 interface, > - kernel modules for the different webcam types (actually 20) and > - a helper process which does frame conversion (JPEG and Bayer to > YUV420, YUYV and RGB24/32). > > I planned to put it under mercurial as soon as most of the webcams > will be tested (and the code will be purified ;)). Feel free to get > a tarball from my site (see below) and to tell me if you may enter > into this scheme. > We have started something that looks like your framework. Look at http://www.linuxtv.org/v4lwiki/index.php/V4L2UserspaceLibrary I have a cruel lack of time to continue but the helper daemon is here with some ideas you can pick. We can discuss on the v4l2-library ML about that: http://www.linuxtv.org/cgi-bin/mailman/listinfo/v4l2-library An hg repository is here: http://linuxtv.org/hg/~tmerle/v4l2_extension > Cheers. > Regards, Thierry -- video4linux-list mailing list Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/video4linux-list