Hi:
To set the window position, use the following control command, which are
defined in include/video/davincifb.h
#define FBIO_SETPOSX _IOW('F', 0x22, u_int32_t)
#define FBIO_SETPOSY _IOW('F', 0x23, u_int32_t)
To do PIP, simply set the appropriate window position using the above
command, and set the size using FBIOPUT_VSCREENINFO. You can consult the
decode demo for its usage. In addition to the demo code, if you want to
have a smaller window, don't forget to set vinfo.xres_virtual to the
same as vinfo.xres. You might also want to use the resizer to resize
your video in real-time. Check the mail archive for VPFE resizer.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Akhil Kaushal Pullagura
Sent: Wednesday, January 24, 2007 2:53 PM
To: [email protected]
Subject: Can anyone help me in changing the position of video window?
Hi all,
I've been trying to change the position of the video window. In
the document sprue37 I found
that this can be done by changing the values of xxx_XP and
xxx_YP with respect to BASEP_X
and BASEP_Y. I'm trying to find out where these parameters are
given in the code, but i'm not able
to find these things. Can someone who has done the relocating
video windows, help me out in this
regard.
I have one more issue. What should I do to obtain the PIP(
picture in picture) functionality? I'm using
the windows : OSD window 0 and video window 0. I want to open a
Video window 1 with a smaller size than the
video window 0. Has anyone acheived the picture in picture
feature. I'd be grateful for the answers to my issues.
Thanks in advance,
With best regards,
Akhil Kaushal P
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source