JPH0693244B2 - Information processing equipment - Google Patents
Information processing equipmentInfo
- Publication number
- JPH0693244B2 JPH0693244B2 JP25954285A JP25954285A JPH0693244B2 JP H0693244 B2 JPH0693244 B2 JP H0693244B2 JP 25954285 A JP25954285 A JP 25954285A JP 25954285 A JP25954285 A JP 25954285A JP H0693244 B2 JPH0693244 B2 JP H0693244B2
- Authority
- JP
- Japan
- Prior art keywords
- memory
- signal
- data
- processing
- output
- 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
Links
Landscapes
- Image Input (AREA)
- Image Processing (AREA)
Description
【発明の詳細な説明】 以下の順序でこの発明を説明する。DETAILED DESCRIPTION OF THE INVENTION The present invention will be described in the following order.
A 産業上の利用分野 B 発明の概要 C 従来の技術 D 発明が解決しようとする問題点 E 問題点を解決するための手段 F 作用 G 実施例 G1画像処理装置の説明(第2図) G2考えられるメモリコントロール回路の説明 (第3図、第4図) G3この発明によるメモリコントロール回路の一例の説明
(第1図) H 発明の効果 A 産業上の利用分野 この発明は例えばビデオ画像処理装置等の情報処理装置
に関し、特に、そのメモリの使い方の技術に関する。A Industrial Field of Use B Outline of Invention C Conventional Technology D Problems to be Solved by the Invention E Means for Solving Problems F Action G Example G 1 Description of Image Processing Device (Fig. 2) G 2 Possible explanations of the memory control circuit (Figs. 3 and 4) G 3 Description of an example of the memory control circuit according to the present invention (Fig. 1) H Effect of the invention A Industrial field The present invention relates to an information processing device such as a processing device, and more particularly to a technique of using the memory.
B 発明の概要 この発明はメモリとして複数枚1組のものを用い、単位
時間分の入力データを上記メモリの一つに書き込み、書
き込みでない残りのうちの1つのメモリから読み出しを
なし、データを処理する装置において、処理対象が複数
単位時間に1単位時間のデータでよい場合に、メモリと
して遊んでいるメモリを補助メモリとして用いるように
したものである。B Outline of the Invention The present invention uses a set of a plurality of memories as a memory, writes input data for a unit time into one of the memories, and reads from one of the remaining memories that are not written to process the data. In this device, when the data to be processed may be data of one unit time in a plurality of unit times, the memory idle as the memory is used as the auxiliary memory.
C 従来の技術 ビデオ画像処理システムが種々提案されている(例え
ば、特開昭58-215813号公報参照)。C Prior Art Various video image processing systems have been proposed (see, for example, JP-A-58-215813).
第6図はこのビデオ画像処理システムの一例を示すもの
である。すなわち、これは同図に示すように入出力部
(1)と、メモリ部(2)と、データ処理部(3)とか
ら構成されている。FIG. 6 shows an example of this video image processing system. That is, this is composed of an input / output unit (1), a memory unit (2), and a data processing unit (3) as shown in FIG.
入出力部(1)は、例えばビデオカメラ(4)よりのビ
デオ信号をA/D変換してデジタル画像データとし、これ
をメモリ部(2)に書き込み、また、このメモリ部
(2)より処理された画像データを読み出し、これをD/
A変換してアナログビデオ信号に戻し、これを例えばVTR
(5)に記録したり、モニタ受像機(6)に供給してビ
デオ画像をモニタできるようにする。The input / output unit (1), for example, A / D-converts a video signal from the video camera (4) to obtain digital image data, writes the digital image data in the memory unit (2), and processes from the memory unit (2). Read out the image data, and
A-converts and returns to analog video signal, which can be
The video image can be monitored by recording it in (5) or supplying it to the monitor receiver (6).
データ処理部(3)はメモリ部(2)にアドレスを与
え、ストアされた画像データを読み出してこれに種々の
加工処理を加え、その処理後のデータを再びメモリ部
(2)に書き込む処理を行う。The data processing unit (3) gives an address to the memory unit (2), reads the stored image data, applies various processing to the image data, and writes the processed data into the memory unit (2) again. To do.
メモリ部(2)は画像のまとまり、すなわち1フィール
ドあるいは1フレーム分の容量を有する複数枚のフィー
ルドメモリあるいはフレームメモリを有する。The memory unit (2) has a group of images, that is, a plurality of field memories or frame memories each having a capacity of one field or one frame.
入出力部(1)よりメモリ部(2)への書き込み及び読
み出しはその画像のまとまりである1フィールドあるい
は1フレーム単位でなされる。Writing and reading from the input / output unit (1) to the memory unit (2) are performed in units of one field or one frame which is a unit of the image.
一方、データ処理部(3)はメモリ部(2)にストアさ
れている画像データのうち必要なものを読み出して処理
し、処理後のデータを再びメモリ部(2)に書込む。On the other hand, the data processing unit (3) reads out necessary data from the image data stored in the memory unit (2), processes it, and writes the processed data in the memory unit (2) again.
この場合、メモリ部(2)のメモリは通常、2枚1組に
して使用され、一方がデータの書き込み状態のとき、他
方より読み出しができるようにされている。In this case, the memories of the memory unit (2) are usually used as a set of two sheets, and when one is in the data writing state, the other can read from the other.
D 発明が解決しようとする問題点 ところで上記のように2枚1組のメモリが設けられ、連
続的に処理ができるような処理装置において、特に実際
に処理をすべき処理対象のまとまり、例えばビデオ信号
でいえばフィールド又はフレームの信号を複数回に1回
取り込んで処理するような場合には2枚のメモリのうち
一方のメモリは遊んでいることになる。D Problem to be Solved by the Invention By the way, in a processing apparatus in which a set of two memories is provided and processing can be performed continuously as described above, a group of processing targets to be actually processed, for example, a video In terms of signals, in the case where a field or frame signal is fetched and processed once in a plurality of times, one of the two memories is idle.
すなわち、例えば前述の画像処理において、複数フレー
ムに1フレームずつメモリに書き込んで処理を行う場
合、1フレームのビデオデータを一方のメモリに書き込
んだ後は、それ以後次に他方のメモリに1フレームのデ
ータを書き込むまでは、その一方のメモリよりのデータ
のみを読み出して処理を行い、他方のメモリは遊んでい
ることになる。That is, for example, in the above-described image processing, in the case where one frame is written to a memory for a plurality of frames for processing, after writing one frame of video data to one memory, one frame is written to the other memory thereafter. Until the data is written, only the data from the one memory is read and processed, and the other memory is idle.
E 問題点を解決するための手段 この発明はメモリの利用効率を高めるようにしたもの
で、この発明は、複数枚1組のメモリを有するメモリ部
と、データ処理部とを有し、複数単位時間毎に1単位時
間分の入力データを上記複数枚のメモリの一つの順次取
り込み、複数単位時間内に処理するものであって、上記
データ処理部よりアドレス信号及び書き込み制御信号を
含むコントロール信号を上記メモリ部に供給し、上記入
力データの書き込み動作がされていないメモリ又は上記
データ処理部よりのアドレスによって上記入力データの
読み出しがなされていないメモリを、上記データ処理部
よりの上記書き込み制御信号を含むコントロール信号に
よって上記処理の補助メモリとして使用する。E Means for Solving Problems The present invention is intended to improve the utilization efficiency of a memory, and the present invention has a memory section having a set of a plurality of sheets of memory, and a data processing section. Input data for one unit time is sequentially fetched from one of the plurality of memories and processed within a plurality of unit time every time, and a control signal including an address signal and a write control signal is output from the data processing unit. The write control signal from the data processing unit is supplied to the memory unit, and the memory in which the input data is not written or the memory in which the input data is not read by the address from the data processing unit is used. It is used as an auxiliary memory for the above processing by the included control signal.
遊んでいる方のメモリがデータ処理部に支配され、この
データ処理部よりの書き込み制御信号等のコントロール
信号により、このデータ処理部よりのデータがこの遊ん
でいる方のメモリに対して書き込み、また読み出しがな
されて処理の補助として使用される。The idle memory is controlled by the data processing unit, and the control signal such as the write control signal from this data processing unit writes the data from this data processing unit to this idle memory, and It is read out and used as a processing aid.
G 実施例 G1画像処理装置の説明 第2図はこの発明装置を前従のようなビデオ画像処理に
適用した場合の一実施例である。この例のビデオ画像処
理装置は、特に、よりデータ処理の高速化を実現したも
のである。G Embodiment G 1 Description of Image Processing Device FIG. 2 shows an embodiment in which the device of the present invention is applied to video image processing as in the former case. The video image processing apparatus of this example realizes particularly high speed data processing.
すなわち、この例ではデータ処理部を主として画素値を
計算するプロセッサの系(以下PIPと称す)(30A)とア
ドレスの管理等のデータの流れの管理と処理のタイミン
グ合わせを司るプロセッサの系(以下PVPと称す)(30
B)とに分ける。That is, in this example, the data processing unit is mainly a processor system that calculates pixel values (hereinafter referred to as PIP) (30A) and a processor system that manages data flow management such as address management and timing of processing (hereinafter (PVP) (30
B) and divide.
従来のデータ処理部ではこの両者の処理時間を合計した
処理時間を必要とするのに対し、このように分ければ両
者のうち、より大きい方の処理時間で済む(前掲特開昭
58-215813号公報参照)。したがって、この例の場合に
はビデオデータ処理をリアルタイムで行うことが可能に
なるほどの高速処理ができる。In the conventional data processing section, the processing time that is the sum of the processing times of both is required, whereas if it is divided in this way, the processing time of the larger one of the two will be sufficient (Japanese Patent Laid-Open Publication No. Sho.
58-215813). Therefore, in the case of this example, high-speed processing that enables video data processing to be performed in real time can be performed.
また、同図において(10)は入出力部(以下IOCと称
す)、(20)はメモリ部(以下VIMと称す)で、これは
入力画像メモリ(VIMIN)(20A)と出力画像メモリ(VI
MOUT)(20B)とからなる。(40)は処理の実行,停止
をコントロールするプロセッサ(以下TCと称す)であ
る。Further, in the figure, (10) is an input / output unit (hereinafter referred to as IOC), (20) is a memory unit (hereinafter referred to as VIM), which is an input image memory (VIMIN) (20A) and an output image memory (VIA).
MOUT) (20B). Reference numeral (40) is a processor (hereinafter referred to as TC) that controls execution and stop of processing.
IOC(10)は前述と同様にビデオカメラやVTRからのビデ
オ信号をA/D変換し、入力画像メモリ(20A)に画像イメ
ージで書き込み、また、処理後の画像を出力画像メモリ
(20B)から読み出し、D/A変換し、モニタ等に出力す
る。The IOC (10) A / D-converts the video signal from the video camera or VTR, writes it as an image image in the input image memory (20A), and outputs the processed image from the output image memory (20B) as described above. Read, D / A convert, and output to a monitor.
この場合、このIOC(10)に入出力可能な信号はNTSC方
式あるいはR,G,B方式のビデオ信号であり、その方式の
指定はTC(40)によりなされる。In this case, the signal that can be input / output to / from the IOC (10) is an NTSC type or R, G, B type video signal, and that type is designated by the TC (40).
また、1画素は例えば8ビットのデータとされる。Further, one pixel is, for example, 8-bit data.
VIM(20)は複数枚のフレームメモリ、例えば12枚の756
×512バイトのフレームメモリから構成されているが、
この例の場合、これら12枚のフレームメモリの使われ方
は固定的ではなく、処理目的に応じ、あるいは処理対象
画像に応じ、入力画像メモリ(20A)と出力画像メモリ
(20B)とに自由に割り当てることができるようにされ
ている。VIM (20) has multiple frame memories, eg 12 756
× 512 bytes of frame memory,
In the case of this example, the usage of these 12 frame memories is not fixed, and can be freely set to the input image memory (20A) and the output image memory (20B) according to the processing purpose or the processing target image. It is made available for assignment.
また、メモリは2枚1組にして使用され、一方が書き込
み状態のとき、他方より読み出しができるようにされ
て、IOC(10)によるVIM(20)の外部からの処理と、PI
P(30A)及びPVP(30B)によるVIM(20)の内部での処
理が並行して行えるようにされている。この場合におい
て、このVIM(20)の複数枚のフレームメモリが、IOC
(10)の支配下におかれるか、PVP(30B)の支配下にお
かれるかの支配モード信号はIOC(10)より発生し、VIM
(20)に供給されている。In addition, the memories are used as a set of two, and when one is in the write state, the other can be read from, and the processing from the outside of the VIM (20) by the IOC (10) and the PI
The internal processing of VIM (20) by P (30A) and PVP (30B) can be performed in parallel. In this case, multiple frame memories of this VIM (20)
The control mode signal, which is under control of (10) or PVP (30B), is generated from IOC (10), and VIM
(20) is being supplied.
また、この入出力部(10)からは、2枚1組のメモリの
うち、最新の入力データがどちらに入っているかを示す
役割モード信号PMが発生する。Further, the input / output unit (10) generates a role mode signal PM indicating which of the latest input data is stored in the memory set of two sheets.
PIP(30A)とPVP(30B)は基本的には同じアーキテクチ
ャで、制御部、演算部、メモリ部、入出力ポートからな
る独立のプロセッサからなり、それぞれ複数の単位プロ
セッサからなるマルチプロセッサ構成とされ、主として
並列処理方式により処理の高速化が図られている。The PIP (30A) and PVP (30B) basically have the same architecture, and are composed of independent processors consisting of a control unit, an arithmetic unit, a memory unit, and an input / output port, each of which has a multiprocessor configuration including a plurality of unit processors. , A parallel processing method is mainly used to speed up the processing.
PIP(30A)は例えば60枚のPIPプロセッサと数枚のサブ
のプロセッサを有し、VIM(20)よりの画像データを加
工し又は内部で画像データを生成する。このPIP(30A)
のクロックはTC(40)より供給される。The PIP (30A) has, for example, 60 PIP processors and several sub processors, and processes image data from the VIM (20) or internally generates image data. This PIP (30A)
The clock of is supplied from TC (40).
PVP(30B)は30枚ほどのプロセッサを有し、VIM(20)
よりの画素データのPIP(30A)への割り当てや回収など
VIM(20)より内側の画像データの流れをコントロール
する。PVP (30B) has about 30 processors, VIM (20)
Allocation and collection of pixel data from PIP (30A)
Controls the flow of image data inside the VIM (20).
すなわち、PVP(30B)ではVIM(20)へのアドレスデー
タ及び書き込み選択信号、出力選択信号やメモリの書き
込み信号を含むコントロール信号を生成し、これらをVI
M(20)に供給するとともに、PIP(30A)の入出力コン
トロール信号や他のコントロール信号を生成し、これら
をPIP(30A)に供給する。That is, the PVP (30B) generates a control signal including address data to the VIM (20), a write selection signal, an output selection signal and a memory write signal, and outputs these control signals to VI.
In addition to supplying to M (20), I / O control signals of PIP (30A) and other control signals are generated, and these are supplied to PIP (30A).
この画像データ処理としては常に入力画像メモリ(20
A)の1枚のフレームよりのデータのみを処理して出力
画像メモリ(20B)にその処理後のデータを書き込む場
合のみのではなく、複数枚のフレームメモリよりの複数
フレームにまたがるデータを用いて処理を行うこともあ
る。The input image memory (20
Not only when processing only the data from one frame in (A) and writing the processed data to the output image memory (20B), but using data that spans multiple frames from multiple frame memories. It may also be processed.
そして、PIP(30A)及びPVP(30B)での演算桁数は16ビ
ットが標準で、画像データ処理の演算処理は1フレーム
の画像データは1フレーム以内の処理すなわちリアルタ
イム処理ができるような処理速度が可能とされる。もっ
とも、1フレーム以上の処理時間を必要とする処理もあ
る。The standard number of arithmetic digits in PIP (30A) and PVP (30B) is 16 bits, and the arithmetic processing of image data processing is such that processing of one frame of image data is possible within one frame, that is, real-time processing. Is possible. However, there are some processes that require a processing time of one frame or more.
この場合、PIP(30A)及びPVP(30B)による画像データ
処理はフレームに同期して行われる。このため、PVP(3
0B)にはIOC(10)よりフレームに同期した処理開始タ
イミング信号PS(処理開始とするときローレベルとな
る)が供給される。一方、PVP(30B)からは1つの処理
が終了したことを示す信号OKがIOC(10)に供給され
る。In this case, the image data processing by PIP (30A) and PVP (30B) is performed in synchronization with the frame. Therefore, PVP (3
0B) is supplied with the processing start timing signal PS (which becomes low level when the processing is started) synchronized with the frame from the IOC (10). On the other hand, from the PVP (30B), a signal OK indicating that one process is completed is supplied to the IOC (10).
信号PSはリアルタイム処理(1フレームのデータを1/30
秒で処理)の場合には各フレームの始めの時点で得ら
れ、それ以外のときは信号OKが出た次のフレームの始め
及びユーザにより指定されたフレームの始めの時点で得
られる。Signal PS is real-time processing (1 frame of data is 1/30
Processing in seconds) is obtained at the beginning of each frame, otherwise it is obtained at the beginning of the next frame after the signal OK and at the beginning of the frame specified by the user.
信号OKはPVP(30B)のプロセッサのうち処理系のタイミ
ング管理を司るこのPVP(30B)の中核のプロセッサより
処理が終わると出力される。The signal OK is output from the core processor of the PVP (30B), which controls the timing of the processing system, of the PVP (30B) processor when the processing is completed.
すなわち、このPVP(30B)の中核のプロセッサではIOC
(10)からの処理開始タイミング信号PSがローレベルに
なったことをプログラム的に検出する。そして、信号PS
がローレベルになったことを検出すると、このプロセッ
サが走り出し、PVP(30B)内の他のプロセッサ及びPIP
(30B)に対し、プログラムによりタイミング信号TSを
出して、VIM(20)にアドレスを供給し、VIM(20)より
画像データを読み出してPIP(30A)にて加工処理を行
う。That is, in the core processor of this PVP (30B), IOC
It is detected programmatically that the processing start timing signal PS from (10) has become low level. And the signal PS
When this processor starts to go low, this processor starts running and the other processors in the PVP (30B) and the PIP
For (30B), a timing signal TS is output by a program, an address is supplied to VIM (20), image data is read from VIM (20), and processing is performed by PIP (30A).
この例の場合、画像データ処理としては次の3つのモー
ドを選択できるようにされている。In the case of this example, the following three modes can be selected as the image data processing.
Nフレームに1回1フレームを取り込んで処理をす
る。特にN=1と すればリアルタイム処理となる。One frame is fetched once every N frames for processing. Especially, if N = 1, real-time processing is performed.
前の処理が終わった時点の次のフレームを自動的に
取り込んで処理をする。The next frame at the time when the previous processing is finished is automatically captured and processed.
ユーザがボタンなどで指示をした時点の次のフレー
ムを取り込んで処理をする。The next frame at the time when the user gives an instruction with a button or the like is fetched and processed.
G2考えられるメモリコントロール回路の説明 ところで、2枚1組のメモリをコントロールする場合、
入出力部(10)による支配と、PVP(30B)による支配と
がぶつからないように個々の画像メモリにアドレスや書
き込み読み出し制御信号等のコントロール信号をメモリ
部(20)に対して送らなければならない。これを正しく
行なうことは容易ではないが、第3図のようにすれば、
画像メモリが2枚1組であることをIOC(10)及びPVP
(30B)がともに忘れてコントロールすることができ、
コントロールが非常に簡明になる。G 2 Description of possible memory control circuits By the way, when controlling a pair of memories,
Control signals such as addresses and write / read control signals must be sent to the memory section (20) so that the control by the input / output unit (10) and the control by the PVP (30B) do not conflict with each other. . It is not easy to do this correctly, but if you do as in Fig. 3,
IOC (10) and PVP that the image memory is a set of 2 sheets
(30B) can both forget and control,
Control becomes very simple.
同図において、(201)及び(202)は2枚1組のメモリ
である。入力端(203)にはIOC(10)によりA/D変換さ
れたデジタル画像データあるいはPIP(30A)で加工処理
されたデジタル画像データが供給され、この入力端(20
3)を通じた画像データは2枚のフレームメモリ(201)
及び(202)のデータ入力端子に供給される。In the figure, (201) and (202) are a set of two memories. Digital image data A / D converted by the IOC (10) or digital image data processed by the PIP (30A) is supplied to the input end (203), and this input end (20
Image data through 3) is stored in two frame memories (201)
And (202) data input terminals.
また、(204)は出力端で、メモリ(201)及び(202)
より読み出された画像データがこれに得られ、これはPI
P(30A)に供給されて加工処理の対象とされ、あるいは
IOC(10)に供給されてD/A変換されてアナログビデオ信
号に戻される。Further, (204) is an output terminal, and the memories (201) and (202)
The image data read out is obtained in this, and this is PI
Supplied to P (30A) for processing, or
It is supplied to the IOC (10), D / A converted, and returned to an analog video signal.
(205)及び(206)はそれぞれメモリ(201)及び(20
2)に対するアドレス信号及びコントロール信号を選択
する選択器で、IOC(10)よりアドレス信号、書き込み
読み出し制御信号等のコントロール信号がそのそれぞれ
のA側入力端に供給されるとともに、PVP(30B)よりア
ドレス信号、書き込み読み出し制御信号等のコントロー
ル信号がそれぞれのB側入力端に供給される。(205) and (206) are the memories (201) and (20), respectively.
A selector for selecting the address signal and control signal for 2). Control signals such as address signal and write / read control signal are supplied from the IOC (10) to their respective A-side input terminals, and from the PVP (30B). Control signals such as address signals and write / read control signals are supplied to the respective B-side input terminals.
また、IOC(10)よりの支配モード信号CMがそのまま選
択器(205)のセレクト端子に供給されるとともにイン
バータ(207)により極性反転されて選択器(06)のセ
レクト端子に供給される。Further, the dominant mode signal CM from the IOC (10) is supplied as it is to the select terminal of the selector (205), and its polarity is inverted by the inverter (207) and supplied to the select terminal of the selector (06).
この場合、選択器(205)及び(206)はセレクト端子に
供給されるセレクト信号が「0」のとき出力としてA側
入力端に供給される信号を導出し、「1」のとき出力と
してB側入力端に供給される信号を導出する。In this case, the selectors (205) and (206) derive the signal supplied to the A side input terminal as an output when the select signal supplied to the select terminal is "0", and output the signal as B when it is "1". The signal supplied to the side input terminal is derived.
したがって、支配モード信号CMが「0」のときは選択器
(205)からはIOC(10)よりのアドレス信号及び書き込
み読み出し制御信号等のコントロール信号がメモリ(20
1)に供給され、メモリ(201)はIOC(10)の支配とな
り、入力画像メモリに対しては入力データを書き込むモ
ードとなり、出力画像メモリよりは処理後のデータを読
み出すモードとなる。Therefore, when the control mode signal CM is "0", the control signal such as the address signal from the IOC (10) and the write / read control signal is sent from the selector (205) to the memory (20).
1), the memory (201) is controlled by the IOC (10), the input image memory is in a mode for writing input data, and the output image memory is in a mode for reading processed data.
一方選択器(206)のセレクト信号はインバータ(207)
のため「1」となるので、この選択器(206)からはPVP
(30B)よりのアドレス信号及び書き込み読み出し制御
信号等のコントロール信号がメモリ(202)に供給さ
れ、このメモリ(202)はPVP(30B)の支配となり、入
力画像メモリに対してはデータを読み出してPIP(30A)
に送るモードとなり、出力画像メモリに対しては処理後
のデータを書き込むモードとなる。On the other hand, the select signal of the selector (206) is the inverter (207).
Therefore, since it is “1”, PVP is output from this selector (206).
Control signals such as address signals and write / read control signals from (30B) are supplied to the memory (202), and this memory (202) is under the control of the PVP (30B), and data is read from the input image memory. PIP (30A)
And a mode for writing the processed data to the output image memory.
支配モード信号CMが「1」のときは、選択器(205)及
び(206)が逆の選択をするので、メモリ(201)はPVP
(30B)の支配、メモリ(202)はIOC(10)の支配とな
る。When the dominant mode signal CM is "1", the selectors (205) and (206) make opposite selections, so that the memory (201) is PVP.
The memory (202) will be dominated by (30B) and the IOC (10) will be dominated by memory (202).
ところが、この第3図のメモリコントロールの方法では
Nフレームに1回、1フレームの画像データを取り込ん
で処理をするモードでは一方のメモリが遊んでしまうと
いう不都合は取り除けない。However, the memory control method of FIG. 3 cannot eliminate the inconvenience that one of the memories is idle in the mode in which the image data of one frame is captured once every N frames and processed.
すなわち、例えばメモリ(201)及び(202)が入力画像
メモリ(20A)のメモリである場合における支配モード
は第4図に示すようになる。That is, for example, when the memories (201) and (202) are the memories of the input image memory (20A), the control mode is as shown in FIG.
同図において、IはIOC(10)の支配、P,はPVP(30
B)の支配であることを示し、は最新の入力データが
入っているメモリを示している。すなわち、処理すべき
入力データの1フレーム分がIのメモリに書き込まれ、
でこれが読み出され、処理に使用されることになる。
丸の付いていないPは既に処理済のデータがはいってい
るメモリで、これは遊んでいることになる。In the figure, I is the IOC (10) control, P, is PVP (30
B) indicates that it is the control, and indicates the memory that contains the latest input data. That is, one frame of input data to be processed is written in the I memory,
This will be read out and used for processing.
P without a circle is a memory containing already processed data, which means that it is idle.
G3この発明によるメモリコントロール回路の一例の説明 第1図はこの発明によるメモリコントロール回路の一例
で、前記画像処理装置に適用した場合の例で、これは説
明の簡単のため例えば2枚のフレームメモリからなる入
力画像メモリ(20A)をコントロールする場合としてい
る。G 3 Description of an example of a memory control circuit according to the present invention FIG. 1 is an example of a memory control circuit according to the present invention, which is an example when applied to the image processing apparatus. It is supposed to control the input image memory (20A) consisting of memory.
すなわち、(301)及び(302)は1組のフレームメモリ
で、IOC(10)の入力部(10I)よりの画像データ及びそ
のメモリアドレス信号と、PIP(30A)よりの処理後の画
像データ及びPVP(30B)よりのそのメモリアドレス信号
とが、それぞれ選択器(303)及び(304)において選択
されてこれらメモリ(301)及び(302)に供給される。
この例の場合、入力部(10I)からはメモリ(301)の支
配モード信号CM1と、メモリ(302)の支配モード信号CM
2が得られるとともに、メモリ(301)(302)に対する
役割モード信号PMが得られる。That is, (301) and (302) are a set of frame memories, and the image data from the input section (10I) of the IOC (10) and its memory address signal, the processed image data from the PIP (30A), and The memory address signal from the PVP (30B) is selected by the selectors (303) and (304) and supplied to these memories (301) and (302).
In this example, the dominant mode signal CM 1 of the memory (301) and the dominant mode signal CM of the memory (302) are input from the input section (10I).
2 is obtained, and the role mode signal PM for the memories (301) (302) is obtained.
支配モード信号CM1及びCM2は、それぞれメモリ(301)
及び(302)がIOC(10)の支配か、PVP(30B)の支配か
を示す信号であり、役割モード信号PMは最初の入力デー
タがどちらのメモリに入っているかを示す信号である。
換言すれば、第4図に示すモード図において、各メモリ
がIであるかP又はであるかを示すのが支配モード信
号CM1及びCM2であり、また、どちらのメモリがである
かを示すのが役割モード信号である。Dominant mode signals CM 1 and CM 2 are stored in the memory (301), respectively.
And (302) are signals indicating whether the IOC (10) is in control or the PVP (30B) is in control, and the role mode signal PM is a signal indicating in which memory the first input data is stored.
In other words, in the mode diagram shown in FIG. 4, it is the dominant mode signals CM 1 and CM 2 that indicate whether each memory is I, P or, and which memory is Shown is the role mode signal.
この例では、支配モード信号CM1及びCM2はIのとき
「1」、P又はのとき「0」とされ、役割モード信号
PMはメモリ(301)がで「1」、メモリ(302)がで
「0」とされる。In this example, the dominant mode signals CM 1 and CM 2 are “1” for I, “0” for P, and the role mode signals
In the PM, the memory (301) is set to "1" and the memory (302) is set to "0".
入力部(10I)からはさらに書き込み読み出し制御信号W
EIが得られる。Write / read control signal W from the input section (10I)
EI is obtained.
一方、PVP(30B)からはアドレス信号の他、出力選択信
号OS、書き込み選択信号WS、書き込み読み出し制御信号
WEPが得られる。On the other hand, from the PVP (30B), in addition to the address signal, output selection signal OS, write selection signal WS, write / read control signal
WEP is obtained.
出力選択信号OSはのメモリから読み出すか、Pのメモ
リから読み出すかの信号で、前者のとき「0」、後者の
とき「1」となる。The output selection signal OS is a signal for reading from the memory of P or from the memory of P, and is "0" in the former case and "1" in the latter case.
書き込み選択信号WSは、のメモリに書き込むか、Pの
メモリに書き込むかを決める信号で前者のとき「0」、
後者のとき「1」となる。The write selection signal WS is a signal that determines whether to write to the memory of P or the memory of P, and is “0” in the former case,
In the latter case, it becomes "1".
書き込み読み出し制御信号WEP及びWEIは、これが「1」
のとき書き込みとなるようにされるが、メモリ(301)
及び(302)はその制御入力端WEが「0」のとき書き込
み状態とされる。This is “1” for the write / read control signals WEP and WEI.
When the memory is written, the memory (301)
And (302) are in a write state when the control input terminal WE is "0".
支配モード信号CM1は選択器(303)に、支配モード信号
CM2は選択器(304)に、それぞれ供給される。Dominance mode signal CM 1 is sent to the selector (303)
CM 2 is supplied to each selector (304).
したがって、メモリ(301)又は(302)がIOC(10)の
支配モードIであるときは、支配モード信号CM1又はCM2
が「1」であるので選択器(303)又は(304)よりは入
力部(10I)よりの入力データとアドレス信号とがメモ
リ(301)又は(302)に供給される。このとき書き込み
読み出し制御信号WEIが「1」であれば、メモリ(301)
がIOC(10)の支配であるときは信号CM1が「1」である
から、ナンドゲート(305)の出力が「0」になり、こ
のためアンドゲート(309)の出力も「0」になり、メ
モリ(301)の制御入力端WEが「0」になり、このメモ
リ(301)は書き込み状態になる。一方、メモリ(302)
がIOC(10)支配であるときは信号CM2が「1」であるか
らナンドゲート(306)の出力が「0」になり、このた
めアンドゲート(310)の出力も「0」になり、メモリ
(302)の制御入力端WEが「0」になって、このメモリ
(302)が書き込み可能状態になり、それぞれ、入力デ
ータがそのアドレス信号に従って書き込まれる。Therefore, when the memory (301) or (302) is in the dominant mode I of the IOC (10), the dominant mode signal CM 1 or CM 2
Is "1", the input data from the input unit (10I) and the address signal are supplied from the selector (303) or (304) to the memory (301) or (302). At this time, if the write / read control signal WEI is “1”, the memory (301)
Is controlled by IOC (10), the signal CM 1 is “1”, so the output of the NAND gate (305) becomes “0”, and the output of the AND gate (309) also becomes “0”. , The control input terminal WE of the memory (301) becomes "0", and the memory (301) is in the writing state. Meanwhile, memory (302)
There the output of the NAND gate (306) because when a IOC (10) dominates the signal CM 2 is "1" becomes "0", the output also becomes "0" in this order AND gate (310), the memory The control input terminal WE of (302) becomes "0", the memory (302) becomes writable, and the input data is written in accordance with the address signal.
次に、メモリ(301)又は(302)がPVP(30B)の支配モ
ードP又はであるときは支配モード信号CM1又はCM2が
「0」であるので選択器(303)又は(304)よりはPIP
(30A)で処理されたデータ及びPVP(30B)よりのアド
レス信号がこれらメモリ(301),(302)の入力端に供
給される状態になる。Next, when the memory (301) or (302) is in the dominant mode P of the PVP (30B), the dominant mode signal CM 1 or CM 2 is “0”, so the selector (303) or (304) Is PIP
The data processed in (30A) and the address signal from the PVP (30B) are supplied to the input terminals of these memories (301) and (302).
一方、役割モード信号PMがそのまま選択器(311)の一
方の入力端Aに供給されるとともにインバータ(312)
によって極性反転されてこの選択器(311)の他方の入
力端Bに供給される。そして、PVP(30B)よりの出力選
択信号OSがこの選択器(311)のセレクト信号として供
給される。この選択器(311)の出力OEはメモリ(302)
の出力イネーブル端子に供給されるとともにインバータ
(313)を介してメモリ(301)の出力イネーブル端子に
供給され、この出力OEが「1」でメモリ(301)が出力
イネーブル、「0」でメモリ(302)が出力イネーブル
の状態となる。On the other hand, the role mode signal PM is directly supplied to one input terminal A of the selector (311) and the inverter (312).
The polarity is inverted by and is supplied to the other input terminal B of this selector (311). Then, the output selection signal OS from the PVP (30B) is supplied as the selection signal of the selector (311). The output OE of this selector (311) is the memory (302)
Is supplied to the output enable terminal of the memory (301) through the inverter (313), and the output (OE) of the memory (301) enables the output (OE) of the memory (301). 302) is in the output enable state.
役割モード信号PMが「1」であるときは、メモリ(30
1)がであるが、このとき、出力選択信号OSが「0」
であれば、選択器(311)の出力は「1」となり、メモ
リ(301)が出力イネーブルの状態となる。つまり、
のメモリ(301)よりの読み出しがなされる。When the role mode signal PM is “1”, the memory (30
1) is, but at this time, the output selection signal OS is "0"
If so, the output of the selector (311) becomes "1", and the memory (301) is in the output enable state. That is,
Is read from the memory (301).
一方、このとき出力選択信号OSが「1」であれば選択器
(311)の出力は「0」となり、Pであるメモリ(302)
が出力イネーブルの状態になる。On the other hand, at this time, if the output selection signal OS is "1", the output of the selector (311) becomes "0", and the memory (302) that is P
Becomes the output enable state.
逆に、役割モード信号PMが「0」であるときは、メモリ
(302)がであるが、このとき出力選択信号OSが
「1」であれば、選択器(311)の出力OEは「0」とな
り、であるメモリ(302)が出力イネーブルの状態と
なり、出力選択信号OSが「0」であれば同様にしてPで
あるメモリ(301)が出力イネーブルの状態になる。On the contrary, when the role mode signal PM is “0”, the memory (302) is, but if the output selection signal OS is “1” at this time, the output OE of the selector (311) is “0”. , The memory (302) is in the output enable state, and if the output selection signal OS is “0”, the memory (301) in P is similarly in the output enable state.
このとき、PVP(30B)よりの書き込み読み出し制御信号
WEPが「0」であれば、ナンドゲート(307)及び(30
8)の出力はともに「1」になる。一方、支配モード信
号CM1及びCM2はPVP(30B)支配では「0」であるので、
ナンドゲート(305)及び(306)の出力もともに「1」
になる。よって、アンドゲート(309)及び(310)の出
力はともに「1」になり、メモリ(301)及び(302)は
読み出し状態となる。しかし、前述のように出力選択信
号OSによって出力イネーブルにされるメモリが選択さ
れ、そのイネーブルにされたメモリから選択器(303)
又は(304)を通じたPVP(30B)よりのアドレス信号に
従って画像データが読み出され、PIP(30A)に供給され
ることになる。At this time, write / read control signal from PVP (30B)
If WEP is "0", NAND gates (307) and (30
Both outputs of 8) become "1". On the other hand, since the dominant mode signals CM 1 and CM 2 are “0” in PVP (30B) dominant,
The outputs of the NAND gates (305) and (306) are both "1".
become. Therefore, the outputs of the AND gates (309) and (310) are both "1", and the memories (301) and (302) are in the read state. However, as described above, the memory whose output is enabled is selected by the output selection signal OS, and the selector (303) is selected from the enabled memories.
Alternatively, the image data is read according to the address signal from the PVP (30B) through (304) and supplied to the PIP (30A).
つまり、役割モード信号によってどちらのメモリがで
あるかが指示され、出力選択信号OSによってのメモリ
又はPのメモリのどちらのメモリから読み出すかが決定
される。In other words, the role mode signal indicates which memory is used, and the output selection signal OS determines which memory to read from, the memory of P or the memory of P.
ここで、のメモリより読み出すモードは最新データを
PIP(30A)で処理するために読み出すモードであり、P
のメモリより読み出すのは後述するように前回の処理後
のフレームデータを読み出して使用する場合、あるいは
後述するように補助メモリとして処理途中のデータが書
き込まれていたものが読み出されるモードである。Here, the mode to read from the memory is the latest data.
This is the read mode for processing with PIP (30A), and P
The memory is read from the memory when the frame data after the previous processing is read and used as described later, or the mode in which the data being processed is written as the auxiliary memory is read as described later.
次にPVP(30B)よりの書き込み読み出し制御信号WEPが
「1」であれば、この信号WEPが一方の入力端に供給さ
れるナンドゲート(307)及び(308)の出力は、その他
方の入力端に供給される信号に応じて「0」又は「1」
になる。Next, if the write / read control signal WEP from the PVP (30B) is "1", the output of the NAND gates (307) and (308) to which this signal WEP is supplied to one input terminal is the other input terminal. "0" or "1" depending on the signal supplied to
become.
このナンドゲート(307)及び(308)の他方の入力端に
は選択器(314)の出力がナンドゲート(307)にはその
まま、ナンドゲート(308)にはインバータ(315)を介
して、供給される。そして、この選択器(314)の一方
の入力端Aには役割モード信号PMがそのまま供給され、
他方の入力端Bにはインバータ(312)よりの役割モー
ド信号PMが極性反転された信号が供給される。さらに、
PVP(30B)よりの書き込み選択信号WSがこの選択器(31
4)のセレクト端子に供給される。The outputs of the selector (314) are supplied to the other input ends of the NAND gates (307) and (308) as they are to the NAND gate (307) and to the NAND gate (308) via the inverter (315). Then, the role mode signal PM is directly supplied to one input terminal A of the selector (314),
A signal obtained by inverting the polarity of the role mode signal PM from the inverter (312) is supplied to the other input terminal B. further,
The write selection signal WS from PVP (30B) is applied to this selector (31
It is supplied to the select terminal of 4).
この書き込み選択信号WSが「0」のとき、選択器(31
4)よりは入力端Aの役割モード信号PMが得られるが、
その役割モード信号PMが「1」でメモリ(301)がで
あるときは、ナンドゲート(307)の出力が「0」にな
り、よってアンドゲート(309)の出力が「0」になる
ため、このメモリ(301)が書き込み状態となる。ま
た、役割モード信号PMが「0」でメモリ(302)がで
あるときはナンドゲート(308)の出力が「0」にな
り、アンドゲート(310)の出力が「0」になるためこ
のメモリ(302)が書き込み状態となる。When the write selection signal WS is “0”, the selector (31
From 4), the role mode signal PM of the input terminal A can be obtained,
When the role mode signal PM is “1” and the memory (301) is “0”, the output of the NAND gate (307) becomes “0”, and thus the output of the AND gate (309) becomes “0”. The memory (301) is in a writing state. When the role mode signal PM is "0" and the memory (302) is "0", the output of the NAND gate (308) becomes "0" and the output of the AND gate (310) becomes "0". 302) becomes the writing state.
つまり、書き込み選択信号WSが 「0」のときはであ
るメモリに対し書き込みが可能になり、PVP(30B)より
のアドレス信号によりPIP(30A)よりの画像データがそ
のメモリに書き込まれる。That is, when the write selection signal WS is "0", writing can be performed to the memory, and the image data from the PIP (30A) is written to the memory by the address signal from the PVP (30B).
これは処理すべきフレームデータを処理して得られたも
のを次のフレームデータの処理のときに使いたい場合に
使用されるモードで、第4図のモード図において連続し
てのモードにあるメモリのその最後ののときに処理
後のデータを書き込むようにする。This is a mode used when it is desired to use the one obtained by processing the frame data to be processed in the processing of the next frame data, and the memory in the continuous mode in the mode diagram of FIG. Make sure to write the processed data at the end of.
一方、書き込み選択信号WSが「1」のときは選択器(31
4)よりは役割モード信号PMの極性反転信号が得られる
ため、メモリ(301)がとなる信号PMが「1」のとき
は、ナンドゲート(308)の出力が「0」、よってアン
ドゲート(310)が「0」となり、Pであるメモリ(30
2)が書き込み状態となる。同様にメモリ(302)がと
なる信号PMが「0」のときは、ナンドゲート(307)及
びアンドゲート(309)の出力が「0」となり、Pであ
るメモリ(301)が書き込み状態となる。On the other hand, when the write selection signal WS is “1”, the selector (31
Since the polarity reversal signal of the role mode signal PM is obtained from 4), the output of the NAND gate (308) is "0" when the signal PM of the memory (301) is "1", and therefore the AND gate (310). ) Becomes “0” and the memory is P (30
2) is in the write state. Similarly, when the signal PM for the memory (302) is "0", the outputs of the NAND gate (307) and the AND gate (309) are "0", and the memory (301) which is P is in the write state.
つまり、書き込み選択信号WSが「1」のときはPである
メモリに対し書き込みが可能になり、PVP(30B)よりの
アドレス信号によってPIP(30A)よりの画像データがそ
のメモリに書き込まれる。That is, when the write selection signal WS is "1", writing can be performed in the memory P, and the image data from PIP (30A) is written in the memory by the address signal from PVP (30B).
Pのモードにあるメモリは遊んでいるメモリであるが、
このメモリにPIP(30A)で処理された画像データが一時
書き込まれ、また、前述のように読み出され、また処理
されて書き込み、読み出しがなされるというように補助
メモリとして使用されるものである。The memory in P mode is the idle memory,
The image data processed by PIP (30A) is temporarily written in this memory, and it is also used as an auxiliary memory such that it is read out as described above, processed, written, and read out. .
以上は入力画像メモリ(20A)のメモリコントロールに
ついて説明したが、出力画像メモリ(20B)の支配モー
ドについて考えると第5図のようになり、一方がIOC(1
0)支配のとき他方はPVP(30B)支配となり、のモー
ドは存在しない。Although the memory control of the input image memory (20A) has been described above, the dominant mode of the output image memory (20B) is considered as shown in FIG. 5, one of which is the IOC (1
When 0) control, the other becomes PVP (30B) control, and there is no mode.
この出力画像メモリ(20B)においてIは最終出力デー
タをIOC(10)に支配されて読み出すモードであり、P
はPIP(30A)の処理後のデータを適宜補助メモリとして
書き込めるモード又は最終データをメモリに書き込むモ
ードである。In this output image memory (20B), I is the mode in which the final output data is read by being controlled by the IOC (10), and P
Is a mode in which data after PIP (30A) processing can be appropriately written as an auxiliary memory or a mode in which final data is written in the memory.
したがって、この出力画像メモリ(20B)に対しても
のモード以外を除けば入力画像メモリ(20B)と同様に
してメモリコントロールでき、適宜遊んでいるメモリを
補助メモリとして使用することができるものである。Therefore, the output image memory (20B) can be controlled in the same manner as the input image memory (20B) except for the mode other than the mode, and the idle memory can be appropriately used as the auxiliary memory.
なお、上述のように第1図の例では種々のモード概念に
よりメモリコントロールするので、IOC(10)とPVP(30
B)、PIP(30A)が互いに他を意識することなく単純明
快に制御信号を出せるものである。As described above, in the example of FIG. 1, memory control is performed according to various mode concepts, so IOC (10) and PVP (30
B) and PIP (30A) can output control signals simply and clearly without being aware of each other.
なお、以上は情報信号が画像データの場合について説明
したが、この発明は画像データ以外の情報信号を単位時
間分毎に処理する場合にも、もちろん適用可能である。Although the case where the information signal is the image data has been described above, the present invention is of course applicable to the case where the information signal other than the image data is processed every unit time.
H 発明の効果 この発明によれば、2枚以上を1組として使用するメモ
リを用いて連続的な処理を行なう処理装置において、遊
んでいるメモリを補助メモリとして使うことにより、メ
モリの使用効率が上がるとともに、メモリを特に増やさ
ずにより複雑な処理ができるものである。H Effect of the Invention According to the present invention, in a processing device that performs continuous processing using a memory that uses two or more sheets as a set, the idle memory is used as an auxiliary memory, so that the memory usage efficiency is improved. As it goes up, more complicated processing can be performed without increasing the memory.
第1図はこの発明の要部の一例のブロック図、第2図は
この発明が適用される画像処理装置の一例のブロック
図、第3図はメモリコントロール回路の一例のブロック
図、第4図及び第5図はメモリコントロール状態を説明
するための図、第6図は画像処理装置の一例のブロック
図である。 (10)は入出力系、(20)はメモリ部、(301)及び(3
02)は1組のフレームメモリ、(30A)及び(30B)はデ
ータ処理部を構成するプロセッサである。1 is a block diagram of an example of a main part of the present invention, FIG. 2 is a block diagram of an example of an image processing apparatus to which the present invention is applied, FIG. 3 is a block diagram of an example of a memory control circuit, and FIG. 5 and 6 are diagrams for explaining the memory control state, and FIG. 6 is a block diagram of an example of the image processing apparatus. (10) is an input / output system, (20) is a memory section, (301) and (3
02) is a set of frame memories, and (30A) and (30B) are processors constituting a data processing unit.
Claims (1)
データ処理部とを有し、複数単位時間毎に1単位時間分
の入力データを上記複数枚のメモリの一つに順次取り込
み、複数単位時間内に処理するものであって、 上記データ処理部よりアドレス信号及び書き込み制御信
号を含むコントロール信号を上記メモリ部に供給し、上
記入力データの書き込み動作がされていないメモリ又は
上記データ処理部よりのアドレスによって上記入力デー
タの読み出しがなされていないメモリが上記データ処理
部よりの上記書き込み制御信号を含むコントロール信号
によって上記処理の補助メモリとして使用されるように
なされた情報処理装置。1. A memory section having a set of a plurality of memories,
A data processing unit, which sequentially fetches input data for one unit time every one unit time into one of the plurality of memories and processes the data within a plurality of unit time. A control signal including an address signal and a write control signal is supplied to the memory section, and the memory in which the input data is not written or the input data is not read by an address from the data processing section is the memory. An information processing apparatus adapted to be used as an auxiliary memory for the above processing by a control signal including the write control signal from the data processing unit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP25954285A JPH0693244B2 (en) | 1985-11-19 | 1985-11-19 | Information processing equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP25954285A JPH0693244B2 (en) | 1985-11-19 | 1985-11-19 | Information processing equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62118486A JPS62118486A (en) | 1987-05-29 |
| JPH0693244B2 true JPH0693244B2 (en) | 1994-11-16 |
Family
ID=17335552
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP25954285A Expired - Fee Related JPH0693244B2 (en) | 1985-11-19 | 1985-11-19 | Information processing equipment |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0693244B2 (en) |
-
1985
- 1985-11-19 JP JP25954285A patent/JPH0693244B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62118486A (en) | 1987-05-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS62118440A (en) | Program transfer system | |
| JP2836902B2 (en) | Multiprocessor video coding apparatus and bus control method | |
| JPH0693244B2 (en) | Information processing equipment | |
| JP2557042B2 (en) | Program transfer device | |
| JPH04323755A (en) | Dma device | |
| JP2526542B2 (en) | Information processing device | |
| JPS5983235A (en) | Interface system between processors | |
| JPH0789367B2 (en) | Data input storage device | |
| JP2557043B2 (en) | Bit pattern detector | |
| JPS62156755A (en) | Program transfer device | |
| JPS62278636A (en) | Variable program device | |
| JPH077337B2 (en) | Information processing equipment | |
| JPS62154165A (en) | Program transfer device | |
| JPS60247767A (en) | Simultaneous input and output system for reading-out and writing-in operation of shared memory | |
| JPH01147762A (en) | Synchronous memory system | |
| JPS62156757A (en) | Information processor | |
| KR19990054491A (en) | Digital Still Camera with Memory Sharing | |
| JPS62241044A (en) | History information collecting device | |
| JPS62118479A (en) | Information processing system | |
| JPS63188248A (en) | Memory control circuit | |
| JPS62266677A (en) | Data processor | |
| JPS59180774A (en) | Memory accessing system | |
| JPH04207269A (en) | Video parallel processing device | |
| JPH0317143B2 (en) | ||
| JPH0470077A (en) | Picture recording device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |