JPH04280190A - Picture decoding device - Google Patents

Picture decoding device

Info

Publication number
JPH04280190A
JPH04280190A JP3017878A JP1787891A JPH04280190A JP H04280190 A JPH04280190 A JP H04280190A JP 3017878 A JP3017878 A JP 3017878A JP 1787891 A JP1787891 A JP 1787891A JP H04280190 A JPH04280190 A JP H04280190A
Authority
JP
Japan
Prior art keywords
frame
signal
image
prediction
selector
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3017878A
Other languages
Japanese (ja)
Inventor
Kenichi Asano
浅野 研一
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP3017878A priority Critical patent/JPH04280190A/en
Publication of JPH04280190A publication Critical patent/JPH04280190A/en
Pending legal-status Critical Current

Links

Landscapes

  • Color Television Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PURPOSE:To make the sequence of a picture frame outputted from a decoder coincident with a frame displaying the sequence when a picture signal applying movement compensation inter-frame prediction coding is decoded. CONSTITUTION:A selector 13 is thrown to the position (g) with a selector control signal 111 outputted from a prediction mode control section 12 to use a picture signal stored in a frame memory 4 as the output of the device in order to the prediction signal when a picture frame subject to in-frame coding and a picture frame applied with movement compensation prediction from one preceding decoded frame are decoded. Moreover, when a picture frame implementing both forward and backward movement compensation prediction is decoded, the selector control signal 111 is used to thrown the selector 13 to the position of (f) and the picture signal during decoding is used as the output of the device.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、高能率符号化された画
像信号を再生するための画像復号化装置に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image decoding device for reproducing a highly efficiently encoded image signal.

【0002】0002

【従来の技術】伝送画像信号のデータ量を低減するため
に、画像の高能率符号化処理が行われるが、本発明では
、動き補償付きフレーム間予測符号化方式で、特に前向
き動き補償フレーム間予測を行うフレーム、後ろ向き動
き補償フレーム間予測を行うフレーム若しくは前向き後
ろ向き両方向動き補償フレーム間予測を行うフレームが
混在する方式を対象にしている。動き補償予測は、例え
ば特公昭63−20075号公報に記載されているよう
に、現入力フレームの画像信号を、既に符号化が終了し
たフレームの画像信号から各部分の動き分を補償しなが
ら予測し、予測誤差信号の持つ情報量を削減する技術で
ある。動き補償において、予測に用いるフレームが、現
入力フレームよりも時間的に過去のフレームである場合
を前向き動き補償、現入力フレームよりも時間的に未来
のフレームである場合を後ろ向き補償、過去のフレーム
と未来のフレームの両方から予測を行う場合を前向き後
ろ向き両方向動き補償と呼ぶ。
2. Description of the Related Art In order to reduce the data amount of a transmitted image signal, high-efficiency image encoding processing is performed. In the present invention, a forward motion compensated interframe predictive encoding method is used. The target is a system in which there is a mixture of frames for prediction, frames for backward motion-compensated inter-frame prediction, or frames for forward-backward motion-compensated inter-frame prediction. Motion compensation prediction, as described in Japanese Patent Publication No. 63-20075, predicts the image signal of the current input frame from the image signal of the frame that has already been encoded while compensating for the motion of each part. This is a technology that reduces the amount of information contained in the prediction error signal. In motion compensation, forward motion compensation is used when the frame used for prediction is a frame temporally past the current input frame, and backward compensation is used when the frame used for prediction is a frame temporally future than the current input frame. The case where prediction is performed from both the forward and future frames is called forward-backward bidirectional motion compensation.

【0003】図4は上記のように、他のフレームから動
き補償予測を行うフレームと、他のフレームを用いず現
入力フレームのみを用いて符号化を行うフレーム内符号
化フレームとを適当なフレーム間隔で行っている様子を
示す。図において、1から11はフレームのNo.で、
I、P、Bは各々予測の方式を表わし、Iはフレーム内
符号化フレーム、Pは前向き動き補償予測フレーム、B
は前向き後ろ向き両方向動き補償予測フレームである。 画像フレームNo.1はフレーム内符号化フレームであ
り、他のフレームを用いず独自に符号化を行う。次に画
像フレームNo.1の符号化結果から前向き動き補償予
測を用いて画像フレームNo.4を符号化する。そして
画像フレームNo.1とNo.4の符号化結果から、画
像フレームNo.2、No.3に両方向動き補償予測を
用いた符号化を行う。さらに画像フレームNo.4の符
号化結果を用いて画像フレームNo.7を前向き動き補
償予測で符号化する。そして画像フレームNo.4とN
o.7を用いて、画像フレームNo.5、No.6の符
号化を行う。以下同様にNo.10、No.8、No.
9の符号化を順に行っていく。復号化装置には、上記の
ように符号化を行ったフレームの順番に従って画像フレ
ームが入力されるので、図4の例の場合、復号化装置に
入力される画像フレームの順番は、1、4、2、3、7
、5、6、10、8、9、・・・となる。
FIG. 4 shows, as described above, a frame for which motion compensation prediction is performed from other frames and an intra-frame encoded frame for which encoding is performed using only the current input frame without using other frames. This shows how it is done at intervals. In the figure, 1 to 11 are frame numbers. in,
I, P, and B each represent a prediction method, where I is an intraframe coded frame, P is a forward motion compensation predicted frame, and B
is a forward-backward motion-compensated prediction frame. Image frame no. 1 is an intra-frame encoded frame, which performs encoding independently without using other frames. Next, image frame No. From the encoding result of No. 1, image frame No. 1 is extracted using forward motion compensation prediction. 4 is encoded. And image frame no. 1 and no. From the encoding result of No. 4, image frame No. 2.No. In step 3, encoding is performed using bidirectional motion compensation prediction. Furthermore, image frame No. Using the encoding result of No. 4, image frame No. 7 is encoded using forward motion compensated prediction. And image frame no. 4 and N
o. 7, image frame No. 7 is used. 5, No. 6 is encoded. Similarly, No. 10, No. 8, No.
9 are encoded in sequence. Image frames are input to the decoding device according to the order of encoded frames as described above, so in the example of FIG. 4, the order of image frames input to the decoding device is 1, 4. , 2, 3, 7
, 5, 6, 10, 8, 9, and so on.

【0004】実際の符号化において、フレーム内符号化
フレームでは、動き補償のブロック単位(1つのフレー
ムを所定の画素数で分けたもの)でフレーム内符号化を
行っているが、前向き動き補償予測対応のフレームでは
、動き補償のブロック単位でフレーム内符号化と前向き
動き補償予測符号化が適宣切換えて使用される。また、
両方向動き補償予測対応のフレームでは、フレーム内符
号化、前向き、後ろ向き、両方向が切換えて使用される
。これは符号化効率を上げるために行われているが、こ
の関係を図6にフレーム予測モード、ブロック予測モー
ドとして表わしている。
[0004] In actual encoding, intra-frame encoding is performed in motion compensation block units (one frame divided by a predetermined number of pixels), but forward motion compensation prediction In the corresponding frame, intraframe coding and forward motion compensation predictive coding are used while being switched as appropriate for each block of motion compensation. Also,
In a frame compatible with bidirectional motion compensation prediction, intraframe coding, forward, backward, and bidirectional encoding are switched and used. This is done to improve coding efficiency, and this relationship is shown in FIG. 6 as a frame prediction mode and a block prediction mode.

【0005】図3は例えば日経エレクトロニクス199
0.10.15(No.511)P124〜P129「
画像の高能率符号化方式が一本化」特集2部の図6に示
された従来の画像復号装置のブロック図である。図3に
おいて、1は可変長復号化部で、伝送路からの画像符号
化信号を入力し、予測誤差信号を符号化した信号101
(以下信号101)、フレーム毎のフレーム内符号化・
前向き動き補償予測符号化・両方向動き補償予測符号化
の識別信号102(以下信号102)、動き補償ブロッ
ク毎のフレーム内符号化・前向き動き補償予測符号化・
後ろ向き動き補償予測符号化・両方向動き補償予測符号
化の識別信号103(以下信号103)、動き補償の動
きベクトル104(以下信号104)の各信号を出力す
る。2は逆量子化部で、信号101を入力しDCT(離
散コサイン変換)係数105(以下信号105)を出力
する。3は逆DCT部で、信号105を入力し予測誤差
信号106(以下信号106)を出力する。4はフレー
ムメモリAで、フレーム間予測を行うために11のセレ
クタBからの信号を格納する。5は動き補償予測部Aで
、4のフレームメモリAに格納されている信号を読み出
し予測信号107c(以下信号107c)を出力する。 6はフレームメモリBで、フレーム間予測を行うために
4のフレームメモリAからの信号を格納する。7は動き
補償予測部Bで、6のフレームBに格納されている信号
を読み出し予測信号107e(以下信号107e)を出
力する。8は動き補償前向き後ろ向き両方向予測部で、
4のフレームメモリA及び6のフレームメモリBに格納
されている信号を読み出し予測信号107d(以下信号
107d)を出力する。9はセレクタAで、各接点c、
d、eには信号107c、107d、107eが各々入
力され、その出力は加算器10に接続されている。 加算器10は9のセレクタAからの信号と逆DCT部3
からの信号106を加算し、復号画像信号108(以下
信号108)を作り出している。11はセレクタBで、
接点aには逆DCT部3からの信号106が入力し、接
点bには加算器10からの信号108が入力されている
。11のセレクタBの出力はこの復号化装置の出力にな
ると同時に、4のフレームAにも接続されている。12
は予測モード制御部で、信号102及び103を入力し
、その内容によりセレクタ設定信号109(以下信号1
09)を出力して11のセレクタBを切換えると共に、
セレクタ設定信号110(以下信号110)を出力して
9のセレクタAを切換えている。フレーム予測モード、
ブロック予測モードに対する9のセレクタA及び11の
セレクタBの各接点の切換えは図6に示されている。
FIG. 3 shows, for example, Nikkei Electronics 199
0.10.15 (No.511) P124-P129
FIG. 7 is a block diagram of the conventional image decoding device shown in FIG. 6 of the second special feature entitled "Single high-efficiency image encoding method." In FIG. 3, reference numeral 1 denotes a variable length decoding unit, which inputs an image encoded signal from a transmission path and encodes a prediction error signal into a signal 101.
(hereinafter signal 101), intraframe encoding/
Forward motion compensation predictive coding/bidirectional motion compensation predictive coding identification signal 102 (hereinafter referred to as signal 102), intraframe coding/forward motion compensation predictive coding for each motion compensation block,
An identification signal 103 (hereinafter referred to as signal 103) for backward motion compensation predictive encoding/bidirectional motion compensation predictive encoding and a motion vector 104 (hereinafter referred to as signal 104) for motion compensation are output. 2 is an inverse quantization unit which inputs a signal 101 and outputs a DCT (discrete cosine transform) coefficient 105 (hereinafter referred to as signal 105). 3 is an inverse DCT unit which inputs the signal 105 and outputs a prediction error signal 106 (hereinafter referred to as signal 106). A frame memory A 4 stores signals from selectors B 11 in order to perform interframe prediction. A motion compensation prediction unit A 5 reads out the signal stored in the frame memory A 4 and outputs a predicted signal 107c (hereinafter referred to as signal 107c). A frame memory B 6 stores the signal from the frame memory A 4 in order to perform interframe prediction. 7 is a motion compensation prediction unit B which reads out the signal stored in frame B of 6 and outputs a predicted signal 107e (hereinafter referred to as signal 107e). 8 is a motion-compensated forward-backward bidirectional prediction unit;
The signal stored in frame memory A of No. 4 and frame memory B of No. 6 is read out and a predicted signal 107d (hereinafter referred to as signal 107d) is output. 9 is selector A, each contact c,
Signals 107c, 107d, and 107e are input to d and e, respectively, and their outputs are connected to the adder 10. The adder 10 converts the signal from the selector A of 9 and the inverse DCT section 3
A decoded image signal 108 (hereinafter referred to as signal 108) is created by adding the signals 106 from . 11 is selector B,
A signal 106 from the inverse DCT unit 3 is input to the contact a, and a signal 108 from the adder 10 is input to the contact b. The output of selector B of No. 11 becomes the output of this decoding device, and is also connected to Frame A of No. 4 at the same time. 12
is a prediction mode control unit which inputs signals 102 and 103, and depending on the contents, selector setting signal 109 (hereinafter signal 1).
09) and switches selector B of 11,
The selector A of 9 is switched by outputting a selector setting signal 110 (hereinafter referred to as signal 110). frame prediction mode,
Switching of each contact point of selector A of 9 and selector B of 11 for the block prediction mode is shown in FIG.

【0006】次に動作について説明する。図3において
、可変長復号化部1に図4の画像フレームNo.1に対
応した画像符号化信号が入力されると、可変長復号化部
1はあらかじめ定められた手順によって復号し、固定長
符号(信号101、102、103、104)として出
力する。信号101は逆量子化部2に入力される。この
例では予測誤差信号の符号化として送信側でDCT+量
子化という手法を用いるため、復号化では逆量子化部2
で逆量化された信号はDCT係数105として逆DCT
部3に入力され、逆DCTを行って予測誤差信号106
として再生される。なおDCTに関しては橋本:「画像
符号化アルゴリズムII−変換符号化」、テレビジョン
学会誌vol43No.10(1989)pp1145
〜1152に詳細に説明されているように、高能率符号
化技術として注目されている直交変換の一種である。 さて、画像フレームNo.1はフレーム内符号化された
フレームなので、図6に示すように全ての動き補償予測
ブロックはフレーム内符号化されている。このため信号
109により11のセレクタBは常にa側に設定される
。この結果、信号106として再生された予測誤差信号
は復号画像信号として復号化装置から外部に出力される
と同時に、次フレームの復号の準備のため4のフレーム
メモリAに書き込まれる。こうして画像フレームNo.
1の復号が終了すると、4のフレームメモリAには画像
フレームNo.1の復号画像信号が格納される。
Next, the operation will be explained. In FIG. 3, the variable length decoding unit 1 receives the image frame number of FIG. When an image encoded signal corresponding to 1 is input, the variable length decoding unit 1 decodes it according to a predetermined procedure and outputs it as a fixed length code (signals 101, 102, 103, 104). Signal 101 is input to inverse quantization section 2 . In this example, a method called DCT+quantization is used on the transmitting side to encode the prediction error signal, so in decoding, the inverse quantization unit 2
The signal inversely quantified is subjected to inverse DCT with a DCT coefficient of 105.
The prediction error signal 106 is inputted to the prediction error signal 106 and subjected to inverse DCT.
is played as. Regarding DCT, see Hashimoto: "Image Coding Algorithm II-Transform Coding", Journal of the Society of Television Engineers, vol. 43, No. 10 (1989) pp1145
1152, this is a type of orthogonal transformation that is attracting attention as a high-efficiency encoding technique. Now, image frame No. Since 1 is an intra-frame encoded frame, all motion compensation prediction blocks are intra-frame encoded as shown in FIG. Therefore, the signal 109 always sets the 11 selector B to the a side. As a result, the prediction error signal reproduced as the signal 106 is output from the decoding device to the outside as a decoded image signal, and at the same time is written into the frame memory A of No. 4 in preparation for the decoding of the next frame. In this way, image frame no.
When the decoding of No. 1 is completed, the image frame No. 4 is stored in the frame memory A of No. 4. 1 decoded image signal is stored.

【0007】次に画像フレームNo.4が可変長復号化
部1に入力される。画像フレームNo.4は前向き動き
補償予測フレームなので、上述したように、動き補償の
ブロック単位でフレーム内符号化と前向き動き補償予測
符号化が行われる。まず、画像フレームNo.4のある
動き補償ブロックが前向き動き補償予測符号化されてい
る場合を考える。この時は図6に示すように、信号11
0により9のセレクタAはc側に設定され、信号109
により11のセレクタBはb側に設定される。可変長復
号化部1から出力される信号101は、逆量子化部2、
逆DCT部3で処理されて信号106となり、加算器1
0に入力される。一方、5の動き補償予測部Aは、信号
104に従って、4のフレームメモリAに格納されてい
る画像フレームNo.1の復号画像信号から必要なもの
を読み出し、予測信号107Cとして出力する。それと
同時に次フレームの復号の準備のために、画像フレーム
No.1の復号画像信号は6のフレームBに転送される
。9のセレクタAは上述の通りc側に設定されているの
で、信号107cは9のセレクタAを通して加算器10
に与えられ、上述の信号106と加算されて信号108
として11のセレクタBに与えられる。11のセレクタ
Bはb側に設定されているので、信号108は復号化装
置の出力として外部に送出されるとともに、次フレーム
の復号の準備のために4のフレームメモリAに書き込ま
れる。
Next, image frame No. 4 is input to the variable length decoding section 1. Image frame no. Since frame 4 is a forward motion compensation predictive frame, intraframe encoding and forward motion compensation predictive encoding are performed on a block-by-block basis for motion compensation, as described above. First, image frame No. Consider the case where a motion compensation block of 4 is forward motion compensation predictive encoded. At this time, as shown in FIG.
0 sets the selector A of 9 to the c side, and the signal 109
Accordingly, selector B of 11 is set to the b side. The signal 101 output from the variable length decoding section 1 is processed by the inverse quantization section 2,
It is processed by the inverse DCT unit 3 and becomes the signal 106, which is sent to the adder 1.
It is input to 0. On the other hand, the motion compensation prediction unit A of No. 5 selects the image frame No. 4 stored in the frame memory A of No. 4 according to the signal 104. Necessary information is read out from the decoded image signal 1 and output as a predicted signal 107C. At the same time, in preparation for decoding the next frame, image frame No. The decoded image signal of 1 is transferred to frame B of 6. Since the selector A of 9 is set to the c side as described above, the signal 107c is sent to the adder 10 through the selector A of 9.
is added to signal 106 described above to produce signal 108
is given to selector B of 11. Since the selector B of No. 11 is set to the b side, the signal 108 is sent to the outside as an output of the decoding device, and is also written to the frame memory A of No. 4 in preparation for decoding the next frame.

【0008】次に画像フレームNo.4のある動き補償
ブロックがフレーム内符号化されている場合を考える。 この時信号109により、図6に示すように11のセレ
クタBはa側に設定される。信号106が復号される過
程は前向き動き補償ブロックの場合と同様であるが、予
測信号との加算は行わず、そのまま復号画像信号として
送出されると同時に4のフレームメモリAに書き込まれ
る。また、4のフレームメモリAから6のフレームメモ
リBへの画像フレームNo.1の復号画像信号の転送も
全く同様に行われる。こうして画像フレームNo.4の
復号化が終了すると、4のフレームメモリAには画像フ
レームNo.4の復号画像信号が、6のフレームメモリ
Bには画像フレームNo.1の復号画像信号がそれぞれ
格納されていることになる。
Next, image frame No. Consider the case where a certain motion compensation block of 4 is intra-frame coded. At this time, the signal 109 sets the 11 selector B to the a side as shown in FIG. The process by which the signal 106 is decoded is the same as that for the forward motion compensation block, but the signal 106 is not added to the predicted signal and is sent out as a decoded image signal and simultaneously written into the frame memory A of No. 4. Also, the image frame No. 4 is transferred from frame memory A of 4 to frame memory B of 6. Transfer of the decoded image signal No. 1 is performed in exactly the same manner. In this way, image frame no. When the decoding of No. 4 is completed, the image frame No. 4 is stored in the frame memory A of No. 4. The decoded image signal No. 4 is stored in the frame memory B No. 6, and the decoded image signal No. 4 is stored in the frame memory B No. 6. One decoded image signal is stored respectively.

【0009】画像フレームNo.4の復号が終了すると
、画像フレームNo.2が可変長復号化部1に入力され
る。画像フレームNo.2は両方向動き補償予測フレー
ムなので、図6に示すように予測モードが動き補償ブロ
ック毎に、フレーム内符号化、前向き予測、後ろ向き予
測、両方向予測に切り換わる。さて今、画像フレームN
o.2のある動き補償ブロックが両方向予測の場合を考
える。この時は図6に示すように、9のセレクタAはd
側に、11のセレクタBはb側にそれぞれ設定される。 信号106は上述と同様に処理されて加算器10に与え
られる。一方、両方向予測部8は、信号104に従って
、画像フレームNo.1の復号画像信号が格納されてい
る6のフレームメモリBから必要な信号を読み出すと同
時に、画像フレームNo.4の復号画像信号が格納され
ている4のフレームメモリAからも必要な信号を読み出
し、この両方の信号を用いて予測信号107dを生成す
る。この予測信号生成の方法として、例えば画像フレー
ムNo.1側の予測信号と画像フレームNo.4側の予
測信号の相加平均などがしばしば用いられる。信号10
7dは9のセレクタAを通り加算器10で信号106と
加算されて、復号化装置の出力として送出される。 しかしこの時、4のフレームメモリAに対する書き込み
及び4のフレームメモリAから6のフレームメモリBへ
の転送は行われない。このように、両方向動き補償予測
フレームの復号中は、動き補償のブロック単位の予測モ
ードにかかわらず、4のフレームメモリA及び6のフレ
ームメモリBの更新は行われない。
Image frame No. When the decoding of image frame No. 4 is completed, image frame No. 2 is input to the variable length decoding section 1. Image frame no. 2 is a bidirectional motion compensation prediction frame, the prediction mode is switched to intraframe coding, forward prediction, backward prediction, and bidirectional prediction for each motion compensation block as shown in FIG. Now, image frame N
o. Consider the case where a certain motion compensation block No. 2 is bidirectionally predicted. At this time, as shown in FIG. 6, selector A of 9 is d
On the side, 11 selectors B are set on the b side, respectively. Signal 106 is processed in the same manner as described above and provided to adder 10. On the other hand, the bidirectional prediction unit 8 detects the image frame No. according to the signal 104. At the same time, necessary signals are read out from frame memory B No. 6 in which the decoded image signal No. 1 is stored, and at the same time, the decoded image signal no. Necessary signals are also read out from frame memory A of No. 4 in which decoded image signals of No. 4 are stored, and a predicted signal 107d is generated using both of these signals. As a method of generating this predicted signal, for example, image frame No. 1 side prediction signal and image frame No. An arithmetic average of four side prediction signals is often used. signal 10
7d passes through selector A of 9, is added to signal 106 by adder 10, and is sent as an output of the decoding device. However, at this time, writing to frame memory A of No. 4 and transfer from frame memory A of No. 4 to frame memory B of No. 6 are not performed. In this way, during decoding of a bidirectional motion compensation predicted frame, frame memory A 4 and frame memory B 6 are not updated, regardless of the motion compensation block-by-block prediction mode.

【0010】さて画像フレームNo.2のある動き補償
ブロックが前向き予測の場合を考える。この時は図6に
示すように、9のセレクタAはe側に、11のセレクタ
Bはb側にそれぞれ設定される。そして6のフレームメ
モリBにある画像フレームNo.1の復号画像信号から
予測信号107eが読み出され、加算器10により信号
106と信号107eを加算した復号画像信号が出力と
して送出される。この時も同様に4のフレームメモリA
及び6のフレームメモリBの更新は行われない。
Now, image frame No. Consider the case where a certain motion compensation block No. 2 is forward predicted. At this time, as shown in FIG. 6, selector A 9 is set to the e side, and selector B 11 is set to the b side. Then, image frame No. 6 in frame memory B. A predicted signal 107e is read from the decoded image signal of 1, and the adder 10 outputs a decoded image signal obtained by adding the signal 106 and the signal 107e. At this time as well, frame memory A of 4
and 6, frame memory B is not updated.

【0011】次に画像フレームNo.2のある動き補償
ブロックが後ろ向き予測の場合には、図6に示すように
、9のセレクタAはc側に、11のセレクタBはb側に
それぞれ設定される。そして4のフレームメモリAにあ
る画像フレームNo.4の復号画像信号から信号107
cが読み出され、加算器10により信号106と信号1
07cを加算した復号画像信号が出力として送出される
。この時も4のフレームメモリA及び6のフレームメモ
リBの更新は行われない。
Next, image frame No. When a certain motion compensation block 2 is backward predicted, selector A 9 is set to the c side and selector B 11 is set to the b side, as shown in FIG. Then, image frame No. 4 in frame memory A. Signal 107 from the decoded image signal of 4
c is read out, and the adder 10 adds the signal 106 and the signal 1
The decoded image signal to which 07c has been added is sent out as an output. Also at this time, frame memory A of 4 and frame memory B of 6 are not updated.

【0012】さらに画像フレームNo.2のある動き補
償ブロックがフレーム内符号化されている場合には、図
6に示すように、11のセレクタBはa側に設定されて
いるので、予測誤差信号106がそのまま出力として送
出される。この時も4のフレームメモリA及び6のフレ
ームメモリBの更新は行われない。
Furthermore, image frame No. When a certain motion compensation block 2 is intra-frame encoded, as shown in FIG. 6, selector B 11 is set to the a side, so the prediction error signal 106 is sent out as output as is. . Also at this time, frame memory A of 4 and frame memory B of 6 are not updated.

【0013】画像フレームNo.2の復号が終了すると
画像フレームNo.3の復号が開始される。画像フレー
ムNo.3も両方向動き補償予測フレームであり、4の
フレームメモリA、6のフレームメモリBの内容も画像
フレームNo.2の復号開始時と全く同じ状態なので、
画像フレームNo.3の復号はNo.2と同様に行われ
る。
Image frame No. When the decoding of image frame No. 2 is completed, image frame No. 2 is completed. 3 starts decoding. Image frame no. 3 is also a bidirectional motion compensation predicted frame, and the contents of frame memory A of 4 and frame memory B of 6 are also the same as image frame No. The state is exactly the same as when decoding started in step 2, so
Image frame no. The decoding of 3 is No. This is done in the same way as 2.

【0014】次に画像フレームNo.7が入力される。 画像フレームNo.7は前向き動き補償予測フレームな
ので、画像フレームNo.4の時と同様に復号される。 この過程で画像フレームNo.7の再生された復号画像
信号は4のフレームメモリAに書き込まれ、4のフレー
ムメモリAに入っていた画像フレームNo.4の復号画
像信号は6のフレームメモリBに転送される。
Next, image frame No. 7 is input. Image frame no. Image frame No. 7 is a forward motion compensation prediction frame. It is decoded in the same way as in step 4. In this process, image frame No. The reproduced decoded image signal of No. 7 is written to the frame memory A of No. 4, and the image frame No. 7 which was in the frame memory A of No. 4 is written. The decoded image signal No. 4 is transferred to the frame memory B No. 6.

【0015】以上のように、フレーム内符号化フレーム
若しくは前向き動き補償予測フレームが入力されるごと
に、4のフレームメモリAと6のフレームメモリBを更
新しながら復号が継続される。各入力フレームNo.と
その時のフレームメモリA、Bへの書き込み、読み出し
状態、セレクタA、Bの状態及び復号化装置から出力さ
れるフレームNo.をまとめて図5に示す。図5の出力
フレームNo.を見ると、その順序は入力フレームNo
.と同様に1、4、2、3、7、・・・となっているこ
とがわかる。
As described above, each time an intra-frame encoded frame or a forward motion compensation predicted frame is input, decoding is continued while updating frame memory A 4 and frame memory B 6. Each input frame No. and the writing and reading states of frame memories A and B at that time, the states of selectors A and B, and the frame No. output from the decoding device. are summarized in Figure 5. Output frame No. in FIG. As you can see, the order is input frame No.
.. Similarly, it can be seen that the numbers are 1, 4, 2, 3, 7, and so on.

【0016】[0016]

【発明が解決しようとする課題】従来の画像復号化装置
は以上のように構成されているので、この装置から出力
されるフレームの順序は入力されるフレームの順序と同
じであり、表示すべき順序にはなっていない。このため
表示を行うためには、別に複数のフレームメモリを設け
、そこに一担格納して並べ代える必要があり、コストが
高いという問題点があった。
[Problems to be Solved by the Invention] Since the conventional image decoding device is configured as described above, the order of the frames output from this device is the same as the order of the input frames, and the It's not in order. For this reason, in order to perform display, it is necessary to separately provide a plurality of frame memories, store them in one frame memory, and rearrange them, which poses a problem of high cost.

【0017】この発明は上記のような問題点を解消する
ためになされたもので、復号化装置から出力されるフレ
ームの順序が表示すべきフレームの順序と一致した画像
復号化装置を得ることを目的としている。
The present invention has been made to solve the above-mentioned problems, and aims to obtain an image decoding device in which the order of frames output from the decoding device matches the order of frames to be displayed. The purpose is

【0018】[0018]

【課題を解決するための手段】この発明に係る画像復号
化装置は、装置の出力に新たなセレクタを設け、そのセ
レクタの1つの入力に従来装置の出力を接続し、他の1
つの入力に従来のフレームメモリBへの入力を接続し、
このいずれかを選択して画像復号化装置の出力とするも
のである。選択の基準として、フレーム内符号化あるい
は前向き動き補償予測フレームの復号化時には、フレー
ムメモリBへの入力を選択し、両方向動き補償予測フレ
ームの復号化時には、従来の出力を選択するものである
[Means for Solving the Problems] The image decoding device according to the present invention includes a new selector provided at the output of the device, one input of the selector is connected to the output of the conventional device, and the other one is connected to the output of the conventional device.
Connect the input to the conventional frame memory B to one input,
One of these is selected and output from the image decoding device. As a selection criterion, when decoding an intra-frame encoded or forward motion compensation predicted frame, the input to frame memory B is selected, and when decoding a bidirectional motion compensation predicted frame, the conventional output is selected.

【0019】[0019]

