JP3762185B2 - Drawing device - Google Patents

Drawing device Download PDF

Info

Publication number
JP3762185B2
JP3762185B2 JP2000079442A JP2000079442A JP3762185B2 JP 3762185 B2 JP3762185 B2 JP 3762185B2 JP 2000079442 A JP2000079442 A JP 2000079442A JP 2000079442 A JP2000079442 A JP 2000079442A JP 3762185 B2 JP3762185 B2 JP 3762185B2
Authority
JP
Japan
Prior art keywords
data
logical operation
predetermined amount
memory
line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2000079442A
Other languages
Japanese (ja)
Other versions
JP2001260438A (en
Inventor
昌彦 村田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2000079442A priority Critical patent/JP3762185B2/en
Publication of JP2001260438A publication Critical patent/JP2001260438A/en
Application granted granted Critical
Publication of JP3762185B2 publication Critical patent/JP3762185B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Image Input (AREA)
  • Image Processing (AREA)
  • Digital Computer Display Output (AREA)

Description

【0001】
【産業上の利用分野】
本発明は、ページプリンタのような、ビットマップデータを用いて画像を表示する装置内に用いられる、ビットマップ画像の描画を行う描画装置に関するものである。
【0002】
【従来の技術】
従来、この種の描画装置においてはメモリのバンクを用いて画像メモリのマッピングをする場合、単にアクセス単位でローアドレスのヒットとミスヒットを判断していた。また、ディスティネーションの先読みをする装置においては、単に連続アドレスの次のアドレスを読み込んでいた。
【0003】
【発明が解決しようとする課題】
しかしながら、上記従来例のメモリバンクを制御するシステムにおいては、文字等の幅のワード数が少ないデータを描画する場合、改行が頻発しローアドレスのミスヒットが多発するため、処理速度がかえって低下するという欠点があった。
【0004】
また、ディスティネーションデータを先読みするシステムにおいては、前記と同様に文字等の幅のワード数が少ないデータを描画する場合に、先読みしたデータを改行のために使用できず、新たに次のラインのディスティネーションデータを読み直すという処理を繰り返し、描画速度が著しく低下するという欠点があった。
【0005】
したがって、本発明の目的は、頻発するローアドレスのミスヒットの頻度を飛躍的に改善し高速に描画動作を実行できる描画装置を提供することにある。
【0006】
【課題を解決するための手段】
本発明においては、描画するメモリのバンクを奇数ラインと偶数ラインで交互にマッピングするマッピング手段と、データの論理演算と並行して前の論理演算されたデータの書き込みと次のディスティネーションの読み出しを行うように制御する制御手段を設け、改行時に次のラインを先読みするように制御し、これによって、バンクが必ず異なりデータライト時のローアドレスのミスヒットが起こらないようにしたものである。
【0007】
【実施例】
(実施例1)
図1〜図6は本発明を実施した描画装置を説明する図であり、そのうち、図1は構成図である。図1において、101は本発明を実施した描画装置、102はアドレス発生器、103はDMAコントローラ、104はビットマップメモリ、105はシーケンスコントローラ、106は画像発生器、107は論理演算回路、108〜110はセレクタ、111〜113はそれぞれバッファ1、バッファ2、バッファ3、114、115はセレクタである。
【0008】
図2は本実施例の描画動作を説明する図である。図2において、201は画像発生器106が発生するビットマップ画像、202は描画するビットマップメモリ上にすでに描画されているディスティネーション画像データ、203はビットマップメモリ104上の描画先頭アドレス、204はビットマップ画像201とディスティネーション画像202を論理演算した画像データである。
【0009】
図3は本実施例の描画データのメモリアドレスを示す図であり、301は描画画像データ、302は描画アドレスである。303はアドレス内のビットマップデータである。
【0010】
本発明を実施した描画装置は、図1、図2に示す画像発生器106が発生した例えばAという文字(図2で201で示す)を矩形領域としてビットマップメモリ104上の描画先頭アドレスS(203で示す)に描画を行う。この時、描画する対象領域にすでに描画されたデータ(例えば、図2中の文字B)がある場合は、そのデータ(即ち、ディスティネーションデータ)を指定された論理で論理演算し、合成画像(204で示す)を形成し、ビットマップメモリ上に書き込むことにより描画バンドあるいは描画ページの画像を形成する。この描画動作を実現するため本描画装置は図1の構成をとっている。
【0011】
図1において、画像発生器106はデータバスから描画する座標位置や、論理演算の種類、描画するライン高さや、文字フォントやイメージ画像等のオブジェクトデータを指定する番号などで構成された描画処理リストを読み込み、指定されたオブジェクトデータからビットマップ形式の描画画像を発生し、その画像データを出力すると同時に、描画座標位置から描画基準点のライン位置と、水平位置、および実際に描画するオブジェクトデータのカレントラインの左座標、ネクストラインの左座標および描画オブジェクトの幅から処理ラインの描画データの最終データの位置を示すカレントラインの右座標を出力する。また、上記データの転送タイミングはデータイネーブル信号、データリクエスト信号、ラインエンド信号によって行われる。
【0012】
前記各左座標は、矩形を描画する場合は“0”が出力され、円などの図形の場合は図形の左エッジの座標が出力される。アドレス発生器102は画像発生器106から、カレントライン左座標信号、カレントラインの右座標信号が入力されると共に内部のレジスタに保持するバンド先頭アドレス、バンド幅データから描画アドレスの発生および描画バンクの選択を行う。
【0013】
DMAコントローラ103はアドレス発生器102からアドレス情報とバンク情報を受け取り、ビットマップメモリ104のアドレス線、バンク切換信号(バンク選択信号)線およびメモリ制御線をドライブし、メモリサイクルを発生する。発生されたメモリサイクルによって読み出されたディスティネーションデータはセレクタ108〜110によってバッファ111〜113の内のどれかに保持される。バッファに保持されたディスティネーションデータはセレクタ115で選択され論理演算回路107に入力される。
【0014】
一方、論理演算回路107には、画像発生装置106から画像データが入力され、入力された画像データとデスティネーションデータの論理演算を行い、セレクタ108〜110によって選択されバッファ111〜113のどれかに描画データとして保持される。保持された描画データはセレクタ114によって選択され、ビットマップメモリ104上に書き込まれる。以上のようにして本実施例における描画は行われる。
【0015】
ここで、バッファ1〜バッファ3(111〜113)は1つが書き込みデータの出力および読み出しデータの入力用、1つが保持された読み出しデータの論理演算回路への出力用、さらに1つが論理演算回路からのデータ入力用として用いられる。例えば、バッファ1に保持されたディスティネーションデータから論理演算回路を通してバッファ2に描画データを保持する。データ処理を行っているのと並行して、バッファ3にすでに保持されている前データをビットマップメモリに書き込み、書き込みが終了するとビットマップデータから次のデータを読み出し次の処理に備えて新しいディスティネーションデータを保持する。
【0016】
これらが終了すると、セレクタ108〜110および114〜115を切換え、バッファ3に保持されたディスティネーションデータから論理演算回路107を通してバッファ1に描画データを保持する。データ処理を行っているのと並行して、バッファ2に先に保持されたデータをビットマップメモリに書き込み、書き込みが終了すると、ビットマップデータから次のデータを読み出し、新しいディスティネーションデータを保持する。
【0017】
このように、次々に循環的にバッファを使用して、描画データの発生とメモリへの入出力を並行して行う。これら一連の各構成ブロックの制御をシーケンスコントローラ105が行う。シーケンスコントローラ105は前記処理をシーケンスに行うように動作し、アドレス発生器102に対しては実行中のシーケンス番号とイネーブル信号を出力し、書き込みや読み出し等のどのアドレスを発生するか制御する。
【0018】
また、アドレス発生器102は入力されたライン右座標と出力したアクセスアドレスの数から改行位置を認識し改行信号を出力する。アドレス発生器102で改行が行われるネクストライン左座標から次ラインの読み出しアドレスを発生し、改行後のディスティネーションアドレスを出力する。DMAコントローラ103に対して、シーケンスコントローラ105はRDRQ信号により読み出しDMAアクセスと、WDRQ信号によって書き込みDMAアクセスを要求し、DMAコントローラはアドレス発生器102によって発生されたアドレスに従ってメモリサイクルを起動する。
【0019】
メモリサイクルの所定のタイミングで読み出し要求にはRDACK信号を、書き込み要求に対してはWDACK信号をシーケンスコントローラ105に出力する。シーケンスコントローラ105は現在のシーケンスの状態に従ってセレクタ108〜110およびセレクタ114〜115を切換え、各バッファ111〜113へRD信号あるいはWR信号を出力し前記描画処理を実現する。
【0020】
図3は描画データとビットマップメモリのメモリセルとの対応を示す図である。図3において、301は論理演算された描画データであり、302はそれが書き込まれるメモリアドレスを示している。302内のアドレスSは図2の描画先頭アドレスSに相当する。ビットマップメモリ104は、バートアクセスが可能であり、かつ内部に複数のバンクを有するシンクロナスDRAMのようなメモリを使用し、図3のようにビットマップメモリのバンクをバンク0、バンク1、バンク0、バンク1・・・のようにライン毎に交互にマッピングする。
【0021】
図3の例では、ビットマップメモリは8ワードを1度にバーストアクセスできるものとし、各ラインの描画はアドレスS〜アドレスS+1Chの8ワードサイクルと、アドレスS+20hの1ワードアクセスの2回のメモリサイクルに分割して行われる。303は各ワード内のデータが黒ドットと白ドットにメモリデータのビットの論理“1”、“0”が対応するビットマップデータであることを示している。
【0022】
図4は以上説明した描画動作を行う際のメモリアクセスと論理演算の実行を表現した図で、図中白抜きの領域がメモリバンク0に関する処理、グレーで塗られた領域がメモリバンク1に関する処理である。時刻tssで描画動作が始まり、描画アドレス、バンク0のアドレスSのディスティネーションデータの8ワードが第1のバッファに読み込まれる。
【0023】
時刻t00〜t02では、第1バッファのデータが順次論理演算され、第2のバッファに書き込まれる。時刻t01〜t02では、次の描画アドレス、バンク0アドレスS+20のディスティネーションデータが第3のバッファに読み込まれる。時刻t02〜t03では第2のバッファの論理演算済みのデータがバンク0アドレスSに書き込まれ、時刻t03〜t04では第2のバッファに次のラインのデータ、バンク1のアドレスSのディスティネーションデータが読み込まれる。同時に時刻t02〜t04では第3のバッファにすでに読み込まれた描画アドレス、バンク0、アドレスS+20の1ワードのデータが入力画像データと論理演算され、第1のバッファに書き込まれる。
【0024】
以降同様に各バッファが役割を循環しながら、データの入出力と論理演算が並行して行われ、画像の描画動作が効率的に行われる。図4の下の図は各メモリバンク毎のメモリアクセスをまとめた図であり、各バンク共改行時に一回だけしかローアドレスのミスヒットが起こらず、高速にメモリアクセスが実行されることがわかる。以上説明したように本発明によれば、メモリデータの入出力と論理演算を並行して行うことにより高速に描画動作が実行でき、この場合特に頻発するローアドレスのミスヒットを2つのバンクをライン毎に交互にマッピングすることによって飛躍的に改善し、更なる高速描画を実現するものである。
【0025】
(実施例2)
図5は本発明を4バンクを持つメモリに応用した例である。4バンクを4ライン毎に交互にマッピングしてももちろんよいが、これは実施例1から容易に推測できるので実施例2では1ラインに2つのバンクをメモリアクセス単位に交互にマッピングし、これを1ライン毎に交互にマッピングした例を説明する。
【0026】
図5はこのマッピング方法により図2のデータの描画動作のメモリアクセスと論理演算を説明している。図4の場合では1ラインのデータを2つのバンクを交互にアクセスし、さらにライン毎に交互にこのバンクセットをアクセスする。本例の場合各バンクが、図4下のようにアドレスS、S+W、S+2W・・・と順次アクセスされる。従って、実施例1のようにアドレスの戻りすなわち、S、S+20、S、S+20が起こらないので、例えば、アドレスSとS+20の間にローアドスの境界があった場合のローミスを防ぐことができる。
【0027】
本実施例では、1ラインに2つのバンクが存在するので、改行の多い小さな描画を実施する場合はローミスの頻度が上がり不利であるが、幅の広いデータを描画する場合は前記アドレスの戻りがないので大変有利である。
【0028】
(実施例3)
図6は本発明の実施例3の構成図である。図6において、606は画像発生器であり、607は論理演算回路である。その他構成は実施例1と同様である。本実施例においては、画像発生器606はクリッピングする領域を指定するマスク画像、張り付けるパターンであるバックグランド画像、塗る色や濃度を表現するグレー画像を出力し、論理演算回路607はこれらの発生された画像とディスティネーションデータの複雑な論理演算を行う。他の処理は実施例1と同様である。
【0029】
このように、本発明は、入力される画像の種類や数を限定するものではなく、さらに描画画像の1ピクセルを構成するビットマップメモリのビット数を限定するものではない。
【0030】
【発明の効果】
以上説明したように、本発明によれば、メモリデータの入出力と論理演算を並行して行うことと、ビットマップメモリの2つのバンクをライン毎に交互にマッピングすることによって、頻発するローアドレスのミスヒットを頻度の飛躍的に改善し高速に描画動作が実行できる。
【図面の簡単な説明】
【図1】図1は、実施例1の構成図である。
【図2】図2は、描画動作を説明する図である。
【図3】図3は、ビットマップメモリの構成を表す図である。
【図4】図4は、矩形描画のメモリサイクルを表す図である。
【図5】図5は、実施例2の矩形描画のメモリサイクルを表す図である。
【図6】図6は、実施例3の構成図である。
【符号の説明】
101 描画装置
102 アドレス発生器
103 DMAコントローラ
104 ビットマップメモリ
105 シーケンスコントローラ
106 画像発生器
107 論理演算回路
108〜110 セレクタ
111〜113 バッファ
114〜115 セレクタ
[0001]
[Industrial application fields]
The present invention relates to a drawing apparatus that draws a bitmap image and is used in an apparatus that displays an image using bitmap data, such as a page printer.
[0002]
[Prior art]
Conventionally, in this type of drawing apparatus, when image memory mapping is performed using a memory bank, a hit and a miss of a row address are simply determined in units of access. Further, the destination prefetching device simply reads the next address after the continuous address.
[0003]
[Problems to be solved by the invention]
However, in the conventional system for controlling a memory bank, when data with a small number of words, such as characters, is drawn, line breaks occur frequently and row address mishits occur frequently, resulting in a decrease in processing speed. There was a drawback.
[0004]
In addition, in the system that pre-reads the destination data, when drawing data with a small number of words such as characters as described above, the pre-read data cannot be used for line breaks, and a new line The process of re-reading the destination data is repeated, and there is a drawback that the drawing speed is remarkably reduced.
[0005]
Accordingly, an object of the present invention is to provide a drawing apparatus capable of dramatically improving the frequency of frequent row address miss-hits and executing a drawing operation at high speed.
[0006]
[Means for Solving the Problems]
In the present invention, the mapping means for alternately mapping the banks of the memory to be drawn by the odd lines and the even lines, and the writing of the previous logical operation and the reading of the next destination are performed in parallel with the logical operation of the data. Control means is provided for performing control so that the next line is prefetched at the time of a line break, so that a bank is always different and a row address mishit at the time of data writing does not occur.
[0007]
【Example】
Example 1
1 to 6 are diagrams for explaining a drawing apparatus embodying the present invention, of which FIG. 1 is a block diagram. In FIG. 1, 101 is a drawing apparatus that implements the present invention, 102 is an address generator, 103 is a DMA controller, 104 is a bitmap memory, 105 is a sequence controller, 106 is an image generator, 107 is a logical operation circuit, 110 is a selector, 111-113 are buffer 1, buffer 2, and buffers 3, 114, 115 are selectors, respectively.
[0008]
FIG. 2 is a diagram for explaining the drawing operation of this embodiment. In FIG. 2, 201 is a bitmap image generated by the image generator 106, 202 is destination image data already drawn on the bitmap memory to be drawn, 203 is a drawing start address on the bitmap memory 104, and 204 is This is image data obtained by performing a logical operation on the bitmap image 201 and the destination image 202.
[0009]
FIG. 3 is a diagram showing the memory address of the drawing data of this embodiment, 301 is the drawing image data, and 302 is the drawing address. Reference numeral 303 denotes bitmap data in the address.
[0010]
The drawing apparatus embodying the present invention uses, for example, a letter A (shown by 201 in FIG. 2) generated by the image generator 106 shown in FIGS. (Shown at 203). At this time, if there is already drawn data (for example, the letter B in FIG. 2) in the drawing target area, the data (that is, the destination data) is logically operated with the designated logic, and a composite image ( And a drawing band or a drawing page image is formed by writing in the bitmap memory. In order to realize this drawing operation, the drawing apparatus has the configuration shown in FIG.
[0011]
In FIG. 1, an image generator 106 is a drawing processing list composed of coordinate positions to be drawn from a data bus, types of logical operations, line heights to be drawn, numbers for specifying object data such as character fonts and image images, and the like. , Generates a bitmap-format drawing image from the specified object data, and outputs the image data. At the same time, the line position of the drawing reference point from the drawing coordinate position, the horizontal position, and the actual drawing object data From the left coordinate of the current line, the left coordinate of the next line, and the width of the drawing object, the right coordinate of the current line indicating the position of the final data of the drawing data of the processing line is output. The data transfer timing is performed by a data enable signal, a data request signal, and a line end signal.
[0012]
As the left coordinates, “0” is output when a rectangle is drawn, and the coordinates of the left edge of the graphic are output in the case of a graphic such as a circle. The address generator 102 receives the current line left coordinate signal and the right coordinate signal of the current line from the image generator 106 and generates a drawing address from the band head address and bandwidth data held in the internal register and the drawing bank. Make a selection.
[0013]
The DMA controller 103 receives address information and bank information from the address generator 102, drives an address line, a bank switching signal (bank selection signal) line and a memory control line of the bitmap memory 104, and generates a memory cycle. The destination data read by the generated memory cycle is held in any of the buffers 111 to 113 by the selectors 108 to 110. The destination data held in the buffer is selected by the selector 115 and input to the logical operation circuit 107.
[0014]
On the other hand, the logical operation circuit 107 receives image data from the image generation device 106, performs logical operation on the input image data and destination data, is selected by the selectors 108 to 110, and is stored in any of the buffers 111 to 113. Stored as drawing data. The held drawing data is selected by the selector 114 and written on the bitmap memory 104. Drawing in the present embodiment is performed as described above.
[0015]
Here, one of the buffers 1 to 3 (111 to 113) is for outputting write data and inputting read data, one for outputting read data held therein to the logical operation circuit, and one from the logical operation circuit. Used for data input. For example, drawing data is held in the buffer 2 from the destination data held in the buffer 1 through a logical operation circuit. In parallel with the data processing, the previous data already stored in the buffer 3 is written to the bitmap memory, and when the writing is completed, the next data is read from the bitmap data to prepare for the next processing. Holds nation data.
[0016]
When these are finished, the selectors 108 to 110 and 114 to 115 are switched, and the drawing data is held in the buffer 1 from the destination data held in the buffer 3 through the logic operation circuit 107. In parallel with the data processing, the data previously held in the buffer 2 is written to the bitmap memory, and when the writing is completed, the next data is read from the bitmap data and the new destination data is held. .
[0017]
In this way, the generation of the drawing data and the input / output to the memory are performed in parallel using the buffer one after another. The sequence controller 105 controls these series of constituent blocks. The sequence controller 105 operates so as to perform the above-described processing in a sequence, outputs a sequence number being executed and an enable signal to the address generator 102, and controls which address such as writing or reading is generated.
[0018]
The address generator 102 recognizes a line feed position from the input line right coordinate and the number of output access addresses and outputs a line feed signal. The address generator 102 generates a read address of the next line from the left coordinate of the next line where the line feed is performed, and outputs the destination address after the line feed. For the DMA controller 103, the sequence controller 105 requests read DMA access by the RDRQ signal and write DMA access by the WDRQ signal, and the DMA controller starts a memory cycle according to the address generated by the address generator 102.
[0019]
At a predetermined timing of the memory cycle, an RDACK signal is output to the sequence controller 105 for a read request, and a WDACK signal is output to the sequence controller 105 for a write request. The sequence controller 105 switches the selectors 108 to 110 and the selectors 114 to 115 according to the current sequence state, and outputs the RD signal or the WR signal to each of the buffers 111 to 113 to realize the drawing process.
[0020]
FIG. 3 is a diagram showing the correspondence between the drawing data and the memory cells of the bitmap memory. In FIG. 3, reference numeral 301 denotes drawing data obtained by a logical operation, and 302 denotes a memory address to which it is written. The address S in 302 corresponds to the drawing start address S in FIG. The bitmap memory 104 uses a memory such as a synchronous DRAM that can be accessed by a bart and has a plurality of banks therein. As shown in FIG. 0, bank 1... Are alternately mapped for each line.
[0021]
In the example of FIG. 3, the bitmap memory is assumed to be capable of burst access of 8 words at a time, and each line is drawn in two memory cycles of 8 word cycles of address S to address S + 1Ch and 1 word access of address S + 20h. Divided into two. Reference numeral 303 indicates that the data in each word is bitmap data in which the logic “1” and “0” of the bit of the memory data correspond to the black dots and the white dots.
[0022]
FIG. 4 is a diagram representing the memory access and the execution of the logical operation when the drawing operation described above is performed. In the figure, the white area is the process related to the memory bank 0, and the gray area is the process related to the memory bank 1. It is. The drawing operation starts at time tss, and 8 words of the drawing address and the destination data of the address S of bank 0 are read into the first buffer.
[0023]
At times t00 to t02, the data in the first buffer is sequentially subjected to logical operation and written to the second buffer. From time t01 to t02, the destination data of the next drawing address, bank 0 address S + 20, is read into the third buffer. From time t02 to t03, the logically processed data of the second buffer is written to the bank 0 address S, and from time t03 to t04, the next line data and the destination data of the address S of the bank 1 are stored in the second buffer. Is read. At the same time from time t02 to t04, the drawing address already read into the third buffer, the data of one word at bank 0 and address S + 20 are logically calculated with the input image data, and written into the first buffer.
[0024]
Thereafter, the input / output of data and the logical operation are performed in parallel while the respective buffers circulate similarly, and the image drawing operation is performed efficiently. The lower diagram of FIG. 4 is a diagram summarizing the memory access for each memory bank, and it can be seen that the memory address is executed at high speed because the row address mishit occurs only once at the time of line break in each bank. . As described above, according to the present invention, the drawing operation can be executed at a high speed by performing the memory data input / output and the logical operation in parallel. By mapping each time alternately, it is improved drastically and further high-speed drawing is realized.
[0025]
(Example 2)
FIG. 5 shows an example in which the present invention is applied to a memory having four banks. Of course, four banks may be mapped alternately every four lines. However, since this can be easily inferred from the first embodiment, in the second embodiment, two banks are alternately mapped to memory access units in one line. An example in which mapping is alternately performed for each line will be described.
[0026]
FIG. 5 explains memory access and logical operation of the data drawing operation of FIG. 2 by this mapping method. In the case of FIG. 4, one bank of data is accessed alternately in two banks, and this bank set is accessed alternately for each line. In the case of this example, each bank is sequentially accessed as addresses S, S + W, S + 2W... As shown in FIG. Therefore, since address return, that is, S, S + 20, S, S + 20 does not occur as in the first embodiment, for example, a row miss can be prevented when there is a row address boundary between the addresses S and S + 20.
[0027]
In this embodiment, since there are two banks in one line, when performing small drawing with many line breaks, the frequency of low miss increases, which is disadvantageous. However, when wide data is drawn, the address is returned. It is very advantageous because it is not.
[0028]
Example 3
FIG. 6 is a configuration diagram of Embodiment 3 of the present invention. In FIG. 6, reference numeral 606 denotes an image generator, and 607 denotes a logical operation circuit. Other configurations are the same as those in the first embodiment. In this embodiment, the image generator 606 outputs a mask image for designating an area to be clipped, a background image as a pasting pattern, and a gray image expressing the color and density to be applied, and the logical operation circuit 607 generates these. Perform complex logic operations on the image and destination data. Other processes are the same as those in the first embodiment.
[0029]
Thus, the present invention does not limit the type and number of images to be input, and does not limit the number of bits of the bitmap memory that constitutes one pixel of the drawn image.
[0030]
【The invention's effect】
As described above, according to the present invention, frequent input and output of a memory data and logical operation are performed in parallel, and two banks of the bitmap memory are alternately mapped for each line, thereby causing frequent row addresses. The number of miss hits can be drastically improved and the drawing operation can be executed at high speed.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of Embodiment 1. FIG.
FIG. 2 is a diagram illustrating a drawing operation.
FIG. 3 is a diagram illustrating a configuration of a bitmap memory.
FIG. 4 is a diagram illustrating a memory cycle for rectangular drawing.
FIG. 5 is a diagram illustrating a memory cycle of rectangular drawing according to the second embodiment.
FIG. 6 is a configuration diagram of the third embodiment.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 101 Drawing apparatus 102 Address generator 103 DMA controller 104 Bitmap memory 105 Sequence controller 106 Image generator 107 Logic operation circuit 108-110 Selector 111-113 Buffer 114-115 Selector

Claims (5)

描画処理リストに基づいてビットマップ形式の画像データを発生し、その画像データをメモリに描画する描画装置であって、メモリ上にすでに描画されたディスティネーション画像を読み込み、前記読み込んだディスティネーション画像と前記発生した画像データを論理演算し、論理演算した画像データを前記メモリに書き込むことにより描画を行う描画装置において、前記メモリとして複数のバンクを持つものを用い、描画ラインの奇数ラインと偶数ラインを異なるメモリバンクにマッピングするマッピング手段と、データの論理演算と並行して前の論理演算されたデータの書き込みと次のディスティネーションデータの読み出しを行うように制御する制御手段を設けたことを特徴とする描画装置。A drawing apparatus that generates bitmap format image data based on a drawing processing list and draws the image data in a memory, reads a destination image already drawn on the memory, and reads the destination image and In a drawing apparatus that performs drawing by performing logical operation on the generated image data and writing the logically calculated image data into the memory, the memory having a plurality of banks is used, and odd lines and even lines of the drawing lines are set. A mapping means for mapping to different memory banks, and a control means for controlling the writing of the previous logical operation data and the reading of the next destination data in parallel with the logical operation of the data are provided. Drawing device to do. 前記制御手段は、読み出された奇数ラインの所定量のデータの論理演算と並行して奇数ラインの所定量の前の論理演算されたデータの書き込みと偶数ラインの所定量の次のディスティネーションデータの読み出しを行なうように制御することを特徴とする請求項1記載の描画装置。  The control means writes the logical operation of the predetermined amount of data of the odd line in parallel with the logical operation of the predetermined amount of data of the read odd line and the next destination data of the predetermined amount of the even line. The drawing apparatus according to claim 1, wherein control is performed so as to read out. 前記制御手段は、読み出された奇数ラインの所定量のデータの論理演算と並行して偶数ラインの所定量の前の論理演算されたデータの書き込みと奇数ラインの所定量の次のディスティネーションデータの読み出しを行なうように制御することを特徴とする請求項1乃至2いずれかに記載の描画装置。  The control means writes the logical operation of the predetermined amount of data of the even line and the next destination data of the predetermined amount of the odd line in parallel with the logical operation of the predetermined amount of data of the read odd line. The drawing apparatus according to claim 1, wherein control is performed so as to read out the image. 前記制御手段は、読み出された偶数ラインの所定量のデータの論理演算と並行して偶数ラインの所定量の前の論理演算されたデータの書き込みと奇数ラインの所定量の次のディスティネーションデータの読み出しを行なうように制御することを特徴とする請求項1乃至3いずれかに記載の描画装置。  The control means writes a logical operation of a predetermined amount of data of an even line in parallel with a logical operation of a predetermined amount of data of the read even line and a next destination data of a predetermined amount of an odd line. 4. The drawing apparatus according to claim 1, wherein the drawing apparatus is controlled so as to perform reading. 前記制御手段は、読み出された偶数ラインの所定量のデータの論理演算と並行して奇数ラインの所定量の前の論理演算されたデータの書き込みと偶数ラインの所定量の次のディスティネーションデータの読み出しを行なうように制御することを特徴とする請求項1乃至4いずれかに記載の描画装置。  The control means writes the logical operation of the predetermined amount of data on the odd line and the next destination data of the predetermined amount on the even line in parallel with the logical operation of the predetermined amount of data of the even line read out. 5. The drawing apparatus according to claim 1, wherein control is performed so as to read out the data.
JP2000079442A 2000-03-22 2000-03-22 Drawing device Expired - Fee Related JP3762185B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000079442A JP3762185B2 (en) 2000-03-22 2000-03-22 Drawing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000079442A JP3762185B2 (en) 2000-03-22 2000-03-22 Drawing device

Publications (2)

Publication Number Publication Date
JP2001260438A JP2001260438A (en) 2001-09-25
JP3762185B2 true JP3762185B2 (en) 2006-04-05

Family

ID=18596692

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000079442A Expired - Fee Related JP3762185B2 (en) 2000-03-22 2000-03-22 Drawing device

Country Status (1)

Country Link
JP (1) JP3762185B2 (en)

Also Published As

Publication number Publication date
JP2001260438A (en) 2001-09-25

Similar Documents

Publication Publication Date Title
US4435792A (en) Raster memory manipulation apparatus
US7580042B2 (en) Systems and methods for storing and fetching texture data using bank interleaving
JPH0355832B2 (en)
JPH067304B2 (en) Graphic processing device
US6992673B2 (en) Memory access device, semiconductor device, memory access method, computer program and recording medium
JP3762185B2 (en) Drawing device
JP2000293432A (en) Bank variable memory
KR930000693B1 (en) Pattern data generating apparatus
JPH06149533A (en) Segment quick plotting system for reducing plotting processing for segment outside display area
JPH10240613A (en) Memory access control mehtod and device
JP4482996B2 (en) Data storage apparatus and method and image processing apparatus
JP3699496B2 (en) Image supply method and graphic controller using spatial redundancy to improve bandwidth
JPH087095A (en) Character and pattern display device
JPH07320053A (en) Image rotation processor
JP2624667B2 (en) Graphic processing unit
JP2003054046A (en) Drawing device, printer, drawing method, program and storage medium
KR100243181B1 (en) Method and apparatus for processing signal of raster engine of three-dimensional graphic system
JP2740197B2 (en) Bitmap drawing device
JPH0594170A (en) Vector font plotting device
JPS6191691A (en) Display unit
JPH03137722A (en) Two-dimensional memory device
JPH04278652A (en) Graphic drawing device and its memory access system
JPH0467964A (en) Page printer printing control method
JPH05127662A (en) Display device of information equipment
JPH03278190A (en) Polygon painting-out system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050930

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051108

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051111

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051116

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20051220

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060112

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 3762185

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090120

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100120

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110120

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120120

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130120

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140120

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees