[Gta04-owner] BGR / RGB swap in camera
Andreas Kemnade
andreas at kemnade.info
Sat Jun 8 12:53:47 CEST 2013
On Sat, 2013-06-08 at 11:56 +0200, Dr. H. Nikolaus Schaller wrote:
> Am 07.06.2013 um 21:31 schrieb Andreas Kemnade:
>
> > Hi,
> >
> > another thing i found with the camera:
> > I saved the buffers, the example capture.c gets from the camera, to a
> > file,
> > then did a
> > convert -size 1280x1024 -depth 16 UYVY:$name -depth 8 RGB:/tmp/rgb.rgb
> > convert -size 1280x1024 -depth 8 BGR:/tmp/rgb.rgb /tmp/$name.jpg
> >
> > on that raw data. That gives improved colors. What does that mean for
> > the UYVY input?
>
> Maybe we have VYUY? It is quite complex how these formats are
> converted and bit-shifted by the camera and the ISP...
>
My patch fixed that problem! Setting it correctly was not done due to
that optimization.
Greetings
Andreas Kemnade
More information about the Gta04-owner
mailing list