JPH11262011A - Device for decoding animation - Google Patents

Device for decoding animation

Info

Publication number
JPH11262011A
JPH11262011A JP6135198A JP6135198A JPH11262011A JP H11262011 A JPH11262011 A JP H11262011A JP 6135198 A JP6135198 A JP 6135198A JP 6135198 A JP6135198 A JP 6135198A JP H11262011 A JPH11262011 A JP H11262011A
Authority
JP
Japan
Prior art keywords
image data
circuit
memory
data output
decoding mode
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
JP6135198A
Other languages
Japanese (ja)
Other versions
JP3416509B2 (en
Inventor
Katsunori Hirase
勝典 平瀬
Shinichi Matsuura
信一 松浦
Hiroshi Murashima
弘嗣 村島
Akihiko Yamashita
昭彦 山下
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP06135198A priority Critical patent/JP3416509B2/en
Publication of JPH11262011A publication Critical patent/JPH11262011A/en
Application granted granted Critical
Publication of JP3416509B2 publication Critical patent/JP3416509B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To selectively obtain two kinds of compounding with different image qualities by generating first reproduction picture data compressed in a horizontal direction, second reproduction image data compressed in the horizontal and vertical directions and respective kinds of compounding data based on first and second data and changing-over first and second compounding data generating means. SOLUTION: A first vertical interpolation circuit 9 interpolates a horizontal line, thinned by a vertical thinning circuit 6 with respect to reference image data which is read from a first reference image memory 7 and generates reference image data by macro-block unit, when a compounding mode is of low image quality. The second vertical interpolation circuit 10 executes interpolation in the vertical direction with respect to reference picture data by macro-block unit, which is read from a second reference picture memory 8 and generates reference picture data by macro-block unit, when the compounding mode is of low picture quality. A CPU 20 controls switches 31-39, based on a control signal and corresponds to the selection of the image quality.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、MPEG方式で
圧縮符号化された信号を復号化して、原画像の解像度よ
り低い解像度の再生画像を得るのに適した動画像復号化
装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a moving picture decoding apparatus suitable for decoding a signal which has been compression-encoded by the MPEG system to obtain a reproduced picture having a resolution lower than that of an original picture.

【0002】[0002]

【従来の技術】従来から、デジタルTVなどの分野にお
いて画像データを圧縮符号化するための画像符号化方式
として、MPEG(Moving Picture Expert Group)方式
が知られている。
2. Description of the Related Art A moving picture expert group (MPEG) method has been conventionally known as an image coding method for compressing and coding image data in the field of digital TV and the like.

【0003】MPEG方式の代表的なものに、MPEG
1とMPEG2とがある。MPEG1では、順次走査
(ノンインターレース)の画像のみ扱われていたが、M
PEG2では、順次走査の画像だけでなく、飛び越し走
査(インターレース走査)の画像も扱われるようになっ
た。
A typical MPEG system is MPEG.
1 and MPEG2. In MPEG1, only progressively scanned (non-interlaced) images were handled.
In PEG2, not only images of progressive scanning but also images of interlaced scanning have been handled.

【0004】これらのMPEGの符号化には、動き補償
予測(時間的圧縮)、DCT(空間的圧縮)及びエント
ロピー符号化(可変長符号化)が採用されている。MP
EGの符号化では、まず、16(水平方向画素数)×1
6(垂直方向画素数)の大きさのマクロブロック単位ご
とに、時間軸方向の予測符号化(MPEG1ではフレー
ム予測符号化が、MPEG2ではフレーム予測符号化ま
たはフィールド予測符号化)が行われる。予測符号化方
式に対応してIピクチャ、Pピクチャ、Bピクチャの3
種類の画像タイプが存在する。以下においては、フレー
ム予測符号化を例にとって説明する。
[0004] Motion-compensated prediction (temporal compression), DCT (spatial compression), and entropy coding (variable-length coding) are employed for encoding these MPEGs. MP
In EG encoding, first, 16 (the number of pixels in the horizontal direction) × 1
For each macroblock having a size of 6 (the number of pixels in the vertical direction), prediction coding in the time axis direction (frame prediction coding in MPEG1 and frame prediction coding or field prediction coding in MPEG2) is performed. 3 pictures of I picture, P picture and B picture corresponding to the predictive coding method
There are different image types. In the following, a description will be given of frame predictive coding as an example.

【0005】(1)Iピクチャ:フレーム内の情報のみ
から符号化された画面で、フレーム間予測を行わずに生
成される画面であり、Iピクチャ内の全てのマクロブロ
ック・タイプは、フレーム内情報のみで符号化するフレ
ーム内予測符号化である。
(1) I picture: A picture coded from only the information in the frame and generated without performing inter-frame prediction. All macroblock types in the I picture are Intra-frame predictive coding in which coding is performed using only information.

【0006】(2)Pピクチャ:IまたはPピクチャか
らの予測を行うことによってできる画面であり、一般的
に、Pピクチャ内のマクロブロック・タイプは、フレー
ム内情報のみで符号化するフレーム内符号化と、過去の
再生画像から予測する順方向フレーム間予測符号化との
両方を含んでいる。
(2) P picture: A picture formed by performing prediction from an I or P picture. In general, the macroblock type in a P picture is an intra-frame code which is encoded only with intra-frame information. And forward inter-frame prediction coding predicted from a past reproduced image.

【0007】(3)Bピクチャ:双方向予測によってで
きる画面で、一般的に、以下のマクロブロック・タイプ
を含んでいる。 a.フレーム内情報のみで符号化するフレーム内予測符
号化 b.過去の再生画像から予測する順方向フレーム間予測
符号化 c.未来から予測する逆方向フレーム間予測符号化 d.前後両方の予測による内挿的フレーム間予測符号化 ここで、内挿的フレーム間予測とは、順方向予測と逆方
向予測の2つの予測を対応画素間で平均することをい
う。
(3) B picture: a picture made by bidirectional prediction, which generally includes the following macroblock types. a. Intra-frame predictive coding using only intra-frame information b. Forward inter-frame predictive coding predicted from past reproduced images c. Reverse interframe predictive coding predicting from the future d. Interpolative inter-frame prediction coding by both forward and backward prediction Here, the interpolative inter-frame prediction refers to averaging two predictions, forward prediction and backward prediction, between corresponding pixels.

【0008】MPEG符号器では、原画像の画像データ
は、16(水平方向画素数)×16(垂直方向画素数)
の大きさのマクロブロック単位に分割される。マクロブ
ロック・タイプがフレーム内予測符号化以外のマクロブ
ロックに対しては、マクロブロック・タイプに応じたフ
レーム間予測が行われ、予測誤差データが生成される。
[0008] In the MPEG encoder, the image data of the original image is 16 (the number of pixels in the horizontal direction) x 16 (the number of pixels in the vertical direction).
Is divided into macroblock units of size. For a macroblock whose macroblock type is not intra-frame predictive coding, inter-frame prediction according to the macroblock type is performed, and prediction error data is generated.

【0009】マクロブロック単位毎の画像データ(マク
ロブロック・タイプがフレーム内予測符号化である場
合)または予測誤差データ(マクロブロック・タイプが
フレーム間予測符号化である場合)は、8×8の大きさ
の4つのサブブロックに分割され、各サブブロックの画
像データに直交変換の1種である2次元離散コサイン変
換(DCT:Discrete Cosine Transform )が数式1に
基づいて行われる。つまり、図5に示すように、8×8
の大きさのブロック内の各データf(i,j)に基づい
て、uv空間(u:水平周波数,v:垂直周波数)にお
ける各DCT(直交変換)係数F(u,v)が得られ
る。
The image data for each macroblock unit (when the macroblock type is intra-frame predictive coding) or prediction error data (when the macroblock type is inter-frame predictive coding) is 8 × 8 The image data of each sub-block is divided into four sub-blocks, and a two-dimensional discrete cosine transform (DCT), which is a type of orthogonal transform, is performed on the image data of each sub-block based on Equation 1. That is, as shown in FIG.
Each DCT (orthogonal transform) coefficient F (u, v) in the uv space (u: horizontal frequency, v: vertical frequency) is obtained based on each data f (i, j) in a block of size.

【0010】[0010]

【数1】 (Equation 1)

【0011】MPEG1では、DCTには、フレームD
CTモードのみであるが、MPEG2のフレーム構造で
は、マクロブロック単位でフレームDCTモードとフィ
ールドDCTモードに切り換えることができる。ただ
し、MPEG2のフィールド構造では、フィールドDC
Tモードのみである。
In MPEG1, the DCT contains a frame D
Although only the CT mode is used, the MPEG2 frame structure allows switching between the frame DCT mode and the field DCT mode in macroblock units. However, in the field structure of MPEG2, the field DC
Only T mode.

【0012】フレームDCTモードでは、16×16の
マクロブロックが、4分割され左上の8×8のブロッ
ク、右上の8×8のブロック、左下の8×8のブロッ
ク、右下の8×8のブロック毎にDCTが行われる。
In the frame DCT mode, a 16 × 16 macro block is divided into four and divided into upper left 8 × 8 blocks, upper right 8 × 8 blocks, lower left 8 × 8 blocks, and lower right 8 × 8 blocks. DCT is performed for each block.

【0013】一方、フィールドDCTモードでは、16
×16のマクロブロックの左半分の8(水平方向画素
数)×16(垂直方向画素数)のブロック内の奇数ライ
ンのみからなる8×8のデータ群、左半分の8×16の
ブロック内の偶数ラインのみからなる8×8のデータ
群、右半分の8(水平方向画素数)×16(垂直方向画
素数)のブロック内の奇数ラインのみからなる8×8の
データ群および右半分の8×16のブロック内の偶数ラ
インのみからなる8×8のデータ群の各データ群毎にD
CTが行われる。
On the other hand, in the field DCT mode, 16
An 8 × 8 data group consisting of only odd lines in the left half 8 (the number of pixels in the horizontal direction) × 16 (the number of pixels in the vertical direction) of the left half of the × 16 macroblock, and in the 8 × 16 block of the left half An 8 × 8 data group consisting of only even-numbered lines, an 8 × 8 data group consisting only of odd-numbered lines in a right half of 8 (number of horizontal pixels) × 16 (number of vertical pixels) blocks, and a right half of 8 For each data group of an 8 × 8 data group consisting only of even lines in a × 16 block, D
CT is performed.

【0014】上記のようにして得られたDCT係数に対
して量子化が施され、量子化されたDCT係数が生成さ
れる。量子化されたDCT係数は、ジグザグスキャンま
たはオルタネートスキャンされて1次元に並べられ、可
変長符号器によって符号化される。MPEG符号器から
は、可変長符号器によって得られた変換係数の可変長符
号とともに、マクロブロック・タイプを示す情報を含む
制御情報および動きベクトルの可変長符号が出力され
る。
[0014] The DCT coefficients obtained as described above are quantized to generate quantized DCT coefficients. The quantized DCT coefficients are zigzag-scanned or alternate-scanned, arranged one-dimensionally, and encoded by a variable-length encoder. The MPEG encoder outputs control information including information indicating a macroblock type and a variable length code of a motion vector together with a variable length code of a transform coefficient obtained by the variable length encoder.

【0015】図4は、MPEG復号器の構成を示すブロ
ック図である。
FIG. 4 is a block diagram showing the configuration of the MPEG decoder.

【0016】変換係数の可変長符号は、可変長復号化器
101に送られる。マクロブロック・タイプを含む制御
信号はCPU110に送られる。動きベクトルの可変長
符号は、可変長復号化器109に送られて復号化され
る。可変長復号化器109によって得られた動きベクト
ルは、第1参照画像用メモリ106および第2参照画像
用メモリ107に、参照画像の切り出し位置を制御する
ための制御信号として送られる。
The variable-length code of the transform coefficient is sent to a variable-length decoder 101. Control signals including the macroblock type are sent to CPU 110. The variable length code of the motion vector is sent to the variable length decoder 109 and decoded. The motion vector obtained by the variable length decoder 109 is sent to the first reference image memory 106 and the second reference image memory 107 as a control signal for controlling the cutout position of the reference image.

【0017】可変長復号化器101は、変換係数の可変
長符号を復号化する。逆量子化器102は、可変長復号
化器101から得られた変換係数(量子化されたDCT
係数)を逆量子化してDCT係数に変換する。
The variable length decoder 101 decodes a variable length code of a transform coefficient. The inverse quantizer 102 converts the transform coefficients (quantized DCTs) obtained from the variable-length decoder 101
) Is inversely quantized and converted into DCT coefficients.

