JPS6261171A - Bit map memory control circuit - Google Patents

Bit map memory control circuit

Info

Publication number
JPS6261171A
JPS6261171A JP60200964A JP20096485A JPS6261171A JP S6261171 A JPS6261171 A JP S6261171A JP 60200964 A JP60200964 A JP 60200964A JP 20096485 A JP20096485 A JP 20096485A JP S6261171 A JPS6261171 A JP S6261171A
Authority
JP
Japan
Prior art keywords
data
circuit
bit
map memory
bit map
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.)
Pending
Application number
JP60200964A
Other languages
Japanese (ja)
Inventor
Hisao Kobayashi
久雄 小林
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP60200964A priority Critical patent/JPS6261171A/en
Publication of JPS6261171A publication Critical patent/JPS6261171A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

PURPOSE:To improve the processing speed of graphic rotation or the like by using a direct storage accessing circuit for reading/writing bit data from/in a bit map memory in a direct storage access mode. CONSTITUTION:The direct storage accessing circuit 4 reads out/writes bit data from/in the bit map memory 2 in the direct storage access mode. Although data in a source area are written in a destination area in each line by a vector generating circuit similarly to an ordinary example, a main control part 1 only sets up a parameter relating to the destination area and a parameter relating to the source area in the vector generating circuit 3 and the direct storage accessing circuit 4 respectively. Processing for reading out data from the bit map memory 2 and writing the data in the circuit 3 is executed by the circuit 4 and processing for writing the data in the bit map memory 2 is executed by the circuit 3 independently of a main control circuit 1. Consequently, the rotational movement of the image can be executed within a short period.

Description

【発明の詳細な説明】 〔概要〕 たとえば画像処理装置の画像メモリとして使用されるビ
ットマップメモリの制御回路であって。
DETAILED DESCRIPTION OF THE INVENTION [Summary] A control circuit for a bitmap memory used, for example, as an image memory of an image processing device.

直接記憶アクセスモードによってビットマツプメモリと
の間でビットデータの読取り書込みを行う直接記憶アク
セス回路を用いることによって1図形の回転等の処理速
度の短縮を図ったもの。
A device that aims to shorten the processing speed of rotation of one figure by using a direct memory access circuit that reads and writes bit data to and from a bitmap memory in a direct memory access mode.

〔産業上の利用分野〕[Industrial application field]

本発明は、ビットマップメモリ制御回路に関するもので
ある。
The present invention relates to a bitmap memory control circuit.

ビットマツプメモリは1画像を点(画素)の集合として
各点を例えば1ビツトで表したイメージデータ(画像デ
ータ)など、二次元座標上に配列されるビットデータを
二次元座標に対応させてビット単位に記憶するメモリで
あり2画像処理装置の画像メモリあるいは表示装置のり
フレッシュメモリ (リフレッシュバッファ)等に用い
られている。
Bitmap memory uses bit data arranged on two-dimensional coordinates, such as image data (image data) in which one image is a collection of points (pixels) and each point is represented by one bit, for example, and bit data is mapped to the two-dimensional coordinates. It is a memory that stores data in units, and is used as the image memory of two image processing devices or the refresh memory (refresh buffer) of display devices.

たとえば画像処理装置においては、与えられたある大き
さの画像の中の一部の画像を1例えば直角に回転して他
の場所に移動する等の処理がおこなわれる。
For example, in an image processing apparatus, a process such as rotating a part of a given image of a certain size, for example, at right angles and moving it to another location, is performed.

この処理は、被処理画像をビットマツプメモリートに展
開し、ビットマツプメモリ制御回路によって、その中の
一部の画像を読み取り、これを二次元座標上で回転しな
がら所定の場所に書き込むという処理として行われる。
This process develops the image to be processed into a bitmap memory memory, reads part of the image using the bitmap memory control circuit, and writes it to a predetermined location while rotating it on two-dimensional coordinates. It is done as.

しかし2画像データは二次元状に広がりのあるデータで
あるためデータ皇が非常に多く、処理にし時間を要しや
すい。
However, since two-image data is two-dimensionally spread data, there is a large amount of data, and processing tends to take time.

この際、ビットマツプメモリ制御回路においては9画像
の回転を短時間でおこなえることが重要な技術課題にな
っている。
At this time, it is an important technical issue for the bitmap memory control circuit to be able to rotate nine images in a short time.

〔従来の技術〕[Conventional technology]

第4図は従来例のブロック図であり。 FIG. 4 is a block diagram of a conventional example.

■は1例えばマイクロプロセッサ(MPt+)によって
構成され、全体の制御を司る主制御回路。
(2) is a main control circuit that is composed of, for example, a microprocessor (MPt+) and is in charge of overall control.

2は、二次元座標上に配列されるビットデータを、二次
元座標に対応させてビット単位に記憶するビットマツプ
メモリ。
2 is a bitmap memory that stores bit data arranged on two-dimensional coordinates in units of bits in correspondence with the two-dimensional coordinates;

3は、与えられたビット列データとピッl−マツプメモ
リ2上の始点アドレスと終点アドレスとに基づいてビッ
トマツプメモリ2上にベクトルを描画するためのビット
データと各々のビットアドレスとを発生するベクトル発
生回路である。
3 is a vector generator that generates bit data and each bit address for drawing a vector on the bit map memory 2 based on the given bit string data and the starting point address and ending point address on the bit map memory 2; It is a circuit.

なお、ベクトル発生回路3には、ビ・7トマソプメモリ
2上のビット毎のアドレス(XアドレスとYアドレスと
からなる)を発生ずるアドレス発生部(BADG)31
.およびビア)列データを格納するデータレジスタ(R
eg、)32を備えている。
The vector generation circuit 3 includes an address generation unit (BADG) 31 that generates an address for each bit (consisting of an X address and a Y address) on the B-7 memory 2.
.. and vias) data registers (R
eg, ) 32.

たとえば、第5図において、ビットマツプメモIJ 2
上の矩形領域■の画像データを2反時計方向に90度回
転して別の矩形領域■に書き込む処理は。
For example, in FIG. 5, bitmap memo IJ 2
The process of rotating the image data in the upper rectangular area ■ by 90 degrees counterclockwise and writing it into another rectangular area ■ is as follows.

以下のようにして行われる。This is done as follows.

1、主制御部1は矩形領域■のX座標軸に平行なlライ
ン目のデータを読み取る。
1. The main control unit 1 reads the data of the l-th line parallel to the X coordinate axis of the rectangular area (3).

Il、主制御回路1はベクトル発生回路3に対し。Il, main control circuit 1 to vector generation circuit 3;

先に読み取った1ライン目のデータ、ならびに。The data of the first line read earlier, as well as.

これを書き込むべきビットマツプメモリ2上の始点Pの
ビットアドレスおよび終点Qのビットアドレスをセット
する。
The bit address of the starting point P and the bit address of the ending point Q on the bit map memory 2 where this is to be written are set.

11!、主制御回路1から与えられた1ライン分のデー
タはデータレジスタ32に、また始点Pおよび終点Qの
ビットアドレスは、それぞれアドレス発生部31のレジ
スタ(図示省略)にセットされ、データレジスタ32に
セットされた1ライン目のデータが、アドレス発生部3
1が発生するXアドレスとYアドレスとによって、ビッ
ト毎にビットマツプメモリ2に書き込まれる。
11! , one line of data given from the main control circuit 1 is set in the data register 32, and the bit addresses of the start point P and the end point Q are respectively set in registers (not shown) of the address generation section 31, and are set in the data register 32. The set data of the first line is sent to the address generator 3.
Bit by bit is written into the bitmap memory 2 by the X address and Y address where 1 is generated.

1v、以■同様にして1ライン毎のデータの読取り書込
みが行われる。
1v, data is read and written for each line in the same manner as (2).

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記従来例においては、大きな領域のビットデータを回
転する場合、主制御回路1がビット列データを読み取る
ため、および、読み取ったビット列データならびに始点
および終点のアドレス等のパラメータをヘクトル発生回
路3にセフ)するため等に長時間を要するため、ビット
マツプメモリ2上の方形領域の回転移動に長時間を要す
るという問題点がある。
In the above conventional example, when rotating bit data in a large area, the main control circuit 1 reads the bit string data, and sends the read bit string data and parameters such as start and end points addresses to the vector generation circuit 3. Therefore, there is a problem in that it takes a long time to rotate and move a rectangular area on the bitmap memory 2.

すなわち1本発明は1 ビットマツプメモリ上の方形領
域の回転を高速で行うことを目的とするものである。
That is, one object of the present invention is to rotate a rectangular area on a bitmap memory at high speed.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の原理図で、第4図従来例と共通する符
号は同一の対象であるから説明を省略する。その他。
FIG. 1 is a diagram showing the principle of the present invention, and the same reference numerals as those in the conventional example in FIG. 4 refer to the same objects, so a description thereof will be omitted. others.

4は、ビットマツプメモリ2との間で、直接記憶アクセ
スモードによってビットデータの読取り書込みを行う直
接記憶アクセス回路である。
Reference numeral 4 denotes a direct memory access circuit that reads and writes bit data to and from the bitmap memory 2 in a direct memory access mode.

〔作用〕[Effect]

