JPH03129986A - Video signal transmitting equipment - Google Patents

Video signal transmitting equipment

Info

Publication number
JPH03129986A
JPH03129986A JP1267046A JP26704689A JPH03129986A JP H03129986 A JPH03129986 A JP H03129986A JP 1267046 A JP1267046 A JP 1267046A JP 26704689 A JP26704689 A JP 26704689A JP H03129986 A JPH03129986 A JP H03129986A
Authority
JP
Japan
Prior art keywords
data
frame
circuit
motion vector
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.)
Granted
Application number
JP1267046A
Other languages
Japanese (ja)
Other versions
JP2712645B2 (en
Inventor
Katsuji Igarashi
五十嵐 勝治
Yoichi Yagasaki
陽一 矢ケ崎
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.)
Sony Corp
Original Assignee
Sony Corp
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
Priority to JP26704689A priority Critical patent/JP2712645B2/en
Application filed by Sony Corp filed Critical Sony Corp
Priority to EP96101179A priority patent/EP0715469B1/en
Priority to EP90311145A priority patent/EP0424026B1/en
Priority to EP96101178A priority patent/EP0713340B1/en
Priority to DE69033797T priority patent/DE69033797T2/en
Priority to DE69031107T priority patent/DE69031107T2/en
Priority to DE69033782T priority patent/DE69033782T2/en
Priority to AU64581/90A priority patent/AU6458190A/en
Priority to US07/596,491 priority patent/US5132792A/en
Publication of JPH03129986A publication Critical patent/JPH03129986A/en
Priority to US08/277,143 priority patent/USRE37222E1/en
Application granted granted Critical
Publication of JP2712645B2 publication Critical patent/JP2712645B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To efficiently transmit a video signal by converting the moving vector of plural frames into the moving vector of one frame to transmit the obtained vector in the case of transmitting the moving vector of a prescribed frame separated from a reference frame by plural frames. CONSTITUTION:In the case of detecting a moving vector MV3P from the reference frame A0, executing intra-frame coding processing using the vector MV3P and transmitting a video signal B3, the moving vector MV3P of a frame B3 separated from the reference frame A0 by plural frames is converted into the moving vector of one frame from the reference frame A0 up to the frame B3 separated from the frame A0 by plural frames, the optimizing processing of the converted moving vector is executed and the processed result is transmitted. Consequently, the partial deterioration of picture quality can be suppressed and the video signal can be highly efficiently transmitted.

Description

【発明の詳細な説明】 以下の順序で本発明を説明する。[Detailed description of the invention] The present invention will be explained in the following order.

A産業上の利用分野 B発明の概要 C従来の技術 り発明が解決しようとする問題点(第19図及び第20
図) E問題点を解決するための手段(第15図及び第16図
) 1作用(第15図及び第16図) G実施例(第1図〜第18図) (G1)映像信伝送の原理(第1図及び第2図)(G2
)実施例の構成 (G2−1)送信装置の構成(第3図)(G2−2)動
きベクトル検出回路(第4図〜第9図)(G2−3)ラ
ンレングスハフマン?’f号化回路(IR10図〜第1
6図) (G2−4)受信装置の構成(第17図及び第18図)
(G3)実施例の動作 (64)実施例の効果 (G5)他の実施例 H発明の効果 A産業上の利用分野 本発明は映像信号伝送装置に関し、特に動画映像信号を
高能率符号化処理して伝送する場合に適用して好適なも
のである。
A. Industrial field of application B. Outline of the invention C. Conventional technology Problems to be solved by the invention (Figures 19 and 20)
Figure) Means for solving problem E (Figures 15 and 16) 1 Effect (Figures 15 and 16) Example G (Figures 1 to 18) (G1) Video signal transmission Principle (Figures 1 and 2) (G2
) Configuration of the embodiment (G2-1) Configuration of transmitter (Figure 3) (G2-2) Motion vector detection circuit (Figures 4 to 9) (G2-3) Run length Huffman? 'f coding circuit (IR10 diagram - 1st
(Figure 6) (G2-4) Configuration of receiving device (Figures 17 and 18)
(G3) Operation of the embodiment (64) Effects of the embodiment (G5) Other embodiments H Effects of the invention A Industrial application field The present invention relates to a video signal transmission device, and in particular to highly efficient encoding processing of moving video signals. This is suitable for application when transmitting data.

B発明の概要 本発明は、映像信号伝送装置において、基準フレームか
ら複数フレーム離れた所定フレームの動きベクトルを伝
送する際に、1フレ一ム分の動きベクトルに換算して伝
送することにより、効率的に映像信号を伝送することが
できる。
B. Summary of the Invention The present invention improves efficiency by converting a motion vector of a predetermined frame a plurality of frames away from a reference frame into a motion vector for one frame and transmitting the motion vector in a video signal transmission device. video signals can be transmitted.

C従来の技術 従来、例えばテレビ会議システム、テレビ電話システム
などのように動画映像でなる映像信号を遠隔地に伝送す
るいわゆる動画映像通信システムにおいては、伝送路の
伝送容量を効率良く利用するため、映像信号のフレーム
間相関を利用するようになされ、これにより有意情報の
伝送効率を高めるようになされている。
C. Prior Art Conventionally, in so-called video communication systems that transmit video signals consisting of video images to remote locations, such as video conference systems and video telephone systems, in order to efficiently utilize the transmission capacity of the transmission line, The inter-frame correlation of the video signal is utilized, thereby increasing the transmission efficiency of significant information.

すなわち送信装置側においては、フレーム間で動きベク
トルを検出し、当該動きベクトルで再現されるフレーム
画像と元フレーム画像の偏差データを、動きベクトルと
共に伝送する。
That is, on the transmitting device side, a motion vector is detected between frames, and deviation data between a frame image reproduced using the motion vector and the original frame image is transmitted together with the motion vector.

受信装置においては、動きベクトル検出の基準となった
フレーム画像(以下基準フレームと呼ぶ)を動きベクト
ルの分だけ変位させた後、伝送された偏差データを加算
することにより元フレーム画像を再現する。
The receiving device reproduces the original frame image by displacing the frame image (hereinafter referred to as the reference frame) that is the reference for motion vector detection by the amount of the motion vector, and then adding the transmitted deviation data.

このようにすれば、映像信号においては、フレーム間で
相関があることから、元のフレーム画像を直接伝送する
場合に比して、伝送効率を格段的に向上し得る。
In this way, since there is a correlation between frames in the video signal, the transmission efficiency can be significantly improved compared to the case where the original frame image is directly transmitted.

D発明が解決しようとする問題点 ところでこのようにして動きベクトルを検出して映像信
号を伝送する場合、動きベクトル検出の基準となったフ
レーム画像を伝送する必要があることから、この場合例
えば第19図に示すような伝送手順でフレーム画像を伝
送する方法が考えられる。
D Problems to be Solved by the Invention By the way, when detecting a motion vector and transmitting a video signal in this way, it is necessary to transmit the frame image that is the reference for motion vector detection. A method of transmitting frame images using a transmission procedure as shown in FIG. 19 can be considered.

すなわち1つの基準となるフレーム画aFMを例えばフ
レーム内符号化処理して伝送する。
That is, one reference frame image aFM is subjected to, for example, intraframe encoding processing and transmitted.

これに対してフレーム画像FMから連続するフレーム画
像F1、F2、F3・・・・・・においては、その直前
のフレーム画像FM、、Fl、F2・・・・・・を基準
フレームに設定して動きベクトルV、、V□、■、・・
・・・・及び偏差データを伝達する。
On the other hand, for frame images F1, F2, F3, etc. that are continuous from frame image FM, the immediately preceding frame images FM, Fl, F2, and so on are set as the reference frame. Motion vector V,, V□, ■,...
...and transmit deviation data.

このようにすれば、フレーム画像FMからフレーム画像
F1を再現した後、その再現されたフレーム画像F1を
基準にして続くフレーム画像F2を再現し得、順次連続
するフレーム画像を高能率で伝送し得る。
In this way, after the frame image F1 is reproduced from the frame image FM, the subsequent frame image F2 can be reproduced based on the reproduced frame image F1, and successive frame images can be transmitted with high efficiency. .

ことろがこの方法の場合、直前のフレーム画像を基準に
して続くフレーム画像を再現することから、−長伝送エ
ラーが発生すると、そのエラーが続くフレーム画像に伝
搬する。
In this method, the next frame image is reproduced based on the immediately previous frame image, so if a -long transmission error occurs, the error propagates to the subsequent frame image.

このため例えば第20図に示すような伝送手順が考えら
れる。
For this reason, for example, a transmission procedure as shown in FIG. 20 can be considered.

すなわち所定フレーム毎に、フレーム画像FMをフレー
ム内符号化処理して伝送する。
That is, for each predetermined frame, the frame image FM is subjected to intra-frame encoding processing and transmitted.

さらにフレーム画像FM及び続いてフレーム内符号化処
理して伝送するフレーム画像間のフレーム画像Fl、F
2、F3・・・・・・においては、フレーム画像FMI
を基準にして動きベクトル及び偏差データを伝送する。
Furthermore, the frame image FM and the frame images Fl, F between the frame images to be subsequently subjected to intra-frame encoding processing and transmitted.
2. In F3..., frame image FMI
The motion vector and deviation data are transmitted based on the .

このようにすれば、エラー伝搬を防止し得、画質劣化を
有効に回避し得る。
In this way, error propagation can be prevented and image quality deterioration can be effectively avoided.

ところがこの方法の場合、例えばフレーム画像FM及び
11間で、±7画素の範囲で動きベクトルV1を検出す
ると、フレーム画像FM及び続くフレーム画像F2間で
は、最大で±14画素の範囲で動きベクトル■2と検出
する必要がある。
However, in this method, if the motion vector V1 is detected within a range of ±7 pixels between frame images FM and 11, for example, the motion vector V1 is detected within a range of ±14 pixels at maximum between frame image FM and the following frame image F2. It is necessary to detect 2.

さらにフレーム画像FM及び13間では、最大±21画
素の範囲で動きベクトルv3を検出する必要があり、そ
の分伝送する動きベクトルのコード長が増大する問題が
ある。
Furthermore, between frame images FM and FM 13, it is necessary to detect motion vector v3 within a range of ±21 pixels at most, and there is a problem that the code length of the motion vector to be transmitted increases accordingly.

この問題を解決する1つの方法として、動きベクトルを
伝送する際に、出現確率の高い値程コード長が短くなる
ように動きベクトルを符号化処理して伝送する方法(す
なわち最適化処理でなる)が考えられる。
One method to solve this problem is to encode the motion vector so that the code length becomes shorter for a value with a higher probability of occurrence when transmitting the motion vector (i.e., by optimization processing). is possible.

ところが、このようにそれぞれ1フレーム、2フレーム
・・・・・・間の動きベクトルを伝送する場合、動きベ
クトルの値においては、出現確率がそれぞれ異なること
から、簡易な構成で、全体としてデータ量が小さくなる
ように最適化処理し得ない問題があった。
However, when transmitting motion vectors between one frame, two frames, etc., each motion vector value has a different probability of occurrence, so a simple configuration can reduce the overall amount of data. There was a problem that it was not possible to perform optimization processing to make the value smaller.

本発明は以上の点を考慮してなされたもので、複数フレ
ーム離れたフレーム間の動きベクトルを伝送する際に、
簡易な構成で動きベクトルを最適化して伝送することが
できる映像信号伝送装置を提案しようとするものである
The present invention has been made in consideration of the above points, and when transmitting motion vectors between frames separated by multiple frames,
This paper attempts to propose a video signal transmission device that can optimize and transmit motion vectors with a simple configuration.

E問題点を解決するためを手段 かかる問題点を解決するため本発明においては、所定の
基準フレームAOからの動きベクトルMV3Pを検出し
、動きベクトルMV3Pを用いて、フレーム間符号化処
理して映像信号VVN(B3)を伝送する映像信号伝送
袋W1において、基準フレームAOから複数フレーム3
離れたフレームB3の動きベクトルMV3Pを、基準フ
レームAOから複数フレーム3離れたフレームB3まで
の1フレ一ム分の動きベクトルDVIに換算し、最適化
処理して伝送する。
Means for Solving Problem E In order to solve this problem, the present invention detects a motion vector MV3P from a predetermined reference frame AO, and performs interframe coding processing using the motion vector MV3P to generate a video image. In the video signal transmission bag W1 that transmits the signal VVN (B3), a plurality of frames 3 from the reference frame AO
The motion vector MV3P of the distant frame B3 is converted into a motion vector DVI for one frame from the reference frame AO to the frame B3, which is a plurality of frames 3 distant, and is subjected to optimization processing and transmitted.

1作用 基準フレームAOから複数フレーム3離れたフレームB
3の動きベクトルMV3Pを、基準フレームAOから複
数フレーム3離れたフレームB3までの1フレ一ム分の
動きベクトルDVIに換算すれば、基準フレームAOに
隣接するフレームの動きベクトルと出現確率の等しいデ
ータに換算することができる。
Frame B is a plurality of frames 3 away from the action reference frame AO.
If the motion vector MV3P of No. 3 is converted into a motion vector DVI for one frame from the reference frame AO to frame B3, which is several frames away from the reference frame AO, the data has the same probability of appearance as the motion vector of the frame adjacent to the reference frame AO. It can be converted into .

従って、基準フレームAOに隣接するフレームの動きベ
クトルと同様のテーブルを用いて最適化して伝送し得、
その分簡易な構成で効率良く動きベクトルを伝送し得る
Therefore, motion vectors of frames adjacent to the reference frame AO can be optimized and transmitted using a table similar to that of frames adjacent to the reference frame AO.
Accordingly, motion vectors can be transmitted efficiently with a simple configuration.

G実施例 以下図面について、本発明の一実施例を詳述する。G example An embodiment of the present invention will be described in detail below with reference to the drawings.

(Gl)映像信号伝送の原理 本発明による映像信号符号化方法を映像信号伝送システ
ムに適用した場合、第1図に示すような手法で、映像信
号を伝送する。
(Gl) Principle of Video Signal Transmission When the video signal encoding method according to the present invention is applied to a video signal transmission system, the video signal is transmitted using the method shown in FIG.

すなわち送信装置は、順次フレームデータFO1Fl、
F2、F3・・・・・・の連続する映像信号DV  (
第1図(A))を所定フレーム群に分割して処理する。
That is, the transmitter sequentially transmits frame data FO1Fl,
Continuous video signal DV of F2, F3...
FIG. 1(A)) is divided into predetermined frame groups and processed.

すなわちこの実施例において、送信装置は、フレームデ
ータFO,Fl、F2、F3・・・・・・を6フレ一ム
単位のフレーム群に分割し、各フレーム群の先頭フレー
ムデータFO,,F6をフレーム内符号化処理して伝送
する。
That is, in this embodiment, the transmitting device divides the frame data FO, Fl, F2, F3, . Transmit after intraframe encoding processing.

ここでフレーム内符号化処理は、画像を例えば走査線方
向に沿って1次元的又は2次元的に隣合う画素データ間
の差分を求めるような圧縮処理を実行し、これにより各
画像についてデータ量を圧縮した伝送フレームデータを
形威する処理でなる。
Here, the intra-frame encoding process executes a compression process that calculates the difference between pixel data adjacent one-dimensionally or two-dimensionally along the scanning line direction, and thereby the amount of data for each image. This is a process that uses compressed transmission frame data.

従って受信装置においては、フレーム内符号化処理され
た伝送フレームデータについては、5咳1フレーム分の
伝送フレームデータを順次加算処理することにより、1
フレ一ム分のフレームデータを再現することができる。
Therefore, in the receiving device, regarding the transmission frame data that has been subjected to the intra-frame encoding process, by sequentially adding up the transmission frame data of 5 frames and 1 frame, 1
Frame data for one frame can be reproduced.

これに対して送信装置は、各フレーム群の先頭フレーム
データFO1F6以外のフレームデータFl、F2、F
3・・・・・・をフレーム間符号化処理して伝送する。
On the other hand, the transmitter transmits frame data Fl, F2, F other than the first frame data FO1F6 of each frame group.
3... are subjected to interframe coding processing and transmitted.

ここでフレーム間符号化処理は、始めに基準となる予測
フレームのフレームデータと符号化処理するフレームデ
ータとの間で動きベクトルを検出した後、動きベクトル
の分だけ3咳予測フレームのフレームデータを変位させ
たフレームデータ(以下予測結果のフレームデータと呼
ぶ)を形威し、当該予測結果のフレームデータと符号化
処理するフレームデータとの偏差データを、動きベクト
ルと共に符号化処理して伝送フレームデータを形成する
処理でなる。
Here, in the interframe encoding process, first a motion vector is detected between the frame data of the predicted frame serving as a reference and the frame data to be encoded, and then the frame data of 3 cough predicted frames is extracted by the amount of the motion vector. The displaced frame data (hereinafter referred to as prediction result frame data) is processed, and the deviation data between the prediction result frame data and the frame data to be encoded is encoded together with the motion vector to generate transmission frame data. It is the process of forming .

従って送信装置においては、各フレーム群の先頭フレー
ムデータFO,F6以外のフレームデータF1、F2、
F3・・・・・・について、所定の予測フレームに対し
てそれぞれ動きベクトルを検出し、フレーム間符号化処
理するようになされている。
Therefore, in the transmitter, frame data F1, F2, and other frame data other than the first frame data FO and F6 of each frame group
Regarding F3..., motion vectors are detected for each predetermined predicted frame, and interframe encoding processing is performed.

さらにこのとき送信装置においては、各フレームデータ
F1、F2、F3・・・・・・について、それぞれ2つ
の予測フレームが割り当てられるようになされ、各予測
フレームについて動きベクトルを検出する。
Further, at this time, in the transmitting device, two predicted frames are allocated to each of the frame data F1, F2, F3, . . . , and a motion vector is detected for each predicted frame.

