Hi all.
I can display decoded display (NV12) format using video window 1 and 0. Now i wanted to display PIP . To do that i thought of using osd window 1 in UYVY pixel format. we can do this by configuring /dev/fb2 frame buffer
size of remote video = 720 x480
size of pip = 160x120
varInfo.bits_per_pixel = 16;
if(ioctl(i32FbFd, FBIOPUT_VSCREENINFO, &varInfo) < 0)
{
LOG(LOG_ERR,"Failed to get screen info strerror: %s",strerror(errno));
return MEDIA_FAILURE;
}
I can see the pip getting display but not the remote video. but the video is decoded and given to display.
In the next scenario. i opened the frame buffer (/dev/fb2) , mmaped the device memory and did a memset of 0. Then the remote video is seen. The default pix fmt of OSD window 1 is pix_fmt_attr which enables the transparency where as transparency is not seen when OSD Window is configured to UYVY format.
Does any one have an idea on what could be the transparency value when OSD window 1 is configure to accept the image in UYVY format ?
regards
pradeep