System and method for refreshing imaging devices or displays on a page-level basis

Information

  • Patent Application
  • 20030020697
  • Publication Number
    20030020697
  • Date Filed
    March 31, 2000
    24 years ago
  • Date Published
    January 30, 2003
    21 years ago
Abstract
The present invention provides a system and method for checking authorization of remote configuration operations. The method comprises storing at least one image frame such that content of the image frame is stored in a plurality of memory pages in a memory. The method further comprises sending the image frame to the display one memory page at a time to refresh the display.
Description


BACKGROUND

[0001] 1. Field


[0002] This invention generally relates to the field of cathode ray tubes (CRTs).


[0003] 2. Background


[0004] Traditional display systems target a cathode ray tube (CRT) as their final imaging device. A CRT is typically updated in a raster fashion and require frequent refresh of the image being displayed in order to avoid perceived flickering by the user. Updating and refreshing the CRT in such manner is highly inefficient.


[0005] A new class of non-raster based imaging devices, including but not limited to liquid crystal displays (LCD), currently exists. These non-raster based imaging devices are typically “active matrix” devices, where pixels on the devices can be individual accessed and modified through the use of one or more switches at each pixel. The individual accessibility of pixels on these non-raster based imaging devices allows the pixels to be randomly turned on or off in a non-raster fashion. However, this updating and refreshing technique is inefficient as well.







BRIEF DESCRIPTION OF THE DRAWINGS

[0006]
FIGS. 1A and 1B show exemplary systems in accordance with the current invention.


[0007]
FIG. 2 shows an exemplary image frame.


[0008]
FIGS. 3A and 3B illustrate embodiments of memory configurations representing an image frame.


[0009]
FIG. 4 illustrates the concept of temporal coherence.


[0010]
FIG. 5 is a flow diagram outlining the process of performing a drawing operation to fully or partially generate an image.


[0011]
FIG. 6 is a flow chart outlining the process employed to refresh or update the imaging device or display.







DESCRIPTION

[0012] The present invention provides a system and method for refreshing imaging devices or displays on a page-level basis.


[0013]
FIG. 1A shows an exemplary system in accordance with the current invention. The “system” includes, but is not limited or restricted to a computer (e.g., desktop, laptop, hand-held, etc.). The system 100 includes a bus 105 coupling together general purpose microprocessor 110, graphics processor 115, display controller 120, and memory controller 125. It should be noted that the system 100 can also include multiple graphics processors 1151 . . . 115N as shown in FIG. 1B, where “N” is a positive integer. Memory controller 125 is operatively coupled to memory 130 to control read and write accesses to memory 130. Display controller 120 is operatively coupled to image device or display 135 to control read and write accesses to imaging device or display 135.


[0014] The drawing of images or visual information can be performed by general purpose microprocessor 110, by graphics processor(s) 115, or by a combination of general purpose microprocessor 110 and graphics processor(s) 115. Representations of images or visual information are typically deposited into image frames stored in memory 130. As will be described later, memory 130 is divided into memory pages in support of well-known memory paging schemes. Display controller 120 periodically reads the image frames stored in memory 130 and sends these image frames to imaging device or display 135 for presentation.


[0015]
FIG. 2 shows an exemplary image frame 200. The image frame 200 is typically divided into tiles 2050,0 . . . 205X,Y, where “X” and “Y” are positive integers. Each tile represents 2050,0 . . . 205X,Y a two-dimensional region of pixels of the image frame. Images 210, 215, 220 can span over multiple tiles, as shown in FIG. 2. However, images can also be contained within a tile. In accordance with the present invention and as discussed below, the content of each tile 2050,0 . . . 205X,Y is deposited in one memory page to take advantage of the spatial coherence generally demonstrated by drawing operations to improve the drawing speed. “Spatial coherence” refers to the concept that a drawing operation is more likely to create or modify a pixel that is close to the last pixel that was created or modified than to create or modify a randomly chosen pixel.


