JPH03141098A - Image processor - Google Patents
Image processorInfo
- Publication number
- JPH03141098A JPH03141098A JP1278128A JP27812889A JPH03141098A JP H03141098 A JPH03141098 A JP H03141098A JP 1278128 A JP1278128 A JP 1278128A JP 27812889 A JP27812889 A JP 27812889A JP H03141098 A JPH03141098 A JP H03141098A
- Authority
- JP
- Japan
- Prior art keywords
- buffer
- des
- memory
- data
- counter
- 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
- 230000015654 memory Effects 0.000 claims abstract description 23
- 238000010586 diagram Methods 0.000 description 8
- 238000000034 method Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 208000014205 familial febrile seizures Diseases 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
Landscapes
- Memory System (AREA)
- Controls And Circuits For Display Device (AREA)
- Dram (AREA)
- Image Input (AREA)
- Image Processing (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、コンピュータ等の情報処理装置における画像
情報を蓄積1表示、処理する画像処理装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image processing device that stores, displays, and processes image information in an information processing device such as a computer.
従来、この種の画像処理装置に用いられる画像メモリは
経済性の点からダイナミックRAM(D−RAM)素子
が用いられており、アクセススピードが遅いため、高速
でアクセスするための一つの方法として、同時に複数の
メモリ素子をアクセスする方法が用いられる。Conventionally, dynamic RAM (D-RAM) elements have been used as the image memory used in this type of image processing apparatus from the viewpoint of economy, and the access speed is slow, so one method for high-speed access is to A method of accessing multiple memory elements simultaneously is used.
この方法は通常2次元の画像の横方向の数ピクセル(ブ
ロック)を同時にアクセスする方法がとられ、その数は
8,16.32などの8の倍数が一般的である。このよ
うな構成の画像メモリ間で、任意の位置をずらしたコピ
ーを行なう場合、第3図に示すように、ソースメモリの
2ブロツクからデータを読み出しシフトしてデスティネ
ーションメモリへ書込む。この場合、転送の初めと終り
はデスティネーションメモリへの書込みを禁止する必要
がある。このアドレス巾をSA(スタートアドレス)、
EA (エンドアドレス)と言5゜横方向のシフトは第
4図に示すように、1ブロツクのピクセル数をnとする
と、2nを入力とし、nを出力とするシフタとなる。−
数的には、このシフタはICLOCKサイクルでシフト
が可能なバレルシフタが用いられ、n=8の場合は16
:8のバレルシフタとなる。この数は画像データの深さ
を1ビツトとした時の話である。濃淡画像を扱う場合は
、8ビット深さであり、n=32の場合、メモリとプロ
セッサ間の線の数は256本になり、バレルシフタは6
4人力32出力のものがビット方向8組必要となり、ハ
ードウェアの規模上限界に近い、さらに、画像データと
してカラー画像を考えると、R,G、Bプラスマスクで
4バイト必要と考えると、上述の数の4倍で、第5図に
示すように、画像メモリとプロセッサ間は1000本、
バレルシフタは64人力32出力のものが32組必要と
なり、ハードウェア規模が大きくなりすぎ製造上難かし
いという欠点がある。This method usually involves simultaneously accessing several pixels (blocks) in the horizontal direction of a two-dimensional image, and the number is generally a multiple of 8, such as 8 or 16.32. When copying between image memories having such a configuration with arbitrary positions shifted, data is read from two blocks of the source memory, shifted, and written to the destination memory, as shown in FIG. In this case, it is necessary to prohibit writing to the destination memory at the beginning and end of the transfer. This address width is SA (start address),
As shown in FIG. 4, the 5° horizontal shift called EA (end address) is a shifter with 2n as input and n as output, where n is the number of pixels in one block. −
Numerically, this shifter is a barrel shifter that can be shifted in ICLOCK cycles, and when n=8, there are 16
:8 barrel shifter. This number is based on the assumption that the depth of the image data is 1 bit. When dealing with grayscale images, it is 8 bits deep, and if n=32, the number of lines between memory and processor is 256, and the barrel shifter is 6.
A 4-person output with 32 outputs requires 8 sets in the bit direction, which is close to the hardware scale limit.Furthermore, considering a color image as image data, 4 bytes are required for R, G, B plus a mask, as described above. As shown in Figure 5, there are 1000 lines between the image memory and the processor.
Thirty-two sets of barrel shifters with 64 human power and 32 outputs are required, which has the drawback of making the hardware too large and difficult to manufacture.
本発明の画像処理装置は、画像メモリの最大横方向転送
数の5−RAMから成るソースバッファとデスティネー
ションバッファと、バッファアドレスを発生するカウン
タを有することにより、小規模な回路で画像メモリ間の
コピーを可能とする。The image processing device of the present invention has a source buffer and a destination buffer composed of 5-RAMs for the maximum number of horizontal transfers of the image memory, and a counter that generates a buffer address. Allows copying.
〔実施例〕 次に、本発明について図面を参照して説明する。〔Example〕 Next, the present invention will be explained with reference to the drawings.
第1図は本発明の一実施例の動作を説明する図で、1ブ
ロツクを32ピクセルとしている。図に示すようなMX
Nの大きさのエリアのコピーを行なう時、まず、ソース
メモリからMを含むブロックのデータをSOCBUFF
ERに読出しく■)、デスティネーションメモリからM
を含むブロックのデータをDES BUFFERに読出
す(■)。次に、SOCBUFFER,DES BUF
FEB間で、Mの大きさだけのデータを転送する(■)
。FIG. 1 is a diagram for explaining the operation of an embodiment of the present invention, in which one block has 32 pixels. MX as shown in the figure
When copying an area of size N, first copy the data of the block containing M from the source memory to SOCBUFF.
(read out to ER), M from destination memory
The data of the block including the block is read out to the DES BUFFER (■). Next, SOCBUFER, DES BUF
Transfer data of size M between FEBs (■)
.
この転送はSOCBUFFER用STATICRAMの
カウンタをSXをスタートアドレスとしてM走らせ、そ
れに同期して、DES BUFFER用5TATICR
AMのカウンタをDXをスタートアドレスとして走らせ
、SOCBUFFERから読出したデータをDES
BUFFERへ書込むことにより容易に行なうことがで
きる。This transfer runs the STATICRAM counter for SOCBUFER M with SX as the start address, and in synchronization with this, the 5TATICR for DES BUFFER
Run the AM counter with DX as the start address, and read the data from SOCBUFER as DES.
This can be easily done by writing to BUFFER.
転送の速度は5TATICRAMのアクセスタイムから
決まり、30MHz程度の速度が可能である。転送後D
ES BUFFERからデスティネーションメモリヘ
Mを含むブロック分書込みを行えば(■)コピーは完了
する。上述のようにこの転送には5−RAMとカウンタ
のみで実現でき、大規模なバレルシフタは必要でない。The transfer speed is determined by the access time of the 5TATICRAM, and a speed of about 30 MHz is possible. After transfer D
If blocks including M are written from the ES BUFFER to the destination memory (■), the copying is completed. As mentioned above, this transfer can be realized using only 5-RAM and a counter, and does not require a large-scale barrel shifter.
画像メモリとSOCBUFFER,DES BUFFE
Bである5−RAMとのデータ転送はやはり5−RAM
のアクセスタイムで決まり、1バイト30MHz程度の
速度が実現できる。Image memory and SOCBUFER, DES BUFFE
Data transfer with 5-RAM which is B is still 5-RAM
The access time is determined by the access time, and a speed of about 30 MHz per byte can be achieved.
第2図は本発明の一実施例として、8ビツト4枚の画像
メモリ間のデータ転送を行なうためのデータ転送ライン
の数を示す図で画像メモリとプロセッサ間は32本のラ
イン数で済む。FIG. 2 is a diagram showing the number of data transfer lines for transferring data between four 8-bit image memories as an embodiment of the present invention, and only 32 lines are required between the image memory and the processor.
以上説明したように本発明は、画像メモリが4バイト必
要なカラー画像用途の画像処理装置におイテ、従来のバ
レルシフタによる画像のシフトコピ一方式は画像メモリ
とプロセッサ間に1024本もの多数のデータ転送ライ
ンが必要なこと、バレルシフタは64人力32出力のも
のが8(ビット)×4組も必要で複雑大規模となり製造
上困難であるが、本発明によれば、画像メモリとプロセ
ッサ間は32本の小数データ転送ラインで済み、さらに
バレルシフタは不要で、回路規模が飛躍的に小さくでき
るという効果がある。As explained above, the present invention is applicable to an image processing apparatus for color images that requires 4 bytes of image memory. The barrel shifter requires 64 human power, 32 outputs, and 8 (bit) x 4 sets, making it complicated and large-scale and difficult to manufacture.However, according to the present invention, there are 32 lines between the image memory and the processor. It only requires a small number of data transfer lines, and there is no need for a barrel shifter, which has the effect of dramatically reducing the circuit scale.
第1図は本発明の一実施例の動作を説明する図、第2図
は本発明の一実施例のデータ転送ライン数と回路規模を
説明する図。
第3図は従来のバレルシフタ方式による動作を説明する
図、第4図は従来のバレルシフタ方式によるシフト動作
を説明する図、第5図は従来のバレルシフタ方式で濃淡
カラー画像用のシステムを組んだ場合のデータ転送ライ
ン数と回路規模を説明する図である。FIG. 1 is a diagram for explaining the operation of one embodiment of the present invention, and FIG. 2 is a diagram for explaining the number of data transfer lines and circuit scale of one embodiment of the present invention. Figure 3 is a diagram explaining the operation using the conventional barrel shifter method, Figure 4 is a diagram explaining the shift operation using the conventional barrel shifter method, and Figure 5 is a diagram explaining the shift operation using the conventional barrel shifter method. FIG. 2 is a diagram illustrating the number of data transfer lines and circuit scale of FIG.
Claims (1)
ソースバッファとデスティネーションバッファと、バッ
ファアドレスを発生するカウンタを有することにより、
小規模な回路で画像メモリ間のコピーを可能とする画像
処理装置。By having a source buffer and a destination buffer consisting of S-RAM with the maximum number of horizontal transfers of image memory, and a counter that generates a buffer address,
An image processing device that enables copying between image memories using a small-scale circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1278128A JP2867482B2 (en) | 1989-10-24 | 1989-10-24 | Image processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1278128A JP2867482B2 (en) | 1989-10-24 | 1989-10-24 | Image processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH03141098A true JPH03141098A (en) | 1991-06-17 |
JP2867482B2 JP2867482B2 (en) | 1999-03-08 |
Family
ID=17592994
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1278128A Expired - Lifetime JP2867482B2 (en) | 1989-10-24 | 1989-10-24 | Image processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2867482B2 (en) |
-
1989
- 1989-10-24 JP JP1278128A patent/JP2867482B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JP2867482B2 (en) | 1999-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
GB2149157A (en) | High-speed frame buffer refresh apparatus and method | |
JPS61188582A (en) | Multi-window writing controller | |
JPS6247786A (en) | Exclusive memory for adjacent image processing | |
EP0220323A1 (en) | Image processor | |
JPH03141098A (en) | Image processor | |
JPH01166268A (en) | Data structure converting device | |
JPS63304293A (en) | Display memory control circuit | |
JPS63239542A (en) | Image memory device and image processing device | |
JPH10334038A (en) | Data transfer device | |
JPS62296278A (en) | Image memory control system | |
JPH01270176A (en) | Graphic display system allowed to deliver partial image | |
JPH03171876A (en) | Data processor | |
JPH07118006B2 (en) | Image processing device | |
JPS617769A (en) | Image memory write control system | |
JPS61255474A (en) | Video ram data transferring and processing system | |
JPH02105264A (en) | Memory device for processing graphic data | |
JPH0863595A (en) | Method and device for rotation processing of image | |
JPS6132136A (en) | Picture display device | |
JPH05127662A (en) | Display device of information equipment | |
JPH07122899B2 (en) | High speed rotation circuit | |
JPH036510B2 (en) | ||
JPS61228582A (en) | Picture processor | |
JPS6219979A (en) | Image processing system | |
JPS61198371A (en) | Picture processing system | |
JPS6197768A (en) | Memory address system |