Display controller and display system

The display controller efficiently manages image data compression and rotation by using block-based storage and decoding, enhancing compression rates and reducing buffer requirements for image processing devices.

JP2024169890AInactive Publication Date: 2024-12-06SEIKO EPSON CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023086728
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-05-26
Publication Date
2024-12-06
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing image processing devices compress image data pixel by pixel, resulting in low compression rates and often insufficient buffer capacity in the frame buffer of a single IC, especially when dealing with varying image sizes.

Method used

Implement a display controller with a compressed image buffer that stores compressed image data in blocks, a frame buffer that writes and reads data based on image rotation angles, and decoding units to manage the storage and rotation of image data efficiently.

Benefits of technology

The solution allows for higher compression rates and reduces the required buffer size, enabling efficient image rotation and output without wasting buffer capacity, and supports real-time generation of arbitrarily rotated images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024169890000001_ABST
    Figure 2024169890000001_ABST
Patent Text Reader

Abstract

To provide a display controller, etc. that are capable of implementing compression / decompression and rotation processing of image data while reducing buffer capacity.SOLUTION: A display controller 1 includes a compressed image buffer 30, a frame buffer 40, a compressed image buffer control unit 10, a decoding unit 50, a decoded image buffer 70, and a decoded image buffer control unit 60. The compressed image buffer 30 stores image data obtained by compressing image data of one frame for each of a plurality of blocks. The compressed image data for each block of the compressed image buffer 30 is written into the frame buffer 40, whereby compressed image data for a plurality of blocks are stored. The compressed image buffer control unit 10 controls a writing direction and a reading direction of the frame buffer 40 according to an image rotation angle. The decoded image buffer control unit 60 controls a writing direction to the decoded image buffer 70 according to the image rotation angle.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a display controller, a display system, and the like. [Background technology]

[0002] Patent Document 1 discloses an image processing device that compresses and expands image data and rotates the image data. The image processing device has a control unit and a storage buffer that combine the functions of compressing and expanding image data in block units and rotating the image data in block units. The image data is compressed and expanded in block units, and at the same time, the image data is rotated in block units. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2004-328571 A Summary of the Invention [Problem to be solved by the invention]

[0004] In the image processing device disclosed in Patent Document 1, the image compression process is performed for each pixel, so the compression rate is not high. Therefore, depending on the size of the image data, the frame buffer size of the IC alone may not have enough buffer capacity. [Means for solving the problem]

[0005] One aspect of the present disclosure relates to a display controller including: a compressed image buffer in which compressed image data obtained by compressing image data for one frame on a block-by-block basis is stored; a frame buffer in which the compressed image data for each block of the compressed image buffer is written to store the compressed image data for the multiple blocks; a compressed image buffer control unit that controls the write direction and read direction of the frame buffer in accordance with an image rotation angle; a decoding unit that decodes the compressed image data for each block read from the frame buffer; a decoded image buffer in which the decoded decoded image data for each block is stored; and a decoded image buffer control unit that controls the write direction to the decoded image buffer in accordance with the image rotation angle.

[0006] Another aspect of the present disclosure relates to a display system including the display controller described above and a processing device that outputs the image data to the display controller.

[0007] Another aspect of the present disclosure relates to a display system including the display controller described above and a processing device that outputs the compressed image data to the display controller, the processing device including a compression unit that compresses the image data of the one frame into the compressed image data of the multiple blocks. [Brief description of the drawings]

[0008] [Figure 1] FIG. 2 is a diagram showing an example of the configuration of a display controller according to the embodiment. [Diagram 2] FIG. 2 is a block diagram showing a specific example of the configuration of a display controller according to the embodiment. [Diagram 3] 11A and 11B are diagrams for explaining the order of writing to and reading from a frame buffer in 0-degree rotated display. [Figure 4] 11A and 11B are diagrams for explaining reading of image data from a frame buffer in 0-degree rotated display. [Diagram 5]1A and 1B are diagrams for explaining the order of writing to and reading from a frame buffer in a 90-degree rotated display; [Figure 6] 1A and 1B are diagrams for explaining the order of writing to and reading from a frame buffer in a 90-degree rotated display; [Figure 7] 11A and 11B are diagrams for explaining reading of image data from a frame buffer in a 90-degree rotated display; [Figure 8] 11A and 11B are diagrams for explaining the order of writing to and reading from a frame buffer in a 180-degree rotated display; [Figure 9] 11A and 11B are diagrams for explaining the order of writing to and reading from a frame buffer in a 180-degree rotated display; [Figure 10] 11A and 11B are diagrams for explaining reading of image data from a frame buffer in 180-degree rotated display. [Figure 11] 11A and 11B are diagrams for explaining the order of writing to and reading from a frame buffer in 270-degree rotated display. [Figure 12] 11A and 11B are diagrams for explaining the order of writing to and reading from a frame buffer in 270-degree rotated display. [Figure 13] 11A and 11B are diagrams for explaining reading of image data from a frame buffer in 270-degree rotated display. [Figure 14] FIG. 1 shows an example of a conventional configuration. [Figure 15] FIG. 1 is a diagram showing a first configuration example of a display system according to an embodiment of the present invention. [Figure 16] FIG. 4 is a diagram showing a second configuration example of the display system of the present embodiment. [Figure 17] FIG. 4 is a diagram showing a specific configuration example of the second configuration example of the display system of the present embodiment. [Figure 18] FIG. 4 is a diagram showing a detailed configuration example of a second configuration example of the display system of the present embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] The present embodiment will be described below. Note that the present embodiment described below does not unduly limit the contents of the claims. Furthermore, not all of the configurations described in the present embodiment are necessarily essential configurations.

[0010] 1. Display Controller 1 is a block diagram showing an example of the configuration of a display controller 1 of this embodiment. The display controller 1 of this embodiment includes a compressed image buffer 30, a frame buffer 40, a compressed image buffer control unit 10, a decoding unit 50, a decoded image buffer 70, and a decoded image buffer control unit 60.

[0011] The compressed image buffer control unit 10 controls the compressed image buffer 30, the frame buffer 40, and the decoding unit 50. The compressed image buffer control unit 10 controls the order in which image data stored in the compressed image buffer 30 is written to the frame buffer 40 and the order in which data is read from the frame buffer 40, depending on, for example, the rotation angle of the output image of the display controller 1.

[0012] The compressed image buffer 30 is a buffer for writing compressed image data to the frame buffer 40. The compressed image buffer 30 stores compressed image data under the control of the compressed image buffer control unit 10, and outputs the compressed image data to, for example, the frame buffer 40. Specifically, when image data of m pixels x m pixels (m is an integer of 2 or more) is one block, the compressed image buffer 30 stores image data compressed in units of blocks. In the following, an example in which one block is 16 pixels x 16 pixels will be described, but this embodiment is not limited to this, and image data may be compressed in units of blocks of a smaller or larger size. The image data compressed for each block is output from, for example, the compression unit 20 described in FIG. 2 described later. In this way, the compressed image buffer 30 stores compressed image data obtained by compressing image data in units of blocks.

