About sh7203 framebuffer driver.
Hi All,
I read the source code of sh7203 framebuffer driver made I suppose by MCP Data.
I had a question: Is it possible to tell the driver to rotate the image usign the LCDC native register instructions?
If yes how? Do I need to implemnet an iocontrol funcrion or what is the way?
Signature · 14 lines
Fabio Giovagnini Aurion s.r.l. via degli orti 11, 40050 Funo di Argelato (BO) P.I e C.F. 00885711200 Tel. +39.335.8350919 Fax +39.051.8659009 www.aurion-tech.com account telefono VoIP skype (www.skype.com): aurion.giovagnini
Hi Fabio,
I believe the rotate function on the LCDC changed the way it read the pixels from memory.
I think it turned the display from a 320x240 to a 240x320 display. Useful for setting up the LCD panel in a different orientation etc..
I don't think the hardware can be used to perform rotation of an image. that poses questions like
- how would it stretch the image.
or
- would it crop the image?
You can play with changing this register setting on the fly while the board is running using HEW and choosing View --> CPU --> IO from the menu's.
This gives you a view of all the on chip peripherals and access to their registers.
Cheers
--
Kieran
Quoted 28 lines · Fabio Giovagnini
Hi All,
I read the source code of sh7203 framebuffer driver made I suppose by MCP Data.
I had a question: Is it possible to tell the driver to rotate the image usign the LCDC native register instructions?
If yes how? Do I need to implemnet an iocontrol funcrion or what is the way?--
Fabio GiovagniniAurion s.r.l.
via degli orti 11,
40050 Funo di Argelato (BO)
P.I e C.F.
00885711200
Tel. +39.335.8350919
Fax +39.051.8659009www.aurion-tech.com
account telefono VoIP skype (www.skype.com):
aurion.giovagnini
-
To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
I have to develop some SDL based widget; so It could be usefull for me to see how they appear in portrait and landscape orientation;
Thia is why I'd like to use hw to rotate; the widget har fixed size and and none adatptive strategy is planned to be implemented.
Our application is performaces oriented and this is way I'd like to operate on HW directly. But for doing this I need to know what is the best way to communicate between user space and kerel space.
Regards
P.S.
Do you have an idea of when the toolchain upgrade will be ready on website?
Alle 12:22, lunedì 28 gennaio 2008, Kieran Bingham ha scritto:
Quoted 59 lines
Hi Fabio,
I believe the rotate function on the LCDC changed the way it read the pixels from memory.
I think it turned the display from a 320x240 to a 240x320 display. Useful for setting up the LCD panel in a different orientation etc..
I don't think the hardware can be used to perform rotation of an image. that poses questions like
- how would it stretch the image.
or
- would it crop the image?You can play with changing this register setting on the fly while the board is running using HEW and choosing View --> CPU --> IO from the menu's.
This gives you a view of all the on chip peripherals and access to their registers.
Cheers
--
KieranQuoted 20 lines · Fabio Giovagnini
Hi All,
I read the source code of sh7203 framebuffer driver made I suppose by MCP Data.
I had a question: Is it possible to tell the driver to rotate the image usign the LCDC native register instructions?
If yes how? Do I need to implemnet an iocontrol funcrion or what is the way?--
Fabio GiovagniniAurion s.r.l.
via degli orti 11,
40050 Funo di Argelato (BO)
P.I e C.F.
00885711200
Tel. +39.335.8350919
Fax +39.051.8659009Quoted 8 lines
www.aurion-tech.com
account telefono VoIP skype (www.skype.com):
aurion.giovagnini
-
To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html-
To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 14 lines
Fabio Giovagnini Aurion s.r.l. via degli orti 11, 40050 Funo di Argelato (BO) P.I e C.F. 00885711200 Tel. +39.335.8350919 Fax +39.051.8659009 www.aurion-tech.com account telefono VoIP skype (www.skype.com): aurion.giovagnini