JP2001268571A - Moving image re-encoder - Google Patents

Moving image re-encoder

Info

Publication number
JP2001268571A
JP2001268571A JP2000081485A JP2000081485A JP2001268571A JP 2001268571 A JP2001268571 A JP 2001268571A JP 2000081485 A JP2000081485 A JP 2000081485A JP 2000081485 A JP2000081485 A JP 2000081485A JP 2001268571 A JP2001268571 A JP 2001268571A
Authority
JP
Japan
Prior art keywords
unit
reference image
image data
orthogonal transform
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2000081485A
Other languages
Japanese (ja)
Inventor
Takanobu Mikoshi
剛宣 美越
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 JP2000081485A priority Critical patent/JP2001268571A/en
Publication of JP2001268571A publication Critical patent/JP2001268571A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a moving image re-encoder with small memory capacity. SOLUTION: The moving image re-encoder 10 includes a decoding part 12 to receive moving image data encoded by an MPEG system as input and to decode the encoded moving image data by reducing it to data with the predetermined number of bits and a re-encoding part 14 to be connected with the decoding part 12 and to encode the decoded moving image data by the MPEG system by reducing it to data with the number of bits to be determined by relation with the predetermined number of bits.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、符号化された動画
像データを復号化した後、再度符号化する動画像再符号
化装置に関し、特に、少ないメモリで動画像データの復
号化および再符号化を実行可能な動画像再符号化装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a moving picture re-encoding apparatus for decoding coded moving picture data and then re-encoding the same, and more particularly to decoding and re-encoding of moving picture data with a small memory. The present invention relates to a moving picture re-encoding device capable of performing encoding.

【0002】[0002]

【従来の技術】インターネット等を利用したデジタル映
像データの配信が近年普及している。映像データの配信
を受けたコンピュータ上では、その処理能力に応じて、
伝送条件(伝送タイミング、伝送レート)または画像サ
イズの変更が行なわれる。
2. Description of the Related Art Digital video data distribution using the Internet or the like has become widespread in recent years. On the computer that receives the video data distribution, depending on its processing capability,
The transmission condition (transmission timing, transmission rate) or the image size is changed.

【0003】従来、MPEG(Moving Picture Experts
Group)方式で符号化された動画像データの伝送条件ま
たは画像サイズを変更するには、動画像データを復号化
し、必要に応じて画像サイズを変更した後、再度符号化
を実行している。
Conventionally, MPEG (Moving Picture Experts)
In order to change the transmission condition or the image size of the moving image data encoded by the Group) method, the moving image data is decoded, the image size is changed if necessary, and the encoding is executed again.

【0004】図8を参照して、動画像データの伝送条件
および画像サイズを変更する動画像再符号化装置210
は、MPEG方式で符号化された動画像データを入力と
して受け、動画像データを復号化する復号化部12と、
復号化部12に接続され、復号化された動画像データの
画像サイズを変更する画像サイズ変更部213と、画像
サイズ変更部213に接続され、画像サイズが変更され
た動画像データを再度MPEG方式で符号化する再符号
化部214とを含む。
Referring to FIG. 8, a moving picture re-encoding device 210 for changing the transmission condition and moving image size of moving image data is described.
Receives a moving image data encoded by the MPEG system as an input and decodes the moving image data;
An image size changing unit 213 connected to the decoding unit 12 for changing the image size of the decoded moving image data, and a moving image data connected to the image size changing unit 213 and having the image size changed are re-transferred to the MPEG format. , And a re-encoding unit 214 for encoding.

【0005】復号化部12として、特開2000−00
4440号公報に開示されている動画像復号化装置が用
いられる。復号化部12は、参照画像データを一時的に
記憶する参照画像用メモリの記憶容量を削減することを
目的としている。このため、復号化部12は、アダマー
ル変換処理を行なった後に、ビット数の削減を行なって
いる。
[0005] As the decoding unit 12, Japanese Patent Laid-Open No. 2000-00
A moving image decoding device disclosed in Japanese Patent No. 4440 is used. The decoding unit 12 aims to reduce the storage capacity of the reference image memory that temporarily stores the reference image data. For this reason, the decoding unit 12 reduces the number of bits after performing the Hadamard transform process.

【0006】[0006]

【発明が解決しようとする課題】しかし、再符号化部2
14は、通常のMPEG符号化装置である。このため、
復号化部と再符号化部とのいずれにおいても参照画像用
メモリが必要となり、動画像再符号化装置210全体と
してみた場合に大きなメモリ容量が必要であるという課
題を抱えている。
However, the re-encoding unit 2
Reference numeral 14 denotes a normal MPEG encoding device. For this reason,
Both the decoding unit and the re-encoding unit require a reference image memory, and there is a problem that a large memory capacity is required when the moving image re-encoding device 210 as a whole is viewed.

【0007】本発明は上述の課題を解決するためになさ
れたもので、その目的は、メモリ容量が小さい動画像再
符号化装置を提供することである。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problem, and an object of the present invention is to provide a moving picture re-encoding device having a small memory capacity.

【0008】[0008]

【課題を解決するための手段】本発明のある局面に従う
動画像再符号化装置は、符号化された動画像データを予
め定められたビット数のデータに削減しながら復号化す
る復号化部と、復号化部に接続され、復号化された動画
像データを予め定められたビット数との関係で定められ
るビット数のデータに削減しながら符号化する再符号化
部とを含む。
A moving picture re-encoding device according to an aspect of the present invention includes a decoding unit for decoding coded moving image data while reducing it to data having a predetermined number of bits. And a re-encoding unit, which is connected to the decoding unit and encodes the decoded moving image data while reducing the number of bits to be determined in relation to a predetermined number of bits.

【0009】復号化部でデータ削減された結果のビット
数に従い、再符号化部でのデータ削減の結果のビット数
が定められる。このため、復号化部でビット削減される
ことにより情報が失われているにもかかわらず、再符号
化部で、不必要に大きいデータのビット数を確保する必
要がなくなる。このため、復号化部および再符号化部と
もにメモリ容量の削減を行なうことができ、メモリ容量
の小さい動画像再符号化装置を提供することができる。
According to the number of bits resulting from data reduction in the decoding unit, the number of bits resulting from data reduction in the re-encoding unit is determined. For this reason, it is not necessary for the re-encoding unit to secure an unnecessarily large number of data bits even though information is lost due to bit reduction in the decoding unit. Therefore, the memory capacity of both the decoding unit and the re-encoding unit can be reduced, and a moving picture re-encoding device with a small memory capacity can be provided.

【0010】本発明の他の局面に従う動画像符号化装置
は、符号化された動画像データを予め定められたビット
数のデータに削減しながら復号化する復号化部と、復号
化部に接続され、動画像データの画像サイズを変更する
画像サイズ変更部と、画像サイズ変更部に接続され、復
号化された動画像データを予め定められたビット数との
関係で定められるビット数のデータに削減しながら符号
化する再符号化部とを含む。
A moving picture coding apparatus according to another aspect of the present invention is connected to a decoding section for decoding coded moving picture data while reducing it to data of a predetermined number of bits, and a decoding section. An image size changing unit for changing the image size of the moving image data, and connected to the image size changing unit, the decoded moving image data is converted into data having the number of bits determined in relation to a predetermined number of bits. And a re-encoding unit that performs encoding while reducing the number.

【0011】復号化部でデータ削減された結果のビット
数に従い、再符号化部でのデータ削減の結果のビット数
が定められる。このため、復号化部でビット削減される
ことにより情報が失われているにもかかわらず、再符号
化部で、不必要に大きいデータのビット数を確保する必
要がなくなる。このため、復号化部および再符号化部と
もにメモリ容量の削減を行なうことができ、メモリ容量
の小さい動画像再符号化装置を提供することができる。
According to the number of bits resulting from data reduction in the decoding unit, the number of bits resulting from data reduction in the re-encoding unit is determined. For this reason, it is not necessary for the re-encoding unit to secure an unnecessarily large number of data bits even though information is lost due to bit reduction in the decoding unit. Therefore, the memory capacity of both the decoding unit and the re-encoding unit can be reduced, and a moving picture re-encoding device with a small memory capacity can be provided.

【0012】好ましくは、画像サイズ変更部は、周波数
領域で動画像データの画像サイズを変更する。
[0012] Preferably, the image size changing unit changes the image size of the moving image data in the frequency domain.

【0013】さらに好ましくは、画像サイズ変更部は、
周波数領域で動画像データの画像サイズを変更するとと
もに、変更の結果を逆直交変換する。
[0013] More preferably, the image resizing unit comprises:
The image size of the moving image data is changed in the frequency domain, and the result of the change is subjected to inverse orthogonal transform.

【0014】周波数領域で画像サイズを変更することに
より、高周波成分のみ除去した画像サイズ変更が可能と
なり、人間の見た目にも違和感がなく動画像データを再
符号化することができる。
By changing the image size in the frequency domain, it is possible to change the image size by removing only the high-frequency components, and it is possible to re-encode the moving image data without any strange feeling to human eyes.

【0015】[0015]

【発明の実施の形態】[実施の形態1]図1を参照し
て、本発明の実施の形態1に係る動画像再符号化装置1
0は、MPEG方式で符号化された動画像データを入力
として受け、動画像データを復号化する復号化部12
と、復号化部12に接続され、復号化された画像データ
を再度MPEG方式で符号化する再符号化部14とを含
む。
[First Embodiment] Referring to FIG. 1, a moving picture re-encoding apparatus 1 according to a first embodiment of the present invention will be described.
0 is a decoding unit 12 which receives moving image data encoded by the MPEG system as an input and decodes the moving image data.
And a re-encoding unit 14 connected to the decoding unit 12 and re-encoding the decoded image data by the MPEG method.

