Ok, I've figured out how to set the Virtual Resolution using ioctl commands and/or fbset utility.
Now I'm having a hard time understanding the yres_virtual parameter. The xres_virtual parameter seems to be doing what I think it should. For example if I have an 720x480 image being displayed on the OSD0 window and drawn to the screen, when I change the xres_virtual value the images gets smeared and it doesn't fill up the entire screen anymore, becauses its being mapped now to a virtually larger width. However if I set the yres_virtual parameter to a larger value the image stays exactly the same. It doesn't get squished in the virtual axis at all. Could somebody clarify this for me? I appreciate it, Josh -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Hintze Sent: Monday, February 18, 2008 10:10 AM To: 'Ashuaria Lee' Cc: [email protected] Subject: RE: Suggestions on image display Thank you Ashuari, Could you or somebody tell me how I would go about setting the virtual resolution for the frame buffer. Just looking through the davincifb.c code it doesn't seem obvious. The IOCTL commands don't seem like they can accomplish it. Is there any written documention on the davincifb? Thanks, Josh -----Original Message----- From: Ashuaria Lee [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 13, 2008 4:32 PM To: Joshua Hintze Cc: [email protected] Subject: Re: Suggestions on image display Hi, IMO I would use the FrameBuffers virtual x,y resolution to 1024,1024 and use tha pan feature. Virtual resolution is not only used for double buffering(or triple buffering) but may also used for cropping the output image. Regards, Ashuaria 2008/2/14, Joshua Hintze <[EMAIL PROTECTED]>: > > > > > Hello, I'm looking for some suggestions on the best way to go about solving > this problem. > > > > Lets say I have an image that is 1024x1024. What would be the best way to > get it onto the screen? Every second a new 1024x1024 image is procedurally > generated. > > > > Should I write a program that opens up the OSD /dev/fb/0 and then set the > OSD dimensions to 1024x1024 and fill up the pixel buffer? Can I even set the > OSD dimensions larger than 720x480? > > > > Should I find some type of library that will resize the image to 720x480 and > then just fill up the OSD? > > > > I noticed in the VideoInVideoOut demo there was reference to > Rszcopy_execute(). I'm not sure if that is only available on the VPFE or if > you can use it on a stored image going out to the VPBE. > > > > Any thoughts? > > > > Thanks this mailing list has been a big help, > > > > Josh > _______________________________________________ > Davinci-linux-open-source mailing list > [email protected] > http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source > > -- Regards, Ashuaria Lee _______________________________________________ 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
