JPH1069541A - Picture processor - Google Patents
Picture processorInfo
- Publication number
- JPH1069541A JPH1069541A JP8228691A JP22869196A JPH1069541A JP H1069541 A JPH1069541 A JP H1069541A JP 8228691 A JP8228691 A JP 8228691A JP 22869196 A JP22869196 A JP 22869196A JP H1069541 A JPH1069541 A JP H1069541A
- Authority
- JP
- Japan
- Prior art keywords
- address
- data
- line pitch
- pixel
- pixel size
- 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.)
- Granted
Links
Landscapes
- Image Input (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】この発明は、メモリの利用効
率を向上するのに好適な画像処理装置に関するものであ
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus suitable for improving the use efficiency of a memory.
【0002】[0002]
【従来の技術】一般に、コンピュータによって図形をデ
ィスプレイに表示する場合、当該図形を指示する描画デ
ータがCPUによって生成されると、これが画像表示メ
モリに一旦格納される。そして、画像表示メモリから描
画データが順次読み出され、ディスプレイに表示され
る。ところで、1フレームの画像は、描画データの各サ
ンプルタイミングにおけるピクセルの集合で表される。
例えば、640×480の画像は、水平ピクセル数が6
40個あり、垂直ピクセル数が480個ある。この場
合、画面上の1点を原点としたX-Yアドレスを用い
て、各ピクセル毎に描画データを指定することができ
る。上記した例にあって、画面左上隅を原点とすれば、
画面右下隅のピクセルのXアドレス(水平方向のアドレ
ス)は639となり、Yアドレス(垂直方向のアドレ
ス)は479となる。2. Description of the Related Art Generally, when a graphic is displayed on a display by a computer, when drawing data indicating the graphic is generated by a CPU, the drawing data is temporarily stored in an image display memory. Then, the drawing data is sequentially read from the image display memory and displayed on the display. Incidentally, an image of one frame is represented by a set of pixels at each sample timing of drawing data.
For example, an image of 640 × 480 has a horizontal pixel number of 6
There are 40 and 480 vertical pixels. In this case, drawing data can be designated for each pixel using an XY address having one point on the screen as the origin. In the above example, if the origin is the upper left corner of the screen,
The X address (the horizontal address) of the pixel at the lower right corner of the screen is 639, and the Y address (the vertical address) is 479.
【0003】[0003]
【発明が解決しようとする課題】ここで、画像表示メモ
リは1メガバイト(=1024×1024×8ビット)
の記憶容量を有し、描画データが8ビット/ピクセルで
構成されるものとする。この画像表示メモリに1フレー
ムが640×480の画像をX-Yアドレスを用いて格
納したとすると、描画データは図4に示すように格納さ
れる。図において、記憶領域Aにはフレーム#1が、記
憶領域Bにはクレーム#2が格納される。この場合、フ
レーム#3お格納しようとしても、まとまった記憶領域
が無いため、これを記憶することができない。Here, the image display memory is 1 megabyte (= 1024.times.1024.times.8 bits).
And the drawing data is composed of 8 bits / pixel. Assuming that an image of 640 × 480 in one frame is stored in the image display memory using the XY address, the drawing data is stored as shown in FIG. In the figure, frame # 1 is stored in storage area A, and claim # 2 is stored in storage area B. In this case, even if frame # 3 is to be stored, it cannot be stored because there is no large storage area.
【0004】また、この画像表示メモリの記憶領域をラ
イン単位で表せば、図5に示すようになる。図におい
て、斜線部分はデータが記憶されていない領域であり、
画像表示メモリの記憶領域は、連続して使用されていな
い。したがって、X-Yアドレスを用いて描画データを
記憶すると、画像表示メモリの利用効率が悪いといった
問題がある。また、CPUは、一般に、リニアアドレス
と呼ばれる連続したアドレスを用いて、メモリにアクセ
スする。このため、画像表示メモリをX-Yアドレスを
用いて管理すると、画像表示メモリをCPUのメモリ空
間に直接マップすることができないといった問題もあ
る。FIG. 5 shows the storage area of the image display memory in units of lines. In the figure, the hatched portion is an area where no data is stored,
The storage area of the image display memory is not used continuously. Therefore, when drawing data is stored using the XY address, there is a problem that the use efficiency of the image display memory is low. In addition, the CPU accesses the memory using a continuous address generally called a linear address. Therefore, if the image display memory is managed using the XY address, there is a problem that the image display memory cannot be directly mapped to the memory space of the CPU.
【0005】本発明は上述した事情に鑑がみてなされた
ものであり、画像表示メモリの利用効率を向上させると
ともに、画像表示メモリをCPUで容易に管理すること
ができる画像処理装置を提供することを主目的とする。SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and provides an image processing apparatus capable of improving the utilization efficiency of an image display memory and easily managing the image display memory by a CPU. The main purpose is.
【0006】[0006]
【課題を解決するための手段】上記課題を解決するため
請求項1に記載の発明にあっては、画面を構成する各ピ
クセル毎に描画データを処理する画像処理装置におい
て、複数の前記描画データを各記憶領域に連続アドレス
を用いて格納するメモリと、前記各記憶領域のうちアク
セスすべき一の領域を指示する領域指定信号を生成する
領域指定手段と、水平方向のピクセル位置を指示する水
平アドレスと垂直方向のピクセル位置を指示する垂直ア
ドレスを生成する水平垂直アドレス生成手段と、前記描
画データの記憶開始位置を指示する開始アドレスを、前
記記憶領域毎とに格納する開始アドレス格納手段と、前
記描画データの1ラインあたりのデータ長を指示するラ
インピッチデータを、前記記憶領域毎に格納するライン
ピッチデータ格納手段と、前記描画データの1ピクセル
あたりのビット数を指示するピクセルサイズデータを、
前記記憶領域毎に格納するピクセルサイズデータ格納手
段と、前記領域指定信号に基づいて、前記開始アドレス
格納手段、前記ラインピッチデータ格納手段および前記
ピクセルサイズデータ格納手段から、それぞれ読み出し
た前記開始アドレス、前記ラインピッチデータおよび前
記ピクセルサイズデータを用いて、前記水平,垂直アド
レスを前記連続アドレスに変換する変換手段と、前記連
続アドレスによって前記メモリにアクセスするメモリア
クセス手段とを備えたことを特徴とする。According to the first aspect of the present invention, there is provided an image processing apparatus for processing drawing data for each pixel constituting a screen. In each storage area using a continuous address, an area specifying means for generating an area specifying signal for specifying one of the storage areas to be accessed, and a horizontal for specifying a horizontal pixel position. Horizontal and vertical address generation means for generating a vertical address indicating an address and a pixel position in the vertical direction; start address storage means for storing a start address indicating a storage start position of the drawing data for each of the storage areas; A line pitch data storage method for storing line pitch data indicating a data length of one line of the drawing data for each storage area. When the pixel size data for instructing the number of bits per pixel of the drawing data,
Pixel size data storage means for storing for each storage area, the start address read from the start address storage means, the line pitch data storage means and the pixel size data storage means based on the area designation signal, A conversion unit that converts the horizontal and vertical addresses into the continuous addresses using the line pitch data and the pixel size data; and a memory access unit that accesses the memory using the continuous addresses. .
【0007】また、請求項2に記載も発明にあっては、
前記変換手段は、LA=SA+LP×Ay+PS×Ax
(ただし、LAは前記連続アドレス、SAは前記開始ア
ドレス、LPは前記ラインピッチデータ、Ayは前記垂
直アドレス、PSは前記ピクセルサイズデータ、Axは
前記水平アドレス)を演算することにより、前記連続ア
ドレスを生成することを特徴とする。Further, according to the invention described in claim 2,
The conversion means LA = SA + LP × Ay + PS × Ax
(However, LA is the continuous address, SA is the start address, LP is the line pitch data, Ay is the vertical address, PS is the pixel size data, and Ax is the horizontal address.) Is generated.
【0008】[0008]
【発明の実施の形態】1.実施形態の構成 以下、図面を参照してこの発明の実施形態の構成につい
て説明する。図1はこの発明の一実施形態に係わる画像
処理装置のブロック図である。図1において、1は描画
プロセッサであり、マウス等の入力手段(図示せず)か
ら、直線を描画する指示や図形を塗りつぶす指示が入力
されると、それらの指示に従って、描画データGDを生
成する。この描画データGDはフレーム単位で、画像表
示メモリ3の各記憶領域に記憶される。10は、描画プ
ロセッサ1の内部に設けられたX-Yアドレス生成部で
あり、そこでは、描画データGDのX-YアドレスAxy
と、X-Y空間指定信号Sxyが生成される。このX-Y空
間指定信号Sxyは、画像表示メモリ3の各記録領域を指
示する。DETAILED DESCRIPTION OF THE INVENTION 1. Configuration of Embodiment Hereinafter, a configuration of an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of an image processing apparatus according to an embodiment of the present invention. In FIG. 1, reference numeral 1 denotes a drawing processor, which receives drawing instructions for drawing a straight line or painting a figure from input means (not shown) such as a mouse, and generates drawing data GD in accordance with those instructions. . The drawing data GD is stored in each storage area of the image display memory 3 on a frame basis. Reference numeral 10 denotes an XY address generation unit provided inside the drawing processor 1, where an XY address Axy of the drawing data GD is provided.
Then, an XY space designation signal Sxy is generated. The XY space designation signal Sxy designates each recording area of the image display memory 3.
【0009】また、2は、画像表示メモリ3にアクセス
するメモリアクセス回路であり、その内部にはX-Yア
ドレス−リニアアドレス変換器20が設けられており、
そこではX-Y空間指定信号Sxyに基づいて、X-Yアド
レスAxyがリニアアドレスLAに変換される。この場
合、X-Y空間指定信号Sxyは記憶領域を指示するか
ら、記憶領域毎に異なるパラメータを用いてリニアアド
レスLAを生成することが可能となる。こうして生成さ
れたリニアアドレスLAを用いて、画像表示メモリ3の
各記憶領域には、各種の描画データGDが連続して格納
される。したがって、描画データGDが飛び飛びに記憶
されるといったことがなく、画像表示メモリ3の利用効
率が向上する。Reference numeral 2 denotes a memory access circuit for accessing the image display memory 3, in which an XY address-linear address converter 20 is provided.
There, the XY address Axy is converted to a linear address LA based on the XY space designation signal Sxy. In this case, since the XY space designation signal Sxy indicates a storage area, it is possible to generate the linear address LA using different parameters for each storage area. Various drawing data GD are continuously stored in each storage area of the image display memory 3 using the linear address LA thus generated. Therefore, the drawing data GD is not separately stored, and the utilization efficiency of the image display memory 3 is improved.
【0010】2.X-Yアドレス−リニアアドレス変換
処理 次に、X-YアドレスAxyからリニアアドレスLAへ変
換する処理について説明する。X-Yアドレス−リニア
アドレス変換器20は、以下に示す演算式に従ってリニ
アアドレスLAを生成する。 LA=SA+LP*Ay+PS*Ax[0010] 2. XY address-linear address conversion
Processing Next, a description will be given of a process for converting the X-Y address Axy to the linear address LA. The XY address-linear address converter 20 generates a linear address LA according to the following arithmetic expression. LA = SA + LP * Ay + PS * Ax
【0011】この演算式において、AxはX-Yアドレ
スAxyを構成するXアドレスであり、AyはYアドレス
である。また、SAはスタートアドレスであり、アクセ
スの対象となる描画データGDが記憶されている先頭位
置、すなわち、各記憶領域の先頭アドレスを指示する。
LPはラインピッチであり、1ラインのデータ長、すな
わち、画像表示メモリ3において、あるラインと次のラ
インのアドレス間隔を指示する。PSはピクセルサイズ
であり、1ピクセル当たりのビット数を指示する。通
常、リニアアドレスLAはバイト単位で管理されるか
ら、8ビット=1バイト,16ビット=2バイトあるい
は32ビット=4バイトが基本となる。In this arithmetic expression, Ax is an X address constituting an XY address Axy, and Ay is a Y address. In addition, SA is a start address, and indicates a head position where the drawing data GD to be accessed is stored, that is, a head address of each storage area.
LP is a line pitch, which indicates the data length of one line, that is, the address interval between a certain line and the next line in the image display memory 3. PS is a pixel size and indicates the number of bits per pixel. Normally, since the linear address LA is managed in byte units, it is basically 8 bits = 1 byte, 16 bits = 2 bytes, or 32 bits = 4 bytes.
【0012】ここで、画像表示メモリ3に1024×6
40で構成されるフレーム#1と640×480で構成
されるフレーム#2とが格納されているならば、そのメ
モリマップは図2に示すものとなる。なお、フレーム#
1,2に係わる描画データGDのピクセルサイズはいず
れも8ビットとする。この場合に、フレーム#1の第K
ライン(Kは自然数)の先頭に位置するピクセルPKを
読み出すものとすれば、当該ピクセルPKを指示するX
アドレスAxは「0」となり、YアドレスAyは「K−
1」となる。また、この例のスタートアドレスSAは図
中のSA1となり、ラインピッチLPは1024(=102
4×1ハ゛イト)となる。そして、これらの値を上記式に代入
することにより当該ピクセルPKのリニアアドレスLA
が算出される。次に、フレーム#2を読み出す場合にあ
っては、スタートアドレスSA1の替わりにSA2を、
また、ラインピッチLPとして640(=640×1ハ゛イト)
を用いて、リニアアドレスLAを生成する。Here, 1024 × 6 is stored in the image display memory 3.
If the frame # 1 composed of 40 and the frame # 2 composed of 640 × 480 are stored, the memory map is as shown in FIG. In addition, frame #
The pixel size of the drawing data GD related to 1 and 2 is 8 bits. In this case, the K-th frame # 1
If a pixel PK located at the head of a line (K is a natural number) is to be read, X indicating the pixel PK
The address Ax becomes “0”, and the Y address Ay becomes “K−
1 ". In this example, the start address SA is SA1 in the figure, and the line pitch LP is 1024 (= 102
4 x 1 byte). Then, by substituting these values into the above equation, the linear address LA of the pixel PK is obtained.
Is calculated. Next, when reading frame # 2, SA2 is used instead of start address SA1.
Also, the line pitch LP is 640 (= 640 × 1 byte)
Is used to generate the linear address LA.
【0013】このように各記憶領域に格納された描画デ
ータGDのフレームサイズが相違したり、あるいはピク
セルサイズPSが異なると、上記演算式においてライン
ピッチLPやピクセルサイズPSを変更する必要が生ず
る。また、各記憶領域毎にスタートアドレスSAは相違
するから、この点についても変更する必要がある。この
ため、X-Yアドレス−リニアアドレス変換器20は、
各記憶領域に対応してスタートアドレスSA、ラインピ
ッチLPおよびピクセルサイズPSを記憶している。そ
して、X-Y空間指定信号Sxyの指示する記憶領域に応
じて、これらのパラメータを読み出し、上記演算式を実
行している。When the frame size of the drawing data GD stored in each storage area is different or the pixel size PS is different, it is necessary to change the line pitch LP and the pixel size PS in the above equation. Also, since the start address SA differs for each storage area, it is necessary to change this point as well. For this reason, the XY address-linear address converter 20
A start address SA, a line pitch LP, and a pixel size PS are stored for each storage area. Then, these parameters are read out according to the storage area indicated by the XY space designation signal Sxy, and the above-mentioned arithmetic expression is executed.
【0014】3.X-Yアドレス−リニアアドレス変換
器 次に、X-Yアドレス−リニアアドレス変換器20の構
成を図3を参照しつつ説明する。図3は、X-Yアドレ
ス−リニアアドレス変換器の回路図である。図におい
て、201はスタートアドレスレジスタ、202はピッ
チレジスタ、203はピクセルサイズレジスタである。
これらのレジスタには、画像表示メモリ3の各記憶領域
に対応したスタートアドレスSA、ラインピッチLPお
よびピクセルサイズPSが各々格納されている。また、
204〜205はセレクタであり、 X-Y 空間指定信号Sxyに基づいて、各レジスタ204〜20
6から、スタートアドレスSA、ラインピッチLPおよ
びピクセルサイズPSを読み出す。これにより、上記し
た演算式中のパラメータを瞬時に変更することができ
る。[0014] 3. XY address-linear address conversion
Vessels Next, X-Y address - the structure of the linear address converter 20 with reference to FIG. 3 now be described. FIG. 3 is a circuit diagram of the XY address-linear address converter. In the figure, 201 is a start address register, 202 is a pitch register, and 203 is a pixel size register.
In these registers, a start address SA, a line pitch LP, and a pixel size PS corresponding to each storage area of the image display memory 3 are stored. Also,
Each of the registers 204 to 205 is a selector based on the XY space designation signal Sxy.
From 6, the start address SA, the line pitch LP, and the pixel size PS are read. As a result, the parameters in the above equation can be changed instantaneously.
【0015】また、乗算器207は、選択されたライン
ピッチLPとYアドレスAyの乗算を行い、乗算器20
8は、選択されたピクセルサイズPSとXアドレスAx
の乗算を行う。これらの乗算結果は加算器209で加算
され、その結果と選択されたスタートアドレスSAが加
算器210で再度加算されて、リニアアドレスLAが生
成される。The multiplier 207 multiplies the selected line pitch LP by the Y address Ay, and
8 is the selected pixel size PS and X address Ax
Is multiplied. These multiplication results are added by the adder 209, and the result and the selected start address SA are added again by the adder 210 to generate the linear address LA.
【0016】次に、X-Yアドレス−リニアアドレス変
換器20の動作を図3を参照しつつ説明する。いま、X
-Y空間指定信号Sxyが#2を指示するとすれば、セレ
クタ205はラインピッチLP2をラインピッチレジス
タ202から読み出し、一方、セレクタ206はピクセ
ルサイズPS2をピクセルサイズレジスタ203から読
み出す。ラインピッチLP2が乗算器207に出力され
ると、乗算器207は、ラインピッチLP2とYアドレ
スAyとを乗算して「LP2×Ay」を生成する。一
方、乗算器208では、ピクセルサイズPS2とXアド
レスAxを乗算して「PS2×Ax」と生成する。これ
らの乗算結果が加算器209で加算されると、「LP2
×Ay+PS2×Ax」となる。加算器210では、加
算結果にさらにスタートアドレスSA2を加算するか
ら、最終出力は、「SA2+LP2×Ay+PS2×A
x」となり、リニアアドレスLAを求めることができ
る。Next, the operation of the XY address-linear address converter 20 will be described with reference to FIG. Now, X
If the -Y space designation signal Sxy indicates # 2, the selector 205 reads the line pitch LP2 from the line pitch register 202, while the selector 206 reads the pixel size PS2 from the pixel size register 203. When the line pitch LP2 is output to the multiplier 207, the multiplier 207 multiplies the line pitch LP2 by the Y address Ay to generate “LP2 × Ay”. On the other hand, the multiplier 208 multiplies the pixel size PS2 by the X address Ax to generate “PS2 × Ax”. When these multiplication results are added by the adder 209, "LP2
× Ay + PS2 × Ax ”. Since the adder 210 further adds the start address SA2 to the addition result, the final output is “SA2 + LP2 × Ay + PS2 × A
x ", and the linear address LA can be obtained.
【0017】このように本実施形態にあっては、X-Y
アドレス空間毎に(各記憶領域毎に)、スタートアドレ
スSA、ラインピッチLPおよびピクセルサイズPSを
各レジスタに格納しておき、X-Y空間指定信号Sxyに
よって、これらを読み出すようにしたので、指定された
X-Y空間に対応するパラメータを瞬時に変更すること
ができる。これによりリニアアドレスLAを簡易な構成
で、高速に生成することが可能となり、コンピュータの
画像速度を向上することが可能となる。また、画像表示
メモリ3はリニアアドレスLAでアクセスできるため、
このメモリをCPUのメモリ空間上に直接マップするこ
とができる。また、異なったサイズのクレームが複数必
要であっても、画像表示メモリ3に連続して格納するこ
とができるので、メモリの利用効率を有効に使用するこ
とができる。As described above, in this embodiment, XY
The start address SA, the line pitch LP, and the pixel size PS are stored in each register for each address space (for each storage area), and are read out by the XY space designation signal Sxy. The parameter corresponding to the XY space thus set can be changed instantaneously. As a result, the linear address LA can be generated at a high speed with a simple configuration, and the image speed of the computer can be improved. Further, since the image display memory 3 can be accessed by the linear address LA,
This memory can be mapped directly into the memory space of the CPU. Further, even if a plurality of claims of different sizes are required, they can be stored in the image display memory 3 continuously, so that the memory utilization efficiency can be effectively used.
【0018】4.変形例 本発明は上述した実施形態に限定されるものでなく、例
えば以下のように種々の変形が可能である。上記実施形
態において、ラインピッチLPやピクセルサイズPSが
2のべき乗に限定されるのであれば、乗算器207、2
08の替わりにビットシフトを行うシフタ回路で構成し
てもよい。また、上記実施形態において、スタートアド
レスSA、ラインピッチLPおよびピクセルサイズPS
は各レジスタに予め格納されているものとして、説明し
たが、新たなディスプレイサイズに対応するために、各
レジスタに空きを残しておき、そこに対応するデータを
追加してもよい。また、3次元の図形を表す描画データ
にあっては、通常のデータの他に奥行きを示すZデータ
と呼ばれるものが用いられる場合がある。この場合に
は、通常の描画データをフレーム#1として、Zデータ
をフレーム#2として、図2に示す画像表示メモリの記
憶領域に格納してもよい。[0018] 4. Modifications The present invention is not limited to the above-described embodiment, and various modifications are possible, for example, as follows. In the above embodiment, if the line pitch LP or the pixel size PS is limited to a power of 2, the multipliers 207, 2
A shifter circuit that performs a bit shift instead of 08 may be used. In the above embodiment, the start address SA, the line pitch LP, and the pixel size PS
Has been described as being stored in advance in each register. However, in order to correspond to a new display size, an empty space may be left in each register and data corresponding thereto may be added. In addition, as drawing data representing a three-dimensional figure, data called Z data indicating depth may be used in addition to normal data. In this case, normal drawing data may be stored in the storage area of the image display memory shown in FIG. 2 as frame # 1 and Z data as frame # 2.
【0019】[0019]
【発明の効果】以上説明したように、本発明の発明特定
事項によれば、描画データを連続してメモリに格納でき
るため、メモリの利用効率を向上させることができ、た
ま、このメモリをCPUで容易に制御することが可能と
なる。さらに、記憶領域毎にパラメータを可変できるの
で、連続アドレスを簡易な構成で高速に生成することが
できる。As described above, according to the present invention, since the drawing data can be continuously stored in the memory, the utilization efficiency of the memory can be improved. And can be easily controlled. Further, since parameters can be varied for each storage area, continuous addresses can be generated at high speed with a simple configuration.
【図1】 本発明の一実施形態に係わる画像処理装置の
ブロック図である。FIG. 1 is a block diagram of an image processing apparatus according to an embodiment of the present invention.
【図2】 同実施形態に係わる画像表示メモリのメモリ
マップを示す図である。FIG. 2 is a diagram showing a memory map of an image display memory according to the embodiment.
【図3】 同実施形態に係わるX-Yアドレス−リニア
アドレス変換器のブロック図である。FIG. 3 is a block diagram of an XY address-linear address converter according to the embodiment.
【図4】 従来の画像表示メモリのメモリマップを示す
図である。FIG. 4 is a diagram showing a memory map of a conventional image display memory.
【図5】 従来の画像表示メモリの記憶領域をライン単
位で表した場合におけるメモリマップを示す図である。FIG. 5 is a diagram showing a memory map when a storage area of a conventional image display memory is expressed in units of lines.
2…メモリアクセス回路(メモリアクセス手段)、3…
画像表示メモリ(メモリ)、10…X-Yアドレス生成
部(領域指定手段、水平垂直アドレス生成手段)、20
1…スタートアドレスレジスタ(開始アドレス格納手
段)、202…ラインピッチレジスタ(ラインピッチデ
ータ格納手段)、203…ピクセルサイズレジスタ(ピ
クセルサイズデータ格納手段)、207,208…乗算
器(変換手段)、209,210…加算器(変換手
段)、GD…描画データ、Ax…Xアドレス(水平アド
レス)、Ay…Yアドレス(垂直アドレス)、Sxy…X
-Y空間指定信号(領域指定信号)、LA…リニアアド
レス(連続アドレス)、SA…スタートアドレス(開始
アドレス)。2 ... memory access circuit (memory access means), 3 ...
Image display memory (memory), 10... XY address generation unit (region specifying means, horizontal and vertical address generation means), 20
DESCRIPTION OF SYMBOLS 1 ... Start address register (start address storage means), 202 ... Line pitch register (line pitch data storage means), 203 ... Pixel size register (pixel size data storage means), 207, 208 ... Multiplier (conversion means), 209 210, adder (conversion means), GD, drawing data, Ax, X address (horizontal address), Ay, Y address (vertical address), Sxy, X
-Y space designation signal (area designation signal), LA: linear address (continuous address), SA: start address (start address).
Claims (2)
タを処理する画像処理装置において、 複数の前記描画データを各記憶領域に連続アドレスを用
いて格納するメモリと、 前記各記憶領域のうちアクセスすべき一の領域を指示す
る領域指定信号を生成する領域指定手段と、 水平方向のピクセル位置を指示する水平アドレスと垂直
方向のピクセル位置を指示する垂直アドレスを生成する
水平垂直アドレス生成手段と、 前記描画データの記憶開始位置を指示する開始アドレス
を、前記記憶領域毎とに格納する開始アドレス格納手段
と、 前記描画データの1ラインあたりのデータ長を指示する
ラインピッチデータを、前記記憶領域毎に格納するライ
ンピッチデータ格納手段と、 前記描画データの1ピクセルあたりのビット数を指示す
るピクセルサイズデータを、前記記憶領域毎に格納する
ピクセルサイズデータ格納手段と、 前記領域指定信号に基づいて、前記開始アドレス格納手
段、前記ラインピッチデータ格納手段および前記ピクセ
ルサイズデータ格納手段から、それぞれ読み出した前記
開始アドレス、前記ラインピチデータおよび前記ピクセ
ルサイズデータを用いて、前記水平,垂直アドレスを前
記連続アドレスに変換する変換手段と、 前記連続アドレスによって前記メモリにアクセスするメ
モリアクセス手段とを備えたことを特徴とする画像処理
装置。1. An image processing apparatus for processing drawing data for each pixel constituting a screen, comprising: a memory for storing a plurality of drawing data in each storage area using a continuous address; Area specifying means for generating an area specifying signal for specifying one area to be provided; horizontal and vertical address generating means for generating a horizontal address for specifying a horizontal pixel position and a vertical address for specifying a vertical pixel position; Start address storage means for storing a start address indicating a storage start position of the drawing data for each storage area; and line pitch data indicating a data length per line of the drawing data for each storage area. A line pitch data storage unit that stores the number of bits per pixel of the drawing data Pixel size data storing means for storing the size data for each of the storage areas; and read out from the start address storing means, the line pitch data storing means and the pixel size data storing means based on the area designating signal, respectively. Conversion means for converting the horizontal and vertical addresses into the continuous addresses using the start address, the line pitch data, and the pixel size data; and memory access means for accessing the memory by the continuous addresses. An image processing apparatus characterized by the above-mentioned.
前記連続アドレス、SAは前記開始アドレス、LPは前
記ラインピッチデータ、Ayは前記垂直アドレス、PS
は前記ピクセルサイズデータ、Axは前記水平アドレ
ス)を演算することにより、前記連続アドレスを生成す
ることを特徴とする請求項1に記載の画像処理装置。2. The conversion means: LA = SA + LP × Ay + PS × Ax (where LA is the continuous address, SA is the start address, LP is the line pitch data, Ay is the vertical address, PS
The image processing apparatus according to claim 1, wherein the continuous address is generated by calculating the pixel size data and Ax (the horizontal address).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP08228691A JP3139384B2 (en) | 1996-08-29 | 1996-08-29 | Image processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP08228691A JP3139384B2 (en) | 1996-08-29 | 1996-08-29 | Image processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH1069541A true JPH1069541A (en) | 1998-03-10 |
JP3139384B2 JP3139384B2 (en) | 2001-02-26 |
Family
ID=16880297
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP08228691A Expired - Lifetime JP3139384B2 (en) | 1996-08-29 | 1996-08-29 | Image processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3139384B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007200163A (en) * | 2006-01-30 | 2007-08-09 | Sony Corp | Image-processing device and image-processing method |
-
1996
- 1996-08-29 JP JP08228691A patent/JP3139384B2/en not_active Expired - Lifetime
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007200163A (en) * | 2006-01-30 | 2007-08-09 | Sony Corp | Image-processing device and image-processing method |
Also Published As
Publication number | Publication date |
---|---|
JP3139384B2 (en) | 2001-02-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5990912A (en) | Virtual address access to tiled surfaces | |
JPH0628485A (en) | Texture address generator, texture pattern generator, texture plotting device and texture address generating method | |
JP3139384B2 (en) | Image processing device | |
JPH08305625A (en) | Semiconductor memory having arithmetic processing function and processor using the same | |
KR900002631B1 (en) | Image data processing method and apparatus | |
JP2768370B2 (en) | Drawing method | |
KR0171845B1 (en) | Address changing method and circuit of memory device | |
JP3272463B2 (en) | Image forming apparatus and method of using the same | |
JPH08147210A (en) | Bit map memory device | |
JP3193929B2 (en) | Image processing device | |
JP2766478B2 (en) | Image processing system | |
JP3358698B2 (en) | Drawing equipment | |
KR100190019B1 (en) | Address generator for graphic controller | |
JP2000293144A (en) | Liquid crystal driving circuit with built-in memory and liquid crystal display device | |
JPS59188761A (en) | Write system of picture memory | |
JP2806376B2 (en) | Image processing apparatus and image processing method | |
JPH07282279A (en) | Data conversion device | |
JPH043094A (en) | Display device | |
JPH043874B2 (en) | ||
JPH08241419A (en) | Graphic plotting control method | |
JPH10124692A (en) | Plotting circuit | |
JPH10162162A (en) | Image processor and image processing system | |
JPH09147097A (en) | Data interpolating device | |
JPH09134439A (en) | Picture processor | |
JPH0828809B2 (en) | Pixel density converter |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313532 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081215 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081215 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091215 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101215 Year of fee payment: 10 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101215 Year of fee payment: 10 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111215 Year of fee payment: 11 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111215 Year of fee payment: 11 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121215 Year of fee payment: 12 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131215 Year of fee payment: 13 |
|
EXPY | Cancellation because of completion of term |