【作用】この発明における画像復号化装置は、フレーム
内符号化フレームあるいは前向き動き補償予測フレーム
の復号化時には、予測部の一部として装置内に設けたフ
レームメモリの内容を出力し、両方向動き補償予測フレ
ームの復号化時には、復号化中の再生画像信号を出力す
るように構成したので、復号化装置から出力されるフレ
ームの順序が表示すべきフレームの順序と一致する。
[Operation] When decoding an intra-frame coded frame or a forward motion compensation predicted frame, the image decoding device according to the present invention outputs the contents of a frame memory provided in the device as part of the prediction unit, and performs bidirectional motion compensation. When decoding a predicted frame, the reproduced image signal being decoded is output, so the order of frames output from the decoding device matches the order of frames to be displayed.

【0020】[0020]

【実施例】実施例1.以下、本発明の一実施例を図に基
づいて説明する。図1は本発明の一実施例を示す画像復
号化装置の構成図で、1から11及び101から110
は、図3に示す従来の画像復号化装置における同一符号
のものと同様の機能を果す。12の予測モード制御部は
、信号102、103を入力し信号109、110を出
力する機能については図3の従来例と同様であるが、そ
の他にセレクタ制御信号111(以下信号111)を出
力している。また13のセレクタCはこの復号化装置の
出力を切換えるもので、接点fはセレクタBの出力に、
接点gは6のフレームメモリBの入力に接続されており
、この切換えは、予測モード制御部12から出力される
信号111により行われる。
[Example] Example 1. Hereinafter, one embodiment of the present invention will be described based on the drawings. FIG. 1 is a block diagram of an image decoding device showing an embodiment of the present invention.
performs the same functions as those with the same reference numerals in the conventional image decoding device shown in FIG. The prediction mode control section 12 has the same function as the conventional example shown in FIG. ing. In addition, the selector C of 13 switches the output of this decoding device, and the contact f is connected to the output of the selector B.
The contact g is connected to the input of the frame memory B 6, and this switching is performed by the signal 111 output from the prediction mode control section 12.

【0021】次に動作について説明する。この画像復号
化装置に入力される画像フレームNo.と予測モードは
図4の通りとする。そして図1において入力される各画
像フレームに対応した1から12の各部の動作は従来と
同様である。また図6に、入力される各フレームのフレ
ーム予測モードとブロック予測モードに対応した13の
セレクタCの動作を示す。
Next, the operation will be explained. Image frame No. input to this image decoding device. The prediction mode is as shown in FIG. The operations of the units 1 to 12 corresponding to each input image frame in FIG. 1 are the same as in the conventional system. Further, FIG. 6 shows the operations of the 13 selectors C corresponding to the frame prediction mode and block prediction mode of each input frame.

【0022】図1において、画像フレームNo.1に対
応した画像符号化信号が1の可変長復号化部に入力され
ると、従来と同様に処理されて予測誤差信号106が生
成される。そして画像フレームNo.1はフレーム内符
号化されたフレームなので、図6に示すように、11の
セレクタBはa側に、13のセレクタCはg側に設定さ
れる。そのため信号106は4のフレームメモリAに書
き込まれる。画像フレームNo.1はこの装置に入力さ
れる最初のフレームなので、4のフレームメモリAから
6のフレームメモリBへの転送は行われない。その結果
、g側に設定された13のセレクタCから信号は出力さ
れないことになる。このように画像フレームNo.1の
復号が終了すると、従来と同様に4のフレームメモリA
に画像フレームNo.1の復号画像信号が格納される。
In FIG. 1, image frame No. When the image encoded signal corresponding to No. 1 is input to the variable length decoding section No. 1, it is processed in the same manner as before to generate a prediction error signal 106. And image frame no. Since frame 1 is intra-frame encoded, selector B 11 is set to the a side and selector C 13 is set to the g side, as shown in FIG. Therefore, the signal 106 is written into the frame memory A of No. 4. Image frame no. Since frame 1 is the first frame input to this device, the transfer from frame memory A of 4 to frame memory B of 6 is not performed. As a result, no signal is output from the 13 selectors C set on the g side. In this way, image frame No. When the decoding of 1 is completed, frame memory A of 4 is stored as before.
Image frame No. One decoded image signal is stored.

【0023】次に画像フレームNo.4が入力される。 画像フレームNo.4は前向き動き補償予測フレームな
ので、図6に示すように13のセレクタCはg側に設定
される。また前向き動き補償予測フレームは、動き補償
ブロック単位でフレーム内符号化と前向き動き補償予測
符号化が行われるが、いずれの場合でもNo.4の復号
画像信号は11のセレクタBを通過して、次のフレーム
の復号準備のために4のフレームメモリAに書き込まれ
る。それと同時に今まで4のフレームメモリAに格納さ
れていたNo.1の画像フレームは、6のフレームメモ
リBに転送されると共に、13のセレクタCを通過して
復号化装置の出力として送出される。以上の動作で画像
フレームNo.4の復号が終了すると、6のフレームメ
モリBには画像フレームNo.1の復号画像信号が格納
され、4のフレームメモリAには画像フレームNo.4
の復号画像信号が格納される。
Next, image frame No. 4 is input. Image frame no. Since 4 is a forward motion compensation predicted frame, the selector C of 13 is set to the g side as shown in FIG. Further, the forward motion compensation predictive frame is subjected to intra-frame encoding and forward motion compensation predictive encoding in units of motion compensation blocks, but in any case, No. The decoded image signal No. 4 passes through the selector B No. 11 and is written into the frame memory A No. 4 in preparation for decoding the next frame. At the same time, the No. 4 frame memory A that had been stored up until now. Image frame 1 is transferred to frame memory B 6, passes through selector C 13, and is sent out as an output of the decoding device. With the above operations, image frame No. When the decoding of No. 4 is completed, the image frame No. 6 is stored in the frame memory B of No. 6. The decoded image signal No. 1 is stored in the frame memory A No. 4, and the image frame No. 4 is stored in the frame memory A No. 4. 4
decoded image signals are stored.

【0024】次に画像フレームNo.2が入力される。 画像フレームNo.2は両方向動き補償フレームなので
、図6に示すように13のセレクタCはf側に設定され
る。また両方向動き補償予測フレームは、動き補償ブロ
ック単位でフレーム内符号化、前向き動き補償予測符号
化、後ろ向き動き補償予測符号化、両方向動き補償予測
符号化が行われるが、いずれの場合でもNo.2の復号
画像信号は11のセレクタBを通過し、13のセレクタ
Cのf接点を経由してそのまま復号化装置の出力として
送出される。しかし、11のセレクタBを通過した信号
は従来例と同様に4のフレームメモリAに書き込まれな
いので、4及び6の両メモリの更新は行われない。
Next, image frame No. 2 is input. Image frame no. Since frame 2 is a bidirectional motion compensation frame, selector C 13 is set to the f side as shown in FIG. Further, the bidirectional motion compensation predictive frame is subjected to intraframe encoding, forward motion compensation predictive encoding, backward motion compensation predictive encoding, and bidirectional motion compensation predictive encoding in units of motion compensation blocks, but in any case, No. The decoded image signal No. 2 passes through the selector B No. 11, and is sent out as an output of the decoding device via the f contact of the selector C No. 13. However, since the signal that has passed through selector B 11 is not written to frame memory A 4 as in the conventional example, both memories 4 and 6 are not updated.

【0025】次に画像フレームNo.3が入力されるが
、画像フレームNo.3は両方向動き補償予測フレーム
なので、画像フレームNo.2と同様に復号され、その
まま復号化装置の出力として送出される。また両メモリ
の更新も行われず、6のフレームメモリBには画像フレ
ームNo.1、4のフレームメモリAには画像フレーム
No.4が格納されたままになっている。
Next, image frame No. 3 is input, but image frame No. Image frame No. 3 is a bidirectional motion compensation predicted frame. It is decoded in the same manner as 2 and sent as is as the output of the decoding device. Also, both memories are not updated, and the image frame No. 6 is stored in frame memory B. Image frame numbers 1 and 4 are stored in frame memories A. 4 remains stored.

【0026】画像フレームNo.3に引き続き画像フレ
ームNo.7が入力される。このフレームは前向き動き
補償予測フレームなので、13のセレクタCは図6に示
すようにg側に設定される。そして画像フレームNo.
4と同様に、11のセレクタBを通過した復号画像信号
は、次のフレームの復号準備のために4のフレームメモ
リAに書き込まれる。それと同時に今まで4のフレーム
メモリAに格納されていたNo.4の画像フレームは、
6のフレームメモリBに転送されると共に、13のセレ
クタCを通過して復号化装置の出力として送出される。 このように画像フレームNo.7の復号が終了すると、
6のフレームメモリBには画像フレームNo.4の復号
画像信号が格納され、4のフレームメモリAには画像フ
レームNo.7の復号画像信号が格納される。以上のよ
うに、今までにこの復号化装置より出力された画像フレ
ームの順序は、1、2、3、4の順序となっている。
Image frame No. Following image frame No. 3. 7 is input. Since this frame is a forward motion compensation predicted frame, selector C of 13 is set to the g side as shown in FIG. And image frame no.
Similarly to 4, the decoded image signal that has passed through selector B 11 is written to frame memory A 4 in preparation for decoding the next frame. At the same time, the No. 4 frame memory A that had been stored up until now. The 4th image frame is
The signal is transferred to the frame memory B of No. 6, passes through the selector C of No. 13, and is sent out as an output of the decoding device. In this way, image frame No. When the decoding of 7 is completed,
Image frame No. 6 is stored in frame memory B of No. 6. The decoded image signal of No. 4 is stored in the frame memory A of No. 4, and the image frame No. 4 is stored in the frame memory A of No. 4. 7 decoded image signals are stored. As described above, the order of image frames output from this decoding device so far is 1, 2, 3, 4.

【0027】次に画像フレームNo.5、No.6が続
いて入力されるが、このフレームは両方向動き補償フレ
ームなので、画像フレームNo.2、No.3と同様に
この装置の出力として送出される。その後、画像フレー
ムNo.10が入力されると、4のフレームメモリA及
び6のフレームメモリBの内容を更新し、4のフレーム
メモリAに格納されていた画像フレームNo.7の復号
画像信号が出力される。
Next, image frame No. 5, No. 6 is input next, but since this frame is a bidirectional motion compensation frame, it is image frame No. 6. 2.No. 3, it is sent out as the output of this device. After that, image frame no. When 10 is input, the contents of frame memory A of 4 and frame memory B of 6 are updated, and the image frame No. 1 stored in frame memory A of 4 is updated. 7 decoded image signals are output.

【0028】以上の動作状態を図2に示す。このように
、フレーム毎の予測モードがフレーム内符号化若しくは
前向き動き補償予測符号化の場合には、フレームメモリ
AからフレームメモリBへ復号画像信号の転送を行い、
同時にその信号を復号化装置の出力として用いる。 またフレーム毎の予測モードが両方向動き補償予測符号
化の時には、フレームメモリ間の転送を行わず、そのま
ま復号化装置の出力として用いられる。この結果、図2
の出力フレームNo.に示す通り、復号化装置から出力
されるフレームの順序は、1、2、3、4、5、6、7
・・・となり、表示すべき順序と一致する。
The above operating state is shown in FIG. In this way, when the prediction mode for each frame is intraframe coding or forward motion compensation predictive coding, the decoded image signal is transferred from frame memory A to frame memory B,
At the same time, the signal is used as the output of the decoding device. Further, when the prediction mode for each frame is bidirectional motion compensation predictive coding, the data is used as it is as an output of the decoding device without being transferred between frame memories. As a result, Figure 2
Output frame No. As shown in , the order of frames output from the decoding device is 1, 2, 3, 4, 5, 6, 7.
..., which matches the order in which they should be displayed.

【0029】[0029]

【発明の効果】以上のように本発明に係る画像復号化装
置は、フレーム内符号化フレーム及び前向き動き補償予
測フレームの復号化時には、過去に復号した画像信号を
出力し、両方向動き補償予測フレームの復号化時には、
復号した画像信号をそのまま出力するように構成されて
いるので、この装置から出力されるフレームの順序が表
示するフレームの順序と一致し、別に複数の高額なメモ
リを用いてフレームの並べかえをする必要がなくなると
いう効果がある。
As described above, the image decoding device according to the present invention outputs a previously decoded image signal when decoding an intraframe coded frame and a forward motion compensation predicted frame, and outputs a previously decoded image signal, When decoding,
Since the device is configured to output the decoded image signal as is, the order of the frames output from this device matches the order of the frames to be displayed, making it unnecessary to use multiple expensive memories to rearrange the frames. This has the effect of eliminating

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

