Hi all,
I have modified the capture-example available at http://v4l2spec.bytesex.org/spec/capture-example.html and I could do a single frame garb with it. For a sensor that outputs 30fps, it should take roughly 33ms to grab the frame. However, it is taking about 300ms. I have probed the vsync on the oscilloscope and it is showing 30Hz. I saw that VIDIOC_STREAMON/ VIDIOC_STREAMOFF ioctls start and stop the hardware and video singnal. I thought, this is the reason it is taking more time than normal. Has any one used this example to stream live video and still grab a frame whenever you want it and in reasonable amount of time.
Cheers