Re: OMAP3 ISP: VIDIOC_STREAMON and VIDIOC_QBUF calls fail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Wednesday 07 November 2012 12:22:27 Andreas Nagel wrote:
> 
> > My code sets up the ISP pipeline, configures the format on all the
> > subdevices pads and the actual video device. Works fine so far.
> > Then I passed user pointers (aquired with malloc) to the device
> > driver for the capture buffers. Before issuing VIDIOC_STREAMON, I
> > enqueue my buffers with VIDIOC_QBUF, which fails with errno = EIO. I
> > don't know, why this is happening or where to got from here.
> > 
> >> One possibility could be that mapping the buffer to ISP MMU fails for
> >> a reason or another. Do you set the length field in the buffer?
> 
> Yes, the length was set when using userptr.
> 
> >> And am I missing something else?
> > 
> > The formats on the pads at different ends of the links in the pipeline
> > must match. In most cases, they have to be exactly the same.
> > 
> > Have you used the media-ctl test program here?
> > 
> > <URL:http://git.ideasonboard.org/media-ctl.git>
> > 
> > media-ctl -p gives you (and us) lots of information that helps figuring
> > out what could go wrong here.
> 
> All pads do indeed have the same format.
> I ran media-ctl, as you suggested. You can see the topology in the
> attached textfile.

media-ctl doesn't show pad formats, that's a bit weird. Are you using a recent 
version ?

Does the TVP5146 generate interlaced frames ?

-- 
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


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux