This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

v4l2 display driver test Application



Hi,

Where can I get v4l2 display driver test Application.

Where can I get all structs related to v4l2 display.

Is VIDIOC_STREAMON ioctl common for normal media file playback and video streaming..?

I am writing test application for V4L2 display driver and I have followed the ioctl sequences as bellow is that correct

open /dev/video1

fopen for video file reading

ioctl V4L2_MEMORY_MMAP

ioctl VIDIOC_QUERYBUF

ioctl VIDIOC_STREAMON

while(1){

VIDIOC_QUERYBUF

VIDIOC_DQBUF

}

with regards,

Ramakrishna