Karicheri, Muralidharan wrote:
Kieran,

What was /dev/video2 doing when you tried opening /dev/video3. On DM365 there 
is a limitation (imposed by hw) that if video2 is using for NV12
image format, you can't open video3. This is because, NV12 requires both
planes. But this doesn't prevent you from using video2 & video3 in PIP
mode for UYVY format. Please confirm.

Aha - well I see that the device is being opened by setting this in the configuration structure:
displayConfig.dataFormat  = DRV_DATA_FORMAT_YUV420;

And I am definitely seeing that the output use using both layers as I have manually moved the startx and starty coordinates of the second video plane and I can clearly see that the Y(luminescence?) data is clearly separated on from the (UV)colour data by being drawn on both layers.

I've initially set the
displayConfig.dataFormat  = DRV_DATA_FORMAT_YUV422;

But the display looks wrong - So I guess I need to get a colour format conversion from my capture input thread somewhere.
--
Regards
Kieran Bingham
Murali Karicheri
Software Design Engineer
Texas Instruments Inc.
Germantown, MD 20874
phone: 301-407-9583
email: [email protected]

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf
Of Kieran Bingham
Sent: Thursday, March 18, 2010 9:19 AM
To: [email protected]; arago-
[email protected]
Subject: Picture in Picture using a second Video Plane

Hi Guys

Currently running the Montavista 2.6.18 DM365 kernel from the DVSDK 2.10.

I'm having problems getting set up for Picture in Picture - as I can't
open both /dev/video2 and /dev/video3 at the same time.

[ 1912.010000] DavinciDisplay DavinciDisplay.1: Display Manager failed
to allocate layer 3
[ 1912.020000] DavinciDisplay DavinciDisplay.1: Unable to configure
video layer for id = 1
ERROR  (drv_display.c|DRV_displayOpen|209): open device /dev/video3 -
Invalid argument
ERROR  (display_tsk.c|DISPLAY_tskCreate|83):  DISPLAY-TSK: Failed to
open PIP Video Plane

Firstly - is this a known issue/bug?
Secondly - has anyone created a system using two video planes?

and thirdly ... (and most importantly)

If I move to the latest arago kernel - does that support two video
planes in the current davinci_display / davinci_osd driver?

--
Regards
Kieran Bingham
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to