摘要 |
Embodiments relate to systems and methods for generating address information to translate the order in which memory locations are accessed in a video buffer, to maintain a desired orientation in a rotated display. A video buffer is filled with display data to drive a CRT, LCD, or other display screen, starting with the upper-left corner. When the user rotates the display screen, the display screen continues to scan from the same starting corner, resulting in a misaligned orientation. In embodiments, a correct orientation can be automatically generated by determining a scan direction for the rotated display. The physical location of the new logical starting pixel is determined, and the rows and columns of the display image are rendered in a revised logical order which compensates for the amount and direction of rotation.
|