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.

Multiple video window display.



Hi,

I want to display multiple video windows (eg. PIP) simultaneously on the same display device. I have modified the "saMmapDisplay.c"  which is part of PSP package "TI816X-LINUX-PSP-04.00.02.14".

For testing purpose, I have two saMmapDisplay applications running in background as follows.

  1. saMmapDispla.c - Default that comes with PSP package. It display 1080P color bar on /dev/video1.
  2. saMmapDispla-1.c - Modified application that will display 720P color bar on /dev/video2.

With default sysfs configuration:

root@dm816x-evm:/home# cat /sys/devices/platform/vpss/video0/nodes
vcompmux:hdmi

root@dm816x-evm:/home# cat /sys/devices/platform/vpss/video1/nodes
hdcompmux:hdmi

Result - I am able to see 1080P color bar on the screen but no 720P color bar.

With Modified sysfs configuration:

root@dm816x-evm:/home# cat /sys/devices/platform/vpss/video0/nodes
vcompmux:hdmi

root@dm816x-evm:/home# cat /sys/devices/platform/vpss/video1/nodes
vcompmux:hdmi

Result - When I modified sysfs entry: "echo vcompmux:hdmi > /sys/devices/platform/vpss/video1/nodes" 720P color bar start displaying and 1080P color bar disappears.

If I stop saMmapDisplay-1 (720P application), then 1080P color bar starts displaying.

Query:

Am I missing any sysfs configuration for mutiple video window display?

My end objective is to have multiple video windows simultaneously displayed on a single TV screen to create PIP.

Regards,

Krunal Patil