Hi Paul, On Monday 03 October 2011 07:51:34 Paul Chiha wrote: > Hi, > > I've been having trouble getting the resizer to work, and mainly because > I don't know how to correctly configure it. > I'm using kernel 2.6.37 on arm DM37x board. > > I've been able to configure the media links sensor=>ccdc=>ccdc_output > (all with 640x480 V4L2_MBUS_FMT_UYVY8_2X8) and VIDIOC_STREAMON works on > /dev/video2. > But if I configure media links sensor=>ccdc=>resizer=>resizer_output, > then VIDIOC_STREAMON fails on /dev/video6 (with pixelformat mismatch). > I noticed that the resizer driver only supports V4L2_MBUS_FMT_UYVY8_1X16 > & V4L2_MBUS_FMT_YUYV8_1X16, so I tried again with all the links set to > V4L2_MBUS_FMT_UYVY8_1X16 instead, but then ioctl VIDIOC_SUBDEV_S_FMT > fails on /dev/v4l-subdev8, because the sensor driver doesn't support > 1X16. > Then I tried using V4L2_MBUS_FMT_UYVY8_2X8 for the sensor and > V4L2_MBUS_FMT_UYVY8_1X16 for the resizer, but it either failed with > pixelformat mismatch or link pipeline mismatch, depending on which pads > were different. > > Can someone please tell me what I need to do to make this work? Long story short, I don't think that pipeline has ever been tested. I'm unfortunately lacking hardware to work on that, as none of my OMAP3 hardware has a YUV input. -- 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