Hi,
I have a problem and I will be appreciated for any help or advice.
-Enabling the video window 0 is a constraint before enabling the osd window 0.
-Currently I need only osd window 0 because we think rgb565 is suitable for our requirements. Hence while I was experimenting with the VPBE example in spraap3a document, (http://focus.ti.com/lit/an/spraap3a/spraap3a.pdf) I decided to disable the image that video window 0 displays (also disabling video window 1 and cursor window), so only the osd window 0 display shall remain on the display screen.
-While trying this, I realized that if I don't queue a frame buffer of video window 0, creating a channel for osd window 0 returns NULL.
That is:
//test.c
// enqueue the 1st frame buffer
if ( IOM_COMPLETED != FVID_queue( vid0Handle, vid0AllocFB[0] ) ) {
return;
}
If I comment out the code above, then:
//configureOsdWin0_TIDSP_RGB565.c
osd0Handle = FVID_create( "/VPBE0", IOM_INOUT, NULL, &beinitParams, &gioAttrs );
the FVID_create function above returns NULL.
-Do you have any idea why this should happen?
-To solve this, I decided to queue a frame buffer (of video wnd 0) which is set to NULL. (vid0AllocFB[0]->frameBufferPtr = NULL;)
In this case, I can see the image in osd window 0, and of course there is no image in video window 0. But the visible parts of the video window 0 is now set to a distorted green, and the edges of the video window 0 is vibrating.
How can I correct this?
Thank you in advance,
A. Erman Kulunyar