JP2003250161A - Encoder and decoder - Google Patents

Encoder and decoder

Info

Publication number
JP2003250161A
JP2003250161A JP2002368776A JP2002368776A JP2003250161A JP 2003250161 A JP2003250161 A JP 2003250161A JP 2002368776 A JP2002368776 A JP 2002368776A JP 2002368776 A JP2002368776 A JP 2002368776A JP 2003250161 A JP2003250161 A JP 2003250161A
Authority
JP
Japan
Prior art keywords
block
prediction
image data
data
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002368776A
Other languages
Japanese (ja)
Inventor
Hideki Fukuda
秀樹 福田
Toshiyuki Kondo
敏志 近藤
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2002368776A priority Critical patent/JP2003250161A/en
Publication of JP2003250161A publication Critical patent/JP2003250161A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an encoder which encodes image data according to predictive coding including motion detection, and increases motion detection precision while suppressing an increase in the amount of data processed at the predictive coding. <P>SOLUTION: The encoder includes: a 4×4 block divider 101 for dividing image data corresponding to a target frame to be processed into 4×4 pixel blocks; a motion compensation unit 111 for performing motion compensation for the image data in units of 4×4 pixel blocks thereby to generate predicted data; and an 8×8 pixel block configuration unit 103 for transforming difference data between image data corresponding to the 4×4 pixel block and predicted data corresponding to the 4×4 pixel block into prediction error data of an 8×8 pixel block. This encoder carries out a DCT process, a quantization process, and a variable length coding process for prediction error data, in units of 8×8 pixel block. <P>COPYRIGHT: (C)2003,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、符号化装置及び復
号化装置に関し、特にビデオ信号をフレーム間予測を用
いて符号化する装置、及び符号化されたビデオ信号をフ
レーム間予測を用いて復号化する装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a coding device and a decoding device, and more particularly to a device for coding a video signal using inter-frame prediction and a coded video signal for decoding using inter-frame prediction. The present invention relates to a device for converting the information.

【0002】[0002]

【従来の技術】従来、デジタル形式のビデオ信号を効率
的に圧縮符号化する方法として、ISO/IEC(Internation
al Organization for Standardization / Internationa
l Electrotechnical Commission)13818-2(MPEG
(Moving Picture Experts Group)−2ビデオ)、また
はISO/IEC 11172-2(MPEG−1ビデオ)といったM
PEG符号化方式が一般的に用いられている。
2. Description of the Related Art Conventionally, as a method for efficiently compressing and coding a digital format video signal, ISO / IEC (Internation
al Organization for Standardization / Internationa
l Electrotechnical Commission) 13818-2 (MPEG
(Moving Picture Experts Group) -2 video) or M such as ISO / IEC 11172-2 (MPEG-1 video)
The PEG coding method is generally used.

【0003】MPEG符号化方式は、画素値のフレーム
内相関を利用して画像データを符号化するフレーム内符
号化処理と、画素値のフレーム間相関を利用して画像デ
ータを符号化するフレーム間符号化処理とを、適応的に
切り替えて行うものである。このMPEG符号化方式で
は、動画像に対応する画像データの符号化処理は、連続
する複数のフレームに対応する画像データを1つの単位
として行われる。ここで、符号化処理の単位となる連続
する複数のフレームは、グループオブピクチャ(GO
P)と呼ばれる。具体的には、このMPEG符号化方式
では、このGOPを構成する複数のフレームのうち少な
くとも1つのフレームに対してはフレーム内符号化処理
が施され、残りのフレームに対してはフレーム間符号化
処理が施される。
The MPEG encoding system is composed of an intra-frame encoding process for encoding image data using intra-frame correlation of pixel values and an inter-frame encoding process for encoding image data using inter-frame correlation of pixel values. The encoding process and the encoding process are adaptively switched. In this MPEG encoding method, the encoding process of the image data corresponding to a moving image is performed with the image data corresponding to a plurality of consecutive frames as one unit. Here, a plurality of consecutive frames that are units of encoding processing are group of pictures (GO).
P). Specifically, in this MPEG encoding method, an intraframe encoding process is performed on at least one frame of the plurality of frames forming this GOP, and an interframe encoding process is performed on the remaining frames. Processing is performed.

【0004】上記フレーム間符号化処理には、前方向フ
レーム間予測符号化処理と両方向フレーム間予測符号化
処理の2つの処理がある。上記前方向フレーム間予測符
号化処理が施されるフレームはPフレームと呼ばれ、両
方向フレーム間予測符号化処理が施されるフレームはB
フレームと呼ばれる。Pフレームには、表示時間軸上で
該Pフレームの前に位置するフレーム(参照フレーム)
を参照して予測符号化処理が施される。Bフレームに
は、表示時間軸上で該Bフレームに近接してその前後に
位置する2つのフレーム(参照フレーム)を参照して予
測符号化処理が施される。通常は、Pフレームの符号化
処理では、該Pフレームに近接するIフレームが参照フ
レームとして用いられ、Bフレームの符号化処理では、
該Bフレームに近接するIフレーム及びPフレーム、あ
るいは2つのPフレームが参照フレームとして用いられ
る。
The interframe coding process includes two processes, a forward interframe predictive coding process and a bidirectional interframe predictive coding process. A frame to which the forward interframe predictive coding process is applied is called a P frame, and a frame to which the bidirectional interframe predictive coding process is applied is B.
Called a frame. The P frame is a frame (reference frame) located before the P frame on the display time axis.
The predictive coding process is performed with reference to. Predictive coding processing is performed on the B frame by referring to two frames (reference frames) located close to and before and after the B frame on the display time axis. Normally, in the P frame encoding process, an I frame close to the P frame is used as a reference frame, and in the B frame encoding process,
An I frame and a P frame adjacent to the B frame, or two P frames are used as reference frames.

【0005】図16は、1つのGOPを構成する複数の
フレーム(図(a))、及び該GOPに対応する符号化デ
ータ(図(b))を具体的に説明する図である。図16
は、連続する複数のフレームF(k-5)〜F(k+12)と、各
フレームに対応する符号化データD(k-5)〜D(k+12)と
を対比して示している。なお、kは任意の整数である。
また、フレームF(k-5)〜F(k+12)は表示時間順に配列
されており、一方、該フレームF(k-5)〜F(k+12)に対
応するデータD(k-5)〜D(k+12)は、符号化時間順(言
い換えると復号化時間順)に配列されている。
FIG. 16 is a diagram for specifically explaining a plurality of frames (FIG. (A)) constituting one GOP and coded data (FIG. (B)) corresponding to the GOP. FIG.
Shows a plurality of consecutive frames F (k-5) to F (k + 12) and coded data D (k-5) to D (k + 12) corresponding to each frame in comparison. There is. Note that k is an arbitrary integer.
The frames F (k-5) to F (k + 12) are arranged in display time order, while the data D (k- corresponding to the frames F (k-5) to F (k + 12) are arranged. 5) to D (k + 12) are arranged in coding time order (in other words, decoding time order).

【0006】具体的には、F(k),F(k+12)は、フレー
ム内符号化フレーム(Iフレーム)であり、F(k-3),
F(k+3),F(k+6),F(k+9)は前方向フレーム間予測符
号化フレーム(Pフレーム)、F(k-5),F(k-4),F(k
-2),F(k-1),F(k+1),F(k+2),F(k+4),F(k+5),
F(k+7),F(k+8),F(k+10),F(k+11)は、両方向フレ
ーム間予測符号化フレーム(Bフレーム)である。ま
た、D(k),D(k+12)は、Iフレームの符号化データで
あり、D(k-3),D(k+3),D(k+6),D(k+9)はPフレー
ムの符号化データ、D(k-5),D(k-4),D(k-2),D(k-
1),D(k+1),D(k+2),D(k+4),D(k+5),D(k+7),
D(k+8),D(k+10),D(k+11)は、Bフレームの符号化
データである。
Specifically, F (k) and F (k + 12) are intra-frame coded frames (I frames), and F (k-3),
F (k + 3), F (k + 6), F (k + 9) are forward inter-frame predictive coding frames (P frames), F (k-5), F (k-4), F ( k
-2), F (k-1), F (k + 1), F (k + 2), F (k + 4), F (k + 5),
F (k + 7), F (k + 8), F (k + 10), and F (k + 11) are bidirectional interframe predictive coding frames (B frames). D (k) and D (k + 12) are I-frame encoded data, and D (k-3), D (k + 3), D (k + 6), and D (k + 9). ) Is the encoded data of P frame, D (k-5), D (k-4), D (k-2), D (k-
1), D (k + 1), D (k + 2), D (k + 4), D (k + 5), D (k + 7),
D (k + 8), D (k + 10), D (k + 11) are coded data of the B frame.

【0007】ここでは、BフレームF(k-2)からPフレ
ームF(k+9)までの12のフレームによって、1つのG
OPが構成されている。例えば、PフレームF(k+3)に
対しては、IフレームF(k)を参照フレームとして用いて
フレーム間予測符号化処理が施される。また、Pフレー
ムF(k+6)に対しては、PフレームF(k+3)を参照フレー
ムとして用いてフレーム間予測符号化処理が施される。
また、BフレームF(k+1)及びF(k+2)に対しては、Iフ
レームF(k)及びPフレームF(k+3)を参照フレームとし
て用いてフレーム間予測符号化処理が施される。
Here, one G is composed of 12 frames from B frame F (k-2) to P frame F (k + 9).
OP is configured. For example, P frame F (k + 3) is subjected to interframe predictive coding processing using I frame F (k) as a reference frame. Further, the P frame F (k + 6) is subjected to interframe predictive coding processing using the P frame F (k + 3) as a reference frame.
Further, for B frames F (k + 1) and F (k + 2), interframe predictive coding processing is performed using the I frame F (k) and P frame F (k + 3) as reference frames. Is given.

【0008】上記符号化処理により得られた各フレーム
に対応する符号化データに対しては、復号化処理の際に
使用されるメモリの容量を削減するため、該各フレーム
の符号化データの配列を、各フレームの画像を表示する
順番に従った配列(表示時間順の配列)から各フレーム
の復号化処理を行う順番に従った配列(復号時間順の配
列)に変換する処理(配列変換処理)が施される。
For the coded data corresponding to each frame obtained by the above coding process, in order to reduce the capacity of the memory used in the decoding process, the array of the coded data of each frame is arranged. To convert the array according to the display order of the images of each frame (array in display time order) to the array according to the order of performing decoding processing of each frame (array in decoding time order) (array conversion processing) ) Is given.

【0009】具体的には、上記GOPに対応する符号化
データに上記配列変換処理を施して得られる符号化デー
タEdでは、図16(b)に示すように、IフレームF
(k)の符号化データD(k)が該GOP対応の符号化デ
ータDgopの先頭に位置し、その後に、BフレームF(k-
2)の符号化データD(k-2)、BフレームF(k-1)の符号化
データD(k-1)、PフレームF(k+3)の符号化データD
(k+3)が順に続いている。そして、上記GOP対応の符
号化データDgopは、上記配列変換処理後の順序で伝送あ
るいは記録される。
Specifically, in the encoded data Ed obtained by subjecting the encoded data corresponding to the GOP to the array conversion processing, as shown in FIG.
The coded data D (k) of (k) is located at the head of the coded data Dgop corresponding to the GOP, and then the B frame F (k-
2) coded data D (k-2), B frame F (k-1) coded data D (k-1), P frame F (k + 3) coded data D
(k + 3) follows in order. Then, the encoded data Dgop corresponding to the GOP is transmitted or recorded in the order after the array conversion processing.

【0010】図17は、従来のMPEG方式の符号化装
置を説明するブロック図である。この符号化装置700
は、入力されたビデオ信号(以下、画像データともい
う。)Idに対してMPEG符号化方式のフレーム間符
号化処理を施すものである。すなわち、この符号化装置
700は、入力された画像データIdに対して、各フレ
ームの画像データを、水平方向の画素数が16であり、
垂直方向の画素数が16である16×16画素ブロック
(マクロブロック)に対応するよう分割する処理を施し
て、各マクロブロックに対応する画像データ721を出
力する16×16ブロック分割器701と、上記16×
16ブロック分割器701の出力データ721に対して
マクロブロック毎に動き検出処理を施して、対象ブロッ
クに対する動きベクトル724及び予測参照データ(予
測参照ブロックのデータ)726を出力する動き補償部
711とを有している。
FIG. 17 is a block diagram for explaining a conventional MPEG encoding device. This encoding device 700
Is for performing interframe coding processing of the MPEG coding system on an input video signal (hereinafter, also referred to as image data) Id. That is, the encoding device 700 has 16 pixels in the horizontal direction for the image data of each frame with respect to the input image data Id,
A 16 × 16 block divider 701 that performs a dividing process so as to correspond to a 16 × 16 pixel block (macroblock) having 16 pixels in the vertical direction and outputs image data 721 corresponding to each macroblock; 16x above
A motion compensation unit 711 that performs a motion detection process for each macroblock on the output data 721 of the 16-block divider 701 and outputs a motion vector 724 and prediction reference data (data of a prediction reference block) 726 for the target block. Have

【0011】ここで、動き検出は、参照フレームメモリ
710に画像データが格納されている予測参照フレーム
内の、対象ブロックに対応する画素レベルパターンに最
も一致する領域を検出する処理であり、例えばブロック
マッチング方法が用いられる。このように動き検出によ
り検出された、予測参照フレームにおける領域が、予測
参照ブロックであり、該予測参照フレームにおける予測
参照ブロックの位置を示す情報が、上記動きベクトル7
24である。
Here, the motion detection is a process for detecting an area in the predicted reference frame in which the image data is stored in the reference frame memory 710, which most closely matches the pixel level pattern corresponding to the target block. A matching method is used. The region in the prediction reference frame thus detected by motion detection is the prediction reference block, and the information indicating the position of the prediction reference block in the prediction reference frame is the motion vector 7
24.

【0012】上記符号化装置700は、上記対象ブロッ
クのデータ721から予測参照ブロックのデータ726
を減算する減算処理を行い、該両ブロックの差分データ
を、16×16画素ブロックの予測誤差データ(予測誤
差ブロックのデータ)727として出力する減算器70
2を有している。上記減算処理は、対象ブロックの各画
素の画素レベルと、予測参照ブロックの、対象ブロック
の各画素に対応する画素の画素レベルとの減算を、画素
毎に行うものである。
The encoding device 700 uses the data 721 of the target block to the data 726 of the prediction reference block.
Subtractor 70 that performs subtraction processing for subtracting and outputs difference data of both blocks as prediction error data (data of prediction error block) 727 of 16 × 16 pixel block
Have two. In the subtraction process, the pixel level of each pixel of the target block and the pixel level of the pixel corresponding to each pixel of the target block of the prediction reference block are subtracted for each pixel.

【0013】上記符号化装置700は、上記減算器70
2の出力である16×16画素ブロック(マクロブロッ
ク)に対応する画像データ727に対して、各マクロブ
ロックの画像データを、水平方向の画素数が8であり、
垂直方向の画素数が8である8×8画素ブロックに対応
するよう分割する処理を施して、各8×8画素ブロック
に対応する予測誤差データ722を出力する8×8ブロ
ック構成器703を有している。
The encoding device 700 includes the subtractor 70.
For the image data 727 corresponding to the 16 × 16 pixel block (macroblock) which is the output of 2, the image data of each macroblock has 8 pixels in the horizontal direction,
An 8 × 8 block configuration unit 703 is provided, which performs a dividing process corresponding to an 8 × 8 pixel block having eight pixels in the vertical direction and outputs prediction error data 722 corresponding to each 8 × 8 pixel block. is doing.

【0014】つまり、8×8ブロック構成器703で
は、16×16画素ブロック(16×16予測誤差ブロ
ック)BLpの予測誤差データ727は、図18に示す
ように、4つの8×8画素ブロック(8×8予測誤差ブ
ロック)BLpa,BLpb,BLpc,BLpdの予測誤差デ
ータ722に分割される。
That is, in the 8 × 8 block construction unit 703, the prediction error data 727 of the 16 × 16 pixel block (16 × 16 prediction error block) BLp is converted into four 8 × 8 pixel blocks ( (8 × 8 prediction error block) divided into prediction error data 722 of BLpa, BLpb, BLpc, BLpd.

【0015】上記符号化装置700は、8×8ブロック
構成器703から出力された8×8画素ブロックの予測
誤差データ722に対して2次元離散コサイン変換(D
CT)処理を施し、各8×8画素ブロックに対応するD
CT係数714を出力するDCT器704と、該DCT
器704の出力714である各8×8画素ブロックの各
DCT係数を所定の量子化ステップで量子化して、各8
×8画素ブロックに対応する量子化係数723を出力す
る量子化器705とを有している。
The above-mentioned encoding device 700 applies a two-dimensional discrete cosine transform (D) to the prediction error data 722 of the 8 × 8 pixel block output from the 8 × 8 block composer 703.
CT) processing and D corresponding to each 8 × 8 pixel block
A DCT unit 704 which outputs a CT coefficient 714,
Each DCT coefficient of each 8 × 8 pixel block, which is the output 714 of the converter 704, is quantized by a predetermined quantization step to obtain each 8
And a quantizer 705 that outputs a quantized coefficient 723 corresponding to a × 8 pixel block.

【0016】上記符号化装置700は、2次元の配列を
有する各8×8画素ブロックの量子化係数723を、所
定の経路に沿ってスキャニングして1次元の配列を有す
るデータ列に変換し、該1次元のデータ列を可変長符号
化により符号化して、符号化データ列Bstrを出力する
可変長符号化器706を有している。なお、この可変長
符号化器706は、動き補償部711によって得られた
動きベクトル724の情報も出力するものであり、その
出力である符号化データ列Bstrには、動きベクトル7
24の情報も付加されている。
The encoding device 700 scans the quantized coefficients 723 of each 8 × 8 pixel block having a two-dimensional array into a data string having a one-dimensional array by scanning along a predetermined path, It has a variable length encoder 706 which encodes the one-dimensional data sequence by variable length encoding and outputs an encoded data sequence Bstr. The variable length encoder 706 also outputs the information of the motion vector 724 obtained by the motion compensation unit 711, and the output of the encoded data string Bstr is the motion vector 7
24 pieces of information are also added.

【0017】上記符号化装置700は、上記量子化器7
05の出力である、各8×8画素ブロックの量子化係数
723に対して逆量子化処理を施して、各8×8画素ブ
ロックのDCT係数を復元する逆量子化器707と、該
逆量子化器707の出力715であるDCT係数に対し
て逆DCT処理を施して、各8×8画素ブロック(復号
化予測誤差ブロック)の復号予測誤差データを得る逆D
CT器708と、逆DCT器708の出力728を受
け、4つの8×8画素ブロック(8×8復号予測誤差ブ
ロック)の復号予測誤差データ728を組み合わせて、
16×16画素ブロック(16×16復号予測誤差ブロ
ック)に対応する復号データ729を生成する16×1
6ブロック構成器712とを有している。
The encoding device 700 includes the quantizer 7
The inverse quantizer 707 that performs the inverse quantization process on the quantized coefficient 723 of each 8 × 8 pixel block, which is the output of 05, and restores the DCT coefficient of each 8 × 8 pixel block, and the inverse quantizer 707. Inverse D which obtains decoded prediction error data of each 8 × 8 pixel block (decoded prediction error block) by performing inverse DCT processing on the DCT coefficient which is the output 715 of the digitizer 707.
Receiving the output 728 of the CT unit 708 and the inverse DCT unit 708, combining the decoded prediction error data 728 of four 8 × 8 pixel blocks (8 × 8 decoded prediction error block),
16 × 1 for generating decoded data 729 corresponding to a 16 × 16 pixel block (16 × 16 decoded prediction error block)
6 block construction unit 712.

【0018】上記画像符号化装置700は、16×16
画素ブロック(16×16復号予測誤差ブロック)の復
号予測誤差データ729と16×16画素ブロック(1
6×16予測参照ブロック)の予測参照データ726と
を加算して、16×16画素ブロック(16×16復号
ブロック)の復号データ730を出力する加算器709
と、該加算器709の出力730を、対象フレームの次
のフレームに対する予測符号化の際に用いる参照フレー
ムの画像データとして格納する参照フレームメモリ71
0とを有している。上記加算器709における加算処理
は、16×16復号予測誤差ブロックの各画素の画素レ
ベルと、16×16予測参照ブロックにおける、該16
×16復号予測誤差ブロックの各画素に対応する画素の
画素レベルとの加算を、画素毎に行うものである。
The image encoding apparatus 700 is 16 × 16.
The decoded prediction error data 729 of the pixel block (16 × 16 decoded prediction error block) and the 16 × 16 pixel block (1
An adder 709 that adds the prediction reference data 726 of the 6 × 16 prediction reference block) and outputs the decoded data 730 of the 16 × 16 pixel block (16 × 16 decoding block)
And a reference frame memory 71 for storing the output 730 of the adder 709 as image data of a reference frame used in predictive coding for the next frame of the target frame.
It has 0 and. The addition processing in the adder 709 is performed by the pixel level of each pixel of the 16 × 16 decoded prediction error block and the 16 × 16 prediction reference block.
The addition with the pixel level of the pixel corresponding to each pixel of the × 16 decoded prediction error block is performed for each pixel.

【0019】次に動作について説明する。この符号化装
置700に、処理対象となるフレーム(対象フレーム)
の画像データIdが入力されると、16×16ブロック
分割器701は、該画像データIdを、16×16画素
ブロック(マクロブロック)に対応するよう分割して、
各16×16画素ブロックに対応する画像データ721
を出力する。
Next, the operation will be described. A frame to be processed (target frame) by the encoding device 700.
When the image data Id is input, the 16 × 16 block divider 701 divides the image data Id so as to correspond to a 16 × 16 pixel block (macro block),
Image data 721 corresponding to each 16 × 16 pixel block
Is output.

【0020】該16×16画素ブロックの画像データ7
21が動き補償部711に入力されると、該動き補償部
711は、処理対象となっている16×16画素ブロッ
ク(対象ブロック)の画像データ721に対する動き検
出を行い、該対象ブロックに対応する動きベクトル72
4および予測参照データ(16×16予測参照ブロック
の画像データ)726を出力する。この動き検出は、参
照フレームメモリ710に格納されている予測参照フレ
ーム内で、16×16画素ブロックの画素レベルパター
ンに最も一致する領域を検出するものであり、例えばブ
ロックマッチング方法によって行われる。この動き検出
により検出された領域が、対象ブロックに対応する16
×16予測参照ブロックであり、参照フレームにおける
16×16予測参照ブロックの位置を示す情報が、対象
ブロックに対応する動きベクトル724である。
Image data 7 of the 16 × 16 pixel block
When 21 is input to the motion compensating unit 711, the motion compensating unit 711 performs motion detection on the image data 721 of the 16 × 16 pixel block (target block) that is the processing target and corresponds to the target block. Motion vector 72
4 and prediction reference data (image data of 16 × 16 prediction reference block) 726 are output. This motion detection is to detect the region that most matches the pixel level pattern of the 16 × 16 pixel block in the predicted reference frame stored in the reference frame memory 710, and is performed by, for example, the block matching method. The area detected by this motion detection corresponds to the target block 16
The information indicating the position of the 16 × 16 prediction reference block in the reference frame is the motion vector 724 corresponding to the target block.

【0021】減算器702は、対象ブロックの画像デー
タ721から16×16予測参照ブロックの画像データ
726を減算する減算処理を行い、16×16画素ブロ
ックの予測誤差データ(16×16予測誤差ブロックの
画像データ)727を出力する。
The subtractor 702 performs a subtraction process for subtracting the image data 726 of the 16 × 16 prediction reference block from the image data 721 of the target block, and the prediction error data of the 16 × 16 pixel block (of the 16 × 16 prediction error block). Image data) 727 is output.

【0022】そして、8×8ブロック構成器703は、
上記16×16画素ブロックの予測誤差データ727
を、上記16×16画素ブロックを構成する4つの8×
8画素ブロックに対応するよう分割して、8×8画素ブ
ロックの予測誤差データ(8×8予測誤差ブロックの画
像データ)722を出力する。つまり、16×16予測
誤差ブロックBLpのデータ727は、図18に示すよ
うに、4つの8×8予測誤差ブロックBLpa,BLpb,
BLpc,BLpdのデータ722に分割される。
Then, the 8 × 8 block construction unit 703 is
Prediction error data 727 of the 16 × 16 pixel block
Are the four 8 × that form the 16 × 16 pixel block.
It is divided so as to correspond to an 8-pixel block, and prediction error data of the 8 × 8 pixel block (image data of the 8 × 8 prediction error block) 722 is output. That is, the data 727 of the 16 × 16 prediction error block BLp is, as shown in FIG. 18, four 8 × 8 prediction error blocks BLpa, BLpb,
It is divided into data 722 of BLpc and BLpd.

【0023】8×8予測誤差ブロックのデータ722が
DCT器704に入力されると、DCT器704は、8
×8予測誤差ブロックのデータ722に対する2次元離
散コサイン変換(DCT)処理を行って、上記8×8予
測誤差ブロックに対するDCT係数714を生成する。
量子化器705は、この8×8予測誤差ブロックのDC
T係数714を、所定の量子化ステップで量子化して、
8×8予測誤差ブロックに対する量子化係数723を生
成する。
When the data 722 of the 8 × 8 prediction error block is input to the DCT unit 704, the DCT unit 704 outputs 8
A two-dimensional discrete cosine transform (DCT) process is performed on the data 722 of the × 8 prediction error block to generate the DCT coefficient 714 for the 8 × 8 prediction error block.
The quantizer 705 determines the DC of this 8 × 8 prediction error block.
The T coefficient 714 is quantized in a predetermined quantization step,
The quantized coefficient 723 for the 8 × 8 prediction error block is generated.

【0024】可変長符号化器706は、8×8予測誤差
ブロックに対する2次元の配列を有する複数の量子化係
数723を所定経路に沿ってスキャニングして、1次元
の配列を有するデータ列に変換する配列変換処理を行っ
て、該データ列を可変長符号により符号化して、符号化
データ列Bstrを出力する。また、上記可変長符号化器
706は、動き補償部711によって得られた動きベク
トル724の情報も上記符号化データ列Bstrに付加し
て出力する。
The variable length encoder 706 scans a plurality of quantized coefficients 723 having a two-dimensional array for the 8 × 8 prediction error block along a predetermined path and converts them into a data string having a one-dimensional array. The array conversion process is performed, the data string is encoded by the variable length code, and the encoded data string Bstr is output. The variable length encoder 706 also adds the information of the motion vector 724 obtained by the motion compensating unit 711 to the encoded data string Bstr and outputs it.

【0025】また、逆量子化器707は、8×8予測誤
差ブロックの量子化係数723を逆量子化処理により8
×8予測誤差ブロックのDCT係数715に復元し、逆
DCT器708は、8×8予測誤差ブロックのDCT係
数715に対して2次元逆DCT変換処理を施して、8
×8予測誤差ブロックの復号画像データ728を出力す
る。
The dequantizer 707 dequantizes the quantized coefficient 723 of the 8 × 8 prediction error block into 8 by dequantizing.
The DCT coefficient 715 of the × 8 prediction error block is restored, and the inverse DCT unit 708 performs a two-dimensional inverse DCT transform process on the DCT coefficient 715 of the 8 × 8 prediction error block to obtain 8
The decoded image data 728 of the × 8 prediction error block is output.

【0026】この8×8予測誤差ブロックの復号画像デ
ータ728が16×16ブロック構成器712に入力さ
れると、該16×16ブロック構成器712は、4つの
8×8予測誤差ブロックの復号画像データ728を組み
合わせて1つの16×16予測誤差ブロックの復号画像
データを構成する処理を行い、16×16予測誤差ブロ
ックの復号画像データ729を出力する。
When the decoded image data 728 of the 8 × 8 prediction error block is input to the 16 × 16 block construction unit 712, the 16 × 16 block construction unit 712 decodes the decoded images of the four 8 × 8 prediction error blocks. The process of forming the decoded image data of one 16 × 16 prediction error block by combining the data 728 is performed, and the decoded image data 729 of the 16 × 16 prediction error block is output.

【0027】加算器709は、上記16×16予測誤差
ブロックの復号画像データ729と16×16予測参照
ブロックの画像データ726とを加算する加算処理を行
って、16×16画素ブロックに対応する復号画像デー
タ730を生成する。
The adder 709 performs an addition process of adding the decoded image data 729 of the 16 × 16 prediction error block and the image data 726 of the 16 × 16 prediction reference block to decode the 16 × 16 pixel block. Image data 730 is generated.

【0028】そして、該16×16画素ブロック(マク
ロブロック)に対応する復号画像データ730は、上記
対象フレームの次のフレームに対する予測符号化処理の
際に用いる参照フレームの画像データとして、上記参照
フレームメモリ710に格納される。
The decoded image data 730 corresponding to the 16 × 16 pixel block (macroblock) is used as the image data of the reference frame used in the predictive coding process for the frame next to the target frame. It is stored in the memory 710.

【0029】次に、上記符号化装置から出力された符号
化データ列を復号する従来のMPEG−4復号化処理に
ついて説明する。図19は従来の復号化装置800を示
すブロック図である。この復号化装置800は、図17
に示す符号化装置700から出力された符号化データ列
Bstrを復号化するものである。
Next, a conventional MPEG-4 decoding process for decoding the encoded data string output from the above encoding device will be described. FIG. 19 is a block diagram showing a conventional decoding device 800. This decoding device 800 is shown in FIG.
The encoded data string Bstr output from the encoding device 700 shown in FIG.

【0030】すなわち、この復号化装置800は、入力
された符号化データ列Bstrを、量子化係数の符号列8
22と動きベクトル830とに分類して出力する符号分
類器801と、上記量子化係数の符号列822に対して
可変長復号化処理を施して、8×8予測誤差ブロックの
量子化係数823を順次復元する可変長復号化器802
と、参照フレームメモリ807に格納されている復号化
済みフレームの画像データを参照して、該フレームにお
ける動きベクトル830の示す領域の画像データを16
×16予測参照ブロックのデータ831として出力する
動き補償部806とを有している。
That is, the decoding apparatus 800 converts the input coded data string Bstr into the quantized coefficient code string 8
22 and the motion vector 830, and outputs the code classifier 801 and the code string 822 of the quantized coefficient, which is subjected to the variable length decoding process to obtain the quantized coefficient 823 of the 8 × 8 prediction error block. Variable length decoder 802 for sequentially restoring
And referring to the image data of the decoded frame stored in the reference frame memory 807, the image data of the area indicated by the motion vector 830 in the frame is 16
The motion compensation unit 806 outputs the data 831 of the × 16 prediction reference block.

【0031】上記復号化装置800は、8×8予測誤差
ブロックの量子化係数823に対して、符号化の際に用
いた量子化ステップでもって逆量子化処理を施して、8
×8予測誤差ブロックのDCT係数814を復元する逆
量子化器803と、8×8予測誤差ブロックのDCT係
数814に対して逆2次元離散コサイン変換処理を施し
て、8×8予測誤差ブロックの復号画像データ824を
生成する逆DCT器809とを有している。
The decoding device 800 performs inverse quantization processing on the quantized coefficient 823 of the 8 × 8 prediction error block using the quantization step used at the time of encoding to obtain 8
The inverse quantizer 803 that restores the DCT coefficient 814 of the 8 × 8 prediction error block and the DCT coefficient 814 of the 8 × 8 prediction error block is subjected to the inverse two-dimensional discrete cosine transform processing to obtain the 8 × 8 prediction error block. The inverse DCT unit 809 that generates the decoded image data 824 is included.

【0032】上記復号化装置800は、4つの8×8予
測誤差ブロックの復号画像データ824を組み合わせて
1つの16×16予測誤差ブロックの復号画像データ8
25を生成する処理を行って、16×16予測誤差ブロ
ックの復号画像データ825を生成する16×16ブロ
ック構成器804と、16×16予測誤差ブロックの復
号画像データと、動き補償部806により得られた16
×16予測参照ブロックの画像データ831とを加算す
る処理を行って、16×16画素ブロックに対応する復
号画像データ840を出力する加算器805とを有して
いる。
The decoding device 800 combines the decoded image data 824 of four 8 × 8 prediction error blocks to obtain the decoded image data 8 of one 16 × 16 prediction error block.
25 is performed to obtain the decoded image data 825 of the 16 × 16 prediction error block, the decoded image data of the 16 × 16 prediction error block, and the motion compensation unit 806. Given 16
It has an adder 805 which performs a process of adding the image data 831 of the × 16 prediction reference block and outputs the decoded image data 840 corresponding to the 16 × 16 pixel block.

【0033】上記復号化装置800は、16×16画素
ブロックに対応する画像データ840から対象フレーム
に対応する画像データを復元し、この復元したデータを
再生画像データRIdとして出力する画像構成器808
と、16×16画素ブロックの復号画像データ840
を、処理対象フレームの次のフレームに対する予測復号
化処理の際に用いる参照フレームの画像データとして格
納する参照フレームメモリ807とを有している。
The decoding device 800 restores the image data corresponding to the target frame from the image data 840 corresponding to the 16 × 16 pixel block, and outputs the restored data as the reproduced image data RId.
And decoded image data 840 of a 16 × 16 pixel block
Is stored as image data of a reference frame used in the predictive decoding process for the frame next to the processing target frame.

【0034】次に動作について説明する。この復号化装
置800に、上記符号化装置700から出力された符号
化データ列Bstrが入力されると、符号分類器801
は、符号化データ列Bstrを、量子化係数の符号列82
2と動きベクトル830とに分類する処理が行われ、該
符号分類器801からは、量子化係数の符号列822
と、動きベクトル830とを出力する。
Next, the operation will be described. When the encoded data string Bstr output from the encoding device 700 is input to the decoding device 800, the code classifier 801
Is the coded data string Bstr and the quantized coefficient code string 82.
2 and the motion vector 830 are processed, and the code classifier 801 outputs a quantized coefficient code string 822.
And the motion vector 830 are output.

【0035】可変長復号化器802は、上記量子化係数
の符号列822を可変長復号処理により8×8予測誤差
ブロックの量子化係数823に変換する。逆量子化器8
03は、この8×8予測誤差ブロックの量子化係数82
3に対して、上記符号化装置700での符号化処理で用
いた量子化ステップでもって逆量子化処理を施して、8
×8予測誤差ブロックのDCT係数814を復元する。
逆DCT器809は、この8×8予測誤差ブロックのD
CT係数814を、逆2次元離散コサイン変換処理によ
り8×8予測誤差ブロックの復号画像データ824に変
換する。
The variable length decoder 802 converts the quantized coefficient code string 822 into the quantized coefficient 823 of the 8 × 8 prediction error block by the variable length decoding process. Inverse quantizer 8
03 is the quantized coefficient 82 of this 8 × 8 prediction error block.
3 is inversely quantized by the quantization step used in the encoding process in the encoding device 700, and 8
The DCT coefficient 814 of the × 8 prediction error block is restored.
The inverse DCT unit 809 determines the D of this 8 × 8 prediction error block.
The CT coefficient 814 is transformed into the decoded image data 824 of the 8 × 8 prediction error block by the inverse two-dimensional discrete cosine transform process.

【0036】16×16ブロック構成器804は、4つ
の8×8予測誤差ブロックの復号画像データ828を組
み合わせて、1つの16×16予測誤差ブロックの復号
画像データを生成する処理を行って、16×16予測誤
差ブロックの復号画像データ825を出力する。
The 16 × 16 block construction unit 804 performs a process of combining decoded image data 828 of four 8 × 8 prediction error blocks to generate decoded image data of one 16 × 16 prediction error block, The decoded image data 825 of the × 16 prediction error block is output.

【0037】また、動き補償部806は、参照フレーム
メモリ807に格納されている復号化済みフレームの画
像データを参照する動き補償により、該フレームにおけ
る動きベクトル830の示す領域の画像データを生成
し、該画像データを16×16予測参照ブロックのデー
タ831として出力する。
The motion compensating unit 806 also generates image data of the area indicated by the motion vector 830 in the frame by motion compensation referring to the image data of the decoded frame stored in the reference frame memory 807. The image data is output as data 831 of the 16 × 16 prediction reference block.

【0038】そして、加算器805は、16×16予測
誤差ブロックの復号画像データ806に、動き補償部8
06で得られた16×16予測参照ブロック831の画
像データとを加算する処理を行って、16×16画素ブ
ロックに対応する復号画像データ840を生成して出力
する。
Then, the adder 805 adds the decoded image data 806 of the 16 × 16 prediction error block to the motion compensation unit 8
The process of adding the image data of the 16 × 16 prediction reference block 831 obtained in 06 is performed to generate and output the decoded image data 840 corresponding to the 16 × 16 pixel block.

【0039】画像構成器808は、16×16画素ブロ
ックに対応する復号画像データ840からフレームに対
応する画像データを生成し、該データを再生画像データ
RIdとして出力する。
The image configurator 808 generates image data corresponding to a frame from the decoded image data 840 corresponding to the 16 × 16 pixel block, and outputs the data as reproduced image data RId.

【0040】また、上記加算器805から出力された1
6×16画素ブロックに対応する復号画像データ840
は、対象フレームの次のフレームに対する予測復号処理
の際に参照する参照フレームのデータとして参照フレー
ムメモリ807に記憶される。
In addition, 1 output from the adder 805 is output.
Decoded image data 840 corresponding to a 6 × 16 pixel block
Is stored in the reference frame memory 807 as data of a reference frame to be referred to in the predictive decoding process for the frame next to the target frame.

【0041】[0041]

【特許文献1】米国特許第4821119号明細書[Patent Document 1] US Pat. No. 4,821,119

【0042】[0042]

【発明が解決しようとする課題】ところが、従来のMP
EG符号化方式では、取り扱う画像サイズが小さな場合
は、細かな動きを検出することができず、予測効率の低
下を引き起こすという問題があった。
However, the conventional MP
The EG encoding method has a problem that when the image size to be handled is small, it is impossible to detect a fine motion, which causes a decrease in prediction efficiency.