【0016】図2を参照して、復号化部12は、変換係
数の可変長符号を受け、可変長符号を復号する可変長復
号化部22と、可変長復号化部22に接続され、可変長
復号化部22より得られた変換係数(量子化されたDC
T(Discrete Cosine Transform)係数)を逆量子化し
てDCT係数に変換する逆量子化部24と、逆量子化部
24に接続され、逆量子化部24で生成されたDCT係
数列をブロック単位のデータに変換する逆DCT部26
と、逆DCT部26に接続され、逆DCT部26の出力
と参照画像データとを加算する加算器28とを含む。
Referring to FIG. 2, decoding section 12 receives a variable-length code of a transform coefficient, decodes the variable-length code, and is connected to variable-length decoding section 22, Transform coefficient (quantized DC
An inverse quantization unit 24 that inversely quantizes a T (Discrete Cosine Transform) coefficient and converts it into a DCT coefficient; and a DCT coefficient sequence that is connected to the inverse quantization unit 24 and generated by the inverse quantization unit 24. Inverse DCT unit 26 for converting to data
And an adder 28 connected to the inverse DCT unit 26 for adding the output of the inverse DCT unit 26 and the reference image data.

【0017】復号化部12は、さらに、加算器28に接
続され、加算器28の出力に4次のアダマール変換処理
および量子化処理を施すアダマール変換部30と、アダ
マール変換部30に接続され、アダマール変換部30よ
りI(Intra)ピクチャまたはP(Predictive)ピクチ
ャの再生画像データを受け、2つの出力に交互に切換え
て再生画像データを出力するスイッチ39と、各々、ス
イッチ39の対応の出力に接続され、スイッチ39を介
してアダマール変換部30より得られるIピクチャまた
はPピクチャの再生画像データを記憶する参照画像用メ
モリ38および40と、参照画像用メモリ38に接続さ
れ、参照画像用メモリ38よりマクロブロック単位の再
生画像データを読出し、逆アダマール変換を施す逆アダ
マール変換部34と、参照画像用メモリ40に接続さ
れ、参照画像用メモリ40よりマクロブロック単位の再
生画像データを読出し、逆アダマール変換を施す逆アダ
マール変換部36とを含む。
The decoding unit 12 is further connected to an adder 28, and is connected to a Hadamard transform unit 30 for performing a fourth-order Hadamard transform process and a quantization process on the output of the adder 28, and a Hadamard transform unit 30. A switch 39 that receives the reproduced image data of the I (Intra) picture or the P (Predictive) picture from the Hadamard transform unit 30 and alternately switches between two outputs to output the reproduced image data; Connected to reference image memories 38 and 40 for storing I-picture or P-picture reproduced image data obtained from the Hadamard transform unit 30 via the switch 39, and a reference image memory 38 A reverse Hadamard transform unit 34 for reading out the reproduced image data in units of macroblocks and performing inverse Hadamard transform; Is connected to the image memory 40, including from the reference image memory 40 reads the reproduced image data of a macro block unit, an inverse Hadamard transform unit 36 performs inverse Hadamard transform.

【0018】復号化部12は、さらに、逆アダマール変
換部34および36に接続され、逆アダマール変換部3
4および36よりそれぞれ画像データを読出し、平均化
し、双方向予測符号化に用いられるマクロブロック単位
の参照画像データを生成する平均化部32と、平均化部
32、逆アダマール変換部34および36、ならびに接
地端子52に接続され、逆DCT部26から出力された
データの種類に応じて状態を定め、平均化部32、逆ア
ダマール変換部34および36、ならびに接地端子52
より与えられるデータを加算器28に供給するスイッチ
46と、アダマール変換部30、参照画像用メモリ38
および参照画像用メモリ40のいずれかに接続され、ア
ダマール変換部30より出力されるB(Bidirectionall
y predictive)ピクチャの再生画像データ、参照画像用
メモリ38より出力されるIピクチャまたはPピクチャ
の再生画像データおよび参照画像用メモリ40より出力
されるIピクチャまたはPピクチャの再生画像データが
原画像の再生順序と同じ順番で出力されるように状態を
変化させるスイッチ44とを含む。
The decoding unit 12 is further connected to the inverse Hadamard transform units 34 and 36, and the inverse Hadamard transform unit 3
4 and 36, read and average the image data, respectively, and averaging unit 32 for generating macroblock-based reference image data used for bidirectional predictive encoding; averaging unit 32, inverse Hadamard transform units 34 and 36; The state is determined according to the type of data output from the inverse DCT section 26 and connected to the ground terminal 52. The averaging section 32, the inverse Hadamard transform sections 34 and 36, and the ground terminal 52
A switch 46 for supplying data given from the adder 28 to the adder 28, a Hadamard transform unit 30, and a reference image memory 38.
B (Bidirectional) which is connected to one of the reference image memory 40 and output from the Hadamard transform unit 30.
y predictive) The reproduced image data of the picture, the reproduced image data of the I picture or P picture output from the reference image memory 38, and the reproduced image data of the I picture or P picture output from the reference image memory 40 are the original image. A switch 44 for changing the state so that the output is performed in the same order as the reproduction order.

【0019】復号化部12は、さらに、スイッチ44に
接続され、スイッチ44から出力される再生画像データ
に逆アダマール変換処理を行ない、動画像データを出力
する逆アダマール変換部42と、アダマール変換部3
0、逆アダマール変換部34および36、ならびにスイ
ッチ39、44および46に接続され、マクロブロック
タイプを含む制御信号を受け、制御信号に基づいて、ア
ダマール変換部30、逆アダマール変換部34および3
6、ならびにスイッチ39、44および46を制御する
CPU(Central Processing Unit)48と、動きベク
トルの可変長符号を受け、その可変長符号を復号化する
とともに、参照画像の切出し位置を制御するための制御
信号として動きベクトルを参照画像用メモリ38および
40に供給する可変長復号化部50とを含む。
The decoding unit 12 is further connected to the switch 44, performs an inverse Hadamard transform process on the reproduced image data output from the switch 44, and outputs an inverse Hadamard transform unit 42 for outputting moving image data. 3
0, which is connected to the inverse Hadamard transform units 34 and 36 and the switches 39, 44 and 46, receives a control signal including a macroblock type, and based on the control signal, receives the Hadamard transform unit 30, the inverse Hadamard transform units 34 and 3
6, and a CPU (Central Processing Unit) 48 for controlling the switches 39, 44 and 46, for receiving the variable length code of the motion vector, decoding the variable length code, and controlling the cutout position of the reference image. And a variable-length decoding unit 50 that supplies a motion vector as a control signal to the reference image memories 38 and 40.

【0020】図3を参照して、再符号化部14は、復号
化部12の逆アダマール変換部42より出力される各フ
レームが表示順に並んだ動画像データを受け、符号化に
適した順序に並べ替える画面並べ替え部62と、画面並
べ替え部62に接続され、符号化対象のフレームと、参
照画像フレームとの間で差分をとる減算器64と、減算
器64に接続され、符号化対象のフレームと参照画像フ
レームとの差分を8×8画素単位に分割し、各ブロック
に離散コサイン変換処理を施すDCT部66と、DCT
部66に接続され、DCT部66より出力されるDCT
係数の情報量を減らすために量子化を行なう量子化部6
8とを含む。
Referring to FIG. 3, re-encoding section 14 receives moving image data in which frames output from inverse Hadamard transform section 42 of decoding section 12 are arranged in display order, And a subtractor 64 connected to the screen rearranging unit 62 for obtaining a difference between the frame to be coded and the reference image frame. A DCT unit 66 that divides the difference between the target frame and the reference image frame into 8 × 8 pixel units, and performs a discrete cosine transform process on each block;
DCT connected to the DCT unit 66 and output from the DCT unit 66
Quantizing unit 6 that performs quantization to reduce the amount of information of coefficients
8 is included.

【0021】再符号化部14は、さらに、量子化部68
に接続され、量子化されたDCT係数を可変長符号化
し、情報量を削減することなくビット数を減らす処理を
行なう可変長符号化部70と、可変長符号化部70に接
続され、可変長符号化された符号化データを再符号化部
14が想定する伝送条件(伝送タイミング、伝送レート
等)で出力するために、符号化データを一時的に記憶す
るバッファ部72とを含む。
The re-encoding unit 14 further includes a quantization unit 68
And a variable-length encoding unit 70 that performs variable-length encoding of the quantized DCT coefficient and reduces the number of bits without reducing the amount of information. In order to output the encoded data under transmission conditions (transmission timing, transmission rate, etc.) assumed by the re-encoding unit 14, the buffer unit 72 temporarily stores the encoded data.

【0022】再符号化部14は、さらに、量子化部68
に接続され、符号化対象の画像データの種類に応じて状
態を遷移させるスイッチ69と、スイッチ69に接続さ
れ、量子化されたDCT係数を元に戻す逆量子化部74
と、逆量子化部74に接続され、DCT係数に逆離散コ
サイン変換処理を施し、元のフレームを復元する逆DC
T部76とを含む。
The re-encoding unit 14 further includes a quantization unit 68
And a switch 69 connected to the switch 69 for changing the state in accordance with the type of image data to be encoded, and an inverse quantization unit 74 for returning the quantized DCT coefficients to the original state.
And an inverse DCT which is connected to the inverse quantization unit 74 and performs inverse discrete cosine transform processing on the DCT coefficients to restore the original frame.
And a T unit 76.

【0023】再符号化部14は、さらに、後述するスイ
ッチ98の出力を受け、動き補償を行なうか否かに応じ
て、スイッチ98の出力を出力するまたは出力しないの
いずれかを選択するスイッチ94と、逆DCT部76に
接続され、逆DCT部76の出力とスイッチ94の出力
とを加算する加算器78と、加算器78に接続され、加
算器78の出力にアダマール変換を施し、かつビット数
の削減を行なうアダマール変換部90と、アダマール変
換部90に接続され、アダマール変換部90よりIピク
チャまたはPピクチャに対する参照画像データを受け、
2つの出力に交互に切換えて参照画像データを出力する
スイッチ96と、各々、スイッチ96の対応の出力に接
続され、スイッチ96を介してアダマール変換部90よ
り得られるIピクチャまたはPピクチャに対する参照画
像データを記憶する参照画像用メモリ86および88と
を含む。
The re-encoding unit 14 further receives an output of a switch 98, which will be described later, and, depending on whether or not to perform motion compensation, a switch 94 for selecting whether to output the output of the switch 98 or not. And an adder 78 connected to the inverse DCT unit 76 for adding the output of the inverse DCT unit 76 and the output of the switch 94; and an adder 78 connected to the adder 78 for subjecting the output of the adder 78 to Hadamard transform, A Hadamard transform unit 90 for reducing the number, connected to the Hadamard transform unit 90, receiving reference image data for an I picture or a P picture from the Hadamard transform unit 90,
A switch 96 for alternately switching between two outputs to output reference image data, and a reference image for an I picture or a P picture which is connected to a corresponding output of the switch 96 and obtained from the Hadamard transform unit 90 via the switch 96 And reference image memories 86 and 88 for storing data.

【0024】再符号化部14は、さらに、参照画像用メ
モリ86に接続され、参照画像用メモリ86よりマクロ
ブロック単位で参照画像データを読出し、逆アダマール
変換を行なうとともに、削減したビットの復元を行なう
逆アダマール変換部80と、参照画像用メモリ88より
マクロブロック単位で参照画像データを読出し、逆アダ
マール変換を行なうとともに、削減したビットの復元を
行なう逆アダマール変換部82と、逆アダマール変換部
80および82に接続され、逆アダマール変換部80お
よび82よりそれぞれ参照画像データをブロック単位で
読出し、平均化する平均化部84とを含む。
The re-encoding unit 14 is further connected to a reference image memory 86, reads out reference image data from the reference image memory 86 in macroblock units, performs inverse Hadamard transform, and restores the reduced bits. An inverse Hadamard transform unit 80 for reading out reference image data from the reference image memory 88 in units of macroblocks, performing an inverse Hadamard transform, and restoring the reduced bits, and an inverse Hadamard transform unit 80 , And an averaging unit 84 for reading out and averaging the reference image data from the inverse Hadamard transform units 80 and 82 in block units.

【0025】再符号化部14は、さらに、参照画像用メ
モリ86および88に接続され、参照画像用メモリ86
および88の一方に記憶された符号化対象のマクロブロ
ックに最も類似した部分を、他方に記憶された参照画像
データより探し出し、予測方法を選択する動き補償部9
2と、逆アダマール変換部80および82、平均化部8
4、および接地端子100に接続され、動き補償部92
より出力される予測方法に応じて状態を定め、参照画像
フレームを減算器64およびスイッチ94に供給するス
イッチ98とを含む。
The re-encoding unit 14 is further connected to reference image memories 86 and 88, and the reference image memory 86
And 88, a portion most similar to the macroblock to be coded is searched from the reference image data stored in the other, and a motion compensation unit 9 for selecting a prediction method.
2, the inverse Hadamard transform units 80 and 82, and the averaging unit 8
4, and the motion compensation unit 92 connected to the ground terminal 100.
A state is determined in accordance with the prediction method output from the control unit, and a switch 98 that supplies a reference image frame to the subtractor 64 and the switch 94 is included.

【0026】図2を参照して、復号化部12は以下のよ
うに動作する。MPEG方式で符号化されたデータのう
ち、変換係数の可変長符号は、可変長復号化部22に送
られる。動きベクトルの可変長符号は、可変長復号化部
50に送られて復号化される。可変長復号化部50は、
参照画像の切出し位置を制御するための制御信号とし
て、動きベクトルの可変長符号を参照画像用メモリ38
および参照画像用メモリ40に与える。
Referring to FIG. 2, decoding section 12 operates as follows. The variable-length code of the transform coefficient among the data encoded by the MPEG method is sent to the variable-length decoding unit 22. The variable length code of the motion vector is sent to the variable length decoding unit 50 and decoded. The variable length decoding unit 50
As a control signal for controlling the cut-out position of the reference image, the variable length code of the motion vector is stored in the reference image memory 38.
And to the reference image memory 40.

【0027】可変長復号化部22は、変換係数の可変長
符号を復号化する。逆量子化部24は、可変長復号化部
22から得られた変換係数(量子化されたDCT係数)
を逆量子化してDCT係数に変換する。逆DCT部26
は、逆量子化部24で生成されたDCT係数に、逆DC
T変換処理を施す。加算器28において、逆DCT部2
6より出力される画像データに、マクロブロックタイプ
に応じた参照画像データが加算され、再生画像データが
生成される。参照画像データは、スイッチ46を介して
加算器28に送られる。ただし、逆DCT部26から出
力される画像データがフレーム内予測符号に対する再生
画像データである場合には、スイッチ46は、接地端子
52を選択し、参照画像データは加算器28に与えられ
ない。
The variable length decoding section 22 decodes a variable length code of a transform coefficient. The inverse quantization unit 24 converts the transform coefficients (quantized DCT coefficients) obtained from the variable length decoding unit 22
Are inversely quantized and converted into DCT coefficients. Inverse DCT unit 26
Is the inverse DCT coefficient generated by the inverse quantization unit 24,
Perform T conversion processing. In the adder 28, the inverse DCT unit 2
Reference image data corresponding to the macroblock type is added to the image data output from 6 to generate reproduced image data. The reference image data is sent to the adder 28 via the switch 46. However, when the image data output from the inverse DCT unit 26 is reproduced image data for the intra-frame prediction code, the switch 46 selects the ground terminal 52 and the reference image data is not provided to the adder 28.

【0028】加算器28の加算結果により得られたマク
ロブロック単位の再生画像データは、アダマール変換部
30に送られる。アダマール変換部30は、4次アダマ
ール変換処理および量子化処理を行なう。再生画像デー
タは、2×2のブロックに分割される。各ブロック内の
各画素の画素値(8ビット)を、O(0,0),O(1,0),O(0,
1),O(1,1)とし、アダマール変換後の2×2のブロック
の各画素の画素値をA(0,0),A(1,0),A(0,1),A(1,1)とす
ると、アダマール変換は以下の式(1)〜(4)のよう
に表わすことができる。
The reproduced image data in macroblock units obtained as a result of the addition by the adder 28 is sent to the Hadamard transform unit 30. The Hadamard transform unit 30 performs a fourth-order Hadamard transform process and a quantization process. The reproduced image data is divided into 2 × 2 blocks. The pixel value (8 bits) of each pixel in each block is represented by O (0,0), O (1,0), O (0,
1), O (1,1), and the pixel values of each pixel of the 2 × 2 block after the Hadamard transform are A (0,0), A (1,0), A (0,1), A ( 1, 1), the Hadamard transform can be expressed as the following equations (1) to (4).

【0029】 A(0,0)=[O(0,0)+O(1,0)+O(0,1)+O(1,1)]/2 …(1) A(1,0)=[O(0,0)+O(1,0)-O(0,1)-O(1,1)]/2 …(2) A(0,1)=[O(0,0)-O(1,0)+O(0,1)-O(1,1)]/2 …(3) A(1,1)=[O(0,0)-O(1,0)-O(0,1)+O(1,1)]/2 …(4) A(0,0),A(1,0),A(0,1)およびA(1,1)はそれぞれ8ビット
の値である。すなわち、合計32ビットの値である。ア
ダマール変換部30は、合計のビット数が半分の16ビ
ットとなるようにアダマール変換後の4つの画素を量子
化する。たとえば、A(0,0),A(1,0),A(0,1)およびA(1,1)
の値がそれぞれ8ビット、4ビット、4ビット、0ビッ
トになるように量子化する。
A (0,0) = [O (0,0) + O (1,0) + O (0,1) + O (1,1)] / 2 (1) A (1,0) ) = [O (0,0) + O (1,0) -O (0,1) -O (1,1)] / 2 (2) A (0,1) = [O (0,0 ) -O (1,0) + O (0,1) -O (1,1)] / 2… (3) A (1,1) = [O (0,0) -O (1,0) -O (0,1) + O (1,1)] / 2 ... (4) A (0,0), A (1,0), A (0,1) and A (1,1) are This is an 8-bit value. That is, the value is a total of 32 bits. The Hadamard transform unit 30 quantizes the four pixels after the Hadamard transform so that the total number of bits becomes half, that is, 16 bits. For example, A (0,0), A (1,0), A (0,1) and A (1,1)
Are quantized so as to be 8 bits, 4 bits, 4 bits, and 0 bits, respectively.

【0030】アダマール変換部30によって得られたマ
クロブロック単位の再生画像データがIピクチャまたは
Pピクチャに対する再生画像データである場合には、そ
の再生画像データはスイッチ39を介して参照画像用メ
モリ38または40に格納される。参照画像用メモリ3
8または40に格納される画像データのサイズは従来の
1/2となる。なお、スイッチ39は、CPU48によ
って制御される。
When the reproduced image data in macroblock units obtained by the Hadamard transform unit 30 is reproduced image data for an I picture or a P picture, the reproduced image data is transmitted via a switch 39 to a reference image memory 38 or 40. Reference image memory 3
The size of the image data stored in 8 or 40 is の of the conventional size. The switch 39 is controlled by the CPU 48.

