From: Andy W. <an...@si...> - 2013-12-11 13:31:21
|
Hi Tom, I see you received a response from Laurent on the LMML. He has much more knowledge than I on the OMAP ISP linux drivers and media bus. Guennadi and Hans would also be able to help. Here was Hans Verkuil's original RFC from Sept 2009 on the media bus: http://www.spinics.net/lists/linux-media/msg09979.html Yes, if the format you want to use isn't supported, you will have to add another format to the kernel and V4L2 API. The formats in the kernel are the ones added as support for new hardware was added. Why isn't the format you want in the kernel? Either it requires in-kernel video format conversion in software (which will never be accepted in the upstream kernel), or no one has ever needed the format before and submitted patches upstream. Regards, Andy On Wed, 2013-12-11 at 04:59 -0800, tom1001 wrote: > Hello Andy, > > thanks for your reply. By using the sensor with the media pipeline, the ccdc > output will be set as the video device and the sensor and the ccdc input as > subdevices. So to change the format on the sonsor I would need to call > "VIDIOC_SUBDEV_S_FMT". But this call requires a "v4l2_mbus_framefmt" which > does not contain the pixelformat code which were used in the previous kernel > versions. So I think I need to add new media busa formats according to the > pixelformats I want right? > > V4L2_PIX_FMT_UYVY > V4L2_PIX_FMT_YUYV > V4L2_PIX_FMT_YUV444 > V4L2_PIX_FMT_BGR32 > V4L2_PIX_FMT_RGB555 > V4L2_PIX_FMT_RGB565 > V4L2_PIX_FMT_SBGGR8 > > Does someone know why media bus couldn't use the standard pixelformats? > > Regrads, Tom > > > > -- > View this message in context: http://gumstix.8.x6.nabble.com/use-other-formats-from-ov3640-camera-sensor-through-the-isp-pipeline-tp4968412p4968416.html > Sent from the Gumstix mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users |