OMAP3 ISP previewer Y10 to UYVY conversion

Chris Whittenburg
2015-03-18T19:56:37Z

We're working on a DM3730 platform running a 3.5.7 kernel, using the
pipeline below to take a 12-bit monochrome sensor (Aptina AR0130) and
convert it to UYVY format for use with the TI codecs.

In general, this works, but the images end up looking washed out.
Running them thru a "normalize" function makes them look good again.
Looking at the levels histogram in gimp, I seem to be missing the high
end and low end values.

I've captured the 12-bit data from the CCDC, downconverted it to Y8,
and verified it looks ok, and is not washed out, so I'm suspecting the
isp previewer is doing something wrong in the simple Y10 to UYVY
conversion.

Does someone with experience on this topic have a recommendation on
what component might be causing the problem, or the best way to go
about isolating the issue?

media-ctl -r
media-ctl -v -l '"ar0130 3-0010":0->"OMAP3 ISP CCDC":0[1], "OMAP3 ISP
CCDC":2->"OMAP3 ISP preview":0[1], "OMAP3 ISP preview":1->"OMAP3 ISP
resizer":0[1], "OMAP3 ISP resizer":1->"OMAP3 ISP resizer output":0[1]'
media-ctl -v -V '"ar0130 3-0010":0['Y12' '640'x'480'], "OMAP3 ISP
CCDC":2['Y10' '640'x'480'], "OMAP3 ISP preview":1[UYVY '640'x'480'],
"OMAP3 ISP resizer":1[UYVY '640'x'480']'

Thanks,
Chris