JPS6145370A - Buffer memory device of data processor - Google Patents

Buffer memory device of data processor

Info

Publication number
JPS6145370A
JPS6145370A JP16655384A JP16655384A JPS6145370A JP S6145370 A JPS6145370 A JP S6145370A JP 16655384 A JP16655384 A JP 16655384A JP 16655384 A JP16655384 A JP 16655384A JP S6145370 A JPS6145370 A JP S6145370A
Authority
JP
Japan
Prior art keywords
data
processing
buffer memory
circuit
memory
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
JP16655384A
Other languages
Japanese (ja)
Inventor
Kouji Tsutsumoto
筒本 光司
Masahiro Nakamura
雅洋 中村
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.)
Hitachi High Tech Corp
Original Assignee
Hitachi Electronics Engineering Co 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 Hitachi Electronics Engineering Co Ltd filed Critical Hitachi Electronics Engineering Co Ltd
Priority to JP16655384A priority Critical patent/JPS6145370A/en
Publication of JPS6145370A publication Critical patent/JPS6145370A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)

Abstract

PURPOSE:To omit a transfer of data between buffer memories and to shorten a data processing time by reading a pair of the 1st processed data out of the corresponding buffer memory in the subsequent frame periods and then performing the 2nd processing. CONSTITUTION:A buffer memory device contains three buffer memories 1-3 between a processing circuit 4 for the 1st processing A and a processing circuit 5 for the 2nd processing B. The processing time of the circuit 4 is synchronous with that of the circuit 5. The picture data of each frame undergoes repetitively the processing A, storage to memories 1-3, read-out of memories 1-3 and the processing B. The picture data of a certain frame stored in either one of memories 1-3 after the processing A is through by the circuit 4 is read directly out of the memories 1-3 in the next period and its following period and given to the circuit 5 to receive the processing B.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、入力データに対し内容の異なる複数穏類の
処理を順番に行なう場合に、各処理間に位置して処理済
みのデータを一時記憶するために用いられるバッファメ
モリ装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] This invention provides a method for temporarily storing processed data between each process when multiple processes with different contents are sequentially performed on input data. The present invention relates to a buffer memory device used for storing data.

〔従来の技術〕[Conventional technology]

画像あるいは音声等のパターンを機械的に認識する手法
としては、従来次のようなものが用t)られている。ま
ず、入力された画像又は音声等のデータを所定の単位時
間(これをフレームという)毎に分けて、1フレーム毎
のデータについて所定の解析処理(処理Aとする)を行
なう。そして処理A済みのデータについて隣接するフレ
ーム間で所定の比較解析処理(処理Bとする)を行なう
というものである。ところで、この手法によるデータ処
理を制約された時間内に行なうためには、成るフレーム
についての処理Aと処理A済みの別のフレームについて
の処理Bとは並行して行なう必要があった。そこで従来
は、処理Aを行なうための回路4と処理Bを行なうため
の回路50間に、例えば第3図に示すようにバッファメ
モリB1〜B3が設けられていた。
Conventionally, the following methods have been used to mechanically recognize patterns of images, sounds, etc. First, input data such as images or audio is divided into predetermined unit times (referred to as frames), and a predetermined analysis process (referred to as process A) is performed on the data for each frame. Then, predetermined comparative analysis processing (referred to as processing B) is performed between adjacent frames on the data that has undergone processing A. By the way, in order to perform data processing using this method within a limited time, it is necessary to perform processing A for a frame and processing B for another frame that has already been processed A in parallel. Conventionally, buffer memories B1 to B3 have been provided between the circuit 4 for performing processing A and the circuit 50 for performing processing B, as shown in FIG. 3, for example.

、  メモリB1〜B3は、夫々1フレーム分ずつのデ
ータを記憶するためのものである。メモIJ B 1は
、回路4から出力される処理A済みのデータを取入れて
記憶する役割を専ら果たすものである。
, Memories B1 to B3 are each for storing data for one frame. The memo IJB 1 exclusively plays the role of taking in and storing the processed data outputted from the circuit 4.

またメモIJ B 2及びB3は、回路5からの読取り
要求に応じて記憶したデータを該回路5に与えるという
役割を専ら果たすものである。
Further, the memo IJ B 2 and B3 exclusively play the role of providing stored data to the circuit 5 in response to a read request from the circuit 5.

