Hi Bastian, On Friday 29 October 2010 16:06:18 Bastian Hecht wrote: > Hello Laurant, > > sorry I am flooding a bit here, but now I reached a point where I am > really stuck. > > In the get_fmt_pad I set the following format > *format = mt9p031->format; > that is defined as > mt9p031->format.code = V4L2_MBUS_FMT_SGRBG10_1X10; > mt9p031->format.width = MT9P031_MAX_WIDTH; > mt9p031->format.height = MT9P031_MAX_HEIGHT; > mt9p031->format.field = V4L2_FIELD_NONE; > mt9p031->format.colorspace = V4L2_COLORSPACE_SRGB; > > I found the different formats in /include/linux/v4l2-mediabus.h. I > have 12 data bit channels, but there is no enum for that (like > V4L2_MBUS_FMT_SGRBG10_1X12). > I am the first guy needing a 12 bit-bus? Yes you are :-) You will need to implement 12 bit support in the ISP driver, or start by hacking the sensor driver to report a 10 bit format (2 bits will be lost but you should still be able to capture an image). > Second thing is, the yavta app now gets stuck while dequeuing a buffer. > > strace ./yavta -f SGRBG10 -s 2592x1944 -n 4 --capture=4 --skip 3 -F > /dev/video2 ... > ioctl(3, VIDIOC_QBUF, 0xbec111cc) = 0 > ioctl(3, VIDIOC_QBUF, 0xbec111cc) = 0 > ioctl(3, VIDIOC_QBUF, 0xbec111cc) = 0 > ioctl(3, VIDIOC_QBUF, 0xbec111cc) = 0 > ioctl(3, VIDIOC_STREAMON, 0xbec11154) = 0 > ioctl(3, VIDIOC_DQBUF > > strace gets stuck in mid of this line. -- Regards, Laurent Pinchart -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html