JPH08130740A - Picture decoder - Google Patents

Picture decoder

Info

Publication number
JPH08130740A
JPH08130740A JP26583494A JP26583494A JPH08130740A JP H08130740 A JPH08130740 A JP H08130740A JP 26583494 A JP26583494 A JP 26583494A JP 26583494 A JP26583494 A JP 26583494A JP H08130740 A JPH08130740 A JP H08130740A
Authority
JP
Japan
Prior art keywords
data
decoding
output
decoded data
decoded
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
JP26583494A
Other languages
Japanese (ja)
Other versions
JP3262464B2 (en
Inventor
Koichi Kurihara
弘一 栗原
Shuji Abe
修司 阿部
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.)
Toshiba Corp
Toshiba AVE Co Ltd
Original Assignee
Toshiba Corp
Toshiba AVE Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp, Toshiba AVE Co Ltd filed Critical Toshiba Corp
Priority to JP26583494A priority Critical patent/JP3262464B2/en
Priority to EP95307609A priority patent/EP0710028A3/en
Priority to US08/548,487 priority patent/US5841475A/en
Priority to KR1019950037499A priority patent/KR100239260B1/en
Publication of JPH08130740A publication Critical patent/JPH08130740A/en
Application granted granted Critical
Publication of JP3262464B2 publication Critical patent/JP3262464B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE: To reduce memories required for a decoding processing and to make a picture decoder low in cost. CONSTITUTION: The inputted encoded data of B pictures are supplied to a variable length decoding circuit 2 through a switch 21, also supplied to the memory 22 and stored. By circuits after the variable length decoding circuit 2, the inputted encoded data of the B pictures are decoded first. Decoded data are switched to the memories 27 and 28 for each block line through the switch 26 and stored and the data of odd numbered fields are read from the memories 27 and 28 in a display order in the first half of the display period of one frame. Decoding is performed also to the encoded data of the B pictures stored in the memory 22 and they are switched to the memories 27 and 28 for each block line and stored. The data of even numbered fields among the data stored in the memories 27 and 28 are read in the display order in the second half of the display period of one frame.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[発明の目的][Object of the Invention]

【産業上の利用分野】本発明は、両方向予測符号化デー
タを含む符号化データを復号化する画像復号化装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image decoding apparatus for decoding coded data including bidirectional predictive coded data.

【0002】[0002]

【従来の技術】近年、画像の高能率符号化技術の確立に
伴って、画像のディジタル処理が普及してきている。高
能率符号化技術は、ディジタル伝送及び記録等の効率を
向上させるために、少ないビットレートで画像データを
符号化するものである。この高能率符号化においては、
m×n画素のブロック単位でDCT(離散コサイン変
換)処理等の直交変換を行っている。直交変換は、入力
される標本値を空間周波数成分等の直交成分に変換する
ものである。これにより空間的な相関成分が削減可能と
なる。直交変換された成分は量子化することにより、ブ
ロックの信号の冗長度を削減する。
2. Description of the Related Art In recent years, digital processing of images has become popular with the establishment of high-efficiency image coding technology. The high-efficiency coding technique is for coding image data at a low bit rate in order to improve the efficiency of digital transmission and recording. In this high efficiency coding,
Orthogonal transformation such as DCT (discrete cosine transformation) processing is performed in block units of m × n pixels. Orthogonal transformation is to transform an input sample value into an orthogonal component such as a spatial frequency component. This makes it possible to reduce spatial correlation components. The orthogonally transformed components are quantized to reduce the redundancy of the signal of the block.

【0003】更に、量子化出力にハフマン符号化等の可
変長符号化を施すことにより、データ量を一層削減す
る。ハフマン符号化は、量子化出力の統計的符号量から
算出した結果に基づいて符号化を行うものであり、出現
確率が高いデータには短いビットを割当て、出現確率が
低いデータには長いビットを割当てる可変長符号化によ
って全体のデータ量を削減する。
Further, variable length coding such as Huffman coding is applied to the quantized output to further reduce the data amount. Huffman coding performs coding based on the result calculated from the statistical code amount of the quantized output, assigning short bits to data with a high appearance probability and long bits to data with a low appearance probability. The variable length coding to be assigned reduces the total amount of data.

【0004】更に、高能率符号化を行う装置において
は、MPEG(Moving Picture experts group)等など
で検討されているハイブリッド方式が主流となってい
る。この方式では、フレーム内の画像をDCT処理する
フレーム内圧縮の外に、フレーム間の相関を利用して時
間軸方向の冗長度を削減するフレーム間圧縮も採用す
る。フレーム間圧縮は、一般の動画像が前後のフレーム
でよく似ているという性質を利用して、前後のフレーム
の差分を求め差分値(予測誤差)を符号化することによ
って、ビットレートを一層低減させるものである。特
に、画像の動きを予測してフレーム間差を求めることに
より予測誤差を低減する動き補償フレーム間予測符号化
が有効である。
Further, in a device for performing high efficiency coding, a hybrid system which is being studied by MPEG (Moving Picture experts group) and the like is predominant. In this method, in addition to intraframe compression for DCT processing an image within a frame, interframe compression for reducing redundancy in the time axis direction by utilizing correlation between frames is also adopted. Inter-frame compression further reduces the bit rate by obtaining the difference between the previous and next frames and encoding the difference value (prediction error) by using the property that general moving images are similar to each other. It is what makes me. In particular, motion-compensated interframe predictive coding that reduces the prediction error by predicting the motion of an image and obtaining the interframe difference is effective.

【0005】このように、ハイブリッド方式では、所定
フレームの画像データをそのままDCT処理して符号化
するフレーム内符号化の外に、所定フレームの画像デー
タとこのフレーム前後のフレームの参照画像データとの
差分データのみをDCT処理して符号化する予測符号化
とを採用する。予測符号化方法としては、時間的に前方
向の参照画像データを動き補償して予測誤差を求める前
方予測符号化と、時間的に後方向の参照画像データを動
き補償して予測誤差を求める後方予測符号化と、符号化
効率を考慮して、前方若しくは後方のいずれか一方又は
両方向の平均を用いた両方向予測符号化とがある。
As described above, in the hybrid system, the image data of a predetermined frame and the reference image data of the frames before and after this frame are subjected to the intra-frame coding in which the image data of the predetermined frame is directly DCT processed and coded. Predictive coding in which only difference data is DCT processed and coded is adopted. The predictive coding method includes forward predictive coding for motion-compensating temporally forward reference image data to obtain a prediction error, and backward predictive coding for temporally motion-compensating backward-oriented reference image data to obtain a predictive error. There are predictive coding and bidirectional predictive coding using an average of either forward or backward or both directions in consideration of coding efficiency.

【0006】フレーム内符号化によって符号化されたフ
レーム(以下、Iピクチャという)はフレーム内情報の
みによって符号化されているので、単独の符号化データ
のみによって復号可能である。従って、MPEG規格に
おいては、エラー伝播防止等のために、Iピクチャを固
定周期(例えば12フレーム)に1枚挿入するようにな
っている。MPEG規格では、このIピクチャを用いた
前方予測符号化によってフレーム間符号化フレーム(以
下、Pピクチャという)を得る。なお、Pピクチャは前
方のPピクチャを前方予測符号化することによっても得
られる。また、前方若しくは後方のいずれか一方又は両
方向のI,Pピクチャを用いた両方向予測符号化によっ
て両方向予測適応切換フレーム(以下、Bピクチャとい
う)を得る。
Since a frame coded by intra-frame coding (hereinafter referred to as I picture) is coded only by intra-frame information, it can be decoded only by single coded data. Therefore, in the MPEG standard, one I picture is inserted in a fixed cycle (for example, 12 frames) to prevent error propagation. In the MPEG standard, an inter-frame coded frame (hereinafter referred to as P picture) is obtained by forward predictive coding using this I picture. The P picture can also be obtained by performing forward predictive coding on the forward P picture. Also, a bidirectional predictive adaptive switching frame (hereinafter referred to as a B picture) is obtained by bidirectional predictive coding using either forward or backward I or P pictures in both directions.

【0007】図5はこの方式の圧縮法を説明するための
説明図である。図5(a)は入力されるフレーム画像を
示し、図5(b)は符号化データを示し、図5(c)は
復号化データを示している。また、図6はブロック化を
説明するための説明図である。
FIG. 5 is an explanatory diagram for explaining the compression method of this system. 5A shows an input frame image, FIG. 5B shows encoded data, and FIG. 5C shows decoded data. FIG. 6 is an explanatory diagram for explaining blocking.

【0008】フレーム番号0のフレーム画像はフレーム
内符号化する。このフレーム画像を参照画像として用い
てフレーム番号3のフレーム画像を前方予測符号化す
る。図5(b)の矢印はこのような符号化の予測方向を
示しており、フレーム番号6のフレーム画像も前方のフ
レーム番号3のフレーム画像を参照画像として前方予測
符号化する。また、フレーム番号1,2のフレーム画像
はフレーム番号0,3のフレーム画像を参照画像として
両方向予測符号化する。また、フレーム番号4,5のフ
レーム画像はフレーム番号3,6のフレーム画像を参照
画像として両方向予測符号化する。
The frame image of frame number 0 is intra-frame coded. Using this frame image as a reference image, the frame image of frame number 3 is forward predictively encoded. The arrow in FIG. 5B indicates the prediction direction of such encoding, and the frame image of frame number 6 is also subjected to forward predictive encoding using the frame image of frame number 3 ahead as a reference image. Further, the frame images with frame numbers 1 and 2 are bidirectionally predictively coded using the frame images with frame numbers 0 and 3 as reference images. The frame images with frame numbers 4 and 5 are bidirectionally predictively coded using the frame images with frame numbers 3 and 6 as reference images.

【0009】即ち、図5(b)に示すように、先ず、フ
レーム番号0の画像データをフレーム内符号化してIピ
クチャを得る。この場合には、フレーム番号0の画像デ
ータをメモリ等によってフレーム化すると共に、図6に
示すように、8画素×8ライン毎にブロック化し、ブロ
ック単位でDCT処理を施す。なお、図中、実線で示す
ODDは奇数フィールドの走査線を示し、破線で示すE
VENは偶数フィールドの走査線を示している。DCT
処理によって得たDCT変換係数は所定の量子化係数を
用いて量子化した後、可変長符号化を施して符号化デー
タを得る。
That is, as shown in FIG. 5B, first, the image data of frame number 0 is intra-frame coded to obtain an I picture. In this case, the image data of frame number 0 is framed by a memory or the like, and as shown in FIG. 6, it is divided into blocks of 8 pixels × 8 lines, and DCT processing is performed in block units. In the figure, ODD indicated by a solid line indicates a scan line of an odd field, and E indicated by a broken line.
VEN indicates a scan line of an even field. DCT
The DCT transform coefficient obtained by the processing is quantized by using a predetermined quantized coefficient, and then variable length coding is performed to obtain coded data.

