> > However facts still remain. I only hope you won't include color
> > conversions before submitting the driver to the mainline kernel,
> > be "ovcamchip" used or not as i2c_driver for the OV image sensors.

> The driver doesn't contain any _color_ conversions at this moment.
> It contains a geometry conversion from SBGGR8 to BGR24. It doesn't
> convert into YUV.

Heh.. so the driver contains "geometry conversion" instead of "color 
conversion".
Ok, it's just a matter of words. None said the driver converts into YUV:
on the contrary, the point is: don't do colorspace conversions,
"geometry conversions" or _color interpolations_ in the driver. Program the
correct image format in the sensor, give untouched data to the user and let him
decide what to do (so that they may even use better interpolation algorithms
than yours).

> The fact that the camera contains an OmniVision sensor and the fact that
> it uses the ovcamchip module don't imply that the camera can do YUV in
> hardware.

I doubt the USB controller/firmware "knows" whether the video format is RGB
or YUV; it just accepts and outputs whatever arrives from the image sensor.
Since OV sensors can output YUV, you should obtain unmodified data from the
controller as well.

> > So I repeat: V4L1 does not support Bayer SBGGR8, but does support YUV's.
> > Since colorspace conversions are not allowed, this means that you will
> > have to use native YUV as default format sent by the OV sensor.

> The sensor in this camera doesn't output YUV. It outputs its native
> SBGGR8 data.

False. Isn't t the sensor one of the OV6x or OV7x or OV8x series?
If yes, look at the first page of the OV6x and OV7x datasheets.

> This's actually false. OV sensors support both YUV and raw RGB _natively_.

> The sensors do. The USB bridge implemented by the Cypress EzUSB FX2 chip
> necessarily doesn't. It might, though. But it hasn't been done before.

"Sensors do and FX2 chip does not" has not much sense to me.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to