さらに送信装置においては、検出された2つの動きベク
トルに基づいて、それぞれ予測フレームのフレームデー
タから予測結果のフレームデータを形成した後、2つの
予測結果のフレームデータを補間して補間予測結果のフ
レームデータを形成し、予測結果のフレームデータ及び
補間予測結果のフレームデータから偏差データのデータ
量が最も小さくなるフレームデータを選択してフレーム
間符号化処理するようになされている(すなわち選択予
測化処理でなり、以下符号化処理するフレームデータに
対して先行して人力されたフレームデータを予測フレー
ムとするものを前予測、符号化処理するフレームデータ
に対して後行して入力されたフレームデータを予測フレ
ームとするものを後予測、補間予測結果のフレームデー
タを用いるものを補間予測と呼ぶ)。
Furthermore, the transmitting device forms prediction result frame data from the frame data of each predicted frame based on the two detected motion vectors, and then interpolates the two prediction result frame data to create an interpolated prediction result frame. The data is formed, and the frame data with the smallest amount of deviation data is selected from the frame data of the prediction result and the frame data of the interpolated prediction result, and subjected to interframe encoding processing (i.e., selective prediction processing). Hereinafter, the frame data input manually before the frame data to be encoded is pre-predicted, and the frame data input after the frame data to be encoded is used as the predicted frame. A predicted frame is called post-prediction, and a prediction using frame data as a result of interpolation prediction is called interpolation prediction).

これにより送信装置は、伝送フレームデータのデータ量
が最も小さくなるように、選択的にフレーム間符号化処
理するようになされ、かくして伝送効率を向上して映像
信号を伝送するようになされている。
As a result, the transmitting device selectively performs interframe encoding processing to minimize the amount of transmitted frame data, thereby improving transmission efficiency and transmitting video signals.

さらに送信装置においては、フレーム間符号化処理する
際に、始めに各フレーム群の第4番目のフレームデータ
F3、F9について、その前後のフレームデータFO及
びF6、F6及びF12を予測フレームに設定してフレ
ーム間符号化処理した後(以下レベル1の処理と呼ぶ)
、続いて残りのフレームデータFl、F2、F4、F5
・・・・・・をその前後のフレームデータFO及びF3
、F3及びF6、・・・・・・を予測フレームに設定し
、フレーム間符号化処理する(以下レベル2の処理と呼
ぶ)。
Furthermore, when performing interframe encoding processing, the transmitter first sets the frame data FO, F6, F6, and F12 before and after the fourth frame data F3 and F9 of each frame group as predicted frames. After performing interframe encoding processing (hereinafter referred to as level 1 processing)
, followed by the remaining frame data Fl, F2, F4, F5
...... frame data FO and F3 before and after it
, F3 and F6, . . . are set as predicted frames and subjected to interframe encoding processing (hereinafter referred to as level 2 processing).

すなわちフレーム間符号化処理においては、フレーム内
符号化処理に比して伝送に供するデータ量を低減し得る
特徴があることから、映像信号を伝送する場合、フレー
ム間符号化処理するフレームデータを多くすれば、その
分映像信号全体として少ないデータ量で伝送することが
できる。
In other words, interframe encoding processing has the characteristic that the amount of data to be transmitted can be reduced compared to intraframe encoding processing, so when transmitting a video signal, more frame data is subjected to interframe encoding processing. Then, the video signal as a whole can be transmitted with a smaller amount of data.

ところがフレーム間符号化処理するフレームデータが増
加すると、その分基準となる予測フレームから、遠く離
れたフレームのフレームデータをフレーム間符号化処理
しなければならない。
However, as the amount of frame data to be subjected to interframe coding increases, frame data of frames further away from the reference predicted frame must be subjected to interframe coding.

従って、その分遠く離れたフレームデータ間で動きベク
トルを検出しなければならず、動きベクトルの検出処理
等が煩雑になり、特に選択予測化処理する場合、検出す
る動きベクトルが増加することから、送信装置の構成が
複雑化する。
Therefore, motion vectors must be detected between frame data that are separated by that much distance, making motion vector detection processing complicated, and especially when performing selective prediction processing, the number of motion vectors to be detected increases. The configuration of the transmitting device becomes complicated.

ところがこの実施例のように、フレームデータFO及び
F6を予測フレームに設定してフレームデータF3を、
始めにフレーム間符号化処理した後、当1亥フレームデ
ータF3及びフレームデータFO,F6を予測フレーム
に設定して、その間のフレームデータF1、F2、F4
、F5・・・・・・をフレーム間符号化処理すれば、比
較的近接したフレームデータ間で動きベクトルを検出す
ればよく、その分簡易な構成で効率良く映像信号を伝送
することができる。
However, as in this embodiment, frame data FO and F6 are set as predicted frames, and frame data F3 is
After first performing interframe encoding processing, the current frame data F3 and frame data FO, F6 are set as predicted frames, and the frame data F1, F2, F4 between them are
, F5, . . . , motion vectors need only be detected between comparatively close frame data, and the video signal can be efficiently transmitted with a correspondingly simple configuration.

かくしてレベル1のフレーム間符号化処理において、送
信装置は、フレーム群の先頭フレームデータFO及び続
くフレーム群の先頭フレームデータF6を、動きベクト
ル検出用の基準となる予測フレームに設定し、それぞれ
前予測及び後予測する。
Thus, in the level 1 interframe encoding process, the transmitting device sets the first frame data FO of the frame group and the first frame data F6 of the following frame group as predicted frames that serve as the reference for motion vector detection, and uses the previous prediction for each. and predict later.

すなわち送信装置は、当該フレームデータFO及びF6
と、第4番目のフレームデータF3との間で、それぞれ
前予測用及び後予測用の動きベクトルMV3P及びMV
3Nを検出した後(第1図(B))、動きベクトルMv
3P及びMv3Nの分だけ、予測フレームのフレームデ
ータFO及びF6を変位させて前予測用及び後予測用の
予測結果のフレームデータFP及びFNを形成する。
In other words, the transmitter transmits the frame data FO and F6.
and the fourth frame data F3, motion vectors MV3P and MV for forward prediction and backward prediction, respectively.
After detecting 3N (Fig. 1(B)), the motion vector Mv
The frame data FO and F6 of the predicted frame are displaced by 3P and Mv3N to form the frame data FP and FN of the prediction results for the previous prediction and the subsequent prediction.

続いて送信装置は、フレームデータFP及びFNを直線
補間して補間予測用の予測結果のフレームデータFPN
を形成する。
Next, the transmitting device linearly interpolates the frame data FP and FN to obtain frame data FPN as a prediction result for interpolation prediction.
form.

さらに送信装置は、フレームデータFP、FN及びFP
Nと、フレームデータF3の偏差データΔFP、ΔFN
及びΔFPNを得た後、当該偏差データΔFP、ΔFN
及びΔFPNから、データ量が最も小さい偏差データΔ
FP、ΔFN又はΔFPNを選択して、動きベクトルM
V3P及びMV3Nと共に、伝送フレームデータF3X
に変換する(第1図(D))。
Furthermore, the transmitting device transmits frame data FP, FN and FP.
N and deviation data ΔFP, ΔFN of frame data F3
After obtaining ΔFPN and ΔFPN, the deviation data ΔFP, ΔFN
and ΔFPN, the deviation data Δ with the smallest amount of data
Select FP, ΔFN or ΔFPN to calculate motion vector M
Along with V3P and MV3N, transmission frame data F3X
(Fig. 1 (D)).

かくして受信装置においては、フレーム内符号化処理し
て形成された伝送フレームデータFOX、F6Xから元
のフレームデータFO及びF6を再現した後、再現され
たフレームデータFO,,F6及び伝送フレームデータ
F3Xに基づいて、元のフレームデータF3を再現する
ことができる。
In this manner, the receiving device reproduces the original frame data FO and F6 from the transmission frame data FOX and F6X formed by intraframe encoding processing, and then reproduces the reproduced frame data FO, , F6 and transmission frame data F3X. Based on this, the original frame data F3 can be reproduced.

これに対して送信装置は、レベル2の処理において、各
フレーム群の第1番目及び第2番目のフレームデータF
1及びF2、F7及びF8、・・・・・・について、先
頭フレームデータFO,F6及び第4番目のフレームデ
ータF3、F9を予測フレームに設定し、それぞれ前予
測及び後予測する。
On the other hand, in level 2 processing, the transmitter transmits the first and second frame data F of each frame group.
1 and F2, F7 and F8, . . . , the first frame data FO and F6 and the fourth frame data F3 and F9 are set as predicted frames, and forward prediction and backward prediction are performed, respectively.

従って送信装置においては、フレームデータFO及びF
3に基づいて、動きベクトルMVIP及びMVIN、M
V2P及びMV2Nを検出した後(第1図(C))、当
該動きベクトルMVIP及びMVINSMV2P及びM
V2Nに基づイテ、それぞれ予測結果のフレームデータ
FP及びFNを形成すると共に、補間予測結果のフレー
ムデータFPNを形成する。
Therefore, in the transmitter, frame data FO and F
3, the motion vectors MVIP and MVIN,M
After detecting V2P and MV2N (FIG. 1(C)), the motion vectors MVIP and MVINSMV2P and M
Based on V2N, frame data FP and FN of prediction results are respectively formed, and frame data FPN of interpolation prediction results is formed.

さらにフレームデータFP、FN及びFPNに基づいて
、それぞれ偏差データΔFP、ΔFN及びΔFPNを得
た後、当該偏差データΔFP、ΔFN及びΔFPNから
、データ量が最も小さい偏差データΔFP、ΔFN又は
ΔFPNを選択して、動きベクトルMvIP及びMVI
N、MV2P及びMV2Nと共に、伝送フレームデータ
FIX及びF2Xに変換する。
Furthermore, after obtaining deviation data ΔFP, ΔFN, and ΔFPN based on the frame data FP, FN, and FPN, respectively, the deviation data ΔFP, ΔFN, or ΔFPN with the smallest amount of data is selected from the deviation data ΔFP, ΔFN, and ΔFPN. , motion vector MvIP and MVI
N, MV2P and MV2N are converted into transmission frame data FIX and F2X.

同様に、第5番目及び第6番目のフレームデータF4及
びF5、FIO及びFll、・・・・・・については、
第4番目のフレームデータF3及び続くフレーム群の先
頭フレームデータF6を予測フレームに設定し、それぞ
れ前予測及び後予測する。
Similarly, regarding the fifth and sixth frame data F4 and F5, FIO and Fll,...
The fourth frame data F3 and the first frame data F6 of the following frame group are set as predicted frames, and forward prediction and backward prediction are performed, respectively.

ここで、それぞれ動きベクトルMV4P及びMV4N、
MV5P及びMV5Nが検出されると、送信装置は動き
ベクトルMV4P及びMV4N、MV5P及びMV5N
に基づいて、それぞれ予測結果のフレームデータFP、
FN及びFPNを形成して偏差データΔFP、ΔFN及
びΔFPNを得た後、当該偏差データΔFP、ΔFN及
びΔFPNから、データ量が最も小さい偏差データΔF
P、ΔFN又はΔFPNを選択して、動きベクトルMv
4P及びMV4N、MV5P及びMV5Nと共に、伝送
フレームデータF4X及びF5Xに変換する。
Here, the motion vectors MV4P and MV4N, respectively,
When MV5P and MV5N are detected, the transmitting device detects motion vectors MV4P and MV4N, MV5P and MV5N.
Based on the prediction result frame data FP,
After forming FN and FPN to obtain deviation data ΔFP, ΔFN and ΔFPN, from the deviation data ΔFP, ΔFN and ΔFPN, the deviation data ΔF with the smallest amount of data is obtained.
Select P, ΔFN or ΔFPN to calculate the motion vector Mv
4P, MV4N, MV5P and MV5N are converted into transmission frame data F4X and F5X.

かくして、フレームデータを6フレ一ム単位に区切り、
フレーム内符号化処理及びフレーム間符号化処理を組み
合わせて伝送したことにより、フレーム内符号化処理し
て伝送したフレームデータFO,F6・・・・・・を再
現して、残りのフレームデータを順次再現し得、かくし
てエラーが発生しても、他のフレーム群へのエラー伝搬
を防止することができ、その分コンパクトディスク等に
適用して、高画質の映像信号を高い能率で伝送すること
ができる。
In this way, the frame data is divided into 6 frames,
By transmitting a combination of intra-frame encoding processing and inter-frame encoding processing, frame data FO, F6, etc. that were transmitted after intra-frame encoding processing are reproduced, and the remaining frame data are sequentially transmitted. Therefore, even if an error occurs, it is possible to prevent the error from propagating to other frame groups, which makes it possible to apply it to compact discs and the like to transmit high-quality video signals with high efficiency. can.

さらに逆転再生、ランダムアクセスしても、確実にフレ
ームデータを再現し得、その分画質劣化を有効に回避し
て、映像信号を高い能率で伝送することができる。
Furthermore, even with reverse playback and random access, frame data can be reliably reproduced, image quality deterioration can be effectively avoided, and video signals can be transmitted with high efficiency.

さらにこの実施例においては、各フレーム群の中で伝送
フレームデータFOX〜F5Xをフレーム内符号化処理
及びフレーム間符号化処理した順序で並べ替えて伝送す
るようになされ(第1図(E))、このとき各伝送フレ
ームデータFOX〜F5Xに、その予測フレームデータ
及びフレーム内符号化処理された伝送フレームデータを
表す識別データを付加して伝送するようになされている
Furthermore, in this embodiment, the transmission frame data FOX to F5X in each frame group are rearranged and transmitted in the order in which they are subjected to intra-frame encoding processing and inter-frame encoding processing (Fig. 1 (E)). At this time, each of the transmission frame data FOX to F5X is added with identification data representing the predicted frame data and the intraframe-encoded transmission frame data before being transmitted.

すなわちフレームデータF1、F2及びF4、F5にお
いては、符号化及び復号化のためにそれぞれ予測フレー
ムのフレームデータFOSF3及びF3、F6が必要に
なる。
That is, for frame data F1, F2, F4, and F5, frame data FOSF3, F3, and F6 of predicted frames are required for encoding and decoding, respectively.

これに対してフレームデータF3においては、符号化及
び復号化のために予測フレームのフレームデータFO1
F6が必要になる。
On the other hand, in frame data F3, frame data FO1 of the predicted frame is used for encoding and decoding.
F6 is required.

従って第2図に示すように、送信装置においては、フレ
ーム内符号化処理するフレームデータを記号Aで、レベ
ル1及び2で処理するフレームデータを記号B及びCで
表すと、伝送フレームデータDATA ((第2図(A
))を、フレームデータAO5B3、C1、C2、C4
、C5の順次で出力する。
Therefore, as shown in FIG. 2, in the transmitting device, if frame data to be intra-frame encoded is represented by symbol A, and frame data to be processed at levels 1 and 2 are represented by symbols B and C, transmission frame data DATA ( (Figure 2 (A
)), frame data AO5B3, C1, C2, C4
, C5 are output in sequence.

このとき送信装置は、伝送フレームデータと共に、前予
測、後予測、補間予測識別用の予測インデックスPIN
DEX、それぞれ前予測及び後予測の予測フレームを表
す前予測基準インデックスPID(第2図(B))及び
後予測基準インデックスNID (第2図(C))を伝
送するようになされ、これにより受信装置において簡易
に伝送フレームデータを復号し得るようになされている
At this time, the transmitting device sends a prediction index PIN for identifying the previous prediction, backward prediction, and interpolation prediction along with the transmission frame data.
DEX, the front prediction reference index PID (FIG. 2 (B)) and the rear prediction reference index NID (FIG. 2 (C)) representing the predicted frames of the front prediction and the rear prediction, respectively, are transmitted, and thereby the reception The device is designed to easily decode the transmitted frame data.

(G2)実施例の構成 (G2−1)送信装置の構成 第3図において、lは上述の映像信号伝送方法を適用し
てなる映像信号伝送システムの送信装置を示し、入力映
像信号VDINを高能率符号化して伝送フレームデータ
DATAに変換した後、コンパクトディスクに記録する
(G2) Configuration of Example (G2-1) Configuration of Transmitter In FIG. After efficiency encoding and conversion into transmission frame data DATA, the data is recorded on a compact disc.

送信装置1は、入力映像信号V D I Nを画像デー
タ入力部2に与え、ここで当該人力映像信号VD、Nを
構成する輝度信号及び色差信号をディジタル信号に変換
した後、データ量を174に低減する。
The transmitting device 1 supplies the input video signal V D I N to the image data input section 2 , where the luminance signal and color difference signal constituting the human video signal VD, N are converted into digital signals, and then the data amount is reduced to 174. Reduce to

すなわち画像データ入力部2は、ディジタル信号に変換
された輝度信号を片フィールド落し回路(図示せず)に
与えて1フ一ルド分削除した後、残り1フイ一ルド分の
輝度信号を1ラインおきに間引きする。
That is, the image data input unit 2 supplies the luminance signal converted into a digital signal to a one-field dropping circuit (not shown) to delete one field, and then outputs the luminance signal for the remaining one field into one line. Thin out every once in a while.

さらに画像データ人力部2は、ディジタル信号に変換さ
れた2つの色差信号を1フ一ルド分削除した後、lライ
ン毎に交互に選択出力する。
Further, the image data manual unit 2 deletes one field of the two color difference signals converted into digital signals, and then selectively outputs them alternately every l line.

さらに画像データ入力部2は、間引きされた輝度信号及
び選択出力される色差信号を時間軸変換回路を介して所
定の伝送レートのデータに変換する。
Further, the image data input section 2 converts the thinned luminance signal and the selectively outputted color difference signal into data at a predetermined transmission rate via a time axis conversion circuit.

これにより画像データ入力部2を介して、人力映像信号
VD、Hに予備的処理を施し、上述の順次フレームデー
タの連続する画像データDvを生成するようになされて
いる。
Thereby, the human video signals VD, H are subjected to preliminary processing via the image data input section 2, and the continuous image data Dv of the above-mentioned sequential frame data is generated.

並べ替回路4は、スタートパルス信号STが入力される
と、順次フレームデータAO,C1、C2、B3、C4
、C5、A6、C7、・・・・・・の順序で人力される
画像データDvを、6フレ一ム単位でフレーム群に分割
した後、符号化処理する順序AO2A6、B3、C1,
、C2、C4、C5、A】2、B9、C7、・・・・・
・に並べ替えて出力する。
When the start pulse signal ST is input, the rearrangement circuit 4 sequentially sorts the frame data AO, C1, C2, B3, C4.
, C5, A6, C7, . . . After dividing the image data Dv manually in the order of 6 frames into frame groups, the encoding processing order is AO2A6, B3, C1,
, C2, C4, C5, A]2, B9, C7,...
- Sort and output.

このように符号化処理する順序でフレームデータを並べ
替えて処理すれば、その分続くフレーム内符号化処理及
びフレーム間符号化処理を簡略化することができる。
By rearranging and processing frame data in the order of encoding processing in this manner, subsequent intraframe encoding processing and interframe encoding processing can be simplified accordingly.

さらに並べ替回路4は、エンドパルス信号ENDが立ち
上がると、その直前まで入力されたフレームデータまで
並べ替えした後、フレームデータの出力を停止する。
Furthermore, when the end pulse signal END rises, the rearrangement circuit 4 rearranges the frame data that was input just before that, and then stops outputting the frame data.

さらに並べ替回路4は、各フレーム群の先頭で信号レベ
ルが立ち上がるフレーム群インデックスGOF、前予測
基準インデックスPID、後予測基準インデックスNI
D及びフレーム群中におけるフレームデータの順序を表
すテンポラリインデックスTRを出力する。
Furthermore, the rearrangement circuit 4 includes a frame group index GOF, a pre-prediction reference index PID, and a post-prediction reference index NI whose signal level rises at the beginning of each frame group.
D and a temporary index TR representing the order of frame data in the frame group.

動きベクトル検出回路6は、並べ替えられた画像データ
D□を受け、各フレームデータを所定のマクロ単位ブロ
ックに分割して処理する。
The motion vector detection circuit 6 receives the rearranged image data D□, divides each frame data into predetermined macro unit blocks, and processes the divided data.

このとき動きベクトル検出回路6は、フレーム内符号化
処理するフレームデータAO1A6・・・・・・につい
ては、所定時間だけ遅延させてマクロ単位ブロックごと
に続く減算回路8に出力するのに対し、フレーム間符号
化処理するフレームデータB3、ClO2、C4・・・
・・・については、各マクロ単位ブロック毎に所定の予
測フレームを基準にして動きベクトルMVP及びMVN
を検出する。
At this time, the motion vector detection circuit 6 outputs the frame data AO1A6, . Frame data B3, ClO2, C4, etc. to be subjected to inter-encoding processing
..., the motion vectors MVP and MVN are calculated based on a predetermined predicted frame for each macro unit block.
Detect.

さらにこのとき動きベクトル検出回路6は、絶対値和回
路において、予測結果のフレームデータと、フレーム間
符号化処理するフレームデータとの偏差データを得、当
該偏差データの絶対値和でなる誤差データERを得るよ
うになされている。
Furthermore, at this time, the motion vector detection circuit 6 obtains deviation data between the frame data of the prediction result and the frame data to be subjected to interframe coding processing in the absolute value sum circuit, and generates error data ER which is the sum of the absolute values of the deviation data. It is made to obtain.

かくしてこの実施例においては、当該誤差データERを
用いて、量子化ステップサイズ等を切り換えるようにな
され、これにより画質の劣化を有効に回避して映像信号
を効率良く伝送し得るようになされている。
Thus, in this embodiment, the error data ER is used to switch the quantization step size, etc., thereby effectively avoiding deterioration of image quality and efficiently transmitting the video signal. .

さらに動きベクトル検出回路6は、並べ替えられた画像
データDVNと共に、フレーム群インデックスGOF、
前予測基準インデックスPID、後予測基準インデック
スNrD及びテンポラリインデックスTRを、動きベク
トル検出処理時間の分だけ遅延させて続く処理回路にマ
クロ単位ブロックごとに出力する。
Further, the motion vector detection circuit 6 uses the rearranged image data DVN as well as the frame group index GOF,
The previous prediction reference index PID, the subsequent prediction reference index NrD, and the temporary index TR are delayed by the motion vector detection processing time and output to the subsequent processing circuit for each macro unit block.

減算回路8は、適応予測回路10から出力される予測デ
ータDP□及び画像データDvuの差データを得ること
により、偏差データD2を作成してディスクリートコサ
イン変換回路12に出力する。
The subtraction circuit 8 creates deviation data D2 by obtaining difference data between the prediction data DP□ and the image data Dvu output from the adaptive prediction circuit 10, and outputs the deviation data D2 to the discrete cosine transformation circuit 12.

ここで適応予測回路10は、フレーム内符号化処理にお
いては、各マクロ単位ブロック毎に各画素の画像データ
の平均値を予測データDPI+ として出力する。
In the intraframe encoding process, the adaptive prediction circuit 10 outputs the average value of image data of each pixel for each macro unit block as prediction data DPI+.

これに対してフレーム間符号化処理において、適応予測
回路10は、選択予測化処理を実行して、前予測、後予
測又は補間予測を選択した後、選択された予測結果のフ
レームデータを予測フレームデータDP□としてマクロ
単位ブロック毎に出力する。
On the other hand, in the interframe encoding process, the adaptive prediction circuit 10 executes the selective prediction process to select the previous prediction, the backward prediction, or the interpolation prediction, and then transfers the frame data of the selected prediction result to the predicted frame. Output each macro unit block as data DP□.

これにより減算回路8を介して、フレーム間符号化処理
するフレームデータについて、偏差データDz(第1図
においてデータ量が最も小さな偏差データΔFP、ΔF
NP、ΔFNに相当する)を得ることができるのに対し
、フレーム内符号化処理するフレームデータについて、
平均値からの偏差データD2を得ることができる。
As a result, deviation data Dz (deviation data ΔFP, ΔF with the smallest amount of data in FIG.
NP and ΔFN), whereas for frame data subjected to intra-frame encoding processing,
Deviation data D2 from the average value can be obtained.

ディスクリートコサイン変換回路12は、DCT (d
iscrete cosine transform)
の手法を用いて、マクロ単位ブロック毎に偏差データD
2を変換する。
The discrete cosine transform circuit 12 has a DCT (d
iscrete cosine transform)
The deviation data D is calculated for each macro unit block using the method of
Convert 2.

乗算回路14は、重み付は制御回路16から出力される
制御データに基づいてディスクリートコサイン変換回路
12の出力データを重み付は処理する。
The multiplication circuit 14 weights and processes the output data of the discrete cosine transform circuit 12 based on the control data output from the weight control circuit 16 .

かくしてこの実施例においては、ディスクリートコサイ
ン変換回路12の出力データでなる係数を重み付は処理
することにより、画質劣化を有効に回避して効率良く映
像信号を伝送するようになされている。
Thus, in this embodiment, by weighting the coefficients formed by the output data of the discrete cosine transform circuit 12, image quality deterioration is effectively avoided and video signals are efficiently transmitted.

再量子化処理工8は、乗算回路14の出力データを再量
子化する。
The requantization processor 8 requantizes the output data of the multiplication circuit 14.

このとき再量子化回路20は、データ制御回路20から
出力される制御データに基づいて量子化ステップサイズ
を切り換えることにより、ディスクリートコサイン変換
回路12の出力データ量、バッファ回路21の入力デー
タ量及び誤差データERに基づいて量子化ステップサイ
ズが切り換わるようになされ、これにより画像の性質を
反映してディスクリートコサイン変換回路12の出力デ
ータを再量子化し、画質劣化を有効に回避して各フレー
ムデータを一定のデータ量で伝送するようになされてい
る。
At this time, the requantization circuit 20 changes the output data amount of the discrete cosine transform circuit 12, the input data amount of the buffer circuit 21, and the error by switching the quantization step size based on the control data output from the data control circuit 20. The quantization step size is switched based on the data ER, and thereby the output data of the discrete cosine transform circuit 12 is requantized to reflect the characteristics of the image, effectively avoiding image quality deterioration and converting each frame data. It is designed to transmit a fixed amount of data.

逆回量子化回路22は、再量子化回路18の出力データ
を受け、再量子化回路18と逆の再量子化処理を実行し
、これにより再量子化回路18の人力データを再現する
The inverse quantization circuit 22 receives the output data of the requantization circuit 18, performs requantization processing that is inverse to that of the requantization circuit 18, and thereby reproduces the manual data of the requantization circuit 18.

逆梁算回路24は、乗算回路14とは逆に逆回量子化回
路22の出力データを乗算処理し、これにより乗算回路
14の入力データを再現する。
The inverse beam multiplication circuit 24 multiplies the output data of the inverse quantization circuit 22 in the opposite way to the multiplication circuit 14, thereby reproducing the input data of the multiplication circuit 14.

ディスクリートコサイン逆変換回路26は、ディスクリ
ートコサイン変換回路12とは逆に逆梁算回路24の出
力データを変換し、これによりディスクリートコサイン
変換回路12の入力データを再現する。
The discrete cosine inverse transform circuit 26 transforms the output data of the inverse beam calculation circuit 24 in the opposite manner to the discrete cosine transform circuit 12, thereby reproducing the input data of the discrete cosine transform circuit 12.

加算回路28は、適応予測回路10から出力される予測
データD、□を、ディスクリートコサイン逆変換回路2
6の出力データと加算した後、適応予測回路10に出力
する。
The addition circuit 28 converts the prediction data D, □ output from the adaptive prediction circuit 10 into the discrete cosine inverse transform circuit 2.
After adding it to the output data of No. 6, it is output to the adaptive prediction circuit 10.

従って適応予測回路10においては、加算回路2日を介
して減算回路8の入力データを再現してなるフレームデ
ータDFを得ることができ、これにより当該フレームデ
ータDrを選択的に取り込んで予測フレームを設定し、
続いて減算回路8に入力されるフレームデータについて
選択予測結果を得るようになされている。
Therefore, in the adaptive prediction circuit 10, the frame data DF can be obtained by reproducing the input data of the subtraction circuit 8 via the addition circuit 2, and thereby the frame data Dr can be selectively taken in to generate a predicted frame. Set,
Subsequently, a selected prediction result is obtained for the frame data input to the subtraction circuit 8.

かくして、処理する順序でフレームデータを並べ替えて
人力したことにより、適応予測回路10においては、フ
レームデータD、を順次選択的に取り込んで選択予測結
果を検出すればよく、その分簡易な構成で映像信号を伝
送することができる。
In this way, by manually rearranging the frame data in the processing order, the adaptive prediction circuit 10 only needs to sequentially and selectively take in the frame data D and detect the selected prediction result, resulting in a simpler configuration. Video signals can be transmitted.

ランレングスハフマン符号化回路30は、再量子化回路
18の出力データを、可変長符号化処理でなるハフマン
符号化処理した後、伝送データ合成回路32に出力する
The run-length Huffman encoding circuit 30 subjects the output data of the requantization circuit 18 to Huffman encoding processing, which is a variable length encoding process, and then outputs the data to the transmission data synthesis circuit 32 .

同様にランレングスハフマン符号化回路34は、マクロ
単位ブロック毎に動きベクトルMVN及びMVPを、最
適化処理されたハフマン符号に変換した後、伝送データ
合成回路32に出力する。
Similarly, the run-length Huffman encoding circuit 34 converts the motion vectors MVN and MVP into optimized Huffman codes for each macro unit block, and then outputs them to the transmission data synthesis circuit 32.

伝送データ合成回路32は、フレームパルス信号S□に
同期して、ランレングスハフマン符号化回路30及び3
4の出力データ、予測インデックスPINDEX、前予
測基準インデックスPID、後予測基準インデックスN
ID及びテンポラリインデックスTRを、重み付は制御
回路1G及びデータ璽制御回路20の制御情報等と共に
、所定の順序で出力する。
The transmission data synthesis circuit 32 synchronizes with the frame pulse signal S
4 output data, prediction index PINDEX, previous prediction reference index PID, subsequent prediction reference index N
The ID and temporary index TR are outputted in a predetermined order along with the weighted control information of the control circuit 1G and the data seal control circuit 20.

このとき伝送データ合成回路32は、マクロ単位ブロッ
ク毎、ブロック単位グループ毎、各フレームデータ毎、
フレーム群毎にヘッダを配置し、当該ヘッダに予測イン
デックスPINDEX等のデータを付加するようになさ
れ、これにより受信装置側において、ヘッダに付加され
たデータに基づいて伝送データを復号し得るようになさ
れている。
At this time, the transmission data synthesis circuit 32 performs processing for each macro unit block, each block unit group, and each frame data.
A header is arranged for each frame group, and data such as a prediction index PINDEX is added to the header, so that the receiving device can decode the transmitted data based on the data added to the header. ing.

並べ替回路33は、伝送データ合成回路32の出力デー
タを、各フレーム群毎に符号化処理した順序に並べ替え
てバッファ回路21に出力し、これによりバッファ回v
1121を介して、伝送フレームデータDATAを出力
する。
The rearrangement circuit 33 rearranges the output data of the transmission data synthesis circuit 32 in the order of encoding processing for each frame group and outputs the rearranged data to the buffer circuit 21, thereby reducing the buffer times v.
1121, transmission frame data DATA is output.

かくして入力映像信号V D I Nを高能率符号化し
た伝送フレームデータDATAを得ることができ、同期
信号等と共に当該伝送フレームデータDATAをコンパ
クトディスクに記録することにより、画質劣化を有効に
回避して映像信号を高密度記録することができる。
In this way, it is possible to obtain the transmission frame data DATA obtained by highly efficiently encoding the input video signal VDIN, and by recording the transmission frame data DATA together with the synchronization signal etc. on a compact disc, image quality deterioration can be effectively avoided. Video signals can be recorded at high density.

(G2−2)動きベクトル検出回路 第4図及び第5図に示すように、動きベクトル検出回路
6は、前予測基準インデックスPID、後予測基準イン
デックスN I D、テンポラリインデックスTR(第
5図(A)、(B)及び(C))を基準にして、並べ替
回路4から出力される画像データDVNを処理する。
(G2-2) Motion Vector Detection Circuit As shown in FIGS. 4 and 5, the motion vector detection circuit 6 has a previous prediction reference index PID, a subsequent prediction reference index NID, a temporary index TR ( The image data DVN output from the rearrangement circuit 4 is processed based on A), (B), and (C)).

すなわち動きベクトル検出回路6において、リードオン
リメモリ回路72及び73は、それぞれ前予測基準イン
デックスPID及び後予測基準インデックスNIDを受
け、当該前予測基準インデックスPrD及び後予測基準
インデックスNIDが値3のとき論理レベルが立ち下が
る切り換え制御データSWI及びSW2 (第5図(D
)及び(E))を作成する。
That is, in the motion vector detection circuit 6, the read-only memory circuits 72 and 73 receive the previous prediction reference index PID and the subsequent prediction reference index NID, respectively, and when the previous prediction reference index PrD and the subsequent prediction reference index NID have a value of 3, the read-only memory circuits 72 and 73 perform a logic Switching control data SWI and SW2 whose level falls (Fig. 5 (D)
) and (E)).

リードオンリメモリ回路74は、テンポラリインデック
スTRを受け、当j亥テンポラリインデックスTRが値
0のとき(すなわちフレーム内符号化処理するフレーム
データに対応する)、論理レベルが立ち上がるフレーム
内符号化処理制御データPINTRA(第5図(F))
を作成する。
The read-only memory circuit 74 receives the temporary index TR, and stores intra-frame encoding processing control data whose logic level rises when the temporary index TR has a value of 0 (that is, it corresponds to frame data to be intra-frame encoded). PINTRA (Figure 5 (F))
Create.

同様にリードオンリメモリ回路75.76.77.78
.79は、それぞれテンポラリインデックスTRが値3
.1.2.4.5のとき(すなわちフレーム間符号化処
理のフレームデータB3、C1、C2、C4、C5に対
応する)、論理レベルが立ち上がるフレーム間符号化処
理制御データWB3、WCl、WC2、WC4、WC5
を作成する。
Similarly, read-only memory circuit 75.76.77.78
.. 79, the temporary index TR is the value 3.
.. 1.2.4.5 (that is, corresponding to the frame data B3, C1, C2, C4, C5 of the interframe coding process), the logic level rises to the interframe coding process control data WB3, WCl, WC2, WC4, WC5
Create.

遅延回路80は、フレーム間符号化処理制御データWC
5を遅延させて、第2番目のフレーム群から、順次与フ
ーム群の先頭で論理レベルが立ち上がる切り換え制御デ
ータBON (第5図(G))を作成する。
The delay circuit 80 receives interframe encoding processing control data WC.
5 is delayed, and switching control data BON (FIG. 5(G)) is created in which the logic level rises at the head of the given frame group sequentially from the second frame group.

オア回路82は、フレーム間符号化処理制御データWC
5及びフレーム内符号化処理制御データPINTRAを
受け、これによりフレームメモリ制御データWAP(第
5図(H))を作成する。
The OR circuit 82 includes interframe encoding processing control data WC.
5 and intraframe encoding processing control data PINTRA, thereby creating frame memory control data WAP (FIG. 5(H)).

かくして当該動きベクトル検出回路6は、リードオンリ
メモリ回路73〜79、遅延回路80、オア回路82で
作成されたこれらの制御データに基づいて動作する。
Thus, the motion vector detection circuit 6 operates based on these control data created by the read-only memory circuits 73 to 79, the delay circuit 80, and the OR circuit 82.

ブロック化回路84は、フレームパルス信号5FP(第
5図(I))に同期して順次入力される画像データDv
 (IN)(第5図(J))を受け、各フレームデータ
を所定のマクロ単位ブロックに分割する。
The blocking circuit 84 receives image data Dv sequentially input in synchronization with the frame pulse signal 5FP (FIG. 5(I)).
(IN) (FIG. 5(J)), each frame data is divided into predetermined macro unit blocks.

ここで第6図に示すように、各フレームデータ(第6図
(A))は、表示画面の垂直及び水平方向に5×2分割
されて10のブロック単位グループに区分される(第6
図(B))。
Here, as shown in FIG. 6, each frame data (FIG. 6(A)) is divided into 5×2 in the vertical and horizontal directions of the display screen and divided into 10 block unit groups (6
Figure (B)).

さらに各ブロック単位グループは、垂直及び水平方向に
3×11分割されて33のマクロ単位グループ(第6図
(C))に分割され、当該送信装置1においては、当該
マクロ単位グループ単位でフレームデータを順次処理す
るようになされている。
Furthermore, each block unit group is divided vertically and horizontally into 3×11 units into 33 macro unit groups (FIG. 6(C)), and the transmitting device 1 transmits frame data in units of macro unit groups. are processed sequentially.

因に1つのマクロ単位グループは、縦横にそれぞれ8画
素分の画像データを1つのブロックに割り当て、全体で
6ブロツク分の画像データを割り当てるようになされて
いる。
Incidentally, one macro unit group is configured to allocate image data for 8 pixels vertically and horizontally to one block, so that image data for a total of 6 blocks is allocated.

さらに当該6ブロツクに対して、4つのフ゛ロックに縦
横2×2ブロック分の輝度信号Y、 、Y、、Y、 、
Y、が割り当てられ、残りの2ブロツクにそれぞれ輝度
信号Y、 、Y、 、Y3、Y、に対応する色差信号C
,,C,が割り当てられるようになされている。
Furthermore, for the 6 blocks, the luminance signals Y, , Y, , Y, , for 2 x 2 blocks vertically and horizontally are applied to the four blocks.
Y, is allocated to the remaining two blocks, and color difference signals C corresponding to the luminance signals Y, , Y, , Y3, and Y, respectively, are assigned to the remaining two blocks.
,,C, are allocated.

かくしてブロック化回路84を介して、15×22のマ
クロ単位ブロックに分割されたフレームデータを得るこ
とができる。
In this manner, frame data divided into 15×22 macro unit blocks can be obtained via the blocking circuit 84.

遅延回路85は、ブロック化回路84から出力されるフ
レームデータを、動きベクトル検出処理に要する5フレ
一ム周期だけ遅延させて出力する。
The delay circuit 85 delays the frame data output from the blocking circuit 84 by five frame periods required for motion vector detection processing and outputs the delayed frame data.

かくして当該動きベクトル検出回路6においては、画像
データDv (OUT)(第5図(K))をマクロ単位
ブロックに分割して、動きベクトルの検出に同期して出
力するようになされている。
Thus, in the motion vector detection circuit 6, the image data Dv (OUT) (FIG. 5(K)) is divided into macro unit blocks and output in synchronization with the detection of motion vectors.

遅延回路86は、フレーム群インデックスGOF(IN
)(第5図(L))を5フレ一ム周期だけ遅延させ、こ
れにより当該動きベクトル検出回路6から出力される画
像データD、(OUT)に対して、タイミングの一致し
たフレーム群インデックスGOF (OLIT)(第5
図(M))を出力する。
The delay circuit 86 has a frame group index GOF(IN
) (FIG. 5(L)) is delayed by 5 frame periods, and as a result, the frame group index GOF whose timing coincides with the image data D, (OUT) output from the motion vector detection circuit 6 is delayed. (OLIT) (5th
Figure (M)) is output.

後予測フレームメモリ回路88、前予測フレームメモリ
回路89及びインタフレームメモリ回路90は、それぞ
れ動きベクトル検出用の基準となるフレームデータを格
納する。
The backward predicted frame memory circuit 88, the previous predicted frame memory circuit 89, and the interframe memory circuit 90 each store frame data serving as a reference for motion vector detection.

すなわち後予測フレームメモリ回路88は、フレーム内
符号化処理制御データP INTRAが立ち上がると画
像データDvを取り込み、これにより当該後予測フレー
ムメモリ回路88を介して、1フレ一ム周期の期間だけ
フレームデータAOが出力された後、続く6フレ一ム周
期の期間フレームデータA6が連続し、続く6フレ一ム
周期の期間フレームデータA12が連続する画像データ
DHVを得ることができる(第5図(N))。
That is, the post-prediction frame memory circuit 88 takes in the image data Dv when the intra-frame encoding processing control data P INTRA rises, and thereby stores the frame data for a period of one frame period via the post-prediction frame memory circuit 88. After the AO is output, it is possible to obtain image data DHV in which the period frame data A6 of the following 6 frame period is continuous, and the period frame data A12 of the subsequent 6 frame period is continuous (Fig. 5 (N )).

これに対して前予測フレームメモリ回路89は、フレー
ムメモリ制御データWAPが立ち上がると後予測フレー
ムメモリ回路88から出力されるフレームデータを取り
込む。
On the other hand, the pre-prediction frame memory circuit 89 takes in the frame data output from the post-prediction frame memory circuit 88 when the frame memory control data WAP rises.

これにより前予測フレームメモリ回路89を介して、後
予測フレームメモリ回路88からフレームデータA6が
出力される6フレ一ム周期の内、始めの5フレ一ム周期
の期間フレームデータAOが連続した後、続く6フレ一
ム周期の期間フレームデータA6が連続し、続く6フレ
一ム周期の期間フレームデータA12が連続する画像デ
ータDPVを得ることができる(第5図(0))。
As a result, after the frame data AO continues for the first 5 frame periods among the 6 frame periods in which the frame data A6 is output from the backward predictive frame memory circuit 88 via the previous predictive frame memory circuit 89. , it is possible to obtain image data DPV in which the period frame data A6 of the following 6 frame period is continuous, and the period frame data A12 of the subsequent 6 frame period is continuous (FIG. 5(0)).

これに対してインタフレームメモリ回路90は、フレー
ム間符号化処理制御データWB3が立ち上がると画像デ
ータDvNを取り込む。
On the other hand, the interframe memory circuit 90 takes in the image data DvN when the interframe encoding processing control data WB3 rises.

これによりインタフレームメモリ回路90を介して、第
4のフレームデータB3、B9、B15がそれぞれ6フ
レ一ム周期の期間連続する画像データD、、、(第5図
(P))を得るようになされている。
As a result, the fourth frame data B3, B9, and B15 are transmitted through the interframe memory circuit 90 to obtain image data D, . being done.

選択回路92及び93は、それぞれ画像データI)sv
及びDINT、画像データDPV及びDINTを受け、
切り換制御データSW1及びSW2に基づいて接点を切
り換える。
The selection circuits 92 and 93 each select image data I)sv
and DINT, receives image data DPV and DINT,
The contacts are switched based on switching control data SW1 and SW2.

これにより選択回路92及び93は、続く可変リードメ
モリ回路94及び95に、動きベクトル検出の基準とな
るフレームデータAO,A6、B3・・・・・・を順次
切り換えて出力する。
As a result, the selection circuits 92 and 93 sequentially switch and output frame data AO, A6, B3, .

すなわちフレームデータB3の動きベクトルMV3N及
びMV3Pを検出する場合は、可変リードメモリ回路9
4及び95にそれぞれフレームデータA6及びAOを出
力する。
That is, when detecting motion vectors MV3N and MV3P of frame data B3, the variable read memory circuit 9
Frame data A6 and AO are outputted to ports 4 and 95, respectively.

これに対してレベル2の処理の内、フレームデータC1
及びC2の動きベクトルMVIN、MVIP及びMV2
N、MV2Pを検出する場合は、可変リードメモリ回路
94及び95にそれぞれフレームデータB3及びAOを
出力し、フレームデータC4及びC5の動きベクトルM
V4N、MV4P及びMV5N、MV5Pを検出する場
合は、可変リードメモリ回路94及び95にそれぞれフ
レームデータA6及びB3を出力する。
On the other hand, in level 2 processing, frame data C1
and motion vectors MVIN, MVIP and MV2 of C2
When detecting N, MV2P, frame data B3 and AO are output to variable read memory circuits 94 and 95, respectively, and motion vector M of frame data C4 and C5 is detected.
When detecting V4N, MV4P and MV5N, MV5P, frame data A6 and B3 are output to variable read memory circuits 94 and 95, respectively.

ところで、フレームデータAOを基準にして、例えば上
下左右8画素の範囲でフレームデータC1の動きベクト
ルを検出する場合、フレームデータAOを基準にしてフ
レームデータC2の動きベクトルを検出するためには上
下左右16画素の範囲で動きベクトルを検出する必要が
ある。
By the way, when detecting a motion vector of frame data C1 in a range of, for example, 8 pixels on the top, bottom, left and right sides using frame data AO as a reference, in order to detect a motion vector of frame data C2 using frame data AO as a reference, it is necessary to It is necessary to detect motion vectors within a range of 16 pixels.

同様にフレームデータA6を基準にして、フレームデー
タC4及びC5の動きベクトルを検出するためには、そ
れぞれ上下左右16画素及び8画素の範囲で動きベクト
ルを検出する必要がある。
Similarly, in order to detect the motion vectors of the frame data C4 and C5 using the frame data A6 as a reference, it is necessary to detect the motion vectors in a range of 16 pixels and 8 pixels, respectively.

従ってレベル2の処理について、動きベクトルを検出す
る場合、最大で上下左右16画素の範囲で動きベクトル
を検出する必要がある。
Therefore, in level 2 processing, when detecting a motion vector, it is necessary to detect the motion vector within a maximum range of 16 pixels on the top, bottom, left and right.

これに対してフレームデータAO及びA6を基準にして
フレームデータB3の動きベクトルを検出するためには
、上下左右24画素の範囲で動きベクトルを検出する必
要がある。
On the other hand, in order to detect the motion vector of the frame data B3 based on the frame data AO and A6, it is necessary to detect the motion vector in a range of 24 pixels on the top, bottom, left and right.

従って、動きベクトル検出回路6においては、このよう
にフレームデータを所定フレーム群毎に分割し、各フレ
ーム群中のフレームデータをフレーム間符号化処理して
伝送する場合、動きベクトルの検出範囲が広大になり、
その分構成が煩雑になるおそれがあった。
Therefore, in the motion vector detection circuit 6, when the frame data is divided into predetermined frame groups and the frame data in each frame group is interframe encoded and transmitted, the motion vector detection range is wide. become,
Therefore, there was a risk that the configuration would become complicated.

このためこの実施例においては、始めにレベル2の動き
ベクトルを検出した後、当該検出結果を参考にしてフレ
ームデータB3の動きベクトル検出範囲を設定するよう
になされ、その分動きベクトル検出回路6全体の構成を
簡略化するようになされている。
Therefore, in this embodiment, after first detecting the level 2 motion vector, the motion vector detection range of the frame data B3 is set with reference to the detection result, and the entire motion vector detection circuit 6 is adjusted accordingly. It is designed to simplify the configuration.

すなわち第7図及び第8図に示すように、フレームデー
タAOからフレームデータB3までの各フレームデータ
C1、C2について順次動きベクトルV、 、Vt、V
、を検出し、動きベクトルV、 、Vオ、■、の和ベク
トルV++Vt+V3を検出する。
That is, as shown in FIGS. 7 and 8, motion vectors V, , Vt, V are sequentially calculated for each frame data C1 and C2 from frame data AO to frame data B3.
, and the sum vector V++Vt+V3 of the motion vectors V, ,Vo,■, is detected.

さらに和ベクトルV + + V z + V sだけ
オフセットした位置を中心にして、フレームデータB3
の動きベクトル検出範囲を設定し、当該動きベクトル検
出範囲で動きベクトルMV3Pを検出する。
Furthermore, frame data B3 is centered at a position offset by the sum vector V + + V z + V s.
A motion vector detection range is set, and a motion vector MV3P is detected within the motion vector detection range.

このようにすれば、狭い動きベクトル検出範囲で、動き
ベクトルMV3Pを検出することができる。
In this way, the motion vector MV3P can be detected within a narrow motion vector detection range.

この実施例の場合、レベル2の動きベクトル検出処理に
おいて、前予測及び後予測用の動きベクトルを検出する
ことから、フレームデータC1の動きベクトルMVIP
及びMVINを検出し、動きベクトルMV1P、、M■
INの分だけオフセットした位置を中心にして動きベク
トル検出範囲を設定することにより、狭い動きベクトル
検出範囲で、動きベクトルMV3Pを検出することがで
きる。
In the case of this embodiment, since motion vectors for forward prediction and backward prediction are detected in the level 2 motion vector detection process, the motion vector MVIP of frame data C1
and MVIN are detected, and the motion vectors MV1P, , M■
By setting the motion vector detection range centered on a position offset by IN, the motion vector MV3P can be detected within a narrow motion vector detection range.

このため選択回路96は、初めにレベル2の処理対象で
なるフレームデータC1、C2、C4及びC5を、減算
回路KN、〜KNtss及びK P e〜KPzssに
与える。
For this reason, the selection circuit 96 first supplies the frame data C1, C2, C4, and C5 to be processed at level 2 to the subtraction circuits KN, ~KNtss, and KPe~KPzss.

これに対して、レベルlの処理においては、選択回路9
6は、接点を切り換え、インクフレームメモリ回路90
に一旦格納されたフレームデータB3を、ブロック化回
路97でブロック化回路84と同様にマクロ単位ブロッ
クに分割して、減算回路K N o 〜K N 2 S
 s及びKP、〜KPzssに与え、これにより順次フ
レームデータC1、C2、C4及びC5について動きベ
クトルを検出した後、フレームデータB3について動き
ベクトルを検出するようになされている。
On the other hand, in level l processing, the selection circuit 9
6 switches the contact and connects the ink frame memory circuit 90.
The blocking circuit 97 divides the frame data B3 once stored into macro unit blocks in the same manner as the blocking circuit 84, and then divides the frame data B3 into macro unit blocks into subtraction circuits KNo to KN2S.
s and KP, to KPzss, thereby sequentially detecting motion vectors for frame data C1, C2, C4, and C5, and then detecting a motion vector for frame data B3.

選択回路92及び93は、当該動きベクトル検出順序に
応じて接点を切り換え、当該動きベクトル検出回路6に
フレームデータC1、C2、C4及びC5が入力されタ
イミングで、可変リードメモリ回路94及び95にそれ
ぞれフレームデータB3及びAO1B3及びAO2A6
及びB3、A6及びB3を順次出力した後、続く1フレ
一ム周期の期間フレームデータA6及びAOを出力する
The selection circuits 92 and 93 switch their contacts in accordance with the motion vector detection order, and input the frame data C1, C2, C4, and C5 to the variable read memory circuits 94 and 95, respectively, at the timing when the frame data C1, C2, C4, and C5 are input to the motion vector detection circuit 6. Frame data B3 and AO1B3 and AO2A6
After sequentially outputting B3, A6 and B3, frame data A6 and AO of one subsequent frame period are outputted.

減算回路KNo 〜KNzss及びKP0〜KP、%、
は、256X2個の減算回路が並列接続され、各マクロ
単位ブロックを構成する輝度信号の画像データを順次入
力する。
Subtraction circuit KNo ~ KNzss and KP0 ~ KP, %,
256×2 subtraction circuits are connected in parallel and sequentially input image data of luminance signals forming each macro unit block.

これに対して可変リードメモリ回路94及び95は、ベ
クトル発生回路98から出力される制御データDHに基
づいて、選択回路92及び93を介して人力されるフレ
ームデータを並列的に減算回路KN、〜KNtss及び
KP、〜KP、%、に出力する。
On the other hand, the variable read memory circuits 94 and 95 subtract circuits KN, . Output to KNtss and KP, ~KP,%.

すなわち可変リードメモリ回路94及び95は、レベル
2の処理において、第1のマクロ単位ブロックの第1の
画像データが減算回路KN、〜KN□、及びKP、〜)
(pzssに入力されると、当該画像データを中心にし
た上下左右16画素の範囲の画像データ(すなわち動き
ベクトル検出範囲の画像データでなる)を、減算回路K
N、〜KN□5及びKP、〜KP□、に出力する。
That is, in the level 2 processing, the variable read memory circuits 94 and 95 convert the first image data of the first macro unit block into subtraction circuits KN, ~KN□, and KP, ~).
(When input to pzss, the image data in the range of 16 pixels on the top, bottom, left and right sides of the image data (i.e., the image data in the motion vector detection range) is processed by the subtraction circuit K.
Output to N, ~KN□5 and KP, ~KP□.

同様に可変リードメモリ回路94及び95は、第1のマ
クロ単位ブロックの第2の画像データが減算回路KN、
〜KN□5及びKP、〜KPtssに入力されると、予
測フレームのフレームデータから、当該筒2の画像デー
タを中心にした上下左右16画素の範囲の画像データを
、減算回路K N o 〜K N zss及びKPo〜
KP*ssに出力する。
Similarly, the variable read memory circuits 94 and 95 are configured such that the second image data of the first macro unit block is subtracted by the subtraction circuit KN,
When input to ~KN□5, KP, and ~KPtss, image data in a range of 16 pixels on the top, bottom, left, and right around the image data of the cylinder 2 is extracted from the frame data of the predicted frame by a subtraction circuit KNo ~K N zss and KPo~
Output to KP*ss.

かくして可変リードメモリ回路94及び95は、レベル
2の処理において、減算回路KN、〜KNtss及びK
P0〜KP□1.に入力される画像データに対して、順
次動きベクトル検出範囲の画像データを出力する。
Thus, the variable read memory circuits 94 and 95 operate as subtraction circuits KN, ~KNtss and K in level 2 processing.
P0~KP□1. For the input image data, image data in the motion vector detection range is sequentially output.

これによりレベル2の処理においては、減算回路K N
 o〜KN□、及びK P o〜KP□、を介して、動
きベクトルを検出するフレームデータの画像データごと
に、動きベクトル検出範囲で予測フレームのフレームデ
ータを移動させた際の偏差データを得ることができる。
As a result, in level 2 processing, the subtraction circuit K N
Obtain deviation data when moving the frame data of the predicted frame within the motion vector detection range for each image data of the frame data for which the motion vector is detected, via o~KN□ and K P o~KP□. be able to.

これに対して、レベル1の処理において、可変リードメ
モリ回路94及び95は、フレームデータC1、C2、
C4、C5の検出結果に基づいて減算回路KN、〜KN
zss及びKPo 〜KPtssに入力された画像デー
タに対して、当該画像データから予測動きベクトルMV
3NY、MY3PYの分だけ変位した画像データを中心
にして、上下左右16画素の範囲の画像データを、減算
回路KN0〜KNtss及びKP、〜KP□、に出力す
る。
On the other hand, in level 1 processing, variable read memory circuits 94 and 95 store frame data C1, C2,
Subtraction circuits KN, ~KN based on the detection results of C4 and C5
For the image data input to zss and KPo to KPtss, the predicted motion vector MV is calculated from the image data.
Centering on the image data displaced by 3NY and MY3PY, image data in a range of 16 pixels in the upper, lower, left, and right directions is output to subtraction circuits KN0 to KNtss and KP to KP□.

これによりレベル1の処理においては、減算回路K N
 −〜K N−5s及びK P o 〜K P tss
を介して、フレームデータB3の画像データごとに、予
測動きベクトルMV3NYXMY3PYの分だけ変位さ
せた動きベクトル検出範囲で、予測フレームを移動させ
た際の偏差データを得ることができる。
As a result, in level 1 processing, the subtraction circuit K N
-~K N-5s and K P o ~K P tss
For each image data of the frame data B3, it is possible to obtain deviation data when the predicted frame is moved within the motion vector detection range displaced by the predicted motion vector MV3NYXMY3PY.

絶対値総和回路100及び101は、それぞれ減算回路
KN、〜KN□5及びKP、〜KPzssの減算データ
を受け、各減算回路KN。
Absolute value summation circuits 100 and 101 receive subtraction data from subtraction circuits KN, ~KN□5 and KP, ~KPzss, respectively, and each subtraction circuit KN.

〜KNxss及びKP、〜KP□、毎に減算データの絶
対値和を検出した後、マクロ単位ブロック毎に当該絶対
値和を出力する。
After detecting the absolute value sum of the subtraction data for each of ~KNxss, KP, and ~KP□, the absolute value sum is output for each macro unit block.

これにより絶対値総和回路100及び101を介して、
レベル2の処理においては、マクロ単位ブロック毎に、
当該マクロ単位ブロックを中心にした動きベクトル検出
範囲で、予測フレームを順次移動させた際の、256個
(すなわち16×16でなる)の偏差データを得ること
ができる。
As a result, via the absolute value summation circuits 100 and 101,
In level 2 processing, for each macro unit block,
It is possible to obtain 256 pieces (that is, 16×16) of deviation data when the predicted frame is sequentially moved within the motion vector detection range centered on the macro unit block.

これに対して、レベル1の処理においては、マクロ単位
ブロック毎に、当該マクロ単位ブロックを基準ににして
、予測動きベクトルMV3NY、MY3PYO分だけ変
位した動きベクトル検出範囲で、予測フレームを順次移
動させた際の256個の偏差データを得ることができる
On the other hand, in level 1 processing, the predicted frame is sequentially moved for each macro unit block within a motion vector detection range that is displaced by the predicted motion vectors MV3NY and MY3PYO with respect to the macro unit block as a reference. 256 deviation data can be obtained.

比較回路102及び103は、絶対値総和回路100及
びlOlから出力される256個の偏差データを受け、
その内予測フレームの画像データを上下左右にO画素分
移動させた際(すなわち予測フレームを移動させない状
態でなる)の偏差データD0゜8及びDo。、を比較回
路105及び106に出力する。
The comparison circuits 102 and 103 receive the 256 deviation data output from the absolute value summation circuit 100 and lOl,
Among them, deviation data D0°8 and Do when the image data of the predicted frame is moved up, down, left and right by O pixels (that is, the predicted frame is not moved). , is output to comparison circuits 105 and 106.

さらに比較回路102及び103は、残りの偏差データ
から最小値を検出し、誤差データER(ER,及びER
,)として出力すると共に、当該最小値の偏差データの
位置情報を検出する。
Further, the comparison circuits 102 and 103 detect the minimum value from the remaining deviation data, and detect the error data ER (ER, and ER
, ), and detects the position information of the deviation data of the minimum value.

かくして、当該誤差データERに基づいて、再量子化回
路18の量子化ステップサイズを切り換えると共に乗算
回路14の重み付は処理を制御することにより、画像の
性質を再量子化処理に反映し得、画質劣化を有効に回避
して映像信号を伝送することができる。
Thus, by switching the quantization step size of the requantization circuit 18 and controlling the weighting process of the multiplication circuit 14 based on the error data ER, the properties of the image can be reflected in the requantization process. Video signals can be transmitted while effectively avoiding image quality deterioration.

さらに最小値の偏差データに基づいて偏差データが最小
になるように予測フレームを移動させる位置情報を検出
することができ、これにより各マクロ単位ブロックにつ
いて、順次動きベクトルを検出することができる。
Furthermore, it is possible to detect positional information for moving the predicted frame so that the deviation data is minimized based on the deviation data of the minimum value, and thereby it is possible to sequentially detect motion vectors for each macro unit block.

比較回路105及び106は、誤差データER,及びE
R,と偏差データD、。、及びDo。。
Comparison circuits 105 and 106 output error data ER and E.
R, and deviation data D,. , and Do. .

の比較結果を得るようになされている。It is designed to obtain comparative results.

このとき第9図に示すように、比較回路105及び10
6は、誤差データER,及びER,と偏差データD0゜
、及びDo。、を、次式で表されるように、IN素当た
りの誤差及び偏差量に変換した際に、当該誤差及び偏差
量が小さい範囲においては、動きベクトルとして0ベク
トルを優先的に選択する。
At this time, as shown in FIG.
6 is error data ER and ER, and deviation data D0° and Do. , as expressed by the following equation, when converting into the error and deviation amount per IN element, the 0 vector is preferentially selected as the motion vector in a range where the error and deviation amount are small.

すなわち誤差及び偏差量が小さい範囲においては、比較
臼l5102及び103で動きベクトルに基づいて偏差
データΔEN、ΔEP(第1図)を生成しても、0ベク
トルで偏差データΔEN、ΔEPを生成した場合に比し
て、偏差データΔEN、ΔEPのデータ量としてはそれ
程低減し得す、却って有意情報でなる検出された動きベ
クトルを伝送する分、全体としてデータ量が増大する。
In other words, in a range where the error and deviation amounts are small, even if the comparison dies 15102 and 103 generate the deviation data ΔEN and ΔEP (Fig. 1) based on the motion vector, when the deviation data ΔEN and ΔEP are generated using a zero vector. Compared to this, the data amount of the deviation data ΔEN and ΔEP can be reduced to a certain extent, but on the contrary, the overall data amount increases by the amount that the detected motion vectors, which are significant information, are transmitted.

従ってこの実施例においては、比較回路105及び10
6で動きベクトルとして0ベクトルを優先的に選択する
ことにより、映像信号全体として効率良く伝送するよう
になされている。
Therefore, in this embodiment, comparison circuits 105 and 10
By preferentially selecting the 0 vector as the motion vector in step 6, the video signal as a whole can be efficiently transmitted.

かくして比較回路105及び106は、切り換え信号を
出力して選択回路107及び108の接点を切り換え、
第9図の優先度に従ってOベクトルデータMY、及び比
較回路102及び103から出力される動きベクトルを
選択出力し、これにより選択回路107及び10Bを介
して、動きベクトルMviN及びMViP(第5図(Q
)及び(R))を得ることができる。
Thus, the comparison circuits 105 and 106 output switching signals to switch the contacts of the selection circuits 107 and 108,
The O vector data MY and the motion vectors output from the comparison circuits 102 and 103 are selected and output according to the priorities shown in FIG. 9, and the motion vectors MviN and MViP (see FIG. Q
) and (R)) can be obtained.

動きベクトルメモリ回路110〜113及び114〜1
17は、フレーム間符号化処理制御データWCI、WC
2、WC4、WC5に応じて、動きベクトルMViN及
びMV i Pを取り込み、これによりそれぞれレベル
2で処理するフレームデータC1、C2、C4、C5に
ついて、後予測及び前予測用の動きベクトルMVINS
MV2N。
Motion vector memory circuits 110-113 and 114-1
17 is interframe encoding processing control data WCI, WC
2. According to WC4 and WC5, capture motion vectors MViN and MV i P, and thereby obtain motion vectors MVINS for backward prediction and forward prediction for frame data C1, C2, C4, and C5 to be processed at level 2, respectively.
MV2N.

MV4NSMV5N及びMVIP、MV2P、MV4P
、、MV5Pを取り込む。
MV4NSMV5N and MVIP, MV2P, MV4P
,, Import MV5P.

これに対して加算回路120〜122及び123〜12
5は、動きベクトルメモリ回路110〜113及び11
4〜117に格納された動きベク)ルMVIN、MV2
NSMV4N、MV5N及びMVI P、MV2P、M
V4P、、MV5Pを受け、動きベクトルMV I N
、 MV I PSMV 2 N及びMV2Pの加算結
果と、動きベクトルMV4N、MV4 PSMV5N及
びMV5P(7)加算結果とを、それぞれ1/2割算回
路127及び128に出力する。
On the other hand, adder circuits 120 to 122 and 123 to 12
5, motion vector memory circuits 110 to 113 and 11;
Motion vectors stored in 4 to 117 MVIN, MV2
NSMV4N, MV5N and MVI P, MV2P, M
V4P,, MV5P received, motion vector MV I N
, MV I PSMV 2 N and MV2P, and the addition results of motion vectors MV4N, MV4 PSMV5N and MV5P(7) are output to 1/2 division circuits 127 and 128, respectively.

すなわち上述のように、この実施例においては、始めに
レベル2の動きベクトルを検出した後、当該検出結果を
参考して予めフレームデータB3の動きベクトルの検出
範囲を設定することにより、最大で上下左右16画素の
範囲で動きベクトルを検出するようになされ、その分動
きベクトル検出回路6全体の構成を簡略化するようにな
されている。
In other words, as described above, in this embodiment, after first detecting the level 2 motion vector, the detection range of the motion vector of frame data B3 is set in advance by referring to the detection result. The motion vector is detected within a range of 16 pixels on the left and right, and the overall configuration of the motion vector detection circuit 6 is simplified accordingly.

このため加算回路120〜125及び1/2割算回路1
27.128は、動きベクトルMvIN〜MV5Pにつ
いて値1/2の加算結果を得ることにより、次式 %式% (3) (4) で表されるような予測動きベクトルMV3NY及びMV
3PYを作成した後、選択回路130及び131を介し
て、当該予測動きベクトルMV3NY及びMV3PYを
加算回路132及び133に出力する。
Therefore, adder circuits 120 to 125 and 1/2 divider circuit 1
27.128 calculates the predicted motion vectors MV3NY and MV as expressed by the following equations (3) (4) by obtaining the addition result of 1/2 for the motion vectors MvIN to MV5P.
After creating 3PY, the predicted motion vectors MV3NY and MV3PY are output to addition circuits 132 and 133 via selection circuits 130 and 131.

ここで選択回路130及び131は、切り換え制御デー
タBONに応じて接点を切り換えることニヨリ、レベル
2の処理対象でなるフレームデータC1,C2、C4、
C5については、値Oのデータ[)as及びI)orを
選択出力するのに対し、レベルlの処理対象でなるフレ
ームデータB3については、予測動きベクトルMV3N
Y及びMV3PYを選択出力する。
Here, the selection circuits 130 and 131 switch the contacts according to the switching control data BON, and select the frame data C1, C2, C4 to be processed at level 2,
For C5, data [)as and I)or of value O are selected and output, whereas for frame data B3 to be processed at level l, predicted motion vector MV3N
Selectively output Y and MV3PY.

・加算回路132及び133は、選択回路130及び1
31(7)出力データM V 3 N Y、 Dos及
びMV 3 P Y、 DIPを、ベクトル発生回路9
8から出力される制御データD。に加算する。
- Addition circuits 132 and 133 are connected to selection circuits 130 and 1
31 (7) Output data MV 3 N Y, Dos and MV 3 PY, DIP to the vector generation circuit 9
Control data D output from 8. Add to.

これによりフレームデータC1、C2、C4、C5につ
いては、各マクロ単位ブ・ロックを中心にした動きベク
トル検出範囲で、動きベクトルを検出するのに対し、フ
レームデータB3については、各マクロ単位ブロックか
ら、予測動きベクトルMV3NY及びMV3PYの分だ
け変位した動きベクトル検出範囲で、動きベクトルを検
出する。
As a result, for frame data C1, C2, C4, and C5, motion vectors are detected in the motion vector detection range centered on each macro unit block, whereas for frame data B3, motion vectors are detected from each macro unit block. , a motion vector is detected in a motion vector detection range displaced by the predicted motion vectors MV3NY and MV3PY.

従ってその分、複数フレーム離間したフレームデータA
O及びB3、B3及びA6間の動きベクトルを、狭い動
きベクトル検出範囲で確実に検出し得、かくして簡易な
構成で動きベクトルを検出することができる。
Therefore, frame data A separated by multiple frames
Motion vectors between O and B3, B3 and A6 can be reliably detected within a narrow motion vector detection range, and thus motion vectors can be detected with a simple configuration.

さらに、フレームデータC1、C2の前予測及び後予測
用の動きベクトルを加算平均して、前予測用動きベクト
ルMV3Pの動きベクトル検出範囲を設定すると共に、
フレームデータC4、C5の前予測及び後予測用の動き
ベクトルを加算平均して、後予測用動きベクトルMV3
Nの動きベクトル検出範囲を設定することにより、動き
ベクトルを確実に検出することができる。
Furthermore, the motion vectors for forward prediction and backward prediction of the frame data C1 and C2 are averaged to set a motion vector detection range of the forward prediction motion vector MV3P,
The motion vectors for forward prediction and backward prediction of frame data C4 and C5 are averaged, and the motion vector for backward prediction MV3 is calculated.
By setting N motion vector detection ranges, motion vectors can be detected reliably.

加算回路135及び136は、レベル1の処理において
選択回路107及び108から出力される動きベクトル
に予測動きベクトルMV3NY及びMV3PYに加算し
て出力し、これにより動きベクトルMV3P及びMV3
Nを得るようになされ、かくして全体として簡易な構成
で、遠くはなれたフレームデータ間の動きベクトルMV
3N及びMV3Pを検出することができる。
Addition circuits 135 and 136 add predicted motion vectors MV3NY and MV3PY to the motion vectors output from selection circuits 107 and 108 in level 1 processing, and output the resultant motion vectors MV3P and MV3.
Thus, with an overall simple configuration, the motion vector MV between far-separated frame data is
3N and MV3P can be detected.

カウンタ回路138は、フレーム間符号化処理制御デー
タWC5でクリアされた後、フレームパルス信号SFP
を順次カウントするようになされた5進のカウンタ回路
で構成され、値Oから値4まで順次循環する動きベクト
ル選択データMVSEL(第5図(S))を出力する。
After the counter circuit 138 is cleared by the interframe encoding processing control data WC5, the counter circuit 138 receives the frame pulse signal SFP.
The motion vector selection data MVSEL (FIG. 5(S)) is composed of a quinary counter circuit configured to sequentially count 0 to 4, and outputs motion vector selection data MVSEL (FIG. 5(S)) that sequentially cycles from value O to value 4.

選択回路139及び140は、動きベクトル選択データ
MVSELに応じて順次接点を切り換え、これにより加
算回路135及び136から出力される動きベクトルM
V3N及びMV3P、動きベクトルメモリ回路110−
117に格納された動きベクトルMVIN−MV5Pを
順次ランレングスハフマン符号化回路34に選択出力し
、かくして当該動きベクトル検出回路6を介して順次動
きベクトルMvN及びMVP (第5図(T)及び(U
))をマクロ単位ブロック毎に得ることができる。
The selection circuits 139 and 140 sequentially switch the contacts in accordance with the motion vector selection data MVSEL, thereby selecting the motion vector M output from the addition circuits 135 and 136.
V3N and MV3P, motion vector memory circuit 110-
The motion vectors MVIN-MV5P stored in 117 are sequentially selected and outputted to the run-length Huffman encoding circuit 34, and the motion vectors MvN and MVP (FIG. 5 (T) and (U)
)) can be obtained for each macro unit block.

(G2−3)ランレングスハフマン符号化回路第10図
示すように、ランレングスハフマン符号化回路34は、
フレームデータC1、C4の前予測の動きベクトルMV
IP、MV4P及びフレームデータC2、C5の後予測
の動きベクトルMV2NSMV5N (すなわち隣接す
るフレームデータAO,B3、A6を基準フレームにし
て検出された動きベクトルでなり、以下1倍ベクトルと
呼ぶ)を選択回路150に与える。
(G2-3) Run-length Huffman encoding circuit As shown in FIG. 10, the run-length Huffman encoding circuit 34 is
Pre-predicted motion vector MV of frame data C1 and C4
A selection circuit selects the post-predicted motion vector MV2NSMV5N of IP, MV4P and frame data C2, C5 (that is, a motion vector detected using the adjacent frame data AO, B3, A6 as a reference frame, hereinafter referred to as a 1x vector). Give 150.

加算回路151は、フレームデータC1、C4の後予測
の動きベクトルMVIN、MV4N及びフレームデータ
C2、C5の前予測の動きベクトルMV2P、MV5P
 (すなわち基準フレームデータAO,B3、A6から
2フレ一ム離間したフレームデータの動きベクトルでな
り、以下2倍ベクトルと呼ぶ)を受け、その値が正のと
き値1を加算して出力するのに対し、その値が負のとき
値−1を減算して出力する。
The addition circuit 151 calculates the motion vectors MVIN and MV4N of the post-prediction of frame data C1 and C4 and the motion vectors MV2P and MV5P of the pre-prediction of frame data C2 and C5.
(In other words, it is a motion vector of frame data that is two frames apart from the reference frame data AO, B3, and A6, hereinafter referred to as a double vector), and when the value is positive, it adds a value of 1 and outputs it. On the other hand, if the value is negative, the value -1 is subtracted and output.

これに対して1/2割算回路152は、加算回路151
の出力を受け、その1/2割り算結果から、余りを除い
て選択回路150に出力する。
On the other hand, the 1/2 divider circuit 152
, the remainder is removed from the 1/2 division result, and the result is output to the selection circuit 150.

すなわち加算回路151及び1/2割算回路152は、
動きベクトルMV I N、 MV 4 N及びMV2
P、MV5Pを、1フレ一ム分の動きベクトルに換算し
て出力する。
That is, the addition circuit 151 and the 1/2 division circuit 152 are
Motion vectors MV I N, MV 4 N and MV2
P, MV5P are converted into motion vectors for one frame and output.

これに対して加算回路153は、フレームデータB3の
動きベクトルMV3P及びMV3N(すなわち基準フレ
ームデータAO,A6から3フレ一ム離間したフレーム
データの動きベクトルでなり、以下3倍ベクトルと呼ぶ
)を受け、その値が正のとき(t[2を加算して出力す
るのに対し、その値が負のとき(i−2を減算して出力
する。
On the other hand, the addition circuit 153 receives motion vectors MV3P and MV3N of frame data B3 (that is, motion vectors of frame data separated by three frames from the reference frame data AO and A6, hereinafter referred to as triple vectors). , when the value is positive (t[2 is added and output), whereas when the value is negative (i-2 is subtracted and output).

1/3割算回路154は、加算回路153の出力を受け
、その1/3割り算結果から、余りを除いて選択回路1
50に出力する。
The 1/3 division circuit 154 receives the output of the addition circuit 153, removes the remainder from the 1/3 division result, and sends it to the selection circuit 1.
Output to 50.

すなわち加算回路153及び1/3割算回路154は、
動きベクトルMv3P及びMV3Nを、1フレ一ム分の
動きベクトルに換算して出力する。
That is, the addition circuit 153 and the 1/3 division circuit 154 are
The motion vectors Mv3P and MV3N are converted into motion vectors for one frame and output.

このようにすれば、選択回路150に入力される動きベ
クトルの値においては、その出現確率が等しい値に設定
され、これにより各動きベクトルを簡易に最適化するこ
とができる。
In this way, the occurrence probabilities of the motion vector values input to the selection circuit 150 are set to equal values, thereby making it possible to easily optimize each motion vector.

すなわち第11図に示すように、順次連続するフレーム
FM、Fl、F2、F3において、フレームFMを基準
にした動きベクトルV、、V、、■、は、フレームFM
、Fl、F2.13間でフレーム相関が強い場合、次式 %式% (5) (6) の関係が成立する。
That is, as shown in FIG. 11, in successive frames FM, Fl, F2, and F3, the motion vectors V, , V, , ■, based on frame FM are the same as frame FM.
, Fl, and F2.13, the following relationship holds true.

従って、−船釣にXフレーム離間したフレームの動きベ
クトルvXは、次式 %式% (7) このことは第12図に示すように、動きベクトルの値を
aとおいて出現確率を統計的に表現すると、動きベクト
ルv1の出現確率φVl (a)を横軸方向にX倍すれ
ば、動きベクトル■8の確率φv、I (a)を表現し
得ることがわかる。
Therefore, the motion vector vX of frames spaced X frames apart during -boat fishing is calculated using the following formula (%) (7) As shown in Figure 12, this means that when the value of the motion vector is set to a, the appearance probability is calculated statistically. Expressing this, it can be seen that if the appearance probability φVl (a) of the motion vector v1 is multiplied by X in the horizontal axis direction, the probability φv,I (a) of the motion vector ■8 can be expressed.

従って動きベクトル検出回路をXで割り、余りを除いて
値aで表現すると、動きベクトルvXの出現確率1/X
φVx  (a)は、動きベクトルV、の出現確率φV
l (a)と一致し、動きベクトルv8の割り算結果及
び動きベクトルvIを同一のテーブルを用いて、最適化
し得ることがわかる。
Therefore, if we divide the motion vector detection circuit by X, remove the remainder, and express it as the value a, the probability of occurrence of the motion vector v
φVx (a) is the appearance probability φV of the motion vector V
l (a), and it can be seen that the division result of the motion vector v8 and the motion vector vI can be optimized using the same table.

この原理に基づいて、ランレングスハフマン符分化処理
回路34は、選択回路150の選択出力をリードオンリ
メモリ回路156に与え、当該選択出力をアドレスにし
て、リードオンリメモリ回路156に格納されたデータ
DVIを出力する。
Based on this principle, the run-length Huffman code differentiation processing circuit 34 provides the selection output of the selection circuit 150 to the read-only memory circuit 156, uses the selection output as an address, and sets the data DVI stored in the read-only memory circuit 156. Output.

ここで第13図に示すように、リードオンリメモリ回路
156は、入力データに対して、値0の入力データを中
心にしてコード長が順次長くなるような可変長符号化デ
ータが出力されるように設定され、これにより1フレ一
ム分に換算された動きベクトルを最適符号化する。
Here, as shown in FIG. 13, the read-only memory circuit 156 outputs variable-length encoded data in which the code length gradually increases with input data having a value of 0 as the center. The motion vector converted into one frame is thereby optimally encoded.

すなわち統計的に動きベクトルの値を検出すると、値O
の動きベクトルが最も出現確率が高く、動きベクトルの
値が大きくなるに従って、出現確率が小さくなる。
In other words, when the value of the motion vector is statistically detected, the value O
The motion vector has the highest probability of occurrence, and the probability of occurrence decreases as the value of the motion vector increases.

従ってこの実施例においては、値Oの動きベクトルが最
も短いコード表になるように符号化処理することにより
、動きベクトル伝送に要するデータ量を、全体として低
減するようになされ、これにより動画映像信号を効率良
く伝送するようになされている。
Therefore, in this embodiment, the amount of data required for motion vector transmission is reduced as a whole by encoding the motion vector of value O into the shortest code table, thereby reducing the amount of data required for motion vector transmission. It is designed to transmit information efficiently.

さらにリードオンリメモリ回路156は、出力データD
VIのコード長を表すコード長データDLLを、データ
DVIと共に出力する。
Further, the read-only memory circuit 156 outputs the output data D
Code length data DLL representing the code length of VI is output together with data DVI.

剰余出力回路160は、加算回路153の出力データを
4ti3で割り算した後、その剰余のデータをリードオ
ンリメモリ回路162に出力する。
The remainder output circuit 160 divides the output data of the adder circuit 153 by 4ti3, and then outputs the remainder data to the read-only memory circuit 162.

第14図に示すように、リードオンリメモリ回路162
は、値0の入力データに対して、コード長が1の値Oの
剰余データDV2を出力するのに対し、(Ill及び値
2の人力データに対して、コード長が2の値1、O及び
値1.1の剰余データDv2を出力する。
As shown in FIG. 14, read-only memory circuit 162
outputs residual data DV2 of value O with code length 1 for input data of value 0; and outputs residual data Dv2 with a value of 1.1.

ここでリードオンリメモリ回路162の入力データにお
いては、加算回路153で加減算処理された3倍ベクト
ルを1フレ一ム分に換算した剰余でなることから、値0
の出現確率が最も高く、値が大きくなるに従って出現確
率が小さくなる。
Here, the input data to the read-only memory circuit 162 has a value of 0 because it is the remainder obtained by converting the triple vector added and subtracted by the addition circuit 153 into one frame.
has the highest probability of occurrence, and as the value increases, the probability of occurrence decreases.

従ってこの実施例においては、出現確率が最も大きい値
0の入力データに対して、コード長が最も短い剰余デー
タDV2を出力することにより、動きベクトル伝送に要
するデータ量を、全体として低減するようになされ、こ
れにより動画映像信号を効率良く伝送するようになされ
ている。
Therefore, in this embodiment, the amount of data required for motion vector transmission is reduced as a whole by outputting residual data DV2 with the shortest code length for the input data with the highest probability of occurrence, 0. This makes it possible to efficiently transmit moving image signals.

さらにリードオンリメモリ回路162は、剰余データD
V2に同期して、当該剰余データDV2のコード長を表
すコード長データDLL2を出力する。
Furthermore, the read-only memory circuit 162 stores surplus data D.
In synchronization with V2, code length data DLL2 representing the code length of the surplus data DV2 is output.

選、沢回路164は、選択回路150に同期して接点を
切り換え、加算回路151から出力される出力データの
最下位ビット及び剰余データDV2を選択して出力する
The selection circuit 164 switches its contacts in synchronization with the selection circuit 150, and selects and outputs the least significant bit of the output data output from the addition circuit 151 and the remainder data DV2.

すなわち選択回路164は、1倍ベクトルに対して、選
択出力動作を停止する。
That is, the selection circuit 164 stops the selective output operation for the 1x vector.

さらに選択回路164は2倍ベクトルに対して、人力さ
れた最下位ビットのデータを出力し、これにより2倍ベ
クトルの値が偶数値のとき値1の選択出力をパラレルシ
リアル変換回路166に選択出力し、2倍ベクトルの値
が奇数値及び値0のとき、値Oの選択出力をパラレルシ
リアル変換回路166に出力する。
Further, the selection circuit 164 outputs the manually input data of the least significant bit for the double vector, and thereby selects and outputs a selection output of value 1 to the parallel-serial conversion circuit 166 when the value of the double vector is an even value. However, when the value of the double vector is an odd value or the value 0, a selection output of value O is output to the parallel-serial conversion circuit 166.

さらに選択回路164は、3倍ベクトルに対して、剰余
データDV2を選択出力する。
Further, the selection circuit 164 selectively outputs the residual data DV2 for the triple vector.

選択回路168は、値O及び値1の入力データDLLO
及びDLL 1とコード長データDLL2を受け、選択
回路164に同期して接点を崩り換えることにより、選
択回路164から出力される選択出力データDJのコー
ド長を表すコード長データDL2を出力する。
The selection circuit 168 selects input data DLLO of value O and value 1.
and DLL1 and code length data DLL2, and by changing the contacts in synchronization with the selection circuit 164, code length data DL2 representing the code length of the selected output data DJ output from the selection circuit 164 is output.

加算回路170は、コード長データDLL及びDL2の
加算結果をパラレルシリアル変換回路166に出力する
Adder circuit 170 outputs the addition result of code length data DLL and DL2 to parallel-serial converter circuit 166.

第15図に示すように、パラレルシリアル変換回路16
6は、リードオンリメモリ回路156の出力データDV
Iに選択回路164の出力データDJ及び加算回路17
0の加算データを付加した後、シリアルデータに変換し
て出力する。
As shown in FIG. 15, the parallel-to-serial conversion circuit 16
6 is output data DV of the read-only memory circuit 156
Output data DJ of the selection circuit 164 and addition circuit 17 to I
After adding 0 addition data, it is converted to serial data and output.

これによりパラレルシリアル変換回路166を介して、
1倍ベクトルに対して、リードオンリメモリ回路156
から出力される出力データDVI及び当該出力データD
VIのコード長データDL1がシリアルデータに変換さ
れて出力される。
As a result, via the parallel-serial conversion circuit 166,
Read-only memory circuit 156 for 1x vector
The output data DVI and the output data D output from
The code length data DL1 of VI is converted into serial data and output.

これに対して2倍ベクトルに対して、2倍ベクトルの値
が偶数値のとき、リードオンリメモリ回路156から出
力される出力データDVIに値Oの剰余ビットb1が付
加され、これにコード長データDLIに値1を加算した
加算データが付加された後、シリアルデータに変換され
て出力される。
On the other hand, when the value of the double vector is an even value, the remainder bit b1 of the value O is added to the output data DVI output from the read-only memory circuit 156, and the code length data is added to the output data DVI output from the read-only memory circuit 156. After addition data obtained by adding the value 1 to DLI is added, it is converted to serial data and output.

さらに2倍ベクトルの値が奇数値及び値Oのとき、出力
データDVIに値1の剰余ビットb1が付加され、これ
にコード長データDLIに値1を加算した加算データが
付加された後、シリアルデータに変換されて出力される
Further, when the value of the double vector is an odd value or the value O, the remainder bit b1 of value 1 is added to the output data DVI, and after addition data obtained by adding the value 1 to the code length data DLI is added, the serial It is converted to data and output.

これに対して3倍ベクトルに対して、3倍ベクトルが値
O又は値上(3n+1)(n=o、1.2・・・・・・
)のとき、出力データDVIに値Oの剰余ピッ)b+ 
が付加され、これにコード長データDL1に値lを加算
した加算データが付加された後、シリアルデータに変換
されて出力される。
On the other hand, for the triple vector, the triple vector has the value O or above the value (3n+1) (n=o, 1.2...
), the output data DVI has a remainder pi of value O)b+
is added, and added data obtained by adding the value l to the code length data DL1 is added, and then converted into serial data and output.

さらに、3倍ベクトルが値±(3n+2)(n=0.1
.2・・・・・・)のとき、出力データDVIに値1及
び0の剰余ピッ)b+及びす、が付加され、これにコー
ド長データDLIに値2を加算した加算データが付加さ
れて、シリアルデータに変換されて出力されるのに対し
、3倍ベクトルが値上(3n+3)(n=o、1 、2
−・−・・・)のとき、出力データD■1に値1及び値
1の剰余ピッ)b+及びb2が付加され、これにコード
長データDLIに値2を加算した加算データが付加され
て、シリアルデータに変換されて出力される。
Furthermore, the triple vector has the value ±(3n+2)(n=0.1
.. 2...), the output data DVI has the values 1 and 0, and the remainders b+ and s are added to it, and additional data obtained by adding the value 2 to the code length data DLI is added, While it is converted to serial data and output, the triple vector has a value of (3n+3) (n=o, 1, 2
-...), the value 1 and the remainder pi) b+ and b2 of the value 1 are added to the output data D■1, and additional data obtained by adding the value 2 to the code length data DLI is added to this. , converted to serial data and output.

かくして伝送対象側においては、このようにして可変長
符号化処理された動きベクトルのデータを、前予測基準
インデックスPID、後予測基準インデックスN I 
D、テンポラリインデックスTRに基づいて、1倍ベク
トル、2倍ベクトル又は3倍ベクトルか否か判断し得、
当該判断結果に基づいて元の動きベクトルに復号し得る
In this way, on the transmission target side, the motion vector data subjected to the variable length encoding process in this way is used as the previous prediction reference index PID and the subsequent prediction reference index N I
D. Based on the temporary index TR, it can be determined whether the vector is a 1x vector, a 2x vector, or a 3x vector;
The original motion vector can be decoded based on the determination result.

かくして1倍ベクトル、2倍ベクトル、3倍ベクトルを
、リードオンリメモリ回路156に格納された1種類の
テーブルを用いて、出現確率の高いものを優先して可変
長符号化処理し得、これにより簡易な構成で動きベクト
ルを最適化処理することができる。
In this way, the 1x vector, 2x vector, and 3x vector can be subjected to variable length encoding processing using one type of table stored in the read-only memory circuit 156, giving priority to those with a high probability of appearance. Motion vector optimization processing can be performed with a simple configuration.

さらにこのように符号化処理すれば、検出された精度を
維持して動きベクトルを伝送し得、かくして画質劣化を
有効に回避して映像信号を効率良く伝送するとことがで
きる。
Furthermore, by performing the encoding process in this manner, the motion vector can be transmitted while maintaining the detected accuracy, thus effectively avoiding image quality deterioration and efficiently transmitting the video signal.

(G2−4)受信装置の構成 第17図において、200は全体として受信装置を示し
、コンパクトディスクを再生して得られる再生データD
、を受信回路201に受ける。
(G2-4) Configuration of receiving device In FIG. 17, 200 indicates the receiving device as a whole, and playback data D obtained by playing back a compact disc.
, is received by the receiving circuit 201.

受信回路201は、伝送データに付加されたデータに基
づいて、各フレーム群の先頭を検出した後、画像データ
DVPI共に当該検出結果とを出力する。
The receiving circuit 201 detects the beginning of each frame group based on the data added to the transmission data, and then outputs the detection result together with the image data DVPI.

これにより第18図に示すように、並べ替え回路203
は、順次フレーム内符号化処理及びフレーム間符号化処
理したフレームデータPAO1PB3、Pct、PC2
・・・・・・の連続する画像データDv□ (第18図
(A))を得ることができる。
As a result, as shown in FIG.
are frame data PAO1PB3, Pct, PC2 that have been sequentially subjected to intraframe encoding processing and interframe encoding processing.
. . . continuous image data Dv□ (FIG. 18(A)) can be obtained.

並べ替え回路203は、フレーム間符号化処理した伝送
フレームデータPB3、PctSPC2・・・・・・を
7フレ一ム周期だけ遅延して出力し、これにより送信装
置l側でフレーム内符号化処理及びフレーム間符号化処
理した順序(すなわち復号化処理する順序と一致する)
にフレームデータPAO1PA6、PB3、PCI、P
C2・・・・・・を並び替えて出力する(第18図(B
))。
The rearrangement circuit 203 outputs the interframe encoded transmission frame data PB3, PctSPC2, etc. with a delay of 7 frame periods, thereby allowing the transmitting device l side to perform the intraframe encoding and processing. Interframe encoding processing order (i.e., same as decoding processing order)
Frame data PAO1PA6, PB3, PCI, P
Rearrange and output C2... (Figure 18 (B)
)).

バッファ回路204は、並べ替回路203から出力され
る画像データDv□8を一旦格納した後、所定の伝送レ
ートで続く分離回路206に出力する。
The buffer circuit 204 once stores the image data Dv□8 output from the rearrangement circuit 203, and then outputs it to the subsequent separation circuit 206 at a predetermined transmission rate.

分離回路206は、伝送データに付加されたデータに基
づいて、フレーム群インデックスGOF。
The separation circuit 206 determines the frame group index GOF based on the data added to the transmission data.

前予測基準インデックスPID、後予測基準インデック
スN I D、テンポラリインデックスTR。
Pre-prediction reference index PID, post-prediction reference index NID, temporary index TR.

予測インデックスP I NDEX、データDC(DC
M−Y、DCM−U、DCM−V) 、QUANT、動
きベクトルデータMvD−P及びMVD−Nを再現して
所定の回路に出力する。
Prediction index P I NDEX, data DC (DC
M-Y, DCM-U, DCM-V), QUANT, and motion vector data MvD-P and MVD-N are reproduced and output to a predetermined circuit.

これにより制御回路207は、コンパクトディスク駆動
再生系を制御するようになされ、第18図について上述
したように、コンパクトディスクに順次記録されたデー
タを再生して、画像データDv□8を得るようになされ
ている。
As a result, the control circuit 207 is configured to control the compact disc drive reproduction system, and as described above with reference to FIG. 18, reproduces data sequentially recorded on the compact disc to obtain image data Dv□8. being done.

さらに分離回路206は、画像データDv□からヘッダ
を除去した後、ランレングスハフマン逆符号化回路21
0に出力する。
Further, the separation circuit 206 removes the header from the image data Dv□, and then the run-length Huffman inverse encoding circuit 21
Output to 0.

ランレングスハフマン逆符号化回路210は、ランレン
グスハフマン符号化回路30(第3図)の逆処理を実行
し、これにより受信装置200側において、ランレング
スハフマン符号化回路30の入力データを再現する。
The run-length Huffman inverse encoding circuit 210 performs the inverse processing of the run-length Huffman encoding circuit 30 (FIG. 3), thereby reproducing the input data of the run-length Huffman encoding circuit 30 on the receiving device 200 side. .

逆回量子化回路211は、ランレングスハフマン逆符号
化回路210の出力データ及びマクロ単位ブロックに付
加さて伝送された量子化ステップサイズを表すデータQ
UANTを受け、逆回量子化回路22(第3図)と同様
に再量子化回路18と逆の再量子化処理を実行し、これ
により受信装置200側において、再量子化回路18の
入力データを再現する。
The inverse quantization circuit 211 receives the output data of the run-length Huffman inverse encoding circuit 210 and data Q representing the quantization step size that is added to the macro unit block and transmitted.
Upon receiving the UANT, the inverse quantization circuit 22 (FIG. 3) executes requantization processing that is inverse to that of the requantization circuit 18, and as a result, on the receiving device 200 side, the input data of the requantization circuit 18 is Reproduce.

逆染算回路212は、逆回量子化回路211の出力デー
タを受け、各マクロ単位ブロックに付加されたデータに
基づいて、乗算回路14(第3図)の逆梁算処理を実行
し、これにより受信装置200側において、乗算回路1
4の入力データを再現する。
The inverse dye calculation circuit 212 receives the output data of the inverse quantization circuit 211, and executes the inverse beam calculation process of the multiplication circuit 14 (FIG. 3) based on the data added to each macro unit block. Therefore, on the receiving device 200 side, the multiplier circuit 1
Reproduce the input data in step 4.

ディスクリートコサイン逆変換回路213は、逆染算回
路212の出力データをディスクリートコサイン変換回
路12(第3図)と逆変換し、これによりディスクリー
トコサイン変換回路12の入力データを再現する。
The discrete cosine inverse transform circuit 213 inversely transforms the output data of the inverse dye calculation circuit 212 and the discrete cosine transform circuit 12 (FIG. 3), thereby reproducing the input data of the discrete cosine transform circuit 12.

加算回路218は、適応予測回路214から出力される
予測データDp□を、ディスクリートコサイン逆変換回
路213の出力データと加算して、適応予測回路214
に出力する。
The addition circuit 218 adds the prediction data Dp□ output from the adaptive prediction circuit 214 to the output data of the discrete cosine inverse transform circuit 213,
Output to.

ランレングスハフマン逆符号化回路220は、送信装置
1のランレングスハフマン符号化回路34で可変長符号
化処理された前予測及び後予測の動きベクトルMVP、
MVNを復号して、適応予測回路214に出力する。
The run-length Huffman inverse encoding circuit 220 generates a pre-predicted motion vector MVP and a post-predicted motion vector MVP that has been subjected to variable-length encoding processing by the run-length Huffman encoding circuit 34 of the transmitting device 1;
The MVN is decoded and output to the adaptive prediction circuit 214.

適応予測回路214は、加算回路218の出力データD
fIN及び動きベクトルMVPSMVN等に基づいて、
送信装置lの適応予測回路10から出力される予測デー
タD□1を再現する。
The adaptive prediction circuit 214 receives the output data D of the addition circuit 218.
Based on fIN and motion vector MVPSMVN, etc.
The prediction data D□1 output from the adaptive prediction circuit 10 of the transmitter l is reproduced.

すなわち適応予測回路214は、フレーム内符号化処理
されたフレームデータAO,A6については、予測デー
タDPRI として直流レベルのデータDCを、加算回
路218に出力する。
That is, the adaptive prediction circuit 214 outputs DC level data DC to the addition circuit 218 as prediction data DPRI for the frame data AO and A6 that have been subjected to the intra-frame encoding process.

これにより、加算回路218を介して、フレーム内符号
化処理されたフレームデータAOSA6を再現すること
ができる。
Thereby, the frame data AOSA6 subjected to the intra-frame encoding process can be reproduced via the addition circuit 218.

さらに適応予測回路214は、送信側の適応予測回路1
0と同様に、前予測フレームメモリ回路、後予測フレー
ムメモリ回路及びインタフレームメモリ回路を有し、前
予測フレームメモリ回路、後予測フレームメモリ回路に
再現されたフレームデータAO,A6を格納して(第1
8図(C)及び(D))、フレームデータB3の予測デ
ータD、□を作威する。
Further, the adaptive prediction circuit 214 includes the adaptive prediction circuit 1 on the transmitting side.
0, it has a previous predictive frame memory circuit, a subsequent predictive frame memory circuit, and an interframe memory circuit, and stores reproduced frame data AO, A6 in the previous predictive frame memory circuit and the subsequent predictive frame memory circuit ( 1st
8 (C) and (D)), the predicted data D and □ of the frame data B3 are generated.

これにより加算回路218を介して、レベル1のフレー
ム間符号化処理されたフレームデータB3を再現するこ
とができる。
As a result, frame data B3 subjected to level 1 interframe encoding processing can be reproduced via the addition circuit 218.

さらに適応予測回路214は、再現されたフレームデー
タB3をインタフレームメモリ回路に格納して(第18
図(E))、フレームデータC1、C2、C4、C5の
予測データDPIIを作威し、かくして加算回路218
を介して、レベル2のフレーム間符号化処理されたフレ
ームデータC1、C2、C4、C5を再現することがで
きる。
Further, the adaptive prediction circuit 214 stores the reproduced frame data B3 in the interframe memory circuit (the 18th
(E)), the prediction data DPII of the frame data C1, C2, C4, C5 is generated, thus adding circuit
It is possible to reproduce frame data C1, C2, C4, and C5 that have been subjected to level 2 interframe coding processing.

さらに適応予測回路214は、再現されたフレームデー
タAO,,A6、B3・・・・・・を、元の配列順序に
戻して出力する(第18図(F))。
Further, the adaptive prediction circuit 214 returns the reproduced frame data AO, , A6, B3, . . . to the original arrangement order and outputs them (FIG. 18(F)).

受信装置200は、補間回路(図示せず)を有し、再現
されたフレームデータに基づいて、送信装置側1で間引
かれたライン、フレームを補間して出力するようになさ
れ、これにより元の入力映像信号VDINを再現する。
The receiving device 200 has an interpolation circuit (not shown), and is configured to interpolate and output the lines and frames thinned out on the transmitting device side 1 based on the reproduced frame data. The input video signal VDIN is reproduced.

かくしてコンパクトディスクに高能率符号処理して記録
された映像信号を再生することができる。
In this way, it is possible to reproduce a video signal recorded on a compact disc by high-efficiency encoding processing.

(G3)実施例の動作 以上の構成において、入力映像信号VDいは、画像デー
タ入力部2で、ディジタル信号に変換された後、データ
量が1/4に低減されて、順次フレームデータAO1C
1、C2、B3・・・・・・の連続する映像信号VD(
第1図(A))に変換される。
(G3) Operation of the embodiment In the above configuration, after the input video signal VD is converted into a digital signal in the image data input section 2, the data amount is reduced to 1/4, and the frame data AO1C is sequentially converted into a digital signal.
1, C2, B3... Continuous video signals VD(
1(A)).

映像信号VDは、並べ替回路4で、フレームデータAO
,CI、C2、B3・・・・・・が6フレ一ム単位のフ
レーム群に分割された後、符号化処理する順序AO,A
6、B3、C1、C2、C4、C5・・・・・・(すな
わちフレーム内符号化処理するフレームデータAO1A
6、レベル1のフレーム間符号化処理するフレームデー
タB3、レベル2のフレーム間符号化処理するフレーム
データC1、C2、C4、C5の順序でなる)に並べ替
えられた後、所定の識別データGOFSP ID、N 
ID5TRと共に出力される。
The video signal VD is processed by the rearrangement circuit 4 as frame data AO.
, CI, C2, B3... after being divided into a frame group of 6 frames, the encoding processing order AO, A
6, B3, C1, C2, C4, C5... (i.e., frame data AO1A to be intra-frame encoded)
6. Frame data B3 to be subjected to level 1 interframe encoding processing, frame data C1, C2, C4, and C5 to be subjected to level 2 interframe encoding processing), and then predetermined identification data GOFSP ID,N
It is output together with ID5TR.

かくして符号化処理する順序AO1A6、B3、CI、
C2、C4、C5、C7、・・・・・・に並べ替えた後
、所定の識別データGOF、PID、NID、TRを付
加して出力したことにより、続くフレーム内符号化処理
及びフレーム間符号化処理を簡略化することができる。
Thus, the order of encoding processing is AO1A6, B3, CI,
After sorting into C2, C4, C5, C7, etc., predetermined identification data GOF, PID, NID, TR are added and output, resulting in subsequent intra-frame encoding processing and inter-frame encoding. The conversion process can be simplified.

並べ替えられた画像データDVMは、動きベクトル検出
回路6のブロック化回路84で、マクロ単位ブロックに
分割された後、所定のタイミングで、適応予測回路10
に出力される。
The rearranged image data DVM is divided into macro unit blocks by the blocking circuit 84 of the motion vector detection circuit 6, and then divided into macro unit blocks by the adaptive prediction circuit 10 at a predetermined timing.
is output to.

さらに並べ替えられた画像データDVNの内、フレーム
データAO,B3、A6は、それぞれ前予測フレームメ
モリ回路89、インタフレームメモリ回路90及び後予
測フレームメモリ回路88に格納され、これにより選択
回路139及び140を介して、順次フレームデータB
3、C1、C2、・・・・・・の動きベクトルMV3 
PSMV3N、MV IP、MVIN、MV2P、MV
2N・・・・・・が検出される。
Furthermore, among the rearranged image data DVN, frame data AO, B3, and A6 are stored in the previous prediction frame memory circuit 89, the interframe memory circuit 90, and the rear prediction frame memory circuit 88, respectively, and thereby the selection circuit 139 and 140, sequential frame data B
3. Motion vector MV3 of C1, C2,...
PSMV3N, MV IP, MVIN, MV2P, MV
2N... is detected.

これに対して適応予測回路10に出力された画像データ
DwHは、マクロ単位ブロック毎に輝度信号、色差信号
の画像データの平均値が得られ、当該平均値データが直
流データDCとして伝送データ合成回路32に出力され
る。
On the other hand, for the image data DwH output to the adaptive prediction circuit 10, the average value of the image data of the luminance signal and color difference signal is obtained for each macro unit block, and the average value data is used as direct current data DC to the transmission data synthesis circuit. 32.

さらに適応予測回路10に人力された画像データDVH
は、フレームデータAO,A6、B3(加算回路2日で
再現されたフレームデータでなる)を基準にして、選択
予測化処理され、マクロ単位ブロックごとに、それぞれ
後予測、前予測、補間予測の偏差データΔFN、ΔFP
、ΔFNP (第1図)が得られる。
Furthermore, the image data DVH manually entered into the adaptive prediction circuit 10
is subjected to selective prediction processing based on frame data AO, A6, and B3 (consisting of frame data reproduced in two days of adding circuits), and post-prediction, pre-prediction, and interpolation prediction are performed for each macro unit block. Deviation data ΔFN, ΔFP
, ΔFNP (Fig. 1) are obtained.

偏差データΔFN、ΔFP、ΔFNPは、データ量の最
も小さいものが検出され、これより選択予測結果が、マ
クロ単位ブロック毎に検出される。
As for the deviation data ΔFN, ΔFP, and ΔFNP, the one with the smallest amount of data is detected, and from this, the selected prediction result is detected for each macro unit block.

後予測、前予測、補間予測したフレームデータFN、F
P、FNPは、予測選択結果に応じて選択出力され、こ
れにより予測データD PI+が作成されて減算回路8
に出力される。
Post-predicted, pre-predicted, and interpolated predicted frame data FN, F
P and FNP are selectively outputted according to the prediction selection result, thereby creating prediction data DPI+, which is sent to the subtraction circuit 8.
is output to.

これに対して、選択予測結果は、識別データP[NDE
Xとして伝送データ合成回路32に出力される。
On the other hand, the selection prediction result is the identification data P[NDE
It is output as X to the transmission data synthesis circuit 32.

予測データD、□は、減算回路8において、画像データ
DVNと減算され、これにより偏差データD2が作成さ
れる。
The predicted data D, □ are subtracted from the image data DVN in a subtraction circuit 8, thereby creating deviation data D2.

偏差データD2は、ディスクリートコサイン変換回路1
2で、DCTの手法を用いて、マクロ単位ブロック毎に
変換される。
The deviation data D2 is obtained by the discrete cosine conversion circuit 1.
2, each macro unit block is transformed using the DCT method.

ディスクリートコサイン変換回路12の出力データは、
乗算回路14で、動きベクトル検出回路6から出力され
る誤差データERに応じて、重み付は処理された後、再
量子化回路18で、当該誤差データER,ディスクリー
トコサイン変換回路12の出力データ量、バッファ回路
21の入力データ量に応じた量子化ステップサイズで再
量子化される。
The output data of the discrete cosine conversion circuit 12 is
In the multiplication circuit 14, the weighting is processed according to the error data ER output from the motion vector detection circuit 6, and then in the requantization circuit 18, the error data ER and the output data amount of the discrete cosine transform circuit 12 are processed. , is requantized with a quantization step size corresponding to the input data amount of the buffer circuit 21.

かくして、重み付は処理すると共に、誤差データfER
、ディスクリートコサイン変換回路12の出力データ量
、バッファ回路21の入力データ鼠に応じた量子化ステ
ップサイズで再量子化することにより、動rI!iiB
!ll像信号を高品質で、かつ各フレームデータを所定
のデータ量で伝送することができる。
Thus, the weighting process and the error data fER
, the amount of output data of the discrete cosine transform circuit 12, and the input data of the buffer circuit 21 by requantizing with a quantization step size corresponding to the amount of output data of the discrete cosine transform circuit 12 and the input data of the buffer circuit 21. iiB
! It is possible to transmit the ll image signal with high quality and each frame data with a predetermined amount of data.

再量子化された画像データは、ランレングスハフマン符
号化回路30で可変化長符号化処理された後、伝送デー
タ合成回路32で、所定のフォーマットに従って、可変
化長符号化処理された後、所定のフォーマットでコンパ
クトディスクに記録される。
The requantized image data is variable length encoded in a run length Huffman encoding circuit 30, then variable length encoded in a transmission data synthesis circuit 32 according to a predetermined format, and then converted into a predetermined recorded on a compact disc in this format.

これに対して、動きベクトル検出回路6で検出された動
きベクトルは、ランレングスハフマン符号化回路34に
出力される。
On the other hand, the motion vector detected by the motion vector detection circuit 6 is output to the run-length Huffman encoding circuit 34.

ここで動きベクトルは、1フレ一ム分のベクトルに換算
された後、適応符号化処理され、剰余データ及び動きベ
クトルの種類を表すデータ(すなわち前予測基準インデ
ックスPID、後予測基準インデックスNID、テンポ
ラリインデックスTRで検出し得る)と共にコンパクト
ディスクに記録される。
Here, the motion vector is converted into a vector for one frame, and then adaptively encoded, and residual data and data representing the type of motion vector (i.e., the previous prediction reference index PID, the subsequent prediction reference index NID, and the temporary (which can be detected with index TR) is recorded on the compact disc.

さらに再量子化された画像データは、逆回量子化回路2
2、逆梁算回路24、ディスクリートコサイン逆変換回
路26を介して、ディスクリートコサイン変換回路12
の入力データに逆変換された後、加算回路28で適応予
測回路10から出力される予測データD、□と加算処理
されることにより、減算回路8の入力データを再現して
なるフレームデータD、に変換される。
Furthermore, the requantized image data is processed by an inverse quantization circuit 2.
2. Discrete cosine transform circuit 12 via inverse beam calculation circuit 24 and discrete cosine inverse transform circuit 26
After being inversely transformed into input data, the addition circuit 28 adds the predicted data D, □ output from the adaptive prediction circuit 10 to frame data D, which reproduces the input data of the subtraction circuit 8. is converted to

かくして当該フレームデータD、は、適応予測回路10
に格納され、それぞれ前予測、後予測の予測フレームと
して用いられる。
Thus, the frame data D is processed by the adaptive prediction circuit 10.
and are used as predicted frames for forward prediction and backward prediction, respectively.

これにより続いて減算回路8に入力されるフレー1、デ
ータについて8NデータD P II +が作成され、
順次伝送フレームデータDATAを得ることができる。
As a result, 8N data D P II + is created for the Frame 1 data that is subsequently input to the subtraction circuit 8.
Transmission frame data DATA can be obtained sequentially.

これに対して受信装置200において、コンパクトディ
スクを再生して得られる再生データD□は、受信回路2
01に入力され、各フレーム群の先頭が検出された後、
当該検出結果と共に並べ替回路203に出力され、順次
フレーム内符号化処理及びフレーム間符号化処理したフ
レームデータPAO1PB3、pci、PO2・・・・
・・の連続する画像データDVPINに並べ替えられる
On the other hand, in the receiving device 200, the reproduced data D□ obtained by reproducing the compact disc is transmitted to the receiving circuit 200.
01 and after the beginning of each frame group is detected,
Frame data PAO1PB3, pci, PO2, etc. are output to the rearrangement circuit 203 together with the detection results and subjected to sequential intra-frame encoding processing and inter-frame encoding processing.
The image data is sorted into consecutive image data DVPIN.

並べ替えられたフレームデータは、バッファ回路204
を介して分離回路206に出力され、ここでフレームデ
ータに付加されて伝送されたフレーム群インデックスG
OF、前予測基準インデックスPID、後予測基準イン
デックスNID等が再現される。
The rearranged frame data is sent to the buffer circuit 204.
The frame group index G is output to the separation circuit 206 via the frame data, and is added to the frame data and transmitted.
OF, the previous prediction reference index PID, the subsequent prediction reference index NID, etc. are reproduced.

分離回路206から出力されるフレームデータは、ラン
レングスハフマン逆符号化回路210、逆回量子化回路
211、逆梁算回路212、ディスクリートコサイン逆
変換111213を介して逆変換され、これによりディ
スクリートコサイン変換回路12の人力データが再現さ
れる。
The frame data output from the separation circuit 206 is inversely transformed via a run length Huffman inverse encoding circuit 210, an inverse quantization circuit 211, an inverse beam calculation circuit 212, and a discrete cosine inverse transform 111213, thereby performing discrete cosine transform. The human power data of circuit 12 is reproduced.

ディスクリートコサイン逆変換回路213の出力データ
は、加算回路218で、適応予測回路2I4から出力さ
れる予)則データDPI+ と加筆され、その結果得ら
れる加算データD?INが適応予測回路214に出力さ
れる。
The output data of the discrete cosine inverse transform circuit 213 is added to the predetermined rule data DPI+ output from the adaptive prediction circuit 2I4 in an adder circuit 218, and the resulting added data D? IN is output to adaptive prediction circuit 214.

適応予測回路214において、フレーム内符号化処理し
たフレームデータについては、伝送された直流レベルの
データDCが予測データD ?ll として出力され、
これにより加算回路218を介して、フレームデータA
O,A6、A12を順次再現してなる出力データD T
 I Nを得ることができる。
In the adaptive prediction circuit 214, regarding the intra-frame encoded frame data, the transmitted DC level data DC is predicted data D? It is output as ll,
As a result, frame data A is transmitted via the adder circuit 218.
Output data DT obtained by sequentially reproducing O, A6, and A12
You can get IN.

加算回路218の出力データD T I Nの内、フレ
ームデータAO1A6は、適応予測回路214において
、続くフレームデータB3、CI、C2、C4・・・・
・・の復号に用いられ、その復号されたフレームデータ
AOSA6、B3、C1、C2、C4・・・・・・が、
選択予測回路214で、元の順序に配列されて出力され
、かくして高能率符号化して伝送した動画映像信号を再
生することができる。
Out of the output data D T I N of the adder circuit 218, the frame data AO1A6 is processed in the adaptive prediction circuit 214 for the following frame data B3, CI, C2, C4...
... is used for decoding, and the decoded frame data AOSA6, B3, C1, C2, C4...
The selection prediction circuit 214 arranges and outputs the signals in the original order, thus making it possible to reproduce the highly efficient encoded and transmitted moving image signal.

(G4)実施例の効果 以上の構成によれば、2倍ベクトルMvIN、MV2P
、、MV4N、Mv5P、3倍ベクトルMV3N、MV
3Pを1フレ一ム分のベクトルに換算して、出現確率の
高いものを優先して可変長符号化処理することにより、
共通のテーブルを用いて符号化処理し得、かくして簡易
な構成で動きベクトルを最適化処理することができる。
(G4) Effects of the Example According to the above configuration, double vector MvIN, MV2P
,,MV4N, Mv5P, triple vector MV3N, MV
By converting 3P into a vector for one frame and performing variable length encoding processing with priority given to those with a high probability of appearance,
Encoding processing can be performed using a common table, and thus motion vector optimization processing can be performed with a simple configuration.

(G5)他の実施例 (1)なお上述の実施例においては、順次連続するフレ
ームデータを6フレ一ム単位で区切り、その中で検出さ
れた2フレーム及び3フレーム離れた動きベクトルを伝
送する場合について述べたが、本発明はこれに限らず、
複数フレーム離れたフレーム間の動きベクトルを伝送す
る場合に広く適応することができる。
(G5) Other embodiments (1) In the above embodiment, sequential frame data is divided into units of 6 frames, and motion vectors detected in 2 frames and 3 frames apart are transmitted. Although the case has been described, the present invention is not limited to this.
It is widely applicable to transmitting motion vectors between frames separated by multiple frames.

(2)さらに上述の実施例においては、コンパクトディ
スクに映像信号を記録する場合について述べたが、本発
明はこれに限らず、磁気テープ等、種々の記録媒体に映
像信号を記録する場合、さらには直接袋1言装置に伝送
する場合に広く適応することができる。
(2) Further, in the above embodiment, the case where a video signal is recorded on a compact disc is described, but the present invention is not limited to this, and the present invention is applicable to the case where a video signal is recorded on various recording media such as a magnetic tape. can be widely applied when directly transmitting a message to a device.

H発明の効果 上述のように本発明によれば、複数フレーム離れたフレ
ーム間の動きベクトルを、1フレ一ム分のベクトルに換
算し、最適化処理して伝送することにより、簡易な構成
で動きベクトルを最適化処理して伝送することができる
Effects of the Invention As described above, according to the present invention, motion vectors between frames separated by a plurality of frames are converted into vectors for one frame, and the motion vectors are optimized and transmitted, resulting in a simple configuration. The motion vector can be optimized and transmitted.

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

第1図は本発明の一実施例による映像信号伝送方式の説
明に供する路線図、第2図はその動作の説明に供する路
線図、第3図は伝送装置の全体構成を示すブロック図、
第4図(1)及び(2)は動きベクトル検出回路を示す
ブロック図、第5図(1)及び(2)はその動作の説明
に供する路線図、第6図はフレームデータの説明に供す
る路線図、第7図及び第8図は動きベクトルの検出原理
の説明に供する路線図、第9図は動きベクトルの優先検
出の説明゛に供する特性曲線図、第10図はランレング
スハフマン符号化回路を示すブロック図、第11図及び
第12図は動きベクトルの符号化処理の説明に供する路
線図、第13図及び第14図はリードオンリメモリ回路
の説明に供する路線図、第15及び第16図は符づ化処
理された動きベクトルのデータを示す路線図、第17図
は受信装置を示すブロック図、第18図はその動作の説
明に供する路線図、第19図及び第20図は問題点の説
明に供する路線図である。 l・・・・・・送信装置、4.33.203・・・・・
・並べ替回路、6・・・・・・動きベクトル検出回路、
10,214・・・・・・適応予測回路、18・・・・
・・再量子化回路、22.211・・・・・・逆回量子
化回路、200・・・・・・受信装置。
FIG. 1 is a route diagram for explaining a video signal transmission system according to an embodiment of the present invention, FIG. 2 is a route diagram for explaining its operation, and FIG. 3 is a block diagram showing the overall configuration of a transmission device.
Figures 4 (1) and (2) are block diagrams showing the motion vector detection circuit, Figures 5 (1) and (2) are route maps explaining its operation, and Figure 6 is a diagram explaining frame data. Route map, Figures 7 and 8 are route maps for explaining the principle of motion vector detection, Figure 9 is a characteristic curve diagram for explaining priority detection of motion vectors, and Figure 10 is run-length Huffman encoding. 11 and 12 are block diagrams showing the circuit; FIGS. 11 and 12 are route diagrams for explaining motion vector encoding processing; FIGS. 13 and 14 are route diagrams for explaining the read-only memory circuit; FIG. 16 is a route map showing encoded motion vector data, FIG. 17 is a block diagram showing the receiving device, FIG. 18 is a route map explaining its operation, and FIGS. 19 and 20 are It is a route map for explaining problems. l...Transmitting device, 4.33.203...
・Reordering circuit, 6...Motion vector detection circuit,
10,214...adaptive prediction circuit, 18...
... Requantization circuit, 22.211 ... Reverse quantization circuit, 200 ... Receiving device.

Claims (1)

【特許請求の範囲】 所定の基準フレームからの動きベクトルを検出し、上記
動きベクトルを用いて、フレーム間符号化処理して映像
信号を伝送する映像信号伝送装置において、 上記基準フレームから複数フレーム離れたフレームの動
きベクトルを、上記基準フレームから上記複数フレーム
離れたフレームまでの1フレーム分の動きベクトルに換
算し、最適化処理して伝送するようにした ことを特徴とする映像信号伝送装置。
[Scope of Claims] A video signal transmission device that detects a motion vector from a predetermined reference frame, performs interframe encoding processing using the motion vector, and transmits a video signal, wherein a plurality of frames apart from the reference frame are provided. A video signal transmission device characterized in that a motion vector of a frame separated from the reference frame is converted into a motion vector of one frame from the reference frame to a frame separated by a plurality of frames, and the motion vector is optimized and transmitted.
JP26704689A 1989-10-14 1989-10-14 Motion vector transmission method and apparatus, and motion vector decoding method and apparatus Expired - Lifetime JP2712645B2 (en)

Priority Applications (10)

Application Number Priority Date Filing Date Title
JP26704689A JP2712645B2 (en) 1989-10-14 1989-10-14 Motion vector transmission method and apparatus, and motion vector decoding method and apparatus
EP90311145A EP0424026B1 (en) 1989-10-14 1990-10-11 Video signal transmitting system and method
EP96101178A EP0713340B1 (en) 1989-10-14 1990-10-11 Video signal coding/decoding method and apparatus
DE69033797T DE69033797T2 (en) 1989-10-14 1990-10-11 Method and arrangement for encoding / decoding a video signal
DE69031107T DE69031107T2 (en) 1989-10-14 1990-10-11 Arrangement and method for transmitting a video signal
DE69033782T DE69033782T2 (en) 1989-10-14 1990-10-11 Method and arrangement for encoding / decoding a video signal
EP96101179A EP0715469B1 (en) 1989-10-14 1990-10-11 Video signal coding/decoding method and apparatus
AU64581/90A AU6458190A (en) 1989-10-14 1990-10-12 Video signal transmitting system
US07/596,491 US5132792A (en) 1989-10-14 1990-10-12 Video signal transmitting system
US08/277,143 USRE37222E1 (en) 1989-10-14 1994-07-19 Video signal transmitting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26704689A JP2712645B2 (en) 1989-10-14 1989-10-14 Motion vector transmission method and apparatus, and motion vector decoding method and apparatus

Publications (2)

Publication Number Publication Date
JPH03129986A true JPH03129986A (en) 1991-06-03
JP2712645B2 JP2712645B2 (en) 1998-02-16

Family

ID=17439289

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26704689A Expired - Lifetime JP2712645B2 (en) 1989-10-14 1989-10-14 Motion vector transmission method and apparatus, and motion vector decoding method and apparatus

Country Status (1)

Country Link
JP (1) JP2712645B2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7170741B2 (en) 1998-11-11 2007-01-30 Lg. Philips Lcd Co., Ltd. Portable computer and method for mounting a flat panel display device module
US7511949B2 (en) 1997-05-24 2009-03-31 Lg Display Co., Ltd. Method of mounting liquid crystal display module and apparatus thereof
JP2011097572A (en) * 2009-09-29 2011-05-12 Canon Inc Moving image-encoding device
US9749642B2 (en) 2014-01-08 2017-08-29 Microsoft Technology Licensing, Llc Selection of motion vector precision
US9774881B2 (en) 2014-01-08 2017-09-26 Microsoft Technology Licensing, Llc Representing motion vectors in an encoded bitstream
US9888237B2 (en) 2002-01-25 2018-02-06 Microsoft Technology Licensing, Llc Video coding
US9942560B2 (en) 2014-01-08 2018-04-10 Microsoft Technology Licensing, Llc Encoding screen capture data
US10063863B2 (en) 2003-07-18 2018-08-28 Microsoft Technology Licensing, Llc DC coefficient signaling at small quantization step sizes
US10116959B2 (en) 2002-06-03 2018-10-30 Microsoft Technology Licesning, LLC Spatiotemporal prediction for bidirectionally predictive (B) pictures and motion vector prediction for multi-picture reference motion compensation

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7305034B2 (en) 2002-04-10 2007-12-04 Microsoft Corporation Rounding control for multi-stage interpolation
US7620109B2 (en) 2002-04-10 2009-11-17 Microsoft Corporation Sub-pixel interpolation in motion estimation and compensation

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7511949B2 (en) 1997-05-24 2009-03-31 Lg Display Co., Ltd. Method of mounting liquid crystal display module and apparatus thereof
US7170741B2 (en) 1998-11-11 2007-01-30 Lg. Philips Lcd Co., Ltd. Portable computer and method for mounting a flat panel display device module
US10284843B2 (en) 2002-01-25 2019-05-07 Microsoft Technology Licensing, Llc Video coding
US9888237B2 (en) 2002-01-25 2018-02-06 Microsoft Technology Licensing, Llc Video coding
US10116959B2 (en) 2002-06-03 2018-10-30 Microsoft Technology Licesning, LLC Spatiotemporal prediction for bidirectionally predictive (B) pictures and motion vector prediction for multi-picture reference motion compensation
US10063863B2 (en) 2003-07-18 2018-08-28 Microsoft Technology Licensing, Llc DC coefficient signaling at small quantization step sizes
JP2011097572A (en) * 2009-09-29 2011-05-12 Canon Inc Moving image-encoding device
US9749642B2 (en) 2014-01-08 2017-08-29 Microsoft Technology Licensing, Llc Selection of motion vector precision
US9942560B2 (en) 2014-01-08 2018-04-10 Microsoft Technology Licensing, Llc Encoding screen capture data
US9900603B2 (en) 2014-01-08 2018-02-20 Microsoft Technology Licensing, Llc Selection of motion vector precision
US9774881B2 (en) 2014-01-08 2017-09-26 Microsoft Technology Licensing, Llc Representing motion vectors in an encoded bitstream
US10313680B2 (en) 2014-01-08 2019-06-04 Microsoft Technology Licensing, Llc Selection of motion vector precision
US10587891B2 (en) 2014-01-08 2020-03-10 Microsoft Technology Licensing, Llc Representing motion vectors in an encoded bitstream

Also Published As

Publication number Publication date
JP2712645B2 (en) 1998-02-16

Similar Documents

Publication Publication Date Title
US5132792A (en) Video signal transmitting system
JP2540809B2 (en) High efficiency encoder
EP0584840B1 (en) Apparatus for adaptive interframe predictive decoding of a video signal
KR100227533B1 (en) Video signal decoding method and apparatus
JPH04115686A (en) High efficiency coder for digital picture signal
JPS61118085A (en) Coding system and device for picture signal
JPH11317951A (en) Data encoding device/method and data transmitting method
EP0577365A2 (en) Encoding and decoding of picture signals
JPH03129986A (en) Video signal transmitting equipment
US5068726A (en) Coding apparatus that temporally interpolates block data and selects transmission mode
EP0899963A2 (en) Moving picture data decoding apparatus
RU2287909C2 (en) Method and device for converting digital picture signal
JPH03226193A (en) Video signal transmitter
JP2830183B2 (en) Motion vector detection device and motion vector detection method
JP2808860B2 (en) Predictive encoding device and decoding device
JP3159310B2 (en) Video signal encoding method and video signal encoding device
KR100233419B1 (en) Motion vector transmitting method, motion vector transmitting apparatus, motion vector decoding method and motion vector decoding apparatus
JP2959714B2 (en) Motion vector detection method
JP2798244B2 (en) High-efficiency code decoding device
CA2027659C (en) Video signal transmitting system
JPH03247190A (en) Moving vector detection circuit
JP2778629B2 (en) High efficiency coding device
JPH08317407A (en) Method and device for video signal transmission
JP2712299B2 (en) High-efficiency code decoding device
JPH08331510A (en) Video signal recording medium

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091031

Year of fee payment: 12

EXPY Cancellation because of completion of term