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.

2 Videos on OMAP

Other Parts Discussed in Thread: OMAP3530

Hi,

I want to run 2 Videos at a time on OMAP3530 LCD something like picture in picture. I am using decode+display demo. Is it possible to Display_create(), Display_get() and Diplay_put twice in the sample app?

Do I need to change something at display driver level?

Regards,

Vineet

 

 

 

  • The example uses another software layer between you and the display driver known as DMAI, I am not sure if DMAI is flexible enough to do this properly since you need to adjust the resolution of the video2 window to be smaller so that it does not entirely cover video1 and the osd for a picture and picture like effect (I don't see this in the Display_create() call though it may still be possible by tweaking the structure you pass from the default). I can say that the display driver should be able to do this sort of thing, though I have not seen a test case for it, the driver documentation in OMAP35x_SDK_1.0.2\docs\OMAP35x\UserGuide_1_0_2.pdf shows the APIs you can use at the driver level to initialize and adjust the video windows, you just need to open both V4L2 windows and make the vid2 smaller than vid1.