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

IDIOC_QUERYBUF VIDIOC_DQBUF

}

 

with regards,

Ramakrishna

  • Hi,

    You will be able to find V4L2 display driver at

    $PSP_PACKAGE\TI814X-LINUX-PSP-04.01.00.06\src\examples\video\

    For application flow please refer to the userGuide at http://processors.wiki.ti.com/index.php/DM816X_AM389X_VPSS_Video_Driver_User_Guide_PSP_04.00.01.13

    Regards,

    Hardik Shah