本発明においても、従来例と同様に、ベクトル発生回路
3によって、ソース領域中のデータを1ライン毎にデス
ティネーション領域に書き込むのであるが、その際、主
制御部1は、ベクトル発生回路3および直接記憶アクセ
ス回路4に対し、それぞれ2.デスティネーション領域
に関するパラメータ(ピッ1〜マツプメモリ2上の始点
のビットアドレス・1ライン分のデータ長・ベクトル方
向)。
In the present invention, data in the source area is written line by line into the destination area by the vector generation circuit 3, as in the conventional example. 2 for the direct memory access circuit 4, respectively. Parameters related to the destination area (bit address of the starting point on pin 1 to map memory 2, data length for one line, vector direction).

および、ソース領域に関するパラメータ(ビットマツプ
メモリ2上の1ライン分のピッ1−列データの始点のビ
ットアドレス・1ライン分のデータ長およびライン数)
をセットするだけである。
And parameters related to the source area (bit address of the start point of one line of p1-column data on bitmap memory 2, data length of one line and number of lines)
Just set the .

また、ビットマツプメモリ2からデータを読み取ってベ
クトル発生回路3に書き込む処理は直接記憶アクセス回
路4が、またこれをビットマツプメモリに書き込む処理
はベクトル発生回路3が行い、それらの際に主制御回路
1は介入しない。
Further, the process of reading data from the bitmap memory 2 and writing it into the vector generation circuit 3 is carried out by the direct memory access circuit 4, and the process of writing this data into the bitmap memory is carried out by the vector generation circuit 3. 1 does not intervene.

そのために2画像の回転移動を短時間で行うことができ
る。
Therefore, the two images can be rotated in a short time.

〔実施例〕〔Example〕

第2図は実施例の構成図である。 FIG. 2 is a configuration diagram of the embodiment.

直接記憶アクセス回路4は、主制御回路1から与えられ
るソース領域に関するパラメータ、すなわち、ビットマ
ツプメモリ2上の1ライン分のデータの始点のビットア
ドレス・1ライン分のデータ長・およびライン数に基づ
いて、読取りアドレスを発生するアドレス発生部41.
ビットマツプメモリ2から読み取ったデータを格納する
レジスタ42、および制御部43とから構成されている
The direct memory access circuit 4 uses parameters related to the source area given from the main control circuit 1, that is, the bit address of the starting point of one line of data on the bitmap memory 2, the data length of one line, and the number of lines. and an address generating section 41. which generates a read address.
It is composed of a register 42 that stores data read from the bitmap memory 2, and a control section 43.

データの読取り書込みはワード単位に行われ。Data is read and written in units of words.

ベクトル発生回路3は、リクエスト信号(Req、)に
よって直接記憶アクセス回路4に対してデータの送信を
要求し、受信したデータを並列にレジスタ32に格納し
たのち、ビット毎にビットマツプメモI72上に書き込
み、書込みが終わるとリクエスト信号によって次のデー
タの送信を要求し、以下同様にしてビットマツプメモリ
2に書き込む。
The vector generation circuit 3 requests the direct memory access circuit 4 to transmit data using a request signal (Req), stores the received data in parallel in the register 32, and then stores the received data bit by bit on the bitmap memo I72. When writing is completed, a request signal is used to request transmission of the next data, and the data is written to the bitmap memory 2 in the same manner.

直接記憶アクセス回路4は、ベクトル発生回路3側の制
御部33からウェイト信号(Wait)が出されていな
い時に、ビットマツプメモリ2から1ワ一ド分のデータ
を並列に読み取ってレジスタ42に格納し、ベクトル発
生回路3の制御部33からリクエスト信号が送られた時
、これをベクトル発生回路3に送出する。
The direct memory access circuit 4 reads data for one word from the bitmap memory 2 in parallel and stores it in the register 42 when a wait signal (Wait) is not issued from the control unit 33 on the vector generation circuit 3 side. However, when a request signal is sent from the control section 33 of the vector generation circuit 3, it is sent to the vector generation circuit 3.

なお、5はパス制御回路であり、ベクトル発生回路3の
ビットアドレス発生部31が発生するピッl−アドレス
、たとえば12ビツトずつの二次元xy座標として表さ
れるアドレスと、ビットマツプメモリにおいて実際に使
用するワードアドレス(たとえば20ビツト)との整合
、ならびに、ベクトル発生回路3から送出されるビット
データと、ビットマツプメモリ2および直接記憶アクセ
ス回路4において使用するワードデータとの整合を行う
ものである。
Note that 5 is a path control circuit, and the bit address generated by the bit address generation section 31 of the vector generation circuit 3, for example, an address expressed as a two-dimensional xy coordinate of 12 bits, and the actual address in the bit map memory. It performs matching with the word address to be used (for example, 20 bits) and matching the bit data sent from the vector generation circuit 3 with the word data used in the bitmap memory 2 and the direct memory access circuit 4. .

上記説明では、データの読取り書込みはワード単位に行
われる。したがって、第3図に示すように、ソース領域
のライン方向の境界はワードの境界に一致することにな
る。
In the above description, data is read and written in units of words. Therefore, as shown in FIG. 3, the boundaries of the source regions in the line direction coincide with the boundaries of the words.

しかし、直接記憶アクセス回路4に2ワード長のレジス
タとシフト回路とを付加することによって、ソース領域
の境界をワードの途中に設けることもできる。
However, by adding a two-word length register and a shift circuit to the direct memory access circuit 4, the boundary of the source area can also be provided in the middle of a word.

〔発明の効果〕〔Effect of the invention〕

以上説明したように2本発明によればビットマツプメモ
リ上での方形領域のデータの回転移動ににおいて、主制
御装置の介入を減らすことができるので、処理速度を上
げることができる。
As explained above, according to the present invention, it is possible to reduce the intervention of the main controller in rotationally moving data in a rectangular area on a bitmap memory, thereby increasing processing speed.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の原理ブロック図。 第2図は実施例の構成図2 第3図は実施例の説明図。 第4図は従来例のブロック図。 第5図は従来例の説明図である。 図中。 1は主制御装置。 2はビットマツプメモリ。 3はベクトル発生回路。 怒脂醐於 FIG. 1 is a block diagram of the principle of the present invention. Figure 2 is a configuration diagram 2 of the embodiment. FIG. 3 is an explanatory diagram of the embodiment. FIG. 4 is a block diagram of a conventional example. FIG. 5 is an explanatory diagram of a conventional example. In the figure. 1 is the main control device. 2 is bitmap memory. 3 is a vector generation circuit. Angry Goto

Claims (1)

【特許請求の範囲】 二次元座標上に配列されるビットデータを二次元座標に
対応させてビット単位に記憶するビットマップメモリ(
2)と、 与えられたビット列データとビットマップメモリ(2)
上の始点アドレスと終点アドレスとに基づいてビットマ
ップメモリ(2)上にベクトルを描画するためのビット
データと各々のビットアドレスとを発生するベクトル発
生回路(3)と、 ビットマップメモリ(2)との間で直接記憶アクセスモ
ードによるビットデータの読取り書込み制御を行う直接
記憶アクセス回路(4)とを備えることを特徴とするビ
ットマップメモリ制御回路。
[Claims] A bitmap memory that stores bit data arranged on two-dimensional coordinates in bit units in correspondence with the two-dimensional coordinates.
2) and the given bit string data and bitmap memory (2)
a vector generation circuit (3) that generates bit data and respective bit addresses for drawing a vector on the bitmap memory (2) based on the above start point address and end point address; and a bitmap memory (2). 1. A bitmap memory control circuit comprising: a direct memory access circuit (4) that performs read/write control of bit data between the direct memory access mode and the direct memory access mode.
JP60200964A 1985-09-11 1985-09-11 Bit map memory control circuit Pending JPS6261171A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60200964A JPS6261171A (en) 1985-09-11 1985-09-11 Bit map memory control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60200964A JPS6261171A (en) 1985-09-11 1985-09-11 Bit map memory control circuit

Publications (1)

Publication Number Publication Date
JPS6261171A true JPS6261171A (en) 1987-03-17

Family

ID=16433243

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60200964A Pending JPS6261171A (en) 1985-09-11 1985-09-11 Bit map memory control circuit

Country Status (1)

Country Link
JP (1) JPS6261171A (en)

Similar Documents

Publication Publication Date Title
JPH0355832B2 (en)
KR980010878A (en) Image generating apparatus and method
JPS6261171A (en) Bit map memory control circuit
CN114461406A (en) DMA OpenGL optimization method
JPS647393Y2 (en)
JPH06149533A (en) Segment quick plotting system for reducing plotting processing for segment outside display area
JPH0444694A (en) Dual port memory device
JPS60217387A (en) Crt display unit
JP2773458B2 (en) Vector controller
JPS58136093A (en) Display controller
JPH03144779A (en) Image processing system
JPH0644385A (en) Z buffer control circuit
KR100243181B1 (en) Method and apparatus for processing signal of raster engine of three-dimensional graphic system
JPH07118006B2 (en) Image processing device
JPH0736772A (en) Device and method for fast bit map access control
JPH04278652A (en) Graphic drawing device and its memory access system
JPH04329482A (en) Image rotation processing method and processing device for relevant method
JPS62293288A (en) Character pattern transfer system
JPS63178320A (en) Multiwindow display device
JP2000200078A (en) Picture data processor and processing method thereof
JPS62177670A (en) Fast two-dimensional dma circuit
JPH07129460A (en) Method and device for processing image
JPH0528397B2 (en)
JPH05234370A (en) Data transfer method of image memory
JPS6165372A (en) Vector developing system