Hi, I apologise for posting this question here but I have tried other forums and have got not reply. I really hope someone can help me.
I am working on a project that needs to overlay an OSD onto video. The platform is TI Davinci and there are 3 display layers:
fb0 – used for The OSD
fb1 – Used for video
fb2 – alphaplane used to blend fb0 and fb1 together
The only way to make graphics in the OSD layer visible is to set the corresponding pixel values on the aplhaplane to a certain value > 0.
Currently I create a primary 'main' surface which accesses fb0 using:
Code:
DirectFBInit (&argc, &argv);
DirectFBCreate (&dfb);
dfb->SetCooperativeLevel (dfb, DFSCL_FULLSCREEN));
dsc.flags = DSDESC_CAPS;
dsc.caps = (DFBSurfaceCapabilities)(DSCAPS_PRIMARY | DSCAPS_FLIPPING);
dfb->CreateSurface( dfb, &dsc, &primary );
I also need to create another surface which accesss fb2. Does anyone know how I can do this?
If you need more information just ask.
I am really grateful for any help I can get here.
thanks