[0013] The frame buffer 40 stores one frame's worth of image data in a data format compressed in units of blocks. Specifically, the frame buffer 40 stores the compressed image data output from the compressed image buffer 30 in a writing order according to the rotation angle of the output image of the display controller 1, based on the control of the compressed image buffer control unit 10.

[0014] The decoding unit 50 restores the image data. The decoding unit 50 decodes the compressed image data output from the frame buffer 40 under the control of the compressed image buffer control unit 10. Then, the decoding unit 50 outputs the decoded image data to the decoded image buffer 70.

[0015] The decoded image buffer control unit 60 controls the decoded image buffer 70. The decoded image buffer control unit 60 controls the write position of each pixel in each block, for example, for the decoded image data output by the decoding unit 50, according to the rotation angle of the output image of the display controller 1. In this way, the decoded image buffer control unit 60 controls the write direction into the decoded image buffer 70 according to the image rotation angle. The decoded image buffer control unit 60 and the above-mentioned compressed image buffer control unit 10 can be realized by, for example, an ASIC (Application Specific Integrated Circuit) or a processor such as a CPU.

[0016] The decoded image buffer 70 is a buffer for image data decoded by the decoding unit 50. The image data decoded by the decoding unit 50 is written into the decoded image buffer 70 under the control of the decoded image buffer control unit 60. Then, under the control of the decoded image buffer control unit 60, the decoded image data is output as an output image of the display controller 1. The decoded image buffer 70 and the above-mentioned compressed image buffer 30 and frame buffer 40 can be configured, for example, by a VRAM (Video Random Access Memory) or the like.

[0017] 1, the display controller 1 may include a compression unit 20. The compression unit 20 compresses the image data input to the display controller 1, and outputs the compressed image data to a compressed image buffer 30.

[0018] As described above, the display controller 1 of the present embodiment includes a compressed image buffer 30, a frame buffer 40, a compressed image buffer control unit 10, a decoding unit 50, a decoded image buffer 70, and a decoded image buffer control unit 60. The compressed image buffer 30 stores compressed image data obtained by compressing image data of one frame for each of a plurality of blocks. The compressed image data of each block of the compressed image buffer 30 is written to the frame buffer 40, whereby compressed image data of a plurality of blocks is stored. The compressed image buffer control unit 10 controls the write direction and read direction of the frame buffer 40 according to the image rotation angle. The decoding unit 50 decodes the compressed image data of each block read from the frame buffer 40. The decoded image buffer 70 stores the decoded image data of each block that has been decoded. The decoded image buffer control unit 60 controls the write direction to the decoded image buffer 70 according to the image rotation angle.

[0019] In this way, image data input to the display controller 1 is stored in the compressed image buffer 30 as compressed image data compressed for each block. Then, based on the control of the compressed image buffer control unit 10, the image data is written in units of blocks to the frame buffer 40 according to the rotation angle of the image. Therefore, since the input image data is written to the compressed image buffer 30 and the frame buffer 40 in a compressed data format, the storage capacity of the frame buffer 40 can be reduced, and the display controller 1 can be made smaller. The image data stored in the frame buffer 40 is decoded by the decoding unit 50, and based on the control of the decoded image buffer control unit 60, it is written to the decoded image buffer 70 according to the rotation angle of the image. Therefore, the decoded image data stored in the decoded image buffer 70 can be output from the display controller 1.

[0020] FIG. 2 is a block diagram showing a specific example of the configuration of the display controller 1 of this embodiment. The configuration example shown in FIG. 2 includes a selector 80 in addition to the components of the configuration example shown in FIG. 1. In addition, in the configuration example shown in FIG. 2, the decoded image buffer 70 includes a first buffer 71 and a second buffer 72. Based on the control of the decoded image buffer control unit 60, the selector 80 selects either the image data output by the first buffer 71 or the image data output by the second buffer 72 from the decoded image data output from the decoded image buffer 70, and outputs the selected image data as output data of the display controller 1. Hereinafter, a specific operation of the display controller 1 shown in FIG. 2 will be described.

[0021] First, the dot clock signal DCK, the synchronous signal VS, the synchronous signal HS, the data enable signal DE, and the image signals RD, GD, and BD are input to the compression unit 20 as input signals. Of these input signals, the dot clock signal DCK is also input to the compressed image buffer control unit 10, the compressed image buffer 30, the frame buffer 40, the decoding unit 50, the decoded image buffer control unit 60, the first buffer 71, and the second buffer 72. Of the input signals, the synchronous signal VS, the synchronous signal HS, and the data enable signal DE are also input to the compressed image buffer control unit 10. The dot clock signal DCK is a clock signal that is the reference for the operation in the display controller 1, and all signals are output in synchronization with this signal. The data enable signal DE is a signal that indicates the valid portion of the image signals RD, GD, and BD.

[0022] The compression unit 20 compresses image data based on an input signal. Here, the compression unit 20 compresses the input signal in units of a predetermined block size, for example, 16 pixels x 16 pixels. The compression format may be either lossless compression or lossy compression. The compression unit 20 outputs a control signal WL and a signal DC to the compressed image buffer 30. The control signal WL is a write control signal to the compressed image buffer 30, and the signal DC is a signal of compressed image data output from the compression unit 20. For example, when the compression unit 20 compresses image data using lossy compression, the capacity required as the buffer size of the frame buffer 40 is reduced to about 1 / 3 to 1 / 5.

[0023] The compressed image buffer control unit 10 outputs address signals WLa and RLa to the compressed image buffer 30 based on the dot clock signal DCK, the synchronization signal VS, the synchronization signal HS, and the data enable signal DE. The address signal WLa is a write address to the compressed image buffer 30, and the address signal RLa is a read address from the compressed image buffer 30. The compressed image buffer control unit 10 also outputs address signals WFa, address signal RFa, and signal WF to the frame buffer 40. The address signal WFa is a write address to the frame buffer 40, the address signal RFa is a read address from the frame buffer 40, and the control signal WF is a write control signal to the frame buffer 40. The compressed image buffer control unit 10 also outputs synchronization signals VSdi and HSdi to the decoding unit 50. The synchronization signal VSdi is a vertical synchronization signal generated by the compressed image buffer control unit 10, and the synchronization signal HSdi is a horizontal synchronization signal generated by the compressed image buffer control unit 10. In this way, the compressed image buffer control unit 10 controls the compressed image buffer 30, the frame buffer 40, and the decoding unit 50.

[0024] The compressed image buffer 30 outputs a signal DL to the frame buffer 40 based on the dot clock signal DCK, the control signal WL, the signal DC, the address signal WLa, and the address signal RLa. The signal DL is a compressed image data signal output from the compressed image buffer 30.

[0025] Based on the dot clock signal DCK, the control signal WF, the address signal WFa, and the address signal RFa, the frame buffer 40 outputs a signal DF to the decoding unit 50. The signal DF is a compressed image data signal output from the frame buffer 40.

[0026] Based on the dot clock signal DCK, the synchronizing signals VSdi, HSdi, and the signal DF, the decoding unit 50 outputs the synchronizing signals VSdo, HSdo, and the data enable signal DEdo to the decoded image buffer control unit 60, and outputs the image signals RDd, GDd, and BDd to the decoded image buffer 70. The synchronizing signal VSdo is a vertical synchronizing signal generated by the decoding unit 50, and the synchronizing signal HSdo is a horizontal synchronizing signal generated by the decoding unit 50. The data enable signal DEdo is a data enable signal output from the decoding unit 50. The image signal RDd is an output signal of red image data decoded by the decoding unit 50, the signal GDd is an output signal of green image data decoded by the decoding unit 50, and the signal BDd is an output signal of blue image data decoded by the decoding unit 50.

[0027] The decoded image buffer 70 outputs the synchronizing signals VSo, HSo, and data enable signal DEo as output signals based on the dot clock signal DCK, the synchronizing signals VSdo, HSdo, and the data enable signal DEdo, and outputs the signal SE to the selector 80. Then, the decoded image buffer 70 outputs the address signal Wa and the address signal Ra to the first buffer 71 and the second buffer 72 of the decoded image buffer 70, and outputs the control signal Wod to the first buffer 71 and the control signal Wev to the second buffer 72. The synchronizing signal VSo is a vertical synchronizing signal generated by the decoded image buffer control unit 60, and the synchronizing signal HSo is a horizontal synchronizing signal generated by the decoded image buffer control unit 60. The data enable signal DEo is a data enable signal generated by the decoded image buffer control unit 60. The address signal Wa is a signal of a write address to the first buffer 71 and the second buffer 72. The control signal Wod is a write control signal to the first buffer 71, and the control signal Wev is a write control signal to the second buffer 72. The address signal Ra is a read address from the first buffer 71 and the second buffer 72. The signal SE is an output selection signal for the first buffer 71 and the second buffer 72.

[0028] The first buffer 71 of the decoded image buffer 70 outputs image signals RDod, GDod, and BDod to the selector 80 based on the dot clock signal DCK, the address signals Wa, Ra, the control signal Wod, and the image signals RDd, GDd, and BDd. The image signal RDod is the red image data signal from the first buffer 71, the image signal GDod is the green image data signal from the first buffer 71, and the image signal BDod is the blue image data signal from the first buffer 71.

[0029] The second buffer 72 of the decoded image buffer 70 outputs image signals RDev, GDev, and BDev to the selector 80 based on the dot clock signal DCK, the address signals Wa, Ra, the control signal Wev, and the image signals RDd, GDd, and BDd. The image signal RDev is the red image data signal output from the second buffer 72, the image signal GDev is the signal from the second buffer 72, and the image signal BDev is the blue image signal output from the second buffer 72.

[0030] Based on the signal SE and the image signals RDod, GDod, BDod, RDd, GDd, and BDd, the selector 80 outputs the image signals RDo, GDo, and BDo as output signals of the display controller 1. The red image signals RDo, GDo, and BDo are the red image data, green image data, and blue image data signals output from the selector 80, respectively.

[0031] The display controller 1 of this embodiment shown in FIG. 2 includes a compression section 20 that compresses one frame of image data into compressed image data of a plurality of blocks.

[0032] In this way, one frame of image data can be compressed into multiple blocks of compressed image data, making it possible to write and read one block of image using a small amount of storage space after compression.

[0033] 3 and 4 are diagrams for explaining specific operations when the output image of the display controller 1 is displayed with 0 degree rotation. Fig. 3 shows an example of the order of writing and reading from the compressed image buffer 30 to the frame buffer 40 when the image of the first frame is "A" and the image of the second frame is "B".

[0034] FIG. 3 (A1) shows the order in which the image of the first frame is written from the compressed image buffer 30 to the frame buffer 40. First, under the control of the compressed image buffer control unit 10, the image data compressed by the compression unit 20 is written to the compressed image buffer 30. The compressed image buffer 30 stores compressed image data for one block line. For example, if one block is 16 pixels x 16 pixels, the compressed image data for one block line corresponds to image data for 16 lines before compression. In the following, one block line is referred to as one line for simplicity of explanation. Then, under the control of the compressed image buffer control unit 10, the compressed image data for each line is written sequentially to the frame buffer 40, with the compressed image buffer 30 being FIFO (First In, First Out). Here, the compressed image data is written in the direction of the arrow shown on the right side of FIG. 3 (A1). When the output image is displayed with 0 degree rotation, in the first frame, the first line, the second line, the third line, ... are written sequentially from the top of the screen, and writing is performed up to the bottom line. In this way, as shown on the right side of (A1), "A" is written into the frame buffer 40 as the image of the first frame.

[0035] (A2) in FIG. 3 shows the order of reading "A" of the first frame and writing "B" of the second frame. As in (A1), the compressed image data of each line constituting the image of the second frame is written in sequence to the frame buffer 40, using the compressed image buffer 30 as a FIFO, under the control of the compressed image buffer control unit 10. However, just before writing the second frame, the compressed image data of the first frame written in the frame buffer 40 is read and then the second frame is written. That is, in (A2), the compressed image data of the first frame written in the first line on the top of the frame buffer 40 is read. Then, when the reading of the compressed image data of the first frame written in the first line is completed, the compressed image data of the second frame is written. Next, the compressed data of the first frame written in the second line from the top is read, and when the reading of the first frame is completed, the compressed image data of the second frame is written in the second line from the top. The same applies to the third line and onwards. In this way, the writing of the next frame is performed after the reading of the compressed image data of the previous frame is completed. In this way, as shown on the left side of (A2), "A" written in the first frame is read out and "B", the image of the second frame, is overwritten. Subsequent operations are not shown in FIG. 3, but are the same as those shown in (A2). In this way, the image of each frame is rotated 0 degrees, that is, overwritten without any rotation processing. If n is a natural number, the compressed image data of the (n+1)th frame is overwritten on the block of the nth frame that has been read out. This means that the frame buffer 40 only needs to be the size of one screen.

[0036] In the display controller 1 of this embodiment, the capacity of the area in which the compressed data size of one block is written is set to a constant value. Specifically, in this embodiment, the capacity of the area in which one block of compressed image data is written is set to the capacity when the compression rate of the image is theoretically the lowest, that is, when the capacity of the compressed image data is theoretically the maximum. In this way, even if the compressed data size of each block changes depending on the content of the image of that block, it is possible to always suppress the capacity of the area in which one block of compressed image data is written to less than the capacity of the area in which one block of compressed image data is written. Therefore, data only needs to be transferred in units of a constant data size at all times, and read control is simplified.

[0037] In the display controller 1 of this embodiment, the storage capacity of the frame buffer 40 for storing one block of compressed image data is fixed.

[0038] In this way, the storage capacity of the area in which one block of compressed image data is stored can be set to the theoretically maximum data size for one block of compressed image data. Therefore, when reading out one line of image data from frame buffer 40, it is possible to always read out a constant data size without being affected by the size of one block of compressed image data, and address calculations during reading can be simplified.

[0039] FIG. 4 is a diagram illustrating the order of writing image data from the frame buffer 40 to the decoded image buffer 70, and reading image data from the decoded image buffer 70, using as an example the case where “A” is written to the frame buffer 40 as the first frame image.

[0040] (B1) of FIG. 4 shows the decoding of the compressed image data of the first line and writing to the decoded image buffer 70. First, the image data compressed and stored in the first line of the frame buffer 40 in block units is input to the decoding unit 50. The decoding unit 50 decodes the image data of one line compressed in block units. The image data of the first line decoded by the decoding unit 50 is written to the first buffer 71 of the decoded image buffer 70. Here, the decoding unit 50 performs a rotation process within the block of the image to be written to the decoded image buffer 70 according to the rotation angle of the image. FIGS. 3 and 4 are diagrams for explaining the operation when the output image of the display controller 1 is displayed with 0 degree rotation, and the decoding unit 50 does not need to perform a rotation process of the image data in each block. And the image data is not written to the second buffer 72 of the decoded image buffer 70.

[0041] (B2) in FIG. 4 shows the decoding of the second line of image data and writing it to the decoded image buffer 70. First, the image data stored in the second line of the frame buffer 40 is input to the decoding unit 50. The decoding unit 50 decodes one line of image data. The image data for the second line decoded by the decoding unit 50 is written to the second buffer 72 of the decoded image buffer 70. As in (B1), when the decoded image data is written to the second buffer 72, the image data in each block is written without rotation. And no image data is written to the first buffer 71 of the decoded image buffer 70.

[0042] 4(B3) shows the decoding of the third line of image data and writing it to the decoded image buffer 70. As in (B1) and (B2), first, the image data stored in the third line of the frame buffer 40 is input to the decoding unit 50, and one line of image data is decoded in the decoding unit 50. The image data for the third line decoded by the decoding unit 50 is then written to the first buffer 71 without rotation, and no image data is written to the second buffer 72.

[0043] In this manner, decoding unit 50 performs decoding in the order of the first line, second line, third line, ... of frame buffer 40. Then, the decoded image data of the odd-numbered lines is written to first buffer 71 of decoded image buffer 70, and the decoded image data of the even-numbered lines is written to second buffer 72 of decoded image buffer 70. In this manner, "A" in the first frame is displayed rotated 0 degrees.

[0044] To add a bit more about Figure 4, during 0 degree rotation, first, as shown in (B1), when reading the first line from frame buffer 40, 16 lines of decoded data are written to first buffer 71. Next, as shown in (B2), when reading the second line from frame buffer 40, 16 lines of decoded data are written to second buffer 72 while the data from first buffer 71 is output. When reading the third line from frame buffer 40, 16 lines of decoded data are written to first buffer 71 while the data from second buffer 72 is output. After that, (B2) and (B3) are alternately repeated until the final line.

[0045] 5 to 7 are diagrams for explaining specific operations when the output image of the display controller 1 is displayed rotated by 90 degrees. Figures 5 and 6 show an example of the order of writing and reading from the compressed image buffer 30 to the frame buffer 40, where the image of the first frame is "A", the image of the second frame is "B", the image of the third frame is "C", and the image of the fourth frame is "D".

[0046] FIG. 5C1 shows the order in which the compressed image data of the first frame is written from the compressed image buffer 30 to the frame buffer 40. When the output image is rotated by 90 degrees, the compressed image data of one line compressed by the compression unit 20 is written to the compressed image buffer 30 under the control of the compressed image buffer control unit 10, basically in the same manner as when the output image is rotated by 0 degrees. Then, the compressed image data of each line constituting one frame is written to the frame buffer 40 in sequence, with the compressed image buffer 30 being FIFO (First In, First Out). Here, when the image is rotated by 90 degrees, the compressed image data is written in the frame buffer 40 in the direction of the arrow, for example, as shown in FIG. 5C1. That is, the first line is written from the lower left block of the frame buffer 40 toward the upper side. The write direction when the compressed image data compressed by the compression unit 20 is written to the frame buffer 40 is called the first write direction. Then, the second line, the third line, ... are written in sequence. In this way, as shown on the right side of (C1), "A" rotated by 90 degrees is written as the first frame image into frame buffer 40. Note that when the compressed image data is written into frame buffer 40, the rotation process is performed in block units, and no rotation is performed within a block.

[0047] (C2) in FIG. 5 shows the order of reading "A" in the first frame and writing "B" in the second frame. As in the case of displaying with 0 degree rotation, the compressed data of the first frame written in the frame buffer 40 is read and then the second frame is written under the control of the compressed image buffer control unit 10. When displaying the output image rotated by 90 degrees, reading is performed from the top line of the frame buffer 40 as shown by the arrow of the frame buffer 40 in (C2). The read direction of the first frame image shown in (C2) is called the first read direction with respect to the first write direction, which is the write direction of the first frame image. When displaying the output image rotated by 90 degrees, the first read direction shown in (C2) is rotated 90 degrees clockwise with respect to the first write direction shown in (C1). That is, the first read direction is the direction from the left side to the right side of the first line of the frame buffer 40. In this way, the "A" written with a 90 degree rotation in (C1) is read out as "A" rotated by 90 degrees. Here, first, when the reading of the compressed image data of the first frame written in the first line is completed, the compressed image data of the second frame is overwritten on the first line that was read. Then, the compressed data of the first frame written in the second line from the top is read in the second read direction, that is, in the direction from the left to the right of the first line, and when the reading of the first frame is completed, the compressed image data of the second frame is overwritten on the second line that was read. The same applies to the third line and onwards. In this way, after the reading of the compressed image data of the previous frame is completed, the compressed image data of the next frame is overwritten. In this way, as shown on the right side of (C2), "A" rotated 90 degrees is read as the image of the first frame. "B" overwritten as the image of the second frame is written in the second write direction, that is, in the direction from the left to the right of the top line, and is written with 0 degree rotation as shown on the right side of (C2). Thus, in this embodiment, the second write direction is the horizontal direction from left to right as shown in the frame buffer 40 in (C2), which is the same direction as the first read direction.

[0048] FIG. 6C3 shows the order of reading "B" of the second frame and writing "C" of the third frame. As in FIG. 5C2, immediately before writing the third frame, the compressed data of the second frame written in the frame buffer 40 is read and then the third frame is written. When reading "B" of the second frame and writing "C" of the third frame, as shown by the arrow of the frame buffer 40 in FIG. 6C3, reading is performed from the rightmost column of the frame buffer 40. That is, by reading "B" of the second frame with a direction rotated 90 degrees counterclockwise with respect to the second writing direction as the second reading direction, "B" written with 0 degree rotation in FIG. 5C2 is read as "B" rotated 90 degrees. And "C" to be overwritten as the image of the third frame is written from the first column from the right, and is written with 270 degree rotation as shown on the right side of FIG. 6C3. That is, the third write direction is a vertical direction from top to bottom. And, as shown in the frame buffer 40 of (C3), the third write direction is a top to bottom direction, which is the same direction as the second read direction.