【0018】逆DCT回路103は、逆量子化器102
で生成されたDCT係数列を8×8のサブブロック単位
のDCT係数に戻すとともに、数式2に示す逆変換式に
基づいて8×8の逆DCTを行う。つまり、図5に示す
ように、8×8のDCT係数F(u,v)に基づいて、
8×8のサブブロック単位のデータf(i,j)が得ら
れる。また、4つのサブブロック単位のデータf(i,
j)に基づいて1つのマクロブロック単位の再生画像デ
ータまたは予測誤差データを生成する。
The inverse DCT circuit 103 includes an inverse quantizer 102
The DCT coefficient sequence generated in step (1) is returned to DCT coefficients in units of 8 × 8 sub-blocks, and 8 × 8 inverse DCT is performed based on the inverse transform equation shown in Expression 2. That is, as shown in FIG. 5, based on an 8 × 8 DCT coefficient F (u, v),
Data f (i, j) in units of 8 × 8 sub-blocks is obtained. Further, data f (i, i,
Based on j), reproduced image data or prediction error data in one macroblock unit is generated.

【0019】[0019]

【数2】 (Equation 2)

【0020】逆DCT回路103によって生成されたマ
クロブロック単位の予測誤差データには、そのマクロブ
ロック・タイプに応じた参照画像データが加算器104
によって加算されて、再生画像データが生成される。参
照画像データは、スイッチ112を介して加算器104
に送られる。ただし、逆DCT回路103から出力され
たデータがフレーム内予測符号に対する再生画像データ
である場合には、参照画像データは加算されない。
The prediction error data generated in the macroblock unit by the inverse DCT circuit 103 is added with reference image data corresponding to the macroblock type by the adder 104.
And reproduced image data is generated. The reference image data is added to the adder 104 via the switch 112.
Sent to However, if the data output from the inverse DCT circuit 103 is reproduced image data for the intra-frame prediction code, the reference image data is not added.

【0021】逆DCT回路103または加算器104に
よって得られたマクロブロック単位の画像データが、B
ピクチャに対する再生画像データである場合には、その
再生画像データはスイッチ113に送られる。
The image data in macroblock units obtained by the inverse DCT circuit 103 or the adder 104 is
If the image data is reproduction image data for a picture, the reproduction image data is sent to the switch 113.

【0022】逆DCT回路103または加算器104に
よって得られたマクロブロック単位の再生画像データ
が、IピクチャまたはPピクチャに対する再生画像デー
タである場合には、その再生画像データはスイッチ11
1を介して第1参照画像用メモリ106または第2参照
画像用メモリ107に格納される。スイッチ111は、
CPU110によって制御される。
If the reproduced image data in macroblock units obtained by the inverse DCT circuit 103 or the adder 104 is reproduced image data for an I picture or a P picture, the reproduced image data is set to the switch 11.
1 is stored in the first reference image memory 106 or the second reference image memory 107. The switch 111
It is controlled by the CPU 110.

【0023】平均化部108は、メモリ106、107
から読出された再生画像データを平均して、内挿的フレ
ーム間予測符号化に用いられる参照画像データを生成す
る。
The averaging unit 108 includes memories 106 and 107
The reference image data used in the interpolative inter-frame predictive encoding is generated by averaging the reproduced image data read from.

【0024】スイッチ112は、CPU110によって
次のように制御される。逆DCT回路103から出力さ
れたデータがフレーム内予測符号に対する再生画像デー
タである場合には、スイッチ112の共通端子が接地端
子に切り換えられる。
The switch 112 is controlled by the CPU 110 as follows. If the data output from the inverse DCT circuit 103 is reproduced image data for the intra-frame prediction code, the common terminal of the switch 112 is switched to the ground terminal.

【0025】逆DCT回路103から出力されたデータ
が順方向フレーム間予測符号に対する予測誤差データで
ある場合または逆方向フレーム間予測符号に対する予測
誤差データである場合には、スイッチ112の共通端子
が第1参照画像用メモリ106の出力が送られる端子ま
たは第2参照画像用メモリ107の出力が送られる端子
のいずれか一方を選択するように切り換えられる。な
お、参照画像用メモリ106、107から参照画像が読
み出される場合には、可変長復号化器109からの動き
ベクトルに基づいて、参照画像の切り出し位置が制御さ
れる。
When the data output from the inverse DCT circuit 103 is prediction error data for a forward inter-frame prediction code or prediction error data for a reverse inter-frame prediction code, the common terminal of the switch 112 Switching is performed so as to select either the terminal to which the output of the first reference image memory 106 is sent or the terminal to which the output of the second reference image memory 107 is sent. When the reference images are read from the reference image memories 106 and 107, the cut-out position of the reference image is controlled based on the motion vector from the variable length decoder 109.

【0026】逆DCT回路103から出力されたデータ
が内挿的フレーム間予測符号に対する予測誤差データで
ある場合には、スイッチ112の共通端子が平均化部1
08の出力が送られる端子を選択するように切り換えら
れる。
When the data output from the inverse DCT circuit 103 is prediction error data for an interpolative inter-frame prediction code, the common terminal of the switch 112 is connected to the averaging unit 1
It is switched to select the terminal to which the output of 08 is sent.

【0027】スイッチ113は、加算器104から送ら
れてくるBピクチャに対する再生画像データ、参照画像
用メモリ106に格納されたIピクチャまたはPピクチ
ャに対する再生画像データ、参照画像用メモリ107に
格納されたIピクチャまたはPピクチャに対する再生画
像データが原画像の順序と同じ順番で出力されるように
CPU110によって制御される。復号器から出力され
た画像データはモニタ装置に与えられ、モニタ装置の表
示画面に原画像が表示される。
The switch 113 reproduces the reproduced picture data for the B picture sent from the adder 104, the reproduced picture data for the I picture or P picture stored in the reference picture memory 106, and the reproduced picture data stored in the reference picture memory 107. The CPU 110 controls the reproduced image data for the I picture or the P picture so as to be output in the same order as the order of the original images. The image data output from the decoder is provided to the monitor device, and the original image is displayed on the display screen of the monitor device.

【0028】[0028]

【発明が解決しようとする課題】ところで、本出願人
は、原画像の解像度より低い解像度の再生画像を得る場
合に、DCT係数のうちの一部のみを使用して逆DCT
を行って得た画像に基づいて再生画像を生成することに
より、原画像に対して解像度の低い再生画像を生成する
方法(以下第1方法という)を開発した。
By the way, when obtaining a reproduced image having a lower resolution than the resolution of the original image, the present applicant uses only a part of the DCT coefficients to perform inverse DCT.
A method (hereinafter, referred to as a first method) of generating a reproduced image having a lower resolution than the original image by generating a reproduced image based on the image obtained by performing the above is developed.

【0029】また、本出願人は、DCT係数のうちの一
部のみを使用して逆DCTを行って得た画像に基づいて
第1の再生画像を生成し、当該第1の再生画像に対して
水平方向間引きおよび垂直方向間引きのうち、少なくと
も垂直方向間引きを行って、原画像に対して解像度の低
い第2の再生画像を生成する方法(以下第2方法とい
う)を開発した。上記第1方法および第2方法とも、公
知技術(従来技術)ではない。
Further, the present applicant generates a first reproduced image based on an image obtained by performing inverse DCT using only a part of the DCT coefficients, and generates a first reproduced image based on the first reproduced image. A method for generating a second reproduced image having a lower resolution than the original image by performing at least the vertical direction thinning out of the horizontal direction thinning and the vertical direction thinning has been developed. Neither the first method nor the second method is a known technique (prior art).

【0030】上記第1方法と第2方法とを比較すると、
再生画像によって得られる画質は第1方法の方が高い
が、参照画像用メモリの容量は第1方法の方が少なくす
ることができる。したがって、いずれの方法をも用途に
応じて選択できるような復号器があれば便利である。
When comparing the first method and the second method,
Although the image quality obtained by the reproduced image is higher in the first method, the capacity of the reference image memory can be smaller in the first method. Therefore, it is convenient to have a decoder that can select any of the methods according to the application.

【0031】この発明は、復号化された画像の画質が異
なる2種類の復号化を選択できる動画像再生装置を提供
することを目的とする。
An object of the present invention is to provide a moving picture reproducing apparatus which can select two kinds of decoding in which the picture quality of a decoded picture is different.

【0032】[0032]

【課題を解決するための手段】この発明による第1の動
画像復号化装置は、直交変換係数のうちの水平周波数の
低域部分の係数のみを使用して逆直交変換を行って得た
画像に基づいて水平方向が1/2に圧縮された第1の再
生画像データを生成する第1の再生画像データ生成手
段、第1の再生画像テータを垂直方向に1/2に間引い
て、水平方向および垂直方向がそれぞれ1/2に圧縮さ
れた第2の再生画像データを生成する第2の再生画像デ
ータ生成手段、第1の再生画像データ生成手段によって
生成された第1の再生画像に基づいて復号化データを生
成する第1の復号化データ生成手段、第2の再生画像デ
ータ生成手段によって生成された第2の再生画像に基づ
いて復号化データを生成する第2の復号化データ生成手
段、ならびに第1の復号化データ生成手段と第2の復号
化データ生成手段とを切り換える切替手段を備えている
ことを特徴とする。
According to a first aspect of the present invention, there is provided a moving picture decoding apparatus comprising: a picture obtained by performing an inverse orthogonal transform using only coefficients in a low frequency band portion of an orthogonal transform coefficient; A first reproduced image data generating means for generating first reproduced image data in which the horizontal direction is compressed to 基 づ い based on the first direction, thinning out the first reproduced image data to 垂直 in the vertical direction, And second reproduction image data generating means for generating second reproduction image data in which the vertical direction is compressed to 1 /, respectively, based on the first reproduction image generated by the first reproduction image data generation means. First decoded data generating means for generating decoded data, second decoded data generating means for generating decoded data based on the second reproduced image generated by the second reproduced image data generating means, And the first Characterized in that it comprises a switching means for switching the issue data generation means and the second decoded data generating means.

【0033】この発明による第2の動画像復号化装置
は、入力信号から得られた所定の大きさのブロック単位
の直交変換係数のうち、水平周波数の高域部分の係数を
除去して変換係数を半分に削減する係数削減回路、係数
削減回路によって削減された変換係数を用いて逆直交変
換を行うことにより、ブロック単位毎に水平方向が1/
2に圧縮された再生画像データまたは時間軸予測誤差デ
ータを得る逆直交変換回路、逆直交変換回路によって得
られた時間軸予測誤差データと所定の参照画像データと
に基づいて、水平方向が1/2に圧縮された再生画像デ
ータを生成する加算器、逆直交変換回路または加算器に
よって得られた再生画像データ(以下、第1の再生画像
データという)を垂直方向に1/2に間引いて、水平方
向および垂直方向がそれぞれ1/2に圧縮された第2の
再生画像データを生成するための垂直間引回路、第1の
再生画像データおよび第2の再生画像データのうち、復
号モードが第1復号モードである場合には第1の再生画
像データを出力し、復号モードが第2復号モードである
場合には第2の再生画像データを出力する第1の切替手
段、第1の切替手段から出力される画像データを第1参
照画像用メモリまたは第2参照画像用メモリに送るため
のメモリ選択用スイッチ、第1参照画像用メモリから出
力される画像データに対して垂直間引回路によって間引
かれた水平ラインを内挿するための第1垂直内挿回路、
第2参照画像用メモリから出力される画像データに対し
て垂直間引回路によって間引かれた水平ラインを内挿す
るための第2垂直内挿回路、第1参照画像用メモリから
出力される画像データおよび第1垂直内挿回路から出力
される画像データのうち、復号モードが第1復号モード
である場合には第1参照画像用メモリから出力される画
像データを選択し、復号モードが第2復号モードである
場合には第1垂直内挿回路から出力される画像データを
選択する第2の切替手段、第2参照画像用メモリから出
力される画像データおよび第2垂直内挿回路から出力さ
れる画像データのうち、復号モードが第1復号モードで
ある場合には第2参照画像用メモリから出力される画像
データを選択し、復号モードが第2復号モードである場
合には第2垂直内挿回路から出力される画像データを選
択する第3の切替手段、第2の切替手段から出力される
画像データと第3の切替手段から出力される画像データ
との平均をとる平均化回路、第2の切替手段から出力さ
れる画像データ、第3の切替手段から出力される画像デ
ータ、平均化回路から出力される画像データおよび接地
電圧を切り換えて、上記加算器に参照画像データとして
送る参照画像切替スイッチ、ならびに第1の切替手段か
ら出力される画像データ、第1参照画像用メモリから出
力される画像データおよび第2参照画像用メモリから出
力される画像データを切り換えて出力する出力画像デー
タ切替スイッチを備えていることを特徴とする。
A second moving picture decoding apparatus according to the present invention removes a coefficient in a high frequency part of a horizontal frequency from orthogonal transform coefficients of a block of a predetermined size obtained from an input signal, thereby obtaining a transform coefficient. By performing a reverse orthogonal transform using the coefficient reduced by the coefficient reducing circuit and the coefficient reduced by the coefficient reducing circuit, the horizontal direction is reduced by 1 / block for each block unit.
(2) an inverse orthogonal transform circuit for obtaining reproduced image data or time axis prediction error data compressed to 2; a horizontal direction of 1/1/2 based on time axis prediction error data obtained by the inverse orthogonal transform circuit and predetermined reference image data; The reproduction image data (hereinafter, referred to as the first reproduction image data) obtained by the adder, the inverse orthogonal transform circuit, or the adder that generates the reproduction image data compressed to 2 is thinned in the vertical direction by 、, A vertical thinning circuit for generating the second reproduced image data in which the horizontal direction and the vertical direction are each compressed to そ れ ぞ れ, and the decoding mode is set to the first reproduced image data and the second reproduced image data. A first switching unit that outputs first reproduced image data when the first decoding mode is set, and outputs second reproduced image data when the decoding mode is the second decoding mode; Switch for sending image data output from the first reference image memory to the first reference image memory or the second reference image memory, and a vertical thinning circuit for the image data output from the first reference image memory A first vertical interpolation circuit for interpolating the drawn horizontal line,
A second vertical interpolation circuit for interpolating horizontal lines thinned out by the vertical thinning circuit with respect to image data output from the second reference image memory, and an image output from the first reference image memory When the decoding mode is the first decoding mode among the data and the image data output from the first vertical interpolation circuit, the image data output from the first reference image memory is selected, and the decoding mode is set to the second decoding mode. In the case of the decoding mode, second switching means for selecting image data output from the first vertical interpolation circuit, image data output from the second reference image memory, and output from the second vertical interpolation circuit. If the decoding mode is the first decoding mode, the image data output from the second reference image memory is selected, and if the decoding mode is the second decoding mode, the second vertical A third switching unit for selecting image data output from the circuit, an averaging circuit for averaging the image data output from the second switching unit and the image data output from the third switching unit, Switching between the image data output from the switching means, the image data output from the third switching means, the image data output from the averaging circuit, and the ground voltage, and sending the reference image data to the adder as reference image data. A switch, and an output image data switch for switching and outputting image data output from the first switching unit, image data output from the first reference image memory, and image data output from the second reference image memory It is characterized by having.

【0034】この発明による第3の動画像復号化装置
は、入力信号から得られた所定の大きさのブロック単位
の直交変換係数のうち、水平周波数の高域部分の係数を
除去して変換係数を半分に削減する係数削減回路、係数
削減回路によって削減された変換係数を用いて逆直交変
換を行うことにより、ブロック単位毎に水平方向が1/
2に圧縮された再生画像データまたは時間軸予測誤差デ
ータを得る逆直交変換回路、逆直交変換回路によって得
られた時間軸予測誤差データと所定の参照画像データと
に基づいて、水平方向が1/2に圧縮された再生画像デ
ータを生成する加算器、逆直交変換回路または加算器に
よって得られた再生画像データ(以下、第1の再生画像
データという)を垂直方向に1/2に間引いて、水平方
向および垂直方向がそれぞれ1/2に圧縮された第2の
再生画像データを生成するための垂直間引回路、第1の
再生画像データおよび第2の再生画像データのうち、復
号モードが第1復号モードである場合には第1の再生画
像データを出力し、復号モードが第2復号モードである
場合には第2の再生画像データを出力する第1の切替手
段、第1の参照画像用メモリを接続するための第1メモ
リ接続用入力端子および第1メモリ接続用出力端子、第
2の参照画像用メモリを接続するための第2メモリ接続
用入力端子および第2メモリ接続用出力端子、第1の切
替手段から出力される画像データを第1メモリ接続用入
力端子または第2メモリ接続用入力端子に送るためのメ
モリ選択用スイッチ、第1メモリ接続用出力端子から出
力される画像データに対して垂直間引回路によって間引
かれた水平ラインを内挿するための第1垂直内挿回路、
第2メモリ接続用出力端子から出力される画像データに
対して垂直間引回路によって間引かれた水平ラインを内
挿するための第2垂直内挿回路、第1メモリ接続用出力
端子から出力される画像データおよび第1垂直内挿回路
から出力される画像データのうち、復号モードが第1復
号モードである場合には第1メモリ接続用出力端子から
出力される画像データを選択し、復号モードが第2復号
モードである場合には第1垂直内挿回路から出力される
画像データを選択する第2の切替手段、第2メモリ接続
用出力端子から出力される画像データおよび第2垂直内
挿回路から出力される画像データのうち、復号モードが
第1復号モードである場合には第2メモリ接続用出力端
子から出力される画像データを選択し、復号モードが第
2復号モードである場合には第2垂直内挿回路から出力
される画像データを選択する第3の切替手段、第2の切
替手段から出力される画像データと第3の切替手段から
出力される画像データとの平均をとる平均化回路、第2
の切替手段から出力される画像データ、第3の切替手段
から出力される画像データ、平均化回路から出力される
画像データおよび接地電圧を切り換えて、上記加算器に
参照画像データとして送る参照画像切替スイッチ、なら
びに第1の切替手段から出力される画像データ、第1メ
モリ接続用出力端子から出力される画像データおよび第
2メモリ接続用出力端子から出力される画像データを切
り換えて出力する出力画像データ切替スイッチを備えて
いることを特徴とする。
A third moving picture decoding apparatus according to the present invention removes coefficients in a high frequency portion of a horizontal frequency from orthogonal transform coefficients of a predetermined size obtained from an input signal in block units. By performing a reverse orthogonal transform using the coefficient reduced by the coefficient reducing circuit and the coefficient reduced by the coefficient reducing circuit, the horizontal direction is reduced by 1 / block for each block unit.
(2) an inverse orthogonal transform circuit for obtaining reproduced image data or time axis prediction error data compressed to 2; a horizontal direction of 1/1/2 based on time axis prediction error data obtained by the inverse orthogonal transform circuit and predetermined reference image data; The reproduction image data (hereinafter, referred to as the first reproduction image data) obtained by the adder, the inverse orthogonal transform circuit, or the adder that generates the reproduction image data compressed to 2 is thinned in the vertical direction by 、, A vertical thinning circuit for generating the second reproduced image data in which the horizontal direction and the vertical direction are each compressed to そ れ ぞ れ, and the decoding mode is set to the first reproduced image data and the second reproduced image data. A first switching unit that outputs first reproduced image data when the first decoding mode is set, and outputs second reproduced image data when the decoding mode is the second decoding mode; Memory connection input terminal and first memory connection output terminal for connecting a memory for storage, second memory connection input terminal and second memory connection output terminal for connecting a second reference image memory A memory selection switch for sending image data output from the first switching means to the first memory connection input terminal or the second memory connection input terminal, and image data output from the first memory connection output terminal A first vertical interpolation circuit for interpolating a horizontal line thinned by a vertical thinning circuit with respect to
A second vertical interpolation circuit for interpolating horizontal lines thinned out by the vertical thinning circuit with respect to image data output from the second memory connection output terminal, and output from the first memory connection output terminal. When the decoding mode is the first decoding mode, the image data output from the first memory connection output terminal is selected from the image data output from the first vertical interpolation circuit and the image data output from the first vertical interpolation circuit. Is the second decoding mode, the second switching means for selecting the image data output from the first vertical interpolation circuit, the image data output from the second memory connection output terminal, and the second vertical interpolation When the decoding mode is the first decoding mode among the image data output from the circuit, the image data output from the second memory connection output terminal is selected, and the decoding mode is the second decoding mode. In this case, the third switching means for selecting the image data output from the second vertical interpolation circuit, the average of the image data output from the second switching means and the image data output from the third switching means. Averaging circuit, the second
Switching between the image data output from the switching means, the image data output from the third switching means, the image data output from the averaging circuit, and the ground voltage, and sending the reference image data to the adder as reference image data. Switch, image data output from the first switching means, image data output from the first memory connection output terminal, and output image data output by switching between image data output from the second memory connection output terminal A changeover switch is provided.

【0035】[0035]

【発明の実施の形態】以下、図面を参照して、この発明
をMPEG復号器に適用した場合の実施の形態について
説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the present invention is applied to an MPEG decoder will be described below with reference to the drawings.

【0036】以下、図1〜図3を参照して、この発明の
実施の形態について説明する。
An embodiment of the present invention will be described below with reference to FIGS.

【0037】図1は、MPEG復号器の構成を示してい
る。
FIG. 1 shows the configuration of the MPEG decoder.

【0038】このMPEG復号器では、復号モードとし
て高画質モードと低画質モードとがある。復号モード
は、ユーザまたは製造元によって設定される。
In the MPEG decoder, there are a high image quality mode and a low image quality mode as decoding modes. The decoding mode is set by the user or the manufacturer.

【0039】MPEG復号器は、集積回路50と、集積
回路50に接続される第1参照画像用メモリ7および第
2参照画像用メモリ8とを備えている。集積回路50に
は、第1参照画像用メモリ接続用の入力端子61および
出力端子62、第2参照画像用メモリ接続用の入力端子
91および出力端子92が設けられている。
The MPEG decoder includes an integrated circuit 50, and a first reference image memory 7 and a second reference image memory 8 connected to the integrated circuit 50. The integrated circuit 50 is provided with an input terminal 61 and an output terminal 62 for connecting a first reference image memory, and an input terminal 91 and an output terminal 92 for connecting a second reference image memory.

【0040】第1参照画像用メモリ接続用の入力端子6
1および出力端子62には、第1の主メモリ71が接続
される。第2参照画像用メモリ接続用の入力端子91お
よび出力端子92には、第2の主メモリ81が接続され
る。
Input terminal 6 for connection of memory for first reference image
The first main memory 71 is connected to 1 and the output terminal 62. A second main memory 81 is connected to the input terminal 91 and the output terminal 92 for connecting the second reference image memory.

【0041】復号モードとして高画質モードが設定され
る場合には、図1に示すように、第1の主メモリ71に
第1の追加メモリ72が接続され、第2の主メモリ81
に第2の追加メモリ82が接続される。復号モードとし
て低画質モードが設定される場合には、これらの追加メ
モリ72、82を接続する必要はない。
When the high image quality mode is set as the decoding mode, a first additional memory 72 is connected to a first main memory 71 and a second main memory 81 as shown in FIG.
Is connected to the second additional memory 82. When the low image quality mode is set as the decoding mode, there is no need to connect these additional memories 72 and 82.

【0042】つまり、復号モードとして高画質モードが
設定される場合には、第1参照画像用メモリ7は第1の
主メモリ71および第1の追加メモリ72から構成さ
れ、第2参照画像用メモリ8は第2の主メモリ81およ
び第2の追加メモリ82から構成される。復号モードと
して低画質モードが設定される場合には、第1参照画像
用メモリ7は第1の主メモリ71のみから構成され、第
2参照画像用メモリ8は第2の主メモリ81のみから構
成される。
That is, when the high image quality mode is set as the decoding mode, the first reference image memory 7 is composed of the first main memory 71 and the first additional memory 72, and the second reference image memory 8 comprises a second main memory 81 and a second additional memory 82. When the low image quality mode is set as the decoding mode, the first reference image memory 7 includes only the first main memory 71, and the second reference image memory 8 includes only the second main memory 81. Is done.

【0043】集積回路50は、可変長復号化器1、逆量
子化器2、水平高域係数除去回路3、逆DCT回路4、
加算器5、第1スイッチ31、垂直間引回路6、第2ス
イッチ32、第3スイッチ33、第1参照画像用メモリ
接続用の入力端子61および出力端子62、第2参照画
像用メモリ接続用の入力端子91および出力端子92、
第4スイッチ34、第1垂直内挿回路9、第5スイッチ
35、第6スイッチ36、第2垂直内挿回路10、第7
スイッチ37、平均化部11、第8スイッチ38、第9
スイッチ39、可変長復号化器12、ベクトル値変換回
路13、フォーマット変換回路14およびCPU20を
備えている。
The integrated circuit 50 includes a variable length decoder 1, an inverse quantizer 2, a horizontal high frequency coefficient removing circuit 3, an inverse DCT circuit 4,
Adder 5, first switch 31, vertical thinning circuit 6, second switch 32, third switch 33, input terminal 61 and output terminal 62 for connecting a first reference image memory, for connecting a second reference image memory Input terminal 91 and output terminal 92,
Fourth switch 34, first vertical interpolation circuit 9, fifth switch 35, sixth switch 36, second vertical interpolation circuit 10, seventh switch
Switch 37, averaging unit 11, eighth switch 38, ninth
It includes a switch 39, a variable length decoder 12, a vector value conversion circuit 13, a format conversion circuit 14, and a CPU 20.

【0044】変換係数の可変長符号は、可変長復号化器
1に送られる。マクロブロック・タイプを含む制御信号
はCPU20に送られる。また、ユーザまたは製造元が
設定した復号モードを表す信号が初期設定時にCPU2
0に送られる。
The variable length code of the transform coefficient is sent to the variable length decoder 1. The control signal including the macroblock type is sent to the CPU 20. Further, a signal indicating the decoding mode set by the user or the manufacturer is set to the CPU 2 at the time of initial setting.
Sent to 0.

【0045】動きベクトルの可変長符号は、可変長復号
化器12に送られて復号化される。可変長復号化器12
によって得られた動きベクトルは、ベクトル値変換回路
13に送られる。ベクトル値変換回路13には、CPU
20から復号モードを表す信号が制御信号として送られ
る。
The variable length code of the motion vector is sent to the variable length decoder 12 and decoded. Variable length decoder 12
The motion vector obtained by the above is sent to the vector value conversion circuit 13. The vector value conversion circuit 13 includes a CPU
From 20, a signal indicating the decoding mode is sent as a control signal.

【0046】ベクトル値変換回路13は、復号モードが
高画質モードである場合には、入力された動きベクトル
を、その水平方向の大きさが1/2になるように変換す
る。復号モードが低画質モードである場合には、ベクト
ル値変換回路13は、入力された動きベクトルを、その
水平方向および垂直方向の大きさがそれぞれ1/2にな
るように変換する。
When the decoding mode is the high image quality mode, the vector value conversion circuit 13 converts the input motion vector so that its horizontal size becomes 1 /. When the decoding mode is the low image quality mode, the vector value conversion circuit 13 converts the input motion vector so that its horizontal and vertical sizes are 1 / each.

【0047】ベクトル値変換回路13によって得られた
動きベクトルは、第1参照画像用メモリ7および第2参
照画像用メモリ8に、参照画像の切り出し位置を制御す
るための制御信号として送られる。
The motion vector obtained by the vector value conversion circuit 13 is sent to the first reference image memory 7 and the second reference image memory 8 as a control signal for controlling the cut-out position of the reference image.

【0048】可変長復号化器1は、変換係数の可変長符
号を復号化する。逆量子化器2は、可変長復号化器1か
ら得られた変換係数(量子化されたDCT係数)を逆量
子化してDCT係数に変換する。水平高域係数除去回路
(係数削減回路)3は、図2(a)に示すように、逆量
子化器2で生成されたDCT係数列を8(水平方向画素
数)×8(垂直方向画素数)のサブブロック単位に対応
する8×8のDCT係数F(u,v)(ただし、u=
0,1,…7、v=0,1,…7)に戻すとともに、各
サブブロックの水平周波数の高域部分のDCT係数を除
去して、図2(b)に示すように4(水平周波数方向
u)×8(垂直周波数方向v)の数のDCT係数F
(u,v)(ただし、u=0,1,…3、v=0,1,
…7)に変換する。
The variable length decoder 1 decodes a variable length code of a transform coefficient. The inverse quantizer 2 inversely quantizes the transform coefficients (quantized DCT coefficients) obtained from the variable length decoder 1 and converts them into DCT coefficients. As shown in FIG. 2A, the horizontal high-frequency coefficient removal circuit (coefficient reduction circuit) 3 converts the DCT coefficient sequence generated by the inverse quantizer 2 into 8 (number of pixels in the horizontal direction) × 8 (pixels in the vertical direction). ) Of 8 × 8 DCT coefficients F (u, v) (where u =
0, 1,... 7, v = 0, 1,... 7), and the DCT coefficient of the high frequency portion of the horizontal frequency of each sub-block is removed, and as shown in FIG. DCT coefficients F in the number of frequency directions u) × 8 (vertical frequency direction v)
(U, v) (where u = 0, 1,... 3, v = 0, 1,
... 7) is converted.

【0049】逆DCT回路4は、水平高域係数除去回路
3で生成された4×8の数のDCT係数に、数式3で示
すような4×8の逆DCTを施して、図2(c)に示す
ような元のサブブロック単位のデータが水平方向に1/
2に圧縮された4(水平方向画素数)×8(垂直方向画
素数)のデータ数からなるデータf(i,j)(ただ
し、i=0,1,…3、j=0,1,…7)を生成す
る。
The inverse DCT circuit 4 applies 4 × 8 inverse DCT as shown in Expression 3 to the 4 × 8 DCT coefficients generated by the horizontal high-frequency coefficient removal circuit 3, and obtains the result shown in FIG. ), The original data in units of sub-blocks is 1 /
Data f (i, j) consisting of 4 (the number of pixels in the horizontal direction) × 8 (the number of pixels in the vertical direction) compressed into 2 (where i = 0, 1,... 3, j = 0, 1, 1) .. 7) are generated.

【0050】[0050]

【数3】 (Equation 3)

【0051】また、このようにして得られた1つのマク
ロブロックを構成する4つのサブブロック単位に対応す
る画像データに基づいて水平方向が1/2に圧縮された
8×16の1つのマクロブロック単位の再生画像データ
または予測誤差データを生成する。したがって、逆DC
T回路4によって得られるマクロブロック単位のデータ
量は、原画像のマクロブロック単位の画像データ量の半
分となる。
Further, one 8 × 16 macroblock in which the horizontal direction is compressed to て based on the image data corresponding to the four sub-block units constituting one macroblock obtained in this way. Generate reproduced image data or prediction error data in units. Therefore, the inverse DC
The amount of data in macroblock units obtained by the T circuit 4 is half the amount of image data in macroblock units of the original image.

【0052】逆DCT回路4によって生成された水平方
向が1/2に圧縮された8×16のマクロブロック単位
の予測誤差データには、そのマクロブロック・タイプに
応じた参照画像データ(水平方向が1/2に圧縮された
8×16のマクロブロック単位の参照画像データ)が加
算器5によって加算され、再生画像データが生成され
る。参照画像データは、第8スイッチ38を介して加算
器5に送られる。ただし、逆DCT回路4から出力され
た画像データがフレーム内予測符号に対する再生画像デ
ータである場合には、参照画像データは加算されない。
The prediction error data generated by the inverse DCT circuit 4 in units of 8 × 16 macroblocks in which the horizontal direction is compressed to 1 / is provided with reference image data (in the horizontal direction, corresponding to the macroblock type). The adder 5 adds the half-compressed 8 × 16 macroblock-unit reference image data) to generate reproduced image data. The reference image data is sent to the adder 5 via the eighth switch 38. However, if the image data output from the inverse DCT circuit 4 is reproduced image data for the intra-frame prediction code, the reference image data is not added.

【0053】第1スイッチ31および第2スイッチ32
は、復号モードが高画質モードである場合には第1の再
生画像データを第3スイッチ33および第9スイッチ3
9に送るように、復号モードが低画質モードである場合
には第1の再生画像データを垂直間引回路6に送るとと
もに垂直間引回路6によって得られた第2の再生画像デ
ータを第3スイッチ33および第9スイッチ39に送る
ように、CPU20によって制御される。
First switch 31 and second switch 32
When the decoding mode is the high image quality mode, the first reproduced image data is transmitted to the third switch 33 and the ninth switch 3
9, when the decoding mode is the low image quality mode, the first reproduced image data is sent to the vertical thinning circuit 6 and the second reproduced image data obtained by the vertical thinning circuit 6 is sent to the third thinning circuit. It is controlled by the CPU 20 so that it is sent to the switch 33 and the ninth switch 39.

【0054】垂直間引回路6は、送られてきた8×16
のマクロブロック単位の第1の再生画像データを、垂直
方向に1/2に間引くことにより、8×8のマクロブロ
ック単位の第2の再生画像データに変換する。したがっ
て、垂直間引回路6によって得られるマクロブロック単
位の画像データ量は、原画像のマクロブロック単位の画
像データ量の1/4となる。
The vertical thinning circuit 6 receives the received 8 × 16
Is converted into second reproduced image data in macroblock units of 8 × 8 by thinning out the first reproduced image data in macroblock units by 1/2 in the vertical direction. Therefore, the amount of image data in macroblock units obtained by the vertical thinning circuit 6 is 1 / of the amount of image data in macroblock units of the original image.

【0055】垂直間引回路6による垂直方向間引きは、
図3に示すように、第1の再生画像データの水平ライン
を2本単位おきに2本単位ずつ間引くことにより行われ
る。逆DCT回路4または加算器5によって得られた8
×16のマクロブロック単位の第1の再生画像データで
は、図3(a)に示すように奇数フィールドの水平ライ
ン(実線で示す)と偶数フィールドの水平ライン(破線
で示す)とが垂直方向に交互に現れる。そこで、間引き
後の画像において奇数フィールドの水平ラインと偶数フ
ィールドの水平ラインとが均等に含まれるようにするた
めに、図3(b)に示すように、第1の再生画像データ
の水平ラインを2本単位おきに2本単位ずつ間引いてい
るのである。
The vertical thinning by the vertical thinning circuit 6 is as follows.
As shown in FIG. 3, this is performed by thinning out the horizontal lines of the first reproduced image data every two lines. 8 obtained by the inverse DCT circuit 4 or the adder 5
In the first reproduced image data of × 16 macroblock units, as shown in FIG. 3A, a horizontal line of an odd field (shown by a solid line) and a horizontal line of an even field (shown by a broken line) extend in the vertical direction. Appear alternately. Therefore, in order to uniformly include the horizontal lines of the odd-numbered fields and the horizontal lines of the even-numbered fields in the decimated image, the horizontal lines of the first reproduced image data are changed as shown in FIG. In other words, every two lines are thinned out.

【0056】第2スイッチ32から第9スイッチ39に
送られた再生画像データがBピクチャに対する再生画像
データである場合には、第9スイッチ39によって、そ
のBピクチャに対する再生画像データがフォーマット変
換回路14に出力される。
When the reproduced image data sent from the second switch 32 to the ninth switch 39 is reproduced image data for a B picture, the reproduced image data for the B picture is converted by the ninth switch 39 into the format conversion circuit 14. Is output to

【0057】第3スイッチ33に送られてきた再生画像
データがIピクチャまたはPピクチャに対する再生画像
データである場合に、第1参照画像用メモリ7または第
2参照画像用メモリ8のうち、第3スイッチ33によっ
て選択されているメモリに再生画像データが格納され
る。
When the reproduced image data sent to the third switch 33 is the reproduced image data for an I picture or a P picture, the third reference image memory 7 or the second reference image memory 8 The reproduced image data is stored in the memory selected by the switch 33.

【0058】復号モードが低画質モードの場合には、第
2の再生画像データが第1参照画像用メモリ7(主メモ
リ71)または第2参照画像用メモリ8(主メモリ8
1)に格納されるので、第1参照画像用メモリ7(主メ
モリ71)および第2参照画像用メモリ8(主メモリ8
1)としては、従来に比べて1/4の容量のメモリを使
用できる。
When the decoding mode is the low image quality mode, the second reproduced image data is stored in the first reference image memory 7 (main memory 71) or the second reference image memory 8 (main memory 8).
1), the first reference image memory 7 (main memory 71) and the second reference image memory 8 (main memory 8)
As 1), a memory having a capacity 1/4 that of the conventional memory can be used.

【0059】復号モードが高画質モードの場合には、第
1の再生画像データが第1参照画像用メモリ7(主メモ
リ71+追加メモリ72)または第2参照画像用メモリ
8(主メモリ81+追加メモリ82)に格納されるの
で、第1参照画像用メモリ7(主メモリ71+追加メモ
リ72)および第2参照画像用メモリ8(主メモリ81
+追加メモリ82)としては、従来に比べて1/2の容
量のメモリを使用できる。
When the decoding mode is the high image quality mode, the first reproduced image data is stored in the first reference image memory 7 (main memory 71 + additional memory 72) or the second reference image memory 8 (main memory 81 + additional memory). 82), the first reference image memory 7 (main memory 71 + additional memory 72) and the second reference image memory 8 (main memory 81)
As the + additional memory 82), a memory having half the capacity of the conventional memory can be used.

【0060】第4スイッチ34および第5スイッチ35
は、復号モードが高画質モードの場合には第1参照画像
用メモリ7から読み出された8×16のマクロブロック
単位の画像データを第8スイッチ38および平均化部1
1に送るように、復号モードが低画質モードの場合には
第1参照画像用メモリ7から読み出された8×8のマク
ロブロック単位の画像データを第1の垂直内挿回路9に
送るとともに、第1の垂直内挿回路9によって得られた
8×16のマクロブロック単位の画像データを第8スイ
ッチ38および平均化部11に送るように、CPU20
によって制御される。
Fourth switch 34 and fifth switch 35
When the decoding mode is the high quality mode, the 8 × 16 macroblock unit image data read from the first reference image memory 7 is read by the eighth switch 38 and the averaging unit 1.
1, when the decoding mode is the low image quality mode, the image data in 8 × 8 macroblock units read from the first reference image memory 7 is sent to the first vertical interpolation circuit 9 and The CPU 20 transmits the image data in units of 8 × 16 macroblocks obtained by the first vertical interpolation circuit 9 to the eighth switch 38 and the averaging unit 11.
Is controlled by

【0061】同様に、第6スイッチ36および第7スイ
ッチ37は、復号モードが高画質モードの場合には第2
参照画像用メモリ8から読み出された8×16のマクロ
ブロック単位の画像データを第8スイッチ38および平
均化部11に送るように、復号モードが低画質モードの
場合には第2参照画像用メモリ8から読み出された8×
8のマクロブロック単位の画像データを第2の垂直内挿
回路10に送るとともに、第2の垂直内挿回路10によ
って得られた8×16のマクロブロック単位の画像デー
タを第8スイッチ38および平均化部11に送るよう
に、CPU20によって制御される。
Similarly, when the decoding mode is the high image quality mode, the sixth switch 36 and the seventh switch 37
When the decoding mode is the low image quality mode, the second reference image data is transmitted so that the 8 × 16 macroblock unit image data read from the reference image memory 8 is sent to the eighth switch 38 and the averaging unit 11. 8 × read from memory 8
The image data in units of 8 macroblocks is sent to the second vertical interpolation circuit 10, and the image data in units of 8 × 16 macroblocks obtained by the second vertical interpolation circuit 10 is sent to the eighth switch 38 and averaged. It is controlled by the CPU 20 so as to send it to the conversion unit 11.

【0062】第1の垂直内挿回路9は、復号モードが低
画質モードの場合に第1参照画像用メモリ7から読み出
された8×8のマクロブロック単位の参照画像データに
対して、垂直方向の内挿を行って、つまり垂直間引回路
6によって間引かれた水平ラインを補間して、8×16
のマクロブロック単位の参照画像データを生成する。
When the decoding mode is the low image quality mode, the first vertical interpolation circuit 9 performs vertical interpolation on the reference image data of 8 × 8 macroblock units read from the first reference image memory 7. Direction interpolation, that is, by interpolating the horizontal line thinned out by the vertical thinning circuit 6 to obtain 8 × 16
Is generated for each macroblock.

【0063】第2の垂直内挿回路10は、復号モードが
低画質モードの場合に第2参照画像用メモリ8から読み
出された8×8のマクロブロック単位の参照画像データ
に対して、垂直方向の内挿を行って、つまり垂直間引回
路6によって間引かれた水平ラインを補間して、8×1
6のマクロブロック単位の参照画像データを生成する。
When the decoding mode is the low image quality mode, the second vertical interpolation circuit 10 applies the vertical image processing to the 8 × 8 macroblock unit reference image data read from the second reference image memory 8. Direction interpolation, that is, by interpolating the horizontal line thinned out by the vertical thinning circuit 6 to obtain 8 × 1
6 is generated for each macroblock.

【0064】平均化部11は、復号モードが高画質モー
ドの場合には、第1参照画像用メモリ7および第2参照
画像用メモリ8から読出された画像データを平均して、
内挿的フレーム間予測符号化に用いられる8×16のマ
クロブロック単位の参照画像データを生成する。
When the decoding mode is the high image quality mode, the averaging unit 11 averages the image data read from the first reference image memory 7 and the second reference image memory 8, and
Reference image data of 8 × 16 macroblock units used for the interpolative inter-frame prediction coding is generated.

【0065】平均化部11は、復号モードが低画質モー
ドの場合には、第1垂直内挿回路9および第2垂直内挿
回路10から読出された画像データを平均して、内挿的
フレーム間予測符号化に用いられる8×16のマクロブ
ロック単位の参照画像データを生成する。
When the decoding mode is the low image quality mode, the averaging section 11 averages the image data read out from the first vertical interpolation circuit 9 and the second vertical interpolation circuit 10 to obtain an interpolation frame. Reference image data of 8 × 16 macroblock units used for inter prediction coding is generated.

【0066】第8スイッチ38は、CPU20によって
次のように制御される。逆DCT回路4から出力された
データがフレーム内予測符号化に対する再生画像データ
である場合には、スイッチ38の共通端子が接地端子に
切り換えられる。
The eighth switch 38 is controlled by the CPU 20 as follows. If the data output from the inverse DCT circuit 4 is reproduced image data for intra-frame predictive coding, the common terminal of the switch 38 is switched to the ground terminal.

【0067】逆DCT回路4から出力されたデータが順
方向フレーム間予測符号に対する予測誤差データである
場合または逆方向フレーム間予測符号に対する予測誤差
データである場合には、第8スイッチ38の共通端子が
第1垂直内挿回路9からの参照画像データが送られる端
子または第2垂直内挿回路10からの参照画像データが
送られる端子のいずれか一方を選択するように切り換え
られる。
When the data output from the inverse DCT circuit 4 is prediction error data for a forward inter-frame prediction code or prediction error data for a reverse inter-frame prediction code, the common terminal of the eighth switch 38 Are switched to select either a terminal to which reference image data from the first vertical interpolation circuit 9 is sent or a terminal to which reference image data from the second vertical interpolation circuit 10 is sent.

【0068】逆DCT回路4から出力されたデータが内
挿的フレーム間予測符号に対する予測誤差データである
場合には、第8スイッチ38の共通端子が平均化部11
の出力が送られる端子を選択するように切り換えられ
る。
If the data output from the inverse DCT circuit 4 is prediction error data for an interpolative inter-frame prediction code, the common terminal of the eighth switch 38
Is switched to select the terminal to which the output of is sent.

【0069】なお、参照画像用メモリ7、8から参照画
像が読み出される場合には、ベクトル値変換回路13か
らの動きベクトルに基づいて、その切り出し位置が制御
される。復号モードが高画質モードである場合に、ベク
トル値変換回路13によって動きベクトルの水平方向の
大きさが1/2に変換されているのは、復号モードが高
画質モードである場合には、参照画像用メモリ7、8に
送られるマクロブロック単位の画像データ(第1の再生
画像データ)が水平方向に1/2に圧縮されたものとな
っているためである。
When a reference image is read from the reference image memories 7 and 8, the cutout position is controlled based on the motion vector from the vector value conversion circuit 13. When the decoding mode is the high image quality mode, the horizontal value of the motion vector is converted to に よ っ て by the vector value conversion circuit 13 when the decoding mode is the high image quality mode. This is because the image data (first reproduced image data) in units of macro blocks sent to the image memories 7 and 8 is compressed in half in the horizontal direction.

【0070】復号モードが低画質モードである場合に、
ベクトル値変換回路13によって動きベクトルの水平方
向および垂直方向の大きさが1/2に変換されているの
は、復号モードが低画質モードである場合には、参照画
像用メモリ7、8に送られるマクロブロック単位の画像
データ(第2の再生画像データ)が水平および垂直方向
にそれぞれ1/2に圧縮されたものとなっているためで
ある。
When the decoding mode is the low image quality mode,
The reason why the horizontal and vertical magnitudes of the motion vector are converted to に よ っ て by the vector value conversion circuit 13 is that the motion vector is transmitted to the reference image memories 7 and 8 when the decoding mode is the low image quality mode. This is because the image data (second reproduced image data) in units of macroblocks are compressed to 水平 each in the horizontal and vertical directions.

【0071】第9スイッチ39は、第2スイッチ32か
ら第9スイッチ39に送られてきたBピクチャに対する
再生画像データ、参照画像用メモリ7に格納されたIピ
クチャまたはPピクチャに対する再生画像データ、参照
画像用メモリ8に格納されたIピクチャまたはPピクチ
ャに対する再生画像データが原画像の順序と同じ順番で
出力されるようにCPU20によって制御される。第9
スイッチ39から出力された第1または第2の再生画像
データは、フォーマット変換回路14によってモニタ装
置の水平および垂直走査線数に対応するようにフォーマ
ット変換された後、モニタ装置に送られる。
The ninth switch 39 is used for reproducing picture data for a B picture sent from the second switch 32 to the ninth switch 39, reproducing picture data for an I picture or a P picture stored in the reference picture memory 7, The CPU 20 controls the playback image data for the I picture or P picture stored in the image memory 8 so as to be output in the same order as the order of the original images. Ninth
The first or second reproduced image data output from the switch 39 is format-converted by the format conversion circuit 14 so as to correspond to the number of horizontal and vertical scanning lines of the monitor device, and then sent to the monitor device.

【0072】低画質モード時における垂直解像度と高画
質モード時における垂直解像度とについて具体的に説明
する。たとえば、垂直画素数1080×水平画素数19
20のHDTV信号から、1フィールドが240画素×
720画素で60フィールド/秒のインターレース信号
を作成する場合を想定する。
The vertical resolution in the low image quality mode and the vertical resolution in the high image quality mode will be specifically described. For example, the number of vertical pixels is 1080 × the number of horizontal pixels is 19
From 20 HDTV signals, one field is 240 pixels x
Assume that an interlaced signal of 60 fields / second is generated with 720 pixels.

【0073】復号モードが低画質モードの場合には、H
DTV信号から1フレームが540画素×960画素で
30フレーム/秒の映像画像が得られる。この映像信号
を60フィールド/秒のインターレース信号にすると、
1フィールドが270画素×960画素の映像信号とな
る。したがって、フォーマット変換回路14によって1
フィールドが240画素×720画素で60フィールド
/秒のインターレース信号を作成した場合には、比較的
画質の高い映像が得られる。
When the decoding mode is the low image quality mode, H
From the DTV signal, a video image of 30 frames / sec is obtained with one frame being 540 pixels × 960 pixels. When this video signal is converted into an interlace signal of 60 fields / second,
One field is a video signal of 270 pixels × 960 pixels. Therefore, the format conversion circuit 14
When an interlaced signal of 60 fields / second is created with a field of 240 pixels × 720 pixels, a video having a relatively high image quality can be obtained.

【0074】したがって、垂直画素数1080×水平画
素数1920のHDTV信号から、1フィールドが24
0画素×720画素で60フィールド/秒のインターレ
ース信号を作成する場合には、復号モードを低画質モー
ドに設定することにより、参照画像用メモリの容量の低
減化が図れる。
Therefore, from an HDTV signal having 1080 vertical pixels × 1920 horizontal pixels, one field is composed of 24 fields.
When an interlaced signal of 60 fields / second is created by 0 pixels × 720 pixels, the capacity of the reference image memory can be reduced by setting the decoding mode to the low image quality mode.

【0075】次に、垂直画素数1080×水平画素数1
920のHDTV信号から、1フィールドが480画素
×720画素で60フレーム/秒のプログレッシブ信号
を作成する場合を想定する。
Next, the number of vertical pixels 1080 × the number of horizontal pixels 1
It is assumed that a progressive signal of 60 frames per second is generated from 920 HDTV signals in which one field is 480 pixels × 720 pixels.