【0043】簡単に説明すると、従来のMPEG符号化
方式では、上述したように、16×16画素からなるブ
ロック(マクロブロック)単位で動き補償が行われ、8
×8画素からなるブロック(サブブロック)毎にDCT
処理及び量子化処理が行われる。また、MPEGで取り
扱う画像サイズは、NTSC(National TelevisionSta
ndards Committee)テレビフォーマットでは、水平72
0画素、垂直480ライン(720×480画素)であ
るのが一般的である。
Briefly described, in the conventional MPEG encoding system, as described above, motion compensation is performed in units of blocks (macroblocks) each consisting of 16 × 16 pixels.
DCT for each block (sub-block) consisting of × 8 pixels
Processing and quantization processing are performed. The image size handled by MPEG is NTSC (National Television Sta
ndards Committee) TV format is horizontal 72
It is generally 0 pixels and 480 vertical lines (720 × 480 pixels).

【0044】このため、NTSCテレビフォーマットの
場合は、1フレームの画像サイズには、720×480
画素が一般的に用いられるため、動き補償を行う単位を
16×16画素からなるマクロブロックとすることは大
きな問題とならないが、1フレームの画像サイズが小さ
い場合、例えば、1フレームの画像サイズが276×1
44画素程度である場合は、マクロブロックの、1フレ
ームに対する相対的な大きさは、マクロブロックの、画
像サイズが720×480画素であるフレームに対する
相対的な大きさの約4倍となる。
Therefore, in the case of the NTSC TV format, the image size of one frame is 720 × 480.
Since pixels are generally used, it is not a big problem to make a unit for performing motion compensation a macroblock consisting of 16 × 16 pixels. However, when the image size of one frame is small, for example, the image size of one frame is 276 x 1
In the case of about 44 pixels, the relative size of the macroblock with respect to one frame is about four times the relative size of the macroblock with respect to the frame having an image size of 720 × 480 pixels.

【0045】従って、1フレームの画像サイズが小さい
場合、16×16画素(マクロブロック)単位での動き
補償を行ったのでは大まかな動きしか検出することがで
きず、予測効率の低下を引き起こしてしまうという問題
がある。また、画像データの圧縮符号化では、DCT処
理を行う単位(DCTブロック)が大きいほど、有意な
係数が低周波数成分への集中することになり、画像デー
タの圧縮効率を高めることができるが、DCTブロック
を大きくすると、DCTの処理量の増加を引き起こすと
いう問題もある。
Therefore, when the image size of one frame is small, only rough motion can be detected by performing motion compensation in units of 16 × 16 pixels (macroblocks), which causes deterioration of prediction efficiency. There is a problem that it ends up. Further, in compression encoding of image data, the larger the unit (DCT block) in which DCT processing is performed, the more significant coefficients are concentrated in low frequency components, so that the compression efficiency of image data can be improved. There is also a problem that increasing the DCT block causes an increase in the amount of DCT processing.

【0046】なお、オーム社発行の「先端技術の手ほど
きシリーズ」(画像情報圧縮 テレビジョン学会編 原
島博監修 H3.8.25)のP102-103(第5章 変換符号化
の考え方 5−2 直交変換の特徴とその比較(図2.
6など))には、DCTのブロックサイズと符号化効率
について記述されている。
In addition, P102-103 (Chapter 5 Concept of transform coding 5-2 Orthogonal transform) of "Introduction to Advanced Technology" series published by Ohmsha, Inc. (Image Information Compression Television Society, edited by Hiroshi Harashima, H3.8.25) Features and comparison (Fig. 2.
6)), the DCT block size and coding efficiency are described.

【0047】本発明は上記のような問題点に鑑みてなさ
れたもので、動き検出精度を向上させつつ、予測符号化
処理あるいは予測復号処理におけるデータ処理量の増加
を抑制することができる符号化方法及び復号化方法、並
びに符号化装置及び復号化装置を提供することを目的と
する。
The present invention has been made in view of the above problems, and it is possible to suppress the increase in the data processing amount in the predictive coding process or the predictive decoding process while improving the motion detection accuracy. It is an object to provide a method and a decoding method, and an encoding device and a decoding device.

【0048】[0048]

【課題を解決するための手段】本発明(請求項1)に係
る符号化装置は、画像データをフレーム毎にフレーム間
の画素値相関を用いて予測符号化する符号化装置であっ
て、処理対象フレームに対応する画像データを予測する
予測処理を、該フレームを区分する複数の画素からなる
予測ブロック毎に行って予測画像データを生成するデー
タ予測部と、上記処理対象フレームの画像データを、複
数の予測ブロックからなる符号化ブロック毎に、該符号
化ブロックに対応する予測画像データを用いて符号化す
るデータ符号化部とを備えたことを特徴とするものであ
る。
An encoding apparatus according to the present invention (Claim 1) is an encoding apparatus for predictively encoding image data frame by frame using pixel value correlation between frames. A prediction process of predicting image data corresponding to a target frame, a data predicting unit that generates predicted image data by performing a prediction block including a plurality of pixels that partition the frame, and image data of the processing target frame, It is characterized in that it comprises a data coding unit for coding for each coding block composed of a plurality of prediction blocks, using prediction image data corresponding to the coding block.

【0049】本発明(請求項2)は、請求項1記載の符
号化装置において、上記データ予測部は、形状の異なる
複数種類の予測ブロックの各々に対応する予測画像デー
タを生成するデータ生成部を有し、上記形状の異なる複
数種類の予測ブロックに対応する予測画像データのう
ち、上記符号化ブロックに対する符号化効率が最も高く
なる予測ブロックの予測画像データを選択して、上記符
号化ブロックに対応する予測画像データを生成するもの
であることを特徴とするものである。
According to the present invention (claim 2), in the encoding device according to claim 1, the data predicting section generates a predictive image data corresponding to each of a plurality of types of predictive blocks having different shapes. Of the prediction image data corresponding to a plurality of types of prediction blocks of different shapes, select the prediction image data of the prediction block that has the highest coding efficiency for the coding block, to the coding block It is characterized by generating corresponding predicted image data.

【0050】本発明(請求項3)は、請求項2記載の符
号化装置において、上記データ予測部は、形状の異なる
複数種類の予測ブロックに対応する予測画像データのう
ち、いずれの形状の予測ブロックの予測画像データを選
択したかを示すブロック識別情報を出力するものである
ことを特徴とするものである。
According to the present invention (claim 3), in the encoding device according to claim 2, the data predicting unit predicts which shape of predictive image data corresponding to a plurality of types of predictive blocks having different shapes. It is characterized in that block identification information indicating whether the predicted image data of a block has been selected is output.

【0051】本発明(請求項4)は、請求項1記載の符
号化装置において、上記データ予測部は、形状の異なる
複数種類の予測ブロックの各々に対応する予測画像デー
タを生成するデータ生成部を有し、上記形状の異なる複
数種類の予測ブロックに対応する予測画像データを、上
記符号化ブロックにおける上記各種予測ブロックの配置
パターンが上記符号化ブロックに対する符号化効率が最
も高くなる配置パターンとなるよう組み合わせて上記符
号化ブロックに対応する予測画像データを生成するもの
であることを特徴とするものである。
According to the present invention (claim 4), in the encoding device according to claim 1, the data predicting unit generates a predictive image data corresponding to each of a plurality of types of predictive blocks having different shapes. The prediction image data corresponding to a plurality of types of prediction blocks having different shapes is arranged such that the arrangement pattern of the various prediction blocks in the encoding block is the arrangement pattern that maximizes the encoding efficiency for the encoding block. It is characterized in that predictive image data corresponding to the coded block is generated by such combination.

【0052】本発明(請求項5)は、請求項4記載の符
号化装置において、上記データ予測部は、上記符号化ブ
ロックにおける各種予測ブロックの配置パターンを示す
ブロック配置情報を出力するものであることを特徴とす
るものである。
According to a fifth aspect of the present invention, in the encoding device according to the fourth aspect, the data prediction section outputs block arrangement information indicating an arrangement pattern of various prediction blocks in the encoded block. It is characterized by that.

【0053】本発明(請求項6)に係る符号化装置は、
画像データをフレーム毎にフレーム間画素値相関を用い
て予測符号化する符号化装置において、処理対象フレー
ムに対応する画像データを予測する予測処理を、該フレ
ームを区分する複数の画素からなる第1予測ブロック毎
に行って第1の予測画像データを生成する第1のデータ
予測部と、上記処理対象フレームの画像データを、複数
の第1予測ブロックからなる第1符号化ブロック毎に、
該第1符号化ブロックに対応する第1の予測画像データ
を用いて符号化する第1のデータ符号化部とを有する第
1の予測符号化部と、処理対象フレームに対応する画像
データを予測する予測処理を、該フレームを区分する複
数の画素からなる第2予測ブロック毎に行って第2の予
測画像データを生成する第2データ予測部と、上記処理
対象フレームの画像データを、上記第2予測ブロックを
区分する第2符号化ブロック毎に、該第2符号化ブロッ
クに対応する第2の予測画像データを用いて符号化する
第2のデータ符号化部とを有する第2の予測符号化部
と、外部からの指令信号に応じて、上記画像データを、
上記第1の予測符号化部及び第2の予測符号化部の一方
に供給する選択部とを備えたことを特徴とするものであ
る。
An encoding apparatus according to the present invention (claim 6) is
In a coding device for predictively coding image data for each frame using inter-frame pixel value correlation, a prediction process for predicting image data corresponding to a frame to be processed is performed by a first pixel consisting of a plurality of pixels for partitioning the frame. A first data prediction unit that performs first prediction image data by performing each prediction block, and image data of the processing target frame for each first coding block including a plurality of first prediction blocks,
A first predictive encoding unit having a first data encoding unit that encodes using first predictive image data corresponding to the first encoded block, and predicts image data corresponding to a processing target frame A second data prediction unit that performs the prediction process to generate second predicted image data for each second prediction block composed of a plurality of pixels that partition the frame; A second prediction code having, for each second coding block that divides the two prediction blocks, a second data coding unit that codes using the second prediction image data corresponding to the second coding block. Depending on the conversion unit and the command signal from the outside,
The present invention is characterized by including a selecting unit that supplies one of the first predictive coding unit and the second predictive coding unit.

【0054】本発明(請求項7)に係る符号化方法は、
画像データをフレーム毎にフレーム間の画素値相関を用
いて予測符号化する符号化方法であって、処理対象フレ
ームに対応する画像データを予測する予測処理を、該フ
レームを区分する複数の画素からなる予測ブロック毎に
行って予測画像データを生成する予測ステップと、上記
処理対象フレームの画像データを、複数の予測ブロック
からなる符号化ブロック毎に、該符号化ブロックに対応
する予測画像データを用いて符号化する符号化ステップ
とを含むことを特徴とするものである。
The encoding method according to the present invention (claim 7) is
A coding method for predictively coding image data for each frame by using pixel value correlation between frames, the predicting process for predicting image data corresponding to a frame to be processed is performed from a plurality of pixels that partition the frame. And a prediction step of generating predicted image data for each prediction block, and the image data of the processing target frame is used for each coding block including a plurality of prediction blocks using the prediction image data corresponding to the coding block. And an encoding step for encoding.

【0055】本発明(請求項8)は、請求項7記載の符
号化方法において、上記予測ステップは、形状の異なる
複数種類の予測ブロックの各々に対応する予測画像デー
タを生成するステップと、上記形状の異なる複数種類の
予測ブロックに対応する予測画像データのうち、上記符
号化ブロックに対する符号化効率が最も高くなる予測ブ
ロックの予測画像データを選択するステップと、該選択
した予測ブロックの予測画像データにより、上記符号化
ブロックに対応する予測画像データを生成するステップ
とを含むものであることを特徴とするものである。
According to the present invention (claim 8), in the coding method according to claim 7, the predicting step includes a step of generating predictive image data corresponding to each of a plurality of types of predictive blocks having different shapes, and Of the prediction image data corresponding to a plurality of types of prediction blocks having different shapes, a step of selecting the prediction image data of the prediction block having the highest coding efficiency for the coding block, and the prediction image data of the selected prediction block According to the above, a step of generating predicted image data corresponding to the coded block is included.

【0056】本発明(請求項9)は、請求項8記載の符
号化方法において、上記予測ステップは、形状の異なる
複数種類の予測ブロックに対応する予測画像データのう
ち、いずれの形状の予測ブロックの予測画像データを選
択したかを示すブロック識別情報を生成するステップを
含むものであることを特徴とするものである。
According to the present invention (claim 9), in the encoding method according to claim 8, the predicting step includes a predictive block of any shape among predictive image data corresponding to a plurality of kinds of predictive blocks having different shapes. It is characterized by including a step of generating block identification information indicating whether or not the predicted image data has been selected.

【0057】本発明(請求項10)は、請求項7記載の
符号化方法において、上記予測ステップは、形状の異な
る複数種類の予測ブロックの各々に対応する予測画像デ
ータを生成するステップと、上記符号化ブロックにおけ
る上記各種予測ブロックの配置パターンを、上記符号化
ブロックに対する符号化効率が最も高くなるよう決定す
るステップと、上記形状の異なる複数種類の予測ブロッ
クに対応する予測画像データを、上記符号化ブロックに
おける上記各種予測ブロックの配置パターンが上記決定
された配置パターンとなるよう組み合わせて、上記符号
化ブロックに対応する予測画像データを生成するステッ
プとを含むものであることを特徴とするものである。
According to the present invention (claim 10), in the encoding method according to claim 7, the predicting step includes a step of generating predictive image data corresponding to each of a plurality of types of predictive blocks having different shapes; The step of determining the arrangement pattern of the various prediction blocks in the coding block so that the coding efficiency with respect to the coding block is highest, and the prediction image data corresponding to a plurality of types of prediction blocks having different shapes are Generating the predicted image data corresponding to the coding block by combining the arrangement patterns of the various prediction blocks in the encoded block so as to be the determined arrangement pattern.

【0058】本発明(請求項11)は、請求項10記載
の符号化方法において、上記予測ステップは、上記符号
化ブロックにおける各種予測ブロックの配置パターンを
示すブロック配置情報を生成するステップを含むもので
あることを特徴とするものである。
According to the present invention (claim 11), in the encoding method according to claim 10, the prediction step includes a step of generating block arrangement information indicating an arrangement pattern of various prediction blocks in the encoded block. It is characterized by that.

【0059】本発明(請求項12)に係る復号化装置
は、画像データを予測符号化して得られた符号化データ
を、フレーム毎にフレーム間の画素値相関を用いて予測
復号化する復号化装置であって、処理対象フレームに対
応する画像データを予測する予測処理を、該フレームを
区分する複数の画素からなる予測ブロック毎に行って予
測画像データを生成するデータ予測部と、上記処理対象
フレームの符号化データを、複数の予測ブロックからな
る復号化ブロック毎に、該復号化ブロックに対応する予
測画像データを用いて復号化するデータ復号化部とを備
えたことを特徴とするものである。
A decoding device according to the present invention (claim 12) is a decoding device for predictively decoding coded data obtained by predictively coding image data, for each frame using pixel value correlation between frames. A device, which is a device, performs a prediction process of predicting image data corresponding to a frame to be processed for each prediction block including a plurality of pixels that divide the frame, and a data prediction unit that generates predicted image data; A data decoding unit that decodes encoded data of a frame for each decoding block including a plurality of prediction blocks by using predicted image data corresponding to the decoding block is provided. is there.

【0060】本発明(請求項13)は、請求項12記載
の復号化装置において、上記データ予測部は、形状の異
なる複数種類の予測ブロックの各々に対応する予測画像
データを生成するデータ生成部を有し、上記画像データ
の予測符号化の際、形状の異なる複数種類の予測ブロッ
クに対応する予測画像データのうち、いずれの形状の予
測ブロックの予測画像データを選択したかを示すブロッ
ク識別情報に基づいて、所定の形状の予測ブロックに対
応する予測画像データを選択し、該選択した予測ブロッ
クの予測画像データにより上記復号化ブロックに対応す
る予測画像データを生成するものであることを特徴とす
るものである。
According to the present invention (claim 13), in the decoding device according to claim 12, the data predicting unit generates a predictive image data corresponding to each of a plurality of types of predictive blocks having different shapes. In predictive encoding of the image data, block identification information indicating which shape of the prediction image data of the prediction image data of the prediction image data corresponding to the plurality of types of prediction blocks having different shapes is selected. On the basis of the above, the predictive image data corresponding to the predictive block having a predetermined shape is selected, and the predictive image data corresponding to the decoding block is generated by the predictive image data of the selected predictive block. To do.

【0061】本発明(請求項14)は、請求項12記載
の復号化装置において、上記データ予測部は、形状の異
なる複数種類の予測ブロックの各々に対応する予測画像
データを生成するデータ生成部を有し、上記形状の異な
る複数種類の予測ブロックに対応する予測画像データ
を、上記復号化ブロックにおける各種予測ブロックの配
置パターンを示すブロック配置情報に基づいて組み合わ
せて、上記復号化ブロックに対応する予測画像データを
生成するものであることを特徴とするものである。
According to the present invention (claim 14), in the decoding device according to claim 12, the data prediction unit generates a predicted image data corresponding to each of a plurality of types of prediction blocks having different shapes. Corresponding to the decoding block by combining prediction image data corresponding to a plurality of types of prediction blocks having different shapes based on block arrangement information indicating an arrangement pattern of various prediction blocks in the decoding block. It is characterized by generating predicted image data.

【0062】本発明(請求項15)に係る復号化装置
は、画像データを予測符号化して得られた符号化データ
を、フレーム毎にフレーム間の画素値相関を用いて予測
復号化する復号化装置であって、処理対象フレームに対
応する画像データを予測する予測処理を、該フレームを
区分する複数の画素からなる第1予測ブロック毎に行っ
て第1の予測画像データを生成する第1のデータ予測部
と、上記処理対象フレームの符号化データを、複数の第
1予測ブロックからなる第1復号化ブロック毎に、該第
1復号化ブロックに対応する第1の予測画像データを用
いて復号化する第1のデータ復号化部とを有する第1の
予測復号化部と、処理対象フレームに対応する画像デー
タを予測する予測処理を、該フレームを区分する複数の
画素からなる第2予測ブロック毎に行って第2の予測画
像データを生成する第2のデータ予測部と、上記処理対
象フレームの符号化データを、上記第2予測ブロックを
区分する第2復号化ブロック毎に、該第2復号化ブロッ
クに対応する第2の予測画像データを用いて復号化する
第2のデータ復号化部とを有する第2の予測復号化部
と、外部からの指令信号に応じて、上記符号化データ
を、上記第1の予測復号化部及び第2の予測復号化部の
一方に供給する選択部とを備えたことを特徴とするもの
である。
A decoding apparatus according to the present invention (Claim 15) is a decoding apparatus for predictively decoding coded data obtained by predictively coding image data, for each frame using pixel value correlation between frames. A first device that performs prediction processing for predicting image data corresponding to a frame to be processed for each first prediction block including a plurality of pixels that partition the frame, and generates first prediction image data. Decoding the data prediction unit and the encoded data of the processing target frame for each first decoding block including a plurality of first prediction blocks using the first prediction image data corresponding to the first decoding block A first predictive decoding unit having a first data decoding unit for converting into a second predictive decoding unit including a plurality of pixels partitioning the frame, and a predictive process of predicting image data corresponding to a frame to be processed. A second data predicting unit that performs second prediction image data by performing each block, and coded data of the processing target frame for each second decoding block that divides the second prediction block A second predictive decoding unit having a second data decoding unit that decodes using the second predictive image data corresponding to the two decoding blocks, and the above-mentioned encoding according to a command signal from the outside. The present invention is characterized by including a selecting unit that supplies data to one of the first predictive decoding unit and the second predictive decoding unit.

【0063】本発明(請求項16)に係る復号化方法
は、画像データを予測符号化して得られた符号化データ
を、フレーム毎にフレーム間の画素値相関を用いて予測
復号化する復号化方法であって、処理対象フレームに対
応する画像データを予測する予測処理を、該フレームを
区分する複数の画素からなる予測ブロック毎に行って予
測画像データを生成する予測ステップと、上記処理対象
フレームの符号化データを、複数の予測ブロックからな
る復号化ブロック毎に、該復号化ブロックに対応する予
測画像データを用いて復号化する復号化ステップとを含
むことを特徴とするものである。
A decoding method according to the present invention (claim 16) is a decoding method for predictively decoding coded data obtained by predictively coding image data for each frame by using pixel value correlation between frames. A prediction step of performing prediction processing of predicting image data corresponding to a frame to be processed for each prediction block composed of a plurality of pixels for partitioning the frame, and a frame to be processed, And a decoding step of decoding the coded data of (1) for each decoding block including a plurality of prediction blocks using the prediction image data corresponding to the decoding block.

【0064】本発明(請求項17)は、請求項16記載
の復号化方法において、上記予測ステップは、形状の異
なる複数種類の予測ブロックの各々に対応する予測画像
データを生成するステップと、上記画像データの予測符
号化の際、形状の異なる複数種類の予測ブロックに対応
する予測画像データのうち、いずれの形状の予測ブロッ
クの予測画像データを選択したかを示すブロック識別情
報に基づいて、所定の形状の予測ブロックに対応する予
測画像データを選択するステップと、該選択した予測ブ
ロックの予測画像データにより上記復号化ブロックに対
応する予測画像データを生成するステップとを含むもの
であることを特徴とするものである。
According to the present invention (claim 17), in the decoding method according to claim 16, the predicting step includes a step of generating predictive image data corresponding to each of a plurality of types of predictive blocks having different shapes; At the time of predictive coding of image data, a predetermined value is determined based on block identification information indicating which shape of the predictive image data is selected from the predictive image data corresponding to a plurality of types of predictive blocks having different shapes. And a step of generating predicted image data corresponding to the decoded block from the predicted image data of the selected predicted block. It is a thing.

【0065】本発明(請求項18)は、請求項16記載
の復号化方法において、上記予測ステップは、形状の異
なる複数種類の予測ブロックの各々に対応する予測画像
データを生成するステップと、上記形状の異なる複数種
類の予測ブロックに対応する予測画像データを、上記復
号化ブロックにおける各種予測ブロックの配置パターン
を示すブロック配置情報に基づいて組み合わせて、上記
復号化ブロックに対応する予測画像データを生成するス
テップとを含むものであることを特徴とするものであ
る。
According to the present invention (claim 18), in the decoding method according to claim 16, the predicting step generates predictive image data corresponding to each of a plurality of types of predictive blocks having different shapes, and Prediction image data corresponding to a plurality of types of prediction blocks having different shapes are combined based on block arrangement information indicating an arrangement pattern of various prediction blocks in the decoding block to generate prediction image data corresponding to the decoding block. And a step of performing.

【0066】[0066]

【発明の実施の形態】以下、本発明の実施の形態につい
て説明する。 (実施の形態1)図1は本発明の実施の形態1による符
号化装置を説明するためのブロック図である。この実施
の形態1の符号化装置100aは、動き補償を行うデー
タ単位を、DCT処理を行うデータ単位より小さい単位
としたものである。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below. (Embodiment 1) FIG. 1 is a block diagram for explaining an encoding apparatus according to Embodiment 1 of the present invention. In the coding apparatus 100a of the first embodiment, the data unit for motion compensation is smaller than the data unit for DCT processing.

【0067】つまり、この符号化装置100aは、図1
7に示す従来の符号化装置700の16×16ブロック
分割器701とは異なり、ビデオ信号として入力された
各フレームの画像データを、縦方向及び横方向の画素数
がそれぞれ4である4×4画素ブロックに対応するよう
分割する第1の4×4ブロック分割器101と、上記符
号化装置700の動き補償器711とは異なり、4×4
画素ブロック毎に動き検出を行って、各4×4画素ブロ
ックに対する動きベクトル124と、該各4×4画素ブ
ロックに対する予測データ(以下4×4予測参照ブロッ
クのデータともいう。)126とを出力する動き補償部
111とを有している。
That is, the encoding apparatus 100a is similar to that shown in FIG.
Unlike the 16 × 16 block divider 701 of the conventional encoding apparatus 700 shown in FIG. 7, the image data of each frame input as a video signal is 4 × 4 in which the number of pixels in the vertical and horizontal directions is 4, respectively. Unlike the first 4 × 4 block divider 101 that divides to correspond to a pixel block and the motion compensator 711 of the encoding device 700, 4 × 4.
Motion detection is performed for each pixel block, and a motion vector 124 for each 4 × 4 pixel block and prediction data (hereinafter also referred to as 4 × 4 prediction reference block data) 126 for each 4 × 4 pixel block are output. Motion compensation section 111.

【0068】上記符号化装置100aは、4×4ブロッ
ク分割器101の出力121である4×4画素ブロック
のデータから、4×4予測参照ブロックのデータ126
を減算する処理を行って、4×4画素ブロックに対応す
る差分データ(以下、4×4予測誤差ブロックのデータ
ともいう。)127を出力する減算器102と、該減算
器102の出力127に基づいて、4つの4×4画素ブ
ロックからなる8×8画素ブロックに対応する差分デー
タ(以下、8×8予測誤差ブロックのデータ)122を
生成する8×8ブロック構成器103とを有している。
The encoding apparatus 100a uses the data 121 of the 4 × 4 pixel block which is the output 121 of the 4 × 4 block divider 101 to the data 126 of the 4 × 4 prediction reference block.
To a subtractor 102 that outputs difference data (hereinafter, also referred to as 4 × 4 prediction error block data) 127 corresponding to the 4 × 4 pixel block, and an output 127 of the subtractor 102. And an 8 × 8 block configurator 103 for generating difference data (hereinafter, 8 × 8 prediction error block data) 122 corresponding to an 8 × 8 pixel block composed of four 4 × 4 pixel blocks. There is.

【0069】上記符号化装置100aは、8×8予測誤
差ブロックのデータ122に対してDCT処理を施すD
CT器104と、該DCT器104の出力114に対し
て所定の量子化ステップでもって量子化処理を施す量子
化器105と、該量子化器105の出力123に対して
可変長符号化処理を施し、該可変長符号化処理により得
られる符号化データに、上記動き補償部111からの動
きベクトル124の符号を付加して、符号化データ列B
s1を出力する可変長符号化器106とを有している。
The encoding apparatus 100a performs the DCT process on the data 122 of the 8 × 8 prediction error block D.
The CT unit 104, the quantizer 105 that performs a quantization process on the output 114 of the DCT unit 104 with a predetermined quantization step, and the variable length coding process on the output 123 of the quantizer 105. Then, the code of the motion vector 124 from the motion compensating unit 111 is added to the coded data obtained by the variable length coding process, and the coded data string B is added.
The variable length encoder 106 that outputs s1.

【0070】上記符号化装置100aは、上記量子化器
105の出力123に対して逆量子化処理を施す逆量子
化器107と、該逆量子化器107の出力115に対し
て逆DCT処理を施して、8×8予測誤差ブロックの復
号データ128を生成する逆DCT器108とを有して
いる。
The encoding apparatus 100a performs an inverse quantizer 107 on the output 123 of the quantizer 105 and an inverse DCT process on the output 115 of the inverse quantizer 107. And an inverse DCT unit 108 for generating decoded data 128 of 8 × 8 prediction error block.

【0071】そして、上記符号化装置100aは、図1
7に示す符号化装置700の16×16ブロック分割器
701とは異なり、上記8×8予測誤差ブロックの復号
データ128を、該8×8予測誤差ブロックを区分する
4つの4×4予測誤差ブロックに対応するよう分割し
て、4×4予測誤差ブロックの復号データ129を出力
する第2の4×4ブロック分割器112を有している。
The encoding apparatus 100a is the same as that shown in FIG.
Unlike the 16 × 16 block divider 701 of the encoding apparatus 700 shown in FIG. 7, the decoded data 128 of the 8 × 8 prediction error block is divided into four 4 × 4 prediction error blocks that partition the 8 × 8 prediction error block. And a second 4 × 4 block divider 112 that outputs the decoded data 129 of the 4 × 4 prediction error block.

【0072】また、上記符号化装置100aは、4×4
予測誤差ブロックの復号データ129と、上記4×4予
測参照ブロックのデータ126とを加算して、4×4画
素ブロックに対応する復号データ(以下、4×4復号ブ
ロックのデータともいう。)130を出力する加算器1
09と、4×4復号ブロックのデータ130を、処理対
象フレームの次のフレームに対する予測符号化の際に参
照する参照フレームのデータとして格納する参照フレー
ムメモリ110とを有している。
Further, the encoding device 100a is 4 × 4.
The decoded data 129 of the prediction error block and the data 126 of the 4 × 4 prediction reference block are added to obtain decoded data corresponding to a 4 × 4 pixel block (hereinafter, also referred to as 4 × 4 decoded block data) 130. Adder 1 that outputs
09 and a reference frame memory 110 for storing the data 130 of the 4 × 4 decoded block as the data of the reference frame to be referred to at the time of predictive encoding for the frame next to the processing target frame.

【0073】なお、この実施の形態1の符号化装置10
0aのDCT器104,量子化器105、逆量子化器1
07、逆DCT器108、可変長符号化器106はそれ
ぞれ、図17に示す従来の符号化装置700におけるD
CT器704,量子化器705,逆量子化器707,逆
DCT器708,可変長符号化器706と全く同一のも
のである。
The coding apparatus 10 according to the first embodiment
0a DCT device 104, quantizer 105, inverse quantizer 1
07, the inverse DCT unit 108, and the variable-length encoder 106 are respectively D in the conventional encoding device 700 shown in FIG.
The CT unit 704, the quantizer 705, the inverse quantizer 707, the inverse DCT unit 708, and the variable length encoder 706 are exactly the same.

【0074】次に動作について説明する。この実施の形
態1の符号化装置100aには、ビデオ信号が画像デー
タIdとして入力されると、第1の4×4ブロック分割
器101は、処理対象となるフレームに対応する画像デ
ータIdを、4×4画素ブロックに対応するよう分割し
て、4×4画素ブロックのデータ121を出力する。動
き補償部111は、4×4画素ブロックのデータ121
に基づいて、参照フレームメモリ110に格納されてい
る参照フレームの画像データを参照して動き検出を行っ
て、処理対象となる4×4画素ブロックに対応する動き
ベクトル124、及び該4×4画素ブロックに対応する
予測データ(4×4予測参照ブロックのデータ)126
を出力する。この実施の形態1では、動き補償部111
での動き検出は、4×4画素ブロックを単位として行う
点で、従来の符号化装置700の動き補償部711での
動き検出と異なる。
Next, the operation will be described. When a video signal is input as image data Id to the encoding device 100a according to the first embodiment, the first 4 × 4 block divider 101 outputs the image data Id corresponding to the frame to be processed. The data 121 of the 4 × 4 pixel block is output after being divided so as to correspond to the 4 × 4 pixel block. The motion compensation unit 111 uses the data 121 of the 4 × 4 pixel block.
The motion vector 124 corresponding to the 4 × 4 pixel block to be processed by referring to the image data of the reference frame stored in the reference frame memory 110, and the 4 × 4 pixel Prediction data (4 × 4 prediction reference block data) 126 corresponding to the block
Is output. In the first embodiment, the motion compensation unit 111
The motion detection in 1 is different from the motion detection in the motion compensation unit 711 of the conventional encoding device 700 in that it is performed in units of 4 × 4 pixel blocks.

【0075】減算器102は、4×4画素ブロックのデ
ータ121から4×4予測参照ブロックのデータ126
を減算する減算処理を行い、該減算処理により得られた
4×4画素ブロックに対応する差分データ(4×4予測
誤差ブロックのデータ)127を出力する。上記減算処
理は、上記4×4画素ブロックと4×4予測参照ブロッ
クの、対応する画素の画素レベルをそれぞれ減算する処
理である。
The subtractor 102 uses the data 121 of the 4 × 4 pixel block to the data 126 of the 4 × 4 prediction reference block.
Is performed, and difference data (4 × 4 prediction error block data) 127 corresponding to the 4 × 4 pixel block obtained by the subtraction process is output. The subtraction process is a process of subtracting the pixel levels of the corresponding pixels of the 4 × 4 pixel block and the 4 × 4 prediction reference block.

【0076】上記4×4予測誤差ブロックのデータ12
7が8×8ブロック構成器103に入力されると、4つ
の4×4予測誤差ブロックデータ127から8×8予測
誤差ブロックのデータ122を生成する。
Data 12 of the 4 × 4 prediction error block
When 7 is input to the 8 × 8 block construction unit 103, data 122 of 8 × 8 prediction error block is generated from four 4 × 4 prediction error block data 127.

【0077】図2は、フレームと各ブロックとの関係を
示す図である。ここでは、1つのフレームFのサイズ、
つまりフレームFの水平方向及び垂直方向の画素数は3
2である。例えば、図2(a)に示すように、第1の4×
4ブロック分割器101により得られた4つの4×4画
素ブロックBL4a〜BL4dのデータは、上記フレームF
における1つの8×8画素ブロックBL8のデータに対
応する。また、各4×4画素ブロックBL4a〜BL4d
は、4×4予測誤差ブロックBLp4a〜BLp4d(図2
(b))に対応しており、これらの4つの4×4予測誤差
ブロックBLp4a〜BLp4dから1つの8×8予測誤差ブ
ロックBLp8が構成される。
FIG. 2 is a diagram showing the relationship between a frame and each block. Here, the size of one frame F,
That is, the number of pixels in the horizontal and vertical directions of the frame F is 3
It is 2. For example, as shown in FIG. 2 (a), the first 4 ×
The data of the four 4 × 4 pixel blocks BL4a to BL4d obtained by the four-block divider 101 is the frame F.
Corresponds to the data of one 8 × 8 pixel block BL8. Also, each 4 × 4 pixel block BL4a to BL4d
Is a 4 × 4 prediction error block BLp4a to BLp4d (see FIG. 2).
It corresponds to (b)), and one 8 × 8 prediction error block BLp8 is formed from these four 4 × 4 prediction error blocks BLp4a to BLp4d.

【0078】上記8×8予測誤差ブロックのデータ12
2がDCT器104に入力されると、DCT器104
は、8×8予測誤差ブロックのデータ122に対して2
次元離散コサイン変換(DCT)処理を施し、8×8予
測誤差ブロックに対応する複数のDCT係数からなるD
CT係数データ114を出力する。量子化器105は、
DCT係数データ114に基づいて、8×8予測誤差ブ
ロックの各DCT係数を所定の量子化ステップで量子化
し、8×8予測誤差ブロックに対応する複数の量子化係
数からなる量子化係数データ123を出力する。この8
×8予測誤差ブロックに対応する複数の量子化係数は2
次元の配列を有している。
Data 12 of the above 8 × 8 prediction error block
2 is input to the DCT device 104, the DCT device 104
Is 2 for the data 122 of the 8 × 8 prediction error block.
D, which has been subjected to a three-dimensional discrete cosine transform (DCT) process and which is composed of a plurality of DCT coefficients corresponding to 8 × 8 prediction error blocks
The CT coefficient data 114 is output. The quantizer 105
Based on the DCT coefficient data 114, each DCT coefficient of the 8 × 8 prediction error block is quantized in a predetermined quantization step, and the quantized coefficient data 123 including a plurality of quantized coefficients corresponding to the 8 × 8 prediction error block is quantized. Output. This 8
The plurality of quantized coefficients corresponding to the × 8 prediction error block is 2
It has an array of dimensions.

【0079】可変長符号化器106は、量子化係数デー
タ123に基づいて、8×8予測誤差ブロックに対応す
る、2次元の配列を有する複数の量子化係数123を一
次元の配列の量子化係数に変換されるようスキャニング
し、該スキャニングにより得られた1次元の配列を有す
る量子化係数を、可変長符号を用いて符号化する可変長
符号化処理を行う。この際、可変長符号化器106は、
動き補償部111によって得られた動きベクトル124
の符号化処理も行う。そして可変長符号化器106は、
量子化係数の符号化データとともに動きベクトル124
の符号を含む符号化データ列Bs1を出力する。
Based on the quantized coefficient data 123, the variable-length encoder 106 quantizes a plurality of quantized coefficients 123 having a two-dimensional array corresponding to the 8 × 8 prediction error block into a one-dimensional array. A variable length coding process is performed in which scanning is performed so as to be converted into a coefficient, and the quantized coefficient having the one-dimensional array obtained by the scanning is coded using a variable length code. At this time, the variable length encoder 106
Motion vector 124 obtained by motion compensation unit 111
Is also encoded. Then, the variable length encoder 106
The motion vector 124 together with the encoded data of the quantized coefficient
The encoded data string Bs1 including the code of is output.

【0080】また、8×8予測誤差ブロックの量子化係
数データ123が逆量子化器107に入力されると、逆
量子化器107は、量子化器105で用いた量子化ステ
ップを用いて、量子化係数データ123に対する逆量子
化処理を行って、8×8予測誤差ブロックの、複数のD
CT係数からなるDCT係数データ115を復元する。
8×8予測誤差ブロックのDCT係数データ115が逆
DCT器108に入力されると、逆DCT器108は、
8×8予測誤差ブロックのDCT係数データ115に対
して2次元逆DCT変換処理を施して、8×8予測誤差
ブロックの復号データ128を出力する。
When the quantized coefficient data 123 of the 8 × 8 prediction error block is input to the inverse quantizer 107, the inverse quantizer 107 uses the quantization step used in the quantizer 105 to Inverse quantization processing is performed on the quantized coefficient data 123, and a plurality of D of 8 × 8 prediction error blocks
The DCT coefficient data 115 composed of CT coefficients is restored.
When the DCT coefficient data 115 of the 8 × 8 prediction error block is input to the inverse DCT device 108, the inverse DCT device 108
The DCT coefficient data 115 of the 8 × 8 prediction error block is subjected to a two-dimensional inverse DCT transform process, and decoded data 128 of the 8 × 8 prediction error block is output.

【0081】8×8予測誤差ブロックの復号データ12
8が、第2の4×4ブロック分割器112に入力される
と、第2の4×4ブロック分割器112は、8×8予測
誤差ブロックの復号データ128を、第1の4×4ブロ
ック分割器101でのフレームの分割により得られる4
×4画素ブロックに対応するよう分割して、4×4予測
誤差ブロックに対応する復号データ129を出力する
Decoded data 12 of 8 × 8 prediction error block
When 8 is input to the second 4 × 4 block divider 112, the second 4 × 4 block divider 112 outputs the decoded data 128 of the 8 × 8 prediction error block to the first 4 × 4 block. 4 obtained by dividing the frame by the divider 101
Divide into 4 × 4 pixel blocks and output decoded data 129 corresponding to 4 × 4 prediction error blocks.

【0082】加算器109は、4×4予測誤差ブロック
のデータ129と4×4予測参照ブロックのデータ12
6とを加算する加算処理を行って、4×4画素ブロック
の復号データ130を出力する。ここで、上記加算処理
は、予測誤差ブロックと予測参照ブロックの間で対応す
る画素の画素レベルを加算する処理を画素毎に行うもの
である。
The adder 109 uses the data 129 of the 4 × 4 prediction error block and the data 12 of the 4 × 4 prediction reference block.
An addition process of adding 6 and 6 is performed and decoded data 130 of a 4 × 4 pixel block is output. Here, in the addition processing, processing for adding pixel levels of corresponding pixels between the prediction error block and the prediction reference block is performed for each pixel.

【0083】そして、上記加算器109から出力された
4×4画素ブロックの復号データ130は、対象フレー
ムの次のフレームに対する予測符号化の際に参照する参
照フレームのデータとして参照フレームメモリ110に
格納される。
Then, the decoded data 130 of the 4 × 4 pixel block output from the adder 109 is stored in the reference frame memory 110 as the data of the reference frame to be referred to in the predictive coding for the next frame of the target frame. To be done.

【0084】このように本実施の形態1では、動き補償
を4×4画素からなるブロックを単位として行い、DC
T処理を8×8画素からなるブロックを単位として行う
ので、細かな動き検出を行うことができ、しかも、ブロ
ックサイズが小さくなると圧縮効率が低下するDCT処
理での圧縮効率の低下を回避することができる。特に、
入力画像データの画像サイズが小さい場合は、動き検出
の精度を高めることにより予測効率を向上し、少ないビ
ット量でより効率的に画像データを圧縮することが可能
となる。
As described above, according to the first embodiment, motion compensation is performed in units of blocks of 4 × 4 pixels, and DC
Since the T process is performed in blocks of 8 × 8 pixels, fine motion detection can be performed, and further, the compression efficiency is reduced when the block size is reduced. It is possible to avoid a decrease in compression efficiency in the DCT process. You can In particular,
When the image size of the input image data is small, it is possible to improve the prediction efficiency by increasing the accuracy of motion detection and compress the image data more efficiently with a small bit amount.

【0085】なお、上記実施の形態1では、動き補償を
行う単位を4×4画素からなるブロック、DCT処理を
行う単位として8×8画素からなるブロックとしたが、
動き補償及びDCT処理を行う単位は、上記実施の形態
1のものに限定されるものでなく、DCT処理を行う単
位であるブロックは、動き補償を行う単位であるブロッ
クを複数まとめて得られるものであればよい。
In the first embodiment, the unit of motion compensation is a block of 4 × 4 pixels and the unit of DCT processing is a block of 8 × 8 pixels.
The unit for performing motion compensation and DCT processing is not limited to that of the first embodiment, and the block for performing DCT processing is obtained by collecting a plurality of blocks for performing motion compensation. If

【0086】例えば、動き補償を行う単位を2×8画素
からなるブロック(2×8画素ブロック)とし、DCT
処理をこれら4つ2×8画素ブロックを合わせた8×8
画素からなるブロック(8×8画素ブロック)単位とし
て行ってもよい。
For example, the unit for motion compensation is a block consisting of 2 × 8 pixels (2 × 8 pixel block), and the DCT
The processing is 8 × 8, which is a combination of these 4 2 × 8 pixel blocks.
You may perform by the block (8x8 pixel block) which consists of a pixel.

【0087】また、上記実施の形態1では、DCT処理
を、4個の動き補償の単位毎に行う場合を示したが、D
CT処理の単位はこれに限定されるものではなく、DC
T処理は、複数個の動き補償の単位毎に行うものであれ
ばよい。
Further, although the case where the DCT processing is performed for every four units of motion compensation has been shown in the first embodiment, D
The unit of CT processing is not limited to this, but DC
The T process may be performed for each of a plurality of motion compensation units.

【0088】さらに、上記実施の形態1では、画像デー
タの周波数変換処理としてDCTを用いているが、画像
データの周波数変換処理はこれに限定されるものではな
く、例えばアダマール変換など何でも構わない。
Furthermore, in the first embodiment, the DCT is used as the frequency conversion processing of the image data, but the frequency conversion processing of the image data is not limited to this, and any method such as Hadamard conversion may be used.

【0089】また、上記実施の形態1では、DCT係数
の量子化処理は、DCT器104の出力114である8
×8予測誤差ブロックの複数のDCT係数を、各DCT
係数毎に量子化する処理としているが、DCT係数の量
子化処理は、上記実施の形態1のものに限らず、例え
ば、ベクトル量子化であってもよい。
In the first embodiment, the DCT coefficient quantization process is the output 114 of the DCT unit 104.
A plurality of DCT coefficients of the × 8 prediction error block are set to each DCT.
Although the quantization processing is performed for each coefficient, the DCT coefficient quantization processing is not limited to that in the first embodiment, and may be vector quantization, for example.

【0090】具体的には、DCT係数のベクトル量子化
は、1つの8×8予測誤差ブロックに対応する複数のD
CT係数を、これらのDCT係数の値を成分とする1つ
のベクトルで示し、該8×8予測誤差ブロックに対応す
るベクトルを、予め、値が決められた成分を有する複数
のベクトルの1つで近似するという処理である。
Specifically, the vector quantization of the DCT coefficient is performed by a plurality of Ds corresponding to one 8 × 8 prediction error block.
The CT coefficient is represented by one vector whose components are the values of these DCT coefficients, and the vector corresponding to the 8 × 8 prediction error block is one of a plurality of vectors having components whose values are predetermined. This is a process of approximating.

【0091】このようなベクトル量子化処理も、上記実
施の形態1の量子化処理と同様、4つの4×4予測誤差
ブロックからなる8×8予測誤差ブロックを単位として
行なわれる。
Such vector quantization processing is also carried out in units of 8 × 8 prediction error blocks consisting of four 4 × 4 prediction error blocks, as in the quantization processing of the first embodiment.

【0092】なお、オーム社発行の「先端技術の手ほど
きシリーズ」(画像情報圧縮 テレビジョン学会編 原
島博監修 H3.8.25)のP116-138(第6章 ベクトル量
子化の考え方)には、具体的なベクトル量子化の方法が
記載されている。
Note that P116-138 (Chapter 6 Concept of Vector Quantization) in "Introduction to Advanced Technology" series published by Ohmsha (H3.8.25 supervised by Hiroshi Harashima edited by the Image Information Compression Television Society of Japan) Various vector quantization methods are described.

【0093】(実施の形態2)図3は本発明の実施の形
態2による符号化装置を説明するためのブロック図であ
る。この実施の形態2の符号化装置100bは、実施の
形態1と同様、ビデオ信号として入力された画像データ
に対する予測符号化の際、動き補償を、DCT処理を行
う単位より小さい単位で行うものであるが、この実施の
形態2の符号化装置100bは、上記予測符号化の際
に、2つの動き補償モードを適応的に切り替える点で、
上記実施の形態1の符号化装置100aと異なってい
る。
(Second Embodiment) FIG. 3 is a block diagram for explaining an encoding apparatus according to the second embodiment of the present invention. Like the first embodiment, the encoding device 100b according to the second embodiment performs motion compensation in units smaller than the unit for performing DCT processing when predictive encoding of image data input as a video signal. However, the coding apparatus 100b according to the second embodiment is adaptive in switching between the two motion compensation modes during the predictive coding.
This is different from the encoding device 100a of the first embodiment.

【0094】すなわち、この実施の形態2の符号化装置
100bは、実施の形態1の、入力された各フレームの
画像データを4×4画素ブロックに対応するデータに分
割する第1の4×4ブロック分割器101に加えて、入
力された各フレームの画像データを、横方向の画素数が
2で、縦方向の画素数が8である2×8画素ブロックに
対応するデータに分割する2×8ブロック分割器201
を有している。
That is, the coding apparatus 100b according to the second embodiment divides the image data of each input frame according to the first embodiment into data corresponding to a 4 × 4 pixel block, which is the first 4 × 4. In addition to the block divider 101, the input image data of each frame is divided into data corresponding to a 2 × 8 pixel block in which the number of pixels in the horizontal direction is 2 and the number of pixels in the vertical direction is 8 × 2 × 8 block divider 201
have.

【0095】上記符号化装置100bは、4×4画素ブ
ロックに対応するデータ121を単位として動き検出を
行って、4×4画素ブロックに対する動きベクトル12
4と4×4画素ブロックに対応する予測参照データ(4
×4予測参照ブロックのデータ)126とを出力する実
施の形態1の動き補償部111に加えて、2×8画素ブ
ロックに対応するデータを単位として動き検出を行っ
て、2×8画素ブロックに対する動きベクトル224と
該2×8画素ブロックに対応する予測参照データ(2×
8予測参照ブロックのデータ)226とを出力する動き
補償部211とを有している。
The coding apparatus 100b performs motion detection in units of the data 121 corresponding to the 4 × 4 pixel block, and the motion vector 12 for the 4 × 4 pixel block.
The prediction reference data (4
In addition to the motion compensating unit 111 according to the first embodiment that outputs (data of a × 4 prediction reference block) 126, motion detection is performed in units of data corresponding to a 2 × 8 pixel block, and The motion vector 224 and prediction reference data (2 × 8) corresponding to the 2 × 8 pixel block
8 prediction reference block data) 226 and the motion compensation unit 211.

【0096】上記符号化装置100bは、4×4ブロッ
ク分割器101の出力である4×4画素ブロックのデー
タから、4×4予測参照ブロックのデータ126を減算
する処理を行って、4×4画素ブロックの差分データ
(予測誤差ブロックのデータ)127を出力する実施の
形態1の減算器102に加えて、2×8ブロック分割器
201の出力である2×8画素ブロックのデータから2
×8予測参照ブロックのデータ226を減算する処理を
行って、2×8画素ブロックの差分データ(予測誤差ブ
ロックのデータ)227を出力する減算器202を有し
ている。
The encoding apparatus 100b performs a process of subtracting the data 126 of the 4x4 prediction reference block from the data of the 4x4 pixel block which is the output of the 4x4 block divider 101, thereby performing 4x4. In addition to the subtractor 102 of the first embodiment that outputs the pixel block difference data (prediction error block data) 127, 2 from the 2 × 8 pixel block data output from the 2 × 8 block divider 201.
It has a subtracter 202 that performs a process of subtracting the data 226 of the × 8 prediction reference block and outputs difference data (data of the prediction error block) 227 of the 2 × 8 pixel block.

【0097】上記符号化装置100bは、上記減算器1
02の出力(4×4予測誤差ブロックのデータ)127
と上記減算器202の出力(2×8予測誤差ブロックの
データ)227とに基づいて、2つの動き補償モード
(4×4画素ブロック単位の動き補償と2×8画素ブロ
ック単位の動き補償モード)のうちの一つを選択し、モ
ードを識別する動き補償モード識別信号(以下、評価信
号ともいう。)240を出力する評価器231を有して
いる。
The encoding device 100b has the subtracter 1
02 output (4 × 4 prediction error block data) 127
And two outputs of the subtracter 202 (2 × 8 prediction error block data) 227, two motion compensation modes (4 × 4 pixel block unit motion compensation and 2 × 8 pixel block unit motion compensation mode) It has an evaluator 231 which selects one of the above and outputs a motion compensation mode identification signal (hereinafter also referred to as an evaluation signal) 240 for identifying the mode.

【0098】上記評価器231での動き補償モードの選
択は、具体的には、符号化効率を尺度として行なわれ
る。例えば、4×4予測誤差ブロックにおける画素レベ
ルの分散値と2×8予測誤差ブロックにおける画素レベ
ルの分散値とを比較し、分散値の小さい予測誤差ブロッ
クを用いるモードが選択される。
The selection of the motion compensation mode by the evaluator 231 is specifically performed by using the coding efficiency as a criterion. For example, the dispersion value of the pixel level in the 4 × 4 prediction error block is compared with the dispersion value of the pixel level in the 2 × 8 prediction error block, and the mode using the prediction error block with the small dispersion value is selected.

【0099】なお、ここでは動き補償モードを選択する
尺度として、予測誤差ブロックにおける画素レベルの分
散値を用いたが、動き補償モードを選択する尺度は、こ
れに限定されるものではなく、符号化効率(つまり同じ
符号量で得られる画質の高さを示すもの)に対応した尺
度であればどのようなものでもよい。符号化効率が高い
ということは、少ない符号量でより高い画質の再生画像
が得られることである。
Although the pixel-level variance value in the prediction error block is used as the measure for selecting the motion compensation mode here, the measure for selecting the motion compensation mode is not limited to this. Any scale may be used as long as it is a scale corresponding to efficiency (that is, one indicating the high image quality obtained with the same code amount). High coding efficiency means that a reproduced image with higher image quality can be obtained with a small code amount.

【0100】さらに、符号化効率を示す尺度としては、
予測誤差ブロックの画素レベルの絶対値和を用いても、
あるいは、画像データのDCTなどの変換処理を行って
得られた変換係数の分布を用いてもよい。例えば、画像
データのDCT処理により得られた複数のDCT係数
(周波数成分)は、低周波数側への集中度が高いほど符
号化効率が高いことを示すものである。
Further, as a measure showing the coding efficiency,
Even if the sum of absolute pixel level of the prediction error block is used,
Alternatively, a distribution of transform coefficients obtained by performing transform processing such as DCT of image data may be used. For example, the plurality of DCT coefficients (frequency components) obtained by the DCT processing of image data indicate that the higher the degree of concentration on the low frequency side, the higher the coding efficiency.

【0101】また、動き補償モードを選択する尺度とし
て、DCT係数を量子化して得られた量子化係数を可変
長符号化したときに発生する符号量を用いてもよい。こ
の尺度は、DCT係数に対する量子化の際の量子化ステ
ップが同一であっても、符号量が少ない動き補償モード
ほど、符号化効率は高いことを示すことを利用するもの
である。
As a measure for selecting the motion compensation mode, the code amount generated when variable length coding is performed on the quantized coefficient obtained by quantizing the DCT coefficient may be used. This measure uses that the coding efficiency is higher in a motion compensation mode with a smaller code amount even if the quantization step in the quantization with respect to the DCT coefficient is the same.

【0102】また、動き補償モードを選択する尺度とし
て、予測誤差ブロックのエントロピー、つまり画素レベ
ルのばらつきを用いてもよい。また、動き補償モードを
選択する尺度として、動きベクトルの大きさを用いても
よい。これは、予測誤差ブロックの動きベクトルが小さ
いほど、高い符号化効率での符号化が可能となるからで
ある。
As a measure for selecting the motion compensation mode, the entropy of the prediction error block, that is, the pixel level variation may be used. Also, the magnitude of the motion vector may be used as a measure for selecting the motion compensation mode. This is because the smaller the motion vector of the prediction error block is, the higher the coding efficiency can be.

【0103】また、動き補償モードは、フレームにおけ
る、処理対象となる4×4画素ブロックの周辺に位置す
る4×4画素ブロックの動きベクトルの大きさに従って
決定してもよい。動きのある物体内に位置する複数のブ
ロックは、ほぼ同じ動きをしていることから、それぞれ
のブロックの動きベクトルは近い値となることが多い。
Also, the motion compensation mode may be determined according to the magnitude of the motion vector of the 4 × 4 pixel block located around the 4 × 4 pixel block to be processed in the frame. Since a plurality of blocks located in a moving object have almost the same motion, the motion vector of each block often has a close value.

【0104】従って、処理対象となるブロック(対象ブ
ロック)が、その周辺に位置するブロック(周辺ブロッ
ク)の動きベクトルの値に近い値を有する動きベクトル
をもつ場合は、ブロックの動き検出が高い精度で行なわ
れていると考えられ、符号化効率が高くなると判断でき
る。また、対象ブロックの動きベクトルとして、該対象
ブロックの動きベクトルと周辺ブロックの動きベクトル
との差分ベクトルを符号化処理する場合は、差分ベクト
ルの値が小さい動き補償モードほど符号化効率は高いと
判断できる。さらには、符号化効率の尺度としては、上
述した複数の尺度を組み合わせて用いてもよい。
Therefore, when the block to be processed (target block) has a motion vector having a value close to the value of the motion vector of the block (peripheral block) located in the periphery of the block, the motion detection of the block is highly accurate. Therefore, it can be determined that the coding efficiency is improved. Further, when the difference vector between the motion vector of the target block and the motion vector of the peripheral block is coded as the motion vector of the target block, it is determined that the smaller the value of the difference vector is, the higher the coding efficiency is. it can. Furthermore, as a measure of the coding efficiency, a combination of the above-mentioned plurality of measures may be used.

【0105】また、上記実施の形態2の符号化装置10
0bは、上記減算器102の出力127と上記減算器2
02の出力227に基づいて、上記評価器231からの
評価信号240に応じて、8×8予測誤差ブロックのデ
ータ222を生成する8×8ブロック構成器232を有
している。
Further, the coding apparatus 10 of the above-mentioned second embodiment
0b is the output 127 of the subtractor 102 and the subtractor 2
It has an 8 × 8 block construction unit 232 which generates 8 × 8 prediction error block data 222 in accordance with the evaluation signal 240 from the evaluator 231 based on the output 227 of 02.

【0106】上記符号化装置100bは、8×8予測誤
差ブロックのデータ222に対してDCT処理を施すD
CT器104と、該DCT器104の出力114に対し
て所定の量子化ステップでもって量子化処理を施す量子
化器105と、該量子化器105の出力123に対する
可変長符号化処理を行い、該可変長符号化により得られ
る符号化データに、上記動き補償部111,211から
の動きベクトル124,224の符号、及び上記評価器
231からの評価信号240の符号を付加して、符号化
データ列Bs2を出力する可変長符号化器206とを有し
ている。
The encoding apparatus 100b performs DCT processing on the data 222 of the 8 × 8 prediction error block D
A CT unit 104, a quantizer 105 that performs a quantization process on an output 114 of the DCT unit 104 with a predetermined quantization step, and a variable length coding process on an output 123 of the quantizer 105, The coded data obtained by adding the code of the motion vectors 124 and 224 from the motion compensators 111 and 211 and the code of the evaluation signal 240 from the evaluator 231 to the coded data obtained by the variable length coding. A variable length encoder 206 that outputs the sequence Bs2.

【0107】上記符号化装置100bは、上記量子化器
105の出力123に対して逆量子化処理を施す逆量子
化器107と、該逆量子化器107の出力115に対し
て逆DCT処理を施して8×8予測誤差ブロックの復号
データ128を出力する逆DCT器108とを有してい
る。
The encoding apparatus 100b performs an inverse DCT process on the output 123 of the quantizer 105 and an inverse quantizer 107 which performs an inverse quantization process on the output 123 of the inverse quantizer 107. The inverse DCT unit 108 outputs the decoded data 128 of the 8 × 8 prediction error block.

【0108】そして、上記符号化装置100bは、上記
評価器231からの評価信号240に従って、8×8予
測誤差ブロックの復号データ128を、4×4予測誤差
ブロックあるいは2×8予測誤差ブロックに対応するよ
う分割して、4×4予測誤差ブロックの復号データ22
9aあるいは2×8予測誤差ブロックの復号データ22
9bを出力するブロック分割器233を有している。
Then, the encoding device 100b corresponds the decoded data 128 of the 8 × 8 prediction error block to the 4 × 4 prediction error block or the 2 × 8 prediction error block according to the evaluation signal 240 from the evaluator 231. And the decoded data 22 of the 4 × 4 prediction error block
Decoded data 22 of 9a or 2 × 8 prediction error block
It has a block divider 233 that outputs 9b.

【0109】上記符号化装置100bは、上記評価器2
31からの評価信号240に基づいて、上記動き補償部
111の出力126と動き補償部211の出力226の
一方を選択して出力する選択器234と、該選択器23
4の出力126あるいは226と上記ブロック分割器2
33の出力229aあるいは229bとを加算して出力
する加算器209と、該加算器209の出力である4×
4画素ブロックに対応する復号データ(以下、4×4復
号ブロックのデータともいう。)230aあるいは2×
8画素ブロックに対応する復号データ(以下、2×8復
号ブロックのデータともいう。)230bを、対象フレ
ームの次のフレームの予測符号化の際に参照する参照フ
レームのデータとして格納する参照フレームメモリ11
0とを有している。
The encoding device 100b has the evaluator 2
A selector 234 for selecting and outputting one of the output 126 of the motion compensating section 111 and the output 226 of the motion compensating section 211 based on the evaluation signal 240 from 31 and the selector 23.
4 output 126 or 226 and the block divider 2
33 output 229a or 229b is added and output, and 4 × which is the output of the adder 209
Decoded data corresponding to a 4-pixel block (hereinafter, also referred to as 4 × 4 decoded block data) 230a or 2 ×
A reference frame memory that stores decoded data (hereinafter, also referred to as 2 × 8 decoded block data) 230b corresponding to an 8-pixel block as data of a reference frame to be referred to in predictive coding of a frame next to a target frame. 11
It has 0 and.

【0110】なお、この実施の形態2の符号化装置10
0bの4×4ブロック分割器101,減算器102,動
き補償器111,DCT器104,量子化器105、逆
量子化器107,逆DCT器108,可変長符号化器1
06はそれぞれ、図1に示す実施の形態1のものと全く
同一のものである。
The coding apparatus 10 according to the second embodiment
0b 4 × 4 block divider 101, subtractor 102, motion compensator 111, DCT device 104, quantizer 105, inverse quantizer 107, inverse DCT device 108, variable length encoder 1
Each of 06 is exactly the same as that of the first embodiment shown in FIG.

【0111】次に動作について説明する。この実施の形
態2の符号化装置100bに、ビデオ信号が画像データ
Idとして入力されると、4×4ブロック分割器101
は、入力されたフレームの画像データIdを、4×4画
素ブロックに対応するよう分割して、4×4画素ブロッ
クに対応するデータ121を出力し、2×8ブロック分
割器201は、入力されたフレームの画像データId
を、2×8画素ブロックに対応するよう分割して、2×
8画素ブロックに対応するデータ221を出力する。
Next, the operation will be described. When the video signal is input as the image data Id to the encoding device 100b of the second embodiment, the 4 × 4 block divider 101
Divides the image data Id of the input frame so as to correspond to a 4 × 4 pixel block, outputs data 121 corresponding to a 4 × 4 pixel block, and the 2 × 8 block divider 201 inputs Frame image data Id
Is divided into 2 × 8 pixel blocks to obtain 2 ×
The data 221 corresponding to the 8-pixel block is output.

【0112】動き補償部111は、4×4画素ブロック
のデータ121に基づいて、参照フレームメモリ110
に格納されている参照フレームの画像データを参照して
動き検出を行って、処理対象となる4×4画素ブロック
に対応する動きベクトル124、及び4×4画素ブロッ
クに対応する予測参照データ(4×4予測参照ブロック
のデータ)126を出力する。また、動き補償部211
は、2×8画素ブロックのデータ221に基づいて、参
照フレームメモリ110に格納されている参照フレーム
の画像データを参照して動き検出を行って、処理対象と
なる2×8画素ブロックに対応する動きベクトル22
4、及び該2×8画素ブロックに対応する予測参照デー
タ(2×8予測参照ブロックのデータ)226を出力す
る。
The motion compensation section 111 uses the reference frame memory 110 based on the data 121 of the 4 × 4 pixel block.
Motion detection is performed by referring to the image data of the reference frame stored in, and the motion vector 124 corresponding to the 4 × 4 pixel block to be processed and the prediction reference data (4 The data of (× 4 prediction reference block) 126 is output. Also, the motion compensation unit 211
Corresponds to the 2 × 8 pixel block to be processed by referring to the image data of the reference frame stored in the reference frame memory 110 based on the 2 × 8 pixel block data 221 to detect motion. Motion vector 22
4 and prediction reference data (data of 2 × 8 prediction reference block) 226 corresponding to the 2 × 8 pixel block is output.

【0113】減算器102は、4×4画素ブロックのデ
ータ121から4×4予測参照ブロックのデータ126
を減算する減算処理を行い、該減算処理により得られた
4×4画素ブロックの差分データ(4×4予測誤差ブロ
ックのデータ)127を出力する。また、減算器202
は、2×8画素ブロックのデータ221から2×8予測
参照ブロックのデータ226を減算する減算処理を行
い、該減算処理により得られた2×8画素ブロックの差
分データ(2×8予測誤差ブロックのデータ)227を
出力する。
The subtractor 102 uses the data 121 of the 4 × 4 pixel block to the data 126 of the 4 × 4 prediction reference block.
The subtraction process of subtracting is performed, and difference data of the 4 × 4 pixel block (data of the 4 × 4 prediction error block) 127 obtained by the subtraction process is output. Also, the subtractor 202
Performs a subtraction process of subtracting the data 226 of the 2 × 8 prediction reference block from the data 221 of the 2 × 8 pixel block, and the difference data of the 2 × 8 pixel block (2 × 8 prediction error block) obtained by the subtraction process. Data) 227 is output.

【0114】4×4予測誤差ブロックのデータ127と
2×8予測誤差ブロックのデータ227が評価器231
に入力されると、評価器231は、該両ブロックのデー
タに基づいて、2つの動き補償モード、つまり4×4画
素ブロック単位の動き補償モードと2×8画素ブロック
単位の動き補償モードのうちの一つを選択し、選択した
モードを識別する動き補償モード識別信号240を出力
する。ここで、動き補償モードの選択方法は符号化効率
を尺度として選択する。例えば、4×4予測誤差ブロッ
クのデータ127の分散値と、2×8予測誤差ブロック
のデータ227の分散値とを比較し、分散値の小さい方
に対応する動き補償モードが選択される。
The 4 × 4 prediction error block data 127 and the 2 × 8 prediction error block data 227 are evaluated by the evaluator 231.
Then, the evaluator 231 selects one of two motion compensation modes, that is, a motion compensation mode in units of 4 × 4 pixel blocks and a motion compensation mode in units of 2 × 8 pixel blocks, based on the data of both blocks. , And outputs the motion compensation mode identification signal 240 for identifying the selected mode. Here, the method of selecting the motion compensation mode selects the coding efficiency as a criterion. For example, the variance value of the data 127 of the 4 × 4 prediction error block is compared with the variance value of the data 227 of the 2 × 8 prediction error block, and the motion compensation mode corresponding to the smaller variance value is selected.

【0115】ここでは、2つの動き補償モードを選択す
る尺度として、予測誤差ブロックの分散値を用いてい
る。但し、2つの動き補償モードを選択する尺度は、実
施の形態2のものに限定されるものではなく、例えば、
実施の形態1で示したように符号化効率に対応する尺度
であればどのようなものでもよい。
Here, the variance value of the prediction error block is used as a measure for selecting the two motion compensation modes. However, the scale for selecting the two motion compensation modes is not limited to that of the second embodiment, and for example,
Any measure may be used as long as it corresponds to the coding efficiency as shown in the first embodiment.

【0116】8×8ブロック構成器232は、動き補償
モード識別信号240に従って、4×4予測誤差ブロッ
クのデータ127及び2×8予測誤差ブロックのデータ
227を用いて、8×8画素ブロックの差分データ(8
×8予測誤差ブロックのデータ)222を生成する。
The 8 × 8 block construction unit 232 uses the data 127 of the 4 × 4 prediction error block and the data 227 of the 2 × 8 prediction error block in accordance with the motion compensation mode identification signal 240 to calculate the difference of the 8 × 8 pixel block. Data (8
Data of a × 8 prediction error block) 222 is generated.

【0117】図4は、8×8予測誤差ブロックの3つの
構成例(図(a)〜図(c))を示している。例えば、図4
(a)は、1つの8×8予測誤差ブロックBL8aが、実施
の形態1と同様、4つの4×4予測誤差ブロックBL4a
〜BL4dから構成されている場合を示している。
FIG. 4 shows three structural examples (FIGS. (A) to (c)) of the 8 × 8 prediction error block. For example, in FIG.
In (a), one 8 × 8 prediction error block BL8a has four 4 × 4 prediction error blocks BL4a as in the first embodiment.
~ BL4d is shown.

【0118】図4(b)は、1つの8×8予測誤差ブロッ
クBLbが、4つの2×8予測誤差ブロックBL28a〜B
L28dから構成されている場合を示している。図4(c)
は、1つの8×8予測誤差ブロックBL8cが、2つの4
×4予測誤差ブロックBL4a及びBL4cと2つの2×
8予測誤差ブロックBL28c及びBL28dとから構成され
ている場合を示している。
In FIG. 4 (b), one 8 × 8 prediction error block BLb is replaced by four 2 × 8 prediction error blocks BL28a-B28B.
It shows a case of being composed of L28d. Figure 4 (c)
Is an 8 × 8 prediction error block BL8c
× 4 prediction error blocks BL4a and BL4c and two 2 ×
It shows a case where it is composed of eight prediction error blocks BL28c and BL28d.

【0119】このように、8×8予測誤差ブロックのデ
ータ222は、複数の動き補償モードの組み合わせによ
って得られた予測誤差データからなる。
As described above, the data 222 of the 8 × 8 prediction error block is composed of prediction error data obtained by combining a plurality of motion compensation modes.

【0120】上記8×8予測誤差ブロックのデータ22
2がDCT器104に入力されると、DCT器104
は、8×8予測誤差ブロックのデータ222に対して2
次元離散コサイン変換(DCT)処理を施し、8×8予
測誤差ブロックの複数のDCT係数からなるDCT係数
データ114を出力する。量子化器105は、8×8予
測誤差ブロックの各DCT係数を所定の量子化ステップ
で量子化し、8×8予測誤差ブロックに対応する複数の
量子化係数からなる量子化係数データ123を出力す
る。この8×8予測誤差ブロックに対応する複数の量子
化係数は2次元の配列を有している。
Data 22 of the above 8 × 8 prediction error block
2 is input to the DCT device 104, the DCT device 104
Is 2 for the data 222 of the 8 × 8 prediction error block.
A three-dimensional discrete cosine transform (DCT) process is performed, and DCT coefficient data 114 including a plurality of DCT coefficients of the 8 × 8 prediction error block is output. The quantizer 105 quantizes each DCT coefficient of the 8 × 8 prediction error block in a predetermined quantization step and outputs quantized coefficient data 123 including a plurality of quantized coefficients corresponding to the 8 × 8 prediction error block. . The plurality of quantized coefficients corresponding to the 8 × 8 prediction error block have a two-dimensional array.

【0121】可変長符号化器206は、量子化係数デー
タ123に基づいて、8×8予測誤差ブロックに対応す
る、2次元の配列を有する複数の量子化係数を一次元の
配列の量子化係数に変換されるようスキャニングし、該
スキャニングにより得られた1次元の配列を有する量子
化係数を、可変長符号を用いて符号化する可変長符号化
処理を行う。そして、可変長符号化器206は、量子化
係数の可変長符号化処理により得られた符号化データ
に、動き補償部111によって得られた動きベクトル1
24の符号、あるいは動き補償部211によって得られ
た動きベクトル224の符号と、選択した動き補償モー
ドを示す識別信号240の符号を付加して、符号化デー
タ列Bs2を出力する。
The variable length encoder 206, based on the quantized coefficient data 123, quantizes a plurality of quantized coefficients having a two-dimensional array corresponding to the 8 × 8 prediction error block into a one-dimensional quantized coefficient. Then, a variable length coding process is performed in which the quantized coefficient having the one-dimensional array obtained by the scanning is coded using a variable length code. Then, the variable length encoder 206 adds the motion vector 1 obtained by the motion compensation unit 111 to the encoded data obtained by the variable length encoding process of the quantized coefficient.
The code of 24 or the code of the motion vector 224 obtained by the motion compensating unit 211 and the code of the identification signal 240 indicating the selected motion compensation mode are added and the encoded data string Bs2 is output.

【0122】なお、動き補償モード識別信号240の符
号は各予測誤差ブロックの符号列の先頭部に配列して
も、あるいはフレームに対応する符号列の先頭部に配列
してもよく、符号列データにおけるその配列位置は限定
されるものではない。
The code of the motion compensation mode identification signal 240 may be arranged at the head of the code string of each prediction error block or at the head of the code string corresponding to the frame. Its sequence position in is not limited.

【0123】また、8×8予測誤差ブロックの量子化係
数データ123が逆量子化器107に入力されると、逆
量子化器107は、量子化器105で用いた量子化ステ
ップを用いて、量子化係数データ123に対する逆量子
化処理を行って、8×8予測誤差ブロックの、複数のD
CT係数からなるDCT係数データ115を復元する。
8×8予測誤差ブロックのDCT係数データ115が逆
DCT器108に入力されると、逆DCT器108は、
8×8予測誤差ブロックのDCT係数データ115に対
して2次元逆DCT変換処理を施して、8×8予測誤差
ブロックの復号データ128を出力する。
When the quantized coefficient data 123 of the 8 × 8 prediction error block is input to the inverse quantizer 107, the inverse quantizer 107 uses the quantization step used in the quantizer 105 to Inverse quantization processing is performed on the quantized coefficient data 123, and a plurality of D of 8 × 8 prediction error blocks
The DCT coefficient data 115 composed of CT coefficients is restored.
When the DCT coefficient data 115 of the 8 × 8 prediction error block is input to the inverse DCT device 108, the inverse DCT device 108
The DCT coefficient data 115 of the 8 × 8 prediction error block is subjected to a two-dimensional inverse DCT transform process, and decoded data 128 of the 8 × 8 prediction error block is output.

【0124】8×8予測誤差ブロックの復号データ12
8がブロック分割器233に入力されると、ブロック分
割器233は、動き補償モード識別信号240に従っ
て、8×8予測誤差ブロックの復号データ128を、4
×4予測誤差ブロックの復号データ229aあるいは2
×8予測誤差ブロックの復号データ229bに分割す
る。このブロック分割は、8×8ブロック構成器232
で行った8×8ブロック生成の逆処理に対応するもので
ある。分割された予測誤差ブロックの復号データ229
aあるいは229bは加算器209に入力される。
Decoded data 12 of 8 × 8 prediction error block
When 8 is input to the block divider 233, the block divider 233 outputs the decoded data 128 of the 8 × 8 prediction error block to 4 according to the motion compensation mode identification signal 240.
Decoded data 229a or 2 of a × 4 prediction error block
It is divided into decoded data 229b of a × 8 prediction error block. This block division is performed by the 8 × 8 block construction unit 232.
This corresponds to the inverse process of the 8 × 8 block generation performed in step. Decoded data 229 of the divided prediction error block
The value a or 229b is input to the adder 209.

【0125】また、選択器234は動き補償モード識別
信号240に基づいて、4×4画素単位の動き補償部1
11で得られた4×4予測参照ブロックのデータ126
と、2×8画素単位の動き補償部211で得られた2×
8予測参照ブロックのデータ226のうちの一方を選択
して出力する。つまり、ブロック分割器233から出力
された復号化データが、4×4画素ブロックの復号化デ
ータである場合は4×4予測参照ブロックのデータ12
6を選択し、一方、ブロック分割器233から出力され
た復号データが、2×8画素ブロックの復号データであ
れば、2×8予測参照ブロックのデータ226を選択す
る。
Further, the selector 234 uses the motion compensation mode identification signal 240 to determine the motion compensation unit 1 in units of 4 × 4 pixels.
Data 126 of 4 × 4 prediction reference block obtained in 11
And 2 × obtained by the motion compensation unit 211 in units of 2 × 8 pixels
One of the data 226 of the 8 prediction reference blocks is selected and output. That is, when the decoded data output from the block divider 233 is the decoded data of the 4 × 4 pixel block, the data 12 of the 4 × 4 prediction reference block
6 is selected, on the other hand, if the decoded data output from the block divider 233 is the decoded data of the 2 × 8 pixel block, the data 226 of the 2 × 8 prediction reference block is selected.

【0126】加算器209は、選択器234の出力であ
る4×4予測参照ブロックのデータ126と4×4予測
誤差ブロックの復号データ229aとの加算処理、ある
いは選択器234の出力である2×8予測参照ブロック
のデータ226と2×8予測誤差ブロックの復号データ
229bとの加算処理を行って、4×4画素ブロックの
データ230aあるいは2×8画素ブロックの復号デー
タ230bを出力する。
The adder 209 adds the 4 × 4 prediction reference block data 126 output from the selector 234 and the decoded data 229a of the 4 × 4 prediction error block, or outputs 2 × output from the selector 234. The addition process of the data 226 of the 8 prediction reference block and the decoded data 229b of the 2 × 8 prediction error block is performed and the data 230a of the 4 × 4 pixel block or the decoded data 230b of the 2 × 8 pixel block is output.

【0127】上記加算器223から出力された4×4画
素ブロックの復号データ230aあるいは2×8画素ブ
ロックの復号データ230bは、参照フレームメモリ1
10に入力され、対象フレームの次のフレームの予測符
号化の際に用いる予測参照フレームのデータとして蓄積
される。
The decoded data 230a of the 4 × 4 pixel block or the decoded data 230b of the 2 × 8 pixel block output from the adder 223 is the reference frame memory 1
10 and is stored as data of a predictive reference frame used in predictive encoding of the frame next to the target frame.

【0128】このように本実施の形態2では、動き補償
を行う単位である領域を、2×8画素ブロックと4×4
画素ブロックのうちの所定のものに適応的に切り替える
ので、より細かな動き検出を行うことができ、同時にD
CT処理は、8×8画素ブロックを単位として行うの
で、符号化効率を高く維持することが可能となる。
As described above, in the second embodiment, the area which is a unit for motion compensation is a 2 × 8 pixel block and a 4 × 4 pixel block.
Since it is adaptively switched to a predetermined one of the pixel blocks, finer motion detection can be performed, and at the same time D
Since CT processing is performed in units of 8 × 8 pixel blocks, it is possible to maintain high coding efficiency.

【0129】なお、動き補償モードは、8×8画素ブロ
ック単位で決定しても、あるいはフレーム単位で決定し
てもよく、動き補償モードの決定する単位は、限定され
るものではない。
The motion compensation mode may be determined in 8 × 8 pixel block units or frame units, and the unit determined by the motion compensation mode is not limited.

【0130】また、動き補償モードの決定を8×8画素
ブロックよりも小さい単位で行ってもよい。図4(c)を
用いて、4×8画素単位で動き補償モードを決定する例
を具体的に説明する。2つの4×4予測誤差ブロックB
L4a及びBL4cを単位として、動き補償モードを決定
し、2つの2×8予測誤差ブロックBL28c及びBL28d
を単位として、動き補償モードを決定することにより、
4×8画素単位で動き補償モードを決定することができ
る。
Also, the motion compensation mode may be determined in units smaller than the 8 × 8 pixel block. An example of determining the motion compensation mode in units of 4 × 8 pixels will be specifically described with reference to FIG. Two 4 × 4 prediction error blocks B
The motion compensation mode is determined with L4a and BL4c as units, and two 2 × 8 prediction error blocks BL28c and BL28d are determined.
By determining the motion compensation mode in units of
The motion compensation mode can be determined in units of 4 × 8 pixels.

【0131】また、動き補償を、その単位として形状の
異なるブロックを複数種類用いて行い、各種のブロック
を所定の配置パターンに従って組み合わせて得られた大
ブロックを単位として、DCT処理を行うようにしても
よい。この場合、DCT処理の単位となる大ブロックに
おける、動き補償の単位としてのブロック(小ブロッ
ク)の配置パターンについては、予め求めておいた各配
置パターンに対応する符号化効率に基づいて、符号化効
率が最も高くなる配置パターンを選択すればよい。ま
た、この場合には、可変長符号化器206は、選択した
ブロック配置パターンを特定する符号を出力するように
する必要がある。なお、この配置パターンを特定する符
号は、ブロックに対応する符号列の先頭部に配置して
も、あるいはフレームに対応する符号列の先頭部に配置
してもよく、符号列における、配置パターンを特定する
符号の位置は限定されるものではない。
Also, the motion compensation is performed by using a plurality of types of blocks having different shapes as a unit, and the DCT process is performed by using a large block obtained by combining various blocks according to a predetermined arrangement pattern as a unit. Good. In this case, the arrangement pattern of the blocks (small blocks) as the unit of motion compensation in the large block that is the unit of DCT processing is encoded based on the encoding efficiency corresponding to each arrangement pattern obtained in advance. It is sufficient to select the arrangement pattern that maximizes the efficiency. Further, in this case, the variable length encoder 206 needs to output a code that specifies the selected block arrangement pattern. The code specifying this arrangement pattern may be arranged at the beginning of the code string corresponding to the block or at the beginning of the code string corresponding to the frame. The position of the specified code is not limited.

【0132】このように、動き補償を行う単位であるブ
ロックとして、形状の異なる小ブロックを複数種類用
い、DCT処理を行う単位である大ブロックにおける上
記動き補償を行う単位である小ブロックの配置パターン
を複数選択可能とすることで、より細かな動き検出を行
うことができ、符号化効率を高めることが可能となる。
As described above, a plurality of types of small blocks having different shapes are used as a block which is a unit for motion compensation, and an arrangement pattern of small blocks which is a unit for performing the motion compensation in a large block which is a unit for performing DCT processing. By enabling a plurality of selections, it is possible to perform finer motion detection, and it is possible to improve coding efficiency.

【0133】なお、8×8予測誤差ブロックにおける4
×4画素ブロックあるいは2×8画素ブロックの配置パ
ターンは、図4(a)〜図4(c)で示したものに限定される
ものではない。
4 in the 8 × 8 prediction error block
The arrangement pattern of the × 4 pixel block or the 2 × 8 pixel block is not limited to that shown in FIGS. 4 (a) to 4 (c).

【0134】また、動き補償を行う小ブロックの形状及
びサイズ、並びにDCT処理を行う大ブロックの形状及
びサイズは、いずれも上記実施の形態2で示したものに
限定されるものではなく、上記ブロックの形状及びサイ
ズは、DCT符号化処理が、複数個の、動き補償を行う
単位である小ブロックから構成された大ブロックを単位
として行なわれるものであれば、どのようなものでもよ
い。
The shape and size of the small block for motion compensation and the shape and size of the large block for DCT processing are not limited to those shown in the second embodiment. Any shape and size may be used as long as the DCT coding process is performed in units of a large block composed of a plurality of small blocks that are units for motion compensation.

【0135】また、上記実施の形態では、DCT処理
を、4個の動き補償の単位(小ブロック)からなるブロ
ック(大ブロック)を単位として行う場合を示したが、
DCT処理の単位としての大ブロックを構成する、動き
補償処理の単位としての小ブロックの個数は、上記実施
の形態で示したものに限定されるものではなく、複数個
であればいくらでもよい。
In the above embodiment, the DCT processing is performed in units of blocks (large blocks) each including four motion compensation units (small blocks).
The number of small blocks as a unit of motion compensation processing that composes a large block as a unit of DCT processing is not limited to that shown in the above-described embodiment, and any number of small blocks may be used.

【0136】また、上記実施の形態2では、周波数変換
処理としてDCT処理を挙げたが、周波数変換処理に
は、アダマール変換などを用いてもよい。
In the second embodiment, the DCT process is used as the frequency conversion process, but Hadamard transform or the like may be used for the frequency conversion process.

【0137】また、上記実施の形態2では、DCT係数
の量子化処理は、DCT器104の出力114である8
×8予測誤差ブロックの複数のDCT係数を、各DCT
係数毎に量子化する処理としているが、DCT係数の量
子化処理は、上記実施の形態1で説明したベクトル量子
化であってもよい。
In the second embodiment, the quantization processing of the DCT coefficient is the output 114 of the DCT unit 104.
A plurality of DCT coefficients of the × 8 prediction error block are set to each DCT.
Although the quantization processing is performed for each coefficient, the DCT coefficient quantization processing may be the vector quantization described in the first embodiment.

【0138】さらに、上記実施の形態1及び2の符号化
装置は、それぞれ図1及び図3に示す構成(第1の符号
化部)に加えて従来のMPEG符号化方式に従った符号
化処理部(第2の符号化部)を有し、符号化処理の対象
となる画像データの画像サイズに応じて、上記第1及び
第2の符号化部を切り替えるものであってもよい。
Further, the coding apparatus according to the first and second embodiments has a coding process according to the conventional MPEG coding system in addition to the configuration (first coding unit) shown in FIGS. 1 and 3, respectively. A unit (second encoding unit) may be included, and the first and second encoding units may be switched according to the image size of the image data to be encoded.

【0139】例えば、画像サイズが大きい場合に動き補
償を行う単位を小さくすると、動き検出処理が増加する
ことになる。従って、動き補償を行う単位を小さくす
る、本発明の実施の形態1及び2の符号化方法は、特に
画像サイズが小さな場合に効果が大きい。このことから
画像サイズが所定サイズよりも大きい場合は、従来通り
MPEG符号化方式による符号化処理を行い、そうでな
い場合は、本発明の実施の形態で説明した符号化方法を
用いることにより、符号化の際のデータ処理量を適切に
保持しつつ符号化効率の向上を図ることができる。
For example, if the unit of motion compensation is reduced when the image size is large, the motion detection process increases. Therefore, the encoding method according to the first and second embodiments of the present invention, which reduces the unit for motion compensation, is particularly effective when the image size is small. From this fact, when the image size is larger than the predetermined size, the encoding process by the MPEG encoding method is performed as usual, and when it is not, the encoding method described in the embodiment of the present invention is used. It is possible to improve the coding efficiency while appropriately holding the data processing amount at the time of coding.

【0140】また、符号化処理を切り替える基準となる
画像サイズとしては、例えば、352×286画素程度
のサイズが考えられるが、特にこのサイズに限定される
ものではない。
The image size that serves as a reference for switching the encoding process may be, for example, a size of about 352 × 286 pixels, but is not particularly limited to this size.

【0141】(実施の形態3)図5は、本発明の実施の
形態3による符号化装置を示すブロック図である。この
実施の形態3の符号化装置100cは、ビデオ信号とし
て入力された画像データIdに対する動き補償を行うデ
ータ単位が、該画像データIdに対する周波数変換を行
うデータ単位より小さい予測符号化処理を行う第1の符
号化部(以下、小ブロック動き補償符号化部ともい
う。)1102と、入力された画像データIdに対する
動き補償を行うデータ単位が、該画像データIdに対す
る周波数変換を行うデータ単位より大きい予測符号化処
理を行う第2の符号化部(以下、MPEG符号化部とも
いう。)1103とを有し、ユーザーからの要求などに
より発生する解像度指定信号Isにより、第1の符号化
部1102での符号化処理と、第2の符号化部1103
での符号化処理とを切り替えるものである。
(Embodiment 3) FIG. 5 is a block diagram showing an encoding apparatus according to Embodiment 3 of the present invention. The encoding apparatus 100c according to the third embodiment performs a predictive encoding process in which a data unit for performing motion compensation on image data Id input as a video signal is smaller than a data unit for performing frequency conversion on the image data Id. One encoding unit (hereinafter also referred to as a small block motion compensation encoding unit) 1102 and a data unit for performing motion compensation on the input image data Id are larger than a data unit for performing frequency conversion on the image data Id. The first coding unit 1102 includes a second coding unit (hereinafter, also referred to as an MPEG coding unit) 1103 that performs predictive coding processing, and a resolution designating signal Is generated by a request from a user. Encoding process in the second encoding unit 1103
This is to switch between the encoding processing in (1) and (2).

【0142】ここで、上記第1の符号化部1102は、
実施の形態1の符号化装置100aからなる。また、第
2の符号化部(MPEG符号化部)1103は、図17
に示す従来のMPEG符号化方式によって符号化処理す
る符号化装置700からなる。但し、上記第1の符号化
部1102は、実施の形態2の符号化装置100bから
なるものであってもよい。
Here, the first encoding unit 1102 is
The coding apparatus 100a according to the first embodiment is used. In addition, the second encoding unit (MPEG encoding unit) 1103 is configured as shown in FIG.
The coding apparatus 700 performs coding processing according to the conventional MPEG coding method shown in FIG. However, the first encoding unit 1102 may include the encoding device 100b according to the second embodiment.

【0143】上記符号化装置100cは、入力された画
像データIdを、解像度指定信号Isが指定する画像サ
イズとなるよう解像度変換処理を施して、画像サイズが
変換された画像データTIdを出力する解像度変換器1
100と、上記解像度指定信号に基づいて、画像サイズ
が変換された画像データTIdを、小ブロック動き補償
符号化部1102とMPEG符号化処理部1103のい
ずれか一方に供給する選択器1101と、解像度指定信
号Isを受け、該選択器1101にて、該信号Isによ
って上記第1の符号化部1102及び第2の符号化部1
103のいずれが選択されたかを識別する符号(符号化
識別符号)Cidを出力する符号化識別符号生成部110
4とを有している。なお、符号化識別符号Cidは、上記
各符号化部から出力される符号化データ列Bs3に多重
化するようにしてもよい。
The encoding device 100c performs resolution conversion processing on the input image data Id so that the image size is designated by the resolution designating signal Is, and outputs image data TId whose image size is transformed. Converter 1
100, a selector 1101 for supplying the image data TId whose image size has been converted based on the resolution designation signal to one of the small block motion compensation encoding unit 1102 and the MPEG encoding processing unit 1103, and the resolution. Upon receiving the designation signal Is, the selector 1101 uses the signal Is to send the first encoding unit 1102 and the second encoding unit 1.
Encoding identification code generation unit 110 that outputs a code (encoding identification code) Cid that identifies which of 103 is selected
4 and. The coded identification code Cid may be multiplexed in the coded data string Bs3 output from each of the coding units.

【0144】ここで、画像データIdの画像サイズを小
さくする解像度変換を行う解像度変換器1100は、画
像データIdを入力とするローパスフィルタと、そのフ
ィルタ出力に対して画素間引き処理を施す画素間引き部
とにより実現できる。また、画像データIdの画像サイ
ズを大きくする解像度変換を行う解像度変換器1100
は、上記画像データを入力とする補間フィルタと、その
フィルタ出力に対して画素補間処理を行う画素補間部と
により実現できる。また、上記選択器1101は、具体
的には、画像サイズが所定サイズより小さい場合は、画
像サイズが変換された画像データTIdを小ブロック動
き補償符号化部1102に供給し、そうでない場合は、
画像データTIdをMPEG符号化部1103に供給す
るものである。なお、上記符号化部を切替える基準とな
る画像サイズは、例えば、352×286画素が考えら
れるが、これに限られるものではない。
Here, the resolution converter 1100, which performs resolution conversion to reduce the image size of the image data Id, includes a low-pass filter that receives the image data Id and a pixel thinning unit that performs pixel thinning processing on the filter output. Can be achieved by A resolution converter 1100 that performs resolution conversion to increase the image size of the image data Id.
Can be realized by an interpolation filter that receives the image data as an input and a pixel interpolation unit that performs pixel interpolation processing on the filter output. Further, specifically, when the image size is smaller than the predetermined size, the selector 1101 supplies the image data Tid whose image size has been converted to the small block motion compensation encoding unit 1102, and otherwise,
The image data TId is supplied to the MPEG encoding unit 1103. The image size that serves as a reference for switching the encoding unit may be, for example, 352 × 286 pixels, but is not limited to this.

【0145】次に動作について説明する。この実施の形
態3の符号化装置100cに、画像データIdが入力さ
れると、解像度変換器1100は、該画像データIdに
対して、該画像データの画像サイズがユーザーからの要
求などにより発生する解像度指定信号Isが示す画像サ
イズとなるよう解像度変換処理を施して、解像度変換さ
れた画像データTIdを出力する。
Next, the operation will be described. When the image data Id is input to the encoding device 100c according to the third embodiment, the resolution converter 1100 generates an image size of the image data Id with respect to the image data Id due to a user request or the like. The resolution conversion process is performed so that the image size indicated by the resolution designation signal Is is obtained, and the resolution-converted image data TId is output.

【0146】選択器1101は、上記解像度指定信号I
sに基づいて、解像度変換された画像データTIdを、
小ブロック動き補償符号化部1102とMPEG符号化
処理部1103のいずれか一方に供給する。具体的に
は、解像度指定信号Isが示す画像サイズが、符号化部
を切替える基準となる画像サイズ(例えば352×28
6画素)より大きい場合は、解像度変換された画像デー
タTIdは、MPEG符号化処理部1103に供給され
る。一方、解像度指定信号Isが示す画像サイズが、符
号化部を切替える基準となる画像サイズ(例えば352
×286画素)以下である場合は、解像度変換された画
像データTIdは、小ブロック動き補償符号化部110
2に供給される。
The selector 1101 has the resolution designating signal I
The resolution-converted image data TId based on s
It is supplied to one of the small block motion compensation coding unit 1102 and the MPEG coding processing unit 1103. Specifically, the image size indicated by the resolution designation signal Is is a reference image size for switching the encoding unit (for example, 352 × 28).
If it is larger than 6 pixels), the resolution-converted image data TId is supplied to the MPEG encoding processing unit 1103. On the other hand, the image size indicated by the resolution designation signal Is becomes the reference image size for switching the encoding unit (for example, 352).
X286 pixels) or less, the resolution-converted image data TId is the small block motion compensation encoding unit 110.
2 is supplied.

【0147】そして、小ブロック動き補償符号化部11
02は、画像データTIdが入力されると、上記実施の
形態1の符号化装置100aと同様に画像データTId
に対する予測符号化処理を行って、符号化データ列Bs
3を出力する。また、MPEG符号化処理部1103
は、画像データTIdが入力されると、図17に示す従
来の符号化装置700と同様に、画像データTIdに対
する予測符号化処理を行って、符号化データ列Bs3を
出力する。
Then, the small block motion compensation coding unit 11
When the image data TId is input to the image data 02, the image data TId is input in the same manner as the encoding device 100a of the first embodiment.
Prediction coding processing is performed on the coded data string Bs
3 is output. Also, the MPEG encoding processing unit 1103
When the image data TId is input, performs predictive encoding processing on the image data TId, and outputs the encoded data string Bs3, as in the conventional encoding device 700 shown in FIG.

【0148】また、このとき、符号化識別符号生成部1
104は、上記選択器1101にて、解像度指定信号I
sに基づいて上記第1及び第2の符号化部1102及び
1103のいずれが選択されたかを識別する符号(符号
化識別符号)Cid1を出力する。
At this time, the coding identification code generator 1
Reference numeral 104 denotes the resolution specifying signal I in the selector 1101.
A code (encoding identification code) Cid1 for identifying which of the first and second encoding units 1102 and 1103 is selected based on s is output.

【0149】このように本実施の形態3では、入力され
た画像データIdに対する動き補償を行う単位が、該画
像データIdに対する周波数変換を行う単位より小さい
予測符号化処理を行う第1の符号化部1102と、入力
された画像データIdに対する動き補償を行う単位が、
該画像データIdに対する周波数変換を行う単位より大
きい予測符号化処理を行う第2の符号化部1103とを
備え、画像サイズに適した符号化部を選択するので、予
測符号化時におけるデータ処理量を適切な処理量にしつ
つ、符号化効率の向上を図ることができる。
As described above, in the third embodiment, the first coding is performed in which the unit of motion compensation for the input image data Id is smaller than the unit of frequency conversion for the image data Id. The unit 1102 and the unit for performing motion compensation on the input image data Id are
A second encoding unit 1103 that performs a predictive encoding process that is larger than a unit that performs frequency conversion on the image data Id is provided, and an encoding unit that is suitable for the image size is selected. It is possible to improve the coding efficiency while making the appropriate processing amount.

【0150】また、画像データが第1の符号化部110
2及び第2の符号化部1103のいずれの符号化部によ
り符号化されたかを識別する符号(符号化識別符号)C
idを出力する符号化識別符号生成部1104を有してい
るので、復号側では、符号化識別符号により符号化デー
タ列に対する符号化方法を識別することができ、復号時
において適切な復号化方法を選択できる。
Further, the image data is the first encoding unit 110.
A code (encoding identification code) C for identifying which encoding unit of the second and second encoding units 1103 has encoded.
Since the encoding identification code generation unit 1104 that outputs id is included, the decoding side can identify the encoding method for the encoded data string by the encoding identification code, and an appropriate decoding method at the time of decoding. Can be selected.

【0151】なお、実施の形態3では、画像サイズに応
じて符号化処理を切り替える符号化装置を示したが、上
記実施の形態3の符号化処理の切り替えは、符号化ビッ
トレートに応じて行うようにしてもよい。
In the third embodiment, the coding device that switches the coding process according to the image size is shown. However, the switching of the coding process according to the third embodiment is performed according to the coding bit rate. You may do it.

【0152】例えば、従来のMPEG符号化方式の符号
化装置と本発明の実施の形態1あるいは2の符号化装置
を具備し、符号化ビットレートによって、入力された画
像データに対する符号化処理を行う装置を切り替えるよ
うにしてもよい。これは、符号化ビットレートが小さく
なるとフレーム間予測符号化における予測効率が符号化
効率向上に大きく寄与するようになるためである。従っ
て、符号化レートが基準レートより小さい場合は、本発
明の実施の形態1あるいは2の符号化装置により画像デ
ータに対する予測符号化を行い、そうでない場合は、従
来のMPEG符号化方式の符号化装置により、画像デー
タに対する予測符号化処理を行うようにしてもよい。こ
の場合、符号化装置を切り替える符号化ビットレートの
基準値は1Mbps程度とすればよいが、特にこの値に
限定されるものではない。
For example, the conventional MPEG coding system coding apparatus and the coding apparatus according to the first or second embodiment of the present invention are provided, and coding processing is performed on input image data at a coding bit rate. The device may be switched. This is because the prediction efficiency in inter-frame predictive coding greatly contributes to the improvement of the coding efficiency when the coding bit rate decreases. Therefore, when the coding rate is smaller than the reference rate, the predictive coding is performed on the image data by the coding apparatus according to the first or second embodiment of the present invention, and when not, the conventional MPEG coding method coding is performed. The device may perform the predictive coding process on the image data. In this case, the reference value of the encoding bit rate for switching the encoding device may be about 1 Mbps, but it is not particularly limited to this value.

【0153】(実施の形態4)図6は、本発明の実施の
形態4による符号化装置を示すブロック図である。この
実施の形態4の符号化装置100dは、ユーザーからの
要求などにより発生する符号化レート指定信号により、
動き補償を行うデータ単位がDCT処理を行うデータ単
位より小さい予測符号化処理と、動き補償を行うデータ
単位がDCT処理を行うデータ単位より大きい予測符号
化処理とを切替えるものである。
(Embodiment 4) FIG. 6 is a block diagram showing an encoding apparatus according to Embodiment 4 of the present invention. The encoding device 100d according to the fourth embodiment uses an encoding rate designation signal generated by a request from a user,
The predictive coding process in which the data unit for motion compensation is smaller than that in the DCT process and the predictive coding process in which the data unit for motion compensation is larger than that in the DCT process are switched.

【0154】すなわち、この符号化装置100dは、入
力された画像データIdに対する動き補償を行うデータ
単位が、該画像データIdに対する周波数変換を行うデ
ータ単位より小さい予測符号化処理を行う第1の符号化
部(小ブロック動き補償符号化部)1302と、入力さ
れた画像データIdに対する動き補償を行うデータ単位
が、該画像データIdに対する周波数変換を行うデータ
単位より大きい予測符号化処理を行う第2の符号化部
(MPEG符号化部)1303とを有し、ユーザーから
の要求などにより発生する符号化レート指定信号Irに
より、第1の符号化部1302での符号化処理と、第2
の符号化部1303での符号化処理とを切り替えるもの
である。ここで、上記第1の符号化部1302は、実施
の形態1の符号化装置100aからなる。また、MPE
G符号化部1303は、図17に示す従来のMPEG符
号化方式によって符号化処理する符号化装置700から
なる。但し、上記第1の符号化部1302は、実施の形
態2の符号化装置100bからなるものであってもよ
い。また、上記各符号化部は、符号化レート指定信号I
rにしたがった符号化レートで符号化処理するものとな
っている。
That is, in the encoding apparatus 100d, the first code for performing the predictive encoding process is such that the data unit for motion compensation for the input image data Id is smaller than the data unit for frequency conversion for the image data Id. An encoding unit (small block motion compensation encoding unit) 1302, and a second unit that performs a predictive encoding process in which a data unit for performing motion compensation on the input image data Id is larger than a data unit for performing frequency conversion on the image data Id. And an encoding unit (MPEG encoding unit) 1303 of the first encoding unit 1302, and an encoding rate designation signal Ir generated by a request from a user.
The encoding process is switched to the encoding process in the encoding unit 1303. Here, the first encoding unit 1302 includes the encoding device 100a according to the first embodiment. Also, MPE
The G coding unit 1303 is composed of a coding device 700 that performs coding processing according to the conventional MPEG coding method shown in FIG. However, the first encoding unit 1302 may include the encoding device 100b according to the second embodiment. In addition, each of the above-mentioned coding units has a coding rate designation signal I
The encoding process is performed at the encoding rate according to r.

【0155】また、上記符号化装置100dは、符号化
レート指定信号Irに応じて、画像サイズが変換された
画像データTIdを、小ブロック動き補償符号化部13
02とMPEG符号化処理部1103のいずれか一方に
供給する選択器1301と、該選択器1301にて、符
号化レート指定信号Irに応じて上記第1及び第2の符
号化部のいずれが選択されたかを識別する符号(符号化
識別符号)Cid2を出力する符号化識別符号生成部13
04とを有している。なお、符号化識別符号Cid2は、
上記各符号化部から出力される符号化データ列Bs3に
多重化するようにしてもよい。
Also, the above-mentioned encoding device 100d uses the small block motion compensation encoding unit 13 to convert the image data TId whose image size has been converted in accordance with the encoding rate designation signal Ir.
02 and the MPEG encoding processing unit 1103, and the selector 1301 selects which of the first and second encoding units is selected by the selector 1301 according to the encoding rate designating signal Ir. The coded identification code generation unit 13 that outputs a code (coded identification code) Cid2 that identifies whether or not
04 and. The coding identification code Cid2 is
You may make it multiplex to the encoding data string Bs3 output from each said encoding part.

【0156】次に動作について説明する。この実施の形
態4の符号化装置100dに、ビデオ信号として画像デ
ータIdが入力されると、選択器1301は、上記符号
化レート指定信号Irに基づいて、画像データIdを、
小ブロック動き補償符号化部1302とMPEG符号化
処理部1303のいずれか一方に供給する。具体的に
は、符号化レート指定信号Irが示すレートが、符号化
部を切替える基準となるレート(1Mbps)より大き
い場合は、画像データIdは、MPEG符号化部110
3に供給される。一方、符号化レート指定信号Irが示
すレートが、符号化部を切替える基準となるレート(例
えば1Mbps)以下である場合は、画像データId
は、小ブロック動き補償符号化部1302に供給され
る。
Next, the operation will be described. When the image data Id as a video signal is input to the encoding device 100d of the fourth embodiment, the selector 1301 outputs the image data Id based on the encoding rate designation signal Ir.
It is supplied to one of the small block motion compensation coding unit 1302 and the MPEG coding processing unit 1303. Specifically, when the rate indicated by the encoding rate designation signal Ir is higher than the rate (1 Mbps) that is the reference for switching the encoding section, the image data Id is the MPEG encoding section 110.
3 is supplied. On the other hand, when the rate indicated by the coding rate designation signal Ir is equal to or lower than the rate (for example, 1 Mbps) that is the reference for switching the coding unit, the image data Id
Is supplied to the small block motion compensation coding unit 1302.

【0157】そして、小ブロック動き補償符号化部13
02は、画像データIdが入力されると、上記実施の形
態1の符号化装置100aと同様に画像データに対する
予測符号化処理を、符号化レート指定信号Irが示すレ
ートでもって行って、符号化データ列Bs4を出力す
る。また、MPEG符号化処理部1303では、画像デ
ータIdが入力されると、図17に示す従来の符号化装
置700と同様に画像データに対する予測符号化処理
を、符号化レート指定信号Irが示すレートで行って、
符号化データ列Bs4を出力する。
Then, the small block motion compensation coding unit 13
When the image data Id is input, 02 performs the predictive coding process on the image data at the rate indicated by the coding rate designating signal Ir similarly to the coding apparatus 100a of the first embodiment, and performs coding. The data string Bs4 is output. Further, in the MPEG encoding processing unit 1303, when the image data Id is input, the predictive encoding process for the image data is performed in the same manner as the conventional encoding device 700 shown in FIG. Go in,
The encoded data string Bs4 is output.

【0158】また、このとき、符号化識別符号生成部1
304は、上記選択器1301にて、符号化レート指定
信号Irに基づいて上記第1及び第2の符号化部130
2及び1303のいずれが選択されたかを識別する符号
(符号化識別符号)Cid2を出力する。
At this time, the coding identification code generator 1
Reference numeral 304 denotes the selector 1301 for the first and second encoding units 130 based on the encoding rate designation signal Ir.
A code (coded identification code) Cid2 for identifying which of 2 and 1303 is selected is output.

【0159】このように本実施の形態4では、入力され
た画像データIdに対する動き補償を行う単位が、該画
像データIdに対する周波数変換を行う単位より小さい
予測符号化処理を行う第1の符号化部1302と、入力
された画像データIdに対する動き補償を行う単位が、
該画像データIdに対する周波数変換を行う単位より大
きい予測符号化処理を行う第2の符号化部1303とを
備え、符号化レートに適した符号化部を選択するので、
予測符号化時におけるデータ処理量を適切な処理量にし
つつ、符号化効率の向上を図ることができる。
As described above, in the fourth embodiment, the first coding is performed in which the unit of motion compensation for the input image data Id is smaller than the unit of frequency conversion for the image data Id. The unit 1302 and the unit for performing motion compensation on the input image data Id are
Since the second encoding unit 1303 that performs the predictive encoding process larger than the unit for performing the frequency conversion on the image data Id is provided and the encoding unit suitable for the encoding rate is selected,
It is possible to improve the coding efficiency while making the data processing amount at the time of predictive coding appropriate.

【0160】また、画像データIdが第1の符号化部1
302及び第2の符号化部1303のいずれの符号化部
により符号化されたかを識別する符号(符号化識別符
号)Cid2を出力する符号化識別符号生成部1304を
有しているので、復号側では、符号化識別符号により符
号化データ列に対する符号化方法を識別することがで
き、復号時において適切な復号化方法を選択できる。
Further, the image data Id is the first encoding unit 1
The decoding side has a coding identification code generation unit 1304 that outputs a code (coding identification code) Cid2 that identifies which of the coding unit 302 or the second coding unit 1303 has coded. In, it is possible to identify the encoding method for the encoded data string by the encoding identification code, and to select an appropriate decoding method at the time of decoding.

【0161】なお、実施の形態3あるいは実施の形態4
では、画像データの解像度、あるいは画像データに対す
る符号化レートに応じて、画像データを符号化する符号
化部を切り替える符号化装置を示したが、このような符
号化部の切り替えは、符号化データ列の出力系に応じて
行うようにしてもよい。例えば、符号化データ列の出力
系としては、該符号化データ列を記録メディアに記録す
る記録系、該符号化データ列を伝送路に伝送する伝送系
などが考えられる。また、上記符号化データを出力する
記録系あるいは伝送系は1つに限定されるものではな
く、複数種類の記録系あるいは複数種類の伝送系に符号
化データ列を出力するものであってもよい。
Incidentally, the third embodiment or the fourth embodiment.
In the above, an encoding device that switches the encoding unit that encodes the image data according to the resolution of the image data or the encoding rate for the image data is shown. It may be performed according to the output system of the column. For example, as an output system of the encoded data sequence, a recording system for recording the encoded data sequence on a recording medium, a transmission system for transmitting the encoded data sequence to a transmission path, and the like are conceivable. Further, the number of recording systems or transmission systems that output the encoded data is not limited to one, and encoded data strings may be output to a plurality of types of recording systems or a plurality of types of transmission systems. .

【0162】例えば、DVD機器については、他の機器
との間での互換性を保持するために、MPEG符号化方
式の処理によって記録することがDVD規格で規定され
ている。一方、映像の記録再生機器内に装備されたハー
ドディスクなどの記録メディアについては互換性の問題
は少なく、自由な符号化方式によって記録することがで
きる。したがって、上記符号化データ列をDVDに記録
する記録系に出力する場合は、従来のMPEG符号化処
理を行い、ハードディスクに記録する記録系に出力する
場合は、本発明の上記実施の形態1及び2などの符号化
処理を行えばよい。
For example, with respect to a DVD device, in order to maintain compatibility with other devices, the DVD standard stipulates that recording is performed by the processing of the MPEG encoding system. On the other hand, a recording medium such as a hard disk installed in a video recording / reproducing device has few compatibility problems and can be recorded by a free encoding method. Therefore, when outputting the encoded data string to the recording system for recording on the DVD, the conventional MPEG encoding processing is performed, and when outputting to the recording system for recording on the hard disk, the first and the second embodiments of the present invention are used. Encoding processing such as 2 may be performed.

【0163】(実施の形態5)図7は、本発明の実施の
形態5による記録装置を説明するブロック図である。こ
の実施の形態5の記録装置100eは、ビデオ信号とし
て入力された画像データを符号化するとともに、ユーザ
ーの要求などにより発生したメディア指定信号Imに応
じて複数の記録メディアから、該符号化された画像デー
タを記録すべき記録メディアを選択し、該選択された記
録メディアに上記符号化された画像データを記録するも
のである。
(Fifth Embodiment) FIG. 7 is a block diagram for explaining a recording apparatus according to the fifth embodiment of the present invention. The recording apparatus 100e according to the fifth embodiment encodes image data input as a video signal, and encodes the image data from a plurality of recording media according to a media designation signal Im generated by a user's request or the like. A recording medium on which image data is to be recorded is selected, and the coded image data is recorded on the selected recording medium.

【0164】すなわち、この記録装置100eは、入力
された画像データIdに対する動き補償を行うデータ単
位が、該画像データIdに対する周波数変換を行うデー
タ単位より小さい予測符号化処理を行う第1の符号化部
(小ブロック動き補償符号化部)1402と、入力され
た画像データIdに対する動き補償を行うデータ単位
が、該画像データIdに対する周波数変換を行うデータ
単位より大きい予測符号化処理を行う第2の符号化部
(MPEG符号化部)1403とを有している。ここ
で、上記第1の符号化部1402は、実施の形態1の符
号化装置100aからなる。また、上記第2の符号化部
1403は、図17に示す従来のMPEG符号化方式に
よって符号化処理する符号化装置700からなる。但
し、上記第1の符号化部1402は、実施の形態2の符
号化装置100bからなるものであってもよい。
That is, the recording apparatus 100e performs the first encoding in which the data unit for motion compensation of the input image data Id is smaller than the data unit for frequency conversion of the image data Id. Unit (small block motion compensation encoding unit) 1402 and a second unit for performing predictive encoding processing in which a data unit for performing motion compensation on the input image data Id is larger than a data unit for performing frequency conversion on the image data Id. And an encoding unit (MPEG encoding unit) 1403. Here, the first encoding unit 1402 includes the encoding device 100a according to the first embodiment. The second coding unit 1403 is composed of a coding device 700 that performs coding processing by the conventional MPEG coding method shown in FIG. However, the first encoding unit 1402 may include the encoding device 100b according to the second embodiment.

【0165】上記記録装置100eは、メディア指定信
号Imに応じて、入力された画像データIdを、第1の
符号化部1402と第2の符号化部1403のいずれか
一方に供給する選択器1401と、該選択器1401に
てメディア指定信号Imに応じて上記第1及び第2の符
号化部のいずれが選択されたかを識別する符号(符号化
識別符号)Cid3を出力する符号化識別符号生成部14
04とを有している。
The recording device 100e supplies the input image data Id to either one of the first encoding unit 1402 and the second encoding unit 1403 according to the media designation signal Im. And an encoding identification code generation for outputting a code (encoding identification code) Cid3 for identifying which of the first and second encoding units has been selected by the selector 1401 according to the media designation signal Im. Part 14
04 and.

【0166】上記記録装置100eは、小ブロック動き
補償符号化部1402により生成された符号化データ列
BsaあるいはMPEG符号化部1403により生成され
た符号化データ列Bsbに対して、各記録メディアに適し
たエラー訂正処理などの処理を行い、該処理が施された
符号化データ列BsaあるいはBsbと符号化識別符号Cid
3とを含む符号化データ列Bsa4あるいはBsb4を出力す
る記録処理部1405を有している。この記録処理部1
405は、符号化データ列Bsaと符号化識別符号Cid3
とを含む符号化データ列Bsa4がハードディスク140
6に出力され、符号化データ列Bsbと符号化識別符号C
id3とを含む符号化データ列Bsb4がDVD1407に出
力されるよう、メディア指定信号Imによって、データ
の出力制御を行うものである。
The recording apparatus 100e is suitable for each recording medium with respect to the coded data string Bsa generated by the small block motion compensation coding unit 1402 or the coded data string Bsb generated by the MPEG coding unit 1403. Processing such as error correction processing is performed, and the encoded data string Bsa or Bsb subjected to the processing and the encoded identification code Cid
It has a recording processing unit 1405 which outputs an encoded data string Bsa4 or Bsb4 including 3 and 3. This recording processing unit 1
405 is an encoded data string Bsa and an encoded identification code Cid3
The encoded data string Bsa4 including
6 and outputs the encoded data string Bsb and the encoded identification code C.
Data output control is performed by the media designation signal Im so that the encoded data string Bsb4 including id3 is output to the DVD 1407.

【0167】次に動作について説明する。この実施の形
態5の符号化装置100eに、ビデオ信号として画像デ
ータIdが入力されると、選択器1401は、上記メデ
ィア指定信号Imに基づいて、画像データIdを、小ブ
ロック動き補償符号化部1402とMPEG符号化部1
403のいずれか一方に供給する。
Next, the operation will be described. When the image data Id as a video signal is input to the encoding device 100e of the fifth embodiment, the selector 1401 converts the image data Id into the small block motion compensation encoding unit based on the media designation signal Im. 1402 and MPEG encoding unit 1
Supply to either one of 403.

【0168】具体的には、メディア指定信号Imがハー
ドディスク1406を指定する場合は、画像データId
は、小ブロック動き補償符号化部1402に供給され、
メディア指定信号ImがDVD1407を指定する場合
は、画像データIdは、MPEG符号化部1403に供
給される。
Specifically, when the media designation signal Im designates the hard disk 1406, the image data Id
Is supplied to the small block motion compensation encoding unit 1402,
When the media designation signal Im designates the DVD 1407, the image data Id is supplied to the MPEG encoding unit 1403.

【0169】そして、小ブロック動き補償符号化部14
02は、画像データIdが入力されると、上記実施の形
態1の符号化装置100aと同様に画像データIdに対
する予測符号化処理を行って、符号化データ列Bsaを出
力する。また、MPEG符号化部1403は、画像デー
タIdが入力されると、図17に示す従来の符号化装置
700と同様に画像データIdに対する予測符号化処理
を行って、符号化データ列Bsbを出力する。
Then, the small block motion compensation coding unit 14
When the image data Id is input, 02 performs predictive encoding processing on the image data Id as in the encoding device 100a of the first embodiment, and outputs the encoded data string Bsa. Also, when the image data Id is input, the MPEG encoding unit 1403 performs predictive encoding processing on the image data Id as in the conventional encoding device 700 shown in FIG. 17, and outputs an encoded data string Bsb. To do.

【0170】また、このとき、符号化識別符号生成部1
404は、上記選択部1401にて、メディア指定信号
Irに基づいて上記第1及び第2の符号化部1402及
び1403のいずれが選択されたかを識別する符号(符
号化識別符号)Cid3を出力する。
At this time, the coding identification code generator 1
404 outputs a code (encoding identification code) Cid3 for identifying which of the first and second encoding sections 1402 and 1403 has been selected by the selection section 1401 based on the media designation signal Ir. .

【0171】記録処理部1405は、小ブロック動き補
償符号化部1402あるいはMPEG符号化部1403
により生成された符号化データ列BsaあるいはBsbに対
して、メディア指定信号Imに基づいて各記録メディア
に適したエラー訂正処理などのデータ処理を行い、該デ
ータ処理が施された符号化データ列BsaあるいはBsbと
符号化識別符号Cid3とを含む記録用データ列Bs4aあ
るいはBs4bを出力する。この際、記録処理部1405
では、メディア指定信号Imに基づいて、記録用データ
列Bs4aをハードディスク1406に出力し、記録用デ
ータ列Bs4bをDVD1407に出力するデータ出力制
御が行われる。
The recording processing unit 1405 has a small block motion compensation coding unit 1402 or an MPEG coding unit 1403.
The encoded data string Bsa or Bsb generated by the above is subjected to data processing such as error correction processing suitable for each recording medium based on the media designation signal Im, and the encoded data string Bsa subjected to the data processing. Alternatively, the recording data string Bs4a or Bs4b including Bsb and the encoded identification code Cid3 is output. At this time, the recording processing unit 1405
Then, based on the media designation signal Im, data output control is performed to output the recording data string Bs4a to the hard disk 1406 and output the recording data string Bs4b to the DVD 1407.

【0172】このように本実施の形態5の記録装置10
0eでは、DVDにはMPEG符号化方式によって符号
化処理が施された画像データを記録するので、DVD規
格に準拠し、他のDVD機器との互換性を保つことがで
きる。一方、ハードディスクには、実施の形態1の符号
化装置により符号化処理を施した画像データを記録する
ので、ハードディスクなど互換性問題の少ないメディア
には、画像データを高精度な動き補償により高い符号化
効率で符号化処理して得られた符号化データ列を記録す
ることができる。
As described above, the recording apparatus 10 according to the fifth embodiment
In 0e, image data encoded by the MPEG encoding method is recorded on the DVD, so that the DVD standard is complied with and compatibility with other DVD devices can be maintained. On the other hand, since the hard disk stores the image data that has been encoded by the encoding device of the first embodiment, it is possible to encode the image data on a medium such as a hard disk with few compatibility problems by performing high-precision motion compensation on the medium. It is possible to record the coded data string obtained by the coding process with the coding efficiency.

【0173】また、この実施の形態5では、メディア指
定信号によって選択された符号化方法の種類(つまり上
記第1及び第2の符号化部)を識別する符号(符号化識
別符号)Cid3がハードディスク1406あるいはDV
D1407に記録されるので、記録メディアに記録され
た符号化識別符号を読み出すことにより、記録された符
号化データ列の符号化方法を識別することができ、復号
化の際には、適切な復号化方法を選択可能となる。
In the fifth embodiment, the code (encoding identification code) Cid3 for identifying the type of the encoding method selected by the media designation signal (that is, the first and second encoding units) is the hard disk. 1406 or DV
Since it is recorded in D1407, the encoding method of the recorded encoded data string can be identified by reading the encoded identification code recorded on the recording medium, and an appropriate decoding can be performed at the time of decoding. It becomes possible to select the conversion method.

【0174】また、符号化識別符号は符号化データ列に
多重化して記録してもよいし、記録メディアの、符号化
データ列の記録領域とは異なる領域、例えば、記録デー
タの管理情報を記録する領域に記録してもよい。
The coded identification code may be multiplexed and recorded in the coded data string, or an area different from the recording area of the coded data string of the recording medium, for example, management information of the record data may be recorded. It may be recorded in the area.

【0175】また、異なる符号化データ列を、対応する
メディアに記録する処理は、並行して同時に行うように
してもよい。例えば、小ブロック動き補償符号化部14
02で得られた符号化データ列をハードディスク140
6に記録しつつ、同時にMPEG符号化部1403で得
られた符号化データ列をDVD1407に記録してもよ
い。
The processing of recording different encoded data strings on the corresponding media may be performed in parallel and simultaneously. For example, the small block motion compensation coding unit 14
The encoded data string obtained in 02 is stored in the hard disk 140.
6, the encoded data sequence obtained by the MPEG encoding unit 1403 may be recorded on the DVD 1407 at the same time.

【0176】また、上記実施の形態5では、記録メディ
アとしてハードディスクとDVDを挙げたが、記録メデ
ィアの種類は限定されるものではなく、例えばCD−
R、CD−RW、DVD−RAM、DVD−R、DVD
−RW、DVD+R、DVD+RWなどの光ディスクで
あっても、あるいは半導体メモリ、磁気記録メディアで
あってもよく、さらに、記録メディアの種類数は、2つ
以上であればいくつでもよい。
Further, in the fifth embodiment, the hard disk and the DVD are mentioned as the recording medium, but the kind of the recording medium is not limited, and for example, CD-
R, CD-RW, DVD-RAM, DVD-R, DVD
It may be an optical disc such as -RW, DVD + R, DVD + RW, a semiconductor memory, or a magnetic recording medium, and the number of recording media may be any number as long as it is two or more.

【0177】(実施の形態6)図8は、本発明の実施の
形態6による記録装置を説明するためのブロック図であ
る。この実施の形態6の記録装置100fは、入力され
た画像データIdに対する符号化処理を行うとともに、
この記録装置に装着された記録メディアの種類に応じ
て、記録しようとする画像データIdに対する符号化処
理を切り替えるものである。
(Sixth Embodiment) FIG. 8 is a block diagram for explaining a recording apparatus according to a sixth embodiment of the present invention. The recording apparatus 100f according to the sixth embodiment performs an encoding process on the input image data Id, and
The coding process for the image data Id to be recorded is switched according to the type of the recording medium mounted in the recording device.

【0178】すなわち、この実施の形態6の記録装置1
00fは、入力された画像データIdに対する動き補償
を行うデータ単位が、該画像データIdに対する周波数
変換を行うデータ単位より小さい予測符号化処理を行う
第1の符号化部(小ブロック動き補償符号化部)150
2と、入力された画像データIdに対する動き補償を行
うデータ単位が、該画像データIdに対する周波数変換
を行うデータ単位より大きい予測符号化処理を行う第2
の符号化部(MPEG符号化部)1503とを有してい
る。ここで、上記第1の符号化部1502は、実施の形
態1の符号化装置100aからなる。また、上記第2の
符号化部1503は、図17に示す従来のMPEG符号
化方式によって符号化処理する符号化装置700からな
るMPEG符号化部である。但し、上記第1の符号化部
1502は、実施の形態2の符号化装置100bからな
るものであってもよい。
That is, the recording apparatus 1 according to the sixth embodiment
00f is a first coding unit (small block motion compensation coding) that performs a predictive coding process in which a data unit that performs motion compensation on the input image data Id is smaller than a data unit that performs frequency conversion on the image data Id. Part) 150
2 and a data unit for performing motion compensation on the input image data Id is larger than a data unit for performing frequency conversion on the image data Id.
Coding unit (MPEG coding unit) 1503. Here, the first encoding unit 1502 includes the encoding device 100a according to the first embodiment. The second encoding unit 1503 is an MPEG encoding unit including an encoding device 700 that performs an encoding process by the conventional MPEG encoding method shown in FIG. However, the first encoding unit 1502 may be the encoding device 100b according to the second embodiment.

【0179】上記記録装置100fは、記録ドライブに
挿入された記録メディア1506の種類を判別し、該判
別結果を示すメディア判別信号Sdを出力するメディア
判別部1507と、メディア判別信号Sdに応じて、入
力された画像データIdを、第1の符号化部1502と
第2の符号化部1503のいずれか一方に供給する選択
器1501とを有している。
The recording apparatus 100f discriminates the type of the recording medium 1506 inserted in the recording drive, and outputs the medium discriminating signal Sd indicating the discriminating result, and the medium discriminating section 1507, and in response to the medium discriminating signal Sd. It has a selector 1501 that supplies the input image data Id to either one of the first encoding unit 1502 and the second encoding unit 1503.

【0180】ここで、メディア判別部1507は、例え
ば、記録ドライブに装着された記録メディアの内周部な
どに記録されたメディア情報を読み出すことにより、メ
ディアの種類を判別するものであってもよいし、記録メ
ディアの表面にレーザー光を照射したときの反射光の強
さによって、記録メディアの種類を判別するものであっ
てもよい。また、メディア判別部1507は、メディア
のカートリッジ形状によって、メディアの種類を判別す
るものであってもよい。
Here, the media discriminating unit 1507 may discriminate the type of the medium by reading the media information recorded on the inner peripheral portion of the recording medium mounted in the recording drive, for example. However, the type of the recording medium may be determined by the intensity of the reflected light when the surface of the recording medium is irradiated with the laser light. Further, the media discriminating unit 1507 may discriminate the type of the medium based on the cartridge shape of the medium.

【0181】上記記録装置100fは、該選択器150
1にてメディア判別信号Sdに応じて上記第1及び第2
の符号化部1502及び1503のいずれが選択された
かを識別する符号(符号化識別符号)Cid4を出力する
符号化識別符号生成部1504と、小ブロック動き補償
符号化部1502により生成された符号化データ列Bsa
あるいはMPEG符号化部1503により生成された符
号化データ列Bsbに対して、各記録メディアに適したエ
ラー訂正処理などのデータ処理を行い、該データ処理が
施された符号化データ列BsaあるいはBsbと符号化識別
符号Cid4とを含む符号化データ列Bsa5あるいはBsb5
を出力する記録処理部1505を有している。
The recording device 100f includes the selector 150.
1 according to the media discrimination signal Sd
Coded identification code generation section 1504 that outputs a code (coded identification code) Cid4 that identifies which of the coding sections 1502 and 1503 has been selected, and the coding generated by the small block motion compensation coding section 1502. Data string Bsa
Alternatively, the encoded data sequence Bsb generated by the MPEG encoding unit 1503 is subjected to data processing such as error correction processing suitable for each recording medium, and the encoded data sequence Bsa or Bsb subjected to the data processing is obtained. Coded data string Bsa5 or Bsb5 including coded identification code Cid4
The recording processing unit 1505 that outputs

【0182】この記録処理部1505は、例えば、メデ
ィア判別信号Sdに基づいて、画像データIdをCD−
R、CD−RWなどに記録する場合は小ブロック動き補
償符号化部1502から出力された符号化データ列Bsa
を含む符号化データBsa5を出力し、一方、画像データ
IdをDVDに記録する場合はMPEG符号化部150
3から出力された符号化データ列をBsb含む記録符号化
データBsb5を出力するものである。
The recording processing unit 1505, for example, based on the media discrimination signal Sd, sets the image data Id to CD-
When recording on R, CD-RW, etc., the encoded data sequence Bsa output from the small block motion compensation encoding unit 1502
When the image data Id is recorded on the DVD, the MPEG encoding unit 150 is output.
The recorded coded data Bsb5 including the coded data string output from No. 3 is output.

【0183】次に動作について説明する。この実施の形
態5の符号化装置100fでは、メディア判別部150
7は、記録ドライブに挿入された記録メディア1506
の種類を判別し、メディア判別信号Sdを出力する。
Next, the operation will be described. In the encoding device 100f according to the fifth embodiment, the media discriminating unit 150 is included.
7 is a recording medium 1506 inserted in the recording drive.
The media discrimination signal Sd is output.

【0184】そして、ビデオ信号として画像データId
が入力されると、選択器1501は、上記メディア判別
信号Sdに基づいて、画像データIdを、小ブロック動
き補償符号化部1502とMPEG符号化部1503の
いずれか一方に供給する。
Then, the image data Id as a video signal.
Is input, the selector 1501 supplies the image data Id to one of the small block motion compensation coding unit 1502 and the MPEG coding unit 1503 based on the media discrimination signal Sd.

【0185】具体的には、メディア判別信号SdがCD
−RあるいはCD−RWを指定する場合は、画像データ
Idは、小ブロック動き補償符号化部1502に供給さ
れ、メディア判別信号SdがDVDを指定する場合は、
画像データIdは、MPEG符号化処理部1503に供
給される。
Specifically, when the media discrimination signal Sd is CD
When -R or CD-RW is designated, the image data Id is supplied to the small block motion compensation coding unit 1502, and when the media discrimination signal Sd designates DVD,
The image data Id is supplied to the MPEG encoding processing unit 1503.

【0186】小ブロック動き補償符号化部1502は、
画像データIdが入力されると、上記実施の形態1の符
号化装置100aと同様に画像データに対する予測符号
化処理を行って符号化データ列Bsaを出力する。また、
MPEG符号化部1503は、画像データIdが入力さ
れると、図17に示す従来の符号化装置700と同様に
画像データに対する予測符号化処理を行って、符号化デ
ータ列Bsbを出力する。
The small block motion compensation coding unit 1502
When the image data Id is input, the predictive encoding process is performed on the image data as in the encoding device 100a according to the first embodiment, and the encoded data string Bsa is output. Also,
When the image data Id is input, the MPEG encoding unit 1503 performs predictive encoding processing on the image data as in the conventional encoding device 700 shown in FIG. 17, and outputs an encoded data string Bsb.

【0187】また、このとき、符号化識別符号生成部1
504は、メディア判別信号Sdに基づいて上記第1及
び第2の符号化部1502及び1503のいずれが選択
されたかを識別する符号(符号化識別符号)Cid4を出
力する。
At this time, the coding identification code generator 1
504 outputs a code (encoding identification code) Cid4 for identifying which of the first and second encoding units 1502 and 1503 has been selected based on the media determination signal Sd.

【0188】記録処理部1505は、小ブロック動き補
償符号化部1502あるいはMPEG符号化部1503
により生成された符号化データ列BsaあるいはBsbに対
して、メディア判定信号Sdに基づいて、記録メディア
に適したエラー訂正処理などのデータ処理を施し、該デ
ータ処理が施された符号化データ列BsaあるいはBsbと
符号化識別符号Cid4とを含む記録用データ列Bs5aあ
るいはBs5bを出力する。
The recording processing unit 1505 includes a small block motion compensation coding unit 1502 or an MPEG coding unit 1503.
The encoded data sequence Bsa or Bsb generated by the above is subjected to data processing such as error correction processing suitable for the recording medium based on the media determination signal Sd, and the encoded data sequence Bsa subjected to the data processing. Alternatively, the recording data string Bs5a or Bs5b including Bsb and the encoded identification code Cid4 is output.

【0189】例えば、データを、CD−RあるいはCD
−RWなどの他の機器との互換性に関する条件が緩いメ
ディアに記録する場合は、記録処理部1505は、小ブ
ロック動き補償符号化部1502から出力された符号化
データ列を含む記録符号化データBsa5を出力し、デー
タをDVDなどの他の機器との互換性に関する条件が厳
しいメディアに記録する場合は、MPEG符号化部15
03から出力された符号化データ列を含む記録符号化デ
ータBsb5を出力する。
[0189] For example, the data is recorded on a CD-R or a CD.
In the case of recording on a medium with a looser compatibility condition with other devices such as RW, the recording processing unit 1505 records recording coded data including a coded data string output from the small block motion compensation coding unit 1502. When outputting Bsa5 and recording the data on a medium having a strict requirement for compatibility with other devices such as a DVD, the MPEG encoding unit 15
The recorded coded data Bsb5 including the coded data string outputted from No. 03 is outputted.

【0190】このように本実施の形態6の記録装置10
0fでは、DVDにはMPEG符号化方式によって符号
化処理が施された画像データを記録するので、DVD規
格に準拠し、他のDVD機器との互換性を保つことがで
きる。一方、互換性に関する条件の緩いメディア、つま
りCD−RあるいはCD−RWなどには、実施の形態1
の符号化装置により符号化処理を施した画像データを記
録するので、高精度な動き補償により、高い符号化効率
で符号化処理した符号化データ列を記録することができ
る。
As described above, the recording apparatus 10 according to the sixth embodiment
At 0f, image data encoded by the MPEG encoding method is recorded on the DVD, so that the DVD standard is complied with and compatibility with other DVD devices can be maintained. On the other hand, in the medium having a loose compatibility condition, that is, the CD-R or the CD-RW, the first embodiment is used.
Since the image data encoded by the encoding device is recorded, it is possible to record the encoded data string encoded with high encoding efficiency by highly accurate motion compensation.

【0191】また、この実施の形態6では、メディア判
別信号Sdによって選択された符号化方法の種類を識別
する符号(符号化識別符号)Cid4が記録メディア15
06に記録されるので、記録メディアに記録された符号
化識別符号を読み出すことにより、データの復号側で
は、記録された符号化データ列の符号化方法を識別する
ことができ、復号化の際には適切な復号化方法を選択で
きる。
Further, in the sixth embodiment, the code (encoding identification code) Cid4 for identifying the type of the encoding method selected by the media discrimination signal Sd is the recording medium 15
Since it is recorded on the recording medium 06, the encoding side of the recorded encoded data sequence can be identified on the data decoding side by reading the encoded identification code recorded on the recording medium. For this, an appropriate decoding method can be selected.

【0192】なお、上記実施の形態6では、上記符号化
データ列を記録メディアに記録する場合、符号化識別符
号は符号化データ列に多重化して記録してもよいし、記
録メディアの、符号化データ列の記録領域とは異なる領
域、例えば、記録データの管理情報を記録する領域に記
録してもよい。
In the sixth embodiment, when the coded data string is recorded on the recording medium, the coded identification code may be multiplexed and recorded on the coded data string, or the code of the recording medium may be recorded. It may be recorded in an area different from the recording area of the encoded data string, for example, in an area for recording the management information of the recording data.

【0193】また、上記実施の形態6では、記録メディ
アとしてCD−R、CD−RWやDVD(ROM)を挙
げたが、記録メディアの種類は限定されるものではな
く、他の機器との互換性に関する条件が緩い記録メディ
アは、半導体メモリあるいは磁気記録メディアであって
もよく、また、他の機器との互換性に関する条件が厳し
いメディアは、DVD−RAM、DVD−R、DVD−
RW、DVD+R、DVD+RWなどの光ディスクであ
ってもよい。
Further, in the sixth embodiment, the CD-R, the CD-RW and the DVD (ROM) are mentioned as the recording medium, but the kind of the recording medium is not limited and the compatibility with other devices is not limited. The recording medium whose condition regarding the compatibility is loose may be a semiconductor memory or a magnetic recording medium, and the medium whose condition regarding the compatibility with other devices is strict is DVD-RAM, DVD-R, DVD-.
It may be an optical disc such as RW, DVD + R, DVD + RW.

【0194】(実施の形態7)図9は本発明の実施の形
態7による復号化装置を説明するためのブロック図であ
る。この実施の形態7の復号化装置100gは、上記実
施の形態1の符号化装置100aから出力された符号化
データ列Bs1を復号化するものである。
(Embodiment 7) FIG. 9 is a block diagram for explaining a decoding apparatus according to Embodiment 7 of the present invention. The decoding device 100g of the seventh embodiment is for decoding the coded data string Bs1 output from the coding device 100a of the first embodiment.

【0195】すなわち、この復号化装置100gは、入
力された符号化データ列Bs1に含まれる量子化係数の
符号列322と動きベクトルの符号列とを分類し、量子
化係数の符号列322と動きベクトル330とを出力す
る符号分類器301と、上記量子化係数の符号列322
に対して可変長復号化処理を施して、8×8予測誤差ブ
ロックの量子化係数データ323を復元する可変長復号
化器302と、参照フレームメモリ308に格納されて
いる復号化済みフレームの画像データ318を参照し
て、該フレームにおける動きベクトル330の示す領域
の画像データを4×4予測参照ブロックのデータ331
として出力する動き補償部307とを有している。
That is, the decoding device 100g classifies the quantized coefficient code string 322 and the motion vector code string included in the input coded data string Bs1 into the quantized coefficient code string 322 and the motion vector. A code classifier 301 that outputs a vector 330, and a code string 322 of the quantized coefficient
A variable length decoder 302 that restores the quantized coefficient data 323 of the 8 × 8 prediction error block by performing a variable length decoding process on the image data of the decoded frame stored in the reference frame memory 308. Referring to the data 318, the image data of the area indicated by the motion vector 330 in the frame is set to the data 331 of the 4 × 4 prediction reference block.
And a motion compensation unit 307 for outputting as.

【0196】上記復号化装置100gは、8×8予測誤
差ブロックの量子化係数データ323に対して、符号化
の際に用いた量子化ステップでもって逆量子化処理を施
して、8×8予測誤差ブロックのDCT係数データ31
4を復元する逆量子化器303と、8×8予測誤差ブロ
ックのDCT係数データ314に対して逆2次元離散コ
サイン変換処理を施して、8×8予測誤差ブロックの復
号データ324を生成する逆DCT器304とを有して
いる。
The decoding apparatus 100g performs the inverse quantization process on the quantized coefficient data 323 of the 8 × 8 prediction error block by the quantization step used at the time of encoding to obtain the 8 × 8 prediction. DCT coefficient data 31 of error block
The inverse quantizer 303 that restores 4 and the inverse two-dimensional discrete cosine transform process are performed on the DCT coefficient data 314 of the 8 × 8 prediction error block to generate the decoded data 324 of the 8 × 8 prediction error block. It has a DCT unit 304.

【0197】上記復号化装置100gは、図18に示す
従来の復号化装置800における16×16ブロック構
成器804とは異なり、8×8予測誤差ブロックの復号
データ324を4つの4×4予測誤差ブロックの復号化
データ325に分割する4×4ブロック分割器305を
有している。
The decoding device 100g differs from the 16 × 16 block construction unit 804 in the conventional decoding device 800 shown in FIG. 18 in that the decoded data 324 of the 8 × 8 prediction error block is converted into four 4 × 4 prediction errors. It has a 4 × 4 block divider 305 that divides the block into decoded data 325.

【0198】上記復号化装置100gは、4×4予測誤
差ブロックの復号データ325と、上記4×4予測参照
ブロックのデータ331とを加算して、4×4画素ブロ
ックの復号データ(4×4復号ブロックのデータ)34
0を出力する加算器306と、4×4復号ブロックのデ
ータ340から、フレームに対応する画像データを再生
し、再生された画像データRIdを出力する画像構成器
309と、4×4復号ブロックのデータ340を対象フ
レームの次のフレームに対する予測復号化の際に参照す
るデータとして格納する参照フレームメモリ308とを
有している。
The decoding apparatus 100g adds the decoded data 325 of the 4 × 4 prediction error block and the data 331 of the 4 × 4 prediction reference block to obtain the decoded data (4 × 4 pixel block) of the 4 × 4 pixel block. Data of decoding block) 34
The adder 306 that outputs 0 and the image configurator 309 that reproduces the image data corresponding to the frame from the data 340 of the 4 × 4 decoding block and that outputs the reproduced image data RId and the 4 × 4 decoding block It has a reference frame memory 308 that stores the data 340 as data to be referred to when performing predictive decoding for the next frame of the target frame.

【0199】次に動作について説明する。この復号化装
置100gに、上記符号化装置100aからの符号化デ
ータ列Bs1が入力されると、符号分類器301は、符
号化データ列Bs1に含まれる量子化係数の符号列32
2と動きベクトルの符号列を分類する処理を行い、該符
号分類器301は、量子化係数の符号列322と動きベ
クトル330とを出力する。
Next, the operation will be described. When the encoded data string Bs1 from the encoding device 100a is input to the decoding device 100g, the code classifier 301 causes the code string 32 of the quantized coefficients included in the encoded data string Bs1.
2 and the motion vector code string are classified, and the code classifier 301 outputs a quantized coefficient code string 322 and a motion vector 330.

【0200】可変長復号化器302は、該量子化係数の
符号列322に対して可変長復号処理を施して、8×8
予測誤差ブロックの、2次元の配列を有する量子化係数
からなる量子化データ323を生成する。さらに、逆量
子化器303は、この8×8予測誤差ブロックの量子化
データ323を、符号化処理における量子化ステップを
用いた逆量子化処理により、8×8予測誤差ブロック
の、2次元の配列を有するDCT係数からなるDCT係
数データ314に変換する。逆DCT器309は、この
8×8予測誤差ブロックのDCT係数データ314を、
逆2次元離散コサイン変換処理により8×8予測誤差ブ
ロックの復号データ324に変換する。
The variable length decoder 302 performs a variable length decoding process on the code string 322 of the quantized coefficient to obtain 8 × 8.
The quantized data 323 including the quantized coefficients having the two-dimensional array of the prediction error block is generated. Further, the dequantizer 303 dequantizes the quantized data 323 of the 8 × 8 prediction error block by dequantizing the quantized data 323 using the quantization step in the coding process to obtain the two-dimensional data of the 8 × 8 prediction error block. It is converted into DCT coefficient data 314 composed of DCT coefficients having an array. The inverse DCT unit 309 converts the DCT coefficient data 314 of this 8 × 8 prediction error block into
It is converted into decoded data 324 of an 8 × 8 prediction error block by inverse two-dimensional discrete cosine transform processing.

【0201】4×4ブロック分割器305は、上記8×
8予測誤差ブロックの復号データ324を、4つの4×
4予測誤差ブロックの復号データ325に分割する。な
お、図2(a)に示すように、1つの8×8予測誤差ブロ
ックBL8は、4つの4×4予測誤差ブロックBL4a〜
BL4dに対応している。
The 4 × 4 block divider 305 uses the above 8 ×
Decoded data 324 of 8 prediction error blocks is divided into four 4 ×
It is divided into decoded data 325 of four prediction error blocks. As shown in FIG. 2A, one 8 × 8 prediction error block BL8 is divided into four 4 × 4 prediction error blocks BL4a-
It corresponds to BL4d.

【0202】また、動き補償部307は、参照フレーム
メモリ308に格納されている復号化済みフレームの画
像データ318を参照する動き補償により、該フレーム
における動きベクトル330の示す領域の画像データを
4×4予測参照ブロックのデータ331として出力す
る。
Also, the motion compensation unit 307 refers to the image data 318 of the decoded frame stored in the reference frame memory 308 to perform motion compensation on the image data of the area indicated by the motion vector 330 in the frame by 4 ×. The data is output as data 331 of the 4-prediction reference block.

【0203】加算器306は、4×4予測誤差ブロック
のデータ325と動き補償部307によって得られた予
測参照ブロックのデータ331とを加算し、4×4画素
ブロックの復号データ340を出力する。画像構成器3
09は、4×4画素ブロックに対応する復号データ34
0からフレームに対応する復号データを再生し、該再生
された画像データRIdを出力する。また、4×4画素
ブロックの復号データ340は、対象フレームの次のフ
レームの予測復号化の際に用いられる予測参照フレーム
のデータとして、参照フレームメモリ308に蓄積され
る。
The adder 306 adds the data 325 of the 4 × 4 prediction error block and the data 331 of the prediction reference block obtained by the motion compensation unit 307, and outputs the decoded data 340 of the 4 × 4 pixel block. Image composer 3
09 is the decoded data 34 corresponding to the 4 × 4 pixel block
The decoded data corresponding to the frame is reproduced from 0, and the reproduced image data RId is output. Further, the decoded data 340 of the 4 × 4 pixel block is accumulated in the reference frame memory 308 as the data of the predictive reference frame used in the predictive decoding of the frame next to the target frame.

【0204】このように本実施の形態7では、符号化デ
ータ列に対する予測復号化処理を行う際、動き補償を4
×4画素からなるブロックを単位として行い、逆DCT
処理を8×8画素からなるブロックを単位として行うの
で、より細かな動き補償を行って符号化処理が施された
画像データを適切に復号化することが可能となり、符号
化効率の高い符号化処理に対応する復号化処理を実現す
ることができる。
As described above, according to the seventh embodiment, when the predictive decoding process is performed on the encoded data string, motion compensation is performed by 4
Inverse DCT is performed by a block composed of × 4 pixels as a unit.
Since the processing is performed in units of blocks of 8 × 8 pixels, it is possible to perform finer motion compensation and appropriately decode the image data that has been subjected to the encoding processing, and thus encoding with high encoding efficiency can be performed. A decoding process corresponding to the process can be realized.

【0205】なお、上記実施の形態7では、動き補償を
行う単位を4×4画素からなるブロックとし、逆DCT
処理を行う単位を8×8画素からなるブロックとした
が、動き補償及び逆DCT処理の単位となるブロックの
形状は、上記実施の形態7のものに限定されるものでは
なく、逆DCT処理を行う単位であるブロックは、動き
補償を行う単位であるブロックを複数まとめて得られる
ものであればよい。例えば、動き補償を行う単位を2×
8画素からなるブロック(2×8画素ブロック)とし、
逆DCT処理を、これら4つの2×8画素ブロックを合
わせて得られる8×8画素からなるブロック(8×8画
素ブロック)毎に行ってもよい。
In the seventh embodiment, the unit for motion compensation is a block consisting of 4 × 4 pixels, and the inverse DCT is performed.
Although the unit of processing is a block composed of 8 × 8 pixels, the shape of the block which is the unit of motion compensation and inverse DCT processing is not limited to that of the seventh embodiment, and inverse DCT processing is performed. The block that is a unit to be performed may be any block that can be obtained by collecting a plurality of blocks that is a unit to perform motion compensation. For example, the unit for motion compensation is 2 ×
A block consisting of 8 pixels (2 × 8 pixel block),
The inverse DCT process may be performed for each block (8 × 8 pixel block) composed of 8 × 8 pixels obtained by combining these four 2 × 8 pixel blocks.

【0206】また、上記実施の形態7では、逆DCT処
理を、4個の動き補償の単位毎に行う場合を示したが、
逆DCT処理は、これに限定されるものではなく、複数
個の動き補償の単位毎に行うものであればよい。
Further, although the case where the inverse DCT processing is performed for every four units of motion compensation has been shown in the above-mentioned seventh embodiment,
The inverse DCT processing is not limited to this, and may be performed for each of a plurality of motion compensation units.

【0207】また、上記実施の形態7では、画像データ
の逆周波数変換処理として逆DCTを用いているが、画
像データの逆周波数変換処理はこれに限定されるもので
はなく、例えば逆アダマール変換などでもよい。
Further, in the seventh embodiment, the inverse DCT is used as the inverse frequency conversion processing of the image data, but the inverse frequency conversion processing of the image data is not limited to this, and for example, inverse Hadamard conversion or the like. But it is okay.

【0208】また、量子化係数をDCT係数に変換する
逆量子化処理は、上記実施の形態7のものに限らず、例
えば、量子化係数が、DCT係数に対するベクトル量子
化により得られたものである場合は、量子化係数に対す
る逆量子化処理には逆ベクトル量子化が用いられること
は言うまでもない。
Further, the inverse quantization processing for converting the quantized coefficient into the DCT coefficient is not limited to that of the seventh embodiment, and for example, the quantized coefficient is obtained by vector quantization of the DCT coefficient. In some cases, it goes without saying that inverse vector quantization is used for the inverse quantization process on the quantized coefficient.

【0209】(実施の形態8)図10は本発明の実施の
形態8による復号化装置を説明するためのブロック図で
ある。この実施の形態8の復号化装置は100hは、実
施の形態7の復号化装置100gと同様、符号化された
画像データに対する予測復号化の際、動き補償を、逆D
CT処理を行うデータ単位より小さいデータ単位で行う
ものであるが、この実施の形態8の復号化装置100h
は、上記予測復号化の際に、2つの動き補償モードを適
応的に切り替える点で、上記実施の形態7の復号化装置
100hと異なっている。
(Embodiment 8) FIG. 10 is a block diagram for explaining a decoding apparatus according to Embodiment 8 of the present invention. The decoding apparatus 100h according to the eighth embodiment is similar to the decoding apparatus 100g according to the seventh embodiment in that when performing predictive decoding on encoded image data, motion compensation is performed by inverse D
Although it is performed in a data unit smaller than the data unit in which the CT processing is performed, the decoding device 100h according to the eighth embodiment.
Is different from the decoding device 100h of the seventh embodiment in that the two motion compensation modes are adaptively switched during the predictive decoding.

【0210】つまり、この実施の形態8の復号化装置1
00hは、本発明の実施の形態2の符号化装置100b
によって生成された符号化データBs2を復号可能なもの
である。図10中、図9と同一符号は、上記実施の形態
7の復号化装置100gにおけるものと同一のものを示
す。
That is, the decoding apparatus 1 according to the eighth embodiment
00h is the encoding device 100b according to the second embodiment of the present invention.
It is possible to decode the encoded data Bs2 generated by. 10, the same symbols as those in FIG. 9 indicate the same components as those in the decoding device 100g of the seventh embodiment.

【0211】すなわち、この実施の形態8の復号化装置
100hは、入力された符号化データ列Bs2に含まれ
る、量子化係数の符号列322、動きベクトルの符号、
及び動き補償モード識別信号の符号409を分類し、量
子化係数の符号列322、動きベクトル330、及び動
き補償モード識別信号の符号409を出力する符号分類
器401と、動き補償モード識別信号の符号409を復
号して、1つの8×8予測誤差ブロックを区分する、4
×4予測誤差ブロック及び2×8予測誤差ブロックの配
置パターンを識別する動き補償モード識別信号410を
出力する予測ブロックパターン復号器402とを有して
いる。
That is, the decoding apparatus 100h according to the eighth embodiment includes the quantized coefficient code string 322, the motion vector code, which are included in the input coded data string Bs2.
And a code classifier 401 that classifies the code 409 of the motion compensation mode identification signal and outputs the code string 322 of the quantized coefficient, the motion vector 330, and the code 409 of the motion compensation mode identification signal, and the code of the motion compensation mode identification signal. Decode 409 to partition one 8x8 prediction error block, 4
The prediction block pattern decoder 402 outputs a motion compensation mode identification signal 410 for identifying the arrangement pattern of the × 4 prediction error block and the 2 × 8 prediction error block.

【0212】上記復号化装置100hは、上記量子化係
数の符号列322に対して可変長復号化処理を施して、
8×8予測誤差ブロックの量子化係数データ323を復
元する可変長復号化器302と、動きベクトル330及
び動き補償モード識別信号410に基づいて、参照フレ
ームメモリ308に格納されている復号化済みフレーム
の画像データ318を参照する動き補償を行い、該フレ
ームにおける動きベクトル330の示す領域の画像デー
タを、4×4予測参照ブロックのデータ431aあるい
は2×8予測参照ブロックのデータ431bとして出力
する動き補償部404とを有している。
The decoding apparatus 100h performs variable length decoding processing on the coded string 322 of the quantized coefficients,
A variable length decoder 302 for restoring the quantized coefficient data 323 of the 8 × 8 prediction error block, and the decoded frame stored in the reference frame memory 308 based on the motion vector 330 and the motion compensation mode identification signal 410. Motion compensation is performed by referring to the image data 318 of the image data 318, and the image data in the area indicated by the motion vector 330 in the frame is output as the data 431a of the 4 × 4 prediction reference block or the data 431b of the 2 × 8 prediction reference block. Section 404.

【0213】上記復号化装置100hは、8×8予測誤
差ブロックの量子化係数データ323に対して、符号化
の際に用いた量子化ステップでもって逆量子化処理を施
して、8×8予測誤差ブロックのDCT係数データ31
4を復元する逆量子化器303と、8×8予測誤差ブロ
ックのDCT係数データ314に対して逆2次元離散コ
サイン変換処理を施して、8×8予測誤差ブロックの復
号データ324を生成する逆DCT器304とを有して
いる。
The decoding apparatus 100h performs the inverse quantization process on the quantized coefficient data 323 of the 8 × 8 prediction error block by the quantization step used at the time of encoding to obtain the 8 × 8 prediction. DCT coefficient data 31 of error block
The inverse quantizer 303 that restores 4 and the inverse two-dimensional discrete cosine transform process are performed on the DCT coefficient data 314 of the 8 × 8 prediction error block to generate the decoded data 324 of the 8 × 8 prediction error block. It has a DCT unit 304.

【0214】そして、この実施の形態8の復号化装置1
00hは、処理対象となる8×8予測誤差ブロックに対
応する動き補償モード識別信号410に従って、該8×
8予測誤差ブロックのデータ324を、該8×8予測誤
差ブロックを構成する4×4予測誤差ブロックのデータ
425aあるいは2×8予測誤差ブロックのデータ42
5bに分割して出力するブロック分割器403を有して
いる。
Then, the decoding device 1 according to the eighth embodiment
00h is 8 × 8 according to the motion compensation mode identification signal 410 corresponding to the 8 × 8 prediction error block to be processed.
8 prediction error block data 324 is converted to 4 × 4 prediction error block data 425a or 2 × 8 prediction error block data 42 that constitutes the 8 × 8 prediction error block.
It has a block divider 403 for dividing and outputting to 5b.

【0215】さらに、この実施の形態8の復号化装置1
00hは、4×4予測誤差ブロックのデータ425aと
4×4予測参照ブロックのデータ431aとを加算して
4×4予測ブロックの復号データ440aを出力する加
算処理、あるいは2×8予測誤差ブロックのデータ42
5bと2×8予測参照ブロックのデータ431bとを加
算して2×8予測ブロックの復号データ440bを出力
する加算処理を行う加算器405を有している。
Furthermore, the decoding device 1 according to the eighth embodiment
00h is an addition process of adding the data 425a of the 4 × 4 prediction error block and the data 431a of the 4 × 4 prediction reference block and outputting the decoded data 440a of the 4 × 4 prediction block, or the addition process of the 2 × 8 prediction error block. Data 42
5b and the data 431b of the 2 × 8 prediction reference block are added, and an adder 405 that performs addition processing for outputting decoded data 440b of the 2 × 8 prediction block is included.