[0049] (C4) in FIG. 6 shows the order of reading "C" in the third frame and writing "D" in the fourth frame. As in (C3), the compressed data of the third frame written in the frame buffer 40 is read, and then the fourth frame is written. When reading "C" in the third frame and writing "D" in the fourth frame, reading is performed from the bottom line of the frame buffer 40 as shown by the arrow of the frame buffer 40 in (C4). That is, "C" is read with a third read direction tilted 90 degrees counterclockwise with respect to the third write direction. In this way, "C" written at 270 degrees rotation in (C3) is read as "C" rotated 90 degrees. Then, "D" overwritten as the image of the fourth frame is written from the bottom line of the frame buffer 40, and is written at 180 degrees rotation as shown on the right side of (C4). Subsequent operations are not shown in FIG. 5, but are the same as those shown in (C2) to (C4). In this way, the compressed image of each frame is rotated 90 degrees and overwritten. The difference between the writing method to the frame buffer 40 when rotating 0 degrees and when rotating 90 degrees is that the scanning direction when reading data is rotated 90 degrees clockwise relative to the scanning direction when writing data. As a result, the read data is output in an order rotated 90 degrees counterclockwise.

[0050] In this manner, in this embodiment, where n is a natural number, the compressed image data of the (n+1)th frame is overwritten on the block of the nth frame for which reading has been completed. When an image is to be displayed rotated by 90 degrees, the first read direction of the nth frame is rotated 90 degrees clockwise relative to the first write direction of the nth frame, thereby rotating the output image by 90 degrees.

[0051] As described above, the compressed image buffer control unit 10 of this embodiment controls writing of the compressed image data of the nth frame to the frame buffer 40 in the first write direction. The compressed image buffer control unit 10 also controls reading of the compressed image data of the nth frame from the frame buffer 40 in the first read direction rotated by an angle corresponding to the image rotation angle with respect to the first write direction.

[0052] In this way, in the operation of reading out the compressed image data of the nth frame while overwriting the compressed image data of the n+1th frame, the image of the nth frame can be rotated at a fixed angle by a process of rotating the first read direction by a predetermined angle relative to the first write direction.

[0053] The compressed image buffer control unit 10 of this embodiment performs control to write compressed image data of the (n+1)th frame into the frame buffer 40 in a second write direction that is the same as the first read direction.

[0054] In this way, the order in which the nth frame image is read out and the order in which the nth+1th frame image is written are the same in the frame buffer 40. Therefore, by reading out the nth frame image before writing the nth frame image for each block, it is possible to simultaneously read out the nth frame image and write the nth+1th frame image for each line.

[0055] In this way, the compressed image data of the nth frame stored in the frame buffer 40 has been written to the decoded image buffer 70, and the compressed image data of the (n+1)th frame is overwritten in an area storing data that can be deleted without causing any problems from the frame buffer 40. Therefore, the buffer area of ​​the frame buffer 40 can be used without waste.

[0056] FIG. 7 is a diagram illustrating the order of writing image data from the frame buffer 40 to the decoded image buffer 70, and reading image data from the decoded image buffer 70, using as an example the case where “A” is written to the frame buffer 40 as the first frame image.

[0057] (D1) in Fig. 7 shows the decoding of the first line of compressed image data and writing it to the decoded image buffer 70. Similar to the operation described in Fig. 4, the compressed image data compressed in block units and stored in the first line of the frame buffer 40 is input to the decoding unit 50. The decoding unit 50 decodes the one line of compressed image data compressed in block units. Then, under the control of the decoded image buffer control unit 60, the image data for the first line decoded by the decoding unit 50 is written to the first buffer 71 of the decoded image buffer 70.

[0058] Here, FIG. 7 is a diagram for explaining the operation when the output image of the display controller 1 is rotated by 90 degrees and displayed. When the decoded image data is written to the first buffer 71 as shown in (D1), the image data in each block is rotated by 90 degrees by the decoding unit 50 and written to the first buffer 71 of the decoded image buffer 70. If the output data of the frame buffer 40 is decoded and written to the decoded image buffer 70 as is, the data is output in a state rotated 90 degrees clockwise for each block with respect to the read direction, so when writing to the decoded image buffer 70, the data is rotated 90 degrees counterclockwise and written to the decoded image buffer 70. That is, as shown in (D1), the decoded image data of each block is written in a direction rotated 90 degrees counterclockwise with respect to the read direction from left to right. In this way, the image data is written in a write direction rotated by an angle corresponding to the image rotation angle with respect to the read direction. The same process is performed for (D2) and (D3) described later.

[0059] (D2) in Fig. 7 shows the decoding of the second line of compressed image data and writing it to the decoded image buffer 70. First, the compressed image data stored in the second line of the frame buffer 40 is input to the decoding unit 50. In the decoding unit 50, one line of compressed image data is decoded, and the image data in the block is rotated by 90 degrees. Then, under the control of the decoded image buffer control unit 60, the image data for the second line decoded by the decoding unit 50 is written to the second buffer 72 of the decoded image buffer 70.

[0060] 7 (D3) shows the decoding of the third line of compressed image data and writing it to the decoded image buffer 70. As in (D1) and (D2), first, the compressed image data stored in the third line of the frame buffer 40 is input to the decoding unit 50, which decodes one line of image data and rotates the image data within the block by 90 degrees. The image data for the third line that has been rotated by 90 degrees is then written to the first buffer 71.

[0061] 4, decoding unit 50 decodes the first line, second line, third line, ... of frame buffer 40 in that order, and the decoded image data of the odd-numbered lines is written to first buffer 71 of decoded image buffer 70, and the decoded image data of the even-numbered lines is written to second buffer 72 of decoded image buffer 70. In this manner, "A", which is the image of the first frame, is rotated 90 degrees in block units, and is also rotated 90 degrees within each block. Therefore, "A", which is the image of the first frame, is rotated 90 degrees and output from display controller 1.

[0062] In this way, the display controller 1 of this embodiment writes the decoded image data of each block into the decoded image buffer 70 in a write direction rotated by an angle corresponding to the image rotation angle with respect to the read direction.

[0063] In this manner, the decoded image buffer control unit 60 of this embodiment writes the decoded image data of each block into the decoded image buffer 70 in a write direction rotated by an angle corresponding to the image rotation angle with respect to the read direction.

[0064] In this way, the decoded image data of each block is written after being rotated by an angle corresponding to the image rotation angle with respect to the read direction, so that the image in the block can be read after being rotated by the image rotation angle.

[0065] The decoded image buffer 70 of this embodiment includes a first buffer 71 and a second buffer 72. When the decoded image buffer control unit 60 writes decoded image data to the first buffer 71, the decoded image buffer 70 of this embodiment reads out decoded image data from the second buffer 72.

[0066] In this way, under the control of the decoded image buffer control unit 60, while decoded image data is being written to the first buffer 71, the decoded image data can be read from the second buffer 72. Therefore, it becomes possible to constantly read out the decoded image data using either the first buffer 71 or the second buffer 72.

