[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200705281828.57651.luca.risolia@studio.unibo.it>
Date: Mon, 28 May 2007 18:28:57 +0200
From: Luca Risolia <luca.risolia@...dio.unibo.it>
To: "Markus Rechberger" <mrechberger@...il.com>
Cc: "Mauro Carvalho Chehab" <mchehab@...radead.org>,
video4linux-list@...hat.com, Jiri Slaby <jirislaby@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] V4L: stk11xx, add a new webcam driver
On Monday 28 May 2007 17:14:51 Markus Rechberger wrote:
> On 5/28/07, Mauro Carvalho Chehab <mchehab@...radead.org> wrote:
> > We don't do format conversions in kernel. Instead, you should return a
> > proper Bayer Fourcc format (like V4L2_PIX_FMT_SBGGR8).
>
> It's ok in his case since most userspace applications do not support
> this format, it helps noone if there's a driver out there which isn't
> supported by most userspace applications and I don't expect that all
> applications will add a conversion for that format soon.
> This would moreover raise the question about a userspace library,
> though there are many more important issues which are outstanding and
> which got smashed down.
Markus, I do think the userspace library is THE real problem with the whole
V4L subsystem. It's annoying to keep repeating why these convertions should
be done outside the kernel, be them in a library or not. I deliberatly never
implemented the above convertion in the drivers that I have been maintaing
for years, since I had the idea that this approach whould have pushed the
developers to write the _best_ algorithm by themselves. I still think it's
the correct approach, but now I give up. Mauro, if you are planning to accept
this BayerToSomething color convertion, be also prepared to accept the same
convertion for other drivers in the kernel. Rules are made for everyone.
Best regards,
Luca
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists