JP2856433B2 - Video signal encoding device - Google Patents
Video signal encoding deviceInfo
- Publication number
- JP2856433B2 JP2856433B2 JP14489389A JP14489389A JP2856433B2 JP 2856433 B2 JP2856433 B2 JP 2856433B2 JP 14489389 A JP14489389 A JP 14489389A JP 14489389 A JP14489389 A JP 14489389A JP 2856433 B2 JP2856433 B2 JP 2856433B2
- Authority
- JP
- Japan
- Prior art keywords
- frame
- encoding
- signal
- supplied
- line
- 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 - Lifetime
Links
- 230000015654 memory Effects 0.000 claims description 72
- 230000005540 biological transmission Effects 0.000 claims description 10
- 238000010586 diagram Methods 0.000 description 6
- 238000000034 method Methods 0.000 description 6
- 230000006835 compression Effects 0.000 description 3
- 238000007906 compression Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000003111 delayed effect Effects 0.000 description 2
- 230000015556 catabolic process Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000006731 degradation reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は帯域圧縮技術を用いた動画像信号の符号化装
置に関する。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a moving picture signal encoding apparatus using a band compression technique.
従来の帯域圧縮技術を用いた動画像信号の符号化装置
の符号化方法として、たとえば電子通信学科画像工学研
究会資料、資料番号IE87−70の13頁から18頁に記載の
「32kbps〜1.5Mbpsカラービデオコーデック」などか知
られている。この符号化方法を簡単に示すと第7図のよ
うになる。符号化に当っては、フレーム内の全ての有意
ブロックについて符号化を行う。そして符号化したデー
タを一旦バッファメモリーに蓄えて、そのフレームの符
号化が終了した時点で、送信側バッファ内に蓄積されて
いるデータ量が、あらかじめ定められたスレッショルド
以下に減少するまでフレームコマ落としする方法が用い
られている。As a coding method of a moving picture signal coding apparatus using a conventional band compression technique, for example, the materials of the Institute of Electronics and Communication Department of Imaging Engineering, document number IE87-70, from page 13 to page 18 `` 32kbps ~ 1.5Mbps Also known as "color video codec". FIG. 7 briefly shows this encoding method. In encoding, encoding is performed for all significant blocks in the frame. Then, the encoded data is temporarily stored in the buffer memory, and when the encoding of the frame is completed, the frame frames are dropped until the amount of data accumulated in the transmission-side buffer decreases below a predetermined threshold. Is used.
上述した従来の同化像信号の符号化装置では、符号化
した信号を一旦大容量のバッファーメモリーに蓄えてか
ら、伝送路のクロックで徐々に読み出していたため、符
号化された信号がバッファーメモリーを通過するための
遅延時間が生じてしまい、テレビ電話などの双方向の動
画像通信においては、こちらの反応が相手に伝わり、相
手の反応がこちらに伝わるためには、符号化された信号
がバッファーメモリーを2度通過することになり、遅延
時間が倍に増えてしまい、その結果相手話者の反応が遅
くなってしまい、非常に不自然な感じであった。In the conventional assimilation image signal encoding apparatus described above, the encoded signal is temporarily stored in a large-capacity buffer memory, and then gradually read out by the clock of the transmission line, so that the encoded signal passes through the buffer memory. In bi-directional video communications such as videophones, this response is transmitted to the other party, and the other party's response is transmitted to the other party in order to transmit the encoded signal to the buffer memory. , Twice, and the delay time is doubled. As a result, the response of the other party is delayed, which is very unnatural.
本発明の動画像信号の符号化装置は、入力動画像信号
の画像フレームを毎フレーム蓄える第1又は第2の記憶
手段と、符号化実行信号が与えられた状態で、最も新し
い入力動画像信号を蓄えつつある前記第1の記憶手段
(又は第2の記憶手段)から、蓄えられている最も新し
い入力動画像信号の画像フレームを複数フレーム時間か
けて符号化し、そのフレームの符号化の終了と同時に前
記第2の記憶手段(又は第1の記憶手段)から、蓄えつ
つある最も新しい入力動画像信号の画像フレームを複数
フレーム時間かけて符号化し符号化データとして出力す
る符号化手段と、前記符号化手段からの符号化データを
一時的に蓄えた後に伝送路に出力し、さらに蓄られた前
記符号化データの量に応じて前記入力動画像信号の符号
化を指示する前記符号化実行信号を出力するラインメモ
リと、を有することを特徴とする。A moving picture signal encoding apparatus according to the present invention comprises: a first or second storage unit for storing an image frame of an input moving picture signal for each frame; From the first storage means (or the second storage means), which is storing the newest input video signal, encodes the image frame of the newest input video signal over a plurality of frame times, and terminates the encoding of the frame. At the same time, encoding means for encoding the most recently stored image frame of the input moving image signal from the second storage means (or the first storage means) over a plurality of frame times and outputting as encoded data, The encoded data from the encoding means is temporarily stored and then output to a transmission path, and further, the code instructing encoding of the input video signal in accordance with the amount of the encoded data stored. A line memory for outputting a run signal, and having a.
低ビットレートの動画像符号化では、高能率な符号化
を行い入力の動画像信号の数百から一千分の1の情報圧
縮を行っている。しかしながら、画面当りの符号化情報
量を数キロビット以下に低減することは非常に厳しく、
画面当りの情報量をさらに低減するには、非常に粗い符
号化パラメータを用いることになってしまい、その結果
符号化画像の画質劣化が著しく非常に見にくい画像にな
ってしまう。よって現在の低ビットレート動画像符号化
においては、入力動画像信号の全てのフレームの符号化
を行うのではなく、視覚的に見て不自然な感じを受けな
い程度にフレームを間引いて符号化を行なうことによっ
て、画質劣化が最小限に抑えられるようにフレーム当り
の情報量を確保している。In low bit rate video coding, highly efficient coding is performed to compress information of several hundred to one thousandth of an input video signal. However, reducing the amount of encoded information per screen to several kilobits or less is very severe.
In order to further reduce the amount of information per screen, a very coarse coding parameter is used, and as a result, the image quality of the coded image is significantly deteriorated, and the image becomes very difficult to see. Therefore, in the current low bit rate video coding, instead of coding all the frames of the input video signal, the coding is performed by thinning out the frames to such an extent that they do not seem visually unnatural. By doing so, the amount of information per frame is ensured so that image quality degradation is minimized.
本発明の動画像信号の符号化方法は、上述のフレーム
間引きによる時間を有効に活用し、nラインづつ徐々に
符号化を行う。本発明の符号化装置は第1図に示すよう
に、入力部分に2画面分のフレームメモリーを持ち、制
御部、符号器、可変長符号器及びラインメモリーにより
構成されている。第1図及び第2を参照しながら本発明
の符号化方法の説明をする。たとえば、第2図のF1フレ
ームの入力動画像信号を第1図のフレームメモリー1aに
書込むと同時に読み出しを開始して符号化を実行する。
この時の符号化の速度は、前述のとおりフレーム間引き
などによって高度な情報圧縮を行っていることを利用し
て、入力動画像信号のフレーム周期よりも長い周期で符
号化を実行する。入力動画像信号の速度よりも符号化の
速度が遅くなるためフレームメモリー1aの読み出しアド
レスが書込みアドレスを追越すことはない。そしてフレ
ームメモリー1aへの書込みは、入力動画像信号のF1フレ
ームが終了した時点で停止する。入力動画像信号が、F2
フレームに切替ると同時にフレームメモリー2aに入力動
画像信号の書込みを開始する。このときのフレームメモ
リーの読み出しは、フレームメモリー1aに蓄えられてい
るF1フレームが全て読み出されるまで継続される。従っ
て第2図に示すようにF1フレームの符号化が、F3フレー
ムの前半までかかったとするとフレームメモリー1aの読
み出しは、F3フレームの前半まで継続される。よってフ
レームメモリー2aはF2フレームが終了し、F3フレームが
開始されるとF2フレームの時に蓄えた動画像信号を破棄
して、F3フレームの動画像信号の書込みを開始する。F3
フレームの符号化は、F1フレームの符号化が終了すると
フレームメモリー1aからの読み出しがフレームメモリー
2aに切替えられ、フレームメモリー2aに蓄えつつあるF3
フレームの符号化を開始する。このフレームメモリー1
a,2aの書込み読み出しの制御は、制御部3aの指示によっ
て行われる。制御部3aは、前述のような書込み読み出し
の制御を行うが、読み出し制御に関しては、ラインメモ
リー9aから与えられる符号化実行信号が、符号化の実行
を示しているときにフレームメモリー1aあるいはフレー
ムメモリー2aに対して読み出しの指示を与える。また符
号化実行信号は、符号器8aにも与えられ符号化の実行停
止が行われる。従ってフレームメモリーの読み出し制御
と符号器8aの符号化動作は同期して行われる。よってフ
レームメモリーの読み出しを行っているときに符号化が
実行され、フレームメモリーの読み出しを停止している
ときには符号化も停止させる。このようにして徐々に符
号化を進めて行く。可変長符号器8bは、ハフマン符号な
どの能率の良い符号を用いて符号化データの冗長度をさ
らに低減する。そして可変長符号化されたデータは、ラ
インメモリー9aに一旦蓄えられて伝送路クロックにより
読み出され、伝送路に供給される。この時のラインメモ
リー9aに蓄えられているデータ量が、定められた閾値よ
りも少ないときにのみ符号化の実行を示す符号化実行信
号を、制御部及び符号器に与える。以上説明したよう
に、2画面分のフレームメモリー1a,2aを符号器8aの前
に置き、入力の動画像信号を毎フレームいずれかのフレ
ームメモリーに書込み、符号化開始時点でいずれかのフ
レームメモリーに蓄えられている最新のフレームの動画
像信号を出力のラインメモリー9aに蓄えられている符号
化済みのデータの量に応じて符号化の実行、停止を行っ
て少しづつ徐々に符号化し、そのフレームの符号化が終
了すると同時にフレームメモリーの読み出しをもう一方
に切替、切替えられたフレームメモリーに蓄えられてい
るその時点で最新のフレームの動画像信号を符号化す
る。そして小容量のラインメモリー9aによって、符号化
の速度と伝送路の速度の整合をとれば、符号化されたデ
ータがバッファーメモリーの中を通過する時間が少なく
なり、符号化画像の遅延を少なくすることができる。ま
た、入力信号のフレームのタイミングに非同期で符号化
を行っているので、あるフレームの符号化が終了すると
すぐに次のフレームの符号化を開始することができ、バ
ッファーメモリーのアンダーフロー防止とダミー信号を
出力する必要がなくなる。よって符号化の効率も向上す
る。The moving picture signal encoding method of the present invention effectively utilizes the time obtained by the above-described frame thinning, and gradually encodes every n lines. As shown in FIG. 1, the encoding device of the present invention has a frame memory for two screens in an input portion, and is composed of a control unit, an encoder, a variable length encoder, and a line memory. The encoding method of the present invention will be described with reference to FIGS. For example, the input moving image signal of the F1 frame shown in FIG. 2 is written into the frame memory 1a shown in FIG.
As for the encoding speed at this time, the encoding is executed at a period longer than the frame period of the input moving image signal by utilizing the fact that advanced information compression is performed by frame thinning or the like as described above. Since the encoding speed is lower than the speed of the input moving image signal, the read address of the frame memory 1a does not pass the write address. Then, the writing to the frame memory 1a stops when the F1 frame of the input moving image signal ends. If the input video signal is F2
At the same time as switching to the frame, writing of the input moving image signal to the frame memory 2a is started. The reading of the frame memory at this time is continued until all the F1 frames stored in the frame memory 1a are read. Therefore, as shown in FIG. 2, if the encoding of the F1 frame takes up to the first half of the F3 frame, the reading of the frame memory 1a is continued to the first half of the F3 frame. Therefore, when the F2 frame ends and the F3 frame starts, the frame memory 2a discards the moving image signal stored at the time of the F2 frame and starts writing the moving image signal of the F3 frame. F3
When the encoding of the F1 frame is completed, the reading from the frame memory 1a is performed in the frame memory.
F3 being switched to 2a and being stored in frame memory 2a
Start encoding the frame. This frame memory 1
The control of writing and reading of a and 2a is performed according to an instruction of the control unit 3a. The control unit 3a performs the above-described write / read control. Regarding read control, when the encoding execution signal given from the line memory 9a indicates that encoding is to be executed, the frame memory 1a or the frame memory 1a is controlled. A read instruction is given to 2a. The encoding execution signal is also supplied to the encoder 8a, and the execution of the encoding is stopped. Therefore, the reading control of the frame memory and the encoding operation of the encoder 8a are performed in synchronization. Therefore, the encoding is performed when reading out the frame memory, and the encoding is also stopped when reading out the frame memory is stopped. In this way, the coding is gradually advanced. The variable-length encoder 8b further reduces the redundancy of the encoded data by using an efficient code such as a Huffman code. Then, the variable-length encoded data is temporarily stored in the line memory 9a, read out by the transmission line clock, and supplied to the transmission line. Only when the amount of data stored in the line memory 9a at this time is smaller than a predetermined threshold, an encoding execution signal indicating the execution of encoding is given to the control unit and the encoder. As described above, the frame memories 1a and 2a for two screens are placed in front of the encoder 8a, and the input moving image signal is written into any one of the frame memories for each frame. In accordance with the amount of encoded data stored in the output line memory 9a, the moving image signal of the latest frame stored in When the encoding of the frame is completed, the reading of the frame memory is switched to the other, and the moving image signal of the latest frame stored in the switched frame memory at that time is encoded. If the encoding speed and the transmission line speed are matched by the small-capacity line memory 9a, the time required for the encoded data to pass through the buffer memory is reduced, and the delay of the encoded image is reduced. be able to. Also, since encoding is performed asynchronously with the timing of the frame of the input signal, encoding of the next frame can be started immediately after encoding of one frame is completed. There is no need to output a signal. Therefore, the coding efficiency is also improved.
次に、本発明について図面を参照して説明する。本発
明の実施例を第3図、第4図、第5図および第6図を参
照して説明する。Next, the present invention will be described with reference to the drawings. An embodiment of the present invention will be described with reference to FIG. 3, FIG. 4, FIG. 5, and FIG.
第3図において、入力動画像信号は、線100を介して
フレームメモリー1,2および符号化制御回路3に供給さ
れる。フレームメモリー1は、符号化制御回路3から線
310を介して供給されるアドレス信号で示されるアドレ
スに、線311を介して供給される書込み制御信号が1の
ときに、線100を介して供給された入力動画像信号を蓄
える。フレームメモリー2もフレームメモリー1と同様
に、符号化制御回路3から線310を介して供給されるア
ドレス信号で示されるアドレスに、線320を介して供給
される書込み制御信号が1のときに、線100を介して供
給された入力動画像信号を蓄える。フレームメモリー1
に蓄えられた入力動画像信号は、符号化制御回路3から
線312を介して供給される読み出し制御信号が1のとき
に読み出される。フレームメモリー1から読み出された
動画像信号は、線140を介して減算器4に供給される。
フレームメモリー2に蓄えられた入力動画像信号は、符
号化制御回路3から線321を介して供給される読み出し
制御信号が1のとき読み出される。フレームメモリー2
の読み出しは、フレームメモリー1の読み出しが終了し
てから実行される。フレームメモリー2から読み出され
た動画像信号は、線140を介して減算器4に供給され
る。In FIG. 3, an input video signal is supplied to the frame memories 1 and 2 and the encoding control circuit 3 via a line 100. The frame memory 1 has a line from the encoding control circuit 3.
When the write control signal supplied via the line 311 is 1, the input video signal supplied via the line 100 is stored at the address indicated by the address signal supplied via the 310. Similarly to the frame memory 1, when the write control signal supplied via the line 320 is at the address indicated by the address signal supplied via the line 310 from the encoding control circuit 3, The input video signal supplied via the line 100 is stored. Frame memory 1
Is read when the read control signal supplied from the encoding control circuit 3 via the line 312 is "1". The moving image signal read from the frame memory 1 is supplied to the subtractor 4 via a line 140.
The input moving image signal stored in the frame memory 2 is read when the read control signal supplied from the encoding control circuit 3 via the line 321 is 1. Frame memory 2
Is executed after the reading of the frame memory 1 is completed. The moving image signal read from the frame memory 2 is supplied to the subtractor 4 via a line 140.
つぎに第4図を参照しながら符号化制御回路3につい
て説明する。線100を介して入力動画像信号が同期分離
器30に供給される。同期分離器30は、入力の動画像信号
から同期を分離し、分離した同期を基準にフレームパル
ス、クロックパルス及びクロックパルスの2倍の速度の
切替信号を生成する。同期分離器30で生成されたクロッ
クパルスは、線3031を介して書込みカウンタ及び読み出
しカウンタに供給さる。また、同期分離器30で生成され
たフレームパルスは、線3034を介して書込みカウンタ31
と書込み読み出し制御部34に供給される。さらに同期分
離器30で生成された切替信号は、切換器33に供給され
る。書込みカウンタ31は、同期分離器30から供給された
フレームパルスの先頭でカウンタの値をリセットし、同
期分離器30から供給されたクロックに従ってカウントア
ップする。書込みカウンタ31で発生した書込みアドレス
信号は、切換器33に供給される。読み出しカウンタ32
は、線93を介して供給される符号化実行信号が、符号化
の実行を示しているときのみ同期分離器30から供給され
たクロックに従ってカウントアップする。また、読み出
しカウンタ32は、書込み読み出し制御部34から線3432を
介して供給されるリセット信号によってカウンタの値を
リセットする。読み出しカウンタ32で発生した読み出し
アドレス信号は、切換器33と書込み読み出し制御部34に
供給される。切換器33は、書込みカウンタ31と読み出し
カウンタ32から供給されたアドレス信号を、同期分離器
30から供給された切替信号に従ってアドレス信号の切替
を行う。切換器33の出力の書込み読み出しのアドレスが
多重化された信号は、線310を介してフレームメモリー
1,2に供給される。Next, the encoding control circuit 3 will be described with reference to FIG. An input video signal is supplied to the sync separator 30 via a line 100. The synchronization separator 30 separates synchronization from the input moving image signal, and generates a frame pulse, a clock pulse, and a switching signal twice as fast as the clock pulse based on the separated synchronization. The clock pulse generated by the sync separator 30 is supplied to a write counter and a read counter via a line 3031. The frame pulse generated by the sync separator 30 is supplied to the write counter 31 via a line 3034.
Is supplied to the write / read controller 34. Further, the switching signal generated by the sync separator 30 is supplied to the switch 33. The write counter 31 resets the counter value at the beginning of the frame pulse supplied from the sync separator 30 and counts up according to the clock supplied from the sync separator 30. The write address signal generated by the write counter 31 is supplied to the switch 33. Read counter 32
Counts up in accordance with the clock supplied from the sync separator 30 only when the encoding execution signal supplied via the line 93 indicates the execution of encoding. Further, the read counter 32 resets the value of the counter by a reset signal supplied from the write / read control unit 34 via the line 3432. The read address signal generated by the read counter 32 is supplied to the switch 33 and the write / read controller 34. The switch 33 converts the address signals supplied from the write counter 31 and the read counter 32 into a synchronous separator.
The switching of the address signal is performed according to the switching signal supplied from 30. The multiplexed signal of the write / read address of the output of the switch 33 is sent to the frame memory via a line 310.
Supplied to 1,2.
次に第5図、第6図を参照しながら書込み読み出し制
御部34について説明する。第5図の線3234を介して読み
出しアドレス信号が判定器340に供給される。判定器340
は、1画面の符号化画素数がN画素であるとするとNの
値を検出してリセットパルスを発生する。例えば第6図
の3432の時刻t1、t2、t3、t4のそれぞれの時刻で、それ
ぞれの画面の符号化を終了したとする。そうすると判定
器340の出力のリセットパルスは、時刻t1、t2、t3、t4
のそれぞれの時刻に発生する。判定器340の出力のリセ
ットパルスは、Dタイプフリップフロップ341と線3432
を介して読み出しカウンタ32に供給される。Dタイプフ
リップフロップ341は、Q出力と出力があり出力を
D入力に接続することにより判定器340からリセット信
号が供給される毎にDタイプフリップフロップの出力が
反転する。すなわちフレームメモリーの読み出しが終了
する毎にDタイプフリップフロップの出力が反転し、第
6図の312、321に示すようになる。よってDタイプフリ
ップフロップの出力によりフレームメモリー1、2の読
み出しの制御を行うことができる。Dタイプフリップフ
ロップ341のQ出力の信号は、線312を介してフレームメ
モリー1に読み出し制御信号として供給される。Dタイ
プフリップフロップ341の出力の信号は、Dタイプフ
リップフロップ342のD入力と、線321を介してフレーム
メモリー2に読み出し制御信号として供給される。Dタ
イプフリップフロップ342は、Dタイプフリップフロッ
プ341から供給された信号を線3034を介して供給される
フレームパルスによって波形整形し、第6図の311、320
のようになる。Dタイプフリップフロップ342の出力
は、線311を介してフレームメモリー1の書込み制御信
号として供給される。Dタイプフリップフロップ342の
出力の信号は、線320を介してフレームメモリー2の
書込み制御信号として供給される。符号化制御回路3で
は、以上のようにして各種制御信号が発生される。第3
図に戻る。減算器4は、線140を介して供給された入力
の動画像信号とフレームメモリー7から供給される予測
信号との減算を行いフレーム間予測誤差信号を得る。減
算器4の出力の予測誤差信号は、量子化器5に供給され
る。量子化器5は、減算器4から供給された予測誤差信
号を量子化し、可変長符号器8と加算器6に供給する。
加算器6は、量子化器5から供給された量子化された予
測誤差信号とフレームメモリー7から供給される予測信
号とを加算し、局部復号信号を得る。加算器6の出力の
局部復号信号は、フレームメモリー7に供給される。フ
レームメモリー7は、線93を介して供給される符号化実
行信号が符号化の実行を示しているときのみ加算器6か
ら供給された局部復号信号を書込む。そして書込んだ局
部復号信号を1フレーム遅延させ、フレーム間予測信号
を得る。フレームメモリー7の出力のフレーム間予測信
号は、減算器4と加算器6に供給される。可変長符号器
8は、量子化器5から供給された量子化された予測誤差
信号を、ハフマン符号などの能率のよい符号を用いて可
変長符号化し、ラインメモリー9に供給する。ラインメ
モリー9は、可変長符号器8から供給された符号を一旦
蓄え、線91を介して供給される伝送路クロックに従って
読み出しを行い、伝送路の速度との整合を取る。そして
ラインメモリー9は、蓄えられている符号の量が定めら
れた量よりも少なくなると符号化実行を示す信号を出力
し、符号化により発生した符号がラインメモリー9に蓄
えられて、その量が定められた量を超えると符号化実行
を示す信号を止める。ラインメモリー9の出力信号は、
線90を介して伝送路に供給される。Next, the write / read control unit 34 will be described with reference to FIGS. A read address signal is supplied to the determiner 340 via a line 3234 in FIG. Judge 340
Assuming that the number of encoded pixels in one screen is N, the value of N is detected and a reset pulse is generated. For example, it is assumed that the encoding of each screen is completed at the respective times t1, t2, t3, and t4 of 3432 in FIG. Then, the reset pulse of the output of the determiner 340 becomes the time t1, t2, t3, t4
Occurs at each time. The reset pulse output from the decision unit 340 is connected to the D-type flip-flop 341 and the line 3432
Is supplied to the read counter 32 via the. The D-type flip-flop 341 has a Q output and an output. By connecting the output to the D input, the output of the D-type flip-flop is inverted every time a reset signal is supplied from the decision unit 340. That is, each time the reading of the frame memory is completed, the output of the D-type flip-flop is inverted, as shown by 312 and 321 in FIG. Therefore, reading of the frame memories 1 and 2 can be controlled by the output of the D-type flip-flop. The signal of the Q output of the D-type flip-flop 341 is supplied to the frame memory 1 via a line 312 as a read control signal. The signal at the output of the D-type flip-flop 341 is supplied to the frame memory 2 via the D input of the D-type flip-flop 342 and the line 321 as a read control signal. The D-type flip-flop 342 shapes the signal supplied from the D-type flip-flop 341 by a frame pulse supplied via a line 3034, and outputs the signals 311 and 320 in FIG.
become that way. The output of the D-type flip-flop 342 is supplied via a line 311 as a write control signal for the frame memory 1. The signal at the output of the D-type flip-flop 342 is supplied via a line 320 as a write control signal for the frame memory 2. The encoding control circuit 3 generates various control signals as described above. Third
Return to the figure. The subtractor 4 subtracts the input moving image signal supplied via the line 140 from the prediction signal supplied from the frame memory 7 to obtain an inter-frame prediction error signal. The prediction error signal output from the subtractor 4 is supplied to the quantizer 5. The quantizer 5 quantizes the prediction error signal supplied from the subtractor 4, and supplies the quantized prediction error signal to the variable length encoder 8 and the adder 6.
The adder 6 adds the quantized prediction error signal supplied from the quantizer 5 and the prediction signal supplied from the frame memory 7 to obtain a local decoded signal. The local decoded signal output from the adder 6 is supplied to a frame memory 7. The frame memory 7 writes the local decoded signal supplied from the adder 6 only when the encoding execution signal supplied via the line 93 indicates that encoding is performed. Then, the written local decoded signal is delayed by one frame to obtain an inter-frame prediction signal. The inter-frame prediction signal output from the frame memory 7 is supplied to the subtractor 4 and the adder 6. The variable-length encoder 8 performs variable-length encoding on the quantized prediction error signal supplied from the quantizer 5 using an efficient code such as a Huffman code, and supplies the encoded signal to the line memory 9. The line memory 9 temporarily stores the code supplied from the variable length encoder 8, reads out the code according to the transmission line clock supplied via the line 91, and matches the speed with the transmission line speed. When the amount of the stored code is smaller than the predetermined amount, the line memory 9 outputs a signal indicating the execution of the coding, and the code generated by the coding is stored in the line memory 9 and the amount is stored. When a predetermined amount is exceeded, the signal indicating the execution of encoding is stopped. The output signal of the line memory 9 is
It is supplied to the transmission line via line 90.
〔発明の効果〕 以上説明したように本発明は、2画面分のフレームメ
モリーを符号器の前に置き、入力の動画像信号を毎フレ
ームいずれかのフレームメモリーに書込み、符号化開始
時点でいずれかのフレームメモリーに蓄えられている最
新のフレームの動画像信号を出力のラインメモリーに蓄
えられている符号化済みのデータの量に応じて符号化の
実行、停止を小刻みに行って少しづつ符号化し、そのフ
レームの符号化が終了すると同時にフレームメモリーの
読み出しをもう一方に切替、切替えられたフレームメモ
リーに蓄えられているその時点で最新のフレームの動画
像信号を符号化する。そして小容量のラインメモリーに
よって、符号化の速度と伝送路の速度の整合をとれば、
符号化されたデータがバッファーメモリーの中を通過す
る時間が少なくなり、符号化画像の遅延を少なくするこ
とができる。また、入力信号のフレームのタイミングに
非同期で符号化を行っているので、あるフレームの符号
化が終了するとすぐに次のフレームの符号化を開始する
ことができ、バッファーメモリーのアンダーフロー防止
のダミー信号を出力する必要がなくなり、符号化の効率
も向上させることができる。[Effects of the Invention] As described above, in the present invention, a frame memory for two screens is placed in front of an encoder, an input moving image signal is written into one of the frame memories for each frame, and at the start of encoding, Performs and stops encoding the moving image signal of the latest frame stored in the frame memory in small increments according to the amount of encoded data stored in the output line memory. When the encoding of the frame is completed, the reading of the frame memory is switched to the other at the same time, and the moving picture signal of the latest frame stored in the switched frame memory at that time is encoded. If the speed of the encoding and the speed of the transmission line are matched by a small-capacity line memory,
The time required for the encoded data to pass through the buffer memory is reduced, and the delay of the encoded image can be reduced. In addition, since encoding is performed asynchronously with the timing of the frame of the input signal, encoding of the next frame can be started immediately after encoding of one frame is completed, and a dummy for preventing underflow in the buffer memory is provided. There is no need to output a signal, and coding efficiency can be improved.
第1図及び第2図は本発明の作用を説明するためのブロ
ック図及びタイミング図、第3図、第4図、第5図及び
第6図は本発明の一実施例を説明するためのブロック図
及びタイミング図、第7図は従来の動画像信号の符号化
装置の一例を示すブロック図である。 1,2,7…フレームメモリー、3…符号化制御回路、4…
減算器、5…量子化器、6…加算器、8…可変長符号
器、9…ラインメモリー、30…同期分離器、31…書込み
カウンタ、32…読み出しカウンタ、33…切換器、34…書
込み読み出し制御部、340…判定器、341、342…Dタイ
プフリップフロップ。FIGS. 1 and 2 are block diagrams and timing diagrams for explaining the operation of the present invention, and FIGS. 3, 4, 5 and 6 are diagrams for explaining an embodiment of the present invention. FIG. 7 is a block diagram and a timing diagram, and FIG. 7 is a block diagram showing an example of a conventional moving picture signal encoding apparatus. 1, 2, 7 ... frame memory, 3 ... encoding control circuit, 4 ...
Subtracter, 5 quantizer, 6 adder, 8 variable length encoder, 9 line memory, 30 sync separator, 31 write counter, 32 read counter, 33 switch, 34 write Read control unit, 340 ... determiner, 341, 342 ... D type flip-flop.
Claims (1)
ム蓄える第1又は第2の記憶手段と、 符号化実行信号が与えられた状態で、最も新しい入力動
画像信号を蓄えつつある前記第1の記憶手段(又は第2
の記憶手段)から、蓄えられている最も新しい入力動画
像信号の画像フレームを複数フレーム時間かけて符号化
し、そのフレームの符号化の終了と同時に前記第2の記
憶手段(又は第1の記憶手段)から、蓄えつつある最も
新しい入力動画像信号の画像フレームを複数フレーム時
間かけて符号化し符号化データとして出力する符号化手
段と、 前記符号化手段からの符号化データを一時的に蓄えた後
に伝送路に出力し、さらに蓄えられた前記符号化データ
の量に応じて前記入力動画像信号の符号化を指示する前
記符号化実行信号を出力するラインメモリと、 を有することを特徴とする動画像信号の符号化装置。1. A first or second storage means for storing an image frame of an input video signal for each frame, and the first storage means storing a newest input video signal when an encoding execution signal is given. Storage means (or second
From the storage means), the most recently stored image frame of the input moving image signal is encoded over a plurality of frame times, and simultaneously with the end of the encoding of the frame, the second storage means (or the first storage means) ), Encoding means for encoding the image frame of the newest input video signal that is being stored over a plurality of frame times and outputting it as encoded data, after temporarily storing the encoded data from the encoding means. A line memory that outputs to the transmission path, and further outputs the encoding execution signal that instructs the encoding of the input moving image signal in accordance with the amount of the encoded data that has been stored. Image signal encoding device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14489389A JP2856433B2 (en) | 1989-06-06 | 1989-06-06 | Video signal encoding device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14489389A JP2856433B2 (en) | 1989-06-06 | 1989-06-06 | Video signal encoding device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH039683A JPH039683A (en) | 1991-01-17 |
| JP2856433B2 true JP2856433B2 (en) | 1999-02-10 |
Family
ID=15372795
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP14489389A Expired - Lifetime JP2856433B2 (en) | 1989-06-06 | 1989-06-06 | Video signal encoding device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2856433B2 (en) |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62116087A (en) * | 1985-11-15 | 1987-05-27 | Mitsubishi Electric Corp | Animation picture transmitter |
| JPH0620306B2 (en) * | 1986-02-24 | 1994-03-16 | 三菱電機株式会社 | Image encoding / decoding device |
-
1989
- 1989-06-06 JP JP14489389A patent/JP2856433B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH039683A (en) | 1991-01-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2661738B2 (en) | Video coder | |
| JP2787599B2 (en) | Image signal coding control method | |
| JPH0620303B2 (en) | Refresh processing method in interframe coding method | |
| JP3022784B2 (en) | High-speed variable-length decoding device | |
| US5333137A (en) | Coding system having data controlling mechanism activated when error is detected | |
| KR20040003880A (en) | Shortening apparatus for delay time video codec | |
| US6256344B1 (en) | Variable bit rate encoder | |
| JP2856433B2 (en) | Video signal encoding device | |
| US6256420B1 (en) | Data transmission system | |
| JP3312597B2 (en) | Variable length coding method | |
| JPS62195987A (en) | Picture encoding and decoding device | |
| JPS5915438B2 (en) | Interframe encoding processing method | |
| JP3191856B2 (en) | Information storage output device | |
| JP3368164B2 (en) | Encoding / decoding system | |
| JP3071579B2 (en) | Encoding apparatus and decoding apparatus for two-screen multiplexed moving image | |
| JPS58150383A (en) | Inter-frame coding and decoding device for television | |
| JP2570802B2 (en) | Refresh method of video signal inter-frame coding / decoding device | |
| JP2661122B2 (en) | Inter-frame prediction coding / decoding device | |
| JP2935240B2 (en) | Variable length coding and variable length decoding | |
| JP4449694B2 (en) | Video predictive coding apparatus | |
| JPH0810933B2 (en) | Image coding transmission method | |
| JPS5997286A (en) | Coding system | |
| JPS58187089A (en) | Encoding and decoding system between frames | |
| JPH07121111B2 (en) | High efficiency code decoding device | |
| JPH07273739A (en) | Digital signal coding and multiplexing device |