Re: OMAP3 ISP previewer Y10 to UYVY conversion

Laurent Pinchart
2015-04-08T10:16:55Z

Hi Chris,

On Tuesday 07 April 2015 11:45:10 Chris Whittenburg wrote:
> On Tue, Apr 7, 2015 at 10:51 AM, Laurent Pinchart wrote:
> > I suspect the RGB2RGB conversion matrix to be wrong. The default setting
> > is supposed to handle fluorescent lighting. You could try setting the
> > RGB2RGB matrix to the identity matrix and see if this helps. See
> > http://git.ideasonboard.org/omap3-isp-live.git/blob/HEAD:/isp/controls.c#l
> > 184 for sample code.
> >
> > Another matrix that could be worth being reprogrammed is the RGB2YUV
> > matrix, which also defaults to fluorescent lighting. Sample code to
> > reprogram it is available in the same location.
>
> Thanks Laurent...
>
> Just to verify, the conversion matrix still plays a role even though
> the input format is Y10?

Yes it does. The preview engine first converts Y10 to RGB by duplicating the Y
value for all three channels, then feeds it through the RGB2RGB matrix, the
gamma table, and the RGB2YUV matrix.

--
Regards,

Laurent Pinchart