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 m1L9BL7O011886 for ; Thu, 21 Feb 2008 04:11:21 -0500 Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.229]) by mx3.redhat.com (8.13.8/8.13.8) with ESMTP id m1L9ApDN003660 for ; Thu, 21 Feb 2008 04:10:51 -0500 Received: by wx-out-0506.google.com with SMTP id t16so2795490wxc.6 for ; Thu, 21 Feb 2008 01:10:51 -0800 (PST) Message-ID: <175f5a0f0802210110k11dc73f6pbbdd7100c1ca8fdb@mail.gmail.com> Date: Thu, 21 Feb 2008 10:10:50 +0100 From: "H. Willstrand" To: "H. Willstrand" , "Thomas Kaiser" , "Linux and Kernel Video" In-Reply-To: <20080221012048.GA2924@daniel.bse> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <47BC8BFC.2000602@kaiser-linux.li> <47BC90CA.1000707@kaiser-linux.li> <175f5a0f0802201254q7dc96190k35caafe9ba7d3274@mail.gmail.com> <47BC9788.7070604@kaiser-linux.li> <20080220215850.GA2391@daniel.bse> <47BCA5BA.20009@kaiser-linux.li> <175f5a0f0802201441n5ea7bb58rdfa70663799edcad@mail.gmail.com> <47BCB5DB.8000800@kaiser-linux.li> <175f5a0f0802201602i52187c1fxb2e980c7e86fcca6@mail.gmail.com> <20080221012048.GA2924@daniel.bse> Content-Transfer-Encoding: 8bit Cc: Subject: Re: V4L2_PIX_FMT_RAW 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: On Thu, Feb 21, 2008 at 2:20 AM, Daniel Glöckner wrote: > On Thu, Feb 21, 2008 at 01:02:39AM +0100, H. Willstrand wrote: > > What's the problem with having a name of the formalized data in the > > video stream? ie raw do not mean undefined. > > I thought you wanted to avoid having to define V4L2_PIX_FMT_x for an > exploding number of proprietary formats that are quite similar but still > incompatible. It makes sense for formats that are used by more than one > driver. Correct, the number of unique pixel formats should be kept down. Again, comparing with digital cameras there are >200 proprietary formats and there is a "clean-up" on-going where the "market" is aiming for a OpenRAW. However, by declaring a generic RAW format (which is then driver specific) doesn't help the user mode app developers. Calling a multitude of libraries to see if you get lucky might not be a good idea. Still, I'm suspectious about the definition "raw" used here. RAW should mean unprocessed image data: * no white balance adjustment * no color saturation adjustments * no contrast adjustments * no sharpness improvements * no compression with loss So, by looking for similarities in the "raw" formats where available there should be a potential to consolidate them. > > > > I don't see how separate RAW ioctl's will add value to the V4l2 API, > > it fits into the current API. > > Yes, it does. Each driver having multiple raw formats just needs a > private control id to select one. > I was more thinking about the VIDIOC_S_RAW stuff, a VIDIOC_S_FMT should do the job. I.e. I think there should be strong reasons to break V4L2 API behavior. Harri -- video4linux-list mailing list Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/video4linux-list