【図1】この発明の一実施例による画像復号化装置の構
成図である。
FIG. 1 is a configuration diagram of an image decoding device according to an embodiment of the present invention.

【図2】この発明の一実施例による画像復号化装置の動
作状態を示す図である。
FIG. 2 is a diagram showing the operating state of an image decoding device according to an embodiment of the present invention.

【図3】従来の画像復号化装置の構成図である。FIG. 3 is a configuration diagram of a conventional image decoding device.

【図4】フレームの種類を示す図である。FIG. 4 is a diagram showing types of frames.

【図5】従来の画像復号化装置の動作状態を示す図であ
る。
FIG. 5 is a diagram showing the operating state of a conventional image decoding device.

【図6】フレーム予測モードに対する各セレクタの動作
状態を示す図である。
FIG. 6 is a diagram showing the operating state of each selector for frame prediction modes.

【符号の説明】[Explanation of symbols]

1  可変長復号化部 2  逆量子化部 3  逆DCT部 4  フレームメモリA 5  動き補償予測部A 6  フレームメモリB 7  動き補償予測部B 8  動き補償両方向予測部 9  セレクタA 10  加算器 11  セレクタB 12  予測モード制御部 13  セレクタC 1 Variable length decoding unit 2 Inverse quantization section 3 Inverse DCT section 4 Frame memory A 5 Motion compensation prediction unit A 6 Frame memory B 7 Motion compensation prediction unit B 8 Motion compensated bidirectional prediction unit 9 Selector A 10 Adder 11 Selector B 12 Prediction mode control unit 13 Selector C

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  過去に復号した画像信号を格納するフ
レームメモリから予測信号を作り出す手段、復号された
予測誤差信号と上記予測信号を加算し復号画像信号を作
り出す手段、上記予測誤差信号と上記復号画像信号を切
換える手段を備えた動き補償付フレーム間予測信号を復
号する画像復号化装置において、予測信号を生成するた
めに過去に復号した画像信号が必要ないか若しくは1フ
レーム分必要な画像フレームの復号時には、上記フレー
ムメモリから読み出した画像信号を出力し、予測信号を
生成するために過去に復号した画像信号が複数個必要な
画像フレームの復号時には、その復号画像信号を出力す
ることを特徴とする画像復号化装置。
1. Means for generating a predicted signal from a frame memory storing previously decoded image signals, means for generating a decoded image signal by adding a decoded prediction error signal and the above prediction signal, the above prediction error signal and the above decoding In an image decoding device that decodes a motion-compensated interframe prediction signal and is equipped with a means for switching image signals, the image signal decoded in the past is not necessary to generate the prediction signal, or the image signal for one frame is required. When decoding, the image signal read from the frame memory is output, and when decoding an image frame that requires a plurality of previously decoded image signals to generate a predicted signal, the decoded image signal is output. image decoding device.
JP3017878A 1991-02-08 1991-02-08 Picture decoding device Pending JPH04280190A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3017878A JPH04280190A (en) 1991-02-08 1991-02-08 Picture decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3017878A JPH04280190A (en) 1991-02-08 1991-02-08 Picture decoding device

Publications (1)

Publication Number Publication Date
JPH04280190A true JPH04280190A (en) 1992-10-06

Family

ID=11955951

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3017878A Pending JPH04280190A (en) 1991-02-08 1991-02-08 Picture decoding device

Country Status (1)

Country Link
JP (1) JPH04280190A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04318791A (en) * 1991-04-18 1992-11-10 Matsushita Electric Ind Co Ltd Signal processing method and recording and reproducing device
JP2009171549A (en) * 2008-01-16 2009-07-30 Research & Industrial Cooperation Group Resistive frequency mixing apparatus and signal processing method using the same

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04105487A (en) * 1990-08-24 1992-04-07 Victor Co Of Japan Ltd Prediction coder and decoder

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04105487A (en) * 1990-08-24 1992-04-07 Victor Co Of Japan Ltd Prediction coder and decoder

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04318791A (en) * 1991-04-18 1992-11-10 Matsushita Electric Ind Co Ltd Signal processing method and recording and reproducing device
JP2009171549A (en) * 2008-01-16 2009-07-30 Research & Industrial Cooperation Group Resistive frequency mixing apparatus and signal processing method using the same

Similar Documents

Publication Publication Date Title
EP0542195B1 (en) Interframe predicting method and picture signal coding/decoding apparatus
JP2570384B2 (en) Video signal encoding / decoding method
US5557332A (en) Apparatus and method for reproducing a prediction-encoded video signal
JP3282260B2 (en) Image reproducing apparatus and method
US5841475A (en) Image decoding with dedicated bidirectional picture storage and reduced memory requirements
JPH0537915A (en) Method and device for coding image signal
JPH10191259A (en) Inversion reproduction method for mpeg video
JPH10509576A (en) Encoded digital video signal decoding method and apparatus
KR100395579B1 (en) Image Data Encoder and Decoder
JPH08280022A (en) Method and apparatus for decoded video signal
JPH0759096A (en) Video encoder and decoder
JP4010617B2 (en) Image decoding apparatus and image decoding method
JP3308129B2 (en) Image signal decoding method and image signal decoding device
JPH04280190A (en) Picture decoding device
JP3159327B2 (en) Video data decoding device
JP3233232B2 (en) Moving picture decoding method and apparatus
JP2801911B2 (en) Apparatus for compressing image data by predictive coding
JPH1198513A (en) Moving image coding/decoding device
JPH1023415A (en) Method and device for encoding and decoding picture
JP2000115777A (en) Image processing method and image processing unit
JPH0366281A (en) Picture coding method
JP2002027478A (en) Image information encoding apparatus and method therefor
KR0129583B1 (en) Apparatus for predicting dc coefficient of intra frame in the picture decoding system
JPH08130741A (en) Picture decoder
JPH08214307A (en) Encoder