WO2012060114A1 - 描画装置及び描画方法 - Google Patents
描画装置及び描画方法 Download PDFInfo
- Publication number
- WO2012060114A1 WO2012060114A1 PCT/JP2011/051667 JP2011051667W WO2012060114A1 WO 2012060114 A1 WO2012060114 A1 WO 2012060114A1 JP 2011051667 W JP2011051667 W JP 2011051667W WO 2012060114 A1 WO2012060114 A1 WO 2012060114A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- writing
- row
- image information
- dma controller
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/34—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
- G09G3/36—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals
- G09G3/3611—Control of matrices with row and column drivers
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/36—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
- G09G5/39—Control of the bit-mapped memory
- G09G5/393—Arrangements for updating the contents of the bit-mapped memory
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2360/00—Aspects of the architecture of display systems
- G09G2360/12—Frame memory handling
- G09G2360/127—Updating a frame memory using a transfer of data from a source area to a destination area
Definitions
- the present invention relates to a drawing apparatus and a drawing method for drawing an image on a full-dot liquid crystal screen such as a remote controller used for remote control of an air conditioner, a lighting device, or the like.
- a seven-segment type simple display screen has been used as a display screen of a remote controller used for remote control of an air conditioner, a lighting device, or the like.
- a full-dot liquid crystal display screen see, for example, Patent Document 1.
- bitmap images such as characters are stored in the order of addresses in a state where the data columns of each row are connected in order from the top. For this reason, even if data of a bitmap image is directly transferred to the VRAM using a general DMA (Direct Memory Access) controller, the image of the character is not accurately displayed on the display screen. In order to accurately display the image of the character in the VRAM, it is necessary to start a new line at the writing position in the VRAM every time a data row for one line is written.
- DMA Direct Memory Access
- the DMA controller is not used when writing the image data read from the ROM into the VRAM.
- the present invention has been made in view of the above circumstances, and an object of the present invention is to provide a drawing apparatus and a drawing method capable of reducing a load on a processor when an image is displayed on a full-dot liquid crystal display screen.
- a rendering apparatus reads out image information stored in a storage medium by sequentially connecting data columns of rows, and stores them in a predetermined area of a two-dimensional image display memory. By writing, an image based on the image information is displayed.
- the reading unit sequentially reads the image information stored in the storage medium in a predetermined unit from the reading start position at the head, independently of the processor.
- the writing unit sequentially writes the data read by the reading unit in the horizontal direction in predetermined units from the writing start position in the image display memory independently of the processor.
- the writing position update unit updates the writing start position in the image display memory to the position of the same column in the next row each time the writing of the data column in each row by the writing unit is completed.
- each time the writing position update unit completes the writing of the data column of each row to the image display memory the writing start position in the image display memory is changed to a line feed.
- the DMA controller can be used to read the image information from the storage medium and write it to the image display memory.
- FIG. 2A is a diagram illustrating an example of a bitmap image of characters.
- FIG. 2B is a diagram schematically illustrating a state in which the bitmap image data of the characters in FIG. 2A is stored in the ROM.
- FIG. 2 is a block diagram showing a configuration of a DMA controller in FIG. 1.
- FIG. 4A is a diagram for explaining a first transfer mode in the DMA controller of FIG.
- FIG. 4B is a diagram for explaining the second transfer mode in the DMA controller of FIG.
- FIG. 4C is a diagram for explaining a third transfer mode in the DMA controller of FIG. It is a figure for demonstrating the memory map of VRAM of FIG.
- FIG. 2 is a processing sequence diagram of the drawing apparatus of FIG. 1. It is a block diagram which shows the structure of the drawing apparatus which concerns on Embodiment 2 of this invention. It is a block diagram for demonstrating the structure of the companion chip
- FIG. 10 is a processing sequence diagram of the drawing apparatus of FIG. 9. It is a figure which shows an example of the memory map of ROM. It is a block diagram which shows the structure of the drawing apparatus which concerns on Embodiment 3 of this invention.
- FIG. 15A and FIG. 15B are diagrams for explaining a method of storing consecutively arranged characters as one image data in the ROM. It is a figure for demonstrating a mode that the image data of each character is converted into the image data of 2 characters arranged in a row, and is hold
- Embodiment 1 FIG. First, a first embodiment of the present invention will be described.
- the drawing device 100 is, for example, a remote controller of an air conditioner (not shown). As shown in FIG. 1, the drawing apparatus 100 includes a microcomputer 1, a display unit 2, and a companion chip 3.
- the microcomputer 1 includes a CPU 10, a ROM 11, a RAM (Random Access Memory) 12, a DMA controller 13A, 13B, 13C, an external interface (I / F) 14, a VRAM 15, and an operation input interface (I / F) 16. These are connected to each other via a bus 17 so that data can be transmitted and received.
- a bus 17 so that data can be transmitted and received.
- the CPU 10 as a processor controls the drawing apparatus 100 as a whole.
- the CPU 10 may centrally control not only the drawing apparatus (remote controller) 100 but also the entire air conditioning apparatus. Further, the CPU 10 may perform a cooperative operation across a plurality of air conditioners.
- the ROM 11 as a storage medium stores a plurality of image data to be displayed.
- image data includes image data such as characters and graphics.
- FIG. 2A shows a bitmap image of the character “D” as an example of such an image.
- This bitmap image is 16-bit ⁇ 16-bit image data. If 1 byte is 8 bits, this bitmap image is 32-byte image data.
- the left 8 bits of the uppermost row of the bitmap image are collectively set as data D1, and the right 8 bits of the uppermost row are set as data D2.
- the left 8 bits of the next row are collectively set as data D3, and the right 8 bits of the next row are set as data D4.
- the left 8 bits and the right 8 bits of each row are combined, the right 8 bits of the bottom row of the bitmap image becomes data D32.
- the bit map image data is stored in the ROM 11 as shown in FIG.
- the leftmost 8-bit data D1 in the uppermost row of the bitmap image in FIG. 2A is stored at the address A1.
- Data D2 is stored at the next address A2.
- 8-bit data D3 on the left side of the next row is stored at address A3, and 8-bit data D4 on the right side is stored at address A4.
- the last address A32 stores 8-bit data D32 on the right side of the bottom row.
- the ROM 11 stores the data columns of the image data such as characters to be displayed in order of addresses in a state where the data columns are sequentially connected.
- the DMA controllers 13A, 13B, and 13C perform data transfer independently of the CPU 10.
- FIG. 3 shows the configuration of the DMA controller 13A.
- the DMA controller 13A includes a control unit 20, a read start address register 21, a write start address register 22, and a transfer count register 23.
- the control unit 20 transfers data from the transfer source to the transfer destination via the bus 17.
- a read start address at the transfer source is set.
- a write start address at the transfer destination is set.
- the transfer count register 23 the number of DMA transfers is set. Since the data size transferred per transfer is 1 byte, for example, the transfer count when transferring 32 bytes of data is 32.
- the control unit 20 reads data in address units (1 byte) from the read start address set in the read start address register 21. Then, the controller 20 DMA-transfers the data from the transfer source to the transfer destination by sequentially writing the read data from the write start address set in the write start address register 22. The DMA transfer ends with the number of transfers stored in the transfer number register 23.
- the configurations of the DMA controllers 13B and 13C are the same as the configuration of the DMA controller 13A shown in FIG.
- the read start address register 21, the write start address register 22, and the transfer count register 23 are collectively referred to as a register group.
- the DMA controllers 13A, 13B, and 13C can perform data transfer in three transfer modes.
- FIG. 4A schematically shows the first transfer mode.
- the first transfer mode is a transfer mode in which both the transfer source address and the transfer destination address are shifted each time 1 byte is written. According to the first transfer mode, the transfer source data is copied to the transfer destination as it is.
- FIG. 4B schematically shows the second transfer mode.
- the second transfer mode is a transfer mode in which the transfer destination address is fixed. According to the second transfer mode, the transfer source data is overwritten on the same address (write start address) of the transfer destination.
- FIG. 4C schematically shows the third transfer mode.
- the third transfer mode is a transfer mode in which the transfer source address is fixed.
- the transfer source data written to the read start address is written from the write start address to the plurality of transfer destination addresses by the number of bytes corresponding to the transfer count.
- the DMA controller 13A operates in the second transfer mode
- the DMA controller 13B operates in the third transfer mode
- the DMA controller 13C operates in the first transfer mode
- the external I / F 14 is a communication interface for performing data transmission / reception with an external device.
- the companion chip 3 is connected to the external I / F 14. Thereby, the companion chip 3 can transmit / receive data to / from the CPU 10, ROM 11, RAM 12, DMA controllers 13 A, 13 B, 13 C, external I / F 14 and VRAM 15.
- the VRAM 15 is a two-dimensional image display memory.
- FIG. 5 schematically shows a memory map of the VRAM 15. As shown in FIG. 5, the address direction in the VRAM 15 is the column direction (lateral direction). The minimum address is the upper left corner of the VRAM 15, and the maximum address is the lower right corner.
- the image data 4 is to be written on the basis of the specific position P in the VRAM 15, the image data 4 is written from the address corresponding to the specific position P. At this time, in order to write the data column of the next row in the image data 4, it is necessary to update the transfer destination address to an address in the same column as the write start address of the next row, or to add an offset.
- the operation input interface 16 is a man-machine interface having an operation input unit such as a button operated by a user.
- the display unit 2 has a full-dot liquid crystal display screen.
- the size of the display screen is, for example, 120 to 240 dots in the vertical direction and 250 to 320 dots in the horizontal direction.
- image data is written in the VRAM 15, an image based on the image data is displayed on the display screen.
- FIG. 6 shows an example of a screen displayed on the display unit 2.
- a touch panel may be provided on the display screen.
- FIG. 7 shows a detailed configuration of the companion chip 3.
- the companion chip 3 includes a buffer 30, a control unit 31, and a register data memory (RDM) 32.
- RDM register data memory
- the buffer 30 is a memory that can hold, for example, 1-byte data.
- the control unit 31 controls DMA transfer via the buffer 30 in accordance with an instruction from the CPU 10.
- the register data memory 32 is a memory that stores data set in the read start address register 21, the write start address register 22, and the transfer count register 23 of the DMA controller 13B.
- 1-byte image data from the ROM 11 is DMA-transferred to the buffer 30. This DMA transfer is executed by the DMA controller 13A.
- the CPU 10 sets the register group of the DMA controller 13A. With this setting, the start address of the image data in the ROM 11 is set in the read start address register 21 of the DMA controller 13A. Further, the address of the buffer 30 of the companion chip 3 is set in the write start address register 22. In the transfer count register 23, the number of bytes of the entire image data (that is, the transfer count necessary for transferring the entire image data) is set.
- the control unit 31 of the companion chip 3 outputs a control signal to the control unit 20 of the DMA controller 13A.
- the control unit 20 of the DMA controller 13A starts DMA transfer from the ROM 10 to the buffer 30.
- 1-byte image data DMA-transferred to the buffer 30 is DMA-transferred to the VRAM 15. This DMA transfer is executed by the DMA controller 13B.
- the register group of the DMA controller 13B Prior to DMA transfer, the register group of the DMA controller 13B is set. With this setting, the address of the buffer 30 of the companion chip 3 is set in the read start address register 21 of the DMA controller 13B.
- the write start address register 22 is set with the write start address of the VRAM 15.
- the transfer count register 23 the number of bytes corresponding to the length of the data column of each row of the image information (transfer count necessary for transferring the data column for one row) is set.
- This register group is set as follows.
- a DMA controller 13C is provided for setting a register group of the DMA controller 13B.
- Data set in the register group of the DMA controller 13B is DMA-transferred from the register data memory 32 of the companion chip 3 to the register group of the DMA controller 13B by the DMA controller 13C.
- the CPU 10 performs register settings for the DMA controller 13C.
- the address of the register data memory 32 of the companion chip 3 is set in the read start address register 21 of the DMA controller 13C. Further, the address of the register group of the DMA controller 13C is set in the write start address register 22.
- the transfer count register 23 is set with the number of bytes of the register group.
- the CPU 10 first outputs to the control unit 31 of the companion chip 3 the number of vertical and horizontal bytes of the image data read from the ROM 11 and the position for drawing the image on the VRAM 15 (write start address on the VRAM 15). .
- the control unit 31 sets the address of the buffer 30, the write start address on the VRAM 15, and the number of bytes of the data row in one row in the register data memory 32.
- the control unit 31 outputs a DMA transfer start control signal to the control unit 20 of the DMA controller 13C. Then, under the control of the DMA controller 13C, the data contained in the register data memory 32 of the companion chip 3 is DMA transferred to the register group of the DMA controller 13B. As a result, as described above, the address of the buffer 30 of the companion chip 3 is set in the read start address register 21 of the DMA controller 13B.
- the write start address register 22 is set with the write start address of the VRAM 15.
- the transfer count register 23 the number of bytes corresponding to the length of the data column of each row of image data (transfer count necessary for transferring the data column of each row) is set.
- control unit 31 switches the DMA transfer instruction control signal to the DMA controllers 13A and 13C at a predetermined timing, whereby the DMA transfer from the ROM 11 to the buffer 30 by the DMA controller 13A and the buffer by the DMA controller 13B are performed. 30 ⁇ DMA transfer of the VRAM 15 is alternately performed.
- the control unit 31 of the companion chip 3 determines the data sequence of each row by the DMA controller 13B depending on whether or not the data transfer count has reached the transfer count necessary for transferring one row of image data read from the ROM 11. It is determined whether or not writing to the VRAM 15 is completed. When it is determined that the writing has been completed, the control unit 31 sets an address in the same column as the writing start address of the next row in an area corresponding to the writing start address of the register data memory 32.
- the control unit 31 outputs a DMA transfer start control signal to the DMA controller 13C.
- the DMA controller 13C DMA-transfers the data in the register data memory 32 to the register group of the DMA controller 13B.
- the address set in the write start address register 21 of the DMA controller 13B is updated to the same column address as the write start address in the next row.
- the next DMA transfer from the buffer 30 to the VRAM 15 is performed from the updated write start address.
- FIG. 8 shows a processing sequence when the CPU 10 displays a character at a predetermined position on the display screen of the display unit 2.
- DMAA, DMAB, and DMAC indicate DMA controllers 13A, 13B, and 13C, respectively.
- the CPU 10 performs register setting for the DMA controller 13A (step S1). As a result, the DMA transfer from the ROM 11 to the buffer 30 of the companion chip 3 becomes possible.
- step S2 the CPU 10 performs register setting for the DMA controller 13C (step S2).
- step S2 the DMA transfer from the register data memory 32 of the companion chip 3 to the register group of the DMA controller 13B becomes possible.
- the CPU 10 transmits to the control unit 31 of the companion chip 3 a drawing command including the number of vertical and horizontal bytes of image data to be displayed, the write start address of the VRAM 15 and the like (step S3).
- control unit 31 of the companion chip 3 Upon receiving this drawing command, the control unit 31 of the companion chip 3 stores the address of the buffer 30, the write start address of the VRAM 15, the number of bytes (transfer count) for one line, and the register data in the register data memory 32. Set in the memory 32 (step S10).
- control unit 31 outputs a DMA transfer start control signal to the DMA controller 13C (step S11).
- the DMA transfer from the register data memory 32 to the register group of the DMA controller 13B is performed (step S12).
- DMA transfer from the buffer 30 to the VRAM 15 becomes possible.
- control unit 31 outputs a DMA transfer start control signal to the DMA controller 13A (step S13), and outputs a DMA transfer start control signal to the DMA controller 13B (step S14).
- step S13 1 byte of data at the head address of the image data in the ROM 11 is transferred to the buffer 30 of the companion chip 3 (step S15), and the data transferred to the buffer 30 is transferred to the write start address of the VRAM 15. (Step S16).
- step S17 1-byte data of the next address of the image data in the ROM 11 is transferred to the buffer 30 of the companion chip 3 (step S17), and the data transferred to the buffer 30 is the next of the write start address of the VRAM 15. It is transferred to the address (position to the right of the write start address) (step S18).
- steps S10 to S18 are the first line writing process.
- the control unit 31 detects that the writing of the first row has been completed, and sets the writing start address of the register data memory 32 to the same address as the writing start address and column position in the next row on the VRAM 15. Update (step S20). Subsequently, the control unit 31 outputs a DMA transfer start control signal to the DMA controller 13C (step S21). Thereby, the DMA transfer from the register data memory 32 to the register group of the DMA controller 13B is performed (step S22), and the address of the write start address register 22 of the DMA controller 13B is the same as the previous write start address of the next row. It is updated to the address.
- control unit 31 outputs a DMA transfer start control signal to the DMA controller 13A (step S23), and outputs a DMA transfer start control signal to the DMA controller 13B (step S24).
- 1-byte data of the third address of the image data in the ROM 11 is transferred to the buffer 30 of the companion chip 3 (step S25), and the data transferred to the buffer 30 is written to the next row of the VRAM 15.
- the address is transferred to the same address as the start address (step S26).
- step S27 1-byte data of the fourth address of the image data in the ROM 11 is transferred to the buffer 30 of the companion chip 3 (step S27), and the data transferred to the buffer 30 is transferred to the next address of the VRAM 15. Transferred (step S28).
- steps S20 to S28 are the writing process for the second row.
- control unit 31 When the writing of the 16th line is completed, the control unit 31 outputs a completion notification signal to the CPU 10 (step S30). As a result, the character image data is written into the VRAM 15, and the character based on the image data is displayed on the display screen of the display unit 2.
- the DMA controllers 13A and 13B can be used to read the image data from the ROM 11 and write it into the VRAM 15. As a result, it is possible to reduce the load on the CPU 10 when displaying an image on a full-dot liquid crystal display screen.
- the CPU 10 controls not only the drawing device (remote controller) 100 but also the entire air conditioner, or controls cooperative operation across a plurality of air conditioners, the load on the CPU 10 is reduced. By reducing, these controls can be performed smoothly.
- Embodiment 2 FIG. Next, a second embodiment of the present invention will be described.
- FIG. 9 shows the configuration of the drawing apparatus 100 according to this embodiment. As shown in FIG. 9, the drawing apparatus 100 according to this embodiment is different from the drawing apparatus 100 according to Embodiment 1 in that the DMA controller 13C is not provided.
- FIG. 10 shows the configuration of the companion chip 3 according to this embodiment. As shown in FIG. 10, this embodiment is different from the first embodiment in that the register data memory 32 is not provided in the companion chip 3.
- control unit 31 of the companion chip 3 transmits a write completion notification signal for one row to the CPU 10 every time a data row for one row is written.
- the CPU 10 updates the address set in the write start address register 21 of the DMA controller 13B to the same row address as the first write start address in the next row. .
- FIG. 11 shows a processing sequence in the case where the CPU 10 displays a character at a predetermined position on the display screen of the display unit 2.
- the CPU 10 displays a character at a predetermined position on the display screen of the display unit 2.
- 16-bit ⁇ 16-bit character image data is displayed on the display screen of the display unit 2 will be described.
- the CPU 10 performs register setting for the DMA controller 13A (step S1).
- the DMA transfer from the ROM 11 to the buffer 30 of the companion chip 3 becomes possible.
- step S4 the CPU 10 performs register setting of the DMA controller 13B. Thereby, DMA transfer from the buffer 30 to the VRAM 15 becomes possible.
- the CPU 10 transmits a drawing command including the number of vertical and horizontal bytes of image data to be displayed to the control unit 31 of the companion chip 3 (step S3).
- control unit 31 outputs a DMA transfer start control signal to the DMA controller 13A (step S13), and outputs a DMA transfer start control signal to the DMA controller 13B (step S14).
- step S13 1 byte of data at the head address of the image data in the ROM 11 is transferred to the buffer 30 of the companion chip 3 (step S15), and the data transferred to the buffer 30 is transferred to the write start address of the VRAM 15. (Step S16).
- step S17 1-byte data of the next address of the image data in the ROM 11 is transferred to the buffer 30 of the companion chip 3 (step S17), and the data transferred to the buffer 30 is the next of the write start address of the VRAM 15. It is transferred to the address (position to the right of the write start address) (step S18).
- steps S13 to S18 are the first line writing process.
- control unit 31 detects that the writing of the first row has been completed, and outputs a signal for the completion of writing of data for one row to the CPU 20 (step S40).
- the CPU 20 updates the write start address of the DMA controller 13B to the next line (step S41).
- the CPU 20 notifies the control unit 31 of a transfer start notification (step S42).
- control unit 31 outputs a DMA transfer start control signal to the DMA controller 13A (step S23), and outputs a DMA transfer start control signal to the DMA controller 13B (step S24).
- 1 byte of data at the next address of the image data in the ROM 11 is transferred to the buffer 30 of the companion chip 3 (step S25), and the data transferred to the buffer 30 starts writing to the next row of the VRAM 15.
- the address is transferred (step S26).
- Step S27 1-byte data of the next address of the image data in the ROM 11 is transferred to the buffer 30 of the companion chip 3
- step S28 the data transferred to the buffer 30 is transferred to the next address of the VRAM 15.
- control unit 31 When the writing of the 16th line is completed, the control unit 31 outputs a completion notification signal to the CPU 10 (step S30). As a result, the character image data is written into the VRAM 15, and the character based on the image data is displayed on the display screen of the display unit 2.
- the companion chip 3 completes the writing of the data string of each row to the VRAM 15, the CPU 10 makes a line feed at the write start position in the VRAM 15.
- the DMA controllers 13A and 13B can be used to read image data from the ROM 11 and write it into the VRAM 15. As a result, it is possible to reduce the load on the CPU 10 when displaying an image on a full-dot liquid crystal display screen.
- information on the number of vertical and horizontal bytes of image data is transmitted from the CPU 10 to the control unit 31 of the companion chip 3.
- information about the number of vertical and horizontal bytes of the image data may be transmitted to the control unit 21 by other methods.
- header information 40 may be added to individual image data stored in the ROM 11.
- information such as the number of vertical bytes (for example, 2 bytes) and the number of horizontal bytes (for example, 2 bytes) of the image data is described.
- the control unit 31 of the companion chip 3 reads the upper 2 bytes DMA-transferred from the ROM 11 as header information, and based on the read header information, the byte length (horizontal byte length) of the data column of each row of image data to be displayed And the number of rows (vertical bit length).
- the control unit 31 of the companion chip 3 sets the transfer count of the register data memory 32 based on the obtained horizontal byte length.
- the transfer count is set in the transfer count register 23 of the DMA controller 13B by the DMA transfer of the DMA controller 13C.
- the controller 31 of the companion chip 3 outputs a DMA transfer start control signal to the DMA controller 13B when the third byte data is DMA-transferred from the ROM 11. As a result, data after the third byte can be DMA transferred to the VRAM 15.
- Embodiment 3 FIG. Next, a third embodiment of the present invention will be described.
- FIG. 13 shows the configuration of the drawing apparatus 100 according to this embodiment.
- the drawing apparatus 100 according to this embodiment is provided with one DMA controller 13D instead of three DMA controllers 13A to 13C. Different from the device 100.
- the companion chip 3 is not connected to the external I / F 14, which is different from the drawing apparatus 100 according to the first embodiment.
- the DMA controller 13D is provided with a repeat offset register 24 and a repeat counter register 25 in addition to a read start address register 21, a write start address register 22, and a transfer count register 23.
- an offset between the right end address of the data row of one line of the image data and the write start address after the line feed is set. As shown in FIG. 14, when image data 4 is written, the sum of offset1 and offset2 is this offset.
- the number of lines of image data (vertical bit number) is set.
- the CPU 10 sets the start address of the image data in the ROM 11 in the read start address register 21 of the DMA controller 13D, sets the write start address of the image data in the VRAM 15 in the write start address register 22, and stores it in the transfer count register 23.
- Set the byte length of the data string for one row of image data (the number of transfers necessary to transfer the data row for one row), and further set the offset register 24 to the offset (see FIG. 14).
- the number of rows (the number of vertical bits of the image data) is set in the repeat counter register 25.
- the CPU 10 outputs a DMA transfer start control signal to the DMA controller 13D.
- the DMA controller 13D starts DMA transfer from the ROM 11 to the VRAM 15.
- This DMA transfer is started with the start address of the image data on the ROM 11 and the write address of the VRAM 15 as the start position.
- the data column of each row of image data is written into the VRAM 15.
- the DMA transfer is completed assuming that the writing of the image data is completed.
- the image data stored in the ROM 11 can be DMA-transferred to the VRAM 15 without displaying the companion chip 3, thereby displaying the image on the display unit 2. Can be made.
- the unit of the image data is one character of the image, but the present invention is not limited to this.
- the data of each byte in the uppermost row is referred to as data D1, D2, D3, and D4 from the left side.
- the ROM 11 stores data D1, D2, D3, and D4 in order from the head address.
- the transfer source to the buffer 30 may be the RAM 12 instead of the ROM 11.
- the CPU 10 when displaying image data of two characters arranged in the horizontal direction in succession, the CPU 10 inputs image data of two characters from the ROM 11 prior to DMA transfer. Then, the CPU 10 converts each image data into one image data for two characters and stores it in the RAM 12 as shown in FIG.
- the transfer source to the buffer 30 of the companion chip 3 is the RAM 12.
- drawing apparatus 100 is a remote controller of an air conditioner, it may be a remote controller of a lighting device or other electrical equipment.
- the present invention is suitable for a remote controller of an electric device such as an air conditioner or a lighting device.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Crystallography & Structural Chemistry (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
まず、この発明の実施の形態1について説明する。
次に、この発明の実施の形態2について説明する。
次に、この発明の実施の形態3について説明する。
2 表示部
3 コンパニオンチップ
4 画像データ
10 CPU
11 ROM
12 RAM
13A、13B、13C、13D DMAコントローラ
14 外部インターフェイス(I/F)
15 VRAM
16 操作入力インターフェイス(I/F)
17 バス
20 制御部
21 読み出し開始アドレスレジスタ
22 書き込み開始アドレスレジスタ
23 転送回数レジスタ
24 繰り返しオフセットレジスタ
25 繰り返しカウンタレジスタ
30 バッファ
31 制御部
32 レジスタデータメモリ(RDM)
40 ヘッダ情報
100 描画装置
P 位置
Claims (9)
- 各行のデータ列が順番に連結されて記憶媒体に記憶された画像情報を読み出して、2次元の画像表示用メモリの所定の領域に書き込むことにより、前記画像情報に基づく画像を表示する描画装置であって、
プロセッサとは独立して、前記記憶媒体に記憶された前記画像情報を、その先頭の読み出し開始位置から所定の単位で順次読み出していく読み出し部と、
前記プロセッサとは独立して、前記読み出し部によって読み出されたデータを、前記画像表示用メモリにおける書き込み開始位置から前記所定の単位で横方向に順次書き込んでいく書き込み部と、
前記書き込み部による前記各行のデータ列の書き込みが完了する度に、前記画像表示用メモリにおける前記書き込み開始位置を、次の行の同じ列の位置に更新する書き込み位置更新部と、
を備える描画装置。 - 前記プロセッサと、前記記憶媒体と、前記画像表示用メモリと、前記読み出し部と、前記書き込み部とが、マイクロコンピュータ内に実装され、
前記記憶媒体と前記画像表示用メモリとの間でデータの入出力が可能なバッファを有するデータ中継部が前記マイクロコンピュータの外部にさらに設けられ、
前記読み出し部は、
前記記憶媒体における前記読み出し開始位置と、前記画像情報全体の転送に必要な転送回数と、前記バッファにおける書き込み位置とがレジスタに設定される第1のDMAコントローラであり、
前記書き込み部は、
前記バッファにおける読み込み位置と、前記画像情報の各行のデータ列の転送に必要な転送回数と、前記画像表示用メモリの前記書き込み開始位置とがレジスタに設定される第2のDMAコントローラである、
請求項1に記載の描画装置。 - 前記データ中継部が保持するデータを、前記第2のDMAコントローラのレジスタに転送する第3のDMAコントローラをさらに備え、
前記データ中継部は、
前記バッファへのデータの転送回数が、前記画像情報の各行のデータ列の転送に必要な転送回数に達する度に、前記第3のDMAコントローラを用いて、前記第2のDMAコントローラにおける前記書き込み開始位置を、次の行の同じ列の位置に更新させる、
請求項2に記載の描画装置。 - 前記データ中継部は、
前記バッファへのデータの転送回数が、前記画像情報の各行のデータ列の転送に必要な転送回数に達する度に、前記プロセッサに完了信号を出力し、
前記書き込み位置更新部としての前記プロセッサは、
前記完了信号を入力したときに、前記第2のDMAコントローラにおける前記書き込み開始位置を、次の行の同じ列の位置に更新する、
請求項2に記載の描画装置。 - 前記記憶媒体には、前記画像情報のヘッダ部分に、前記画像情報の各行のデータ列の長さに関する情報が記憶されており、
前記データ中継部は、前記バッファに書き込まれた前記画像情報のヘッダ部分から各行のデータ列の長さに関する情報を抽出し、
抽出された情報を用いて、前記バッファへのデータの転送回数が、前記画像情報の各行のデータ列の転送に必要な転送回数に達したことを検出する、
請求項3又は4のいずれか一項に記載の描画装置。 - 前記記憶媒体は、
横書きの連続文字を構成する画像を前記画像情報として記憶する、
請求項1乃至5のいずれか一項に記載の描画装置。 - 他の記憶媒体に記憶された複数の文字各々の前記画像情報を読み込んで、横書きの連続文字を構成する画像を前記画像情報として前記記憶媒体に記憶する変換部をさらに備える、
請求項1乃至5のいずれか一項に記載の描画装置。 - 前記記憶媒体における前記読み出し開始位置と、前記画像情報全体の転送に必要な転送回数と、前記画像表示用メモリにおける前記書き込み開始位置と、前記画像表示用メモリにおけるその行の書き込み最終位置と次の行における前記書き込み開始位置と同じ列の位置との差分であるオフセットと、前記画像表示用メモリにおける前記書き込み開始位置の更新回数と、がレジスタに設定される第4のDMAコントローラが、前記読み出し部と、前記書き込み部と、前記書き込み位置更新部として設けられ、
前記第4のDMAコントローラは、
前記バッファへのデータの転送回数が、前記画像情報の各行のデータ列の転送に必要な転送回数に達する度に、前記画像表示用メモリへの現在の書き込み位置に前記オフセットを加算することにより、前記画像表示用メモリにおける前記書き込み開始位置を次の行の同じ列の位置に更新する処理を、全転送回数が前記画像情報全体の転送に必要な転送回数に達するまで繰り返す、
請求項1に記載の描画装置。 - 各行のデータ列が順番に連結されて記憶媒体に記憶された画像情報を読み出して、2次元の画像表示用メモリの所定の領域に書き込むことにより、前記画像情報に基づく画像を表示する描画方法であって、
プロセッサとは独立して動作するDMAコントローラを用いて、前記記憶媒体に記憶された前記画像情報を、その先頭の読み出し開始位置から所定の単位で順次読み出していく読み出し工程と、
前記プロセッサとは独立して動作するDMAコントローラを用いて、前記読み出し工程において読み出されたデータを、前記画像表示用メモリにおける書き込み開始位置から前記所定の単位で横方向に順次書き込んでいく書き込み工程と、
前記書き込み工程における前記各行のデータ列の書き込みが完了する度に、前記画像表示用メモリにおける前記書き込み開始位置を、次の行の同じ列の位置に更新する書き込み位置更新工程と、
を含む描画方法。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US13/882,532 US20130293560A1 (en) | 2010-11-01 | 2011-01-27 | Rendering device and rendering method |
JP2012541757A JP5575262B2 (ja) | 2010-11-01 | 2011-01-27 | 描画装置、描画方法及びプログラム |
CN201180052422.8A CN103189911B (zh) | 2010-11-01 | 2011-01-27 | 描绘装置以及描绘方法 |
EP11837768.8A EP2637165A4 (en) | 2010-11-01 | 2011-01-27 | DRAWING DEVICE AND DRAWING METHOD |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010-245743 | 2010-11-01 | ||
JP2010245743 | 2010-11-01 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2012060114A1 true WO2012060114A1 (ja) | 2012-05-10 |
Family
ID=46024239
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2011/051667 WO2012060114A1 (ja) | 2010-11-01 | 2011-01-27 | 描画装置及び描画方法 |
Country Status (5)
Country | Link |
---|---|
US (1) | US20130293560A1 (ja) |
EP (1) | EP2637165A4 (ja) |
JP (1) | JP5575262B2 (ja) |
CN (1) | CN103189911B (ja) |
WO (1) | WO2012060114A1 (ja) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2018170448A (ja) * | 2017-03-30 | 2018-11-01 | 株式会社ニューフレアテクノロジー | 描画データ作成方法 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07302073A (ja) * | 1994-03-07 | 1995-11-14 | Seiko Epson Corp | 映像データ転送装置およびコンピュータシステム |
JPH10133944A (ja) * | 1996-10-28 | 1998-05-22 | Nec Corp | 画像描画装置 |
JP2000231473A (ja) * | 1999-02-10 | 2000-08-22 | Ricoh Co Ltd | 表示制御装置および表示装置へのデータ転送方法 |
JP2002278919A (ja) * | 2001-03-22 | 2002-09-27 | Canon Inc | 表示制御方法及び装置 |
JP2010175786A (ja) | 2009-01-29 | 2010-08-12 | Mitsubishi Electric Corp | 状態表示装置 |
JP2010245743A (ja) | 2009-04-03 | 2010-10-28 | Daikin Ind Ltd | 電子装置、リモートコントローラ及び制御システム |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4622546A (en) * | 1983-12-23 | 1986-11-11 | Advanced Micro Devices, Inc. | Apparatus and method for displaying characters in a bit mapped graphics system |
DE3584903D1 (de) * | 1984-03-28 | 1992-01-30 | Toshiba Kawasaki Kk | Speichersteueranordnung fuer ein kathodenstrahlanzeigesteuergeraet. |
JPS61159686A (ja) * | 1985-01-07 | 1986-07-19 | 株式会社日立製作所 | 画像表示装置 |
JPS61254980A (ja) * | 1985-05-07 | 1986-11-12 | 株式会社ピーエフユー | 文字フオント転送制御方式 |
US4845656A (en) * | 1985-12-12 | 1989-07-04 | Kabushiki Kaisha Toshiba | System for transferring data between memories in a data-processing apparatus having a bitblt unit |
JP3895610B2 (ja) * | 2001-03-21 | 2007-03-22 | 株式会社リコー | 画像形成装置および画像形成方法 |
JP4373731B2 (ja) * | 2003-07-22 | 2009-11-25 | 富士フイルム株式会社 | 描画装置及び描画方法 |
WO2005098760A1 (ja) * | 2004-03-31 | 2005-10-20 | Pioneer Corporation | 描画方法、描画プログラム、および描画装置 |
JP4845475B2 (ja) * | 2005-10-20 | 2011-12-28 | 富士通セミコンダクター株式会社 | 画像表示装置およびその制御方法 |
JP4995057B2 (ja) * | 2007-12-07 | 2012-08-08 | キヤノン株式会社 | 描画装置、印刷装置、描画方法、及びプログラム |
JP5001903B2 (ja) * | 2008-05-28 | 2012-08-15 | ルネサスエレクトロニクス株式会社 | 半導体装置及びその製造方法 |
TWI421854B (zh) * | 2008-11-11 | 2014-01-01 | Chi Lin Technology Co Ltd | Screen display system and method |
-
2011
- 2011-01-27 EP EP11837768.8A patent/EP2637165A4/en not_active Withdrawn
- 2011-01-27 WO PCT/JP2011/051667 patent/WO2012060114A1/ja active Application Filing
- 2011-01-27 JP JP2012541757A patent/JP5575262B2/ja not_active Expired - Fee Related
- 2011-01-27 CN CN201180052422.8A patent/CN103189911B/zh not_active Expired - Fee Related
- 2011-01-27 US US13/882,532 patent/US20130293560A1/en not_active Abandoned
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07302073A (ja) * | 1994-03-07 | 1995-11-14 | Seiko Epson Corp | 映像データ転送装置およびコンピュータシステム |
JPH10133944A (ja) * | 1996-10-28 | 1998-05-22 | Nec Corp | 画像描画装置 |
JP2000231473A (ja) * | 1999-02-10 | 2000-08-22 | Ricoh Co Ltd | 表示制御装置および表示装置へのデータ転送方法 |
JP2002278919A (ja) * | 2001-03-22 | 2002-09-27 | Canon Inc | 表示制御方法及び装置 |
JP2010175786A (ja) | 2009-01-29 | 2010-08-12 | Mitsubishi Electric Corp | 状態表示装置 |
JP2010245743A (ja) | 2009-04-03 | 2010-10-28 | Daikin Ind Ltd | 電子装置、リモートコントローラ及び制御システム |
Non-Patent Citations (1)
Title |
---|
See also references of EP2637165A4 |
Also Published As
Publication number | Publication date |
---|---|
CN103189911A (zh) | 2013-07-03 |
JPWO2012060114A1 (ja) | 2014-05-12 |
CN103189911B (zh) | 2016-07-06 |
JP5575262B2 (ja) | 2014-08-20 |
US20130293560A1 (en) | 2013-11-07 |
EP2637165A4 (en) | 2014-06-04 |
EP2637165A1 (en) | 2013-09-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI524186B (zh) | Semiconductor devices and data processing systems | |
KR101689301B1 (ko) | 액정 표시 장치 | |
KR100435114B1 (ko) | 액정디스플레이장치 | |
JP5575262B2 (ja) | 描画装置、描画方法及びプログラム | |
KR20080075729A (ko) | 표시장치 | |
JP4592998B2 (ja) | 画像情報の伝送方法及び伝送装置 | |
JP5157059B2 (ja) | 表示装置及び表示方法 | |
JP2000122030A (ja) | マトリクス型液晶表示パネル駆動方法およびこの方法を実施する装置 | |
JP2005031640A (ja) | ホストによるグラフィックス表示装置への柔軟なアクセスを可能にするグラフィックスコントローラー | |
US10262624B2 (en) | Separating a compressed stream into multiple streams | |
JP2002330439A (ja) | 画像情報の伝送装置、画像情報の伝送システム及び画像情報の伝送方法 | |
JP2007101569A (ja) | カラー液晶表示装置の制御装置及び制御方法 | |
WO2012060113A1 (ja) | 描画装置及び描画方法 | |
JP2005122119A (ja) | Mpuとビデオコーデックとで構成されるシステムにおけるビデオインタフェース装置 | |
JP2013195963A (ja) | 画像処理装置、集積回路装置及び画像表示システム | |
JP3862976B2 (ja) | 表示機構 | |
JP4744277B2 (ja) | 携帯情報端末 | |
US10347170B2 (en) | Method of recovering error in data communication, data communication system performing the same and display apparatus including the data communication system | |
KR20080040926A (ko) | 디스플레이 장치 및 그의 edid 제공 방법 | |
JP2006227498A (ja) | 画像処理装置 | |
KR100586174B1 (ko) | 디스플레이 장치를 구동하기 위한 응용 프로세스 및데이터 스케일링 방법 | |
KR100791176B1 (ko) | 디지털 데이터 폭 정합을 통한 인터페이스 장치 | |
JPH0453991A (ja) | 液晶ディスプレイ制御装置 | |
JP2012073457A (ja) | 表示装置及び画像データの転送方法 | |
JPS63172332A (ja) | 半導体集積回路装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 11837768 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2012541757 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2011837768 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 13882532 Country of ref document: US |