【0076】復号モードが低画質モードの場合には、H
DTV信号から1フレームが540画素×960画素で
30フレーム/秒の映像画像が得られる。この映像信号
を60フレーム/秒のプレグレッシブ画像にすると、1
フレームが270画素×960画素の映像信号となる。
したがって、フォーマット変換回路14によって1フレ
ームが480画素×720画素で60フレーム/秒のプ
レグレッシブ信号を作成しようとすると、水平ラインを
補間する必要があるため、画質が低下する。
When the decoding mode is the low image quality mode, H
From the DTV signal, a video image of 30 frames / sec is obtained with one frame being 540 pixels × 960 pixels. When this video signal is converted into a progressive image of 60 frames / second, 1
The frame becomes a video signal of 270 pixels × 960 pixels.
Therefore, if the format conversion circuit 14 attempts to create a pre-gressive signal of 480 pixels × 720 pixels and 60 frames / sec, it is necessary to interpolate a horizontal line, so that the image quality deteriorates.

【0077】復号モードが高画質モードの場合には、H
DTV信号から1フレームが1080画素×960画素
で30フレーム/秒の映像画像が得られる。この映像信
号を60フレーム/秒のプレグレッシブ画像にすると、
1フレームが540画素×960画素の映像信号とな
る。したがって、フォーマット変換回路14によって、
1フレームが480画素×720画素で60フレーム/
秒のプレグレッシブ信号を作成した場合には、比較的画
質の高い映像が得られる。
When the decoding mode is the high image quality mode, H
From the DTV signal, one frame is 1080 pixels × 960 pixels, and a video image of 30 frames / sec is obtained. If this video signal is converted into a progressive image of 60 frames / second,
One frame is a video signal of 540 pixels × 960 pixels. Therefore, by the format conversion circuit 14,
One frame is 480 pixels x 720 pixels and 60 frames /
In the case where a second progressive signal is generated, a video having a relatively high image quality can be obtained.

【0078】つまり、垂直画素数1080×水平画素数
1920のHDTV信号から、1フレームが480画素
×720画素で60フレーム/秒のプレグレッシブ信号
を作成する場合には、高画質モードが適している。
In other words, when a pre-gressive signal of 480 pixels × 720 pixels and 60 frames / sec is generated from one HDTV signal having 1080 vertical pixels × 1920 horizontal pixels, the high image quality mode is suitable. .

【0079】上記実施の形態では、1つの集積回路で低
画質モードと高画質モードとのいずれにも対応すること
ができるため、1つの集積回路を低級機用と高級機用と
に使い分けすることができるようになる。また、低画質
モードで十分な機器に搭載される場合には、参照画像用
メモリも主メモリのみで足りるので、コストを低く抑え
ることができる。
In the above embodiment, one integrated circuit can support both the low image quality mode and the high image quality mode. Therefore, one integrated circuit can be selectively used for a low-grade device and a high-grade device. Will be able to Further, when the low-image-quality mode is mounted on a sufficient device, only the main memory is sufficient for the reference image memory, so that the cost can be reduced.

【0080】また、低画質モードで十分な機器に搭載さ
れる場合に、参照画像用メモリを主メモリと追加メモリ
とで構成することによって、追加メモリをグラフィック
ス等の他の用途のメモリとして利用することも可能とな
る。
When the low image quality mode is mounted on a sufficient device, the reference image memory is constituted by the main memory and the additional memory, so that the additional memory is used as a memory for other uses such as graphics. It is also possible to do.

【0081】[0081]

【発明の効果】この発明によれば、復号化された画像の
画質が異なる2種類の復号化を選択できる動画像再生装
置が実現する。
According to the present invention, a moving picture reproducing apparatus which can select two kinds of decoding with different picture quality of the decoded picture is realized.

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

【図1】MPEG復号器の構成を示すブロック図であ
る。
FIG. 1 is a block diagram illustrating a configuration of an MPEG decoder.

【図2】水平高域係数除去回路によって水平空間周波数
の高域部分が除去された後のDCT係数を示すととも
に、逆DCT回路によって逆変換された後のデータを示
す模式図である。
FIG. 2 is a schematic diagram showing DCT coefficients after a high-frequency portion of a horizontal spatial frequency has been removed by a horizontal high-frequency coefficient removal circuit, and data after being inversely transformed by an inverse DCT circuit;

【図3】垂直間引回路による間引処理を説明するための
模式図である。
FIG. 3 is a schematic diagram illustrating a thinning process performed by a vertical thinning circuit.

【図4】従来のMPEG復号器の構成を示すブロック図
である。
FIG. 4 is a block diagram showing a configuration of a conventional MPEG decoder.

【図5】MPEG符号器で行われるDCTおよび従来の
MPEG復号器で行われる逆DCTを説明するための模
式図である。
FIG. 5 is a schematic diagram for explaining DCT performed by an MPEG encoder and inverse DCT performed by a conventional MPEG decoder.

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

1 可変長復号化器 2 逆量子化器 3 水平高域係数除去回路 4 逆DCT回路 5 加算器 6 垂直間引回路 7 第1参照画像用メモリ 8 第2参照画像用メモリ 9 第1垂直内挿回路 10 第2垂直内挿回路 11 平均化部 12 可変長復号化器 13 ベクトル値変換回路 14 フォーマット変換回路 20 CPU 31〜39 スイッチ REFERENCE SIGNS LIST 1 variable length decoder 2 inverse quantizer 3 horizontal high frequency coefficient removing circuit 4 inverse DCT circuit 5 adder 6 vertical thinning circuit 7 first reference image memory 8 second reference image memory 9 first vertical interpolation Circuit 10 Second vertical interpolation circuit 11 Averaging unit 12 Variable length decoder 13 Vector value conversion circuit 14 Format conversion circuit 20 CPU 31 to 39 Switch

フロントページの続き (72)発明者 山下 昭彦 大阪府守口市京阪本通2丁目5番5号 三 洋電機株式会社内Continuation of front page (72) Inventor Akihiko Yamashita 2-5-5 Keihanhondori, Moriguchi-shi, Osaka Sanyo Electric Co., Ltd.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 直交変換係数のうちの水平周波数の低域
部分の係数のみを使用して逆直交変換を行って得た画像
に基づいて水平方向が1/2に圧縮された第1の再生画
像データを生成する第1の再生画像データ生成手段、 第1の再生画像テータを垂直方向に1/2に間引いて、
水平方向および垂直方向がそれぞれ1/2に圧縮された
第2の再生画像データを生成する第2の再生画像データ
生成手段、 第1の再生画像データ生成手段によって生成された第1
の再生画像に基づいて復号化データを生成する第1の復
号化データ生成手段、 第2の再生画像データ生成手段によって生成された第2
の再生画像に基づいて復号化データを生成する第2の復
号化データ生成手段、ならびに第1の復号化データ生成
手段と第2の復号化データ生成手段とを切り換える切替
手段を備えている動画像復号化装置。
1. A first reproduction in which a horizontal direction is compressed to 1 / based on an image obtained by performing an inverse orthogonal transform by using only a coefficient of a low frequency part of a horizontal frequency among orthogonal transform coefficients. A first reproduced image data generating means for generating image data, wherein the first reproduced image data is thinned out in a vertical direction by half,
A second reproduced image data generating means for generating second reproduced image data in which the horizontal direction and the vertical direction are each reduced to 、, a first reproduced image data generated by the first reproduced image data generating means;
A first decoded data generating means for generating decoded data based on the reproduced image of the first and second reproduced image data generated by the second reproduced image data generating means
Moving image comprising second decoded data generating means for generating decoded data based on the reproduced image, and switching means for switching between the first decoded data generating means and the second decoded data generating means Decryption device.
【請求項2】 入力信号から得られた所定の大きさのブ
ロック単位の直交変換係数のうち、水平周波数の高域部
分の係数を除去して変換係数を半分に削減する係数削減
回路、 係数削減回路によって削減された変換係数を用いて逆直
交変換を行うことにより、ブロック単位毎に水平方向が
1/2に圧縮された再生画像データまたは時間軸予測誤
差データを得る逆直交変換回路、 逆直交変換回路によって得られた時間軸予測誤差データ
と所定の参照画像データとに基づいて、水平方向が1/
2に圧縮された再生画像データを生成する加算器、 逆直交変換回路または加算器によって得られた再生画像
データ(以下、第1の再生画像データという)を垂直方
向に1/2に間引いて、水平方向および垂直方向がそれ
ぞれ1/2に圧縮された第2の再生画像データを生成す
るための垂直間引回路、 第1の再生画像データおよび第2の再生画像データのう
ち、復号モードが第1復号モードである場合には第1の
再生画像データを出力し、復号モードが第2復号モード
である場合には第2の再生画像データを出力する第1の
切替手段、 第1の切替手段から出力される画像データを第1参照画
像用メモリまたは第2参照画像用メモリに送るためのメ
モリ選択用スイッチ、 第1参照画像用メモリから出力される画像データに対し
て垂直間引回路によって間引かれた水平ラインを内挿す
るための第1垂直内挿回路、 第2参照画像用メモリから出力される画像データに対し
て垂直間引回路によって間引かれた水平ラインを内挿す
るための第2垂直内挿回路、 第1参照画像用メモリから出力される画像データおよび
第1垂直内挿回路から出力される画像データのうち、復
号モードが第1復号モードである場合には第1参照画像
用メモリから出力される画像データを選択し、復号モー
ドが第2復号モードである場合には第1垂直内挿回路か
ら出力される画像データを選択する第2の切替手段、 第2参照画像用メモリから出力される画像データおよび
第2垂直内挿回路から出力される画像データのうち、復
号モードが第1復号モードである場合には第2参照画像
用メモリから出力される画像データを選択し、復号モー
ドが第2復号モードである場合には第2垂直内挿回路か
ら出力される画像データを選択する第3の切替手段、 第2の切替手段から出力される画像データと第3の切替
手段から出力される画像データとの平均をとる平均化回
路、 第2の切替手段から出力される画像データ、第3の切替
手段から出力される画像データ、平均化回路から出力さ
れる画像データおよび接地電圧を切り換えて、上記加算
器に参照画像データとして送る参照画像切替スイッチ、
ならびに第1の切替手段から出力される画像データ、第
1参照画像用メモリから出力される画像データおよび第
2参照画像用メモリから出力される画像データを切り換
えて出力する出力画像データ切替スイッチ、 を備えている動画像復号化装置。
2. A coefficient reduction circuit for removing a coefficient in a high-frequency portion of a horizontal frequency from orthogonal transform coefficients in a block unit of a predetermined size obtained from an input signal to reduce a transform coefficient in half, and a coefficient reduction. An inverse orthogonal transform circuit that performs inverse orthogonal transform using the transform coefficient reduced by the circuit to obtain reproduced image data or time-axis prediction error data in which the horizontal direction is compressed to に for each block unit; Based on the time axis prediction error data obtained by the conversion circuit and predetermined reference image data, the horizontal direction
The reproduction image data (hereinafter, referred to as the first reproduction image data) obtained by the adder, the inverse orthogonal transform circuit, or the adder that generates the reproduction image data compressed to 2 is decimated by half in the vertical direction. A vertical thinning circuit for generating second reproduced image data in which the horizontal direction and the vertical direction are each compressed to 1 /, and among the first reproduced image data and the second reproduced image data, the decoding mode is First switching means for outputting the first reproduced image data when the first decoding mode is set, and outputting the second reproduced image data when the decoding mode is the second decoding mode; Switch for sending the image data output from the first reference image memory or the second reference image memory to the vertical reference thinning circuit for the image data output from the first reference image memory Therefore, a first vertical interpolation circuit for interpolating the thinned horizontal lines, and a horizontal line thinned by the vertical thinning circuit for the image data output from the second reference image memory. Vertical interpolation circuit for decoding, among image data output from the first reference image memory and image data output from the first vertical interpolation circuit, when the decoding mode is the first decoding mode, (2) second switching means for selecting image data output from the reference image memory and selecting image data output from the first vertical interpolation circuit when the decoding mode is the second decoding mode; Among the image data output from the reference image memory and the image data output from the second vertical interpolation circuit, when the decoding mode is the first decoding mode, the image data output from the second reference image memory is used. Is selected, and when the decoding mode is the second decoding mode, the third switching means for selecting the image data output from the second vertical interpolation circuit, the image data output from the second switching means and the third switching means An averaging circuit for averaging with the image data output from the third switching means, image data output from the second switching means, image data output from the third switching means, and output from the averaging circuit A reference image switch for switching image data and ground voltage and sending the image data and reference image data to the adder;
An image data output from the first switching means, an image data output from the first reference image memory, and an output image data switch for switching and outputting image data output from the second reference image memory. A moving picture decoding device provided.
【請求項3】 入力信号から得られた所定の大きさのブ
ロック単位の直交変換係数のうち、水平周波数の高域部
分の係数を除去して変換係数を半分に削減する係数削減
回路、 係数削減回路によって削減された変換係数を用いて逆直
交変換を行うことにより、ブロック単位毎に水平方向が
1/2に圧縮された再生画像データまたは時間軸予測誤
差データを得る逆直交変換回路、 逆直交変換回路によって得られた時間軸予測誤差データ
と所定の参照画像データとに基づいて、水平方向が1/
2に圧縮された再生画像データを生成する加算器、 逆直交変換回路または加算器によって得られた再生画像
データ(以下、第1の再生画像データという)を垂直方
向に1/2に間引いて、水平方向および垂直方向がそれ
ぞれ1/2に圧縮された第2の再生画像データを生成す
るための垂直間引回路、 第1の再生画像データおよび第2の再生画像データのう
ち、復号モードが第1復号モードである場合には第1の
再生画像データを出力し、復号モードが第2復号モード
である場合には第2の再生画像データを出力する第1の
切替手段、 第1の参照画像用メモリを接続するための第1メモリ接
続用入力端子および第1メモリ接続用出力端子、 第2の参照画像用メモリを接続するための第2メモリ接
続用入力端子および第2メモリ接続用出力端子、 第1の切替手段から出力される画像データを第1メモリ
接続用入力端子または第2メモリ接続用入力端子に送る
ためのメモリ選択用スイッチ、 第1メモリ接続用出力端子から出力される画像データに
対して垂直間引回路によって間引かれた水平ラインを内
挿するための第1垂直内挿回路、 第2メモリ接続用出力端子から出力される画像データに
対して垂直間引回路によって間引かれた水平ラインを内
挿するための第2垂直内挿回路、 第1メモリ接続用出力端子から出力される画像データお
よび第1垂直内挿回路から出力される画像データのう
ち、復号モードが第1復号モードである場合には第1メ
モリ接続用出力端子から出力される画像データを選択
し、復号モードが第2復号モードである場合には第1垂
直内挿回路から出力される画像データを選択する第2の
切替手段、 第2メモリ接続用出力端子から出力される画像データお
よび第2垂直内挿回路から出力される画像データのう
ち、復号モードが第1復号モードである場合には第2メ
モリ接続用出力端子から出力される画像データを選択
し、復号モードが第2復号モードである場合には第2垂
直内挿回路から出力される画像データを選択する第3の
切替手段、 第2の切替手段から出力される画像データと第3の切替
手段から出力される画像データとの平均をとる平均化回
路、 第2の切替手段から出力される画像データ、第3の切替
手段から出力される画像データ、平均化回路から出力さ
れる画像データおよび接地電圧を切り換えて、上記加算
器に参照画像データとして送る参照画像切替スイッチ、
ならびに第1の切替手段から出力される画像データ、第
1メモリ接続用出力端子から出力される画像データおよ
び第2メモリ接続用出力端子から出力される画像データ
を切り換えて出力する出力画像データ切替スイッチ、 を備えている動画像復号化装置。
3. A coefficient reduction circuit for removing a coefficient in a high frequency portion of a horizontal frequency from orthogonal transform coefficients in a block unit of a predetermined size obtained from an input signal to reduce a transform coefficient in half, and a coefficient reduction. An inverse orthogonal transform circuit that performs inverse orthogonal transform using the transform coefficient reduced by the circuit to obtain reproduced image data or time-axis prediction error data in which the horizontal direction is compressed to に for each block unit; Based on the time axis prediction error data obtained by the conversion circuit and predetermined reference image data, the horizontal direction
The reproduction image data (hereinafter, referred to as the first reproduction image data) obtained by the adder, the inverse orthogonal transform circuit, or the adder that generates the reproduction image data compressed to 2 is decimated by half in the vertical direction. A vertical thinning circuit for generating second reproduced image data in which the horizontal direction and the vertical direction are each compressed to 1 /, and among the first reproduced image data and the second reproduced image data, the decoding mode is A first switching unit that outputs first reproduced image data when the first decoding mode is set, and outputs second reproduced image data when the decoding mode is the second decoding mode; Memory connection input terminal and first memory connection output terminal for connecting a memory for memory, second memory connection input terminal and second memory connection output terminal for connecting a second reference image memory A memory selection switch for sending image data output from the first switching means to the first memory connection input terminal or the second memory connection input terminal; image data output from the first memory connection output terminal A first vertical interpolation circuit for interpolating horizontal lines thinned out by a vertical thinning circuit, and a vertical thinning circuit for image data output from a second memory connection output terminal. The second vertical interpolation circuit for interpolating the inserted horizontal line, the decoding mode of the image data output from the first memory connection output terminal and the image data output from the first vertical interpolation circuit If the decoding mode is the first decoding mode, the image data output from the first memory connection output terminal is selected. If the decoding mode is the second decoding mode, the image data output from the first vertical interpolation circuit is selected. A second switching unit for selecting data, when the decoding mode is the first decoding mode among the image data output from the second memory connection output terminal and the image data output from the second vertical interpolation circuit. Means for selecting image data output from the second memory connection output terminal, and selecting image data output from the second vertical interpolation circuit when the decoding mode is the second decoding mode. An averaging circuit for averaging the image data output from the second switching means and the image data output from the third switching means, the image data output from the second switching means, the third switching means A reference image changeover switch that switches image data output from the image data and image data output from the averaging circuit and ground voltage, and sends the image data as reference image data to the adder;
An output image data switch for switching and outputting image data output from the first switching means, image data output from the first memory connection output terminal, and image data output from the second memory connection output terminal. A video decoding device comprising:
JP06135198A 1998-03-12 1998-03-12 Video decoding device Expired - Fee Related JP3416509B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06135198A JP3416509B2 (en) 1998-03-12 1998-03-12 Video decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06135198A JP3416509B2 (en) 1998-03-12 1998-03-12 Video decoding device

Publications (2)

Publication Number Publication Date
JPH11262011A true JPH11262011A (en) 1999-09-24
JP3416509B2 JP3416509B2 (en) 2003-06-16

Family

ID=13168644

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06135198A Expired - Fee Related JP3416509B2 (en) 1998-03-12 1998-03-12 Video decoding device

Country Status (1)

Country Link
JP (1) JP3416509B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6907077B2 (en) 2000-09-28 2005-06-14 Nec Corporation Variable resolution decoder

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6907077B2 (en) 2000-09-28 2005-06-14 Nec Corporation Variable resolution decoder

Also Published As

Publication number Publication date
JP3416509B2 (en) 2003-06-16

Similar Documents

Publication Publication Date Title
JP4014263B2 (en) Video signal conversion apparatus and video signal conversion method
US20030095603A1 (en) Reduced-complexity video decoding using larger pixel-grid motion compensation
JP3092280B2 (en) Highly efficient encoding and decoding apparatus for image signals
JP3164292B2 (en) Moving picture coding apparatus, moving picture decoding apparatus, and moving picture code recording method
JP2933561B2 (en) Video transcoder
JP3568392B2 (en) Video decoding device
JP3257052B2 (en) Highly efficient image signal encoding apparatus and method
JP4264811B2 (en) Image decoding apparatus and image decoding method
JP3416509B2 (en) Video decoding device
JP3797208B2 (en) Color moving image encoding apparatus, decoding apparatus, encoding method, decoding method, and color moving image code string transmission method
JP2002262293A (en) Moving image decoder and moving image decoding method
JP3481112B2 (en) Video decoding device
JP3416505B2 (en) Video decoding method
US6904093B1 (en) Horizontal/vertical scanning frequency converting apparatus in MPEG decoding block
JP2001086508A (en) Method and device for moving image decoding
JP3481111B2 (en) Video decoding device
JP3384739B2 (en) Video decoding method
JP3859118B2 (en) Variable image rate encoding apparatus, variable image rate decoding apparatus, variable image rate encoding method, and variable image rate decoding method
JP3481118B2 (en) Video decoding method
JPH0698311A (en) High efficiency coding and decoding device for picture signal
JPH10126749A (en) Sequential scanning conversion device
JP3384738B2 (en) Video decoding method
JP3384740B2 (en) Video decoding method
JP3166835B2 (en) Method and apparatus for highly efficient coding of moving images
JP4035808B2 (en) Moving image scanning structure conversion apparatus and moving image scanning structure conversion method

Legal Events

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

Free format text: PAYMENT UNTIL: 20090404

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees