Processing

Please wait...

Settings

Settings

Goto Application

1. EP2637165 - DRAWING DEVICE AND DRAWING METHOD

Note: Text based on automatic Optical Character Recognition processes. Please use the PDF version for legal matters

[ EN ]
Claims

1. A rendering device displaying an image based on image information by reading the image information stored on a storage medium such that data strings in rows are concatenated in sequence and by writing the image information in a given region of a two-dimensional image display memory, comprising:

a reader reading the image information stored on the storage medium sequentially in given units from a first reading start position of the image information independently from a processor;

a writer writing the data read by the reader sequentially in the horizontal direction in the given units from a writing start position in the image display memory independently from the processor; and

a writing position updater updating the writing start position in the image display memory to the position of the same column in the next row each time writing the data string in each of the rows by the writer is completed.


  2. The rendering device according to Claim 1, wherein:

the processor, the storage medium, the image display memory, the reader, and the writer are mounted on a microcomputer,

a data relayer comprising a buffer enabling input/output of data between the storage medium and image display memory is further provided outside the microcomputer,

the reader is a first DMA controller in registers of which the reading start position in the storage medium, the number of times of transfer necessary for transferring the entire image information, and a writing position in the buffer are set, and

the writer is a second DMA controller in registers of which the reading start position in the buffer, the number of times of transfer necessary for transferring the data string in each row of the image information, and the writing position in the image display memory are set.


  3. The rendering device according to Claim 2, further comprising a third DMA controller transferring data retained by the data relayer to the registers of the second DMA controller, wherein:

the data relayer uses the third DMA controller to cause the writing start position in the second DMA controller to be updated to the position of the same column in the next row each time the number of times of data transfer to the buffer reaches the number of times of transfer necessary for transferring the data string in each row of the image information.


  4. The rendering device according to Claim 2, wherein:

the data relayer outputs a completion signal to the processor each time the number of times of data transfer to the buffer reaches the number of times of transfer necessary for transferring the data string in each row of the image information, and

the processor as the writing position updater updates the writing start position in the second DMA controller to the position of the same column in the next row upon inputting the completion signal.


  5. The rendering device according to Claim 3 or 4, wherein:

the storage medium stores information regarding the length of the data string in each row of the image information in the header part of the image information,

the data relayer extracts the information regarding the length of the data string in each row from the header part of the image information written in the buffer, and

detects that the number of times of data transfer to the buffer has reached the number of times of transfer necessary for transferring the data string in each row of the image information using the extracted information.


  6. The rendering device according to any one of Claims 1 to 5, wherein:

the storage medium stores images constituting horizontally successive characters as the image information.


  7. The rendering device according to any one of Claims 1 to 5, further comprising a conversion part reading the image information on each of multiple characters stored on another storage medium and storing on the storage medium an image constituting horizontally successive characters as the image information.
  8. The rendering device according to Claim 1, wherein:

a fourth DMA controller in registers of which the reading start position in the storage medium, the number of times of transfer necessary for transferring the entire image information, the writing start position in the image display memory, an offset that is the difference between the writing end position in a row and the position of the same column as the writing start position in the next row in the image display memory, and the number of times of update of the writing start position in the image display memory are set is provided as the reader, the writer, and the writing position updater, and

the fourth DMA controller repeats the processing of updating the writing start position in the image display memory to the position of the same column in the next row by adding the offset to the current writing position in the image display memory each time the number of times of data transfer to the buffer reaches the number of times of transfer necessary for transferring the data string in each row of the image information until the total number of times of transfer reaches the number of times of transfer necessary for transferring the entire image information.


  9. A rendering method of displaying an image based on image information by reading the image information stored on a storage medium such that data strings in rows are concatenated in sequence and by writing the image information in a given region of a two-dimensional image display memory, including:

a reading step of reading the image information stored on the storage medium sequentially in given units from a first reading start position in the image information using a DMA controller operating independently from a processor;

a writing step of writing the data read in the reading step sequentially in the horizontal direction in the given units from the writing start position in the image display memory using a DMA controller operating independently from the processor; and

a writing position update step of updating the writing start position in the image display memory to the position of the same column in the next row each time writing the data string in each of the rows in the writing step is completed.