【0216】上記復号化装置100hは、該加算器40
5の出力である4×4予測ブロックの復号データ440
aあるいは2×8予測ブロックの復号データ440bか
ら、フレームに対応する画像データを再生し、該再生さ
れた画像データRIdを出力する画像構成器408と、
上記加算器405の出力である4×4予測ブロックの復
号データ440aあるいは2×8予測ブロックの復号デ
ータ440bを、対象フレームの次のフレームの予測復
号化の際に参照する参照フレームのデータとして格納す
る参照フレームメモリ308とを有している。
The decoding device 100h has the adder 40
The decoded data 440 of the 4 × 4 prediction block which is the output of 5
an image configurator 408 that reproduces image data corresponding to a frame from the decoded data 440b of the a or 2 × 8 prediction block, and outputs the reproduced image data RId;
The decoded data 440a of the 4 × 4 prediction block or the decoded data 440b of the 2 × 8 prediction block, which is the output of the adder 405, is stored as the data of the reference frame to be referred to in the predictive decoding of the frame next to the target frame. And a reference frame memory 308 for performing the same.

【0217】次に動作について説明する。この復号化装
置100hに、上記符号化装置100bからの符号化デ
ータ列Bs2が入力されると、符号分類器401は、入
力された符号化データ列Bs2に含まれる、量子化係数
の符号列322、動きベクトルの符号、及び動き補償モ
ード識別信号の符号409を分類して、量子化係数の符
号列322、動きベクトル330、及び動き補償モード
識別信号の符号409を出力する。
Next, the operation will be described. When the coded data string Bs2 from the coding device 100b is input to the decoding device 100h, the code classifier 401 causes the code string 322 of the quantization coefficient included in the input coded data string Bs2. , The code of the motion vector and the code 409 of the motion compensation mode identification signal are classified, and the code string 322 of the quantized coefficient, the motion vector 330, and the code 409 of the motion compensation mode identification signal are output.

【0218】上記量子化係数の符号列322は、本発明
の実施の形態7と同様に、可変長復号化器302、逆量
子化器303、及び逆DCT器304、によって処理さ
れ、8×8予測誤差ブロックの復号データ324が得ら
れる。また、該8×8予測誤差ブロックのデータ324
はブロック分割器403に入力され、上記動き補償モー
ド識別信号の符号409は予測ブロックパターン復号器
402に入力される。
The quantized coefficient code string 322 is processed by the variable length decoder 302, the inverse quantizer 303, and the inverse DCT unit 304, as in the case of the seventh embodiment of the present invention. The decoded data 324 of the prediction error block is obtained. In addition, the data 324 of the 8 × 8 prediction error block
Is input to the block divider 403, and the code 409 of the motion compensation mode identification signal is input to the prediction block pattern decoder 402.

【0219】予測ブロックパターン復号器402は、動
き補償モード識別信号の符号409を復号化して、1つ
の8×8予測誤差ブロックにおける4×4予測誤差ブロ
ックあるいは2×8予測誤差ブロックの配置パターンを
識別する動き補償モード識別信号410を出力する。
The prediction block pattern decoder 402 decodes the code 409 of the motion compensation mode identification signal to obtain the arrangement pattern of the 4 × 4 prediction error block or the 2 × 8 prediction error block in one 8 × 8 prediction error block. A motion compensation mode identification signal 410 for identification is output.

【0220】ブロック分割器403は、処理対象となる
8×8予測誤差ブロックに対応する動き補償モード識別
信号410に従って、該8×8予測誤差ブロックの復号
データ324を、該8×8予測誤差ブロックを構成する
4×4予測誤差ブロックの復号データ425aあるいは
2×8予測誤差ブロックの復号データ425bに分割し
て出力する。
The block divider 403 converts the decoded data 324 of the 8 × 8 prediction error block into the 8 × 8 prediction error block according to the motion compensation mode identification signal 410 corresponding to the 8 × 8 prediction error block to be processed. Of the decoded data 425a of the 4 × 4 prediction error block or the decoded data 425b of the 2 × 8 prediction error block, which are output.

【0221】ここでは、1つの8×8予測誤差ブロック
における4×4予測誤差ブロックあるいは2×8予測誤
差ブロックの配置パターンは、例えば、図4(a)〜(c)に
示す配置パターンであり、そのうちの1つの配置パター
ンが動き補償モード識別信号410によって特定され
る。
Here, the arrangement pattern of 4 × 4 prediction error blocks or 2 × 8 prediction error blocks in one 8 × 8 prediction error block is, for example, the arrangement pattern shown in FIGS. 4 (a) to 4 (c). , One of them is specified by the motion compensation mode identification signal 410.

【0222】動き補償部404は、動き補償モード識別
信号410及び動きベクトル330に基づいて動き補償
を行って、参照フレームにおける動きベクトル330が
示す領域のデータ、つまり、4×4予測参照ブロックの
データ431aあるいは2×8予測参照ブロックのデー
タ431bを出力する。このとき、予測参照ブロック
を、4×4予測参照ブロックとするか2×8予測参照ブ
ロックとするかは、動き補償モード識別信号410に従
って決定される。
The motion compensating section 404 performs motion compensation based on the motion compensation mode identification signal 410 and the motion vector 330, and the data of the area indicated by the motion vector 330 in the reference frame, that is, the data of the 4 × 4 prediction reference block. 431a or 2 × 8 prediction reference block data 431b is output. At this time, whether the prediction reference block is the 4 × 4 prediction reference block or the 2 × 8 prediction reference block is determined according to the motion compensation mode identification signal 410.

【0223】加算器405は、4×4予測誤差ブロック
のデータ425aと4×4予測参照ブロックのデータ4
31aとを加算する加算処理、あるいは2×8予測誤差
ブロックのデータ425bと2×8予測参照ブロックの
データ431bとを加算する加算処理を行って、4×4
予測ブロックの復号データ(4×4復号ブロックのデー
タ)440aあるいは2×8予測ブロックの復号データ
(2×8復号ブロックのデータ)440bを出力する。
The adder 405 uses the data 425a of the 4 × 4 prediction error block and the data 4 of the 4 × 4 prediction reference block.
31a is added, or addition processing for adding the data 425b of the 2 × 8 prediction error block and the data 431b of the 2 × 8 prediction reference block is performed to obtain 4 × 4.
The decoded data of the prediction block (data of the 4 × 4 decoded block) 440a or the decoded data of the 2 × 8 prediction block (data of the 2 × 8 decoded block) 440b is output.

【0224】そして、画像構成器408は、4×4復号
ブロックのデータ440aあるいは2×8復号ブロック
のデータ440bから、フレームに対応する画像データ
を再生し、該再生された画像データRIdを出力する。
また、4×4復号ブロックのデータ440aあるいは2
×8復号ブロックのデータ440bは、対象フレームの
次のフレームの予測復号化の際に用いられる参照フレー
ムのデータとして参照フレームメモリ308に蓄積され
る。
Then, the image configurator 408 reproduces the image data corresponding to the frame from the data 440a of the 4 × 4 decoded block or the data 440b of the 2 × 8 decoded block, and outputs the reproduced image data RId. .
In addition, the data 440a or 2 of the 4 × 4 decoded block
The data 440b of the × 8 decoded block is stored in the reference frame memory 308 as the data of the reference frame used in the predictive decoding of the frame next to the target frame.

【0225】このように本実施の形態8の復号化装置1
00hでは、逆DCT処理の単位となる8×8予測誤差
ブロックにおける4×4予測誤差ブロックあるいは2×
8予測誤差ブロックの配置パターンを示す信号410に
応じて、4×4予測参照ブロックのデータ431aある
いは2×8予測参照ブロックのデータ431bを生成す
るので、動き補償を行うデータ単位であるブロックとし
て、形状の異なるブロックを複数種類用いてより細かな
動き補償を行って符号化処理された画像データを、適切
に復号することが可能となり、符号化効率の高い予測符
号化処理に対応する予測復号化処理を実現することがで
きる。
As described above, the decoding device 1 according to the eighth embodiment
At 00h, the 4 × 4 prediction error block or the 2 × 8 prediction error block in the unit of the inverse DCT process
Since the data 431a of the 4 × 4 prediction reference block or the data 431b of the 2 × 8 prediction reference block is generated according to the signal 410 indicating the arrangement pattern of the 8 prediction error blocks, as a block which is a data unit for motion compensation, It becomes possible to appropriately decode image data that has been encoded by performing more detailed motion compensation using multiple types of blocks of different shapes, and predictive decoding corresponding to predictive encoding processing with high encoding efficiency. Processing can be realized.

【0226】なお、上記実施の形態8では、動き補償を
行うデータ単位を4×4画素ブロックおよび2×8画素
ブロックとし、逆DCT処理を行うデータ単位を、8×
8画素ブロックとしたが、動き補償の単位としてのブロ
ックの形状および逆DCT処理の単位としてのブロック
の形状は、上記実施の形態8のものに限定されるもので
なく、逆DCT処理の単位は、逆DCT処理が、複数個
の動き補償を行うブロックから構成されるブロック毎に
行われるものであればよい。
In the eighth embodiment, the data units for motion compensation are 4 × 4 pixel blocks and 2 × 8 pixel blocks, and the data units for inverse DCT processing are 8 ×.
Although the 8-pixel block is used, the shape of the block as the unit of motion compensation and the shape of the block as the unit of inverse DCT processing are not limited to those in the above-described eighth embodiment, and the unit of inverse DCT processing is The inverse DCT process may be performed for each block including a plurality of motion compensation blocks.

【0227】また、上記実施の形態8では、逆DCT処
理を、4個の動き補償のデータ単位毎に行う場合を示し
たが、逆DCT処理の単位は、これに限定されるもので
はなく、複数個の動き補償を行うデータ単位からなるも
のであればよい。
Further, although the case where the inverse DCT processing is performed for every four motion compensation data units has been shown in the above-mentioned Embodiment 8, the unit of the inverse DCT processing is not limited to this. It may be composed of a plurality of data units for motion compensation.

【0228】また、上記実施の形態8では、周波数変換
により得られた係数データに対する逆周波数変換として
逆DCTを用いているが、逆周波数変換はこれに限定さ
れるものではなく、例えば逆アダマール変換などでもよ
い。
In the eighth embodiment, the inverse DCT is used as the inverse frequency transform for the coefficient data obtained by the frequency transform. However, the inverse frequency transform is not limited to this, and for example, the inverse Hadamard transform is possible. And so on.

【0229】また、上記実施の形態8における、量子化
係数をDCT係数に変換する逆量子化処理は、例えば、
量子化係数が、DCT係数のベクトル量子化により得ら
れたものである場合は、量子化係数に対する逆量子化処
理には逆ベクトル量子化が用いられることは言うまでも
ない。
In addition, the inverse quantization processing for converting the quantized coefficient into the DCT coefficient in the above-mentioned Embodiment 8 is performed, for example, by
Needless to say, when the quantized coefficient is obtained by vector quantization of the DCT coefficient, inverse vector quantization is used for the inverse quantization process on the quantized coefficient.

【0230】さらに、上記実施の形態7及び8の復号化
装置は、それぞれ図9及び図10に示す構成(第1の復
号化部)に加えて、従来のMPEG復号化方式により復
号化処理を行う復号化部(第2の復号化部)を具備し、
符号化データの管理情報に従って、入力される符号化デ
ータを復号化する復号化部を切り替えるようにしてもよ
い。
Furthermore, the decoding devices of the above-mentioned seventh and eighth embodiments perform decoding processing by the conventional MPEG decoding system in addition to the configuration (first decoding section) shown in FIGS. 9 and 10, respectively. A decoding unit (second decoding unit) for performing,
You may make it switch the decoding part which decodes the input coded data according to the management information of coded data.

【0231】この場合、管理情報には、符号化データを
生成したときに用いた符号化方法を示す識別情報(符号
化情報)が含まれている。例えば、符号化データの管理
情報は記録メディアの所定領域に記録されるものであ
り、また、符号化データ列に、そのヘッダ情報として付
加されるものである。このような管理情報により、復号
化装置では、入力される符号化データ列を生成する際に
用いられた符号化方法を識別することができ、入力され
た符号化データ列に適した復号化処理を行うことができ
る。
In this case, the management information includes identification information (encoding information) indicating the encoding method used when the encoded data is generated. For example, the management information of the encoded data is recorded in a predetermined area of the recording medium, and is added to the encoded data string as its header information. With such management information, the decoding device can identify the encoding method used when generating the input encoded data string, and the decoding process suitable for the input encoded data string can be performed. It can be performed.

【0232】(実施の形態9)図11は、本発明の実施
の形態9による復号化装置を示すブロック図である。こ
の実施の形態9の復号化装置100iは、それぞれ異な
る復号化処理を行う第1の復号化部(小ブロック動き補
償復号化部)1202及び第2の復号化部(MPEG復
号化部)1203を有し、実施の形態4の符号化装置1
00dから出力された符号化データ列Bs4を、該符号
化装置100dからの符号化識別符号Cid2に基づいて
選択された復号化部により復号化するものである。
(Embodiment 9) FIG. 11 is a block diagram showing a decoding apparatus according to Embodiment 9 of the present invention. The decoding apparatus 100i according to the ninth embodiment includes a first decoding unit (small block motion compensation decoding unit) 1202 and a second decoding unit (MPEG decoding unit) 1203 that perform different decoding processes. Having, the encoding device 1 according to the fourth embodiment
The encoded data string Bs4 output from 00d is decoded by the decoding unit selected based on the encoded identification code Cid2 from the encoding device 100d.

【0233】ここで、上記第1の復号化部1202は、
実施の形態7の復号化装置100gからなり、入力され
た符号化データ列Bs4に対して、動き補償を行うデー
タ単位(4×4画素ブロック)が逆DCT処理を行うデ
ータ単位(8×8画素ブロック)より小さい予測復号化
処理を施すものである。なお、上記第1の復号化部12
02は、実施の形態8の復号化装置100hからなるも
のであってもよい。また、上記第2の復号化部1203
は、図18に示す従来のMPEG復号化方式の復号化装
置800からなり、符号化データ列Bs4に対して、動
き補償を行うデータ単位(16×16画素ブロック)が
逆DCT処理を行うデータ単位(8×8画素ブロック)
より大きい予測復号化処理を施すものである。
Here, the first decoding unit 1202 is
In the decoding device 100g of the seventh embodiment, the data unit (4 × 4 pixel block) for motion compensation is the data unit (8 × 8 pixels) for performing the inverse DCT process on the input encoded data string Bs4. The block is smaller than the block). The first decoding unit 12
02 may be the decoding device 100h of the eighth embodiment. Also, the second decoding unit 1203
18 is a conventional MPEG decoding system decoding device 800 shown in FIG. 18, in which a data unit (16 × 16 pixel block) for motion compensation is a data unit for performing inverse DCT processing on the encoded data string Bs4. (8 × 8 pixel block)
It performs a larger predictive decoding process.

【0234】上記復号化装置100iは、符号化装置1
00dからの符号化識別符号Cid2を復号化して識別情
報Did2を出力する符号化識別符号復号化部1200
と、上記符号化データ列Bs4を、識別情報Did2に基
づいて、上記第1及び第2の復号化部1202及び12
03の一方に供給する選択器1201とを有している。
The decoding device 100i is the same as the encoding device 1.
The coded identification code decoding unit 1200 which decodes the coded identification code Cid2 from 00d and outputs the identification information Did2.
And the encoded data string Bs4 based on the identification information Did2, the first and second decoding units 1202 and 12
And a selector 1201 for supplying the signal to one of the terminals 03.

【0235】次に動作について説明する。この実施の形
態9の復号化装置100iに、上記符号化装置100d
からの符号化データ列Bs4が、上記符号化識別符号C
id2とともに入力されると、符号化識別符号復号化部1
200は、該符号化識別符号Cid2を復号化して識別情
報Did2を出力し、選択器1201は、上記識別情報Di
d2に基づいて、上記符号化データ列Bs4を、上記第
1,第2の復号化部の復号化部1202,1203のい
ずれにより復号化するかを決定し、上記第1及び第2の
復号化部1202及び1203のうちの決定された復号
化部に符号化データ列Bs4を供給する。
Next, the operation will be described. The decoding device 100i according to the ninth embodiment is the same as the encoding device 100d.
From the encoded identification code C
When input together with id2, the coding identification code decoding unit 1
Reference numeral 200 decodes the encoded identification code Cid2 and outputs identification information Did2, and the selector 1201 outputs the identification information Di.
Based on d2, it is determined which of the decoding units 1202 and 1203 of the first and second decoding units to decode the encoded data string Bs4, and the first and second decoding units The encoded data string Bs4 is supplied to the determined decoding unit of the units 1202 and 1203.

【0236】上記第1の復号化部(小ブロック動き補償
復号化部)1202は、符号化データ列Bs4が入力さ
れると、上記実施の形態7の復号化装置100gと同様
に、符号化データ列Bs4に対して、動き補償を行うデ
ータ単位が逆DCT処理を行うデータ単位より小さい予
測復号化処理を施して、再生データRIdを出力する。
また、MPEG復号化部1203は、符号化データ列B
s4が入力されると、従来の復号化装置800と同様
に、動き補償を行うデータ単位が逆DCT処理を行うデ
ータ単位より大きい予測復号化処理を施して、再生デー
タRIdを出力する。
When the encoded data string Bs4 is input, the first decoding unit (small block motion compensation decoding unit) 1202 receives the encoded data similar to the decoding device 100g of the seventh embodiment. The column Bs4 is subjected to predictive decoding processing in which the data unit for motion compensation is smaller than the data unit for inverse DCT processing, and the reproduced data RId is output.
Further, the MPEG decoding unit 1203 uses the encoded data string B
When s4 is input, similarly to the conventional decoding device 800, the prediction decoding process in which the data unit for motion compensation is larger than the data unit for the inverse DCT process is performed, and the reproduction data RId is output.

【0237】このように本実施の形態9の復号化装置1
00iでは、入力される符号化データ列を、該データの
生成の際に用いられた符号化方法を示す識別情報に基づ
いて、入力された符号化データ列に対応した復号化処理
を行うので、符号化レートなどに応じた符号化処理によ
り得られた符号化データ列に対して、適切な復号化処理
を施すことができる。
As described above, the decoding device 1 according to the ninth embodiment
In 00i, the input encoded data string is subjected to the decoding process corresponding to the input encoded data string, based on the identification information indicating the encoding method used when the data is generated. Appropriate decoding processing can be performed on the coded data string obtained by the coding processing according to the coding rate or the like.

【0238】なお、上記実施の形態9では、符号化レー
トに応じて符号化処理を切り替える符号化装置に対応す
る復号化装置、つまり符号化側で選択された符号化処理
に応じて復号化処理を切り替えるものを示したが、該復
号化装置は、符号化データ列の入力系に応じて復号化処
理を切り替えるものでもよい。
In the ninth embodiment, the decoding device corresponding to the coding device that switches the coding process according to the coding rate, that is, the decoding process according to the coding process selected on the coding side. However, the decoding device may switch the decoding process according to the input system of the encoded data string.

【0239】例えば、符号化データの入力系としては、
1つあるいは複数種類の記録メディアから符号化データ
を読み出して出力するデータ記録系や、1つあるいは複
数種類の伝送帯域をもった伝送路を通して符号化データ
を伝送するデータ伝送系がある。具体的には、DVDか
ら読み出された符号化データを再生する場合は、該符号
化データに対しては従来のMPEG復号処理を施し、ハ
ードディスクから読み出された符号化データを再生する
場合は、該符号化データに対して、本発明の実施の形態
7あるいは8の復号化装置のように、動き補償を行うデ
ータ単位が逆DCT処理を行うデータ単位より小さい予
測復号化処理を施すようにすればよい。
For example, as an input system for encoded data,
There are a data recording system that reads and outputs encoded data from one or a plurality of types of recording media, and a data transmission system that transmits encoded data through a transmission line having one or a plurality of types of transmission bands. Specifically, when reproducing the encoded data read from the DVD, the conventional MPEG decoding process is performed on the encoded data, and when reproducing the encoded data read from the hard disk. As with the decoding device according to the seventh or eighth embodiment of the present invention, the encoded data is subjected to predictive decoding processing in which the data unit for motion compensation is smaller than the data unit for inverse DCT processing. do it.

【0240】(実施の形態10)図12は、本発明の実
施の形態10による再生装置を説明するブロック図であ
る。この実施の形態10の再生装置100jは、DVD
1607から読み出された符号化データ列Bs4bを従来
のMPEG復号処理により復号化し、ハードディスク1
606から読み出された符号化データ列Bs4aを、上記
実施の形態7の復号化装置100gにおける処理と同
様、動き補償のデータ単位が逆DCT処理を行うデータ
単位より小さい予測復号化処理により復号化するもので
あり、実施の形態5の記録装置100eの記録メディア
1406及び1407から出力された符号化データBs4
a及びBs4bを再生可能なものである。
(Embodiment 10) FIG. 12 is a block diagram illustrating a reproducing apparatus according to Embodiment 10 of the present invention. The reproducing apparatus 100j according to the tenth embodiment is a DVD
The encoded data string Bs4b read from 1607 is decoded by the conventional MPEG decoding process, and the hard disk 1
The encoded data string Bs4a read from 606 is decoded by the predictive decoding process in which the data unit of motion compensation is smaller than the data unit of the inverse DCT process, similar to the process in the decoding device 100g of the seventh embodiment. The encoded data Bs4 output from the recording media 1406 and 1407 of the recording apparatus 100e according to the fifth embodiment.
It can reproduce a and Bs4b.

【0241】すなわち、実施の形態10の再生装置10
0jは、ハードディスク1606から読み出された符号
化データ列Bs4a及びDVD1607から読み出された
符号化データ列Bs4bに対して、メディア指定信号Im
に基づいて、各記録メディアに適したエラー訂正処理な
ど再生処理を施して出力する再生処理部1605を有し
ている。この再生処理部1605は、再生処理が施され
た符号化データ列Bs4aを符号化データ列Bsaとして、
再生処理が施された符号化データ列Bs4bを符号化デー
タ列Bsbとして出力する。
That is, the reproducing apparatus 10 of the tenth embodiment
0j is a media designation signal Im for the encoded data sequence Bs4a read from the hard disk 1606 and the encoded data sequence Bs4b read from the DVD 1607.
On the basis of the above, there is a reproduction processing unit 1605 which performs reproduction processing such as error correction processing suitable for each recording medium and outputs it. The reproduction processing unit 1605 uses the encoded data string Bs4a that has been subjected to the reproduction processing as the encoded data string Bsa.
The encoded data string Bs4b that has been subjected to the reproduction process is output as the encoded data string Bsb.

【0242】上記再生装置100jは、メディア指定信
号Imに応じて、符号化データ列BsaあるいはBsbを選
択し、符号化データ列Bsaを第1の復号化部1602
に、符号化データBsbを第2の復号化部1603に供給
する選択器1601を有している。
The reproducing apparatus 100j selects the encoded data string Bsa or Bsb according to the media designation signal Im, and outputs the encoded data string Bsa to the first decoding unit 1602.
And a selector 1601 for supplying the encoded data Bsb to the second decoding unit 1603.

【0243】上記再生装置100jは、実施の形態7の
復号化装置100gからなり、上記符号化データ列Bsa
に対して、動き補償を行うデータ単位(4×4画素ブロ
ック)が逆DCT処理を行うデータ単位(8×8画素ブ
ロック)より小さい予測復号化処理を施して、再生画像
データRIdを出力する第1の復号化部(小ブロック動
き補償復号化部)1602と、図18に示す従来のMP
EG復号化方式の復号化装置800からなり、上記符号
化データ列Bsbに対して、動き補償を行うデータ単位
(16×16画素ブロック)が逆DCT処理を行うデー
タ単位(8×8画素ブロック)より大きい予測復号化処
理を施して再生画像データRIdを出力する第2の復号
化部(MPEG復号化部)1603とを有している。
The reproducing apparatus 100j comprises the decoding apparatus 100g of the seventh embodiment, and the encoded data sequence Bsa
A data unit (4 × 4 pixel block) for which motion compensation is performed is smaller than a data unit (8 × 8 pixel block) for which inverse DCT processing is performed, and reproduced image data RId is output. 1 decoding unit (small block motion compensation decoding unit) 1602 and the conventional MP shown in FIG.
The decoding unit 800 of the EG decoding system is used, and a data unit for performing motion compensation (16 × 16 pixel block) is a data unit for performing inverse DCT processing (8 × 8 pixel block) on the encoded data string Bsb. The second decoding unit (MPEG decoding unit) 1603 which performs a larger predictive decoding process and outputs the reproduced image data RId.

【0244】なお、上記第1の復号化部1602は、実
施の形態8の復号化装置100hからなるものであって
もよい。
The first decoding section 1602 may be composed of the decoding device 100h of the eighth embodiment.

【0245】次に動作について説明する。この実施の形
態10の再生装置100jに、DVDから読み出された
符号化データBs4b、あるいはハードディスクから読み
出された符号化データBs4aが入力されると、再生処理
部1605は、上記符号化データBs4a及びBs4bに対し
て、メディア指定信号Imに基づいて、各記録メディア
に適したエラー訂正処理など再生処理を施して、該再生
処理が施されたハードディスクからの符号化データ列B
sa、あるいは該再生処理が施されたDVDからの符号化
データ列Bsbを選択器1601に出力する。
Next, the operation will be described. When the encoded data Bs4b read from the DVD or the encoded data Bs4a read from the hard disk is input to the reproducing device 100j of the tenth embodiment, the reproduction processing unit 1605 causes the reproduction processing unit 1605 to have the encoded data Bs4a. And Bs4b are subjected to reproduction processing such as error correction processing suitable for each recording medium based on the media designation signal Im, and the encoded data string B from the hard disk subjected to the reproduction processing.
The encoded data string Bsb from sa or the DVD subjected to the reproduction processing is output to the selector 1601.

【0246】選択器1601は、上記符号化データ列B
saあるいはBsbを、メディア指定信号Imに応じて選択
し、選択した符号化データ列Bsaを第1の復号化部16
02へ供給するとともに、選択した符号化データ列Bsb
を第2の復号化部1603に供給する。
The selector 1601 uses the encoded data string B
sa or Bsb is selected according to the media designation signal Im, and the selected encoded data string Bsa is selected by the first decoding unit 16
02 to the selected encoded data string Bsb
Is supplied to the second decoding unit 1603.

【0247】上記第1の復号化部1602は、入力され
た符号化データ列Bsaに対して、動き補償を行うデータ
単位が逆DCT処理を行うデータ単位より小さい予測復
号化処理を施して再生画像データRIdを出力する。ま
た、上記第2の復号化部1603は、入力された符号化
データ列Bsbに対して、動き補償を行うデータ単位が逆
DCT処理を行うデータ単位より大きい予測復号化処理
を施して再生画像データRIdを出力する。
The first decoding unit 1602 performs a predictive decoding process on the input coded data sequence Bsa in which the data unit for motion compensation is smaller than the data unit for the inverse DCT process, and the reproduced image is reproduced. The data RId is output. Also, the second decoding unit 1603 performs a predictive decoding process on the input encoded data string Bsb in which the data unit for motion compensation is larger than the data unit for the inverse DCT process to reproduce image data. Output RId.

【0248】このように本実施の形態10の再生装置1
00jでは、ハードディスクから読み出された符号化デ
ータ列Bs4aを、動き補償を行うデータ単位が逆DCT
処理を行うデータ単位より小さい予測復号化処理により
復号化し、DVDから読み出された符号化データ列Bs4
bを、動き補償のデータ単位が逆DCT処理のデータ単
位より大きい予測復号化処理により復号化するので、機
器間の互換性に関する条件が緩いハードディスクなどの
記録メディアに記録されている、高精度な動き補償を用
いて高い符号化効率で符号化処理して得られた符号化デ
ータ列と、機器間の互換性に関する条件が厳しいDVD
などの記録メディアに記録されている、汎用的な予測符
号化処理により得られた符号化データとを、それぞれに
適した予測復号処理により復号化することができる。
As described above, the reproducing apparatus 1 according to the tenth embodiment
At 00j, the encoded data string Bs4a read from the hard disk has the inverse DCT as the data unit for motion compensation.
A coded data string Bs4 read out from the DVD after being decoded by a predictive decoding process smaller than the data unit to be processed
Since b is decoded by the predictive decoding process in which the data unit of motion compensation is larger than the data unit of the inverse DCT process, it is recorded on a recording medium such as a hard disk with a low requirement for compatibility between devices, and is highly accurate. DVD with stringent requirements regarding compatibility between encoded data strings obtained by encoding with high encoding efficiency using motion compensation and equipment
It is possible to decode the coded data obtained by the general-purpose predictive coding process, which is recorded in the recording medium such as the above, by the predictive decoding process suitable for each.

【0249】(実施の形態11)図13は、本発明の実
施の形態11による再生装置を説明するブロック図であ
る。この実施の形態11の再生装置100kは、符号化
データ列が記録されている記録メディアの種類に応じ
て、上記符号化データ列に対する復号化処理を切り替え
るものであり、実施の形態6の記録装置100fの記録
メディアから読み出された符号化データ列Bs5aあるい
はBs5bを再生可能なものである。
(Embodiment 11) FIG. 13 is a block diagram for explaining a reproducing apparatus according to Embodiment 11 of the present invention. The reproducing apparatus 100k according to the eleventh embodiment switches the decoding process for the encoded data sequence according to the type of the recording medium on which the encoded data sequence is recorded. The encoded data string Bs5a or Bs5b read from the 100 f recording medium can be reproduced.

【0250】ここで、符号化データ列Bs5aは、他の機
器との互換性に関する条件が緩いCD−RあるいはCD
−RWなどの記録メディアに記録されているデータであ
り、画像データを実施の形態6の記録装置100fにお
ける第1の符号化部(小ブロック動き補償符号化部)1
502により符号化して得られたものである。また、符
号化データ列Bs5bは、他の機器との互換性に関する条
件が厳しいDVDなどの記録メディアに記録されている
データであり、画像データを実施の形態6の記録装置1
00fにおける第2の符号化部(MPEG符号化部)1
503により符号化して得られたものである。
Here, the encoded data string Bs5a is a CD-R or CD whose conditions regarding compatibility with other devices are loose.
The first encoding unit (small block motion compensation encoding unit) 1 in the recording device 100f according to the sixth embodiment, which is data recorded on a recording medium such as RW, and which is image data.
It is obtained by encoding by 502. Also, the encoded data string Bs5b is data recorded on a recording medium such as a DVD, which has a strict condition regarding compatibility with other devices, and the image data is recorded in the recording device 1 of the sixth embodiment.
Second encoding unit (MPEG encoding unit) 1 in 00f
It is obtained by encoding by 503.

【0251】すなわち、実施の形態11の再生装置10
0kは、記録メディア1706に対してデータのアクセ
スを行う記録ドライブ1706aと、該記録ドライブ1
706aに装着された記録メディア1706の種類を判
別し、該判別結果を示すメディア判別信号Sdを出力す
るメディア判別部1707と、メディア判別信号Sdに
応じて、各記録メディアに適したエラー訂正処理など再
生処理を施して、該再生処理が施された符号化データ列
Bs5aあるいはBs5bを、符号化データ列BsaあるいはB
sbとして出力する再生処理部1705を有している。
That is, the reproducing apparatus 10 of the eleventh embodiment
0k indicates a recording drive 1706a for accessing data to the recording medium 1706 and the recording drive 1706a.
A media discriminating unit 1707 that discriminates the type of the recording medium 1706 attached to the recording medium 1706 and outputs a medium discriminating signal Sd indicating the discrimination result, and an error correction process suitable for each recording medium according to the medium discriminating signal Sd. The encoded data string Bs5a or Bs5b which has been subjected to the reproducing process is converted into the encoded data string Bsa or Bs.
It has a reproduction processing unit 1705 which outputs as sb.

【0252】ここで、符号化データ列Bs5aは、CD−
RあるいはCD−RWから読み出された符号化データ列
であり、符号化データ列Bs5bは、DVDから読み出さ
れた符号化データ列である。
Here, the encoded data string Bs5a is the CD-
The coded data string read from R or CD-RW, and the coded data string Bs5b is the coded data string read from DVD.

【0253】上記再生装置100kは、メディア判別指
定Sdに応じて、符号化データBsaあるいはBsbを選択
し、符号化データ列Bsaを第1の復号化部1702に、
符号化データBsbを第2の復号化部1703に供給する
選択器1701を有している。
The reproducing apparatus 100k selects the encoded data Bsa or Bsb according to the media discrimination designation Sd, and transmits the encoded data sequence Bsa to the first decoding section 1702.
The selector 1701 for supplying the encoded data Bsb to the second decoding unit 1703 is included.

【0254】上記再生装置100kは、実施の形態7の
復号化方法100gからなり、上記符号化データ列Bsa
に対して、動き補償を行うデータ単位が逆DCT処理を
行うデータ単位より小さい予測復号化処理を施して、再
生画像データRIdを出力する第1の復号化部(小ブロ
ック動き補償復号化部)1702と、図18に示す従来
のMPEG復号化方式の復号化装置800からなり、上
記符号化データ列Bsbに対して、動き補償を行うデータ
単位が逆DCT処理を行うデータ単位より大きい予測復
号化処理を施して再生画像データRIdを出力する第2
の復号化部(MPEG復号化部)1703とを有してい
る。なお、上記第1の復号化部1702は、実施の形態
8の復号化装置100hからなるものであってもよい。
The reproducing apparatus 100k comprises the decoding method 100g according to the seventh embodiment, and the encoded data string Bsa.
, A first decoding unit (small block motion compensation decoding unit) that performs prediction decoding processing in which the data unit for motion compensation is smaller than the data unit for inverse DCT processing and outputs reproduced image data RId 1702 and a conventional MPEG decoding method decoding apparatus 800 shown in FIG. 18, the prediction decoding in which the data unit for motion compensation is larger than the data unit for inverse DCT processing with respect to the encoded data string Bsb. Second for performing processing and outputting reproduced image data RId
And a decoding unit (MPEG decoding unit) 1703. The first decoding unit 1702 may be the decoding device 100h of the eighth embodiment.

【0255】次に動作について説明する。この実施の形
態11の再生装置100kでは、記録ドライブ1706
aに記録メディア1706が挿入されると、メディア判
別部1707は、該記録メディアの種類を判別し、該判
別結果を示すメディア判別信号Sdを出力する。
Next, the operation will be described. In the reproducing apparatus 100k according to the eleventh embodiment, the recording drive 1706
When the recording medium 1706 is inserted into a, the medium discriminating unit 1707 discriminates the type of the recording medium and outputs a medium discriminating signal Sd indicating the discriminating result.

【0256】そして、再生処理部1705は、メディア
判別信号Sdに応じて、上記記録メディア1706に記
録されている符号化データ列Bs5aあるいはBs5bに対し
て、上記記録メディア1706の種類に適したエラー訂
正処理など再生処理を施して、該処理が施された符号化
データ列Bs5aあるいはBs5bを、符号化データ列Bsaあ
るいはBsbとして選択器1701に出力する。
Then, the reproduction processing unit 1705 corrects the error of the encoded data string Bs5a or Bs5b recorded on the recording medium 1706, which is suitable for the type of the recording medium 1706, in accordance with the medium discrimination signal Sd. A reproduction process such as a process is performed, and the encoded data string Bs5a or Bs5b subjected to the process is output to the selector 1701 as an encoded data string Bsa or Bsb.

【0257】選択器1701は、上記メディア判別信号
Sdに応じて、入力された符号化データ列Bsaを第1の
符号化部1702に、符号化データ列Bsbを第2の符号
化部1703に供給する。
The selector 1701 supplies the input encoded data sequence Bsa to the first encoding unit 1702 and the encoded data sequence Bsb to the second encoding unit 1703 according to the media discrimination signal Sd. To do.

【0258】上記第1の復号化部1702は、入力され
た符号化データ列Bsaに対して、該動き補償を行うデ
ータ単位が逆DCT処理を行うデータ単位より小さい予
測復号化処理を施して、再生画像データRIdを出力す
る。また、上記第2の復号化部1703は、入力された
符号化データ列Bsbに対して、該動き補償を行うデータ
単位が逆DCT処理を行うデータ単位より大きい予測復
号化処理を施して再生画像データRIdを出力する。
The first decoding unit 1702 performs predictive decoding processing on the input coded data sequence Bsa in which the data unit for motion compensation is smaller than the data unit for inverse DCT processing, The reproduced image data RId is output. The second decoding unit 1703 performs a predictive decoding process on the input coded data sequence Bsb for which the data unit for motion compensation is larger than the data unit for the inverse DCT process, and reproduces the reproduced image. The data RId is output.

【0259】このように本実施の形態11の再生装置1
00kでは、符号化データが記録されている記録メディ
アの種類に応じて、上記符号化データに対する復号化処
理を切り替えるので、記録メディアの種類に応じた符号
化方式により符号化された画像データを、適切な復号化
処理により復号化することができる。
As described above, the reproducing apparatus 1 according to the eleventh embodiment.
In 00k, since the decoding process for the encoded data is switched according to the type of recording medium on which the encoded data is recorded, the image data encoded by the encoding method according to the type of recording medium is changed to It can be decrypted by an appropriate decryption process.

【0260】(実施の形態12)以下、本発明の実施の
形態12として、上記実施の形態7の復号化装置を搭載
した携帯電話について説明する。図14は、この実施の
形態12の携帯電話を説明するための図である。
(Embodiment 12) As Embodiment 12 of the present invention, a mobile phone equipped with the decoding apparatus of Embodiment 7 will be described below. FIG. 14 is a diagram for explaining the mobile phone according to the twelfth embodiment.

【0261】この実施の形態12の携帯電話1800
は、種々の信号処理を行う信号処理部1802と、アン
テナ1801で受信された無線信号Nを受信信号として
信号処理部1802に出力するとともに、信号処理部1
802にて生成された送信信号を無線信号Nとしてアン
テナ1801から送信する無線通信部1803とを有し
ている。
Mobile phone 1800 according to the twelfth embodiment
Outputs a radio signal N received by the antenna 1801 to the signal processing unit 1802 as a reception signal, and the signal processing unit 1802 that performs various signal processing.
The wireless communication unit 1803 transmits the transmission signal generated in 802 as the wireless signal N from the antenna 1801.

【0262】また、上記携帯電話1800は、画像表示
を行う液晶パネル(LCD)1806と、音声の入力を
行うためのマイク1808と、音声信号を再生するスピ
ーカ1807と、画像の撮影により画像信号を出力する
カメラ部1809と、カメラ部1809からの画像信号
を信号処理部1802に出力するとともに、上記液晶表
示部(LCD)1806を、信号処理部1802にて処
理された画像信号に基づいて画像表示が行われるよう制
御する画像入出力部1804と、マイク1808からの
入力音声信号を信号処理部1802に出力するととも
に、信号処理部1802にて処理された音声信号をスピ
ーカ1807に出力する音声入出力部1805とを有し
ている。なお、ここでは説明の簡略化のため、携帯電話
のボタン操作部は図示していない。
The mobile phone 1800 has a liquid crystal panel (LCD) 1806 for displaying an image, a microphone 1808 for inputting voice, a speaker 1807 for reproducing a voice signal, and an image signal for capturing an image. The camera unit 1809 to output and the image signal from the camera unit 1809 are output to the signal processing unit 1802, and the liquid crystal display unit (LCD) 1806 displays an image based on the image signal processed by the signal processing unit 1802. And an image input / output unit 1804 for controlling so that the audio input / output unit 1804 outputs the audio signal input from the microphone 1808 to the signal processing unit 1802 and outputs the audio signal processed by the signal processing unit 1802 to the speaker 1807. And a portion 1805. Note that the button operation unit of the mobile phone is not shown here for simplification of description.

【0263】ここで、上記信号処理部1802は、実施
の形態7の復号化装置と同一の復号化処理を行う画像復
号部(図示せず)を有するものである。
Here, the signal processing section 1802 has an image decoding section (not shown) which performs the same decoding processing as the decoding apparatus of the seventh embodiment.

【0264】この実施の形態12の携帯電話1800で
は、受信された無線信号に含まれる画像データの符号列
を予測復号化処理により復号化する際、動き補償を4×
4画素からなるブロックを単位として行い、逆DCT処
理を8×8画素からなるブロックを単位として行うの
で、取り扱う画像サイズが小さい携帯電話に適するよ
う、細かな動き補償を行って符号化処理が施された画像
データを、適切に復号化することができる。
In the mobile phone 1800 according to the twelfth embodiment, when the code string of the image data included in the received wireless signal is decoded by the predictive decoding process, the motion compensation is 4 ×.
Since the block consisting of 4 pixels is performed as a unit and the inverse DCT processing is performed as a unit of a block consisting of 8 × 8 pixels, a fine motion compensation is performed and encoding processing is performed so as to be suitable for a mobile phone with a small image size to be handled. The image data thus obtained can be appropriately decoded.

【0265】なお、上記実施の形態12では、携帯電話
として、その信号処理部が上記実施の形態7の復号化装
置を有するものを示したが、携帯電話は、実施の形態1
〜4の符号化装置、実施の形態5,6の復号化装置、あ
るいは実施の形態9〜11の再生装置を搭載したもので
あってもよい。
In the twelfth embodiment, the signal processing section of the mobile phone has the decoding device of the seventh embodiment, but the mobile phone is the same as that of the first embodiment.
4 to the decoding device according to the fifth or sixth embodiment, or the reproducing device according to the ninth to eleventh embodiments.

【0266】さらに、上記実施の形態1〜11では、符
号化装置、復号化装置、記録装置、あるいは再生装置を
ハードウエアにより実現したものを示したが、これらの
装置はソフトウエアにより実現してもよい。この場合、
上記各実施の形態で示したデータ処理を行うためのプロ
グラムをフレキシブルディスク等のデータ記憶媒体に記
録しておくことにより、上記データ処理を、独立したコ
ンピュータシステムにおいて構築することが可能とな
る。
Further, in the above-described first to eleventh embodiments, the encoding device, the decoding device, the recording device, or the reproducing device is realized by hardware, but these devices are realized by software. Good. in this case,
By recording the program for performing the data processing shown in each of the above embodiments in a data storage medium such as a flexible disk, the data processing can be constructed in an independent computer system.

【0267】この場合、上記実施の形態1〜11の符号
化装置、復号化装置、記録装置、あるいは再生装置を構
成する、記録メディア以外の回路要素による処理は、ソ
フトウエアにより実行すればよい。
In this case, the processing by the circuit elements other than the recording medium, which compose the coding apparatus, the decoding apparatus, the recording apparatus, or the reproducing apparatus of the above-described first to eleventh embodiments, may be executed by software.

【0268】図15は、上記実施の形態1〜11のデー
タ処理をソフトウエアにより行うためのプログラムを格
納した記録媒体、及び該記録媒体を含むコンピュータシ
ステムを説明するための図である。図15(a)は、フレ
キシブルディスクの正面からみた外観、断面構造、及び
フレキシブルディスク本体を示し、図15(b)は、該フ
レキシブルディスク本体の物理フォーマットの例を示し
ている。
FIG. 15 is a diagram for explaining a recording medium storing a program for performing the data processing of the above-described first to eleventh embodiments by software, and a computer system including the recording medium. FIG. 15A shows the appearance of the flexible disk as viewed from the front, the cross-sectional structure, and the flexible disk body, and FIG. 15B shows an example of the physical format of the flexible disk body.

【0269】上記フレキシブルディスクFDは、上記フ
レキシブルディスク本体Dをフレキシブルディスクケー
スFC内に収容した構造となっており、該フレキシブル
ディスク本体Dの表面には、同心円状に外周から内周に
向かって複数のトラックTrが形成され、各トラックT
rは円周方向に16のセクタSeに分割されている。従
って、上記プログラムを格納したフレキシブルディスク
FDは、上記フレキシブルディスク本体Dの上に割り当
てられた領域(セクタ)Seに、上記プログラムとして
のデータが記録されたものとなっている。
The flexible disk FD has a structure in which the flexible disk body D is housed in a flexible disk case FC, and a plurality of flexible disk bodies D are concentrically formed from the outer circumference to the inner circumference. Tracks Tr are formed, and each track T
r is divided into 16 sectors Se in the circumferential direction. Therefore, in the flexible disk FD storing the program, the data as the program is recorded in the area (sector) Se allocated on the flexible disk body D.

【0270】また、図15(c)は、フレキシブルディス
クFDに上記プログラムを記録するための構成、及びフ
レキシブルディスクFDに格納したプログラムを用いて
ソフトウエアによるデータ処理を行うための構成を示し
ている。
FIG. 15C shows a configuration for recording the above program on the flexible disk FD and a configuration for performing data processing by software using the program stored in the flexible disk FD. .

【0271】上記プログラムをフレキシブルディスクF
Dに記録する場合は、コンピュータシステムCsから上
記プログラムとしてのデータを、フレキシブルディスク
ドライブFDDを介してフレキシブルディスクFDに書き
込む。また、フレキシブルディスクFDに記録されたプ
ログラムにより、上記実施の形態1〜11の装置をコン
ピュータシステムCs中に構築する場合は、フレキシブ
ルディスクドライブFDDによりプログラムをフレキシブ
ルディスクFDから読み出し、コンピュータシステムC
sにロードする。
The above program is executed on the flexible disk F.
When recording to D, the computer system Cs writes the data as the above program to the flexible disk FD through the flexible disk drive FDD. Further, when the devices of the above-mentioned first to eleventh embodiments are constructed in the computer system Cs by the program recorded on the flexible disk FD, the program is read from the flexible disk FD by the flexible disk drive FDD, and the computer system C is read.
load into s.

【0272】なお、上記説明では、データ記録媒体とし
てフレキシブルディスクを示したが、データ記録媒体と
して光ディスクを用いてもよく、この場合も上記フレキ
シブルディスクの場合と同様にソフトウェアによるデー
タ処理を行うことができる。さらに、上記データ記録媒
体は上記光ディスクやフレキシブルディスクに限るもの
ではなく、ICカード、ROMカセット等、プログラム
を記録できるものであればどのようなものでもよく、こ
れらのデータ記録媒体を用いる場合でも、上記フレキシ
ブルディスク等を用いる場合と同様にソフトウェアによ
るデータ処理を実施することができる。
In the above description, the flexible disk is shown as the data recording medium, but an optical disk may be used as the data recording medium, and in this case, data processing by software can be performed as in the case of the flexible disk. it can. Further, the data recording medium is not limited to the optical disc and the flexible disc, and may be any one such as an IC card and a ROM cassette as long as the program can be recorded. Even when these data recording media are used, Data processing by software can be carried out as in the case of using the flexible disk or the like.

【0273】[0273]

【発明の効果】以上のように本発明(請求項1)によれ
ば、画像データをフレーム毎にフレーム間の画素値相関
を用いて予測符号化する符号化装置であって、処理対象
フレームに対応する画像データを予測する予測処理を、
該フレームを区分する複数の画素からなる予測ブロック
毎に行って予測画像データを生成するデータ予測部と、
上記処理対象フレームの画像データを、複数の予測ブロ
ックからなる符号化ブロック毎に、該符号化ブロックに
対応する予測画像データを用いて符号化するデータ符号
化部とを備えたことを特徴とするので、細かな動き検出
を行うことができ符号化の効率を向上することが可能と
なる。
As described above, according to the present invention (Claim 1), there is provided an encoding device for predictively encoding image data frame by frame by using pixel value correlation between frames, and a frame to be processed is Prediction processing to predict the corresponding image data,
A data predicting unit that generates predicted image data by performing each prediction block including a plurality of pixels that partition the frame;
A data encoding unit that encodes the image data of the processing target frame for each encoding block including a plurality of prediction blocks using the prediction image data corresponding to the encoding block. Therefore, it is possible to perform fine motion detection and improve coding efficiency.

【0274】つまり、DCTなどの変換符号化における
ブロックサイズを大きくすることにより、予測符号化に
よる圧縮効率を向上すると同時に、動き補償の単位を小
さくすることにより、より細かな動き検出が可能とな
る。これにより、限られた符号量に対する再生画像の画
質を向上することができ、特に画像サイズが小さい場合
は、大きな画質向上を図ることができる。
That is, by increasing the block size in transform coding such as DCT, the compression efficiency by predictive coding is improved, and at the same time, the unit of motion compensation is reduced, so that finer motion detection can be performed. . As a result, the image quality of the reproduced image can be improved for a limited code amount, and particularly when the image size is small, the image quality can be greatly improved.

【0275】本発明(請求項2)によれば、請求項1記
載の符号化装置において、上記データ予測部は、形状の
異なる複数種類の予測ブロックの各々に対応する予測画
像データを生成するデータ生成部を有し、上記形状の異
なる複数種類の予測ブロックに対応する予測画像データ
のうち、上記符号化ブロックに対する符号化効率が最も
高くなる予測ブロックの予測画像データを選択して、上
記符号化ブロックに対応する予測画像データを生成する
ものであることを特徴とするので、画像の動きに合わせ
た精度の高い動き検出を行うことができ、符号化効率が
向上することが可能となる。
[0275] According to the present invention (claim 2), in the encoding device according to claim 1, the data prediction section is data for generating predicted image data corresponding to each of a plurality of types of prediction blocks having different shapes. Of the prediction image data corresponding to the plurality of types of prediction blocks having different shapes, the prediction image data of the prediction block having the highest coding efficiency with respect to the coding block is selected, and the coding is performed. Since the prediction image data corresponding to the block is generated, it is possible to perform highly accurate motion detection that matches the motion of the image, and it is possible to improve encoding efficiency.

【0276】本発明(請求項3)によれば、請求項2記
載の符号化装置において、上記データ予測部は、形状の
異なる複数種類の予測ブロックに対応する予測画像デー
タのうち、いずれの形状の予測ブロックの予測画像デー
タを選択したかを示すブロック識別情報を出力するもの
であることを特徴とするので、復号時に予測ブロックの
形状を認識することが可能となる。
[0276] According to the present invention (claim 3), in the encoding device according to claim 2, the data predicting unit is configured to select which shape of the predicted image data corresponding to a plurality of types of prediction blocks having different shapes. Since it is characterized in that block identification information indicating whether the predicted image data of the prediction block has been selected is output, it is possible to recognize the shape of the prediction block at the time of decoding.

【0277】本発明(請求項4)によれば、請求項1記
載の符号化装置において、上記データ予測部は、形状の
異なる複数種類の予測ブロックの各々に対応する予測画
像データを生成するデータ生成部を有し、上記形状の異
なる複数種類の予測ブロックに対応する予測画像データ
を、上記符号化ブロックにおける上記各種予測ブロック
の配置パターンが上記符号化ブロックに対する符号化効
率が最も高くなる配置パターンとなるよう組み合わせて
上記符号化ブロックに対応する予測画像データを生成す
るものであることを特徴とするので、フレーム内での動
画像の形状および動きに合わせた精度の高い動き検出を
行うことができ、符号化効率が向上することが可能とな
る。
According to the present invention (claim 4), in the encoding device according to claim 1, the data predicting section is data for generating predictive image data corresponding to each of a plurality of types of predictive blocks having different shapes. An arrangement pattern that includes a generation unit and that generates prediction image data corresponding to a plurality of types of prediction blocks having different shapes so that the arrangement pattern of the various prediction blocks in the encoding block is the highest in the encoding efficiency for the encoding block. Since it is characterized in that the predicted image data corresponding to the above-mentioned coded block is generated in combination, it is possible to perform highly accurate motion detection in accordance with the shape and motion of a moving image within a frame. As a result, the coding efficiency can be improved.

【0278】本発明(請求項5)によれば、請求項4記
載の符号化装置において、上記データ予測部は、上記符
号化ブロックにおける各種予測ブロックの配置パターン
を示すブロック配置情報を出力するものであることを特
徴とするので、復号時に符号化ブロックにおける予測誤
差ブロックの配置パターンを認識することが可能とな
る。
According to the present invention (Claim 5), in the coding apparatus according to Claim 4, the data prediction unit outputs block layout information indicating a layout pattern of various prediction blocks in the coding block. Therefore, it is possible to recognize the arrangement pattern of the prediction error blocks in the coding block at the time of decoding.

【0279】本発明(請求項6)に係る符号化装置によ
れば、画像データをフレーム毎にフレーム間画素値相関
を用いて予測符号化する符号化装置において、処理対象
フレームに対応する画像データを予測する予測処理を、
該フレームを区分する複数の画素からなる第1予測ブロ
ック毎に行って第1の予測画像データを生成する第1の
データ予測部と、上記処理対象フレームの画像データ
を、複数の第1予測ブロックからなる第1符号化ブロッ
ク毎に、該第1符号化ブロックに対応する第1の予測画
像データを用いて符号化する第1のデータ符号化部とを
有する第1の予測符号化部と、処理対象フレームに対応
する画像データを予測する予測処理を、該フレームを区
分する複数の画素からなる第2予測ブロック毎に行って
第2の予測画像データを生成する第2データ予測部と、
上記処理対象フレームの画像データを、上記第2予測ブ
ロックを区分する第2符号化ブロック毎に、該第2符号
化ブロックに対応する第2の予測画像データを用いて符
号化する第2のデータ符号化部とを有する第2の予測符
号化部と、外部からの指令信号に応じて、上記画像デー
タを、上記第1の予測符号化部及び第2の予測符号化部
の一方に供給する選択部とを備えたことを特徴とするの
で、取り扱う画像サイズなどに応じて、画像データに対
する精度の高い動き補償を行う予測符号化処理と、画像
データに対する通常の精度の補償を行う予測符号化処理
とを切り替えることができる。
According to the encoding apparatus of the present invention (Claim 6), in the encoding apparatus for predictively encoding the image data for each frame using the inter-frame pixel value correlation, the image data corresponding to the frame to be processed The prediction process to predict
A first data predicting unit that generates first predicted image data by performing each first prediction block composed of a plurality of pixels that divide the frame, and image data of the processing target frame, a plurality of first prediction blocks. A first predictive encoding unit having a first data encoding unit that encodes using the first predictive image data corresponding to the first encoded block for each first encoded block consisting of A second data prediction unit that performs a prediction process of predicting image data corresponding to a frame to be processed for each second prediction block including a plurality of pixels that divide the frame, and generates second predicted image data;
Second data that encodes the image data of the processing target frame for each second encoded block that partitions the second prediction block, using the second predicted image data that corresponds to the second encoded block A second predictive coding unit having a coding unit and the image data is supplied to one of the first predictive coding unit and the second predictive coding unit according to a command signal from the outside. A predictive coding process that performs highly accurate motion compensation for image data and a predictive coding process that performs normal accuracy compensation for image data according to the image size to be handled, etc. You can switch between processing and.

【0280】本発明(請求項7)に係る符号化方法によ
れば、画像データをフレーム毎にフレーム間の画素値相
関を用いて予測符号化する符号化方法であって、処理対
象フレームに対応する画像データを予測する予測処理
を、該フレームを区分する複数の画素からなる予測ブロ
ック毎に行って予測画像データを生成する予測ステップ
と、上記処理対象フレームの画像データを、複数の予測
ブロックからなる符号化ブロック毎に、該符号化ブロッ
クに対応する予測画像データを用いて符号化する符号化
ステップとを含むことを特徴とするので、細かな動き検
出を行うことができ、符号化効率を向上することが可能
となる。
According to the encoding method of the present invention (claim 7), there is provided an encoding method for predictively encoding image data frame by frame using pixel value correlation between frames, which corresponds to a frame to be processed. A prediction step of performing prediction processing for predicting image data to be performed for each prediction block composed of a plurality of pixels that partition the frame, and image data of the processing target frame from the plurality of prediction blocks. Each coding block includes a coding step of coding using prediction image data corresponding to the coding block, and thus fine motion detection can be performed and coding efficiency can be improved. It is possible to improve.

【0281】本発明(請求項8)によれば、請求項7記
載の符号化方法において、上記予測ステップは、形状の
異なる複数種類の予測ブロックの各々に対応する予測画
像データを生成するステップと、上記形状の異なる複数
種類の予測ブロックに対応する予測画像データのうち、
上記符号化ブロックに対する符号化効率が最も高くなる
予測ブロックの予測画像データを選択するステップと、
該選択した予測ブロックの予測画像データにより、上記
符号化ブロックに対応する予測画像データを生成するス
テップとを含むものであることを特徴とするので、フレ
ーム内での画像の動きに合わせた精度の高い動き検出を
行うことができ、符号化効率を向上させることが可能と
なる。
According to the present invention (claim 8), in the coding method according to claim 7, the predicting step includes a step of generating predictive image data corresponding to each of a plurality of types of predictive blocks having different shapes. , Of the prediction image data corresponding to a plurality of types of prediction blocks having different shapes,
A step of selecting the prediction image data of the prediction block with the highest coding efficiency for the coding block,
And a step of generating predicted image data corresponding to the coded block based on the predicted image data of the selected prediction block. Therefore, a highly accurate motion matching the motion of the image within the frame is performed. The detection can be performed, and the coding efficiency can be improved.

【0282】本発明(請求項9)によれば、請求項8記
載の符号化方法において、上記予測ステップは、形状の
異なる複数種類の予測ブロックに対応する予測画像デー
タのうち、いずれの形状の予測ブロックの予測画像デー
タを選択したかを示すブロック識別情報を生成するステ
ップを含むものであることを特徴とするので、復号時に
予測ブロックの形状を認識することができる。
According to the present invention (claim 9), in the encoding method according to claim 8, the predicting step is performed on any shape of predictive image data corresponding to a plurality of types of prediction blocks having different shapes. Since the method includes a step of generating block identification information indicating whether the predicted image data of the prediction block is selected, the shape of the prediction block can be recognized at the time of decoding.

【0283】本発明(請求項10)によれば、請求項7
記載の符号化方法において、上記予測ステップは、形状
の異なる複数種類の予測ブロックの各々に対応する予測
画像データを生成するステップと、上記符号化ブロック
における上記各種予測ブロックの配置パターンを、上記
符号化ブロックに対する符号化効率が最も高くなるよう
決定するステップと、上記形状の異なる複数種類の予測
ブロックに対応する予測画像データを、上記符号化ブロ
ックにおける上記各種予測ブロックの配置パターンが上
記決定された配置パターンとなるよう組み合わせて、上
記符号化ブロックに対応する予測画像データを生成する
ステップとを含むものであることを特徴とするので、フ
レームにおける動画像の形状や動きに合わせた精度の高
い動き検出を行うことができ、符号化効率を向上させる
ことが可能となる。
According to the present invention (claim 10), claim 7
In the encoding method described above, the predicting step is a step of generating predictive image data corresponding to each of a plurality of types of predictive blocks having different shapes, and an arrangement pattern of the various predictive blocks in the encoding block, The step of determining the highest encoding efficiency for the encoded block, and the predicted image data corresponding to the plurality of types of predictive blocks having different shapes, the arrangement pattern of the various predictive blocks in the encoded block is determined. It is characterized in that it includes a step of generating predicted image data corresponding to the above-mentioned coded blocks in combination so as to form an arrangement pattern, so that highly accurate motion detection that matches the shape and motion of a moving image in a frame can be performed. It is possible to improve the coding efficiency.

【0284】本発明(請求項11)によれば、請求項1
0記載の符号化方法において、上記予測ステップは、上
記符号化ブロックにおける各種予測ブロックの配置パタ
ーンを示すブロック配置情報を生成するステップを含む
ものであることを特徴とするので、復号時に、符号化ブ
ロックにおける予測誤差ブロックの配置パターンを認識
することができる。
According to the present invention (claim 11), claim 1
In the encoding method described in 0, the prediction step includes a step of generating block arrangement information indicating an arrangement pattern of various prediction blocks in the encoded block. The arrangement pattern of prediction error blocks can be recognized.

【0285】本発明(請求項12)に係る復号化装置に
よれば、画像データを予測符号化して得られた符号化デ
ータを、フレーム毎にフレーム間の画素値相関を用いて
予測復号化する復号化装置であって、処理対象フレーム
に対応する画像データを予測する予測処理を、該フレー
ムを区分する複数の画素からなる予測ブロック毎に行っ
て予測画像データを生成するデータ予測部と、上記処理
対象フレームの符号化データを、複数の予測ブロックか
らなる復号化ブロック毎に、該復号化ブロックに対応す
る予測画像データを用いて復号化するデータ復号化部と
を備えたことを特徴とするので、細かな動き検出を行っ
て符号化処理した符号化データ列を適切に復号化するこ
とができ、高い符号化効率で符号化された符号化データ
から、良好な画質の画像を再生可能となる。
According to the decoding device of the present invention (claim 12), the coded data obtained by predictively coding the image data is predictively decoded for each frame by using the pixel value correlation between the frames. A decoding device, a data prediction unit that performs prediction processing for predicting image data corresponding to a frame to be processed for each prediction block including a plurality of pixels that divide the frame, and generates prediction image data, And a data decoding unit that decodes the coded data of the processing target frame for each decoding block including a plurality of prediction blocks using the prediction image data corresponding to the decoding block. Therefore, it is possible to appropriately decode the encoded data string that has been subjected to the encoding processing by performing the fine motion detection, and from the encoded data encoded with high encoding efficiency, the good image quality can be obtained. Images can play.

【0286】本発明(請求項13)によれば、請求項1
2記載の復号化装置において、上記データ予測部は、形
状の異なる複数種類の予測ブロックの各々に対応する予
測画像データを生成するデータ生成部を有し、上記画像
データの予測符号化の際、形状の異なる複数種類の予測
ブロックに対応する予測画像データのうち、いずれの形
状の予測ブロックの予測画像データを選択したかを示す
ブロック識別情報に基づいて、所定の形状の予測ブロッ
クに対応する予測画像データを選択し、該選択した予測
ブロックの予測画像データにより上記復号化ブロックに
対応する予測画像データを生成するものであることを特
徴とするので、画像の動きに合わせた精度の高い動き検
出を行って符号化処理を施した画像データを良好に復号
化することができ、高い符号化効率で符号化された符号
化データから、良好な画質の画像を再生可能となる。
According to the present invention (claim 13), claim 1
In the decoding device according to 2, the data prediction unit includes a data generation unit that generates prediction image data corresponding to each of a plurality of types of prediction blocks having different shapes, and when performing the predictive coding of the image data, Prediction corresponding to a prediction block of a predetermined shape based on block identification information indicating which prediction image data of which prediction block has been selected among prediction image data corresponding to a plurality of types of prediction blocks of different shapes Image data is selected, and the predicted image data of the selected prediction block is used to generate the predicted image data corresponding to the decoded block. Therefore, highly accurate motion detection matching the motion of the image is performed. It is possible to satisfactorily decode the image data that has been subjected to the encoding process by performing the above, and from the encoded data encoded with high encoding efficiency, It becomes possible to reproduce an image of the image quality.

【0287】本発明(請求項14)によれば、請求項1
2記載の復号化装置において、上記データ予測部は、形
状の異なる複数種類の予測ブロックの各々に対応する予
測画像データを生成するデータ生成部を有し、上記形状
の異なる複数種類の予測ブロックに対応する予測画像デ
ータを、上記復号化ブロックにおける各種予測ブロック
の配置パターンを示すブロック配置情報に基づいて組み
合わせて、上記復号化ブロックに対応する予測画像デー
タを生成するものであることを特徴とするので、フレー
ムにおける動画像の形状や動きに合わせた精度の高い動
き検出を行って符号化処理を施した符号化データを良好
に復号化することができ、高い符号化効率で符号化され
た符号化データから、良好な画質の画像を再生可能とな
る。
According to the present invention (Claim 14), Claim 1
In the decoding device according to 2, the data prediction unit includes a data generation unit that generates prediction image data corresponding to each of a plurality of types of prediction blocks having different shapes, and the data prediction unit includes a plurality of types of prediction blocks having different shapes. Corresponding predicted image data is combined based on block arrangement information indicating an arrangement pattern of various prediction blocks in the decoding block to generate predicted image data corresponding to the decoding block. Therefore, it is possible to satisfactorily decode coded data that has been subjected to coding processing by performing highly accurate motion detection that matches the shape and motion of a moving image in a frame, and codes coded with high coding efficiency. It is possible to reproduce an image of good quality from the encoded data.

【0288】本発明(請求項15)に係る復号化装置に
よれば、画像データを予測符号化して得られた符号化デ
ータを、フレーム毎にフレーム間の画素値相関を用いて
予測復号化する復号化装置であって、処理対象フレーム
に対応する画像データを予測する予測処理を、該フレー
ムを区分する複数の画素からなる第1予測ブロック毎に
行って第1の予測画像データを生成する第1のデータ予
測部と、上記処理対象フレームの符号化データを、複数
の第1予測ブロックからなる第1復号化ブロック毎に、
該第1復号化ブロックに対応する第1の予測画像データ
を用いて復号化する第1のデータ復号化部とを有する第
1の予測復号化部と、処理対象フレームに対応する画像
データを予測する予測処理を、該フレームを区分する複
数の画素からなる第2予測ブロック毎に行って第2の予
測画像データを生成する第2のデータ予測部と、上記処
理対象フレームの符号化データを、上記第2予測ブロッ
クを区分する第2復号化ブロック毎に、該第2復号化ブ
ロックに対応する第2の予測画像データを用いて復号化
する第2のデータ復号化部とを有する第2の予測復号化
部と、外部からの指令信号に応じて、上記符号化データ
を、上記第1の予測復号化部及び第2の予測復号化部の
一方に供給する選択部とを備えたことを特徴とするの
で、取り扱う画像サイズなどに応じて、画像データに対
する精度の高い動き補償を行う予測復号化処理と、画像
データに対する通常の精度の補償を行う予測復号化処理
とを切り替えることができる。
According to the decoding apparatus of the present invention (Claim 15), the coded data obtained by predictively coding the image data is predictively decoded for each frame by using the pixel value correlation between the frames. A decoding device, which performs a prediction process of predicting image data corresponding to a frame to be processed for each first prediction block including a plurality of pixels that partition the frame, and generates first predicted image data 1 data prediction unit and the coded data of the processing target frame for each first decoding block including a plurality of first prediction blocks,
A first predictive decoding unit having a first data decoding unit for decoding using first predictive image data corresponding to the first decoding block, and predicting image data corresponding to a processing target frame The second data prediction unit that performs the prediction process for each second prediction block including a plurality of pixels that partition the frame to generate second predicted image data, and the encoded data of the processing target frame, A second data decoding unit that decodes using the second predicted image data corresponding to the second decoding block for each second decoding block that partitions the second prediction block. A predictive decoding unit and a selection unit that supplies the encoded data to one of the first predictive decoding unit and the second predictive decoding unit according to a command signal from the outside are provided. Since it is a feature, the image Etc. Depending on's can be switched and predictive decoding processing of performing highly accurate motion compensation, and predictive decoding process to compensate for normal accuracy for the image data for the image data.

【0289】本発明(請求項16)に係る復号化方法に
よれば、画像データを予測符号化して得られた符号化デ
ータを、フレーム毎にフレーム間の画素値相関を用いて
予測復号化する復号化方法であって、処理対象フレーム
に対応する画像データを予測する予測処理を、該フレー
ムを区分する複数の画素からなる予測ブロック毎に行っ
て予測画像データを生成する予測ステップと、上記処理
対象フレームの符号化データを、複数の予測ブロックか
らなる復号化ブロック毎に、該復号化ブロックに対応す
る予測画像データを用いて復号化する復号化ステップと
を含むことを特徴とするので、細かな動き検出を行って
符号化処理した符号化データ列を、良好に復号化するこ
とができ、高い符号化効率で符号化された符号化データ
から、良好な画質の画像を再生可能となる。
According to the decoding method of the present invention (claim 16), the coded data obtained by predictively coding the image data is predictively decoded for each frame using the pixel value correlation between frames. A decoding method, a prediction step of performing prediction processing of predicting image data corresponding to a frame to be processed for each prediction block composed of a plurality of pixels that divide the frame, and generating the predicted image data; A decoding step of decoding the coded data of the target frame for each decoding block including a plurality of prediction blocks using the prediction image data corresponding to the decoding block, It is possible to satisfactorily decode a coded data string that has been coded by performing various motion detections, and it is possible to obtain good image quality from coded data that is coded with high coding efficiency. Images can play.

【0290】本発明(請求項17)によれば、請求項1
6記載の復号化方法において、上記予測ステップは、形
状の異なる複数種類の予測ブロックの各々に対応する予
測画像データを生成するステップと、上記画像データの
予測符号化の際、形状の異なる複数種類の予測ブロック
に対応する予測画像データのうち、いずれの形状の予測
ブロックの予測画像データを選択したかを示すブロック
識別情報に基づいて、所定の形状の予測ブロックに対応
する予測画像データを選択するステップと、該選択した
予測ブロックの予測画像データにより上記復号化ブロッ
クに対応する予測画像データを生成するステップとを含
むものであることを特徴とするので、フレーム内での画
像の動きに合わせた精度の高い動き検出を行って符号化
処理を施した画像データを良好に復号化することがで
き、高い符号化効率で符号化された符号化データから、
良好な画質の画像を再生可能となる。
According to the present invention (claim 17), claim 1
6. The decoding method according to 6, wherein the prediction step includes a step of generating prediction image data corresponding to each of a plurality of types of prediction blocks having different shapes, and a plurality of types having different shapes at the time of predictive coding of the image data. Of the prediction image data corresponding to the prediction block, the prediction image data corresponding to the prediction block of the predetermined shape is selected based on the block identification information indicating which prediction image data of the prediction block of which shape is selected. It is characterized by including a step and a step of generating predicted image data corresponding to the above-mentioned decoded block by the predicted image data of the selected predicted block. Image data that has undergone high motion detection and encoding processing can be decoded well, and high encoding efficiency is achieved. From encoded data,
It becomes possible to reproduce an image of good quality.

【0291】本発明(請求項18)によれば、請求項1
6記載の復号化方法において、上記予測ステップは、形
状の異なる複数種類の予測ブロックの各々に対応する予
測画像データを生成するステップと、上記形状の異なる
複数種類の予測ブロックに対応する予測画像データを、
上記復号化ブロックにおける各種予測ブロックの配置パ
ターンを示すブロック配置情報に基づいて組み合わせ
て、上記復号化ブロックに対応する予測画像データを生
成するステップとを含むものであることを特徴とするの
で、フレーム内での動画像の形状や動きに合わせた精度
の高い動き検出を行って符号化処理を施した画像データ
を良好に復号化することができ、高い符号化効率で符号
化された符号化データから、良好な画質の画像を再生可
能となる。
According to the present invention (claim 18), claim 1
6. In the decoding method according to 6, the prediction step includes a step of generating prediction image data corresponding to each of a plurality of types of prediction blocks having different shapes, and a prediction image data corresponding to the plurality of types of prediction blocks having different shapes. To
In the frame, since it includes a step of combining based on block arrangement information indicating an arrangement pattern of various prediction blocks in the decoding block to generate prediction image data corresponding to the decoding block. It is possible to satisfactorily decode image data that has been subjected to encoding processing by performing highly accurate motion detection that matches the shape and movement of the moving image of, and from encoded data that is encoded with high encoding efficiency, It becomes possible to reproduce an image of good quality.

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

【図1】本発明の実施の形態1による符号化装置100
aを説明するためのブロック図である。
FIG. 1 is an encoding device 100 according to a first embodiment of the present invention.
It is a block diagram for explaining a.

【図2】上記実施の形態1の符号化装置100aの予測
符号化処理を説明する模式図であり、入力画像データに
対応するフレームと予測誤差ブロックとを対応を示して
いる。
FIG. 2 is a schematic diagram illustrating a predictive encoding process of the encoding device 100a according to the first embodiment, showing correspondence between a frame corresponding to input image data and a prediction error block.

【図3】本発明の実施の形態2による符号化装置100
bを説明するためのブロック図である。
FIG. 3 is an encoding device 100 according to a second embodiment of the present invention.
It is a block diagram for demonstrating b.

【図4】上記実施の形態2の符号化装置100bの予測
符号化処理を説明する模式図であり、8×8画素ブロッ
クを構成する4×4画素ブロック及び2×8画素ブロッ
クの配置パターンの3つの例(図(a)〜図(c))を示して
いる。
[Fig. 4] Fig. 4 is a schematic diagram illustrating a predictive coding process of the coding device 100b according to the second embodiment, which illustrates an arrangement pattern of 4x4 pixel blocks and 2x8 pixel blocks forming an 8x8 pixel block. Three examples (Fig. (A)-(c)) are shown.

【図5】本発明の実施の形態3による符号化装置100
cを説明するためのブロック図である。
FIG. 5 is an encoding device 100 according to a third embodiment of the present invention.
It is a block diagram for explaining c.

【図6】本発明の実施の形態4による符号化装置100
dを説明するためのブロック図である。
FIG. 6 is an encoding device 100 according to a fourth embodiment of the present invention.
It is a block diagram for explaining d.

【図7】本発明の実施の形態5による記録装置100e
を説明するためのブロック図である。
FIG. 7 is a recording device 100e according to a fifth embodiment of the present invention.
It is a block diagram for explaining.

【図8】本発明の実施の形態6による記録装置100f
を説明するためのブロック図である。
FIG. 8 is a recording device 100f according to a sixth embodiment of the present invention.
It is a block diagram for explaining.

【図9】本発明の実施の形態7による復号化装置100
gを説明するためのブロック図である。
FIG. 9 is a decoding device 100 according to a seventh embodiment of the present invention.
It is a block diagram for explaining g.

【図10】本発明の実施の形態8による復号化装置10
0hを説明するためのブロック図である。
FIG. 10 is a decoding device 10 according to an eighth embodiment of the present invention.
It is a block diagram for explaining 0h.

【図11】本発明の実施の形態9による復号化装置10
0iを説明するためのブロック図である。
FIG. 11 is a decoding device 10 according to a ninth embodiment of the present invention.
It is a block diagram for explaining 0i.

【図12】本発明の実施の形態10による再生装置10
0jを説明するためのブロック図である。
FIG. 12 is a reproduction device 10 according to Embodiment 10 of the present invention.
It is a block diagram for explaining 0j.

【図13】本発明の実施の形態11による再生装置10
0kを説明するためのブロック図である。
FIG. 13 is a reproduction device 10 according to an eleventh embodiment of the present invention.
It is a block diagram for explaining 0k.

【図14】本発明の実施の形態12による携帯電話を説
明するための図である。
FIG. 14 is a diagram for explaining a mobile phone according to a twelfth embodiment of the present invention.

【図15】上記各実施の形態の装置をコンピュータシス
テムにより行うためのプログラムを格納したデータ記憶
媒体(図(a),(b))、及び上記コンピュータシステム
(図(c))を説明するための図である。
FIG. 15 is a diagram for explaining a data storage medium (FIGS. (A) and (b)) storing a program for executing the apparatus of each of the embodiments by a computer system, and the computer system (FIG. (C)). FIG.

【図16】従来のMPEG符号化方式を説明するための
模式図であり、フレーム間予測符号化処理が施されるフ
レームを示している。
[Fig. 16] Fig. 16 is a schematic diagram for explaining a conventional MPEG encoding system, and shows a frame to which interframe predictive encoding processing is applied.

【図17】従来のMPEG符号化方式を用いた符号化装
置700を説明するブロック図である。
FIG. 17 is a block diagram illustrating an encoding device 700 using a conventional MPEG encoding method.

【図18】従来のMPEG符号化方式における予測符号
化処理を説明する模式図であり、動き補償の単位である
16×16画素ブロックと、DCT処理の単位である8
×8画素ブロックとの対応を示している。
[Fig. 18] Fig. 18 is a schematic diagram for explaining a predictive coding process in the conventional MPEG coding system, in which a unit of motion compensation is a 16x16 pixel block and a unit of DCT process is 8.
The correspondence with a × 8 pixel block is shown.

【図19】従来のMPEG符号化方式を用いた復号化装
置800を説明するブロック図である。
FIG. 19 is a block diagram illustrating a decoding device 800 using a conventional MPEG encoding method.

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

100a〜100d 符号化装置 100e,100f 記録装置 100g,100h 復号化装置 100i〜100k 再生装置 101,112,305 4×4ブロック分割器 102,202,702 減算器 103,232 8×8ブロック構成器 104,704 DCT器 105,705 量子化器 106,206,706,802 可変長符号化器 107,304,707,803 逆量子化器 108,303,708,809 逆DCT器 109,209,306,405,709,805 加
算器 110,308,710,807 参照フレームメモリ 111,211,307,404,711,806 動
き補償部 123,723 4×4予測誤差ブロックの量子化係数 124,224,330,724,830 動きベクト
ル 126,226,241,331,431,726,8
31 4×4予測参照ブロックの動き補償データ 127,127a,127b,127c,127d 予
測誤差ブロックのデータ 128,324,728,824 8×8予測誤差ブロ
ックの復号データ 129,425 4×4予測誤差ブロックの復号データ 130,340,440,730,840 4×4画素
ブロックの復号データ 131,318 参照フレームのデータ 201 2×8ブロック分割器 221 2×8画素ブロックのデータ 227,227a,227b,227c,227d 2
×8予測誤差ブロックのデータ 229 動き補償ブロックの復号データ 231 評価器 233 復号ブロック分割器 234 選択器 240,410 動き補償モード識別信号 301,401,801 符号分類器 302 可変長復号化器 402 予測ブロックパターン復号器 403 ブロック分割器 1100 解像度変換器 1101,1201,1301,1401,1501,
1601,1701選択器 1102,1302,1402,1502 小ブロック
動き補償符号化部(第1の符号化部) 1103,1303,1403,1503 MPEG符
号化部(第2の符号化部) 1104,1304,1404,1504 符号化識別
符号生成部 1200 符号化識別符号復号部 1202,1602,1702 小ブロック動き補償復
号化部(第1の復号化部) 1203,1603,1703 MPEG復号化部(第
2の復号化部) 1405 記録処理部 1406,1606 ハードディスク 1407,1607,1706 DVD 1605,1705 再生処理部 1800 携帯電話 1801 アンテナ 1802 信号処理部 1803 無線通信部 1804 表示制御部 1805 音声入力出力部 1806 液晶パネル(LCD) 1807 スピーカ 1808 マイク BL4a〜BL4d 4×4画素ブロック BL8 8×8画素ブロック BLp4a〜BLp4d 4×4予測誤差ブロック Bs1〜Bs4,Bsa,Bsb 符号化データ列 Bs4a,Bs4b,Bs5 記録データ Cid1〜Cid4 符号化識別符号 Cs コンピュータ・システム Did2 符号化識別符号 F フレーム FD フロッピディスク FDD フロッピディスクドライブ Id 入力画像データ Im メディア指定信号 Ir 符号化レート指定信号 Is 解像度指定信号 RId 再生画像データ
100a to 100d Encoding device 100e, 100f Recording device 100g, 100h Decoding device 100i to 100k Reproducing device 101, 112, 305 4x4 block divider 102, 202, 702 Subtractor 103, 232 8x8 block configurator 104 , 704 DCT device 105, 705 Quantizer 106, 206, 706, 802 Variable length encoder 107, 304, 707, 803 Inverse quantizer 108, 303, 708, 809 Inverse DCT device 109, 209, 306, 405 , 709, 805 Adder 110, 308, 710, 807 Reference frame memories 111, 211, 307, 404, 711, 806 Motion compensation section 123, 723 4 × 4 prediction error block quantization coefficient 124, 224, 330, 724 , 830 Motion vectors 126, 226, 241 331,431,726,8
31 4 × 4 prediction reference block motion compensation data 127, 127a, 127b, 127c, 127d prediction error block data 128, 324, 728, 824 8 × 8 prediction error block decoded data 129, 425 4 × 4 prediction error block Decoded data 130, 340, 440, 730, 840 4 × 4 pixel block decoded data 131, 318 Reference frame data 201 2 × 8 block divider 221 2 × 8 pixel block data 227, 227a, 227b, 227c, 227d 2
× 8 prediction error block data 229 motion compensation block decoded data 231 evaluator 233 decoding block divider 234 selectors 240,410 motion compensation mode identification signals 301,401,801 code classifier 302 variable length decoder 402 prediction block Pattern decoder 403 Block divider 1100 Resolution converters 1101, 1201, 1301, 1401, 1501,
1601, 1701 selectors 1102, 1302, 1402, 1502 small block motion compensation coding unit (first coding unit) 1103, 1303, 1403, 1503 MPEG coding unit (second coding unit) 1104, 1304 1404, 1504 Coded identification code generation section 1200 Coded identification code decoding section 1202, 1602, 1702 Small block motion compensation decoding section (first decoding section) 1203, 1603, 1703 MPEG decoding section (second decoding 1405 recording processing unit 1406, 1606 hard disk 1407, 1607, 1706 DVD 1605, 1705 playback processing unit 1800 mobile phone 1801 antenna 1802 signal processing unit 1803 wireless communication unit 1804 display control unit 1805 audio input / output unit 1806 liquid crystal panel (LCD) ) 18 7 Speaker 1808 Microphone BL4a to BL4d 4 × 4 pixel block BL8 8 × 8 pixel block BLp4a to BLp4d 4 × 4 Prediction error block Bs1 to Bs4, Bsa, Bsb Encoded data string Bs4a, Bs4b, Bs5 Recorded data Cid1 to Cid4 Encoded Identification code Cs Computer system Did2 Encoding identification code F Frame FD Floppy disk FDD Floppy disk drive Id Input image data Im Media designation signal Ir Encoding rate designation signal Is Resolution designation signal RId Reproduced image data

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5C059 KK00 MA00 MA05 MA22 MA23 MC11 MC38 ME01 NN01 NN21 NN28 PP04 RC11 RF04 SS10 SS11 TA12 TC25 UA02 UA05 5J064 AA01 BA04 BA09 BA16 BB03 BC01 BC08 BC16 BC25 BC27 BD02 BD03    ─────────────────────────────────────────────────── ─── Continued front page    F-term (reference) 5C059 KK00 MA00 MA05 MA22 MA23                       MC11 MC38 ME01 NN01 NN21                       NN28 PP04 RC11 RF04 SS10                       SS11 TA12 TC25 UA02 UA05                 5J064 AA01 BA04 BA09 BA16 BB03                       BC01 BC08 BC16 BC25 BC27                       BD02 BD03

Claims (18)

【特許請求の範囲】[Claims] 【請求項1】 画像データをフレーム毎にフレーム間の
画素値相関を用いて予測符号化する符号化装置であっ
て、 処理対象フレームに対応する画像データを予測する予測
処理を、該フレームを区分する複数の画素からなる予測
ブロック毎に行って予測画像データを生成するデータ予
測部と、 上記処理対象フレームの画像データを、複数の予測ブロ
ックからなる符号化ブロック毎に、該符号化ブロックに
対応する予測画像データを用いて符号化するデータ符号
化部とを備えたことを特徴とする符号化装置。
1. A coding apparatus for predictively coding image data for each frame using pixel value correlation between frames, wherein a prediction process for predicting image data corresponding to a frame to be processed is divided into A data predicting unit that generates prediction image data by performing each prediction block including a plurality of pixels, and the image data of the processing target frame, for each coding block including a plurality of prediction blocks, corresponding to the coding block. And a data encoding unit that encodes using the predicted image data to be encoded.
【請求項2】 請求項1記載の符号化装置において、 上記データ予測部は、 形状の異なる複数種類の予測ブロックの各々に対応する
予測画像データを生成するデータ生成部を有し、上記形
状の異なる複数種類の予測ブロックに対応する予測画像
データのうち、上記符号化ブロックに対する符号化効率
が最も高くなる予測ブロックの予測画像データを選択し
て、上記符号化ブロックに対応する予測画像データを生
成するものであることを特徴とする符号化装置。
2. The encoding device according to claim 1, wherein the data prediction unit has a data generation unit that generates prediction image data corresponding to each of a plurality of types of prediction blocks having different shapes, Of the prediction image data corresponding to different types of prediction blocks, the prediction image data of the prediction block having the highest coding efficiency with respect to the coding block is selected, and the prediction image data corresponding to the coding block is generated. An encoding device characterized by being.
【請求項3】 請求項2記載の符号化装置において、 上記データ予測部は、 形状の異なる複数種類の予測ブロックに対応する予測画
像データのうち、いずれの形状の予測ブロックの予測画
像データを選択したかを示すブロック識別情報を出力す
るものであることを特徴とする符号化装置。
3. The encoding device according to claim 2, wherein the data prediction unit selects prediction image data of a prediction block of any shape among prediction image data corresponding to a plurality of types of prediction blocks having different shapes. An encoding device, which outputs block identification information indicating whether or not the process has been performed.
【請求項4】 請求項1記載の符号化装置において、 上記データ予測部は、 形状の異なる複数種類の予測ブロックの各々に対応する
予測画像データを生成するデータ生成部を有し、上記形
状の異なる複数種類の予測ブロックに対応する予測画像
データを、上記符号化ブロックにおける上記各種予測ブ
ロックの配置パターンが上記符号化ブロックに対する符
号化効率が最も高くなる配置パターンとなるよう組み合
わせて上記符号化ブロックに対応する予測画像データを
生成するものであることを特徴とする符号化装置。
4. The encoding device according to claim 1, wherein the data prediction unit has a data generation unit that generates prediction image data corresponding to each of a plurality of types of prediction blocks having different shapes, Prediction image data corresponding to different types of prediction blocks are combined so that the arrangement pattern of the various prediction blocks in the encoding block becomes an arrangement pattern that maximizes the encoding efficiency of the encoding block. An encoding device for generating predicted image data corresponding to.
【請求項5】 請求項4記載の符号化装置において、 上記データ予測部は、 上記符号化ブロックにおける各種予測ブロックの配置パ
ターンを示すブロック配置情報を出力するものであるこ
とを特徴とする符号化装置。
5. The encoding device according to claim 4, wherein the data prediction unit outputs block arrangement information indicating an arrangement pattern of various prediction blocks in the encoded block. apparatus.
【請求項6】 画像データをフレーム毎にフレーム間画
素値相関を用いて予測符号化する符号化装置において、 処理対象フレームに対応する画像データを予測する予測
処理を、該フレームを区分する複数の画素からなる第1
予測ブロック毎に行って第1の予測画像データを生成す
る第1のデータ予測部と、上記処理対象フレームの画像
データを、複数の第1予測ブロックからなる第1符号化
ブロック毎に、該第1符号化ブロックに対応する第1の
予測画像データを用いて符号化する第1のデータ符号化
部とを有する第1の予測符号化部と、 処理対象フレームに対応する画像データを予測する予測
処理を、該フレームを区分する複数の画素からなる第2
予測ブロック毎に行って第2の予測画像データを生成す
る第2データ予測部と、上記処理対象フレームの画像デ
ータを、上記第2予測ブロックを区分する第2符号化ブ
ロック毎に、該第2符号化ブロックに対応する第2の予
測画像データを用いて符号化する第2のデータ符号化部
とを有する第2の予測符号化部と、 外部からの指令信号に応じて、上記画像データを、上記
第1の予測符号化部及び第2の予測符号化部の一方に供
給する選択部とを備えたことを特徴とする符号化装置。
6. An encoding apparatus for predictively encoding image data for each frame using inter-frame pixel value correlation, wherein a predicting process for predicting image data corresponding to a frame to be processed is performed by a plurality of sections for dividing the frame. First composed of pixels
A first data predicting unit that performs first prediction image data by performing each prediction block and image data of the processing target frame for each first coding block including a plurality of first prediction blocks A first predictive encoding unit having a first data encoding unit that encodes using first predictive image data corresponding to one encoded block, and prediction for predicting image data corresponding to a processing target frame The process is performed by a second pixel consisting of a plurality of pixels that divide the frame.
A second data prediction unit that performs second prediction image data by performing each prediction block, and image data of the processing target frame for each second coding block that divides the second prediction block A second predictive coding unit having a second data coding unit for coding using the second predictive image data corresponding to the coding block, and the image data according to a command signal from the outside. An encoding device comprising: a selection unit that supplies one of the first prediction encoding unit and the second prediction encoding unit.
【請求項7】 画像データをフレーム毎にフレーム間の
画素値相関を用いて予測符号化する符号化方法であっ
て、 処理対象フレームに対応する画像データを予測する予測
処理を、該フレームを区分する複数の画素からなる予測
ブロック毎に行って予測画像データを生成する予測ステ
ップと、 上記処理対象フレームの画像データを、複数の予測ブロ
ックからなる符号化ブロック毎に、該符号化ブロックに
対応する予測画像データを用いて符号化する符号化ステ
ップとを含むことを特徴とする符号化方法。
7. A coding method for predictively coding image data for each frame by using pixel value correlation between frames, wherein a predicting process for predicting image data corresponding to a frame to be processed is performed by dividing the frame. A prediction step of generating predicted image data by performing each prediction block composed of a plurality of pixels, and the image data of the processing target frame is associated with each coding block composed of a plurality of prediction blocks. And a coding step of coding using predicted image data.
【請求項8】 請求項7記載の符号化方法において、 上記予測ステップは、 形状の異なる複数種類の予測ブロックの各々に対応する
予測画像データを生成するステップと、 上記形状の異なる複数種類の予測ブロックに対応する予
測画像データのうち、上記符号化ブロックに対する符号
化効率が最も高くなる予測ブロックの予測画像データを
選択するステップと、 該選択した予測ブロックの予測画像データにより、上記
符号化ブロックに対応する予測画像データを生成するス
テップとを含むものであることを特徴とする符号化方
法。
8. The encoding method according to claim 7, wherein the prediction step includes a step of generating prediction image data corresponding to each of a plurality of types of prediction blocks having different shapes, and a plurality of types of prediction having different shapes. Of the prediction image data corresponding to the block, a step of selecting the prediction image data of the prediction block having the highest coding efficiency with respect to the coding block, and the prediction image data of the selected prediction block And a step of generating corresponding predicted image data.
【請求項9】 請求項8記載の符号化方法において、 上記予測ステップは、 形状の異なる複数種類の予測ブロックに対応する予測画
像データのうち、いずれの形状の予測ブロックの予測画
像データを選択したかを示すブロック識別情報を生成す
るステップを含むものであることを特徴とする符号化方
法。
9. The encoding method according to claim 8, wherein in the predicting step, predictive image data of a predictive block of any shape is selected from predictive image data corresponding to a plurality of kinds of predictive blocks having different shapes. An encoding method including a step of generating block identification information indicating that.
【請求項10】 請求項7記載の符号化方法において、 上記予測ステップは、 形状の異なる複数種類の予測ブロックの各々に対応する
予測画像データを生成するステップと、 上記符号化ブロックにおける上記各種予測ブロックの配
置パターンを、上記符号化ブロックに対する符号化効率
が最も高くなるよう決定するステップと、 上記形状の異なる複数種類の予測ブロックに対応する予
測画像データを、上記符号化ブロックにおける上記各種
予測ブロックの配置パターンが上記決定された配置パタ
ーンとなるよう組み合わせて、上記符号化ブロックに対
応する予測画像データを生成するステップとを含むもの
であることを特徴とする符号化方法。
10. The encoding method according to claim 7, wherein the prediction step includes a step of generating prediction image data corresponding to each of a plurality of types of prediction blocks having different shapes, and the various predictions in the coding block. A step of determining a block arrangement pattern so that the coding efficiency with respect to the coding block is the highest; and predictive image data corresponding to a plurality of types of prediction blocks having different shapes, the various prediction blocks in the coding block. And generating the predicted image data corresponding to the coded block by combining the arrangement patterns of the above-described arrangement patterns so that the arrangement pattern becomes the determined arrangement pattern.
【請求項11】 請求項10記載の符号化方法におい
て、 上記予測ステップは、 上記符号化ブロックにおける各種予測ブロックの配置パ
ターンを示すブロック配置情報を生成するステップを含
むものであることを特徴とする符号化方法。
11. The encoding method according to claim 10, wherein the predicting step includes a step of generating block arrangement information indicating an arrangement pattern of various prediction blocks in the encoding block. Method.
【請求項12】 画像データを予測符号化して得られた
符号化データを、フレーム毎にフレーム間の画素値相関
を用いて予測復号化する復号化装置であって、 処理対象フレームに対応する画像データを予測する予測
処理を、該フレームを区分する複数の画素からなる予測
ブロック毎に行って予測画像データを生成するデータ予
測部と、 上記処理対象フレームの符号化データを、複数の予測ブ
ロックからなる復号化ブロック毎に、該復号化ブロック
に対応する予測画像データを用いて復号化するデータ復
号化部とを備えたことを特徴とする復号化装置。
12. A decoding device for predictively decoding coded data obtained by predictively coding image data for each frame using pixel value correlation between frames, the image corresponding to a frame to be processed. A data prediction unit that performs prediction processing for predicting data for each prediction block composed of a plurality of pixels that divide the frame to generate predicted image data, and encoded data of the processing target frame from the plurality of prediction blocks. And a data decoding unit that performs decoding using the predicted image data corresponding to each of the decoding blocks.
【請求項13】 請求項12記載の復号化装置におい
て、 上記データ予測部は、 形状の異なる複数種類の予測ブロックの各々に対応する
予測画像データを生成するデータ生成部を有し、上記画
像データの予測符号化の際、形状の異なる複数種類の予
測ブロックに対応する予測画像データのうち、いずれの
形状の予測ブロックの予測画像データを選択したかを示
すブロック識別情報に基づいて、所定の形状の予測ブロ
ックに対応する予測画像データを選択し、該選択した予
測ブロックの予測画像データにより上記復号化ブロック
に対応する予測画像データを生成するものであることを
特徴とする復号化装置。
13. The decoding device according to claim 12, wherein the data prediction unit includes a data generation unit that generates prediction image data corresponding to each of a plurality of types of prediction blocks having different shapes. In predictive coding of, a predetermined shape is calculated based on block identification information indicating which shape of the predictive image data is selected from the predictive image data corresponding to a plurality of types of predictive blocks having different shapes. Decoding device for selecting prediction image data corresponding to the prediction block, and generating prediction image data corresponding to the decoding block based on the prediction image data of the selected prediction block.
【請求項14】 請求項12記載の復号化装置におい
て、 上記データ予測部は、 形状の異なる複数種類の予測ブロックの各々に対応する
予測画像データを生成するデータ生成部を有し、上記形
状の異なる複数種類の予測ブロックに対応する予測画像
データを、上記復号化ブロックにおける各種予測ブロッ
クの配置パターンを示すブロック配置情報に基づいて組
み合わせて、上記復号化ブロックに対応する予測画像デ
ータを生成するものであることを特徴とする復号化装
置。
14. The decoding device according to claim 12, wherein the data prediction unit has a data generation unit that generates prediction image data corresponding to each of a plurality of types of prediction blocks having different shapes, Prediction image data corresponding to different types of prediction blocks are combined based on block arrangement information indicating an arrangement pattern of various prediction blocks in the decoding block to generate prediction image data corresponding to the decoding block And a decoding device.
【請求項15】 画像データを予測符号化して得られた
符号化データを、フレーム毎にフレーム間の画素値相関
を用いて予測復号化する復号化装置であって、 処理対象フレームに対応する画像データを予測する予測
処理を、該フレームを区分する複数の画素からなる第1
予測ブロック毎に行って第1の予測画像データを生成す
る第1のデータ予測部と、上記処理対象フレームの符号
化データを、複数の第1予測ブロックからなる第1復号
化ブロック毎に、該第1復号化ブロックに対応する第1
の予測画像データを用いて復号化する第1のデータ復号
化部とを有する第1の予測復号化部と、 処理対象フレームに対応する画像データを予測する予測
処理を、該フレームを区分する複数の画素からなる第2
予測ブロック毎に行って第2の予測画像データを生成す
る第2のデータ予測部と、上記処理対象フレームの符号
化データを、上記第2予測ブロックを区分する第2復号
化ブロック毎に、該第2復号化ブロックに対応する第2
の予測画像データを用いて復号化する第2のデータ復号
化部とを有する第2の予測復号化部と、 外部からの指令信号に応じて、上記符号化データを、上
記第1の予測復号化部及び第2の予測復号化部の一方に
供給する選択部とを備えたことを特徴とする復号化装
置。
15. A decoding device for predictively decoding coded data obtained by predictively coding image data for each frame using pixel value correlation between frames, the image corresponding to a frame to be processed. A prediction process for predicting data is performed by a first process including a plurality of pixels that divide the frame.
A first data predicting unit that performs first prediction image data by performing each prediction block and the encoded data of the processing target frame for each first decoding block including a plurality of first prediction blocks The first corresponding to the first decoding block
A first predictive decoding unit having a first data decoding unit for decoding using the predicted image data of, and a prediction process for predicting image data corresponding to a processing target frame, 2nd consisting of pixels
A second data predicting unit that performs second prediction image data by performing each prediction block and coded data of the processing target frame for each second decoding block that divides the second prediction block The second corresponding to the second decoding block
Second predictive decoding unit having a second data decoding unit for decoding using the predicted image data of No. 1, and the encoded data is converted into the first predictive decoding unit according to a command signal from the outside. A decoding device comprising: a conversion unit and a selection unit that supplies the second predictive decoding unit.
【請求項16】 画像データを予測符号化して得られた
符号化データを、フレーム毎にフレーム間の画素値相関
を用いて予測復号化する復号化方法であって、 処理対象フレームに対応する画像データを予測する予測
処理を、該フレームを区分する複数の画素からなる予測
ブロック毎に行って予測画像データを生成する予測ステ
ップと、 上記処理対象フレームの符号化データを、複数の予測ブ
ロックからなる復号化ブロック毎に、該復号化ブロック
に対応する予測画像データを用いて復号化する復号化ス
テップとを含むことを特徴とする復号化方法。
16. A decoding method for predictively decoding coded data obtained by predictively coding image data for each frame using pixel value correlation between frames, the image corresponding to a frame to be processed. A prediction step of generating prediction image data by performing a prediction process of predicting data for each prediction block composed of a plurality of pixels that partition the frame, and the encoded data of the processing target frame is composed of a plurality of prediction blocks. And a decoding step of decoding, for each decoding block, using predicted image data corresponding to the decoding block.
【請求項17】 請求項16記載の復号化方法におい
て、 上記予測ステップは、 形状の異なる複数種類の予測ブロックの各々に対応する
予測画像データを生成するステップと、 上記画像データの予測符号化の際、形状の異なる複数種
類の予測ブロックに対応する予測画像データのうち、い
ずれの形状の予測ブロックの予測画像データを選択した
かを示すブロック識別情報に基づいて、所定の形状の予
測ブロックに対応する予測画像データを選択するステッ
プと、 該選択した予測ブロックの予測画像データにより上記復
号化ブロックに対応する予測画像データを生成するステ
ップとを含むものであることを特徴とする復号化方法。
17. The decoding method according to claim 16, wherein the predicting step includes a step of generating predictive image data corresponding to each of a plurality of types of predictive blocks having different shapes, and predictive encoding of the image data. At this time, among the prediction image data corresponding to a plurality of types of prediction blocks of different shapes, the prediction block of a predetermined shape is supported based on the block identification information indicating which prediction block of the prediction image data of the shape is selected. A decoding method, comprising: selecting the predicted image data to be processed; and generating the predicted image data corresponding to the decoding block from the predicted image data of the selected prediction block.
【請求項18】 請求項16記載の復号化方法におい
て、 上記予測ステップは、 形状の異なる複数種類の予測ブロックの各々に対応する
予測画像データを生成するステップと、 上記形状の異なる複数種類の予測ブロックに対応する予
測画像データを、上記復号化ブロックにおける各種予測
ブロックの配置パターンを示すブロック配置情報に基づ
いて組み合わせて、上記復号化ブロックに対応する予測
画像データを生成するステップとを含むものであること
を特徴とする復号化方法。
18. The decoding method according to claim 16, wherein the prediction step includes a step of generating prediction image data corresponding to each of a plurality of types of prediction blocks having different shapes, and a plurality of types of prediction having different shapes. Generating predicted image data corresponding to the decoded block by combining predicted image data corresponding to the block based on block arrangement information indicating an arrangement pattern of various predicted blocks in the decoded block. Decoding method characterized by.
JP2002368776A 2001-12-19 2002-12-19 Encoder and decoder Pending JP2003250161A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002368776A JP2003250161A (en) 2001-12-19 2002-12-19 Encoder and decoder

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2001385807 2001-12-19
JP2001-385807 2001-12-19
JP2002368776A JP2003250161A (en) 2001-12-19 2002-12-19 Encoder and decoder

Publications (1)

Publication Number Publication Date
JP2003250161A true JP2003250161A (en) 2003-09-05

Family

ID=28676867

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002368776A Pending JP2003250161A (en) 2001-12-19 2002-12-19 Encoder and decoder

Country Status (1)

Country Link
JP (1) JP2003250161A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006157481A (en) * 2004-11-30 2006-06-15 Canon Inc Image coding apparatus and method thereof
WO2007034918A1 (en) * 2005-09-26 2007-03-29 Mitsubishi Electric Corporation Dynamic image encoding device and dynamic image decoding device
WO2007063612A1 (en) * 2005-11-30 2007-06-07 Sharp Kabushiki Kaisha Dynamic image encoding device and dynamic image decoding device
WO2011033853A1 (en) * 2009-09-16 2011-03-24 株式会社日立製作所 Moving image decoding method and moving image encoding method
WO2011049119A1 (en) * 2009-10-20 2011-04-28 シャープ株式会社 Moving image coding device, moving image decoding device, moving image coding/decoding system, moving image coding method and moving image decoding method
WO2011158867A1 (en) * 2010-06-17 2011-12-22 シャープ株式会社 Image decoding device, and image coding device
JP2013502138A (en) * 2009-08-13 2013-01-17 サムスン エレクトロニクス カンパニー リミテッド Video encoding / decoding method and apparatus using large size conversion unit
JP2013520124A (en) * 2010-02-17 2013-05-30 ユニバーシティ−インダストリ コーポレーション グループ オブ キュン ヘ ユニバーシティ Coding structure
JP2014511628A (en) * 2011-05-05 2014-05-15 三菱電機株式会社 Method for coding video
WO2014155454A1 (en) * 2013-03-26 2014-10-02 パナソニック株式会社 Moving image encoding device and moving image encoding method
KR20150045979A (en) * 2015-04-13 2015-04-29 삼성전자주식회사 Method and apparatus for encoding and decoding image using large transform unit
KR101564563B1 (en) 2014-05-07 2015-10-30 삼성전자주식회사 Method and apparatus for encoding and decoding image using large transform unit
KR101564944B1 (en) * 2014-10-29 2015-11-02 삼성전자주식회사 Method and apparatus for encoding and decoding image using large transform unit
KR20160077027A (en) * 2016-06-22 2016-07-01 삼성전자주식회사 Method and apparatus for encoding and decoding image using large transform unit

Cited By (61)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7706622B2 (en) 2004-11-30 2010-04-27 Canon Kabushiki Kaisha Image coding apparatus and image coding method
JP2006157481A (en) * 2004-11-30 2006-06-15 Canon Inc Image coding apparatus and method thereof
US11039136B2 (en) 2005-09-26 2021-06-15 Mitsubishi Electric Corporation Moving image coding apparatus and moving image decoding apparatus
JP2012105349A (en) * 2005-09-26 2012-05-31 Mitsubishi Electric Corp Dynamic image encoding device and dynamic image decoding device
JP2014116950A (en) * 2005-09-26 2014-06-26 Mitsubishi Electric Corp Moving image decoding device and moving image decoding method
US9380306B2 (en) 2005-09-26 2016-06-28 Mitsubishi Electric Corporation Moving image coding apparatus and moving image decoding apparatus
US9060157B2 (en) 2005-09-26 2015-06-16 Mitsubishi Electric Corporation Moving image coding apparatus and moving image decoding apparatus
JP2011125067A (en) * 2005-09-26 2011-06-23 Mitsubishi Electric Corp Dynamic image encoding device and dynamic image decoding device
JP4828543B2 (en) * 2005-09-26 2011-11-30 三菱電機株式会社 Video encoding apparatus and video decoding apparatus
US11627317B2 (en) 2005-09-26 2023-04-11 Mitsubishi Electric Corporation Moving image coding apparatus and moving image decoding apparatus
KR101349599B1 (en) * 2005-09-26 2014-01-10 미쓰비시덴키 가부시키가이샤 Dynamic image decoding device
US9503735B2 (en) 2005-09-26 2016-11-22 Mitsubishi Electric Corporation Moving image coding apparatus and moving image decoding apparatus
JPWO2007034918A1 (en) * 2005-09-26 2009-03-26 三菱電機株式会社 Video encoding apparatus and video decoding apparatus
CN103118253A (en) * 2005-09-26 2013-05-22 三菱电机株式会社 Dynamic image encoding device and dynamic image decoding device
US10142632B2 (en) 2005-09-26 2018-11-27 Mitsubishi Electric Corporation Moving image coding apparatus and moving image decoding apparatus
US8467450B2 (en) 2005-09-26 2013-06-18 Mitsubishi Electric Corporation Moving image coding apparatus and moving image decoding apparatus
WO2007034918A1 (en) * 2005-09-26 2007-03-29 Mitsubishi Electric Corporation Dynamic image encoding device and dynamic image decoding device
US10728550B2 (en) 2005-09-26 2020-07-28 Mitsubishi Electric Corporation Moving image coding apparatus and moving image decoding apparatus
KR101336475B1 (en) * 2005-09-26 2013-12-04 미쓰비시덴키 가부시키가이샤 Dynamic image encoding device and dynamic image decoding device
US9591308B2 (en) 2005-09-26 2017-03-07 Mitsubishi Electric Corporation Moving image coding apparatus and moving image decoding apparatus
JP4855417B2 (en) * 2005-11-30 2012-01-18 シャープ株式会社 Video encoding device, video decoding device
WO2007063612A1 (en) * 2005-11-30 2007-06-07 Sharp Kabushiki Kaisha Dynamic image encoding device and dynamic image decoding device
JP2015109687A (en) * 2009-08-13 2015-06-11 サムスン エレクトロニクス カンパニー リミテッド Method and apparatus for video encoding and decoding using large-size transformation unit
JP2015109686A (en) * 2009-08-13 2015-06-11 サムスン エレクトロニクス カンパニー リミテッド Method and apparatus for video encoding and decoding using large-size transformation unit
US9386325B2 (en) 2009-08-13 2016-07-05 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image by using large transformation unit
US8792737B2 (en) 2009-08-13 2014-07-29 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image by using large transformation unit
US8792741B2 (en) 2009-08-13 2014-07-29 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image by using large transformation unit
US8798381B2 (en) 2009-08-13 2014-08-05 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image by using large transformation unit
US8842921B2 (en) 2009-08-13 2014-09-23 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image by using large transformation unit
JP2013214989A (en) * 2009-08-13 2013-10-17 Samsung Electronics Co Ltd Method and apparatus for encoding and decoding image by using large transformation unit
JP2015180086A (en) * 2009-08-13 2015-10-08 サムスン エレクトロニクス カンパニー リミテッド Method and apparatus for encoding and decoding image by using large size transformation unit
JP2013179707A (en) * 2009-08-13 2013-09-09 Samsung Electronics Co Ltd Method and apparatus for encoding and decoding image by using large size transformation unit
US8971650B2 (en) 2009-08-13 2015-03-03 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image by using large transformation unit
US8971649B2 (en) 2009-08-13 2015-03-03 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image by using large transformation unit
JP2015173484A (en) * 2009-08-13 2015-10-01 サムスン エレクトロニクス カンパニー リミテッド Method and apparatus for encoding and decoding image by using large transformation unit
JP2013502138A (en) * 2009-08-13 2013-01-17 サムスン エレクトロニクス カンパニー リミテッド Video encoding / decoding method and apparatus using large size conversion unit
JP2014007759A (en) * 2009-09-16 2014-01-16 Hitachi Ltd Moving picture decoding method
JP2014207713A (en) * 2009-09-16 2014-10-30 株式会社日立製作所 Moving picture decoding method
JP2018164299A (en) * 2009-09-16 2018-10-18 マクセル株式会社 Moving picture decoding method
JP5363581B2 (en) * 2009-09-16 2013-12-11 株式会社日立製作所 Video decoding method and video encoding method
WO2011033853A1 (en) * 2009-09-16 2011-03-24 株式会社日立製作所 Moving image decoding method and moving image encoding method
WO2011049119A1 (en) * 2009-10-20 2011-04-28 シャープ株式会社 Moving image coding device, moving image decoding device, moving image coding/decoding system, moving image coding method and moving image decoding method
US11070802B2 (en) 2009-10-20 2021-07-20 Sharp Kabushiki Kaisha Moving image coding device, moving image decoding device, moving image coding/decoding system, moving image coding method and moving image decoding method
JP2018101996A (en) * 2009-10-20 2018-06-28 シャープ株式会社 Video decoding apparatus, video decoding method, video coding apparatus, and video coding method
JP2016086438A (en) * 2009-10-20 2016-05-19 シャープ株式会社 Moving image encoding device, moving image decoding device, moving image encoding/decoding system, and moving image encoding method, and moving image decoding method
EA027182B1 (en) * 2009-10-20 2017-06-30 Шарп Кабусики Кайся Moving image coding device, moving image decoding device, moving image coding/decoding system, moving image coding method and moving image decoding method
JP5562346B2 (en) * 2009-10-20 2014-07-30 シャープ株式会社 Moving picture encoding apparatus, moving picture decoding apparatus, moving picture encoding method, and moving picture decoding method
US8891891B2 (en) 2010-02-17 2014-11-18 University-Industry Cooperation Group of Kyung Hee Universirty Coding structure
US10051272B2 (en) 2010-02-17 2018-08-14 University-Industry Cooperation Group Of Kyung Hee University Coding structure
JP2013520124A (en) * 2010-02-17 2013-05-30 ユニバーシティ−インダストリ コーポレーション グループ オブ キュン ヘ ユニバーシティ Coding structure
US10051271B2 (en) 2010-02-17 2018-08-14 University-Industry Cooperation Group Of Kyung Hee University Coding structure
US9924170B2 (en) 2010-02-17 2018-03-20 University-Industry Cooperation Group Of Kyung Hee University Coding structure
WO2011158867A1 (en) * 2010-06-17 2011-12-22 シャープ株式会社 Image decoding device, and image coding device
JP2014511628A (en) * 2011-05-05 2014-05-15 三菱電機株式会社 Method for coding video
WO2014155454A1 (en) * 2013-03-26 2014-10-02 パナソニック株式会社 Moving image encoding device and moving image encoding method
KR101564563B1 (en) 2014-05-07 2015-10-30 삼성전자주식회사 Method and apparatus for encoding and decoding image using large transform unit
KR101564944B1 (en) * 2014-10-29 2015-11-02 삼성전자주식회사 Method and apparatus for encoding and decoding image using large transform unit
KR101634253B1 (en) 2015-04-13 2016-06-28 삼성전자주식회사 Method and apparatus for encoding and decoding image using large transform unit
KR20150045979A (en) * 2015-04-13 2015-04-29 삼성전자주식회사 Method and apparatus for encoding and decoding image using large transform unit
KR20160077027A (en) * 2016-06-22 2016-07-01 삼성전자주식회사 Method and apparatus for encoding and decoding image using large transform unit
KR101720195B1 (en) 2016-06-22 2017-03-27 삼성전자주식회사 Method and apparatus for encoding and decoding image using large transform unit

Similar Documents

Publication Publication Date Title
JP6513847B2 (en) Video coding method
JP4788649B2 (en) Moving image recording method and apparatus
JP6459005B2 (en) Image processing apparatus and image processing method
CN112806003B (en) Image encoding method based on intra prediction using MPM list and apparatus therefor
US20030112870A1 (en) Encoder and decoder
JP3268306B2 (en) Image coding method
KR101813463B1 (en) Image prediction encoding device, image prediction decoding device, image prediction encoding method, image prediction decoding method, image prediction encoding program, and image prediction decoding program
WO2010146696A1 (en) Dynamic image encoding device and dynamic image decoding device
JP2003250161A (en) Encoder and decoder
WO2012128241A1 (en) Image-processing device, image-processing method, and program
JP4895995B2 (en) Video decoding method
KR19980033415A (en) Apparatus and method for coding / encoding moving images and storage media for storing moving images
JP3776735B2 (en) Image predictive decoding method, image predictive decoding device, image predictive encoding method, image predictive encoding device, and data storage medium
US20010043653A1 (en) Method and apparatus for image encoding method and appartus for image decoding and recording medium
JP5389878B2 (en) Image predictive encoding device, image predictive decoding device, image predictive encoding method, image predictive decoding method, image predictive encoding program, and image predictive decoding program
JP7199462B2 (en) Video encoding device and video decoding device
JP2008118701A (en) Motion picture decoding method
JPH06268992A (en) Picture encoding method, picture decoding method, picture encoding device, picture decoding device and recording medium
JP3381728B2 (en) recoding media
JP3381727B2 (en) Data playback device
JP3381725B2 (en) Data recording device
JP2008118700A (en) Motion picture decoding method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051110

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071115

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071127

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080128

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080214

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20081216