回路4からは、前記処理A済みの1フレーム分ずつのデ
ータ(例えば画像データ)が逐次メモリB1に与えられ
ている。成る時点において回路4でフレーム(t)の画
像データについて処理Aが行なわれているとすると、こ
のときメモリB2には該フレーム(1)より1フレーム
前のフレーム(t−1)の画像データが記憶されており
、メモリB3には該フレーム(1)より2フレーム前の
フレーム(t−2)の画像データが記憶されている。回
路5は該フレーム(t−1)及び(t−2)の画像デー
タを夫々メモIJ B 2及びB3から読出し、前記回
路4における処理Aと並行して処理Bを実行する。フレ
ーム(1)の画像データは、処理Aが終了するとメモU
 B 1に与えられ、該メモIJ B 1に記憶される
。そして処理A及び処理Bがともに終了すると、メモリ
B2に記憶されたフレーム(t−1)の画像データはメ
モIJ B 3に転送され、メモリB1に記憶されたフ
レーム(1)の画像データはメモIJ B 2に転送さ
れる。その後回路4には次のフレーム(t+1)の画像
データが与えられ、再び該フレーム(t+Hの画像デー
タに対する処理AとメモリB2及びB3内のフレーム(
1)及び(t−1)の画像データに対する処理Bとが上
記と同様にして並行して実行される。
From the circuit 4, data (for example, image data) for each frame that has been processed A is sequentially provided to the memory B1. Suppose that the circuit 4 is performing process A on the image data of frame (t) at the time when the image data of the frame (t-1), which is one frame before the frame (1), is stored in the memory B2. The memory B3 stores image data of a frame (t-2) two frames before the frame (1). The circuit 5 reads the image data of the frames (t-1) and (t-2) from the memories IJ B 2 and B3, respectively, and executes the process B in parallel with the process A in the circuit 4. The image data of frame (1) will be saved in the memo U when processing A is completed.
B 1 and stored in the memo IJ B 1. When both processing A and processing B are completed, the image data of frame (t-1) stored in memory B2 is transferred to memo IJB3, and the image data of frame (1) stored in memory B1 is transferred to memo IJB3. Transferred to IJ B 2. Thereafter, the image data of the next frame (t+1) is given to the circuit 4, and the image data of the next frame (t+H) is processed A and the frames in the memories B2 and B3 (
1) and (t-1) processing B on the image data are executed in parallel in the same manner as above.

以下、同様の過程が逐次繰返されていく。Thereafter, the same process is repeated one after another.

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

しかし上述のような場合には、処理人回路4及び処理8
回路5による本来の処理時間の他に、バッファメモIJ
 B 1〜B3間でデータの転送を行なうための時間が
必要となる。従って全体としてのデータ処理時間が長く
なり、処理能率の低下をきたすという問題があった。
However, in the above case, the processor circuit 4 and the processor 8
In addition to the original processing time by circuit 5, buffer memory IJ
Time is required to transfer data between B1 and B3. Therefore, there is a problem in that the overall data processing time becomes long, resulting in a decrease in processing efficiency.

この発明は上述の点に鑑みてなされたもので。This invention was made in view of the above points.

データの転送時間をなくすことにより短時間にデータ処
理を行なうことができるようにしたバッファメモリ装置
を提供しようとするものである。
The present invention aims to provide a buffer memory device that can process data in a short time by eliminating data transfer time.

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

この発明に係るバッファメモリ装置は、第1の処理済み
の1組のデータ(1フレーム分のデータ)を組別に(フ
レーム別に)夫々記憶するための少なくとも3組分のバ
ッファメモリと、第1の処理済みの1組のデータを書込
むべきバッファメモリを指定し、かつ、この1組のデー
タ書込みが完了する毎に次に書込むべきバッファメモリ
を別のメモリに順次切換える書込みノ七り制御手段とを
具えている。更に読出しメモリ選択手段が設けられてお
り、この読出しメモリ選択手段は、全てのバッファメモ
リの中から、前記書込みメモリ制御手段の制御の下で書
込み状態にある1つのバッファメモリを除いた残りを選
択し、その読出しデータを第2の処理のために供給する
。この読出しメモリ選択手段の選択動作は、前記書込み
メモリ制御手段の切換制御に同期して行なわれる。
A buffer memory device according to the present invention includes at least three sets of buffer memories for storing a first processed set of data (data for one frame) for each set (for each frame); Write control means for specifying a buffer memory into which one set of processed data is to be written, and sequentially switching the buffer memory to be written next to another memory each time writing of this one set of data is completed. It is equipped with. Furthermore, read memory selection means is provided, and the read memory selection means selects the remaining buffer memories excluding one buffer memory which is in a writing state under the control of the write memory control means from among all the buffer memories. and supplies the read data for second processing. The selection operation of the read memory selection means is performed in synchronization with the switching control of the write memory control means.

〔作用〕[Effect]

第1の処理済みの1組(1フレーム分)のデータを書込
むべきバッファメモリは、書込みメモリ制御手段によっ
て制御されて順次切換えられる。
The buffer memory into which the first processed set of data (for one frame) is to be written is sequentially switched under the control of the write memory control means.

一方、第2の処理のために使用するバッファメモリは、
読出しメモリ選択手段により、前記書込みメモリ制御手
段の切換制御に同期して書込み状態にあるバッファメモ
リ以外のものが選択される。
On the other hand, the buffer memory used for the second process is
The read memory selection means selects a memory other than the buffer memory in the write state in synchronization with the switching control of the write memory control means.

従って書込み状態にあるバッファメモリが切換えられる
と、第2の処理のために使用する残りのバッファメモリ
もこれに同期して切換えられる。
Therefore, when the buffer memory in the write state is switched, the remaining buffer memories used for the second process are also switched in synchronization with this.

成るフレーム期間で成るバッファメモリに書込まれた第
1の処理済みの1組(1フレーム分)のデータは、その
後のフレーム期間では該バッファメモリから読出されて
第2の処理のために供給される。従って、バッファメモ
リ間でのデータの転送は全く行なわれず、データの転送
のための時間が不要となり、全体としての処理時間が短
縮される。
A first processed set of data (for one frame) written to a buffer memory in a frame period of Ru. Therefore, data is not transferred between buffer memories at all, eliminating the need for time for data transfer and shortening the overall processing time.

〔実施例〕〔Example〕

以下添付図面を参照して、この発明の一実施例を詳細に
説明しよう。
An embodiment of the present invention will be described in detail below with reference to the accompanying drawings.

第1図に示すように、このバッファメモリ装置には第1
の処理Aを行なう処理回路4と第2の処理Bを行なう処
理回路50間に3つのバッファメモリ1〜3が設けられ
ている。処理回路4及び5は、入力されたデータ(画像
あるいは音声データ等、以下画像データとする)に基づ
き、第3図に同一符号を付して示した処理回路4及び5
と同様の処理を行なうものであり、処理回路4の処理時
間と処理回路5の処理時間は同期化されている。
As shown in FIG. 1, this buffer memory device has a first
Three buffer memories 1 to 3 are provided between the processing circuit 4 that performs the second processing A and the processing circuit 50 that performs the second processing B. The processing circuits 4 and 5 are designated by the same reference numerals in FIG. 3 based on input data (image or audio data, etc., hereinafter referred to as image data).
The processing time of the processing circuit 4 and the processing time of the processing circuit 5 are synchronized.

処理回路4からは、1フレーム毎の処理A済みの画像デ
ータがメモリ1〜3の各々のデータ人力D工、に対して
逐次与えられる。尚、処理回路4からは、アンド回路8
〜10を介してメモリ1〜3の各々の書込み可能入力W
Eに対して書込み命令信号が与えられている。この書込
み命令信号は、入力された画像データに対し処理回路4
が処理Aを行なっている間中パ1″となり、処理回路4
から逐次出力される処理A済みデータをいずれかのメモ
リ1〜3に書込むべきことを指示する。
From the processing circuit 4, the image data that has been processed A for each frame is sequentially given to each of the data input units of the memories 1 to 3. Note that from the processing circuit 4, an AND circuit 8
Writable input W of each of memories 1-3 via ~10
A write command signal is given to E. This write command signal is sent to the processing circuit 4 for the input image data.
is in PA1'' while processing A, and the processing circuit 4
This command instructs that the processed A data sequentially output from the memory 1 to 3 should be written to one of the memories 1 to 3.

アンド回路8〜10のもう一方の入力には、デコーダ7
の各出力ラインの信号が個別に与えられる。デコーダ7
は3進カウンタ6の出力信号を入力してそのカウント値
をデコードし、該カウント値rOJ’、rlJ、r2J
に対応して出力ラインのいずれかに信号“1#を生ずる
ものである。すなわち、カウント値が「2」のときはア
ンド回路8に接続された出力ラインに、カウント値が「
0」のときはアンド回路9に接続された出力ラインに、
カウント値が「1」のときはアンド回路10に接続され
た出力ラインに夫々信号゛1″′が生ずる。
The other input of the AND circuits 8 to 10 is connected to a decoder 7.
The signal of each output line of is given separately. Decoder 7
inputs the output signal of the ternary counter 6, decodes the count value, and calculates the count values rOJ', rlJ, r2J
In other words, when the count value is "2", the count value is "1#" on the output line connected to the AND circuit 8.
0”, the output line connected to the AND circuit 9,
When the count value is "1", a signal "1"' is generated on the output line connected to the AND circuit 10, respectively.

従ってカウント値が「2」のときには、前記書込み命令
信号はアンド回路8を介してメモリ1にのみ与えられる
ので、メモリ1のみが書込み可能な状態になる。同様に
して、カウント値が「0」のときにはメモリ2のみが、
カウント値が「1」のときにはメモリ3のみが、夫々書
込み可能な状態になる。尚3進カウンタ6はクロックパ
ルスφをカウント信号としており、該パルスφの周期は
データのフレーム時間に同期しており、処理回路4によ
る処理Aの所要時間及び処理回路5による処理Bの所要
時間はこの1フレーム時間内に収まる。
Therefore, when the count value is "2", the write command signal is applied only to the memory 1 via the AND circuit 8, so that only the memory 1 is in a writable state. Similarly, when the count value is "0", only memory 2
When the count value is "1", only the memory 3 is in a writable state. The ternary counter 6 uses a clock pulse φ as a count signal, and the cycle of the pulse φ is synchronized with the data frame time, and the time required for processing A by the processing circuit 4 and the time required for processing B by the processing circuit 5 falls within this one frame time.

各メモリ1〜3に記憶された処理A済みのデータは、夫
々ゲート回路14〜16を介して処理回路5に与えられ
る。尚、該回路5からは、比較処理の対象となる隣接す
る2つのフレームの処理A済みのデータを1フレーム時
間内で時分割的に一つずつ読出していくために、2系統
の読出し要求信号a、bが所定の時分割タイミングで時
分割的に出力される。両読出し要求信号a、bはセレク
タ11〜13の被選択信号入力に与えられる。すなわち
、信号aはセレクタ11の「1」入力、セレクタ12の
「2」入力、セレクタ13の「0」入力に夫々与えられ
、信号すはセレクタ11の「0」入力、セレクタ12の
「1」入力、セレクタ13の「2」入力に夫々与えられ
る。
The processed data stored in each of the memories 1 to 3 is provided to the processing circuit 5 via gate circuits 14 to 16, respectively. Note that the circuit 5 sends two systems of read request signals in order to read out the processed data of two adjacent frames to be compared one by one in a time-division manner within one frame time. A and b are output in a time-division manner at a predetermined time-division timing. Both read request signals a and b are applied to selected signal inputs of selectors 11-13. That is, the signal a is given to the "1" input of the selector 11, the "2" input of the selector 12, and the "0" input of the selector 13, respectively; input and the “2” input of the selector 13, respectively.

各セレクタ11〜13は、夫々前記カウンタ6の出力信
号を選択信号として用いるものである。
Each of the selectors 11 to 13 uses the output signal of the counter 6 as a selection signal.

すなわち、各セレクタ11〜13では、カウンタ6の現
カウント値(rOJ、rlJ、r2Jのいずれか1つ)
に対応する入力(「0」入力、「1」入力、「2」入力
のいずれか1つ)に加わる信号を選択して出力する。セ
レクタ11により選択された信号は、前記ゲート回路1
4の制御入力に与えられる。またセレクタ12により選
択された信号はゲート回路15の制御入力に与えられ、
セレクタ13により選択された信号はゲート回路16の
制御入力に与えられる。
That is, in each selector 11 to 13, the current count value of the counter 6 (any one of rOJ, rlJ, r2J)
Selects and outputs the signal applied to the input corresponding to (any one of the "0" input, "1" input, and "2" input). The signal selected by the selector 11 is transmitted to the gate circuit 1.
4 control input. Further, the signal selected by the selector 12 is given to the control input of the gate circuit 15,
The signal selected by the selector 13 is applied to the control input of the gate circuit 16.

従って、カウンタ6のカウント値が「2」のとき、前記
両読出し要求信号のうち時間的に早い方のフレームの処
理A済みデータについての読出シ要求償号aはセレクタ
12によってのみ選択されて出力され、もう一方の読出
し要求信号すはセレクタ13によってのみ選択されて出
力される。このとき、まず信号aによりてゲート回路1
5が開かれ、該信号aに応じてメモリ2内の処理A済み
データが処理回路5に与えられる。そして前記所定時間
の経過後に、信号すによってゲート回路16が開かれ、
該信号すに応じてメモリ3内の処理A済みデータが該回
路5に与えられる。
Therefore, when the count value of the counter 6 is "2", the read request code a for the processed A-completed data of the temporally earlier frame of both read request signals is selected only by the selector 12 and output. The other read request signal is selected and output only by the selector 13. At this time, first, the gate circuit 1 is
5 is opened, and the processed data in the memory 2 is given to the processing circuit 5 in response to the signal a. After the predetermined time has elapsed, the gate circuit 16 is opened by a signal S.
The processed data in the memory 3 is given to the circuit 5 in response to the signal.

同様にしてカウンタ6のカウント値が「0」のときには
、信号aはセレクタ13によってのみ選択され、信号す
はセレクタ11によってのみ選択される。このときは、
まず信号aに応じてメモリ3内の処理A済みデータが回
路5に与えられ1次に前記所定時間経過後に信号すに応
じてメモリ1内の処理A済みデータが回路5に与えられ
る。
Similarly, when the count value of the counter 6 is "0", the signal a is selected only by the selector 13, and the signal S is selected only by the selector 11. At this time,
First, the processed data in the memory 3 is given to the circuit 5 in response to the signal a, and then after the predetermined time has elapsed, the processed data in the memory 1 is given to the circuit 5 in response to the signal a.

また同様にしてカウンタ6のカウント値が「1」のとき
罠は、信号aはセレクタ11によってのみ選択され、信
号すはセレクタ12によってのみ選択される。このとき
は、まず信号aに応じてメモリ1内の処理A済みデータ
が回路5に与えられ、次に前記所定時間経過後に信号す
に応じてメモリ2内の処理A済みデータが回路5に与え
られる。
Similarly, when the count value of the counter 6 is "1", the signal a is selected only by the selector 11 and the signal S is selected only by the selector 12. At this time, first, the processed A data in the memory 1 is given to the circuit 5 in response to the signal a, and then, after the predetermined time has elapsed, the processed A data in the memory 2 is given to the circuit 5 in response to the signal a. It will be done.

処理回路5では、上述のようにして得られる2つの処理
A済みデータについて処理Bが行なわれる。処理Bの結
果得られたデータは、画像パターン認識処理済みデータ
として出力される。
In the processing circuit 5, processing B is performed on the two processed data obtained as described above. The data obtained as a result of processing B is output as image pattern recognition processed data.

次に、このバッファメモリ装置の動作の一例を、第2図
を参照しながら説明しよう。
Next, an example of the operation of this buffer memory device will be explained with reference to FIG.

成るフレーム(1)の画像データに対して処理回路4に
おける処理Aが行なわれているとき(期間Tのとき)、
3進力゛ウンタ6のカウント値が第2図(b)に示すよ
うに「2」であったとする。このとき前述のように、書
込み命令信号は”1″(書込めという命令内容)となり
、該信号はアンド回路8を介してメモリ1にのみ与えら
れ、第2図(C)に示すようにメモリ1が書込み可能と
される。従ってフレーム(1)の画像データは、処理A
を終了し次第、メモリ1に逐次記憶される。
When processing A in the processing circuit 4 is being performed on the image data of frame (1) consisting of (during period T),
Assume that the count value of the ternary power counter 6 is "2" as shown in FIG. 2(b). At this time, as described above, the write command signal becomes "1" (command content to write), and this signal is applied only to the memory 1 via the AND circuit 8, and as shown in FIG. 1 is writable. Therefore, the image data of frame (1) is processed by A
As soon as the process is completed, the data is sequentially stored in the memory 1.

またこの期間Tでは、カウント値が「2」であるため、
セレクタ12の「2」入力を介して読出し要求信号aが
ゲート回路15に与えられ、第2図(d)に示すように
メモリ2の記憶内容が該信号aに基づき読出し可能とさ
れる。ここでメモリ2には、2つ前のパルスφによりカ
ウンタ6のカウント値が「0」であったとき(期間T−
2)に処理Aを終了した2フレーム前のフレーム(t−
2)のデータが書込まれている。
Also, in this period T, the count value is "2", so
A read request signal a is applied to the gate circuit 15 through the "2" input of the selector 12, and the stored contents of the memory 2 are made readable based on the signal a, as shown in FIG. 2(d). Here, when the count value of the counter 6 was "0" due to the two previous pulses φ (period T-
2) The frame (t-
2) data has been written.

また同じく期間Tでは、カウント値が「2」であるため
、セレクタ13の「2」入力を介して読出し要求信号す
がゲート回路16に与えられ、第2図(e)に示すよう
にメモリ3の記憶内容が該信号すに基づき読出し可能と
される。ここでメモリ3には、1つ前のパルスφにより
カウンタ6のカウント値が「1」でありたとき(期間T
−1)に処理Aを終了した1フレーム前のフレーム(t
−1)のデータが書込まれている。
Similarly, in the period T, since the count value is "2", the read request signal S is given to the gate circuit 16 via the "2" input of the selector 13, and the memory 3 is output as shown in FIG. 2(e). The stored contents of can be read out based on the signal. Here, when the count value of the counter 6 is "1" due to the previous pulse φ (period T
-1), the frame (t
-1) data is written.

尚、前述のとおり、読出し要求信号aとbは1フレーム
期間で所定の時分割タイミングに従って時分割で与えら
れる。処理回路5では時分割的に与えられたフレーム(
t−2)と(t−1)の処理A済みデータをラッチし、
これに基づき処理Bを行なう。
Note that, as described above, the read request signals a and b are provided in a time-division manner in accordance with a predetermined time-division timing during one frame period. The processing circuit 5 processes frames (
Latch the processed A data of t-2) and (t-1),
Process B is performed based on this.

次のパルスφに基づき、3進カウンタ6のカウント値が
「0」に変わったとき、処理回路4では、新しく与えら
れた次のフレーム(t+1 )の画像データに対して処
理Aが行なわれる。今度は上述したのと同様の理由によ
りメモリ2が書込み可能な状態とな゛るので、処理A済
みのフレーム(t−4−1)の画像データは、第2図の
期間T+1に示すようにメモリ2に記憶される。
When the count value of the ternary counter 6 changes to "0" based on the next pulse φ, the processing circuit 4 performs the process A on the newly given image data of the next frame (t+1). This time, for the same reason as mentioned above, memory 2 is in a writable state, so the image data of the frame (t-4-1) that has been processed A is as shown in period T+1 in FIG. Stored in memory 2.

またこのとき、同じく第2図の期間T+1に示すように
、信号a及びbK基づいて今度はメモリ3及び1の記憶
内容が夫々処理回路5に読市され、処理Bを施される。
Also, at this time, as shown in period T+1 in FIG. 2, the stored contents of the memories 3 and 1 are read by the processing circuit 5, respectively, based on the signals a and bK, and subjected to processing B.

ここでメモリ3には前記フレーム(t−1)の画像デー
タが記憶されており、メモリ1には前記期間Tにおいて
書込まれたフレーム(1)の画像データが記憶されてい
る。
Here, the image data of the frame (t-1) is stored in the memory 3, and the image data of the frame (1) written in the period T is stored in the memory 1.

更に次のパルスφに基づき、3進カウンタ6のカウント
値が「1」Kかわったとき、上記と同様にして、今度は
処理A済みの次のフレーム(t−4−2)の画像データ
がメモリ3に記憶され、メモリ1及び2内の前記フレー
ム(1)及び(t+1 )の画像データが読み出されて
処理Bを施される(第2図の期間T+2参照)。
Furthermore, when the count value of the ternary counter 6 changes by "1" K based on the next pulse φ, the image data of the next frame (t-4-2) which has been processed A is processed in the same way as above. The image data of the frames (1) and (t+1) stored in the memory 3 are read out and subjected to processing B (see period T+2 in FIG. 2).

以下同様にして、各フレームの画像データについて、処
理A、メモリ1〜3への記憶、メモリ1〜3からの読出
し及び処理Bが繰返されていく。
Similarly, processing A, storage in memories 1 to 3, reading from memories 1 to 3, and processing B are repeated for each frame of image data.

このように、処理回路4による処理Aを終了してメモリ
1〜3のいずれか1つに記憶された成るフレームの画像
データは、次の期間及び次の次の期間に直接該メモリ1
〜3から読出されて処理回路5に与えられ、処理Bを施
される。従って、画像データがメモリ1〜3間で転送さ
れることがないので、画像データの転送のための時間が
不要となり、全体としての画像データの処理時間が短縮
される。
In this way, the image data of the frame stored in any one of the memories 1 to 3 after completing the process A by the processing circuit 4 is directly stored in the memory 1 in the next period and the next period.
. . . 3, is provided to the processing circuit 5, and subjected to processing B. Therefore, since image data is not transferred between the memories 1 to 3, no time is required for image data transfer, and the overall image data processing time is shortened.

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

以上のとおりこの発明に係るバッファメモリ装置によれ
ば、成る期間に成るバッファメモリに記憶された第1の
処理済みの1組のデータは、各バッファメモリ間で転送
されることなく、その後の期間に直接該バクファメモリ
から読出されて第2の処理のために供給される。従って
データ転送のための時間が不要になるので、全体として
のデータ処理時間が短縮され、迅速にデータ処理を行な
うことが可能になる。
As described above, according to the buffer memory device according to the present invention, the first set of processed data stored in the buffer memory during the period of is directly read out from the buffer memory and supplied for second processing. Therefore, since no time is required for data transfer, the overall data processing time is shortened, making it possible to perform data processing quickly.

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

第1図はこの発明に係るバッファメモリ装置の一実施例
を示す電気的ブロック図、第2図は第1図の各バッファ
メモリの書込み及び読出し動作のタイミングの一例を示
すタイミングチャート、第3図は従来のバッファメモリ
装置の一例を示す電気的ブロック図である。 1〜3・・・バッファメモリ、4・・・処理Aを行なう
処理回路、5・・・処理Bを行なう処理回路、6・・・
3進カウンタ、7・・・デコーダ、8〜10・・・アン
ド回路、11〜13・・・セレクタ、14〜16・・・
ゲート回路。
FIG. 1 is an electrical block diagram showing one embodiment of a buffer memory device according to the present invention, FIG. 2 is a timing chart showing an example of the timing of write and read operations of each buffer memory in FIG. 1, and FIG. 1 is an electrical block diagram showing an example of a conventional buffer memory device. 1-3... Buffer memory, 4... Processing circuit that performs processing A, 5... Processing circuit that performs processing B, 6...
Ternary counter, 7...decoder, 8-10...AND circuit, 11-13...selector, 14-16...
gate circuit.

Claims (1)

【特許請求の範囲】 1、入力された1組のデータに基き所定の第1の処理を
行い、この第1の処理済みの少なくとも2組のデータを
用いて所定の第2の処理を行うデータ処理装置において
前記第1の処理と第2の処理との間に介在するバッファ
メモリ装置であって、前記第1の処理済みの1組のデー
タを組別に夫々記憶するための少なくとも3組分のバッ
ファメモリと、 前記第1の処理済みの1組のデータを書込むベき前記バ
ッファメモリを順次切換える書込みメモリ制御手段と、 前記書込みメモリ制御手段による切換制御に同期し、書
込み状態のバッファメモリを除く他のバッファメモリを
選択してその読出しデータを前記第2の処理のために供
給する読出しメモリ選択手段と、 を具えたデータ処理装置におけるバッファメモリ装置。 2、前記書込みメモリ制御手段は、前記バッファメモリ
の数Nに対応するN進カウンタを含み、このN進カウン
タの出力に応じて書込むべきメモリを指定するものであ
り、前記読出しメモリ選択手段は、該N進カウンタの出
力に応じて書込み状態のバッファメモリを除く他のバッ
ファメモリを選択するものである特許請求の範囲第1項
記載のデータ処理装置におけるバッファメモリ装置。 3、前記入力データは1フレーム分の画像データであり
、前記第1の処理は1フレーム分の画像データの解析処
理であり、前記第2の処理は隣接する2フレーム分の画
像解析データ相互の比較解析処理である特許請求の範囲
第1項記載のデータ処理装置におけるバッファメモリ装
置。
[Claims] 1. Data that performs a predetermined first process based on one set of input data, and performs a predetermined second process using at least two sets of data that have undergone the first process. A buffer memory device interposed between the first process and the second process in a processing device, the buffer memory device having at least three sets of data for storing each set of data processed by the first process. a buffer memory; a write memory control means for sequentially switching the buffer memory into which the first set of processed data is to be written; and a write memory control means for sequentially switching the buffer memory in which the first set of processed data is to be written; A buffer memory device in a data processing device, comprising: read memory selection means for selecting a buffer memory other than the buffer memory and supplying the read data for the second processing. 2. The write memory control means includes an N-ary counter corresponding to the number N of buffer memories, and specifies a memory to be written into according to the output of the N-ary counter, and the read memory selection means . The buffer memory device in a data processing apparatus according to claim 1, wherein a buffer memory other than the buffer memory in the writing state is selected in accordance with the output of the N-ary counter. 3. The input data is image data for one frame, the first process is an analysis process for the image data for one frame, and the second process is for mutual analysis of the image analysis data for two adjacent frames. A buffer memory device in a data processing device according to claim 1, which is a comparative analysis process.
JP16655384A 1984-08-10 1984-08-10 Buffer memory device of data processor Pending JPS6145370A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16655384A JPS6145370A (en) 1984-08-10 1984-08-10 Buffer memory device of data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16655384A JPS6145370A (en) 1984-08-10 1984-08-10 Buffer memory device of data processor

Publications (1)

Publication Number Publication Date
JPS6145370A true JPS6145370A (en) 1986-03-05

Family

ID=15833394

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16655384A Pending JPS6145370A (en) 1984-08-10 1984-08-10 Buffer memory device of data processor

Country Status (1)

Country Link
JP (1) JPS6145370A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62271180A (en) * 1986-05-20 1987-11-25 Sony Corp Data processor

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53105945A (en) * 1977-02-26 1978-09-14 Tamura Electric Works Ltd Interface system between image sensor and processor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53105945A (en) * 1977-02-26 1978-09-14 Tamura Electric Works Ltd Interface system between image sensor and processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62271180A (en) * 1986-05-20 1987-11-25 Sony Corp Data processor

Similar Documents

Publication Publication Date Title
US4942470A (en) Real time processor for video signals
KR20070108331A (en) A semiconductor memory
JPH0220131A (en) Frame converter
JPS6145370A (en) Buffer memory device of data processor
JP3092526B2 (en) 2D inverse discrete cosine transform circuit
JPS6237737A (en) Microprocessor circuit
JP3104001B2 (en) Line buffer and image processing apparatus using the same
JPS6059461A (en) Program memory device
JPH08171626A (en) Data processor
JPH0489698A (en) Writable non-volatile memory
JPS6019258A (en) Memory
JPS59151371A (en) Semiconductor memory element
JP3078594B2 (en) Image storage device
JPH0619737B2 (en) Memory access device
JPS6316329A (en) Data sending circuit for arithmetic unit
JPH01112449A (en) Speed converting memory device
JPH0198083A (en) Frame buffer parallel processing control circuit
JPH06208614A (en) Image processor
JPH03196257A (en) Vector processor
JPH09311934A (en) Image processor
JPH1040168A (en) Data processor
JPS61117663A (en) Sort operation circuit
JPH0287721A (en) Analog input device
JPS60181972A (en) Mask arithmetic unit
JPH0468459A (en) Digital signal processor