[0067] Figures 8, 9, and 10 are diagrams for explaining specific operations when the output image of the display controller 1 is displayed rotated 180 degrees. Figures 8 and 9 show an example of the order of writing and reading from the compressed image buffer 30 to the frame buffer 40, where the image of the first frame is "A", the image of the second frame is "B", and the image of the third frame is "C".

[0068] FIG. 8 (E1) shows the order in which the compressed image data of the first frame is written from the compressed image buffer 30 to the frame buffer 40. As in the cases of FIG. 3, FIG. 5, and FIG. 6, first, one line of compressed image data compressed by the compression unit 20 is written to the compressed image buffer 30. Then, the compressed image data of each line constituting one frame is written sequentially to the frame buffer 40, using the compressed image buffer 30 as a FIFO. Here, as shown in FIG. 8 (E1), the compressed image data is written in the frame buffer 40, for example, in the direction of the arrow. That is, writing is performed, for example, from the top 1st line of the frame buffer 40 to the 1st line. Then, writing is performed sequentially in the 2nd line, 3rd line, .... In this way, as shown on the right side of (E1), "A" rotated 0 degrees is written to the frame buffer 40 as the image of the first frame.

[0069] FIG. 8 (E2) shows the order of reading "A" of the first frame and writing "B" of the second frame. As in the operations described in FIG. 3, FIG. 5, and FIG. 6, the compressed data of the first frame written in the frame buffer 40 is read and then the second frame is written. When displaying at 180 degrees rotation, reading is performed from the bottom line of the frame buffer 40 as shown by the arrow of the frame buffer 40 in FIG. 8 (E2). When displaying the output image at 180 degrees rotation, the first read direction shown in (E2) is rotated 180 degrees clockwise with respect to the first write direction shown in (E1). In this way, by rotating the first read direction 180 degrees clockwise with respect to the first write direction, "A" written at 0 degrees in (E1) is read as "A" rotated 180 degrees. First, when reading of the compressed image data of the first frame written in the bottom line is completed, the compressed image data of the second frame is overwritten on the first line that was read. Next, the compressed data of the first frame written on the second line from the bottom is read, and when reading is complete, the compressed image data of the second frame is overwritten onto the second line that has been read. The same is true for the third line and onwards. In this way, after reading of the compressed image data of the previous frame is completed, the compressed image data of the next frame is overwritten. In this way, as shown on the right side of (E2), "A" rotated 180 degrees is read as the image of the first frame. Here, "B", which is overwritten as the image of the second frame, is written from the bottom line, and is therefore rotated 180 degrees and written as shown on the right side of (E2).

[0070] FIG. 9 (E3) shows the order of reading "B" of the second frame and writing "C" of the third frame. As in FIG. 8 (E2), the compressed data of the second frame written in the frame buffer 40 is read and then the third frame is written. When reading "B" of the second frame and writing "C" of the third frame, reading is performed from the top line of the frame buffer 40 as shown by the arrow of the frame buffer 40 in FIG. 9 (E3). In this way, "B" written with 180 degrees rotation in FIG. 8 (E2) is read as "B" rotated 180 degrees. And, "C" overwritten as the image of the third frame is written with 0 degrees rotation as shown on the right side of FIG. 9 (E3). Subsequent operations are not shown in FIG. 8 and FIG. 9, but are the same as those shown in (E2) and (E3). In this way, the image of each frame is rotated 180 degrees and overwritten.

[0071] The difference between the write operation to frame buffer 40 when rotating by 0 degrees and when rotating by 180 degrees is that the scan direction when reading data is rotated 180 degrees clockwise with respect to the scan direction when writing data. As a result, the read data is rotated 180 degrees counterclockwise and output. When displaying at 180 degrees rotation, the output image can be rotated 180 degrees by rotating the first read direction of the nth frame 180 degrees clockwise with respect to the first write direction of the nth frame.

[0072] FIG. 10, like FIG. 4 and FIG. 7, is a diagram illustrating the operation of writing image data from the frame buffer 40 to the decoded image buffer 70, and reading image data from the decoded image buffer 70, using an example in which “A” is written to the frame buffer 40 as the image of the first frame.

[0073] (F1) in Fig. 10 shows the decoding of the first line of compressed image data and writing it to the decoded image buffer 70. Similar to the operations described in Figs. 4 and 7, the compressed image data compressed in block units and stored in the first line of the frame buffer 40 is input to the decoding unit 50. The decoding unit 50 decodes the one line of compressed image data compressed in block units. Then, under the control of the decoded image buffer control unit 60, the image data for the first line decoded by the decoding unit 50 is written to the first buffer 71 of the decoded image buffer 70.

[0074] Here, FIG. 10 is a diagram for explaining the operation when the output image of the display controller 1 is rotated 180 degrees and displayed. As shown in (F1), when the decoded image data is written to the first buffer 71, the image data in each block is rotated 180 degrees by the decoding unit 50 and written to the first buffer 71 of the decoded image buffer 70. If the output data of the frame buffer 40 is decoded and written to the decoded image buffer 70 as is, the data is output in a state rotated 180 degrees clockwise for each block with respect to the read direction, so when writing to the decoded image buffer 70, the data is rotated 180 degrees counterclockwise and written to the decoded image buffer 70. That is, as shown in (F1), the decoded image data of each block is written in a direction rotated 180 degrees counterclockwise with respect to the read direction from left to right. In this way, the image data is written in a write direction rotated by an angle corresponding to the image rotation angle with respect to the read direction. The same process is performed for (F2) and (F3) described later. Then, the image data is not written to the second buffer 72 of the decoded image buffer 70. In FIG. 10, (F2) is an explanation of the second line, and (F3) is an explanation of the third line, and the operation is the same as that of (F1).

[0075] Figures 11, 12, and 13 are diagrams for explaining specific operations when the output image of the display controller 1 is displayed with 270-degree rotation. Figures 11 and 12 show an example of the order of writing and reading from the compressed image buffer 30 to the frame buffer 40, where the image of the first frame is "A," the image of the second frame is "B," the image of the third frame is "C," and the image of the fourth frame is "D."

[0076] The operations shown in (G1) to (G4) of FIG. 11 and FIG. 12 are basically the same as those described in FIG. 3, FIG. 5, FIG. 6, FIG. 8, and FIG. 9, but the read direction and write direction of the compressed image data of each frame are different. First, in (G1) of FIG. 11, "A" is written into the frame buffer 40 from the rightmost column. As a result, "A" of the first frame is written after rotating by 270 degrees. Next, in (G2), the first frame is read from the top line of the frame buffer 40. In this way, by rotating the first read direction 270 degrees clockwise with respect to the first write direction, "A" of the first frame written after rotating by 270 degrees is read while rotating by 270 degrees. Then, "B" is written while reading "A", so "B" of the second frame is written with 0 degree rotation, that is, without rotation. In (G3) of FIG. 12, the second frame is read from the leftmost column of the frame buffer 40. As a result, "B" written without rotation in the second frame is rotated 270 degrees and read out. Then, "C" is written while "B" is being read out, so "C" in the third frame is written rotated 90 degrees. In (G4), the third frame is read out from the bottom line of the frame buffer 40. As a result, "C" written with a rotation of 90 degrees in the third frame is rotated 270 degrees and read out. Then, "D" is written while "C" is being read out, so "D" in the fourth frame is written rotated 90 degrees. The subsequent operations are not shown in Figs. 11 and 12, but are the same as those shown in (G2) to (G4). In this way, the image of each frame is rotated 270 degrees and overwritten.

[0077] The difference between the procedure for writing to frame buffer 40 when rotating by 0 degrees and when rotating by 270 degrees is that the scan direction when reading data is rotated 270 degrees clockwise with respect to the scan direction when writing data. As a result, the read data is rotated 270 degrees counterclockwise and output. When displaying at 270 degrees rotation, the output image can be rotated 270 degrees by rotating the first read direction of the nth frame 270 degrees clockwise with respect to the first write direction of the nth frame.

[0078] 13 is a diagram illustrating the order of writing image data from the frame buffer 40 to the decoded image buffer 70 and reading image data from the decoded image buffer 70, taking as an example a case where "A" is written to the frame buffer 40 as the first frame image. When rotating the image by 270 degrees for display, the operations are basically the same as those described in FIGS. 4, 7, and 10. However, for example, in (H1) of FIG. 13, the first line of image data that has been decoded by the decoding unit 50 and rotated by 270 degrees within the block is written to the first buffer 71.

[0079] 14 shows a configuration example of a display controller 100 in the case where the image processing device disclosed in Patent Document 1 is applied. In the conventional configuration example shown in FIG. 14, the display controller 100 includes a write control unit 90, a frame buffer 42, and a read control unit 110.

[0080] The frame buffer 42 is a memory that temporarily stores image data. The write control unit 90 generates an address signal Wa and a control signal WE from the dot clock signal DCK, the synchronizing signal VS, the synchronizing signal HS, and the data enable signal DE. The address signal Wa is a signal of a write address to the frame buffer 42, and the control signal WE is a write control signal to the frame buffer 42. The read control unit 110 generates an address signal Ra from the dot clock signal DCK, the synchronizing signal VS, the synchronizing signal HS, and the data enable signal DE. The address signal Ra is a signal of a read address from the frame buffer 42.

[0081] The conventional configuration example shown in Fig. 14 differs from the present embodiment shown in Fig. 1 etc. in that it does not have a compressed image buffer 30 or a decoded image buffer 70. For this reason, in the conventional configuration example, the frame buffer 42 performs a rotation process on the image data based on the address signal Wa and the control signal WE from the write control unit 90 and the address signal Ra from the read control unit 110. Therefore, in the conventional configuration example, it was necessary to provide the frame buffer 42 with a capacity according to the resolution of the input image signal on the IC. For this reason, depending on the size of the image data, it was difficult to realize the frame buffer capacity required for the IC alone.

[0082] In this embodiment, three types of buffers are provided for image rotation processing: a compressed image buffer 30, a frame buffer 40, and a decoded image buffer 70. The frame buffer 40 writes compressed data in steps of a theoretically maximum data size when the block size is compressed. This makes it possible to simplify address calculations when reading. Furthermore, the order in which the compressed image signals are written to the frame buffer 40 and the order in which they are read from the frame buffer 40 are changed depending on the image rotation angle. This makes it possible to generate and output arbitrarily rotated images in 90-degree increments in real time with a buffer size smaller than the input image size.

[0083] As another embodiment of the present embodiment, an embodiment not including the compression unit 20 is also conceivable. If compressed data is directly input to the display controller 1, the same effect as that of the display controller 1 described above can be obtained even in a configuration not including the compression unit 20.

[0084] 2. Display System 15 shows a block diagram of a first configuration example of a display system 6 of this embodiment. The first configuration example includes a processing device 5, the above-mentioned display controller 1, a first display 201, and a second display 202. The processing device 5 is, for example, a SoC (System On Chip).

[0085] In this manner, the display system 6 of this embodiment includes the above-described display controller 1 and a processing device that outputs image data to the display controller 1. In this manner, the display system 6 can also obtain the same effects as the display controller 1 described above.

[0086] Furthermore, the display system 6 of this embodiment is not limited to the first configuration example shown in Fig. 15, and can also be configured as in a second configuration example in which the compression unit 20 is provided in the processing device 5. Fig. 16 is a block diagram of the second configuration example of the display system 6.

[0087] In the second configuration example shown in Fig. 16, the processing device 5 outputs data compressed in block units in the compression unit 20 to the display controller 1. The display controller 1 then rotates and decodes the compressed image data. The display controller 1 outputs the rotated and decoded data to the first display 201 and the second display. In this way, in the second configuration example of the display system 6, the compression unit 20 and the decoding unit 50 of the display controller 1 described in Fig. 1 etc. are provided on separate chips, making it possible to transfer compressed data and reduce the communication load.

[0088] 17 is a diagram for explaining a specific configuration of the second configuration example of the display system 6. As shown in FIG. 17, in the second configuration example, the processing device 5 outputs compressed image data to the first splitter 211. The compressed image data is then transmitted from the first splitter 211 to the second splitter 212 and the third splitter 213, which are connected in a daisy chain manner. The first splitter 211, the second splitter 212, and the third splitter 213 output the compressed image data to the first display controller 2, the second display controller 3, and the third display controller 4, respectively. Then, rotation processing and decoding are performed in each display controller, and the data is output to the first display 201, the second display 202, and the third display 203.

[0089] Fig. 18 is a block diagram showing details of a second configuration example of the display system 6. The configuration shown in Fig. 18 is basically the same as the display controller 1 in Fig. 1, but as shown to the left of the dashed line, the compression unit 20 is included in the processing device 5. And the display controller 1 is on the right side of the dashed line.

[0090] A display system 6 of this embodiment includes the above-described display controller 1 and a processing device 5 that outputs compressed image data to the display controller 1. The processing device 5 includes a compression unit 20 that compresses one frame of image data into compressed image data for a plurality of blocks.

[0091] In this way, image data compressed in the processing device 5 can be output to the display controller 1, and the communication load can be reduced.

[0092] As described above, the display controller of this embodiment includes a compressed image buffer, a frame buffer, a compressed image buffer control unit, a decoding unit, a decoded image buffer, and a decoded image buffer control unit. The compressed image buffer stores compressed image data obtained by compressing image data of one frame for each of a plurality of blocks. The compressed image data of each block of the compressed image buffer is written to the frame buffer, thereby storing compressed image data of a plurality of blocks. The compressed image buffer control unit controls the write direction and read direction of the frame buffer according to the image rotation angle. The decoding unit decodes the compressed image data of each block read from the frame buffer. The decoded image buffer stores the decoded image data of each block that has been decoded. The decoded image buffer control unit controls the write direction to the decoded image buffer according to the image rotation angle.

