JPH01136281A - Buffer memory control system - Google Patents
Buffer memory control systemInfo
- Publication number
- JPH01136281A JPH01136281A JP29706687A JP29706687A JPH01136281A JP H01136281 A JPH01136281 A JP H01136281A JP 29706687 A JP29706687 A JP 29706687A JP 29706687 A JP29706687 A JP 29706687A JP H01136281 A JPH01136281 A JP H01136281A
- Authority
- JP
- Japan
- Prior art keywords
- data
- buffer memory
- frame
- time
- buffer memories
- 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
Links
- 230000015654 memory Effects 0.000 title claims abstract description 50
- 238000000034 method Methods 0.000 claims description 9
- 238000000926 separation method Methods 0.000 abstract description 3
- 238000009499 grossing Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 239000003795 chemical substances by application Substances 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、画像の符号化に際し、1フレーム内の符号化
データ発生量の平滑化を行うバッファメモリの制御方式
に関し、特に2組のバッファメモリを切替え制御する方
式に関する。Detailed Description of the Invention [Field of Industrial Application] The present invention relates to a buffer memory control method for smoothing the amount of encoded data generated within one frame when encoding an image, and particularly relates to a buffer memory control method for smoothing the amount of encoded data generated within one frame when encoding an image. This invention relates to a method for controlling memory switching.
従来、この種のバッファメモリ制御方式においては、入
力画像のフレームの切りかわりに同期して書き込み動作
を行うバッファメモリを切替え、書、き込み動作中でな
いバッファメモリからデータの読み出しを行っていた。Conventionally, in this type of buffer memory control system, the buffer memory that performs a writing operation is switched in synchronization with the switching of frames of an input image, and data is read from the buffer memory that is not in the writing or writing operation.
しかしながら、上述した従来のバッファメモリ制御方式
では、バッファメモリの切替えを画像フレームの切りか
わりに同期して行ってい未ため、数フレームごとにデー
タ伝送を行う駒落とし符号化を行った場合、駒落としさ
れたフレームの書き込みが行われたバッファメモリは空
となり、もう一方のバッファメモリのデータ量と大きな
不均衡を生じてデータ量の平滑化が十分できないという
欠点があった。However, in the conventional buffer memory control method described above, the buffer memory is not switched in synchronization with the switching of image frames. The buffer memory to which the received frame was written becomes empty, causing a large imbalance with the amount of data in the other buffer memory, which has the disadvantage that the amount of data cannot be sufficiently smoothed.
本発明の目的は、上述した欠点を解決したバッファメモ
リ制御方式を提供することにある。このため、本願発明
では2つのバッファメモリの切替えを入力画像のフレー
ムの区切りではなく、フレームの区切りから1/2単位
フレーム時間ずれた時点で行い、1フレ一ム分の画像デ
ータを2つノハッファメモリに分割入力して、フレーム
駒落とし符号化を行った際のバッファメモリ間のデータ
量の均衡を計っている。An object of the present invention is to provide a buffer memory control method that solves the above-mentioned drawbacks. For this reason, in the present invention, the two buffer memories are switched not at the frame division of the input image, but at a point shifted by 1/2 unit frame time from the frame division, and the image data for one frame is transferred into two buffer memories. The amount of data is balanced between the buffer memories when frame drop-off encoding is performed by splitting input into the buffer memories.
次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は、本発明の一実施例を説明するブロック図であ
る。第1図において、本発明のバッファメモリ制御方式
を用いる回路は、データ入力端子1に並列接続された第
1のバッファメモリ2および第2のバッファメモリ3、
これら2つのバッファメモリ2,3のデータ端子に接続
され、出力端子5へ出力するデータを切替る出力データ
切替回路4、入力データに同期し、端子6から入力され
る書き込みクロックから書込みアドレスを発生する書込
み計数回路7、伝送路側から端子9へ入力される一定周
期の読出しクロックから読出しアドレスを発生する読出
し計数回路10、前記第1のバッファメモリ2に接続さ
れ、前記読出し計数回路10の出力と前記書込み計数回
路7の出力を切替る第1のアドレス切替回路8、前記第
2のバッファメモリ3に接続され、前記読出し計数回路
10の出力と前記書込み計数回路7の出力を切替る第2
のアドレス切替回路11、入力データを発生する符号化
部(図示せず)からフレームの先頭でデータと同期した
一定周期のクロックを端子12から与えられ、フレーム
の切れ目から180°ずれた時間に切替信号を出力する
時間計数回路13から構成されている。この切替信号は
前記第1および第2のバッファメモリ2,3と、前記出
力データ切替回路4、前記第1および第2のアドレス切
替回路8,11、前記書込み計数回路7、前記読出し計
数回路lOへ供給され、その出力レベルにより接続され
た回路の状態はたとえば第3図の表のように決められて
いる。ここで、インバータ14は、2つのバッファメモ
リ回路2.3が同じ状態にならぬよう設けられている。FIG. 1 is a block diagram illustrating one embodiment of the present invention. In FIG. 1, a circuit using the buffer memory control method of the present invention includes a first buffer memory 2 and a second buffer memory 3 connected in parallel to a data input terminal 1;
An output data switching circuit 4 is connected to the data terminals of these two buffer memories 2 and 3 and switches the data output to the output terminal 5, and generates a write address from the write clock input from the terminal 6 in synchronization with the input data. a write counting circuit 7 which generates a read address from a constant cycle read clock input from the transmission line side to a terminal 9; a first address switching circuit 8 for switching the output of the write counting circuit 7; a second address switching circuit 8 connected to the second buffer memory 3 and switching between the output of the reading counting circuit 10 and the output of the writing counting circuit 7;
The address switching circuit 11 receives from a terminal 12 a clock with a constant period synchronized with data at the beginning of the frame from an encoding unit (not shown) that generates input data, and switches to a time 180 degrees off from the frame break. It consists of a time counting circuit 13 that outputs a signal. This switching signal is applied to the first and second buffer memories 2 and 3, the output data switching circuit 4, the first and second address switching circuits 8 and 11, the write counting circuit 7, and the reading counting circuit lO. The state of the connected circuit is determined by the output level as shown in the table of FIG. 3, for example. Here, the inverter 14 is provided so that the two buffer memory circuits 2.3 are not in the same state.
次に、第2図を参照して動作を説明する。第2図は第1
図のタイミングチャートである。端子1から入力データ
aが入力されると同時に、端子6からはデータに同期し
たクロック%Cが入力され、書込み計数回路7では書込
みアドレスが作られる。Next, the operation will be explained with reference to FIG. Figure 2 is the first
3 is a timing chart of the figure. At the same time that input data a is input from terminal 1, a clock %C synchronized with the data is input from terminal 6, and a write address is generated in write counter circuit 7.
時間計数回路13の出力レベルはLowであるから、第
3図の表から、入力データは第2のバッファメモリ3に
書込まれる(第2図e)。この間、第1のバッファメモ
リ2からは、1つ前のフレーム単位時間T内に書込まれ
たデータが読出され(第2図f)、端子5から出力され
ている(第2図k)。第2のバッファメモリ3へ入力デ
ータの書込みがはじまってから、あるいは第1のバッフ
ァメモリ2からデータの読出しがはじまってから1時間
後、時間計数回路13の出力レベルが反転し、Hi g
hになると、今度は第1のバッファメモリ2へ入力デ
ータが書込まれ(第2図d)、第2のバッファメモリ3
から先程書込まれたデータが読出される(第2図g)。Since the output level of the time counting circuit 13 is Low, the input data is written to the second buffer memory 3 from the table of FIG. 3 (FIG. 2e). During this time, the data written in the previous frame unit time T is read from the first buffer memory 2 (FIG. 2 f), and is output from the terminal 5 (FIG. 2 k). One hour after the writing of input data to the second buffer memory 3 starts, or after the start of reading data from the first buffer memory 2, the output level of the time counting circuit 13 is inverted and becomes High.
When h is reached, the input data is written to the first buffer memory 2 (Fig. 2 d), and the input data is written to the second buffer memory 3.
The previously written data is read out from (FIG. 2g).
ここで問題なのは時間計数回路13の切替信号出力タイ
ミングで、第2図すに示すように、第2図aaのフレー
ムの切れ目から1/2T時間ずれた時点で出力している
。この位相は時間計数回路13に設けられた遅延回路に
より与えられているが、この1/2T時間のずれが特に
有効なのは符号化部で駒落しが発生した場合で、その時
の動作について説明する。第2図aで斜線部が駒落しさ
れた部分である。駒落しが発生すると、符号化部からの
データ供給は行われず、したがって書込みクロックCも
入力されない。The problem here is the timing at which the time counting circuit 13 outputs the switching signal; as shown in FIG. 2, the switching signal is output at a time 1/2T time after the frame break in FIG. 2 aa. This phase is given by a delay circuit provided in the time counting circuit 13, but this 1/2T time shift is particularly effective when a frame drop occurs in the encoding section, and the operation at that time will be explained. In FIG. 2a, the shaded area is the part where the frame has been omitted. When a frame drop occurs, no data is supplied from the encoding section, and therefore no write clock C is input.
ここで、バッファメモリの切替をフレームの切れ目で行
った場合、駒落しされたフレームにおいて、データは書
込まれず、2つのバッファメモリ2゜3間でデータ量の
不均衡が生じ、その結果データ量の平滑化を防げてしま
う。さらに一般的に駒落明のようにフレームの切れ目か
ら1/2T時間ずれた時点でバッファメモリの切替を行
えば、駒落しされたフレームの前後半フレーム単位時間
内のデータがバッファメモリに書込まれ、不均衡が小さ
くなる。第2図においては、駒落しされるフレームの前
後半フレーム単位時間内に行われるデータ供給スピード
が、その他のフレームの2倍である場合を示した。また
、符号化部から供給されるデータ量は単位フレーム時間
に対して一定であり、その量は単位フレーム時間内に伝
送路側からの読出しクロックにより読出し可能な数に等
しい。ここで、書込み計数回路7および読出し計数回路
10は、時間計数回路13からのリセット信号iにより
バッファメモリ切替と同時にリセット〔発明の効果〕
以上説明したように本発明は、2つのバッファメモリの
切替を画像フレームの区切りから1/2単位フレーム時
間ずれた時点で行うことにより、1フレーム内のデータ
を2つのバッファメモリに分割入力することができ、符
号化部で駒落しが発生した時にもデータ量の平滑化を計
ることができる効果がある。Here, if the buffer memory is switched at a frame break, no data will be written in the frame where the frame has been dropped, and an imbalance in the amount of data will occur between the two buffer memories 2 and 3, resulting in an increase in the amount of data. This prevents smoothing. Furthermore, generally speaking, if the buffer memory is switched at a point 1/2T time lag from the frame break, such as when a frame is dropped, the data in the frame unit time before and after the frame where the frame was dropped will be written to the buffer memory. less likely, and the imbalance will be smaller. FIG. 2 shows a case where the data supply speed performed within the frame unit time of the first and second half of the frame to be dropped is twice that of other frames. Further, the amount of data supplied from the encoding section is constant for a unit frame time, and the amount is equal to the number that can be read out by a read clock from the transmission line side within a unit frame time. Here, the write counting circuit 7 and the reading counting circuit 10 are reset at the same time as the buffer memory is switched by the reset signal i from the time counting circuit 13. [Effects of the Invention] As described above, the present invention is capable of switching between two buffer memories. By performing this at a point shifted by 1/2 frame time from the image frame separation, the data in one frame can be divided and input into two buffer memories, and even when a frame is dropped in the encoder, the data can be inputted. This has the effect of smoothing out the amount.
第1図は本発明の一実施例を説明するブロック図、第2
図は第1図の動作を説明するタイミングチャート、第3
図は時間計数回路の出力レベルによる各切替回路および
バッファメモリの状態を示す表である。
第1図において、
1.6,9.12・・・・・・入力端子、5・・・・・
・出力端子、2.3・・・・・・バッファメモリ、4・
・・・・・出力データ切換回路、8,11・・・・・・
アドレス切替回路、7・・・・・・書込み計数回路、1
0・・・・・・読出し計数回路、13・・・・・・時間
計数回路、14・・・・・・インバータ。
代理人 弁理士 内 原 音
♀1図
烟= 為・9屯 ≦旬 颯6 くFIG. 1 is a block diagram explaining one embodiment of the present invention, and FIG.
The figure shows a timing chart explaining the operation of figure 1, and figure 3.
The figure is a table showing the states of each switching circuit and buffer memory according to the output level of the time counting circuit. In Figure 1, 1.6, 9.12... input terminals, 5...
・Output terminal, 2.3...Buffer memory, 4.
...Output data switching circuit, 8, 11...
Address switching circuit, 7...Write counting circuit, 1
0...readout counting circuit, 13...time counting circuit, 14...inverter. Agent Patent Attorney Oto Uchihara ♀ 1 picture = 9 tons ≦ 6 pieces
Claims (1)
力するための2個のバッファメモリを有し、一方のバッ
ファメモリへデータを書込む間他方のバッファメモリか
らデータを読出し、これら書込み読出し動作を一定時間
ごとに切替えるバッファメモリ制御方式において、前記
データが画像を符号化したデータで、かつ前記一定時間
が画像の単位フレーム時間であって、前記2つのバッフ
ァメモリの切り替えを前記画像のフレームの区切りから
1/2単位フレーム時間ずれた時行うことを特徴とする
バッファメモリ制御方式。It has two buffer memories for temporarily storing data whose input speed is not constant and outputting it at a constant speed, and while writing data to one buffer memory, data is read from the other buffer memory, and these write/read operations are performed. In a buffer memory control method that switches at regular intervals, the data is encoded data of an image, and the fixed time is a unit frame time of the image, and the switching of the two buffer memories is performed at a frame break of the image. A buffer memory control method characterized in that the buffer memory control method is performed when there is a 1/2 unit frame time shift from .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP29706687A JPH01136281A (en) | 1987-11-24 | 1987-11-24 | Buffer memory control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP29706687A JPH01136281A (en) | 1987-11-24 | 1987-11-24 | Buffer memory control system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01136281A true JPH01136281A (en) | 1989-05-29 |
Family
ID=17841776
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP29706687A Pending JPH01136281A (en) | 1987-11-24 | 1987-11-24 | Buffer memory control system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01136281A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002210139A (en) * | 2001-01-24 | 2002-07-30 | Heiwa Corp | Game machine and game machine control program |
-
1987
- 1987-11-24 JP JP29706687A patent/JPH01136281A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002210139A (en) * | 2001-01-24 | 2002-07-30 | Heiwa Corp | Game machine and game machine control program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS5892160A (en) | Sampling frequency converter | |
JPH01136281A (en) | Buffer memory control system | |
JPH04115753A (en) | Elastic memory control circuit | |
JPS58179064A (en) | Frame memory device | |
JP2002101376A (en) | Line memory | |
JPS62194797A (en) | Multiple access time switch | |
KR950009772Y1 (en) | Data convert circuit | |
JPS63156291A (en) | Picture memory | |
JPH0447892A (en) | User data multiplexing system for picture coder | |
JP3384008B2 (en) | Image memory processing device | |
JPS62259133A (en) | Slip control system by delayed loading and unloading | |
JPS5939182A (en) | Frame memory circuit | |
JPS6236933A (en) | Frame phase correction circuit | |
JPS6081947A (en) | Buffer memory control system | |
JPS58184188A (en) | Reading and writting system of display data | |
JPS61153730A (en) | Data buffer device | |
JPH06195301A (en) | Data transfer method | |
JPH10262215A (en) | Moving image decoder | |
JPS61280194A (en) | Holding memory control system | |
JPH04284782A (en) | Variable length decoding system | |
JP2000156867A (en) | Data interpolation circuit | |
JPS6178236A (en) | Circuit for compressing digital signal | |
JPH0380643A (en) | Delay insertion removing system for transmission line signal | |
JPS60153272A (en) | Video effect device | |
JPH0757454A (en) | Fifo type memory |