[0016]
FIG. 3A illustrates one embodiment of a memory configuration representing an image frame 300. The illustrated memory configuration is referred to as the “Packed-RGB” configuration. As stated above and illustrated in FIG. 2, each image frame is divided into tiles. The content of each tile is stored in a memory page 3101, 3102, . . . , 310M, where “M” is a positive integer. In the Packed-RGB configuration, RGB-color components 3050,0, 3050,1 of one pixel are deposited or packed together in contiguous location in memory. Furthermore, color components of contiguous pixels of a tile are deposited or packed contiguously. For example, color components 3050,0 of the pixel located at coordinate (0,1) of a tile can be stored in memory next to color components 3050,1 of the pixel located at coordinate (0,0) of the same tile. In addition, color components of pixels located within one tile of the image frame are stored within the same memory page.


[0017]
FIG. 3B illustrates an alternative embodiment of a memory configuration representing an image frame 300. The illustrated memory configuration is referred to as the “Multi-Plane” configuration. In the Multi-Plane configuration, the content of each image frame 300 is deposited in three color planes, including (1) red plane (R-plane) 315, (2) green plane (G-plane) 320, and (3) blue plane (B-plane) 325. RGB-color components of pixels are separated and deposited in corresponding color planes. Accordingly, red (R) components 330 are deposited in the R-plane 325; green (G) components 335 are deposited in the G-plane 320; and blue (B) components 340 are deposited in the B-plane 315.


[0018] Each color plane 315, 320, 325 includes multiple memory pages. As stated above and illustrated in FIGS. 2, each image frame is divided into tiles. The content of each tile is stored in a memory page. Furthermore, color components of contiguous pixels are deposited or packed contiguously in the appropriate color plane. In addition, color components of pixels located within one tile of the image frame are stored within the same memory page in the appropriate color plane.


[0019] In one embodiment, memory pages having a size of 4-Kilobyte (Kbyte) is employed. In this embodiment, each 4-Kbyte memory page can hold the content of tiles having a dimension of 64 pixels by 64 pixels. In this embodiment, accesses within a tile of 64 pixels by 64 pixels falls accordingly within the same memory page. It should be noted, however, that memory pages having sizes other than 4-Kbyte can be used.


[0020] As stated above and shown in FIGS. 1A and 1B, the drawing of images can be performed by general purpose microprocessor 110, by graphics processor(s) 115, or by the combination of microprocessor 110 and the graphics processor(s) 115. Representations of images or visual information are generated and deposited into image frames. Each image frame is divided into tiles. The content of each tile is stored in one memory page. Display controller 120 periodically reads the image frames and sends these image frames to the display or imaging device for presentation. Display controller 120 sends these image frames to the display one memory page at a time for efficiency purposes.


[0021] In most image applications, temporal coherence occurs. Temporal coherence refers to the concept that over some period of time, the content of a majority of the tiles of image frames generated consecutively over time would typical remain the same. FIG. 4 illustrates the concept of temporal coherence. For example, tile (0,0) 4051, 4052, 4053 remains unchanged from the first image frame 4001, to the second image frame 4002, and to the third image frame 4003.


[0022] Accordingly, to improve the efficiency of the process of updating or refreshing the display or imaging device, display controller 120 (shown in FIGS. 1A and 1B) employs a process where only modified pages are sent to the imaging device for representation.


[0023]
FIG. 5 is a flow chart outlining the process of performing a drawing operation. In block 510, images or visual information are generated, and the content of image frames used to store those generated images are updated. In block 515, memory pages corresponding to the tiles that have been updated due to the generation of the image or visual information are marked as being “modified” or “dirty”.


[0024]
FIG. 6 is a flow chart outlining the process employed to refresh or update the imaging device or display with only memory pages that have been modified, known as “dirty” memory pages. In block 610, the current memory page is initialized to be the first memory page of the image frame. In block 615, if the current memory page has been marked as “modified” by a drawing operation, as shown in FIG. 5 and described in the accompanying text, the current memory page is sent to the display or imaging device to be presented (block 620). The current memory page is then marked as “unmodified” (block 625). If the current memory page has not been marked as “modified”, the memory page is sent to the display or imaging device only if the display or image device requires an update or refresh (block 630). In block 630, a query is performed to determine whether the last memory page of the image frame has been processed. If the last memory page of the image frame has not been processed, the current memory page is set equals to the next memory page in the image frame (block 635). The sequence of actions in blocks 615 to 625 are then repeated. If the last memory page of the image frame has been processed, the process of refreshing or updating the display or imaging device is then completed.


