Hi Muneeb,
I'm fairly certain the Optia cam will not natively stream YUV 4:2:0. I seem to remember from when I was using it that it supports YUYV and MJPEG only. Converting it in real time should be feasible. Check out this page, http://v4l2spec.bytesex.org/spec-single/v4l2.html#YUV-FORMATS, among other things it documents the different video formats. There are really two major things you have to handle. One is simply rearranging the bytes, this is straightforward. The second is how to halve the number of chroma values. This I'm not really sure about. In YUYV one Cr and one Cb apply to 2 Y values. In 4:2:0 one Cr and one Cb apply to 4 Y values. My first thought would be too simply average C values from the YUYV stream to generate each of the C values in 4:2:0. Maybe someone with more experience here has a suggestion:-). Let me know if that helps and how you make out. Nathanael
_______________________________________________ Linux-uvc-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