【0031】逆アダマール変換部34は、参照画像用メ
モリ38から読出されたマクロブロック単位の再生画像
データに対して、逆量子化処理および逆アダマール変換
処理を施し、参照画像データを作成する。すなわち、ビ
ット割当てを8:4:4:0とした量子化後の画素値
が、すべて8ビットになるように逆量子化する。その
後、逆アダマール変換部34は、逆アダマール変換処理
を実行する。逆量子化後の値をそれぞれA'(0,0),A'(1,
0),A'(0,1)およびA'(1,1)とし、逆アダマール変換後の
画素値をO'(0,0),O'(1,0),O'(0,1),O'(1,1)とすると、
逆アダマール変換は以下の式(5)〜(8)で表わされ
る。
The inverse Hadamard transform unit 34 performs an inverse quantization process and an inverse Hadamard transform process on the reproduced image data in units of macroblocks read from the reference image memory 38 to create reference image data. That is, inverse quantization is performed so that the pixel values after quantization in which the bit allocation is 8: 4: 4: 0 are all 8 bits. Thereafter, the inverse Hadamard transform unit 34 performs an inverse Hadamard transform process. The values after inverse quantization are A '(0,0) and A' (1,
0), A '(0,1) and A' (1,1), and the pixel values after the inverse Hadamard transform are O '(0,0), O' (1,0), O '(0,1 ), O '(1,1)
The inverse Hadamard transform is represented by the following equations (5) to (8).

【0032】 O'(0,0)=[A'(0,0)+A'(0,1)+A'(1,0)+A'(1,1)]/2 …(5) O'(1,0)=[A'(0,0)+A'(0,1)-A'(1,0)-A'(1,1)]/2 …(6) O'(0,1)=[A'(0,0)-A'(0,1)+A'(1,0)-A'(1,1)]/2 …(7) O'(1,1)=[A'(0,0)-A'(0,1)-A'(1,0)+A'(1,1)]/2 …(8) 逆アダマール変換部36も、逆アダマール変換部34と
同様にして、参照画像用メモリ40から読出されたマク
ロブロック単位の再生画像データに対して、逆量子化処
理および逆アダマール変換処理を施し、参照画像データ
を作成する。
O ′ (0,0) = [A ′ (0,0) + A ′ (0,1) + A ′ (1,0) + A ′ (1,1)] / 2 (5) O '(1,0) = [A' (0,0) + A '(0,1) -A' (1,0) -A '(1,1)] / 2 ... (6) O' ( 0,1) = [A '(0,0) -A' (0,1) + A '(1,0) -A' (1,1)] / 2 ... (7) O '(1,1 ) = [A ′ (0,0) −A ′ (0,1) −A ′ (1,0) + A ′ (1,1)] / 2 (8) The inverse Hadamard transform unit 36 also performs the inverse Hadamard In a manner similar to the conversion unit 34, the reproduction image data in macroblock units read from the reference image memory 40 is subjected to an inverse quantization process and an inverse Hadamard transform process to create reference image data.

【0033】逆アダマール変換後の画素値O'(x,y)は、
アダマール変換部30に入力される画素値O(x,y)とは異
なる。すなわち、アダマール変換部30でビット数削減
が行なわれているため、逆アダマール変換後の画像では
画質の劣化および誤差の蓄積が生じてしまう。しかし、
アダマール変換部30で、高周波成分のビットを削減す
ることにより、視覚的な影響を軽減することができる。
The pixel value O ′ (x, y) after the inverse Hadamard transform is
It is different from the pixel value O (x, y) input to the Hadamard transform unit 30. That is, since the number of bits is reduced by the Hadamard transform unit 30, the image after the inverse Hadamard transform causes deterioration in image quality and accumulation of errors. But,
By reducing the bits of the high-frequency component in the Hadamard transform unit 30, visual effects can be reduced.

【0034】平均化部32は、逆アダマール変換部80
および82からそれぞれ読出されたマクロブロックを平
均化し、双方向予測符号化に用いられるマクロブロック
単位の参照画像データを生成する。
The averaging unit 32 includes an inverse Hadamard transform unit 80
And 82 are respectively averaged to generate reference image data in macroblock units used for bidirectional predictive coding.

【0035】なお、参照画像用メモリ38または40か
ら参照画像が読出される際には、可変長復号化部50か
らの動きベクトルに基づいて、その切出し位置が制御さ
れる。
When the reference image is read from the reference image memory 38 or 40, the cut-out position is controlled based on the motion vector from the variable length decoding unit 50.

【0036】逆DCT部26から出力されたデータが前
方向予測符号に対する予測誤差データである場合または
後方向予測符号に対する予測誤差データである場合に
は、スイッチ46は、逆アダマール変換部34または3
6から出力される参照画像データを選択するように切換
えられる。
When the data output from the inverse DCT unit 26 is prediction error data for the forward prediction code or prediction error data for the backward prediction code, the switch 46 sets the inverse Hadamard transform unit 34 or 3
The selection is switched so as to select the reference image data output from 6.

【0037】逆DCT部26から出力されたデータが双
方向予測符号に対する予測誤差データである場合には、
スイッチ46は、平均化部32から出力される参照画像
データを選択するように切換えられる。
When the data output from the inverse DCT unit 26 is prediction error data for a bidirectional prediction code,
The switch 46 is switched so as to select the reference image data output from the averaging unit 32.

【0038】スイッチ44は、アダマール変換部30か
らスイッチ44に送られてきたBピクチャに対する再生
画像データ、参照画像用メモリ38に格納されているI
ピクチャまたはPピクチャに対する再生画像データ、参
照画像用メモリ40に格納されているIピクチャまたは
Pピクチャに対する再生画像データが原画像の順序(表
示順)と同じ順番で出力されるようにCPU48によっ
て制御される。
The switch 44 reproduces the reproduced picture data for the B picture sent from the Hadamard transform unit 30 to the switch 44 and the I picture stored in the reference picture memory 38.
The CPU 48 controls the playback image data for the picture or P picture and the playback image data for the I picture or P picture stored in the reference image memory 40 to be output in the same order as the order of the original images (display order). You.

【0039】スイッチ44から出力された再生画像デー
タは、逆アダマール変換部42によって、上述したと同
様な逆量子化処理および逆アダマール変換処理を受けた
後、出力される。
The reproduced image data output from the switch 44 is subjected to the same inverse quantization and inverse Hadamard transformation by the inverse Hadamard transform unit 42, and then output.

【0040】図3を参照して、再符号化部14は以下の
ように動作する。画面並べ替え部62は、表示順で復号
化部12より入力される画像データを、符号化に適した
順序(ストリーム順)に並べ替える。すなわち、周期ご
とにIピクチャおよびPピクチャをBピクチャよりも前
になるように並べ替える。たとえば、B,B,I,B,
B,Pの表示順の画像データは、I,B,B,P,B,
Bの順に並べ替えられる。
Referring to FIG. 3, re-encoding section 14 operates as follows. The screen rearranging unit 62 rearranges the image data input from the decoding unit 12 in display order into an order suitable for encoding (stream order). That is, the I-pictures and the P-pictures are rearranged so as to be earlier than the B-pictures in each cycle. For example, B, B, I, B,
The image data in the display order of B, P is I, B, B, P, B,
Sorted in the order of B.

【0041】減算器64は、画面並べ替え部62より受
けた画像データのマクロブロックと、スイッチ98より
出力される参照画像データのマクロブロックとの差分を
取る。DCT部66は、減算器64よりマクロブロック
を受け、8×8画素単位で離散コサイン変換を行なう。
量子化部68は、DCT部66よりDCT係数を受け、
量子化する。
The subtractor 64 calculates the difference between the macroblock of the image data received from the screen rearranging section 62 and the macroblock of the reference image data output from the switch 98. The DCT unit 66 receives the macroblock from the subtractor 64 and performs a discrete cosine transform in units of 8 × 8 pixels.
The quantization unit 68 receives the DCT coefficient from the DCT unit 66,
Quantize.

【0042】可変長符号化部70は、量子化されたDC
T係数を可変長符号化し、バッファ部72に記憶する。
バッファ部72に記憶された符号化データが、予め定め
られた伝送タイミング、伝送レート等の条件を満たすよ
うに読出されることにより、MPEG符号化データが出
力される。
The variable length coding unit 70 has a quantized DC
The T coefficient is variable-length coded and stored in the buffer unit 72.
The encoded data stored in the buffer unit 72 is read so as to satisfy predetermined conditions such as a transmission timing and a transmission rate, so that MPEG encoded data is output.

【0043】一方、符号化対象の画像データがIピクチ
ャまたはPピクチャの場合には、その画像データは他の
画像データの予測符号化に用いられる。このため、量子
化部68と逆量子化部74とを接続するようにスイッチ
69が切換えられる。符号化対象の画像データは後に、
参照画像用メモリ86または88に記憶されることにな
る。
On the other hand, when the image data to be encoded is an I picture or a P picture, the image data is used for predictive encoding of other image data. Therefore, the switch 69 is switched so as to connect the quantization unit 68 and the inverse quantization unit 74. The image data to be encoded is later
It will be stored in the reference image memory 86 or 88.

【0044】符号化対象の画像データがBピクチャの場
合には、その画像データは他の画像データの予測符号化
には用いられない。このため、量子化部68と逆量子化
部74とは接続されない。
When the image data to be encoded is a B picture, the image data is not used for predictive encoding of other image data. Therefore, the quantization unit 68 and the inverse quantization unit 74 are not connected.

【0045】符号化対象の画像データがIピクチャまた
はPピクチャの場合には、逆量子化部74は、量子化部
68より出力される逆量子化されたDCT係数を元に戻
す処理を行なう。逆DCT部76は、逆量子化部74よ
り出力されるDCT係数に逆離散コサイン変換処理を施
し、元のフレームを復元する。
When the image data to be encoded is an I picture or a P picture, the inverse quantization unit 74 performs a process of restoring the inversely quantized DCT coefficients output from the quantization unit 68. The inverse DCT unit 76 performs an inverse discrete cosine transform process on the DCT coefficients output from the inverse quantization unit 74 to restore the original frame.

【0046】スイッチ94は、動き補償フレーム間予測
を行なう際にスイッチ98からの出力を受けるように接
続され、動き補償フレーム間予測を行なわない場合に
は、接地端子に接続される。
Switch 94 is connected to receive an output from switch 98 when performing motion compensation inter-frame prediction, and is connected to a ground terminal when motion compensation inter-frame prediction is not performed.

【0047】加算器78は、逆DCT部76の出力と、
スイッチ94の出力とを加算する。アダマール変換部9
0は、加算器78の出力にアダマール変換を施し、かつ
ビット数を削減する処理を行なう。アダマール変換につ
いては、上述した式(1)〜式(4)に示した通りであ
る。アダマール変換後の値は、それぞれ8ビットの値で
ある。アダマール変換した後の値をA(0,0),A(1,0),A(0,
1)およびA(1,1)とすると、アダマール変換部90は、そ
れぞれの値が8ビット、4ビット、4ビット、0ビット
となるように量子化する。すなわち、復号化部12のア
ダマール変換部30におけるビット削減と同様の規則に
従いビット削減が行なわれる。量子化により、ビット数
の合計が半分になる。
The adder 78 outputs the output of the inverse DCT unit 76,
The output of the switch 94 is added. Hadamard transform unit 9
0 performs Hadamard transform on the output of the adder 78 and performs processing to reduce the number of bits. The Hadamard transform is as shown in the above equations (1) to (4). The values after the Hadamard transform are 8-bit values. A (0,0), A (1,0), A (0,
Assuming that 1) and A (1,1), the Hadamard transform unit 90 quantizes the respective values to be 8 bits, 4 bits, 4 bits, and 0 bits. That is, the bit reduction is performed according to the same rule as the bit reduction in the Hadamard transform unit 30 of the decoding unit 12. The quantization halves the total number of bits.

【0048】アダマール変換部90によって得られたマ
クロブロック単位の画像データがIピクチャまたはPピ
クチャに対するものである場合には、その画像データは
スイッチ96を介して参照画像用メモリ86または88
に格納される。参照画像用メモリ86または88に格納
される画像データのサイズは従来の1/2となる。
If the image data in macroblock units obtained by the Hadamard transform unit 90 is for an I-picture or a P-picture, the image data is transferred via a switch 96 to a reference image memory 86 or 88.
Is stored in The size of the image data stored in the reference image memory 86 or 88 is の that of the conventional image data.

【0049】逆アダマール変換部80は、参照画像用メ
モリ86から読出されたマクロブロック単位の画像デー
タに対して、逆量子化処理および逆アダマール変換処理
を施し、参照画像データを作成する。すなわち、ビット
割当てを8:4:4:0とした量子化後の画素値が、す
べて8ビットになるように逆量子化する。その後、逆ア
ダマール変換部80は、上述の逆アダマール変換部34
と同様に式(5)〜(8)に従って逆アダマール変換を
行なう。
The inverse Hadamard transform unit 80 performs an inverse quantization process and an inverse Hadamard transform process on the image data in macroblock units read from the reference image memory 86 to create reference image data. That is, inverse quantization is performed so that the pixel values after quantization in which the bit allocation is 8: 4: 4: 0 are all 8 bits. Thereafter, the inverse Hadamard transform unit 80 performs the inverse Hadamard transform unit 34 described above.
Similarly, inverse Hadamard transform is performed according to equations (5) to (8).

【0050】逆アダマール変換部82も、逆アダマール
変換部80と同様にして、参照画像用メモリ88から読
出されたマクロブロック単位の画像データに対して、逆
量子化処理および逆アダマール変換処理を施し、参照画
像データを作成する。
Similarly to the inverse Hadamard transform unit 80, the inverse Hadamard transform unit 82 performs an inverse quantization process and an inverse Hadamard transform process on the macroblock image data read from the reference image memory 88. , Create reference image data.

【0051】平均化部84は、双方向予測符号化に用い
られるマクロブロック単位の参照画像データを作成す
る。
The averaging unit 84 creates reference image data in macroblock units used for bidirectional predictive coding.

【0052】動き補償部92は、符号化対象のマクロブ
ロックに最も類似した部分を参照画像用メモリ86また
は88から探索し、探索結果に基づいて、前方向予測、
後方向予測および双方向予測のうちいずれの画面間予測
を行なうかを決定する。または画面間予測を行なわない
ことを決定する。
The motion compensation unit 92 searches the reference image memory 86 or 88 for a portion most similar to the macroblock to be coded, and performs forward prediction,
It decides which inter prediction between backward prediction and bidirectional prediction is to be performed. Alternatively, it is determined not to perform the inter-screen prediction.

【0053】動き補償部92は、画面間予測の種類に応
じてスイッチ98を制御する。すなわち、前方向予測ま
たは後方向予測の場合には、スイッチ98は、逆アダマ
ール変換部80または82の出力を減算器64に供給す
るように状態を遷移する。
The motion compensator 92 controls the switch 98 according to the type of inter prediction. That is, in the case of forward prediction or backward prediction, the switch 98 changes the state so as to supply the output of the inverse Hadamard transform unit 80 or 82 to the subtractor 64.

【0054】双方向予測の場合には、スイッチ98は、
平均化部84の出力を減算器64に供給するように状態
を遷移する。画面間予測を行なわない場合には、スイッ
チ98は、減算器64に何も供給しないように接地端子
100に接続する。
In the case of bidirectional prediction, the switch 98
The state is changed so that the output of the averaging unit 84 is supplied to the subtractor 64. When inter-picture prediction is not performed, the switch 98 is connected to the ground terminal 100 so that nothing is supplied to the subtractor 64.

【0055】処理対象のマクロブロックの種類別にスイ
ッチ98の状態を分類すると以下のようになる。マクロ
ブロックがIピクチャの場合には、画面間予測が行なわ
れないため、スイッチ98は接地端子100に接続され
る。
The state of the switch 98 is classified according to the type of the macroblock to be processed as follows. When the macroblock is an I picture, inter-picture prediction is not performed, and thus the switch 98 is connected to the ground terminal 100.

【0056】マクロブロックがPピクチャの場合には、
前方向予測が行なわれるか、画面間予測が行なわれない
ため、スイッチ98は、逆アダマール変換部80、逆ア
ダマール変換部82または接地端子100のいずれかに
接続される。
When the macroblock is a P picture,
The switch 98 is connected to one of the inverse Hadamard transform unit 80, the inverse Hadamard transform unit 82, and the ground terminal 100 because forward prediction or inter-screen prediction is not performed.

【0057】マクロブロックがBピクチャの場合には、
上述した4つの状態のうちいずれをも取り得るため、ス
イッチ98は、逆アダマール変換部80、逆アダマール
変換部82、平均化部84または接地端子100のいず
れかに接続される。
When the macro block is a B picture,
The switch 98 is connected to any one of the inverse Hadamard transform unit 80, the inverse Hadamard transform unit 82, the averaging unit 84, and the ground terminal 100 because any of the above four states can be taken.

【0058】スイッチ94は、符号化対象の画像データ
がPピクチャの場合にのみオンされ、スイッチ98の出
力が加算器78に与えられる。
The switch 94 is turned on only when the image data to be encoded is a P picture, and the output of the switch 98 is supplied to the adder 78.

【0059】以上説明したように、符号化対象の画像デ
ータ(マクロブロック)の種類または動き補償部92に
おける探索結果に応じて、各スイッチの状態が定められ
る。このようにして、再符号化部14から入力された画
像データが符号化される。
As described above, the state of each switch is determined according to the type of image data (macroblock) to be encoded or the search result in the motion compensator 92. Thus, the image data input from the re-encoding unit 14 is encoded.

【0060】復号化部12のアダマール変換部30では
量子化の際に、高周波成分を除去するようなビット削減
を行ない、参照画像用メモリ38および40の記憶容量
の削減を行なっている。このため、再符号化部14で高
周波成分のデータを保持しても意味がない。よって、再
符号化部14のアダマール変換部90では、アダマール
変換部30と同一の条件によりビット削減を行なってい
る。このため、復号化部12で復号された画像データと
同様の画質を維持しつつ、参照画像用メモリ86および
88の記憶容量を削減することができる。
At the time of quantization, the Hadamard transform unit 30 of the decoding unit 12 performs bit reduction to remove high-frequency components, thereby reducing the storage capacity of the reference image memories 38 and 40. For this reason, it is meaningless for the re-encoding unit 14 to hold high-frequency component data. Therefore, the Hadamard transform unit 90 of the re-encoding unit 14 performs bit reduction under the same conditions as the Hadamard transform unit 30. Therefore, the storage capacity of the reference image memories 86 and 88 can be reduced while maintaining the same image quality as the image data decoded by the decoding unit 12.

【0061】[実施の形態2]図4を参照して、本発明
の実施の形態2に係る動画像再符号化装置110は、M
PEG方式で符号化された動画像データを入力として受
け、復号化すると同時に画像サイズを変更する復号化部
112と、復号化部112に接続され、復号化部112
より出力される周波数領域の画像データを受け、当該画
像データの画像サイズを周波数領域で変更する画像サイ
ズ変更部113と、画像サイズ変更部113に接続さ
れ、画像サイズが変更された周波数領域の画像データを
受け、当該画像データをMPEG方式で再度符号化する
再符号化部114とを含む。
[Embodiment 2] Referring to FIG. 4, a moving picture re-encoding device 110 according to Embodiment 2 of the present invention
A decoding unit 112 that receives moving image data encoded by the PEG method as input and decodes and simultaneously changes the image size; and a decoding unit 112 connected to the decoding unit 112.
The image size changing unit 113 receives the image data in the frequency domain output from the image processing unit and changes the image size of the image data in the frequency domain. The image in the frequency domain is connected to the image size changing unit 113 and the image size is changed. And a re-encoding unit 114 for receiving the data and re-encoding the image data according to the MPEG method.

【0062】図5を参照して、復号化部112は、図2
に示した復号化部12の構成において、逆アダマール変
換部42を除いたものである。すなわち、復号化部11
2は、周波数領域のまま復号化された画像データを出力
する。その他の構成要件は、図2と同様であり、復号化
部112の動作も同様である。このため、その詳細な説
明はここでは繰返さない。
Referring to FIG. 5, decoding section 112 performs the operation shown in FIG.
In the configuration of the decoding unit 12 shown in FIG. 7, the inverse Hadamard transform unit 42 is omitted. That is, the decoding unit 11
2 outputs the decoded image data in the frequency domain. Other components are the same as those in FIG. 2, and the operation of the decoding unit 112 is also the same. Therefore, the detailed description will not be repeated here.

【0063】図6を参照して、再符号化部114は、図
3の再符号化部14の構成において、画面並べ替え部6
2と減算器64との間に、逆アダマール変換部42を設
けた構成である。再符号化部114には、周波数領域の
画像データが入力される。このため、一度もとの画像デ
ータに戻す必要があり、再符号化部114に逆アダマー
ル変換部42が設けられている。逆アダマール変換部4
2は、再符号化部14の逆アダマール変換部42と同様
の動作を行なう。よって、その詳細な説明はここでは繰
返さない。
Referring to FIG. 6, re-encoding section 114 is different from re-encoding section 14 in FIG.
This is a configuration in which the inverse Hadamard transform unit 42 is provided between 2 and the subtractor 64. Image data in the frequency domain is input to the re-encoding unit 114. Therefore, it is necessary to return to the original image data once, and the inverse Hadamard transform unit 42 is provided in the re-encoding unit 114. Inverse Hadamard transform unit 4
2 performs the same operation as the inverse Hadamard transform unit 42 of the re-encoding unit 14. Therefore, the detailed description will not be repeated here.

【0064】図4の画像サイズ変更部113は、周波数
領域において画像サイズの変更を行なう。たとえば、3
20×480画素の画像データを320×240画素の
画像データに変換する場合を考える。サイズの変更方法
としては、縦に隣接した2画素からサイズ変更後の画像
データの画素値を求めることにする。たとえば、復号化
部112のアダマール変換部30で、2×2画素のブロ
ックの画素値A(0,0),A(1,0),A(0,1),A(1,1)にそれぞれ
8ビット、4ビット、0ビット、0ビットのビット数割
当てが行なわれたとする。このような場合には、縦方向
の周波数成分A(0,1)およびA(1,1)を削除し、A(0,0)およ
びA(1,0)を新しい2×1画素のブロックの画素値とす
る。
The image size changing section 113 in FIG. 4 changes the image size in the frequency domain. For example, 3
Consider a case where image data of 20 × 480 pixels is converted into image data of 320 × 240 pixels. As a method of changing the size, a pixel value of the image data after the size change is obtained from two vertically adjacent pixels. For example, the Hadamard transform unit 30 of the decoding unit 112 converts the pixel values A (0,0), A (1,0), A (0,1), A (1,1) of the block of 2 × 2 pixels. It is assumed that the bit numbers of 8 bits, 4 bits, 0 bits, and 0 bits are allocated. In such a case, the vertical frequency components A (0,1) and A (1,1) are deleted, and A (0,0) and A (1,0) are replaced with a new 2 × 1 pixel block. Pixel value.

【0065】再符号化部114のアダマール変換部90
は、画像サイズ変更部113より出力される画素値のビ
ット数に対応させ、量子化後の値A'(0,0),A'(1,0),A'
(0,1)およびA'(1,1)のビット数がそれぞれ8ビット、4
ビット、8ビット、4ビットとなるように量子化を行な
う。このようなビット割当てを行なうことにより、再符
号化部114における画質の劣化を防ぎながら、参照画
像用メモリ86および88の記憶容量を削減することが
できる。
The Hadamard transform unit 90 of the re-encoding unit 114
Are corresponding to the number of bits of the pixel value output from the image size changing unit 113, and the quantized values A ′ (0,0), A ′ (1,0), A ′
(0,1) and A '(1,1) are 8 bits each,
The quantization is performed so that the number of bits becomes 8 bits or 4 bits. By performing such bit allocation, it is possible to reduce the storage capacity of the reference image memories 86 and 88 while preventing the image quality from being degraded in the re-encoding unit 114.

【0066】[実施の形態3]図7を参照して、本発明
の実施の形態3に係る動画像再符号化装置120は、M
PEG方式で符号化された動画像データを入力として受
け、復号化すると同時に画像サイズを変更する復号化部
112と、復号化部112に接続され、周波数領域での
画像サイズ変更とアダマール逆変換処理とを同時に実行
する画像サイズ変更逆アダマール変換部123と、画像
サイズ変更逆アダマール変換部123に接続され、復号
化された画像データを再度MPEG方式で符号化する再
符号化部14とを含む。
[Embodiment 3] Referring to FIG. 7, a moving picture re-encoding apparatus 120 according to Embodiment 3 of the present invention
A decoding unit 112 that receives moving image data encoded by the PEG method as input and decodes and simultaneously changes the image size, and is connected to the decoding unit 112, and changes the image size in the frequency domain and inverse Hadamard transform processing Are performed simultaneously, and a re-encoding unit 14 connected to the image size-change inverse Hadamard transform unit 123 and re-encoding the decoded image data by the MPEG method is included.

【0067】復号化部112は、図4を参照して説明し
た実施の形態2に係る復号化部112と同様の構成であ
る。このため、その詳細な説明はここでは繰返さない。
Decoding section 112 has the same configuration as decoding section 112 according to the second embodiment described with reference to FIG. Therefore, the detailed description will not be repeated here.

【0068】再符号化部14は、図3を参照して説明し
た実施の形態1に係る再符号化部14と同様の構成であ
る。このため、その詳細な説明はここでは繰返さない。
Re-encoding section 14 has the same configuration as re-encoding section 14 according to Embodiment 1 described with reference to FIG. Therefore, the detailed description will not be repeated here.

【0069】画像サイズ変更逆アダマール変換部123
は、式(9)および式(10)に従い逆アダマール変換
および画像サイズ変更を同時に行なう。ここでは、画像
のサイズを縦方向に1/2にする場合を想定している。
Image size change inverse Hadamard transform unit 123
Performs inverse Hadamard transform and image size change simultaneously according to equations (9) and (10). Here, it is assumed that the size of the image is halved in the vertical direction.

【0070】 N(0,0)=A(0,0)+A(0,1) …(9) N(0,1)=A(0,0)-A(0,1) …(10) ここで、A(u,w)は2×2画素のブロックのアダマール変
換後の画素値を示す。N(x,y)は、2×1画素のブロック
の逆アダマール変換後の画素値を示す。
N (0,0) = A (0,0) + A (0,1) (9) N (0,1) = A (0,0) -A (0,1) (10 Here, A (u, w) indicates a pixel value after Hadamard transform of a block of 2 × 2 pixels. N (x, y) indicates the pixel value of the 2 × 1 pixel block after the inverse Hadamard transform.

【0071】逆アダマール変換を行なう際に、縦方向の
周波数成分A(1,0)およびA(1,1)が削除される。このた
め、逆アダマール変換後の値は、上述の式(9)および
式(10)に従い求められる。
When performing the inverse Hadamard transform, the vertical frequency components A (1,0) and A (1,1) are deleted. For this reason, the value after the inverse Hadamard transform is obtained according to the above equations (9) and (10).

【0072】なお、本実施の形態においても、実施の形
態2と同様に、画質の劣化を防ぎながら参照画像用メモ
リ86および88の記憶容量を削減するため、アダマー
ル変換部30より出力されるデータのビット数と、アダ
マール変換部90より出力されるデータのビット数とが
関係づけられている。
In this embodiment, as in the second embodiment, the data output from the Hadamard transform unit 30 is used to reduce the storage capacity of the reference image memories 86 and 88 while preventing image quality deterioration. Is related to the number of bits of data output from the Hadamard transform unit 90.

【0073】今回開示された実施の形態はすべての点で
例示であって制限的なものではないと考えられるべきで
ある。本発明の範囲は上記した説明ではなくて特許請求
の範囲によって示され、特許請求の範囲と均等の意味お
よび範囲内でのすべての変更が含まれることが意図され
る。
The embodiments disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

【0074】[0074]

【発明の効果】本発明によれば、メモリ容量の小さい動
画像再符号化装置を提供することができる。
According to the present invention, a moving picture re-encoding apparatus having a small memory capacity can be provided.

【0075】また、周波数領域で画像サイズを変更する
ことにより、高周波成分のみ除去した画像サイズ変更が
可能となり、人間の見た目にも違和感がなく動画像デー
タを再符号化することができる。
Further, by changing the image size in the frequency domain, it is possible to change the image size by removing only the high-frequency components, and it is possible to re-encode the moving image data without any strangeness in human appearance.

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

【図1】 本発明の実施の形態1に係る動画像再符号化
装置の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a moving picture re-encoding device according to Embodiment 1 of the present invention.

【図2】 復号化部の構成を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration of a decoding unit.

【図3】 再符号化部の構成を示すブロック図である。FIG. 3 is a block diagram illustrating a configuration of a re-encoding unit.

【図4】 実施の形態2に係る動画像再符号化装置の構
成を示すブロック図である。
FIG. 4 is a block diagram showing a configuration of a video transcoder according to Embodiment 2.

【図5】 復号化部の構成を示すブロック図である。FIG. 5 is a block diagram illustrating a configuration of a decoding unit.

【図6】 再符号化部の構成を示すブロック図である。FIG. 6 is a block diagram illustrating a configuration of a re-encoding unit.

【図7】 実施の形態3に係る動画像再符号化装置の構
成を示すブロック図である。
FIG. 7 is a block diagram illustrating a configuration of a video transcoder according to Embodiment 3.

【図8】 従来の動画像再符号化装置の構成を示すブロ
ック図である。
FIG. 8 is a block diagram illustrating a configuration of a conventional moving picture re-encoding device.

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

10,110,120,210 動画像再符号化装置、
12,112 復号化部、14,114,214 再符
号化部、22,50,70 可変長符号化部、24,7
4 逆量子化部、26,76 逆DCT部、28,78
加算器、30,90 アダマール変換部、32,84
平均化部、34,36,42,80,82 逆アダマ
ール変換部、38,40,86,88 参照画像用メモ
リ、39,44,46,69,94,96,98 スイ
ッチ、48 CPU、52,100 接地端子、62
画面並べ替え部、64 減算器、66 DCT部、68
量子化部、72 バッファ部、92 動き補償部、11
3,213 画像サイズ変更部、123 画像サイズ変
更逆アダマール変換部。
10, 110, 120, 210 video re-encoding device,
12, 112 decoding unit, 14, 114, 214 re-encoding unit, 22, 50, 70 variable-length encoding unit, 24, 7
4 Inverse quantization unit, 26, 76 Inverse DCT unit, 28, 78
Adder, 30,90 Hadamard transform unit, 32,84
Averaging section, 34, 36, 42, 80, 82 inverse Hadamard transform section, 38, 40, 86, 88 reference image memory, 39, 44, 46, 69, 94, 96, 98 switch, 48 CPU, 52, 100 ground terminal, 62
Screen rearranging section, 64 subtractor, 66 DCT section, 68
Quantization unit, 72 buffer unit, 92 motion compensation unit, 11
3,213 image size change unit, 123 image size change inverse Hadamard transform unit.

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 符号化された動画像データを予め定めら
れたビット数のデータに削減しながら復号化する復号化
部と、 前記復号化部に接続され、復号化された動画像データを
前記予め定められたビット数との関係で定められるビッ
ト数のデータに削減しながら符号化する再符号化部とを
含む、動画像再符号化装置。
A decoding unit configured to decode the encoded moving image data while reducing the encoded moving image data to data having a predetermined number of bits; and a decoding unit connected to the decoding unit and configured to decode the decoded moving image data. A re-encoding unit that performs encoding while reducing the number of bits to data determined in relation to a predetermined number of bits.
【請求項2】 符号化された動画像データを予め定めら
れたビット数のデータに削減しながら復号化する復号化
部と、 前記復号化部に接続され、動画像データの画像サイズを
変更する画像サイズ変更部と、 前記画像サイズ変更部に接続され、復号化された動画像
データを前記予め定められたビット数との関係で定めら
れるビット数のデータに削減しながら符号化する再符号
化部とを含む、動画像再符号化装置。
2. A decoding unit that decodes encoded moving image data while reducing the number of bits to a predetermined number of bits, and is connected to the decoding unit and changes an image size of the moving image data. An image size changing unit, connected to the image size changing unit, and re-encoding for reducing the number of bits determined in relation to the predetermined number of bits while decoding the decoded moving image data; And a moving image re-encoding device.
【請求項3】 前記復号化部は、 変換係数の可変長符号から得られる再生画像データと参
照画像データとを加算する第1の加算器と、 前記第1の加算器に接続され、前記第1の加算器の出力
を直交変換するとともに、直交変換の結果を予め定めら
れたビット数のデータに削減する第1の直交変換部と、 前記第1の直交変換部に接続され、前記第1の直交変換
部の出力を記憶する第1の参照画像用メモリと、 前記第1の参照画像用メモリに接続され、前記第1の参
照画像用メモリに記憶されたデータより参照画像データ
を生成し、前記第1の加算器に供給するための参照画像
データ生成手段と、 前記第1の直交変換部および前記第1の参照画像用メモ
リに接続され、前記第1の直交変換部の出力および前記
第1の参照画像用メモリに記憶されたデータを受け、制
御信号に基づいて、いずれか一方を選択的に出力するス
イッチと、 前記スイッチに接続され、前記スイッチを介して受けた
データを逆直交変換する第1の逆直交変換部とを含む、
請求項1または2に記載の動画像再符号化装置。
3. The decoding unit, comprising: a first adder for adding reproduced image data obtained from a variable length code of a transform coefficient and reference image data; and a decoder connected to the first adder, A first orthogonal transformation unit for orthogonally transforming the output of the adder of 1 and reducing the result of the orthogonal transformation to data having a predetermined number of bits; and a first orthogonal transformation unit connected to the first orthogonal transformation unit. A first reference image memory for storing an output of the orthogonal transformation unit, and a reference image data which is connected to the first reference image memory and generates reference image data from the data stored in the first reference image memory. Reference image data generating means for supplying the first orthogonal adder, the first orthogonal transform unit and the first reference image memory, and the output of the first orthogonal transform unit Stored in the first reference image memory A switch that receives data and selectively outputs one of them based on a control signal; and a first inverse orthogonal transform unit that is connected to the switch and that inversely orthogonally transforms data received via the switch. Including,
The moving picture re-encoding device according to claim 1.
【請求項4】 前記再符号化部は、 復号化された動画像データを予め定められた順序に従い
並べ替える画面並べ替え部と、 前記画面並べ替え部に接続され、符号化対象の画像デー
タと参照画像データとの間で差分を取る減算器と、 前記減算器に接続され、前記減算器の出力を直交変換す
る第2の直交変換部と、 前記第2の直交変換部に接続され、前記第2の直交変換
部の出力を可変長符号化する可変長符号化部と、 前記第2の直交変換部に接続され、前記第2の直交変換
部の出力を逆直交変換する第2の逆直交変換部と、 前記第2の逆直交変換部に接続され、前記第2の逆直交
変換部の出力および参照画像データを加算する第2の加
算器と、 前記第2の加算器の出力を直交変換し、直交変換の結果
を前記予め定められたビット数との関係で定められるビ
ット数のデータに削減する第3の直交変換部と、 前記第3の直交変換部に接続され、前記第3の直交変換
部の出力を記憶する第2の参照画像用メモリと、 前記第2の参照画像用メモリに接続され、前記第2の参
照画像用メモリに記憶されたデータより参照画像データ
を生成し、前記減算器および前記第2の加算器に供給す
るための参照画像データ生成手段とを含む、請求項3に
記載の動画像再符号化装置。
4. A re-encoding unit, comprising: a screen rearranging unit for rearranging decoded moving image data in a predetermined order; and a re-encoding unit connected to the screen rearranging unit, the re-encoding unit comprising: A subtractor that takes a difference between the reference image data, a second orthogonal transform unit that is connected to the subtractor, and orthogonally transforms an output of the subtractor, and that is connected to the second orthogonal transform unit, A variable-length encoding unit that performs variable-length encoding on the output of the second orthogonal transformation unit; and a second inverse unit that is connected to the second orthogonal transformation unit and performs an inverse orthogonal transformation on the output of the second orthogonal transformation unit. An orthogonal transform unit; a second adder connected to the second inverse orthogonal transform unit, for adding an output of the second inverse orthogonal transform unit and reference image data; and an output of the second adder. Orthogonal transformation and the result of the orthogonal transformation in relation to the predetermined number of bits A third orthogonal transform unit that reduces the data to a predetermined number of bits; a second reference image memory that is connected to the third orthogonal transform unit and stores an output of the third orthogonal transform unit; Reference image data connected to a second reference image memory, for generating reference image data from data stored in the second reference image memory, and supplying the reference image data to the subtractor and the second adder The moving picture re-encoding device according to claim 3, further comprising a generation unit.
【請求項5】 前記画像サイズ変更部は、周波数領域で
動画像データの画像サイズを変更する、請求項2に記載
の動画像再符号化装置。
5. The moving image re-encoding device according to claim 2, wherein the image size changing unit changes the image size of the moving image data in a frequency domain.
【請求項6】 前記復号化部は、 変換係数の可変長符号から得られる再生画像データと、
参照画像データとを加算する第1の加算器と、 前記第1の加算器に接続され、前記第1の加算器の出力
を直交変換するとともに、直交変換の結果を予め定めら
れたビット数のデータに削減する第1の直交変換部と、 前記第1の直交変換部に接続され、前記第1の直交変換
部の出力を記憶する第1の参照画像用メモリと、 前記第1の参照画像用メモリに接続され、前記第1の参
照画像用メモリに記憶されたデータより参照画像データ
を生成し、前記第1の加算器に供給するための参照画像
データ生成手段と、 前記第1の直交変換部および前記第1の参照画像用メモ
リに接続され、前記第1の直交変換部の出力および前記
第1の参照画像用メモリに記憶されたデータを受け、制
御信号に基づいて、いずれか一方を選択的に出力するス
イッチとを含む、請求項5に記載の動画像再符号化装
置。
6. The decoding unit, wherein: reproduced image data obtained from a variable length code of a transform coefficient;
A first adder for adding the reference image data; and a first adder connected to the first adder, for orthogonally transforming the output of the first adder, and converting the result of the orthogonal transform to a predetermined number of bits. A first orthogonal transformation unit for reducing data, a first reference image memory connected to the first orthogonal transformation unit, and storing an output of the first orthogonal transformation unit; and a first reference image. Image data generating means for generating reference image data from the data stored in the first reference image memory and supplying the reference image data to the first adder; Connected to a conversion unit and the first reference image memory, receives the output of the first orthogonal transformation unit and the data stored in the first reference image memory, and receives one of them based on a control signal. And a switch for selectively outputting The moving picture re-encoding device according to claim 5, comprising:
【請求項7】 前記再符号化部は、 復号化された動画像データを予め定められた順序に従い
並べ替える画面並べ替え部と、 前記並べ替え部に接続され、前記並べ替え部の出力を逆
直交変換する第1の逆直交変換部と、 前記第1の逆直交変換部に接続され、符号化対象の画像
データと参照画像データとの間で差分を取る減算器と、 前記減算器に接続され、前記減算器の出力を直交変換す
る第2の直交変換部と、 前記第2の直交変換部に接続され、前記第2の直交変換
部の出力を可変長符号化する可変長符号化部と、 前記第2の直交変換部に接続され、前記第2の直交変換
部の出力を逆直交変換する第2の逆直交変換部と、 前記第2の逆直交変換部に接続され、前記第2の逆直交
変換部の出力および参照画像データを加算する第2の加
算器と、 前記第2の加算器の出力を直交変換し、直交変換の結果
を前記予め定められたビット数との関係で定められるビ
ット数のデータに削減する第3の直交変換部と、 前記第3の直交変換部に接続され、前記第3の直交変換
部の出力を記憶する第2の参照画像用メモリと、 前記第2の参照画像用メモリに接続され、前記第2の参
照画像用メモリに記憶されたデータより参照画像データ
を生成し、前記減算器および前記第2の加算器に供給す
るための参照画像データ生成手段とを含む、請求項6に
記載の動画像再符号化装置。
7. The re-encoding unit, further comprising: a screen rearranging unit that rearranges the decoded moving image data in a predetermined order; and a reordering unit connected to the rearranging unit, and inverts an output of the rearranging unit. A first inverse orthogonal transform unit for orthogonally transforming, a subtractor connected to the first inverse orthogonal transform unit for taking a difference between the image data to be encoded and the reference image data, and a subtractor connected to the subtractor. A second orthogonal transform unit for orthogonally transforming the output of the subtractor, and a variable length encoding unit connected to the second orthogonal transform unit for variable length encoding of the output of the second orthogonal transform unit. A second inverse orthogonal transform unit connected to the second orthogonal transform unit and inversely orthogonally transforming the output of the second orthogonal transform unit; and a second inverse orthogonal transform unit connected to the second inverse orthogonal transform unit. A second adder for adding the output of the inverse orthogonal transform unit 2 and the reference image data; A third orthogonal transform unit that orthogonally transforms an output of the second adder and reduces a result of the orthogonal transform to data having a number of bits determined in relation to the predetermined number of bits; A second reference image memory connected to the orthogonal transformation unit and storing the output of the third orthogonal transformation unit; and a second reference image memory connected to the second reference image memory and stored in the second reference image memory 7. The moving image re-encoding device according to claim 6, further comprising: reference image data generating means for generating reference image data from the obtained data and supplying the generated reference image data to the subtractor and the second adder.
【請求項8】 前記画像サイズ変更部は、周波数領域で
動画像データの画像サイズを変更するとともに、変更の
結果を逆直交変換する、請求項2に記載の動画像再符号
化装置。
8. The moving image re-encoding device according to claim 2, wherein the image size changing unit changes the image size of the moving image data in a frequency domain, and performs an inverse orthogonal transform on a result of the change.
【請求項9】 前記復号化部は、 変換係数の可変長符号から得られる再生画像データと、
参照画像データとを加算する第1の加算器と、 前記第1の加算器に接続され、前記第1の加算器の出力
を直交変換するとともに、直交変換の結果を予め定めら
れたビット数のデータに削減する第1の直交変換部と、 前記第1の直交変換部に接続され、前記第1の直交変換
部の出力を記憶する第1の参照画像用メモリと、 前記第1の参照画像用メモリに接続され、前記第1の参
照画像用メモリに記憶されたデータより参照画像データ
を生成し、前記第1の加算器に供給するための参照画像
データ生成手段と、 前記第1の直交変換部および前記第1の参照画像用メモ
リに接続され、前記第1の直交変換部の出力および前記
第1の参照画像用メモリに記憶されたデータを受け、制
御信号に基づいて、いずれか一方を選択的に出力するス
イッチとを含む、請求項8に記載の動画像再符号化装
置。
9. The decoding unit according to claim 1, wherein: the reproduced image data obtained from a variable-length code of a transform coefficient;
A first adder for adding the reference image data; and a first adder connected to the first adder, for orthogonally transforming the output of the first adder, and converting the result of the orthogonal transform to a predetermined number of bits. A first orthogonal transformation unit for reducing data, a first reference image memory connected to the first orthogonal transformation unit, and storing an output of the first orthogonal transformation unit; and a first reference image. Image data generating means for generating reference image data from the data stored in the first reference image memory and supplying the reference image data to the first adder; Connected to a conversion unit and the first reference image memory, receives the output of the first orthogonal transformation unit and the data stored in the first reference image memory, and receives one of them based on a control signal. And a switch for selectively outputting The moving picture re-encoding device according to claim 8, comprising:
【請求項10】 前記再符号化部は、 復号化された動画像データを予め定められた順序に従い
並べ替える画面並べ替え部と、 前記画面並べ替え部に接続され、符号化対象の画像デー
タと参照画像データとの間で差分を取る減算器と、 前記減算器に接続され、前記減算器の出力を直交変換す
る第2の直交変換部と、 前記第2の直交変換部に接続され、前記第2の直交変換
部の出力を可変長符号化する可変長符号化部と、 前記第2の直交変換部に接続され、前記第2の直交変換
部の出力を逆直交変換する第1の逆直交変換部と、 前記第1の逆直交変換部に接続され、前記第1の逆直交
変換部の出力および参照画像データを加算する第2の加
算器と、 前記第2の加算器の出力を直交変換し、直交変換の結果
を前記予め定められたビット数との関係で定められるビ
ット数のデータに削減する第3の直交変換部と、 前記第3の直交変換部に接続され、前記第3の直交変換
部の出力を記憶する第2の参照画像用メモリと、 前記第2の参照画像用メモリに接続され、前記第2の参
照画像用メモリに記憶されたデータより参照画像データ
を生成し、前記減算器および前記第2の加算器に供給す
るための参照画像データ生成手段とを含む、請求項9に
記載の動画像再符号化装置。
10. A re-encoding unit, comprising: a screen rearranging unit that rearranges decoded moving image data according to a predetermined order; and a re-encoding unit that is connected to the screen rearranging unit and encodes image data to be encoded. A subtractor that takes a difference between the reference image data, a second orthogonal transform unit that is connected to the subtractor, and orthogonally transforms an output of the subtractor, and that is connected to the second orthogonal transform unit, A variable-length encoding unit that performs variable-length encoding on the output of the second orthogonal transform unit; and a first inverse unit that is connected to the second orthogonal transform unit and performs an inverse orthogonal transform on the output of the second orthogonal transform unit. An orthogonal transform unit; a second adder connected to the first inverse orthogonal transform unit, for adding an output of the first inverse orthogonal transform unit and reference image data; and an output of the second adder. The orthogonal transform is performed, and the result of the orthogonal transform is related to the predetermined number of bits. A third orthogonal transform unit that reduces the data to the number of bits determined by: a second reference image memory that is connected to the third orthogonal transform unit and stores an output of the third orthogonal transform unit; A reference image connected to the second reference image memory, for generating reference image data from data stored in the second reference image memory, and supplying the reference image data to the subtractor and the second adder The moving picture re-encoding device according to claim 9, further comprising a data generation unit.
JP2000081485A 2000-03-23 2000-03-23 Moving image re-encoder Withdrawn JP2001268571A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000081485A JP2001268571A (en) 2000-03-23 2000-03-23 Moving image re-encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000081485A JP2001268571A (en) 2000-03-23 2000-03-23 Moving image re-encoder

Publications (1)

Publication Number Publication Date
JP2001268571A true JP2001268571A (en) 2001-09-28

Family

ID=18598412

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000081485A Withdrawn JP2001268571A (en) 2000-03-23 2000-03-23 Moving image re-encoder

Country Status (1)

Country Link
JP (1) JP2001268571A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009130931A (en) * 2007-11-19 2009-06-11 Samsung Electronics Co Ltd Method and apparatus for efficiently encoding and/or decoding moving image using image resolution adjustment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009130931A (en) * 2007-11-19 2009-06-11 Samsung Electronics Co Ltd Method and apparatus for efficiently encoding and/or decoding moving image using image resolution adjustment

Similar Documents

Publication Publication Date Title
EP1065883B1 (en) Image predictive decoding method
US5386234A (en) Interframe motion predicting method and picture signal coding/decoding apparatus
JP3610578B2 (en) Rounding error prevention method and apparatus when inversely transforming transform coefficient indicating moving image signal
JP3888597B2 (en) Motion compensation coding apparatus and motion compensation coding / decoding method
JP3856262B2 (en) Motion compensation encoding apparatus, motion compensation encoding method, and motion compensation code recording medium
US20030095603A1 (en) Reduced-complexity video decoding using larger pixel-grid motion compensation
JPH0851626A (en) Method and device for quantizing transformation coefficient of moving picture signal and moving picture signal compression device
JP2001045489A (en) Image prediction decoding method and system
JPH0686262A (en) Apparatus for encoding of image
KR20040106364A (en) System and method for providing single-layer video encoded bitstreams suitable for reduced-complexity decoding
EP1523808A2 (en) Method and apparatus for transcoding between hybrid video codec bitstreams
US6271774B1 (en) Picture data processor, picture data decoder and picture data encoder, and methods thereof
JPH10271516A (en) Compression coder, coding method, decoder and decoding method
JP2898413B2 (en) Method for decoding and encoding compressed video data streams with reduced memory requirements
KR100364748B1 (en) Apparatus for transcoding video
JPH08307860A (en) Scene re-encoder
JP3776735B2 (en) Image predictive decoding method, image predictive decoding device, image predictive encoding method, image predictive encoding device, and data storage medium
JPH07131793A (en) Video signal high efficiency coding device
JP2001268571A (en) Moving image re-encoder
JPH07107464A (en) Picture encoding device and decoding device
JP3147636B2 (en) Video data arranging method and its encoding device and decoding device
JPH08265776A (en) Video data synthesizing device and method therefor
JP4539028B2 (en) Image processing apparatus, image processing method, recording medium, and program
JP2001268579A (en) Moving image re-encoder
JP2003087797A (en) Apparatus and method for picture information conversion, picture information conversion program, and recording medium

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20070605