[0025] It should be noted that the functional components illustrated in FIGS. 1A and 1B and discussed above may be implemented in hardware or software. If the aforementioned functional components are implemented as a software program, the functionality of these components can be emulated by one or more sub-programs, which can be stored on a system-readable medium, such as floppy disk, hard drive, CD-ROM, digital video disk, tape, memory, or any storage device that is accessible by the system.


[0026] While certain exemplary embodiments have been described and shown in the accompanying drawings, it is to be understood that such embodiments are merely illustrative of and not restrictive on the broad invention, and that this invention not be limited to the specific constructions and arrangements shown and described, since various other modifications may occur to those ordinarily skilled in the art.


Claims
  • 1. A system to refresh a display, the system comprising: a memory to store at least one image frame such that content of the image frame is stored in a plurality of memory pages in the memory; and a display controller in communication with the memory to access the image frame and to send the image frame one memory page at a time to the display to refresh the display.
  • 2. The system of claim 1 further comprises a processor to perform drawing operations to generate images for the image frame, the processor marking memory pages corresponding to regions of the image frame that have been updated.
  • 3. The system of claim 2, wherein the display controller sends only the marked memory pages of the image frame to the display.
  • 4. The system of claim 1, wherein the image frame is divided into tiles representing two-dimensional regions of the image frame, each of the tiles is stored in one separate memory page.
  • 5. The system of claim 1, wherein each of the memory pages has a size of four Kilobytes.
  • 6. The system of claim 1, wherein the image frame is represented by a configuration where color components of a pixel are deposited in contiguous memory locations.
  • 7. The system of claim 1, wherein the image frame is represented by a configuration where color components of a pixel are separated and deposited in multiple color planes.
  • 8. A method to refresh a display, the system comprising: storing at least one image frame such that content of the image frame is stored in a plurality of memory pages in a memory; and sending the image frame to the display one memory page at a time to refresh the display.
  • 9. The method of claim 8 further comprises marking memory pages corresponding to regions of the image frame that have been updated while performing drawing operations.
  • 10. The method of claim 9, further comprises sending only the marked memory pages of the image frame to the display.
  • 11. The method of claim 8 further comprising: dividing the image frame into tiles representing two-dimensional regions of the image frame; and storing each of the tiles in one separate memory page.
  • 12. The method of claim 8 further comprises using memory pages of four Kilobytes in size.
  • 13. The method of claim 8 further comprises organizing the image frame using a configuration where color components of a pixel are deposited in contiguous memory locations.
  • 14. The method of claim 8, further comprises organizing the image frame using a configuration where color components of a pixel are separated and deposited in multiple color planes.
  • 15. A program embodied on a system-readable medium to refresh a display, comprising: a first sub-program to control storing at least one image frame in a memory such that content of the image frame is stored in a plurality of memory pages in the memory; and a second sub-program to access the image frame and to send the image frame one memory page at a time to the display to refresh the display.
  • 16. The program of claim 15, further comprising a third sub-program to mark memory pages corresponding to regions of the image frame that have been updated while performing drawing operations.
  • 17. The program of claim 16 further comprising a fourth sub-program to send only the marked memory pages of the image frame to the display.
  • 18. The program of claim 15 further comprising: a third sub-program to divide the image frame into tiles representing regions of the image frame and to store each tile in a separate memory page.
  • 19. The program of claim 15 further comprising: a third sub-program to organize the image frame using a configuration where color components of a pixel are deposited in contiguous memory locations.
  • 20. The program of claim 15 further comprising: a third sub-program to organize the image frame using a configuration where color components of a pixel are separated and deposited in multiple color planes.