【0010】次に入力されるフレーム番号1のフレーム
画像については、フレーム番号0,3のフレーム画像を
用いた両方向予測符号化を行うので、フレーム番号3の
フレーム画像を符号化するまではメモリに保持する。同
様に、フレーム番号2のフレーム画像についてもフレー
ム番号3のフレーム画像の符号化の後に符号化する。フ
レーム番号3のフレーム画像については、フレーム番号
0のフレーム画像を参照画像として用いた前方予測符号
化を行ってPピクチャを得る(図5(b))。即ち、フ
レーム番号0の画像データを動きベクトルを用いて動き
補償し、動き補償した参照画像データと現フレーム(フ
レーム番号3のフレーム)の画像データとの差分(予測
誤差)をDCT処理する。DCT変換係数を量子化した
後可変長符号化することはフレーム内符号化時と同様で
ある。
For the frame image with the frame number 1 input next, bidirectional predictive coding using the frame images with the frame numbers 0 and 3 is performed. Therefore, until the frame image with the frame number 3 is coded, it is stored in the memory. Hold. Similarly, the frame image of frame number 2 is also encoded after the frame image of frame number 3 is encoded. For the frame image of frame number 3, forward prediction coding is performed using the frame image of frame number 0 as a reference image to obtain a P picture (FIG. 5B). That is, the image data of frame number 0 is motion-compensated using the motion vector, and the difference (prediction error) between the motion-compensated reference image data and the image data of the current frame (frame of frame number 3) is subjected to DCT processing. The variable length coding after quantizing the DCT transform coefficient is the same as the intraframe coding.

【0011】次に、既に符号化したフレーム番号0,3
のIピクチャ,Pピクチャを用いてフレーム番号1,2
のフレーム画像を順次両方向予測符号化する。こうし
て、図5(b)に示すように、2つのBピクチャを得
る。以後同様にして、図5(b)に示すように、フレー
ム番号6,4,5,…のフレーム画像の順に符号化を行
って、Pピクチャ,Bピクチャ,Bピクチャ,…を得
る。
Next, the already encoded frame numbers 0, 3
I and P pictures of frame numbers 1 and 2
Frame images are sequentially bidirectionally predictively encoded. In this way, two B pictures are obtained as shown in FIG. Thereafter, similarly, as shown in FIG. 5B, the frame images of frame numbers 6, 4, 5, ... Are encoded in order to obtain P picture, B picture, B picture ,.

【0012】このように、符号化時においては、実際に
入力されるフレーム順と異なるフレーム順で符号化を行
う。復号化時には、符号化データの復号化順を元に戻し
てフレーム番号0,1,2,…の順に復号化データを出
力する必要がある。図7はこのような従来の画像復号化
装置を示すブロック図である。また、図8はフレーム化
を説明するための説明図であり、図8(a)はノンイン
ターレース走査時のフレーム化を示し、図8(b)はイ
ンターレース走査時のフレーム化を示している。
Thus, at the time of encoding, the encoding is performed in a frame order different from the actually input frame order. At the time of decoding, it is necessary to restore the decoding order of the encoded data and output the decoded data in the order of frame numbers 0, 1, 2, .... FIG. 7 is a block diagram showing such a conventional image decoding apparatus. 8A and 8B are explanatory diagrams for explaining framing, FIG. 8A shows framing during non-interlaced scanning, and FIG. 8B shows framing during interlaced scanning.

【0013】符号バッファメモリ回路1には符号化デー
タを与える。この符号化データは図5(b)に示す符号
化順で、画像データ又は予測誤差をDCT処理して量子
化した後、可変長符号化したものである。符号バッファ
メモリ回路1は入力された符号化データを保持し、復号
化処理時間と出力処理時間との時間あわせを行って可変
長復号回路2に出力する。可変長復号回路2は符号化デ
ータを可変長復号化して逆量子化回路3及びバッファ制
御回路7に出力する。バッファ制御回路7によって符号
バッファメモリ回路1を制御する。
Encoded data is supplied to the code buffer memory circuit 1. This coded data is variable-length coded after the image data or the prediction error is DCT processed and quantized in the coding order shown in FIG. The code buffer memory circuit 1 holds the input coded data, adjusts the decoding processing time and the output processing time, and outputs them to the variable length decoding circuit 2. The variable length decoding circuit 2 performs variable length decoding on the encoded data and outputs it to the inverse quantization circuit 3 and the buffer control circuit 7. The buffer control circuit 7 controls the code buffer memory circuit 1.

【0014】可変長復号回路2の出力は逆量子化回路3
によって逆量子化し、逆DCT回路4によって逆DCT
処理して符号化側のDCT処理前のデータに戻す。い
ま、フレーム番号0の符号化データであるIピクチャが
入力されているものとする。この場合には、逆DCT回
路4の出力がフレーム番号0の復元画像であり、逆DC
T回路4の出力をそのままフレームメモリ6に与える。
The output of the variable length decoding circuit 2 is an inverse quantization circuit 3
Inverse quantization by the inverse DCT circuit 4
The data is processed and returned to the data before the DCT processing on the encoding side. Now, it is assumed that an I picture which is encoded data of frame number 0 is input. In this case, the output of the inverse DCT circuit 4 is the restored image of frame number 0,
The output of the T circuit 4 is given to the frame memory 6 as it is.

【0015】逆DCT回路4の出力はブロック単位の画
素データであり、フレームメモリ6は1フレーム分の画
素データを保持する。ノンインターレース表示を行う場
合には、図8(a)に示すように、フレームメモリ6は
逆DCT回路4の出力をフレーム順に配列して、ラスタ
順に出力する。また、インターレース表示を行う場合に
は、図8(b)に示すように、フレームメモリ6は逆D
CT回路4の出力を奇数フィールドのデータと偶数フィ
ールドのデータとに分けて配列して、各フィールド毎に
ラスタ順で出力する。フレームメモリ6の出力はスイッ
チ16を介して復号化データとして出力する(図5
(c))。逆DCT回路4からのフレーム番号0の復元
画像データはP,Bピクチャの復号化のためにフレーム
メモリ12にも供給する。
The output of the inverse DCT circuit 4 is pixel data in block units, and the frame memory 6 holds pixel data for one frame. When performing non-interlaced display, as shown in FIG. 8A, the frame memory 6 arranges the outputs of the inverse DCT circuit 4 in frame order and outputs them in raster order. Further, when performing interlaced display, as shown in FIG.
The output of the CT circuit 4 is divided into data of odd fields and data of even fields, arranged, and output in raster order for each field. The output of the frame memory 6 is output as decoded data via the switch 16 (see FIG. 5).
(C)). The restored image data of frame number 0 from the inverse DCT circuit 4 is also supplied to the frame memory 12 for decoding P and B pictures.

【0016】なお、DCTブロックがフレーム化後にブ
ロック化されている場合には、ノンインターレース表示
を行うものとすると、ライン方向の画素配列は変化させ
る必要がないので、出力順を変更するメモリとしては、
8ライン(1ブロックライン)分のデータを保持する容
量があればよい。しかし、インターレース表示を可能に
するためには、奇数フィールドと偶数フィールドとに分
けてデータを出力する必要があることから、更に多くの
メモリを必要とする。このため、一般的には、表示順を
変更するためのメモリとしてフレームメモリを採用して
フレーム化を行うことが多い。
If the DCT block is divided into blocks after being framed, assuming that non-interlaced display is performed, it is not necessary to change the pixel array in the line direction, and therefore, as a memory for changing the output order. ,
It suffices if there is a capacity for holding data for 8 lines (1 block line). However, in order to enable the interlaced display, it is necessary to separately output the data into the odd field and the even field, so that more memory is required. For this reason, in general, a frame memory is often used as a memory for changing the display order to perform framing.

【0017】次に、フレーム番号3のPピクチャを復号
化する。この場合には、逆DCT回路4の出力は予測誤
差である。一方、動きベクトル抽出回路8は可変長復号
化回路2の出力に含まれる動きベクトルを抽出して動き
補償回路10に与えており、動き補償回路10はフレームメ
モリ12からIピクチャの復元画像データを読出して、動
きベクトルを用いて動き補償する。動き補償回路10の出
力はスイッチ15を介して加算器5に与える。加算器5は
動き補償したフレーム番号0の復元画像データと逆DC
T回路4からの予測誤差とを加算してフレーム番号3の
復元画像データを得る。このデータはフレームメモリ11
に供給する。
Next, the P picture of frame number 3 is decoded. In this case, the output of the inverse DCT circuit 4 is a prediction error. On the other hand, the motion vector extraction circuit 8 extracts the motion vector contained in the output of the variable length decoding circuit 2 and supplies it to the motion compensation circuit 10. The motion compensation circuit 10 extracts the restored image data of the I picture from the frame memory 12. Read and perform motion compensation using the motion vector. The output of the motion compensation circuit 10 is given to the adder 5 via the switch 15. The adder 5 uses the motion-compensated restored image data of frame number 0 and the inverse DC
The restored image data of frame number 3 is obtained by adding the prediction error from the T circuit 4. This data is stored in the frame memory 11
Supply to.

【0018】次に、フレーム番号1のBピクチャを復号
化する。この場合にも、逆DCT回路4の出力は予測誤
差である。動きベクトル抽出回路8はフレーム番号3の
画像とフレーム番号1の画像との間の動きベクトルを可
変長復号出力から抽出して動き補償回路9に与え、動き
補償回路9はこの動きベクトルを用いて、フレームメモ
リ11からフレーム番号3の復元画像データを動き補償し
て加算器13に出力する。加算器13は符号化時の予測モー
ドに応じて、動き補償回路9,10の出力を加算し、スイ
ッチ15を介して加算器5に供給する。加算器5は予測誤
差にスイッチ15の出力を加算してフレーム番号1のBピ
クチャの復元画像データを得る。この画像データはフレ
ームメモリ6に与えてフレーム化した後、スイッチ16を
介して出力する(図5(c))。
Next, the B picture of frame number 1 is decoded. Also in this case, the output of the inverse DCT circuit 4 is a prediction error. The motion vector extraction circuit 8 extracts the motion vector between the image of frame number 3 and the image of frame number 1 from the variable length decoded output and supplies it to the motion compensation circuit 9, which uses the motion vector. , The restored image data of frame number 3 is motion-compensated from the frame memory 11 and output to the adder 13. The adder 13 adds the outputs of the motion compensation circuits 9 and 10 according to the prediction mode at the time of encoding, and supplies the outputs to the adder 5 via the switch 15. The adder 5 adds the output of the switch 15 to the prediction error to obtain the restored image data of the B picture of frame number 1. This image data is given to the frame memory 6 to be framed, and then output via the switch 16 (FIG. 5 (c)).

【0019】次に、フレーム番号2のBピクチャを復号
化する。この場合にも、逆DCT回路4の出力とスイッ
チ15の出力とを加算してフレーム番号2のBピクチャの
復元画像データを得る。この画像データはフレームメモ
リ6に与えてフレーム化した後、スイッチ16を介して出
力する(図5(c))。次に、図5(c)に示すよう
に、フレームメモリ11に格納しているフレーム番号3の
復元画像データをスイッチ14及びスイッチ16を介して表
示順に復号化データとして出力する。
Next, the B picture of frame number 2 is decoded. Also in this case, the output of the inverse DCT circuit 4 and the output of the switch 15 are added to obtain the restored image data of the B picture of frame number 2. This image data is given to the frame memory 6 to be framed, and then output via the switch 16 (FIG. 5 (c)). Next, as shown in FIG. 5C, the restored image data of frame number 3 stored in the frame memory 11 is output as decoded data in the display order via the switch 14 and the switch 16.

【0020】以後、同様の動作を繰返して、図5(c)
の復号化順で復元した画像データ(復号化データ)を出
力する。なお、復号処理と出力処理とはメモリのオーバ
ラップ分とシステム中の動作時間とを考慮しながら制御
される。
After that, the same operation is repeated, and FIG.
The image data (decoded data) restored in the decoding order of is output. The decoding process and the output process are controlled in consideration of the memory overlap amount and the operating time in the system.

【0021】このように、Pピクチャは前方フレームの
参照画像を用いて復号化しており、復号化には参照画像
を保持するための1フレーム分のメモリが必要である。
また、Bピクチャは前方及び後方フレームの参照画像を
用いて復号化しており、これらの参照画像を保持するた
めの2フレーム分のメモリが必要である。更に、符号化
処理はDCTブロック単位で行っていることから、上述
したように、加算器5の出力をフレーム化してインタレ
ース表示又はノンインターレース表示を可能にする1フ
レーム分のメモリが必要である。この場合、I,Pピク
チャの復号化データはBピクチャの参照画像として用い
るためにフレームメモリ11,12に記憶させており、これ
らのフレームメモリ11,12からの読出しを制御して出力
することにより、これらのフレームメモリ11,12をフレ
ーム化用に兼用することができる。しかし、Bピクチャ
の復号化データは参照画像用として用いられることはな
くフレームメモリ11,12に記憶されないので、フレーム
化のためにフレームメモリ6を設ける必要がある。
As described above, the P picture is decoded by using the reference image of the front frame, and the decoding requires a memory for one frame to hold the reference image.
Further, the B picture is decoded using the reference images of the front and rear frames, and a memory for two frames is required to hold these reference images. Furthermore, since the encoding process is performed in DCT block units, as described above, a memory for one frame is required to frame the output of the adder 5 to enable interlaced display or non-interlaced display. . In this case, the decoded data of the I and P pictures is stored in the frame memories 11 and 12 to be used as the reference image of the B picture, and the read from these frame memories 11 and 12 is controlled and output. The frame memories 11 and 12 can also be used for framing. However, since the decoded data of the B picture is not used for the reference image and is not stored in the frame memories 11 and 12, it is necessary to provide the frame memory 6 for framing.

【0022】[0022]

【発明が解決しようとする課題】このように、上述した
従来の画像復号化装置においては、Bピクチャを含む画
像符号化データを復号化するためには、多数のメモリが
必要であり、回路規模が増大すると共にコスト高である
という問題点があった。
As described above, in the above-described conventional image decoding apparatus, a large number of memories are required to decode image coded data including B pictures, and the circuit scale is large. However, there is a problem in that the cost increases as the cost increases.

【0023】本発明は、Bピクチャを含む画像符号化デ
ータの復号化に必要なメモリを削減して回路規模を小さ
くし、低コスト化することができる画像復号化装置を提
供することを目的とする。
It is an object of the present invention to provide an image decoding apparatus capable of reducing the memory required for decoding image coded data including B pictures to reduce the circuit scale and cost. To do.

【0024】[発明の構成][Constitution of Invention]

【課題を解決するための手段】本発明の請求項1に係る
画像復号化装置は、前方及び後方の参照画像を用いた両
方向予測符号化データを含む符号化データが入力され、
入力された符号化データを所定のブロック単位で復号化
して復号化データを出力する復号化手段と、入力された
前記両方向予測符号化データを保持する記憶手段と、入
力された前記両方向予測符号化データ及び前記記憶手段
に格納された前記両方向予測符号化データを前記復号化
手段に順次与えて、同一の前記両方向予測符号化データ
について2回の復号化処理を行わせる制御手段と、前記
復号化手段からの前記両方向予測符号化データについて
の1回目の復号化処理による復号化データを少なくとも
1ブロックライン分保持すると共に、保持した復号化デ
ータのうち一方のフィールドの復号化データを表示順に
出力する第1の出力手段と、前記復号化手段からの前記
両方向予測符号化データについての2回目の復号化処理
による復号化データを少なくとも1ブロックライン分保
持すると共に、保持した復号化データのうち他方のフィ
ールドの復号化データを表示順に出力する第2の出力手
段とを具備したものであり、本発明の請求項4に係る画
像復号化装置は、前方及び後方の参照画像を用いた両方
向予測符号化データを含む符号化データが入力され、入
力された符号化データを所定のブロック単位で復号化し
て復号化データを出力する復号化手段と、前記復号化手
段からの前記両方向予測符号化データに対する復号化デ
ータのうち一方フィールドの復号化データを表示順に出
力する第3の出力手段と、前記復号化手段からの前記両
方向予測符号化データに対する復号化データのうち他方
フィールドの復号化データを保持して、前記第3の出力
手段による復号化データの出力終了後に、表示順に出力
する第4の出力手段とを具備したものであり、本発明の
請求項6に係る画像復号化装置は、前方及び後方の参照
画像を用いた両方向予測符号化データを含む符号化デー
タが入力され、入力された符号化データを所定のブロッ
ク単位で復号化して復号化データを出力する復号化手段
と、入力された前記両方向予測符号化データを保持する
第1の記憶手段と、入力された前記両方向予測符号化デ
ータ及び前記第1の記憶手段に格納された前記両方向予
測符号化データを前記復号化手段に順次与えて、同一の
前記両方向予測符号化データについて2回の復号化処理
を行わせる制御手段と、前記復号化手段からの前記両方
向予測符号化データについての1回目の復号化処理によ
る符号化データのうち一方のフィールドを保持する第2
の記憶手段と、2回目の符号化処理時間に前記第2の記
憶手段に記憶された一方のフィールドを読出し表示順に
出力する手段と、前記第2の記憶手段から読出された領
域に2回目の復号処理による復号化データのうち他方の
フィールドを順次記憶する手段とを具備し、前記一方又
は他方のフィールドの復号化データを表示順に出力する
ものである。
According to a first aspect of the present invention, an image decoding device receives coded data including bidirectional predictive coded data using forward and backward reference images,
Decoding means for decoding input coded data in predetermined block units and outputting decoded data, storage means for holding the input bidirectional predictive coded data, and input bidirectional predictive coding Data and the bidirectional predictive coded data stored in the storage means are sequentially given to the decoding means, and control means for performing the decoding process twice for the same bidirectional predictive coded data; and the decoding The decoded data by the first decoding process for the bidirectionally predictive coded data from the means is held for at least one block line, and the decoded data of one field of the held decoded data is output in the display order. The first output means and the decoding data by the second decoding processing for the bidirectionally predictive coded data from the decoding means. Is held for at least one block line, and second output means for outputting the decoded data of the other field of the held decoded data in the display order is provided, and the present invention relates to claim 4 of the present invention. The image decoding apparatus is input with encoded data including bidirectional predictive encoded data using forward and backward reference images, decodes the input encoded data in predetermined block units, and outputs the decoded data. Decoding means, third output means for outputting the decoded data of one field out of the decoded data for the bidirectional predictive coded data from the decoding means in display order, and the bidirectional prediction from the decoding means Of the decoded data for the encoded data, the decoded data of the other field is held, and the output of the decoded data by the third output means is completed. The image decoding apparatus according to claim 6 of the present invention comprises a code including bidirectional predictive coded data using forward and backward reference pictures. Decoding means for receiving the encoded data, decoding the input encoded data in a predetermined block unit and outputting the decoded data, and first storage means for holding the input bidirectional predictive encoded data. , The input bidirectional predictive coded data and the bidirectional predictive coded data stored in the first storage means are sequentially given to the decoding means, and the same bidirectional predictive coded data is decoded twice. A control means for performing a coding process, and a second field for holding one field of the coded data by the first decoding process for the bidirectional predictive coded data from the decoding means.
Storage means, means for outputting one field stored in the second storage means in the reading and displaying order during the second encoding processing time, and second time in the area read from the second storage means. A means for sequentially storing the other field of the decoded data by the decoding processing is provided, and the decoded data of the one or the other field is output in the display order.

【0025】[0025]

【作用】本発明の請求項1において、復号化手段は1画
像の符号化データを1画像の表示時間の1/2の時間内
に復号化可能である。両方向予測符号化データが入力さ
れると、記憶手段はこの両方向予測符号化データを記憶
する。入力された両方向予測符号化データは復号化手段
に与えて1回目の復号化処理を行う。復号化手段からの
復号化データは第1の出力手段に与えて、1ブロックラ
イン分保持させる。第1の出力手段は保持した復号化デ
ータのうち一方のフィールドの復号化データを表示順に
出力する。一方、制御手段は、両方向予測符号化データ
についての1回目の復号化処理が終了すると、記憶手段
に格納されている両方向予測符号化データを復号化手段
に与えて復号化させる。第2の出力手段は2回目の復号
化処理による復号化データを1ブロックライン分保持し
て他方のフィールドの復号化データを表示順に出力す
る。
According to the first aspect of the present invention, the decoding means can decode the encoded data of one image within half the display time of one image. When the bidirectional predictive coded data is input, the storage means stores the bidirectional predictive coded data. The input bidirectional predictive coded data is given to the decoding means to perform the first decoding process. The decoded data from the decoding means is given to the first output means and held for one block line. The first output means outputs the decoded data of one field of the held decoded data in the display order. On the other hand, when the first decoding processing for the bidirectional predictive coded data is completed, the control means gives the bidirectional predictive coded data stored in the storage means to the decoding means for decoding. The second output means holds the decoded data by the second decoding processing for one block line and outputs the decoded data of the other field in the display order.

【0026】本発明の請求項4において、復号化手段は
1画像の符号化データを1画像の表示時間の1/2の時
間内に復号化可能である。復号化手段からの両方向予測
符号化データに対する復号化データは第3及び第4の出
力手段に与える。第3の出力手段は両方向予測符号化デ
ータに対する復号化データのうち一方フィールドの復号
化データを表示順に出力する。第4の出力手段は入力さ
れた復号化データのうち他方フィールドの復号化データ
を記憶しており、第3の出力手段による復号化データの
出力が終了すると、記憶している他方フィールドの復号
化データを表示順に出力する。
In claim 4 of the present invention, the decoding means can decode the encoded data of one image within half the display time of one image. The decoded data for the bidirectional predictive coded data from the decoding means is given to the third and fourth output means. The third output means outputs the decoded data of one field of the decoded data for the bidirectional predictive encoded data in the display order. The fourth output means stores the decoded data of the other field of the input decoded data, and when the output of the decoded data by the third output means ends, the stored other field of the decoded data is decoded. Output the data in display order.

【0027】[0027]

【実施例】以下、図面を参照して本発明の実施例につい
て説明する。図1は本発明に係る画像復号化装置の一実
施例を示すブロック図である。図1において図7と同一
の構成要素には同一符号が付してある。本実施例は符号
化データを復号化してインターレース表示の表示順で復
号化データを出力するものである。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of an image decoding apparatus according to the present invention. 1, the same components as those in FIG. 7 are designated by the same reference numerals. In the present embodiment, the encoded data is decoded and the decoded data is output in the display order of interlaced display.

【0028】符号化データは符号バッファメモリ回路1
に供給する。この符号化データは、DCT処理、量子化
処理及び可変長符号化処理によって作成されたものであ
り、フレーム内の処理によるIピクチャ、前方又は後方
フレームの参照画像を用いたPピクチャ及び両方向フレ
ームの参照画像を用いたBピクチャを有している。ま
た、符号化データはP,Bピクチャ作成時に用いた動き
ベクトルの情報も含んでいる。なお、DCT処理はフレ
ーム化後にブロック化して得たブロック単位で行う。
The coded data is the code buffer memory circuit 1
Supply to. This coded data is created by DCT processing, quantization processing, and variable length coding processing, and includes I-pictures by intra-frame processing, P-pictures using reference images of forward or backward frames, and bidirectional frames. It has a B picture using a reference image. The encoded data also includes information on the motion vector used when creating the P and B pictures. It should be noted that the DCT processing is performed on a block-by-block basis obtained by dividing the frame into blocks.

【0029】符号バッファメモリ回路1は入力された符
号化データを保持し、復号化処理時間と出力処理時間と
の時間あわせを行って出力する。本実施例においては、
符号バッファメモリ回路1の出力はスイッチ21の端子
a、メモリ22及びピクチャ検出回路23に供給するように
なっている。ピクチャ検出回路23は入力された符号化デ
ータのピクチャタイプを検出して、検出信号をバッファ
制御回路24に出力する。
The code buffer memory circuit 1 holds the input coded data, and outputs it after adjusting the decoding processing time and the output processing time. In this embodiment,
The output of the code buffer memory circuit 1 is supplied to the terminal a of the switch 21, the memory 22 and the picture detection circuit 23. The picture detection circuit 23 detects the picture type of the input encoded data and outputs a detection signal to the buffer control circuit 24.

【0030】バッファ制御回路24は検出信号に基づいて
符号バッファメモリ回路1を制御する。また、バッファ
制御回路24は、検出信号によってBピクチャが入力され
ていることが示された場合には、入力されたBピクチャ
の符号化データをメモリ22に記憶させるための書込みア
ドレスを発生すると共にスイッチ21に端子aを選択させ
て、符号バッファメモリ回路1の出力を可変長復号回路
2に供給する。また、バッファ制御回路24は符号バッフ
ァメモリ回路1からのBピクチャの復号化が終了する
と、メモリ22に読出しアドレスを与えると共にスイッチ
21に端子bを選択させて、メモリ22に格納されているB
ピクチャの符号化データを可変長復号回路2に供給する
ようになっている。なお、バッファ制御回路24は入力さ
れている符号化データがI,Pピクチャである場合に
は、スイッチ21に端子aを選択させるようになってい
る。メモリ22はBピクチャの符号化データを記憶する。
なお、Bピクチャの符号量はIピクチャの符号量よりも
十分に小さく、画素データを保持するフレームメモリの
約1/4の容量があればよい。
The buffer control circuit 24 controls the code buffer memory circuit 1 based on the detection signal. When the detection signal indicates that the B picture is input, the buffer control circuit 24 generates a write address for storing the encoded data of the input B picture in the memory 22. The switch 21 selects the terminal a and supplies the output of the code buffer memory circuit 1 to the variable length decoding circuit 2. When the decoding of the B picture from the code buffer memory circuit 1 is completed, the buffer control circuit 24 gives a read address to the memory 22 and switches it.
B stored in the memory 22 by causing the terminal 21 to select the terminal b
The encoded data of a picture is supplied to the variable length decoding circuit 2. The buffer control circuit 24 causes the switch 21 to select the terminal a when the input coded data is an I or P picture. The memory 22 stores encoded data of B picture.
It should be noted that the code amount of the B picture is sufficiently smaller than the code amount of the I picture, and the capacity of the frame memory for holding the pixel data is about 1/4.

【0031】可変長復号回路2はスイッチ21を介して符
号化データが与えられて、可変長復号化処理によって符
号化側の可変長符号化処理前のデータに戻して、逆量子
化回路3及び動きベクトル抽出回路8に出力する。動き
ベクトル抽出回路8はP,Bピクチャについては、可変
長復号出力に含まれる動きベクトルを抽出して動き補償
回路9,10に出力する。逆量子化回路3は入力されたデ
ータを逆量子化処理して逆DCT回路4に与え、逆DC
T回路4は逆量子化出力を逆DCT処理して加算器5に
出力する。
The variable length decoding circuit 2 receives the encoded data through the switch 21 and returns it to the data before the variable length encoding process on the encoding side by the variable length decoding process, and the inverse quantization circuit 3 and Output to the motion vector extraction circuit 8. For the P and B pictures, the motion vector extraction circuit 8 extracts the motion vector included in the variable length decoded output and outputs it to the motion compensation circuits 9 and 10. The inverse quantization circuit 3 inversely quantizes the input data and gives it to the inverse DCT circuit 4,
The T circuit 4 performs inverse DCT processing on the inverse quantized output and outputs it to the adder 5.

【0032】加算器5にはスイッチ15の出力も与える。
スイッチ15は、逆DCT回路4の出力がIピクチャに基
づくものである場合には0を加算器5に与え、Pピクチ
ャに基づくものである場合には後述する動き補償回路
9,10の一方の出力を加算器5に与え、Bピクチャに基
づくものである場合には動き補償回路9,10又は後述す
る加算器13の出力を加算器5に与える。加算器5は逆D
CT回路4の出力とスイッチ15の出力とを加算すること
により画像を復元して、フレームメモリ11,12に出力す
ると共に、出力部25のスイッチ26を介してメモリ27,28
に出力する。
The output of the switch 15 is also given to the adder 5.
The switch 15 gives 0 to the adder 5 when the output of the inverse DCT circuit 4 is based on the I picture, and when one of the motion compensation circuits 9 and 10 described later is based on the P picture. The output is given to the adder 5, and when it is based on the B picture, the output of the motion compensation circuits 9 and 10 or the adder 13 described later is given to the adder 5. Adder 5 is inverse D
The image is restored by adding the output of the CT circuit 4 and the output of the switch 15, and the image is output to the frame memories 11 and 12, and at the same time, the memories 27 and 28 are output via the switch 26 of the output unit 25.
Output to.

【0033】メモリ27,28の出力はスイッチ29,20を介
してスイッチ16に出力する。スイッチ26,29は連動して
切換り、スイッチ26を介してメモリ27の書込みが行われ
ている場合には、メモリ28からスイッチ29を介してデー
タの読出しを行い、メモリ28に書込が行われいる場合に
は、メモリ27からデータの読出しを行うようになってい
る。メモリ27,28は1ブロックラインの画素データを保
持する容量を有している。
The outputs of the memories 27 and 28 are output to the switch 16 via the switches 29 and 20. The switches 26 and 29 are interlocked with each other, and when the memory 27 is being written via the switch 26, the data is read from the memory 28 via the switch 29 and the data is written into the memory 28. If it is open, the data is read from the memory 27. The memories 27 and 28 have a capacity for holding pixel data of one block line.

【0034】フレームメモリ11,12は参照画像となる
I,Pピクチャの復元画像データを保持する。フレーム
メモリ11,12は対応するP,Bピクチャの復号タイミン
グで保持している参照画像データを動き補償回路9,10
に出力するようになっている。動き補償回路9,10は夫
々フレームメモリ11,12からの参照画像データを動きベ
クトル抽出回路8からの動きベクトルに基づいて動き補
償して出力する。動き補償回路9,10の出力はスイッチ
15に供給すると共に、加算器13にも供給する。加算器13
は、予測モードに応じて動き補償回路9,10の出力を加
算してスイッチ15に出力するようになっている。
The frame memories 11 and 12 hold restored image data of I and P pictures as reference images. The frame memories 11 and 12 store the reference image data held at the corresponding P and B picture decoding timings in the motion compensation circuits 9 and 10.
Output. The motion compensating circuits 9 and 10 perform motion compensation on the reference image data from the frame memories 11 and 12 based on the motion vector from the motion vector extracting circuit 8 and output the result. The outputs of the motion compensation circuits 9 and 10 are switches
It is supplied to 15 as well as to the adder 13. Adder 13
Is configured to add the outputs of the motion compensation circuits 9 and 10 according to the prediction mode and output the result to the switch 15.

【0035】また、スイッチ14は、画像の出力フレーム
順に応じて切換り、フレームメモリ11,12に格納されて
いる復元画像データをスイッチ16に出力する。スイッチ
16は画像の出力フレーム順に応じて切換って、一連のフ
レームの復元画像データを復号化データとして出力する
ようになっている。
Further, the switch 14 switches in accordance with the image output frame order and outputs the restored image data stored in the frame memories 11 and 12 to the switch 16. switch
Reference numeral 16 switches in accordance with the output frame order of the image, and outputs the restored image data of a series of frames as decoded data.

【0036】本実施例においては、可変長復号回路2、
逆量子化回路3、逆DCT回路4、加算器5、動きベク
トル抽出回路8、動き補償回路9,10、フレームメモリ
11,12、加算器13及びスイッチ15は1フレームの画像表
示時間内にBピクチャについて2回の復号処理を行うこ
とができるようになっている。例えば、NTSC画像に
ついては、一般的には、サンプリング周波数が13.5
MHzに設定されている。従って、NTSC画像の符号
化データを復号化する場合には、27MHzのクロック
を用いて復号化処理を行えばよく、現在の集積回路の動
作速度を考慮すると、復号化処理に用いるこれらの回路
は従来と同一のものでよい。
In this embodiment, the variable length decoding circuit 2,
Inverse quantization circuit 3, inverse DCT circuit 4, adder 5, motion vector extraction circuit 8, motion compensation circuits 9 and 10, frame memory
11, 12 and the adder 13 and the switch 15 can perform the decoding process twice for the B picture within the image display time of one frame. For example, for NTSC images, the sampling frequency is typically 13.5.
It is set to MHz. Therefore, when decoding the encoded data of the NTSC image, the decoding process may be performed by using the clock of 27 MHz. Considering the operation speed of the present integrated circuit, these circuits used for the decoding process are It may be the same as the conventional one.

【0037】次に、このように構成された実施例の動作
について図2を参照して説明する。図2は図1中のメモ
リ27,28の書込み及び読出しを説明するための説明図で
ある。図2(a),(b)は夫々1回目の復号化時の書
込み及び読出しを示し、図2(c),(d)は夫々2回
目の復号化時の書込み及び読出しを示している。なお、
図2中では、奇数フィールドのデータを実線にて示し、
偶数フィールドのデータを破線にて示している。
Next, the operation of the embodiment thus constructed will be described with reference to FIG. FIG. 2 is an explanatory diagram for explaining writing and reading of the memories 27 and 28 in FIG. 2A and 2B show writing and reading at the first decoding, and FIGS. 2C and 2D show writing and reading at the second decoding, respectively. In addition,
In FIG. 2, the odd field data is shown by a solid line,
The data of the even-numbered fields are shown by broken lines.

【0038】符号化データは符号バッファメモリ回路1
に供給する。符号化データはI,P,Bピクチャを有し
ており、例えば、図5(b)のフレーム順で入力するも
のとする。符号バッファメモリ回路1は符号化処理時間
及び出力時間を考慮して、入力された符号化データを保
持してスイッチ21の端子a及びピクチャ検出回路23に出
力する。先ず、図5(b)に示すように、フレーム番号
0のIピクチャの符号化データが入力されるものとす
る。ピクチャ検出回路23はIピクチャであることを検出
して検出信号をバッファ制御回路24に出力する。これに
より、バッファ制御回路24は、符号バッファメモリ回路
1を制御すると共に、スイッチ21に端子aを選択させ
る。
The encoded data is the code buffer memory circuit 1.
Supply to. The encoded data has I, P, and B pictures, and is input in the frame order of FIG. 5B, for example. The code buffer memory circuit 1 holds the input coded data in consideration of the coding processing time and the output time and outputs the coded data to the terminal a of the switch 21 and the picture detection circuit 23. First, as shown in FIG. 5B, it is assumed that the encoded data of the I picture of frame number 0 is input. The picture detection circuit 23 detects that it is an I picture and outputs a detection signal to the buffer control circuit 24. As a result, the buffer control circuit 24 controls the code buffer memory circuit 1 and causes the switch 21 to select the terminal a.

【0039】符号バッファメモリ回路1によって遅延さ
れたIピクチャの符号化データは、スイッチ21を介して
可変長復号回路2に与えて可変長復号化する。更に、逆
量子化回路3によって逆量子化し、逆DCT回路4によ
って逆DCT処理して、符号化側のDCT処理前のデー
タに戻して加算器5に出力する。この場合には、逆DC
T回路4の出力はフレーム番号0の復元画像である。な
お、これらの処理はブロック単位で行う。スイッチ15は
0を加算器5に与えており、加算器5は逆DCT回路4
の出力をそのままフレームメモリ12に与える。
The coded data of the I picture delayed by the code buffer memory circuit 1 is given to the variable length decoding circuit 2 via the switch 21 to be variable length decoded. Further, the inverse quantization circuit 3 performs inverse quantization, the inverse DCT circuit 4 performs inverse DCT processing, restores the data before DCT processing on the encoding side, and outputs the data to the adder 5. In this case, the inverse DC
The output of the T circuit 4 is a restored image of frame number 0. Note that these processes are performed in block units. The switch 15 gives 0 to the adder 5, and the adder 5 receives the inverse DCT circuit 4
The output of is directly given to the frame memory 12.

【0040】フレームメモリ12によって、各ブロックの
復号化データは1フレーム分蓄積され、所定の出力タイ
ミングにおいて、表示順に読出してスイッチ14,16を介
して出力する。
The frame memory 12 stores the decoded data of each block for one frame, and at predetermined output timing, the decoded data is read in the display order and output via the switches 14 and 16.

【0041】符号バッファメモリ回路1には次にフレー
ム番号3のPピクチャの符号化データが入力されてい
る。ピクチャ検出回路3はPピクチャが入力されている
ことを示す検出信号をバッファ制御回路24に出力し、バ
ッファ制御回路24はスイッチ21に端子aを選択させる。
符号バッファメモリ回路1によって所定時間遅延された
Pピクチャの符号化データはスイッチ21を介して可変長
復号回路2に供給して可変長復号する。可変長復号回路
2の出力は逆量子化回路3及び逆DCT回路4によって
DCT処理前のデータに戻すと共に、動きベクトル抽出
回路8にも与える。動きベクトル抽出回路8によって、
Pピクチャの符号化データに含まれる動きベクトルを抽
出して動き補償回路10に与える。
Next, coded data of the P picture of frame number 3 is input to the code buffer memory circuit 1. The picture detection circuit 3 outputs a detection signal indicating that a P picture is input to the buffer control circuit 24, and the buffer control circuit 24 causes the switch 21 to select the terminal a.
The coded data of the P picture delayed by the code buffer memory circuit 1 for a predetermined time is supplied to the variable length decoding circuit 2 via the switch 21 and variable length decoding is performed. The output of the variable length decoding circuit 2 is returned to the data before DCT processing by the inverse quantization circuit 3 and the inverse DCT circuit 4, and is also given to the motion vector extraction circuit 8. By the motion vector extraction circuit 8,
The motion vector included in the encoded data of the P picture is extracted and given to the motion compensation circuit 10.

【0042】フレームメモリ12はフレーム番号0のIピ
クチャの復号化データを参照画像として保持しており、
動き補償回路10はフレームメモリ12のデータを読出し
て、動きベクトルを用いて動き補償する。この動き補償
された参照画像のデータはスイッチ15を介して加算器5
に与える。逆DCT回路4の出力は復号された予測誤差
であり、加算器5はこの予測誤差にスイッチ15からの参
照画像のデータを加算することにより、フレーム番号3
の画像データを復元する。この画像データはフレームメ
モリ11に格納する。
The frame memory 12 holds the decoded data of the I picture of frame number 0 as a reference image,
The motion compensation circuit 10 reads the data in the frame memory 12 and compensates for motion using the motion vector. This motion-compensated reference image data is added via the switch 15 to the adder 5
Give to. The output of the inverse DCT circuit 4 is the decoded prediction error, and the adder 5 adds the data of the reference image from the switch 15 to this prediction error to obtain the frame number 3
Restore the image data of. This image data is stored in the frame memory 11.

【0043】次に、符号バッファメモリ回路1にはフレ
ーム番号1のBピクチャの符号化データが入力されてい
る。ピクチャ検出回路23はBピクチャの符号化データが
入力されたことを示す検出信号をバッファ制御回路24に
出力する。そうすると、バッファ制御回路24は符号バッ
ファメモリ回路1からのBピクチャの符号化データをス
イッチ21を介して可変長復号回路2に出力させると共
に、メモリ22にも与えて格納させる。
Next, the code buffer memory circuit 1 is supplied with the coded data of the B picture of frame number 1. The picture detection circuit 23 outputs a detection signal indicating that the encoded data of the B picture has been input to the buffer control circuit 24. Then, the buffer control circuit 24 outputs the encoded data of the B picture from the code buffer memory circuit 1 to the variable length decoding circuit 2 via the switch 21 and also supplies it to the memory 22 for storage.

【0044】本実施例においては、Bピクチャについて
は、1フレームの画像表示期間内に2回の復号化処理を
行う。可変長復号回路2はBピクチャの符号化データを
可変長復号し、逆量子化回路3及び逆DCT回路4によ
って元の画素データに戻す。一方、動きベクトル抽出回
路8は可変長復号出力からフレーム番号0,3の参照画
像に対応する動きベクトルを抽出して夫々動き補償回路
10,9に出力する。なお、予測モードによっては、いず
れか一方の動きベクトルのみが抽出されることもある。
In this embodiment, the decoding process is performed twice for the B picture within the image display period of one frame. The variable length decoding circuit 2 performs variable length decoding on the coded data of the B picture and restores the original pixel data by the inverse quantization circuit 3 and the inverse DCT circuit 4. On the other hand, the motion vector extraction circuit 8 extracts the motion vector corresponding to the reference image of the frame numbers 0 and 3 from the variable length decoding output, and the motion vector extraction circuit 8 respectively extracts the motion vector.
Output to 10 and 9. Depending on the prediction mode, only one of the motion vectors may be extracted.

【0045】フレームメモリ12,11は夫々フレーム番号
0,3の復元画像データを参照画像データとして保持し
ており、動き補償回路9,10はこれらの復元画像データ
を読出して、動きベクトルに基づいて動き補償してスイ
ッチ15及び加算器13に出力する。即ち、動き補償回路
9,10は、逆DCT回路4から出力された所定ブロック
の復号化データに対応するブロック化位置を動きベクト
ルによって補正して、補正したブロック化位置のブロッ
クデータを動き補償した参照画像データとして出力す
る。加算器13は動き補償回路9,10の出力を加算してス
イッチ15に出力する。スイッチ15は、予測方向が前方で
ある場合には動き補償回路10の出力を選択し、後方であ
る場合には動き補償回路9の出力を選択し、両方向であ
る場合には加算器13の出力を選択して、動き補償した参
照画像データとして加算器5に出力する。
The frame memories 12 and 11 hold the restored image data of frame numbers 0 and 3 respectively as reference image data, and the motion compensation circuits 9 and 10 read these restored image data and based on the motion vector. The motion is compensated and output to the switch 15 and the adder 13. That is, the motion compensating circuits 9 and 10 correct the blocking position corresponding to the decoded data of the predetermined block output from the inverse DCT circuit 4 by the motion vector, and motion-compensate the block data at the corrected blocking position. Output as reference image data. The adder 13 adds the outputs of the motion compensation circuits 9 and 10 and outputs the result to the switch 15. The switch 15 selects the output of the motion compensation circuit 10 when the prediction direction is forward, selects the output of the motion compensation circuit 9 when the prediction direction is backward, and the output of the adder 13 when the prediction direction is bidirectional. Is output to the adder 5 as motion-compensated reference image data.

【0046】こうして、加算器5は逆DCT回路4から
のブロックデータとスイッチ15からのブロック単位の参
照画像データとを加算することにより、各ブロック単位
でフレーム番号1の画像データを復元してスイッチ26に
出力する。スイッチ26,29は1ブロックライン毎に切換
る。
In this way, the adder 5 restores the image data of the frame number 1 in each block unit by adding the block data from the inverse DCT circuit 4 and the reference image data of the block unit from the switch 15 to the switch unit. Output to 26. The switches 26 and 29 are switched for each block line.

【0047】即ち、加算器5からのブロックデータは1
ブロックライン毎にメモリ27,28を切換えて記録する。
また、メモリ27,28からの読出しも書込と同時に切換え
る。例えば、図2(a)に示すように、画面最上端の第
1ブロックラインのデータをメモリ27に書込んだ場合に
は、加算器5からの次の1ブロックライン(第2ブロッ
クライン)の各ブロックデータはメモリ28に書込む。そ
して、このメモリ28への第2ブロックラインのブロック
データの書込と同時に、メモリ27から第1ブロックライ
ンの奇数フィールドのデータを表示順に読出してスイッ
チ29を介して出力する。同様にして、加算器5からの第
3ブロックラインの各ブロックデータをメモリ27に書込
むと同時に、メモリ28から第2ブロックラインの奇数フ
ィールドのデータを表示順に読出してスイッチ29を介し
て出力する。
That is, the block data from the adder 5 is 1
The memories 27 and 28 are switched and recorded for each block line.
Further, reading from the memories 27 and 28 is switched at the same time as writing. For example, as shown in FIG. 2A, when the data of the first block line at the top of the screen is written in the memory 27, the next one block line (second block line) from the adder 5 Each block data is written in the memory 28. Simultaneously with the writing of the block data of the second block line to the memory 28, the data of the odd field of the first block line is read from the memory 27 in the order of display and is output via the switch 29. Similarly, each block data of the third block line from the adder 5 is written into the memory 27, and at the same time, the data of the odd field of the second block line is read out from the memory 28 in the display order and output through the switch 29. .

【0048】以後同様の動作を繰返して、図2(b)に
示すように、奇数フィールドの復号化データをスイッチ
29,16を介して表示順に順次出力する。上述したよう
に、Bピクチャの復号化処理は1フレームの表示時間の
1/2の時間以内に行うことができ、奇数フィールドの
復号化データは1フィールド時間で出力される。こうし
て、インターレース表示の奇数フィールドの画像データ
を得る。
After that, the same operation is repeated to switch the decoded data of the odd field as shown in FIG. 2 (b).
Outputs in order of display via 29 and 16. As described above, the decoding process of the B picture can be performed within half the display time of one frame, and the decoded data of the odd field is output in one field time. In this way, the image data of the odd field of the interlaced display is obtained.

【0049】一方、バッファ制御回路24は、フレーム番
号1のBピクチャに対する1回目の復号化処理が終了す
ると、スイッチ21に端子bを選択させて、メモリ22に格
納されているフレーム番号1のBピクチャの符号化デー
タを可変長復号回路2に与える。この場合には、1回目
の復号化処理と同様の処理が行われて、加算器5はフレ
ーム番号1のBピクチャの復号化データをブロック単位
で順次出力する。
On the other hand, when the first decoding process for the B picture of frame number 1 is completed, the buffer control circuit 24 causes the switch 21 to select the terminal b and the B of frame number 1 stored in the memory 22. The encoded data of the picture is given to the variable length decoding circuit 2. In this case, the same processing as the first decoding processing is performed, and the adder 5 sequentially outputs the decoded data of the B picture of frame number 1 in block units.

【0050】加算器5からの第1ブロックラインの各ブ
ロックデータは、図2(c)に示すように、スイッチ26
を介してメモリ27に順次書込む。次の第2ブロックライ
ンの各ブロックデータはメモリ28に順次書込み、この書
込と同時にメモリ27からの第1ブロックラインの偶数フ
ィールドの画素データを表示順に順次読出す。以後同様
の動作を繰返して、図2(d)に示すように、偶数フィ
ールドの画素データを表示順に読出して、スイッチ29,
16を介して出力する。偶数フィールドの復号化データの
出力は1フレームの表示時間の後半の1/2の時間に行
う。こうして、インターレース表示の偶数フィールドの
復号化データを得る。
Each block data of the first block line from the adder 5 has a switch 26 as shown in FIG.
Are sequentially written to the memory 27 via. Each block data of the next second block line is sequentially written into the memory 28, and at the same time as this writing, the pixel data of the even field of the first block line from the memory 27 is sequentially read out in the display order. After that, the same operation is repeated to read out the pixel data of the even field in the display order as shown in FIG.
Output through 16. The output of the decoded data of the even field is performed in the half time of the latter half of the display time of one frame. Thus, the decoded data of the even field of the interlaced display is obtained.

【0051】次に、フレーム番号2のBピクチャの符号
化データについても、符号化処理を1フレームの表示期
間に2回行って、奇数フィールドと偶数フィールドとに
分けて、復号化データを出力する。次に、フレームメモ
リ11に格納されているフレーム番号3の復元画像データ
を表示順に読出して、スイッチ14,16を介して出力す
る。以後、同様の動作を繰返すことにより、図5(c)
の復号化データを得る。
Next, with respect to the coded data of the B picture of frame number 2, the coding process is performed twice in the display period of one frame, and the decoded data is output in the odd field and the even field. . Next, the restored image data of frame number 3 stored in the frame memory 11 is read in the order of display and output via the switches 14 and 16. After that, by repeating the same operation, as shown in FIG.
Get the decrypted data of.

【0052】このように、本実施例においては、1フレ
ームの画像表示時間内にBピクチャの復号化処理を2回
行い、1回目の復号化処理によって得られるブロックデ
ータを1ブロックライン分ずつメモリに記憶させ、奇数
フィールドのデータのみを表示順に読出すことにより、
インターレースの奇数フィールドの復号化データを得、
同様にして、2回目の復号化処理によって得られるブロ
ックデータを1ブロックライン分ずつメモリに記憶さ
せ、偶数フィールドのデータのみを表示順に読出すこと
により、インターレースの偶数フィールドの復号化デー
タを得る。従って、メモリ27,28としては1ブロックラ
イン分の容量を有していればよい。即ち、メモリ22,2
7,28の総容量は比較的小さくてよく、従来に比して復
号化に必要なメモリ容量を低減することができる。これ
により、回路規模を低減して低コスト化を図ることがで
きる。
As described above, in this embodiment, the decoding process of the B picture is performed twice within the image display time of one frame, and the block data obtained by the first decoding process is memorized for each one block line. Stored in the memory and read only the odd field data in the order of display,
Get the decoded data of the interlaced odd fields,
Similarly, the block data obtained by the second decoding process is stored in the memory one block line at a time, and only the even field data is read in the display order to obtain the interlaced even field decoded data. Therefore, the memories 27 and 28 only need to have a capacity for one block line. That is, the memories 22 and 2
The total capacity of 7, 28 may be relatively small, and the memory capacity required for decoding can be reduced as compared with the conventional one. As a result, the circuit scale can be reduced and the cost can be reduced.

【0053】なお、本実施例においては、Bピクチャを
2回復号する動作を明確にするために、入力された符号
化データを保持する符号バッファメモリ回路1とBピク
チャの符号化データを記憶するメモリ22を別のメモリと
して説明したが、入力されたBピクチャ符号化データは
1度、符号バッファメモリ回路1に保持されているの
で、これを2回読出すことで本実施例を実現することも
可能である。
In this embodiment, in order to clarify the operation of decoding the B picture twice, the code buffer memory circuit 1 which holds the input coded data and the coded data of the B picture are stored. Although the memory 22 has been described as another memory, since the input B-picture encoded data is held once in the code buffer memory circuit 1, the present embodiment may be realized by reading this out twice. It is possible.

【0054】なお、本実施例ではメモリ27とメモリ28は
1ブロックラインの画素データを保持する容量を有す
る。このため1ブロックライン時間内に符号化画像の復
号を終了させる必要がある。
In this embodiment, the memories 27 and 28 have a capacity for holding pixel data of one block line. Therefore, it is necessary to finish the decoding of the coded image within one block line time.

【0055】ところで、符号化データは可変長であるの
で符号量が多いブロックと少ないブロックが存在する。
このため符号量が多いブロックラインでは、使用するメ
モリによっては、メモリのアクセスタイムにより復号終
了処理時間が1ブロックライン時間内でおさまらない場
合がある。
By the way, since the encoded data has a variable length, there are blocks having a large code amount and blocks having a small code amount.
Therefore, in a block line having a large code amount, depending on the memory used, the decoding end processing time may not be settled within one block line time depending on the memory access time.

【0056】このため、例えばメモリ27とメモリ28とを
1つのフィールドメモリに置き換えて、Bピクチャの1
回目の復号処理時には復号データのうち、一方のフィー
ルドをこのフィールドメモリに保持し、2回目の復号処
理時には、1回目の復号時に保持した一方のフィールド
を読出し、表示順に出力しながら、この読出された領域
に2回目の復号処理で得られた復号データのうち、他方
のフィールドを順次保持していくことによって一方及び
他方のフィールドの復号データを表示順に出力する方法
を行えば、復号処理時間を長く確保することが可能にな
る。
Therefore, for example, the memory 27 and the memory 28 are replaced with one field memory, and the B picture 1
During the second decoding process, one field of the decoded data is held in this field memory, and during the second decoding process, the one field that was held during the first decoding is read out and output while being output in the display order. If the method of outputting the decoded data of one and the other fields in the display order by sequentially holding the other field of the decoded data obtained by the second decoding processing in the area It can be secured for a long time.

【0057】この方法によれば、実施例で説明したより
もメモリ容量は増えるが、メモリアクセス速度による復
号処理時間の問題を解決し、且つ従来例に対してメモリ
容量を削減することが可能でる。
According to this method, the memory capacity is larger than that described in the embodiment, but it is possible to solve the problem of the decoding processing time due to the memory access speed and reduce the memory capacity as compared with the conventional example. .

【0058】図3は本発明の他の実施例を示すブロック
図である。図3において図1と同一の構成要素には同一
符号を付して説明を省略する。
FIG. 3 is a block diagram showing another embodiment of the present invention. In FIG. 3, the same components as those in FIG. 1 are designated by the same reference numerals and the description thereof will be omitted.

【0059】本実施例はスイッチ21、メモリ22、ピクチ
ャ検出回路23及びバッファ制御回路24を削除してバッフ
ァ制御回路7を採用すると共に、出力部25に代えて出力
部31を採用した点が図1の実施例と異なる。符号バッフ
ァメモリ回路1の出力は可変長復号回路2に与え、可変
長復号回路2の出力はバッファ制御回路7に与える。バ
ッファ制御回路7は可変長復号回路2からの可変長復号
出力に基づいて符号バッファメモリ回路1を制御するよ
うになっている。
In this embodiment, the switch 21, the memory 22, the picture detection circuit 23, and the buffer control circuit 24 are deleted to employ the buffer control circuit 7, and the output unit 31 is used instead of the output unit 25. 1 is different from the first embodiment. The output of the code buffer memory circuit 1 is given to the variable length decoding circuit 2, and the output of the variable length decoding circuit 2 is given to the buffer control circuit 7. The buffer control circuit 7 controls the code buffer memory circuit 1 based on the variable length decoded output from the variable length decoding circuit 2.

【0060】出力部31はスイッチ32,33、メモリ34,35
及びフィールドメモリ36によって構成している。スイッ
チ32は、加算器5から奇数番目の水平ブロックのブロッ
クデータが出力される場合にはメモリ34又はフィールド
メモリ36を交互に選択し、加算器5から偶数番目の水平
ブロックのブロックデータが出力される場合にはメモリ
35又はフィールドメモリ36を交互に選択する。スイッチ
36は、ブロックデータのうち奇数フィールドのデータは
メモリ35,36に与え、偶数フィールドのデータはフィー
ルドメモリ36に与えるようになっている。メモリ34,35
は、1ブロックライン分のデータを格納するようになっ
ている。フィールドメモリ36は、偶数フィールドのデー
タを格納するようになっている。スイッチ33は、奇数フ
ィールドにおいて、スイッチ32がメモリ34又はフィール
ドメモリ36を交互に選択している場合にはメモリ35を選
択し、スイッチ32がメモリ35又はフィールドメモリ36を
交互に選択している場合にはメモリ34を選択する。ま
た、スイッチ33は偶数フィールドの表示時間にはフィー
ルドメモリ36の出力を選択するようになっている。
The output unit 31 includes switches 32 and 33 and memories 34 and 35.
And the field memory 36. When the block data of the odd-numbered horizontal block is output from the adder 5, the switch 32 alternately selects the memory 34 or the field memory 36, and the adder 5 outputs the block data of the even-numbered horizontal block. Memory if
35 or the field memory 36 is selected alternately. switch
In the block data 36, the odd field data of the block data is given to the memories 35 and 36, and the even field data is given to the field memory 36. Memory 34, 35
Is designed to store data for one block line. The field memory 36 is adapted to store even field data. In the odd field, the switch 33 selects the memory 35 when the switch 32 alternately selects the memory 34 or the field memory 36, and when the switch 32 alternately selects the memory 35 or the field memory 36. To select the memory 34. The switch 33 selects the output of the field memory 36 during the display time of even fields.

【0061】なお、本実施例においては、Bピクチャに
ついては、図1の実施例と同様に1フレームの画像表示
時間の1/2の時間内に復号化処理を行う必要がある
が、復号化処理は1回のみでよい。
In the present embodiment, it is necessary to carry out the decoding process for the B picture within half the image display time of one frame as in the embodiment of FIG. Only one treatment is required.

【0062】次に、このように構成された実施例の動作
について図4を参照して説明する。図4は図3中のメモ
リ34,35及びフィールドメモリ36の書込み及び読出しを
説明するための説明図である。図4(a)はブロックデ
ータの書込みを示し、図4(b),(c)は夫々奇数フ
ィールド及び偶数フィールドにおける復号化データの読
出しを示している。なお、図4中では、奇数フィールド
のデータを実線にて示し、偶数フィールドのデータを破
線にて示している。
Next, the operation of the embodiment thus constructed will be described with reference to FIG. FIG. 4 is an explanatory diagram for explaining writing and reading of the memories 34 and 35 and the field memory 36 in FIG. FIG. 4A shows writing of block data, and FIGS. 4B and 4C show reading of decoded data in an odd field and an even field, respectively. In FIG. 4, the data in the odd field is shown by a solid line, and the data in the even field is shown by a broken line.

【0063】符号化バッファメモリ回路1には図1の実
施例と同様の符号化データを与える。符号化バッファメ
モリ回路1はバッファ制御回路7に制御されて、符号化
処理時間及び出力時間に基づく遅延量で入力された符号
化データを遅延させて可変長復号回路2に出力する。可
変長復号回路2以降の復号処理は図1の実施例と同様で
ある。また、Bピクチャの符号化データに対して、1フ
レームの画像表示時間の1/2の時間内に復号化処理を
行うことも図1の実施例と同様である。
Encoding data similar to that of the embodiment of FIG. 1 is given to the encoding buffer memory circuit 1. The encoding buffer memory circuit 1 is controlled by the buffer control circuit 7, delays the input encoded data by a delay amount based on the encoding processing time and the output time, and outputs the delayed encoded data to the variable length decoding circuit 2. The decoding process after the variable length decoding circuit 2 is the same as that of the embodiment of FIG. Further, the decoding process is performed on the encoded data of the B picture within half the image display time of one frame, as in the embodiment of FIG.

【0064】本実施例においては、Bピクチャの復号化
データを加算器5から出力部31に供給する。いま、加算
器5がBピクチャの第1ブロックラインの復号化データ
をブロック単位でスイッチ32に供給するものとする。こ
の場合には、スイッチ32は、図4(a)に示すように、
各ブロックデータのうち奇数フィールドのデータはメモ
リ34に書込み、偶数フィールドのデータはフィールドメ
モリ36に書込む。こうして、メモリ34には第1ブロック
ラインのうちの奇数フィールドの復号化データのみが格
納される。また、フィールドメモリ36には第1ブロック
ラインの偶数フィールドの復号化データが格納される。
In this embodiment, the decoded data of the B picture is supplied from the adder 5 to the output unit 31. Now, it is assumed that the adder 5 supplies the decoded data of the first block line of the B picture to the switch 32 in block units. In this case, the switch 32, as shown in FIG.
Of each block data, odd field data is written in the memory 34, and even field data is written in the field memory 36. Thus, only the decoded data of the odd field of the first block line is stored in the memory 34. Further, the field memory 36 stores the decoded data of the even field of the first block line.

【0065】次に、加算器5は第2ブロックラインの符
号化データをブロック単位で出力する。この場合には、
スイッチ32は、各ブロックデータのうち奇数フィールド
のデータをメモリ35に書込み、偶数フィールドのデータ
はフィールドメモリ36に追加書込みする。こうして、メ
モリ35には第2ブロックラインのうちの奇数フィールド
の復号化データのみが格納される。また、フィールドメ
モリ36には第1ブロックラインの偶数フィールドの復号
化データに続けて、第2ブロックラインの偶数フィール
ドの復号化データが格納される。また、この期間には、
スイッチ33はメモリ34を選択している。これにより、メ
モリ34に格納されている第1ブロックラインの奇数フィ
ールドのデータを表示順に読出してスイッチ16を介して
出力する。
Next, the adder 5 outputs the encoded data of the second block line in block units. In this case,
The switch 32 writes the odd field data of each block data in the memory 35, and additionally writes the even field data in the field memory 36. Thus, the memory 35 stores only the decoded data of the odd field of the second block line. Further, the field memory 36 stores the decoded data of the even field of the first block line and the decoded data of the even field of the second block line. Also, during this period,
The switch 33 selects the memory 34. As a result, the data of the odd field of the first block line stored in the memory 34 is read out in the display order and output through the switch 16.

【0066】次に、加算器5から第3ブロックラインの
符号化データがブロック単位で出力される。この場合に
は、スイッチ32は、各ブロックデータのうち奇数フィー
ルドのデータをメモリ34に書込み、偶数フィールドのデ
ータはフィールドメモリ36に追加書込みする。また、ス
イッチ33はメモリ35を選択して、メモリ35に格納されて
いる第2ブロックラインの奇数フィールドのデータを表
示順に読出してスイッチ16から出力する。メモリ34には
第3ブロックラインのうちの奇数フィールドの復号化デ
ータのみが格納され、フィールドメモリ36は第1及び第
2ブロックラインの偶数フィールドの復号化データに続
けて、第3ブロックラインの偶数フィールドの復号化デ
ータを格納する。
Next, the adder 5 outputs the coded data of the third block line in block units. In this case, the switch 32 writes the odd field data of each block data in the memory 34, and additionally writes the even field data in the field memory 36. Further, the switch 33 selects the memory 35, reads the data of the odd field of the second block line stored in the memory 35 in the order of display, and outputs the data from the switch 16. Only the odd field decoded data of the third block line is stored in the memory 34, and the field memory 36 follows the even field decoded data of the first and second block lines and the even block of the third block line. Stores the decrypted data of the field.

【0067】以後、同様の動作を繰返して、1フレーム
の画像表示期間の前半の期間において、図4(b)に示
すように、メモリ34,35から奇数フィールドの復号化デ
ータを読出して出力する。また、この期間には、フィー
ルドメモリ36には偶数フィールドの全復号化データを格
納する。
Thereafter, the same operation is repeated, and in the first half period of the image display period of one frame, as shown in FIG. 4B, the decoded data of the odd fields is read out and output from the memories 34 and 35. . Further, during this period, the field memory 36 stores all the decoded data of the even field.

【0068】1フレームの画像表示期間の後半には、ス
イッチ33はフィールドメモリ36を選択する。これによ
り、図4(c)に示すように、フィールドメモリ36に格
納されている偶数フィールドの復号化データを表示順に
読出してスイッチ16から出力する。こうして、インター
レース表示が可能となる。
In the latter half of the one-frame image display period, the switch 33 selects the field memory 36. As a result, as shown in FIG. 4C, the even field decoded data stored in the field memory 36 is read out in the order of display and output from the switch 16. In this way, interlaced display is possible.

【0069】このように、本実施例においては、1フレ
ームの表示期間の前半に、メモリ34,35に各ブロックデ
ータのうち奇数フィールドの復号化データを格納すると
共に読出して奇数フィールドの復号化データを得る。そ
して、この期間には、偶数フィールドの復号化データは
フィールドメモリ36に格納する。偶数フィールドにおい
ては、フィールドメモリ36に格納されたデータを表示順
に読出すことにより偶数フィールドの復号化データを得
ている。
As described above, in this embodiment, in the first half of the display period of one frame, the decoded data of the odd fields of the block data are stored in the memories 34 and 35 and read out to read the decoded data of the odd fields. To get Then, during this period, the decoded data of the even field is stored in the field memory 36. In the even field, the data stored in the field memory 36 is read in the display order to obtain the decoded data of the even field.

【0070】メモリ34,35,36のメモリ容量は比較的小
さく、本実施例においても、メモリ容量を削減して回路
規模を低減し、低コスト化を図ることができる。
The memory capacities of the memories 34, 35 and 36 are relatively small, and in this embodiment as well, it is possible to reduce the memory capacity, reduce the circuit scale, and reduce the cost.

【0071】なお、上記各実施例においては、複数のメ
モリを用いているが、1つのメモリの領域を複数に分割
して各メモリに代えて用いてもよいことは明らかであ
る。
Although a plurality of memories are used in each of the above embodiments, it is obvious that the area of one memory may be divided into a plurality of areas and used instead of the respective memories.

【0072】[0072]

【発明の効果】以上説明したように本発明によれば、B
ピクチャを含む画像符号化データの復号化に必要なメモ
リを削減して回路規模を小さくし、低コスト化すること
ができるという効果を有する。
As described above, according to the present invention, B
It is possible to reduce the memory required for decoding image coded data including a picture, reduce the circuit scale, and reduce the cost.

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

【図1】本発明に係る画像復号化装置の一実施例を示す
ブロック図。
FIG. 1 is a block diagram showing an embodiment of an image decoding apparatus according to the present invention.

【図2】実施例の動作を説明するための説明図。FIG. 2 is an explanatory diagram for explaining the operation of the embodiment.

【図3】本発明の他の実施例を示すブロック図。FIG. 3 is a block diagram showing another embodiment of the present invention.

【図4】図3の実施例の動作を説明するための説明図。FIG. 4 is an explanatory diagram for explaining the operation of the embodiment of FIG.

【図5】ハイブリッド方式の圧縮法を説明するための説
明図。
FIG. 5 is an explanatory diagram for explaining a hybrid compression method.

【図6】ブロック化を説明するための説明図。FIG. 6 is an explanatory diagram for explaining blocking.

【図7】従来の画像復号化装置を示すブロック図。FIG. 7 is a block diagram showing a conventional image decoding device.

【図8】フレーム化を説明するための説明図。FIG. 8 is an explanatory diagram for explaining framing.

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

2…可変長復号回路、3…逆量子化回路、4…逆DCT
回路、5,13…加算器、8…動きベクトル抽出回路、
9,10…動き補償回路、11,12…フレームメモリ、14〜
16,21,26,29…スイッチ、22,27,28…メモリ、23…
ピクチャ検出回路
2 ... Variable length decoding circuit, 3 ... Inverse quantization circuit, 4 ... Inverse DCT
Circuits, 5, 13 ... Adder, 8 ... Motion vector extraction circuit,
9, 10 ... Motion compensation circuit, 11, 12 ... Frame memory, 14-
16, 21, 26, 29 ... Switch, 22, 27, 28 ... Memory, 23 ...
Picture detection circuit

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 前方及び後方の参照画像を用いた両方向
予測符号化データを含む符号化データが入力され、入力
された符号化データを所定のブロック単位で復号化して
復号化データを出力する復号化手段と、 入力された前記両方向予測符号化データを保持する記憶
手段と、 入力された前記両方向予測符号化データ及び前記記憶手
段に格納された前記両方向予測符号化データを前記復号
化手段に順次与えて、同一の前記両方向予測符号化デー
タについて2回の復号化処理を行わせる制御手段と、 前記復号化手段からの前記両方向予測符号化データにつ
いての1回目の復号化処理による復号化データを少なく
とも1ブロックライン分保持すると共に、保持した復号
化データのうち一方のフィールドの復号化データを表示
順に出力する第1の出力手段と、 前記復号化手段からの前記両方向予測符号化データにつ
いての2回目の復号化処理による復号化データを少なく
とも1ブロックライン分保持すると共に、保持した復号
化データのうち他方のフィールドの復号化データを表示
順に出力する第2の出力手段とを具備したことを特徴と
する画像復号化装置。
1. Decoding for receiving encoded data including bidirectional predictive encoded data using forward and backward reference images, decoding the input encoded data in predetermined block units, and outputting the decoded data. Encoding means, storage means for holding the inputted bidirectional predictive encoded data, input bidirectional predictive encoded data and the bidirectional predictive encoded data stored in the storing means to the decoding means in order. And a control means for performing the same decoding processing on the same bidirectional predictive encoded data twice, and decoded data by the first decoding processing on the bidirectional predictive encoded data from the decoding means. A first output unit that holds at least one block line and outputs the decoded data of one field of the held decoded data in the display order. And at least one block line of decoded data obtained by the second decoding process for the bidirectionally predictive coded data from the decoding means, and decoding the other field of the held decoded data. An image decoding apparatus comprising: a second output unit that outputs data in a display order.
【請求項2】 前記第1及び第2の出力手段は、夫々1
フレームの画像表示時間の半分の時間で前記復号化デー
タを出力することを特徴とする請求項1に記載の画像復
号化装置。
2. The first and second output means are respectively 1
The image decoding apparatus according to claim 1, wherein the decoded data is output in half the image display time of a frame.
【請求項3】 前記第1及び第2の出力手段は、1ブロ
ックライン分の復号化データを保持する第1及び第2の
メモリを有し、前記第1及び第2のメモリの書込み及び
読出しを制御することにより、一方又は他方のフィール
ドの復号化データを表示順に出力することを特徴とする
請求項1に記載の画像復号化装置。
3. The first and second output means have first and second memories that hold decoded data for one block line, and write and read to and from the first and second memories. The image decoding apparatus according to claim 1, wherein the decoded data of one field or the other field is output in the display order by controlling the.
【請求項4】 前方及び後方の参照画像を用いた両方向
予測符号化データを含む符号化データが入力され、入力
された符号化データを所定のブロック単位で復号化して
復号化データを出力する復号化手段と、 前記復号化手段からの前記両方向予測符号化データに対
する復号化データのうち一方フィールドの復号化データ
を表示順に出力する第3の出力手段と、 前記復号化手段からの前記両方向予測符号化データに対
する復号化データのうち他方フィールドの復号化データ
を保持して、前記第3の出力手段による復号化データの
出力終了後に、表示順に出力する第4の出力手段とを具
備したことを特徴とする画像復号化装置。
4. Decoding in which encoded data including bidirectional predictive encoded data using forward and backward reference images is input, and the input encoded data is decoded in predetermined block units and decoded data is output. Encoding means, third output means for outputting the decoded data of one field of the decoded data for the bidirectional predictive coded data from the decoding means in display order, and the bidirectional predictive code from the decoding means A fourth output means for holding the decoded data of the other field of the decoded data for the encrypted data and outputting the decoded data by the third output means in the display order after the output of the decoded data by the third output means is completed. Image decoding device.
【請求項5】 前記第4の出力手段は、前記両方向予測
符号化データに対する復号化データのうち他方フィール
ドの復号化データを保持するフィールドメモリによって
構成し、 前記第3の出力手段は、1ブロックライン分の復号化デ
ータを保持する第3及び第4のメモリを有し、前記第3
及び第4のメモリの書込み及び読出しを制御することに
より、前記両方向予測符号化データに対する復号化デー
タのうち一方フィールドの復号化データを保持して表示
順に出力することを特徴とする請求項4に記載の画像復
号化装置。
5. The fourth output means is constituted by a field memory that holds decoded data of the other field of the decoded data for the bidirectional predictive coded data, and the third output means is one block. A third and a fourth memory for holding the decoded data for the line, and the third memory
And controlling the writing and reading of the fourth memory to hold the decoded data of one field of the decoded data for the bidirectional predictive coded data and output the decoded data in the display order. The image decoding device described.
【請求項6】 前方及び後方の参照画像を用いた両方向
予測符号化データを含む符号化データが入力され、入力
された符号化データを所定のブロック単位で復号化して
復号化データを出力する復号化手段と、 入力された前記両方向予測符号化データを保持する第1
の記憶手段と、 入力された前記両方向予測符号化データ及び前記第1の
記憶手段に格納された前記両方向予測符号化データを前
記復号化手段に順次与えて、同一の前記両方向予測符号
化データについて2回の復号化処理を行わせる制御手段
と、 前記復号化手段からの前記両方向予測符号化データにつ
いての1回目の復号化処理による符号化データのうち一
方のフィールドを保持する第2の記憶手段と、 2回目の符号化処理時間に前記第2の記憶手段に記憶さ
れた一方のフィールドを読出し表示順に出力する手段
と、 前記第2の記憶手段から読出された領域に2回目の復号
処理による復号化データのうち他方のフィールドを順次
記憶する手段とを具備し、 前記一方又は他方のフィールドの復号化データを表示順
に出力することを特徴とする画像復号化装置。
6. Decoding in which coded data including bidirectional predictive coded data using forward and backward reference images is input, the input coded data is decoded in predetermined block units, and the decoded data is output. And a first holding means for holding the input bidirectional predictive encoded data.
And the input bidirectional predictive coded data and the bidirectional predictive coded data stored in the first storage means are sequentially given to the decoding means to obtain the same bidirectional predictive coded data. Control means for performing the decoding process twice, and second storage means for holding one field of the encoded data by the first decoding process for the bidirectionally predictive encoded data from the decoding means. And means for outputting one of the fields stored in the second storage means in the order of reading and displaying during the second encoding processing time, and the second decoding processing for the area read from the second storage means. Means for sequentially storing the other field of the decoded data, and outputting the decoded data of the one or the other field in display order. Image decoding apparatus.
JP26583494A 1994-10-28 1994-10-28 Image decoding device Expired - Fee Related JP3262464B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP26583494A JP3262464B2 (en) 1994-10-28 1994-10-28 Image decoding device
EP95307609A EP0710028A3 (en) 1994-10-28 1995-10-25 Image decoding apparatus
US08/548,487 US5841475A (en) 1994-10-28 1995-10-26 Image decoding with dedicated bidirectional picture storage and reduced memory requirements
KR1019950037499A KR100239260B1 (en) 1994-10-28 1995-10-27 Picture decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26583494A JP3262464B2 (en) 1994-10-28 1994-10-28 Image decoding device

Publications (2)

Publication Number Publication Date
JPH08130740A true JPH08130740A (en) 1996-05-21
JP3262464B2 JP3262464B2 (en) 2002-03-04

Family

ID=17422712

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26583494A Expired - Fee Related JP3262464B2 (en) 1994-10-28 1994-10-28 Image decoding device

Country Status (1)

Country Link
JP (1) JP3262464B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5946036A (en) * 1996-02-01 1999-08-31 Kabushiki Kaisha Toshiba Image decoding using read/write memory control based on display region setting

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5946036A (en) * 1996-02-01 1999-08-31 Kabushiki Kaisha Toshiba Image decoding using read/write memory control based on display region setting

Also Published As

Publication number Publication date
JP3262464B2 (en) 2002-03-04

Similar Documents

Publication Publication Date Title
KR100239260B1 (en) Picture decoder
JP2570384B2 (en) Video signal encoding / decoding method
JP3365771B2 (en) Video signal compression device
JP3395166B2 (en) Integrated video decoding system, frame buffer, encoded stream processing method, frame buffer allocation method, and storage medium
JPH08289302A (en) Image decoding device
JP2000270332A (en) Method and device for encoding dynamic picture
US5754243A (en) Letter-box transformation device
US5457481A (en) Memory system for use in a moving image decoding processor employing motion compensation technique
US7555042B2 (en) Method and apparatus for reverse play
JP4197092B2 (en) Processing method and apparatus for performing wipe on compressed MPEG video bitstream
JPH08280022A (en) Method and apparatus for decoded video signal
JP3676525B2 (en) Moving picture coding / decoding apparatus and method
US6714681B1 (en) Decoding apparatus and method
JP2898413B2 (en) Method for decoding and encoding compressed video data streams with reduced memory requirements
JPH10215457A (en) Moving image decoding method and device
JP2947389B2 (en) Image processing memory integrated circuit
JP3262464B2 (en) Image decoding device
JPH08130741A (en) Picture decoder
JP2820631B2 (en) Image decoding method and apparatus
JPH08130742A (en) Picture decoder
JP3078990B2 (en) Low delay mode image decoding method
JPH09214956A (en) Image decoder
JPH11308620A (en) Image decoder
JPH0937265A (en) Image decoder
JPH10136371A (en) Moving image decoder and method therefor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees