Web lists-archives.org

Re: V4L2_PIX_FMT_SBGGR16 not in kernel




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

Thanks
Guennadi
---
Guennadi Liakhovetski

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