[0093] In this way, the image data input to the display controller is stored in the compressed image buffer as compressed image data compressed for each block. Then, based on the control of the compressed image buffer control unit, the image data is written to the frame buffer in units of blocks according to the rotation angle of the image. Therefore, since the input image data is written to the compressed image buffer and the frame buffer in a compressed data format, the buffer size of the display controller can be made smaller than the data size of the input image. The image data stored in the frame buffer 40 is decoded by the decoding unit 50, and based on the control of the decoded image buffer control unit 60, it is written to the decoded image buffer 70 according to the rotation angle of the image. Then, the image data stored in the decoded image buffer 70 is output from the display controller 1.

[0094] The compressed image buffer control unit of this embodiment controls writing of compressed image data of the nth frame to the frame buffer in a first write direction, and also controls reading of the compressed image data of the nth frame from the frame buffer in a first read direction rotated by an angle corresponding to the image rotation angle with respect to the first write direction.

[0095] In this way, in the operation of reading out the image of the nth frame while overwriting the image of the n+1th frame, the image of the nth frame can be rotated at a fixed angle by rotating the first read direction by a predetermined angle relative to the first write direction.

[0096] The compressed image buffer control unit of this embodiment performs control to write compressed image data of the (n+1)th frame into the frame buffer in a second write direction that is the same as the first read direction.

[0097] In this way, the order in which the nth frame image is read out and the order in which the nth frame image is written in the frame buffer are the same. Therefore, by reading out the nth frame image before writing the nth frame image in each block, it is possible to simultaneously read out the nth frame image and write the nth frame image in each line unit.

[0098] The decoded image buffer control unit of this embodiment writes the decoded image data of each block into the decoded image buffer in a write direction rotated by an angle corresponding to the image rotation angle with respect to the read direction.

[0099] In this way, the decoded image data of each block is written after being rotated by an angle corresponding to the image rotation angle with respect to the read direction, so that the image in the block can be read after being rotated by the image rotation angle.

[0100] The decoded image buffer of this embodiment includes a first buffer and a second buffer. In addition, when the decoded image data is written to the first buffer by the decoded image buffer control unit, the decoded image data is read from the second buffer.

[0101] In this way, under the control of the decoded image buffer control unit, while decoded image data is being written to the first buffer, the decoded image data can be read from the second buffer. Therefore, it becomes possible to constantly read decoded image data using either the first buffer or the second buffer, thereby speeding up reading.

[0102] In the display controller of this embodiment, the storage capacity of the frame buffer for storing one block of compressed image data is fixed.

[0103] In this way, the memory capacity for storing one block of compressed image data can be set to the theoretically maximum data size for one block of compressed image data. Therefore, when reading out one line of image data from the frame buffer, it is possible to always read out a constant data size without being affected by the size of one block of compressed image data, and address calculations during reading can be simplified.

[0104] The display controller of this embodiment includes a compression unit that compresses one frame of image data into a plurality of blocks of compressed image data.

[0105] In this way, one frame of image data can be compressed into multiple blocks of compressed image data, making it possible to write and read one block of image using a small amount of storage space after compression.

[0106] The display system of this embodiment includes the above-described display controller and a processing device that outputs image data to the display controller.

[0107] The display system of this embodiment includes the display controller described above and a processing device that outputs compressed image data to the display controller. The processing device includes a compression unit that compresses one frame of image data into compressed image data for multiple blocks.

[0108] Although the present embodiment has been described in detail as above, it will be easily understood by those skilled in the art that many modifications are possible without substantially departing from the novel matters and effects of the present disclosure. Therefore, all such modifications are intended to be included in the scope of the present disclosure. For example, a term described at least once in the specification or drawings together with a different term having a broader meaning or synonymy can be replaced with that different term anywhere in the specification or drawings. In addition, all combinations of the present embodiment and modifications are also included in the scope of the present disclosure. In addition, the configurations and operations of the display controller and the display system are not limited to those described in the present embodiment, and various modifications are possible. [Explanation of symbols]

[0109] 1...display controller, 2...first display controller, 3...second display controller, 4...third display controller, 5...processing device, 6...display system, 10...compressed image buffer control unit, 20...compression unit, 30...compressed image buffer, 40, 42...frame buffer, 50...decoding unit, 60...decoded image buffer control unit, 70...decoded image buffer, 71...first buffer, 72...second buffer, 80...selector, 90...write control unit, 100...display controller, 110...read control unit, 201...first display, 202...second display, 203...third display, 211...first splitter, 212...second splitter, 213...third splitter, BD, BDd, BDev, BDo, BDod...image signal, DC...signal, DCK...dot clock signal, DE, DEdo, DEo...data enable signal, DF, DL...signal, GD, GDd, GDev, GDo, GDod...image signal, HS, HSdi, HSdo, HSo...synchronization signal, RD, RDd, RD, RDo, RDod...image signal, RFa, RLa, Ra...address signal, SE...signal, VS, VSdi, VSdo, VSo...synchronization signal, WE, WF...control signal, WFa...address signal, WL...control signal, WLa, Wa...address signal, Wev, Wod...control signal

Claims

1. a compressed image buffer for storing compressed image data obtained by compressing image data of one frame in units of a plurality of blocks; a frame buffer in which the compressed image data of the plurality of blocks is stored by writing the compressed image data of each block of the compressed image buffer; a compressed image buffer control unit that controls a write direction and a read direction of the frame buffer in accordance with an image rotation angle; a decoding unit that decodes the compressed image data of each of the blocks read from the frame buffer; a decoded image buffer in which the decoded image data of each of the blocks is stored; a decoded image buffer control unit that controls a write direction into the decoded image buffer in accordance with the image rotation angle; A view controller containing

2. The display controller according to claim 1 , The compressed image buffer control unit Controlling to write the compressed image data of the n-th frame into the frame buffer in a first write direction; A display controller characterized by controlling the compressed image data of the nth frame to be read from the frame buffer in a first read direction rotated by an angle corresponding to the image rotation angle with respect to the first write direction.

3. The display controller according to claim 2, The compressed image buffer control unit A display controller that performs control to write the compressed image data of the (n+1)th frame into the frame buffer in a second write direction that is the same as the first read direction.

4. The display controller according to claim 1 , The decoded image buffer control unit A display controller characterized by writing the decoded image data of each block to the decoded image buffer in a write direction rotated by an angle corresponding to the image rotation angle with respect to the read direction.

5. The display controller according to claim 1 , The decoded image buffer includes: A first buffer and a second buffer, A display controller, characterized in that the decoded image data is read from the second buffer when the decoded image data is written to the first buffer by the decoded image buffer control unit.

6. The display controller according to claim 1 , A display controller, characterized in that the frame buffer has a fixed storage capacity for storing one block of the compressed image data.

7. The display controller according to claim 1 , A display controller comprising: a compression unit that compresses the image data of the one frame into the compressed image data of the plurality of blocks.

8. A display controller according to claim 7; a processing device that outputs the image data to the display controller; A display system comprising:

9. A display controller according to any one of claims 1 to 6; a processing device that outputs the compressed image data to the display controller; Including, The processing device includes: a compression unit that compresses the image data of the one frame into the compressed image data of the plurality of blocks.

Citation Information

Patent Citations

  • Image processing apparatus

    JP2004328571A