Web lists-archives.org

Re: V4L2_PIX_FMT_SBGGR16 not in kernel




On Thu, 24 Apr 2008 19:25:53 +0200 (CEST)
Guennadi Liakhovetski <g.liakhovetski@xxxxxx> wrote:

> On Thu, 24 Apr 2008, Mauro Carvalho Chehab wrote:
> 
> > On Thu, 24 Apr 2008 16:35:35 +0200
> > Johan Hedlund <johan.hedlund@xxxxxxxx> wrote:
> > 
> > > I am developing my own capture drivers for our own developed hardware
> > > based on a driver that does not exist in mainline. This driver used a
> > > uyuv format, but since we want to use the raw bayer format with 10-bit
> > > color resolution I need to change the format.
> > 
> > > > > I am interested in using the format V4L2_PIX_FMT_SBGGR16 'BA82'
> > 
> > A format with this name will be added, but the fourcc code that Guennadi used
> > is different from yours. Not sure what would be the proper one.
> > 
> > This is what's currently defined:
> > 
> > #define V4L2_PIX_FMT_SBGGR8  v4l2_fourcc('B','A','8','1') /*  8  BGBG.. GRGR.. */
> > #define V4L2_PIX_FMT_SBGGR16 v4l2_fourcc('B','Y','R','2') /* 16  BGBG.. GRGR.. */
> 
> As we have already seen in this thread, these defines actually originate 
> from Steven Whitehouse and the BYR2 fourcc code agrees with 
> http://www.fourcc.org/rgb.php

Argh... to much patches... Yes, the author is Steven. The patch is already
applied at my -git and seems OK:

http://git.kernel.org/?p=linux/kernel/git/mchehab/v4l-dvb.git;a=commitdiff;h=588cd02c512658f4756750c2aef46d473bd88663

I should be send in a few minutes the pull request for all those 452 patches
pending merge.

Cheers,
Mauro

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list