The present invention relates to a display control device, and in particular to a liquid crystal display control device for a portable equipment or the like.
In the display control device described above, as shown in
Since the conventional display control device is configured as described above, when the data is transferred to the memory 5, one screen of data is transferred every time (every frame period). As a result, even when the data written from the image data writing means 1 to the graphics memory 2 is updated with regard to a small area of the screen, the transfer means 3 transfers the entire screen of data from the graphics memory 2 to the memory 5. The amount of power consumption of the circuit operating for the data transfer is the same as that required for rewriting the entire screen, so that the efficiency is low, and the useless power consumption occurs.
The invention has been made to solve the problems described above, and its object is to reduce the power consumption required by the circuit for transferring image data to the memory of a display means.
According to the present invention, there is provided a display control device including an image data writing means, a graphics memory connected to the writing means, a data transfer means responsive to a command from the writing means for reading data from the graphics memory, and transferring data to a display means, and a write region detection means responsive to addresses accessed by the image data writing means for detecting a region including all the addresses, wherein when the image data writing means issues a transfer command, said transfer means transfers to the display means only such data that is in the region detected by said write region detecting means.
With the above arrangement, it is possible to reduce the amount of data that is transferred, so that the power consumed by the circuit when the data transfer means transfers the image data to the display means.
The region detecting means may be adapted to detect, as said write region, the region from the minimum vertical direction address and the maximum vertical direction address among the addresses accessed by said image writing means.
With the above arrangement, the extent of the write region is defined in a simple manner, so that it is possible to simplify the configuration of the circuit of the write region detecting means, and the power consumed by the write region detecting means can be reduced.
The region detecting means may be adapted to detect, as said write region, the region from the minimum vertical direction address to the maximum vertical direction address among the addresses accessed by said image writing means, and from the minimum horizontal direction address to the maximum horizontal direction address among the addresses accessed by said image writing means.
With the above arrangement, the amount of data transferred can be further reduced, so that the power consumed by the circuit when the data transfer means transfers the image data to the display means can be further reduced.
The region detecting means may alternatively be adapted to detect, as said write region, a rectangular region from the minimum vertical direction address to the maximum vertical direction address among the addresses accessed by said image writing means, and from a minimum horizontal direction address to the maximum horizontal direction address of a screen.
With the above arrangement, the amount of power consumed by the circuit when the data transfer means transfers the image data to the display means is reduced. Moreover, the circuit configuration of the write region detecting means is simplified, so that the power consumed by the circuit when the write addresses are detected can be reduced.
In the drawings:
Embodiments of the invention will now be described with reference to the drawings.
Embodiment 1
The display means 4 includes a memory 5, a liquid crystal driver circuit 6 and a liquid crystal panel 7. The memory 5 stores image data transferred from the data transfer means 3. The liquid crystal driver circuit 6 reads the data from the memory 5 responsive to clocks in synchronism with the display frequency, and drives the liquid crystal panel 7. The liquid crystal panel 7 is driven by the liquid crystal driver circuit 6 to display the image.
In the display control device configured as described above, image data formed of an arbitrary number of dots is written from the image data writing means 1 such as a CPU or the like, in the graphics memory 2. Rather than the entire screen of data, such data of only a part (pixels) that need to be updated is re-written. The write region detecting means 8 receives the signals sent over the address bus and control signal lines from the image data writing means 1, and detects the addresses in the graphics memory 2 in which the data is to be written.
The operation of the write region detecting means 8 will next be described. It is assumed that in a certain frame period, data a, b and c are written at the addresses (x1, y1), (x2, y2) and (x3, y3), respectively, in the graphics memory 2, as shown in
x1<x2<x3, and
y2<y1<y3.
Moreover, a, b and c represent image or character data, and are for example positive values representing R, G and B data. Furthermore, the horizontal direction minimum value among the detected addresses (minimum horizontal direction address) is represented by Xmin, the horizontal direction maximum value among the detected addresses (maximum horizontal direction address) is represented by Xmax, the vertical direction minimum value among the detected addresses (minimum horizontal direction address) is represented by Ymin, and the vertical direction maximum value among the detected addresses (maximum vertical direction address) is represented by Ymax. The procedure for finding the values of Xmin, Xmax, Ymin and Ymax is shown in
First, the initial values of Xmin, Xmax, Ymin and Ymax are set such that Xmin=N-1, Xmax=0, Ymin=M-1, and Ymax=0 (S1). Next, when writing in the graphic memory 2 by means of the image data writing means 1 is performed (S2), the write region detecting means 8 compares the write addresses in accordance with the signals supplied via the address bus and the control signal lines, and performs updating if necessary (S3). This operation is continued until the image data writing means 1 issues a data transfer command (S4). As a result of the above operations, the four coordinate values Xmin=x1, Xmax=x3, Ymin=y2, and Ymax=y3 are detected (such a case is assumed) immediately before the data transfer command is issued.
When the data transfer command is issued from the image data writing means 1, the write region detecting means 8 outputs the detected addresses Xmin=x1, Xmax=x3, Ymin=y2, and Ymax=y3 to the data transfer means 3 (S5). After outputting the detected addresses, the write region detecting means 8 sets the detected addresses to initial values in order to detect the write region of image data for the next screen (frame), and repeats the operation similar to that described above.
When the data transfer means 3 receives the detected addresses Xmin=x1, Xmax=x3, Ymin=y2, and Ymax=y3 from the write region detecting means 8, it transfers the image data within the rectangular region defined by the detected addresses, to the memory 5 (S6). That is, it generates a command setting the write region, as shown in
The display means 4 decodes the input command, and writes the data read from the graphics memory 2 in the rectangular region in the memory 5 defined by (x1, y2), (x3, y2), (x1, y3) and (x3, y3). When the transfer of data within the detected region is completed, it waits for the next data transfer command, and repeats the operation similar to that described above.
The data rewritten partially in the memory 5, together with the data in the other region already in the memory 5 is read, as data for one screen, by the liquid crystal driver circuit 6 responsive to the clocks in synchronism with the frame frequency of the liquid crystal display of the liquid crystal panel 7, and the liquid crystal driver circuit generates liquid crystal driving waveforms, causing the liquid crystal panel to display.
As has been described, by means of the write region detecting means 8 which detects the region in the graphics memory 2 accessed for writing by the image data writing means 1, the rectangular region of from the minimum vertical direction address Ymin to the maximum vertical direction address Ymax among the addresses accessed by the image data writing means 1, and from the minimum horizontal direction address Xmin to the maximum horizontal direction address Xmax among the addresses accessed by the image data writing means 1 is detected as the write region, and the data transfer means 3 is responsive to the detected region information for transferring only such data that have been rewritten, to the display means 4. For this reason, it is possible to reduce the power consumed by the circuit when the data transfer means 3 transfers the image data to the memory 5 in the display means 4.
Embodiment 2
The operation of the write region detecting means 9 will next be described. For instance, it is assumed that, in a certain frame period, data a, b, and c are respectively written in the addresses (x1, y1), (x2, y2), (x3, y3) in the graphics memory 2 as shown in
x1<x2<x3, and
y2<y1<y3.
Moreover, a, b, and c represent image or character data, and are for example positive values representing R, G and B data. Furthermore, the vertical direction minimum value (minimum vertical direction address) and the vertical direction maximum value (maximum vertical direction address) among the detected addresses are respectively denoted by Ymin and Ymax. The procedure for finding Ymin and Ymax is shown in
First, the initial values of Ymin and Ymax are set such that Ymin=M-1, and Ymax=0 (S11). Next, when writing in the graphic memory 2 by means of the image data writing means 1 is performed (S12), the write region detecting means 9 compares the write addresses in accordance with the signals supplied via the address bus and the control signal lines, and performs updating if necessary (S13). This operation is continued until the image data writing means 1 issues a data transfer command (S14). As a result of the above operations the two coordinate values Ymin=y2, and Ymax=y3 are detected (such a case is assumed) immediately before the data transfer command is issued.
When the data transfer command is issued from the image data writing means 1, the write region detecting means 9 outputs the detected addresses Ymin=y2, and Ymax=y3 to the data transfer means 3 (S15). After outputting the detected addresses, the write region detecting means 9 sets the detected addresses to initial values in order to detect the write region of image data for the next screen (frame), and repeats the operation similar to that described above.
When the data transfer means 3 receives the detected addresses Ymin=y2, and Ymax=y3 from the write region detecting means 9, it transfers the image data within the rectangular region formed of the plurality of lines defined by the detected addresses, to the memory 5 (S16). That is, it generates a command setting the write region, as shown in
The display means 4 decodes the input command, and writes the data read from the graphics memory 2 in the region in the memory 5 of from the vertical direction address y2 to y3. When the transfer of data within the detected region is completed, it waits for the next data transfer command, and repeats the operation similar to that described above. In other respects, the operation is similar to Embodiment 1.
As has been described, by means of the write region detecting means 9 which detects the region in the graphics memory 2 in which the image data writing means 1 writes, the rectangular region of from the minimum vertical direction address Ymin to the maximum vertical direction address Ymax among the addresses accessed by the image data writing means 1, and of from the minimum horizontal direction address 0 to the maximum horizontal direction address (N-1) among the addresses of the screen is detected as the write region, and the data transfer means 3 is responsive to the detected region information for transferring only such data that have been rewritten, to the display means 4. For this reason, it is possible to reduce the power consumed by the circuit when the data transfer means 3 transfers the image data to the memory 5 in the display means 4. Moreover, the write region detecting means 9, which detects the accessed region, needs to compare only the vertical direction addresses of the write addresses to detects only the two vertical direction addresses, i.e., the vertical direction minimum value Ymin and the vertical direction maximum value Ymax, so that the configuration of the circuit is simplified and the power consumed by the circuit when the write addresses are detected can be reduced.
Number | Date | Country | Kind |
---|---|---|---|
2000-147272 | May 2000 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
5408247 | Enomoto et al. | Apr 1995 | A |
5736981 | Nobutani et al. | Apr 1998 | A |
5838291 | Ohshima et al. | Nov 1998 | A |
5914699 | Imamura | Jun 1999 | A |
6014133 | Yamakado et al. | Jan 2000 | A |
6043803 | Shimizu | Mar 2000 | A |
6125432 | Hanami et al. | Sep 2000 | A |
6233658 | Tamura | May 2001 | B1 |
6243082 | Konishi | Jun 2001 | B1 |
6295053 | Tsai et al. | Sep 2001 | B1 |
6300964 | Intihar | Oct 2001 | B1 |
6339422 | Kuwajima et al. | Jan 2002 | B1 |
6369810 | Ijntema | Apr 2002 | B1 |
6466193 | Anai | Oct 2002 | B1 |
6577318 | Doi | Jun 2003 | B1 |
Number | Date | Country |
---|---|---|
0 613 115 | Aug 1994 | EP |
0726557 | Aug 1996 | EP |
01011087 | Jun 2000 | EP |
WO0002189 | Jan 2000 | WO |
Number | Date | Country | |
---|---|---|---|
20010043206 A1 | Nov 2001 | US |