[go: up one dir, main page]

JP2000013794A - Moving picture coding apparatus, moving picture coding method, moving picture decoding apparatus, and moving picture decoding method - Google Patents

Moving picture coding apparatus, moving picture coding method, moving picture decoding apparatus, and moving picture decoding method

Info

Publication number
JP2000013794A
JP2000013794A JP17550398A JP17550398A JP2000013794A JP 2000013794 A JP2000013794 A JP 2000013794A JP 17550398 A JP17550398 A JP 17550398A JP 17550398 A JP17550398 A JP 17550398A JP 2000013794 A JP2000013794 A JP 2000013794A
Authority
JP
Japan
Prior art keywords
variable
variable length
transform coefficient
decoding
length coding
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
JP17550398A
Other languages
Japanese (ja)
Inventor
Yoshimi Isu
芳美 井須
Shunichi Sekiguchi
俊一 関口
Kotaro Asai
光太郎 浅井
Hirobumi Nishikawa
博文 西川
Shinichi Kuroda
慎一 黒田
Yuri Hasegawa
由里 長谷川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP17550398A priority Critical patent/JP2000013794A/en
Publication of JP2000013794A publication Critical patent/JP2000013794A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

(57)【要約】 【課題】 直交変換、量子化後に得られる量子化変換係
数を可変長符号化テーブルを用いて符号化する際の符号
量を低減する。 【解決手段】 ブロック単位に直交変換、量子化を行っ
て得られる量子化変換係数17を符号化する際に、VL
Cテーブルグループ選択部4c6は、ブロックを複数の
領域に分けた領域毎に、量子化の際の条件に応じて、V
LCテーブル記憶部4C1から可変長符号化テーブルグ
ループを選択し、VLCテーブル選択部4c8は、その
選択された可変長符号化テーブルグループの中から、領
域内の量子化変換係数を符号化する際に用いる可変長符
号化テーブルを選択し、領域データ符号化部4c10
は、その選択された可変長符号化テーブルを用いて、量
子化変換係数を符号化して、量子化変換係数データ17
として出力する。
(57) [Problem] To reduce the code amount when coding a quantized transform coefficient obtained after orthogonal transform and quantization using a variable length coding table. SOLUTION: When encoding a quantized transform coefficient 17 obtained by performing orthogonal transform and quantization in block units, VL
The C table group selection unit 4c6 sets the V table according to the condition at the time of quantization for each area obtained by dividing the block into a plurality of areas.
The variable-length coding table group is selected from the LC table storage unit 4C1, and the VLC table selection unit 4c8 performs coding of the quantized transform coefficient in the region from the selected variable-length coding table group. The variable length coding table to be used is selected, and the area data coding unit 4c10 is selected.
Encodes the quantized transform coefficient using the selected variable-length encoding table, and generates the quantized transform coefficient data 17.
Output as

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、入力画像信号をブ
ロック単位で変換および量子化して量子化変換係数を生
成し、該量子化変換係数を上記ブロック内の所定領域毎
に可変長符号化テーブルにより可変長符号化して符号化
ビットストリームを生成する動画像符号化装置および動
画像符号化方法と、その符号化ビットストリームから画
像信号を復号して、符号化前の入力画像信号を復元する
ようにした動画像復号装置および動画像復号方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for transforming and quantizing an input image signal in units of blocks to generate quantized transform coefficients, and to store the quantized transform coefficients in a variable length coding table for each predetermined area in the block. And a moving image coding method for generating a coded bit stream by performing variable length coding on the basis of the above, and decoding an image signal from the coded bit stream to restore an input image signal before coding. And a moving picture decoding method.

【0002】[0002]

【従来の技術】従来、画像信号を効率的に符号化する手
段として、例えば、ISO/IEC JTC11/SC29/WG111にて標準
化作業が進められているMPEG-4(Moving Picture Expert
s Group Phase-4)のビデオ符号化参照方式(Verificatio
n Model 8.0 、以下VM8.0、ISO/IEC JTC11/SC29/WG11/N
1796)で採用されているように、ブロック毎に、離散コ
サイン変換(DCT) 、量子化後、得られた量子化変換
係数を可変長符号化する方法が用いられてきた。MPEG-4
では、ブロック内の量子化変換係数を可変長符号化する
手段としては、ブロック内を決められた順番にスキャン
し、零でない係数がブロック内で最後かどうかを示すフ
ラグ(LAST)、連続する零の数(RUN)とそれに続く零でな
い係数のレベル(LEVEL)を組にして、ブロック内で同一
の可変長符号化テーブルを用いて、(LAST,RUN,LEVEL)
を可変長符号化する方法が用いられている。このとき用
いられる可変長符号化テーブルは、各(LAST,RUN,LEVE
L)に対して、(LAST,RUN,LEVEL)の発生確率に基づい
て、符号長を定められた符号語を割り当てている。つま
り、発生確率の低い(LAST,RUN,LEVEL)に対しては長い
符号長の符号語を割り当て、これに対し、発生確率の高
い(LAST,RUN,LEVEL)に対しては短い符号長の符号語を
割り当てるようにしている。
2. Description of the Related Art Conventionally, as a means for efficiently encoding an image signal, for example, MPEG-4 (Moving Picture Expert), which has been standardized by ISO / IEC JTC11 / SC29 / WG111, has been developed.
s Group Phase-4) video coding reference method (Verificatio
n Model 8.0, below VM8.0, ISO / IEC JTC11 / SC29 / WG11 / N
As adopted in 1796), a method of performing discrete-length cosine transform (DCT), quantization, and variable-length coding of the obtained quantized transform coefficients after quantization has been used. MPEG-4
In order to perform variable-length coding of the quantized transform coefficients in a block, the block is scanned in a predetermined order, a flag (LAST) indicating whether a non-zero coefficient is the last in the block, (LAST, RUN, LEVEL) using the same variable length coding table in the block
Is variable-length-encoded. The variable length coding table used at this time is (LAST, RUN, LEVE)
L), a code word having a predetermined code length is assigned based on the occurrence probability of (LAST, RUN, LEVEL). That is, a codeword having a long code length is assigned to a low occurrence probability (LAST, RUN, LEVEL), whereas a short code length code is assigned to a high occurrence probability (LAST, RUN, LEVEL). Try to assign words.

【0003】[0003]

【発明が解決しようとする課題】しかし、前記の従来方
式では、一つの可変長符号化テーブルにより、ブロック
内の量子化変換係数を符号化していたため、例えば、符
号化の際、量子化変換係数の値のばらつきを小さくする
ために、前後のブロックの変換係数との差分データを符
号化する変換係数予測が行われた場合、変換係数予測が
行われなかった場合と比較すると、変換係数のレベルが
小さくなるなど、(RUN,LEVEL)の発生確率が異なる場合
に、同一の可変長符号化テーブルを用いて符号化を行う
と変換係数の符号化の際の冗長度が高くなる、という問
題があった。
However, in the above-mentioned conventional method, the quantized transform coefficients in a block are encoded by one variable-length encoding table. In order to reduce the variation in the value of the transform coefficient, when the transform coefficient prediction that encodes the difference data with the transform coefficient of the preceding and succeeding blocks is performed, the level of the transform coefficient is compared with the case where the transform coefficient prediction is not performed. When the probability of occurrence of (RUN, LEVEL) is different, for example, when the encoding is performed using the same variable-length encoding table, the redundancy at the time of encoding the transform coefficient increases. there were.

【0004】また、量子化を行った際の量子化ステップ
サイズによっても変換係数のレベルの発生頻度は異なる
ため、やはり同一の可変長符号化テーブルを用いて符号
化することは、変換係数の符号化の際の冗長度を高め
る、という問題があった。
Also, since the frequency of occurrence of the transform coefficient level varies depending on the quantization step size at the time of quantization, encoding using the same variable length encoding table also requires encoding of the transform coefficient. There is a problem that the redundancy at the time of the conversion is increased.

【0005】そこで、本発明は、上述したような問題を
解決するためになされたもので、変換係数予測を行った
か否か、あるいは、量子化ステップサイズ等の各種の符
号化の際の条件を適応的に切り替えた場合に、符号化効
率を高めることのできる動画像符号化装置および動画像
符号化方法を提供することを目的とする。
Accordingly, the present invention has been made to solve the above-described problem, and it is intended to determine whether or not transform coefficient prediction has been performed, or conditions for various encodings such as a quantization step size. It is an object of the present invention to provide a moving picture coding apparatus and a moving picture coding method capable of improving coding efficiency when switching is performed adaptively.

【0006】特に、本発明では、入力画像信号の符号化
単位であるブロック内をいくつかの領域に分け、各領域
内の変換係数を可変長符号化する際に用いる可変長符号
化テーブルを適応的に切り替えることにより、符号化効
率を向上させることのできる動画像符号化装置および動
画像符号化方法を提供することを目的とする。
In particular, in the present invention, a block, which is a coding unit of an input image signal, is divided into several regions, and a variable length coding table used when performing variable length coding of transform coefficients in each region is adapted. It is an object of the present invention to provide a moving picture coding apparatus and a moving picture coding method capable of improving coding efficiency by switching between them.

【0007】また、これらの動画像符号化装置および動
画像符号化方法によって生成された符号化ビットストリ
ームを正しく復号することのできる動画像復号装置およ
び動画像復号方法を提供することを目的とする。
It is another object of the present invention to provide a moving picture decoding apparatus and a moving picture decoding method capable of correctly decoding an encoded bit stream generated by the moving picture coding apparatus and the moving picture coding method. .

【0008】[0008]

【課題を解決するための手段】前記目的を達成するため
に、本発明では、入力画像信号をブロック単位で変換お
よび量子化して量子化変換係数を生成し、該量子化変換
係数を前記ブロック内の所定領域毎に可変長符号化テー
ブルにより可変長符号化して符号化ビットストリームを
生成する動画像符号化装置において、予めグループ分け
された複数の可変長符号化テーブル群と、前記複数の可
変長符号化テーブル群のうちから1つの可変長符号化テ
ーブルグループを選択する可変長符号化テーブルグルー
プ選択手段と、前記選択されたグループの可変長符号化
テーブルを使用して前記量子化変換係数を可変長符号化
し、前記選択されたグループの可変長符号化テーブルを
示す情報を含む符号化ビットストリームを生成する符号
化ビットストリーム生成手段と、を備えたことを特徴と
するものである。
In order to achieve the above object, according to the present invention, an input image signal is transformed and quantized in block units to generate a quantized transform coefficient, and the quantized transform coefficient is stored in the block. In a moving image encoding apparatus that performs variable length encoding by a variable length encoding table for each predetermined area to generate an encoded bit stream, a plurality of variable length encoding table groups that are grouped in advance, and the plurality of variable length A variable-length coding table group selecting means for selecting one variable-length coding table group from a group of coding tables; and a variable-length coding table using the variable-length coding table of the selected group. A coded bitstream for performing long coding to generate a coded bitstream including information indicating a variable length coding table of the selected group; A generation unit, is characterized in that it comprises a.

【0009】また、次の発明では、複数の可変長符号化
テーブル群は、量子化の際の符号化条件に基づいて予め
グループ分けされたものであり、可変長符号化テーブル
グループ選択手段は、量子化の際の符号化条件に基づい
て可変長符号化テーブルグループを選択することを特徴
とするものである。
In the following invention, the plurality of variable length coding table groups are grouped in advance based on coding conditions at the time of quantization, and the variable length coding table group selecting means includes: It is characterized in that a variable length coding table group is selected based on coding conditions at the time of quantization.

【0010】また、次の発明では、可変長符号化テーブ
ル群は、ブロック間で量子化変換係数の差分を算出する
変換係数予測の有無に基づいてグループ分けされた複数
の可変長符号化テーブルからなり、可変長符号化テーブ
ルグループ選択手段は、前記変換係数予測の有無に基づ
いて前記複数の可変長符号化テーブル群のうちから対応
する可変長符号化テーブルグループを選択し、符号化ビ
ットストリーム生成手段は、選択されたグループの可変
長符号化テーブルを示す情報として前記変換係数予測の
有無を示す情報を含む符号化ビットストリームを生成す
ることを特徴とするものである。
In the next invention, the variable length coding table group is obtained from a plurality of variable length coding tables grouped based on the presence or absence of a transform coefficient prediction for calculating a difference between quantized transform coefficients between blocks. The variable length coding table group selecting means selects a corresponding variable length coding table group from the plurality of variable length coding table groups based on the presence or absence of the transform coefficient prediction, and generates a coded bit stream. The means is characterized in that it generates an encoded bit stream including information indicating the presence or absence of the transform coefficient prediction as information indicating the variable length coding table of the selected group.

【0011】また、次の発明では、可変長符号化テーブ
ル群は、量子化ステップサイズに応じてグループ分けさ
れた複数の可変長符号化テーブルからなり、可変長符号
化テーブルグループ選択手段は、前記量子化ステップサ
イズに基づいて前記複数の可変長符号化テーブル群のう
ちから対応する可変長符号化テーブルグループを選択
し、符号化ビットストリーム生成手段は、選択されたグ
ループの可変長符号化テーブルを示す情報として前記量
子化ステップサイズの情報を含む符号化ビットストリー
ムを生成することを特徴とするものである。
Further, in the following invention, the variable length coding table group comprises a plurality of variable length coding tables grouped according to a quantization step size, and the variable length coding table group selecting means includes: A corresponding variable-length coding table group is selected from the plurality of variable-length coding table groups based on the quantization step size, and the coding bitstream generating unit generates a variable-length coding table of the selected group. An encoded bit stream including information on the quantization step size is generated as information to be indicated.

【0012】また、次の発明では、さらに、可変長符号
化テーブルグループ選択手段によって選択された可変長
符号化テーブルグループのうちから、前記量子化変換係
数の領域内での位置に基づいて可変長符号化テーブルを
切替える可変長符号化テーブル切替手段を有することを
特徴とするものである。
Further, in the following invention, the variable-length coding table group selected by the variable-length coding table group selecting means further includes a variable-length coding table based on the position of the quantized transform coefficient in the area. It is characterized by having variable length coding table switching means for switching the coding table.

【0013】また、次の発明では、さらに、前記量子化
変換係数を可変長符号化する際、各領域内の量子化変換
係数がすべて零である場合を無効領域、領域内に零では
ない係数がある場合を有効領域と判断する領域データ有
効/無効判定手段を有し、符号化ビットストリーム生成
手段は、前記領域データ有効/無効判定手段によって有
効領域と判定された場合には、選択した可変長符号化テ
ーブルにより領域内の量子化変換係数を符号化してその
際に使用した可変長符号化テーブルを示す情報を含む符
号化ビットストリームを生成する一方、無効領域である
と判定された場合には、その領域が無効であることを示
す情報を含む符号化ビットストリームを生成することを
特徴とする。
Further, in the following invention, when the quantized transform coefficients are subjected to variable-length coding, a case where all the quantized transform coefficients in each area are zero is regarded as an invalid area, and a coefficient other than zero in the area. A region data validity / invalidity judging means for judging a case where there is a valid area, and a coded bit stream generating means, when the area data validity / invalidity judging means judges that the area is an effective area, the selected variable While encoding the quantized transform coefficient in the area by the long encoding table and generating an encoded bit stream including information indicating the variable length encoding table used at that time, when it is determined that the area is invalid, Generates an encoded bit stream including information indicating that the area is invalid.

【0014】また、次の発明では、符号化ビットストリ
ーム生成手段は、量子化変換係数を可変長符号化する
際、対応する符号語が可変長符号化テーブルに無い場合
には、当該対応する符号語のない量子化変換係数を所定
の方法により可変長符号化テーブルに含まれる値になる
ように変換すると共に、その変換後の量子化変換係数を
前記可変長テーブルにより可変長符号化して、前記変換
方法を示す情報を含む符号化ビットストリームを生成す
ることを特徴とする。
In the next invention, the coded bit stream generating means, when performing variable length coding on the quantized transform coefficient, if the corresponding code word is not in the variable length coding table, the corresponding code While converting the quantized transform coefficients without words into a value included in the variable length coding table by a predetermined method, the quantized transform coefficients after the conversion are subjected to variable length coding by the variable length table, An encoded bit stream including information indicating a conversion method is generated.

【0015】また、次の発明では、符号化ビットストリ
ームを入力してその符号化ビットストリームに含まれて
いるブロック毎に可変長符号化された符号化データを可
変長復号して量子化変換係数を復元し、該量子化変換係
数を逆量子化、逆変換して画像信号を復号する動画像復
号装置において、グループ分けされた複数の可変長復号
テーブル群と、前記符号化ビットストリームから符号化
側で用いた可変長符号化テーブルグループを示す情報を
復号し、前記可変長復号テーブル群の中から該可変長符
号化テーブルグループ情報に基づいて可変長復号テーブ
ルグループを選択する可変長復号テーブルグループ選択
手段と、前記選択されたグループの可変長復号テーブル
を使用して前記符号化データを可変長復号して前記量子
化変換係数を復元する量子化変換係数復元手段と、を備
えたことを特徴とするものである。
In the next invention, a coded bit stream is input, and coded data subjected to variable length coding for each block included in the coded bit stream is subjected to variable length decoding to obtain a quantized transform coefficient. In the video decoding device for decoding the image signal by inversely quantizing and inversely transforming the quantized transform coefficient, a plurality of variable length decoding tables grouped into groups and encoding from the encoded bit stream are performed. Variable-length decoding table group that decodes information indicating the variable-length coding table group used on the side and selects a variable-length decoding table group from the variable-length decoding table group based on the variable-length coding table group information Using the selection unit and the variable length decoding table of the selected group to decode the encoded data in a variable length to restore the quantized transform coefficients That it is characterized in that it comprises a quantized transform coefficient restoring unit.

【0016】また、次の発明では、複数の可変長復号テ
ーブル群は、量子化の際の符号化条件に基づいて予めグ
ループ分けされたものであり、可変長復号テーブルグル
ープ選択手段は、符号化ビットストリームから符号化側
で用いた可変長符号化テーブルグループを示す情報とし
て、量子化の際の符号化条件を示す情報を復号し、この
量子化の際の符号化条件に基づいて可変長復号テーブル
グループを選択することを特徴とするものである。
Further, in the following invention, the plurality of variable length decoding table groups are grouped in advance based on encoding conditions at the time of quantization. As the information indicating the variable length coding table group used on the encoding side from the bit stream, the information indicating the coding condition at the time of quantization is decoded, and the variable length decoding is performed based on the coding condition at the time of quantization. It is characterized in that a table group is selected.

【0017】また、次の発明では、前記可変長復号テー
ブル群は、ブロック間で量子化変換係数の差分を算出す
る変換係数予測の有無に基づいてグループ分けされた複
数の可変長復号テーブルからなり、前記可変長復号テー
ブルグループ選択手段は、符号化ビットストリームから
符号化側で用いた可変長符号化テーブルグループを示す
情報として、量子化変換係数予測の有無を示す情報を復
号し、その量子化変換係数予測の有無を示す情報に基づ
いて、可変長復号テーブルグループを選択することを特
徴とするものである。
Further, in the following invention, the variable length decoding table group includes a plurality of variable length decoding tables grouped based on the presence or absence of a transform coefficient prediction for calculating a difference between quantized transform coefficients between blocks. The variable-length decoding table group selecting means decodes information indicating presence / absence of quantization transform coefficient prediction from the coded bit stream as information indicating the variable-length coding table group used on the encoding side, It is characterized in that a variable length decoding table group is selected based on information indicating whether or not there is a transform coefficient prediction.

【0018】また、次の発明では、前記可変長復号テー
ブル群は、量子化ステップサイズに基づいてグループ分
けされた複数の可変長復号テーブルからなり、前記可変
長復号テーブルグループ選択手段は、符号化ビットスト
リームから符号化側で用いた可変長符号化テーブルグル
ープを示す情報として、量子化ステップサイズを復号
し、復号した量子化ステップサイズに基づいて、可変長
復号テーブルグループを選択することを特徴とするもの
である。
Further, in the following invention, the variable length decoding table group comprises a plurality of variable length decoding tables grouped based on a quantization step size, and the variable length decoding table group selecting means includes As information indicating the variable length coding table group used on the encoding side from the bit stream, decoding the quantization step size, based on the decoded quantization step size, selecting a variable length decoding table group, Is what you do.

【0019】また、次の発明では、さらに、前記量子化
変換係数復元手段は、前記可変長復号テーブルグループ
選択手段で選択された可変長復号テーブルグループ内の
複数の可変長復号テーブルを切り替えて量子化変換係数
を復号する際に、前記量子化変換係数の領域内での位置
に基づいて可変長復号テーブルを切り替える可変長復号
テーブル選択手段を有することを特徴とするものであ
る。
Further, in the following invention, further, the quantization transform coefficient restoring means switches the plurality of variable length decoding tables in the variable length decoding table group selected by the variable length decoding table group selecting means to perform the quantization. And a variable length decoding table selecting means for switching the variable length decoding table based on the position of the quantized transform coefficient in the area when decoding the quantized transform coefficient.

【0020】また、次の発明では、量子化変換係数復元
手段は、領域内の量子化変換係数がすべて零である場合
には、領域が無効であることを示し、零ではない量子化
変換係数が一つ以上ある場合には、領域内の各量子化変
換係数を復号するために用いる可変長復号テーブルを示
す可変長符号化テーブル選択情報を復号し、復号した可
変長符号化テーブル選択情報に基づいて、領域が無効で
あるかを判断する判断手段と、前記判断手段によって領
域が無効であると判断された場合には、その領域内の量
子化変換係数をすべて零に設定する量子化変換係数零設
定手段と、を有することを特徴とするものである。
Further, in the following invention, when the quantized transform coefficients in the area are all zero, the quantized transform coefficient restoring means indicates that the area is invalid, and the quantized transform coefficient is not zero. If there is more than one, decode the variable length coding table selection information indicating the variable length decoding table used to decode each quantized transform coefficient in the area, Determining means for determining whether or not the area is invalid, and a quantizing transform for setting all quantized transform coefficients in the area to zero when the determining means determines that the area is invalid. Coefficient zero setting means.

【0021】また、次の発明では、さらに、符号化ビッ
トストリームから符号化側において量子化変換係数を所
定の方法により変換したことを示す情報を復号したか否
かを判断する判断手段と、前記判断手段によって前記変
換したことを情報を復号したと判断された場合は、前記
量子化変換係数の復元の際、前記可変長復号テーブルに
より復号し、その後、前記所定の方法の変換とは逆の処
理を行って前記変換前の量子化変換係数に復元する手段
と、を有することを特徴とするものである。
Further, in the following invention, a judging means for judging whether or not information indicating that the quantized transform coefficient has been converted by the predetermined method on the encoding side from the encoded bit stream has been decoded, When it is determined by the determining means that the information has been decoded, the decoding is performed using the variable-length decoding table when the quantized transform coefficient is restored, and then the reverse of the conversion of the predetermined method is performed. Means for performing processing to restore the quantized transform coefficients before the transform.

【0022】また、次の発明では、入力画像信号をブロ
ック単位で変換および量子化して量子化変換係数を作成
し、該量子化変換係数を前記ブロック内の所定領域毎に
定められた可変長符号化テーブルにより可変長符号化し
て符号化ビットストリームを生成する動画像符号化方法
において、グループ分けされた複数の可変長符号化テー
ブル群の中から、可変長符号化テーブルグループを選択
し、その選択したグループの可変長符号化テーブルを使
用して、前記量子化変換係数を可変長符号化し、選択さ
れた可変長符号化テーブルを示す情報を含む符号化ビッ
トストリームを生成することを特徴とするものである。
In the next invention, a quantized transform coefficient is created by transforming and quantizing an input image signal in units of blocks, and the quantized transform coefficient is converted into a variable length code defined for each predetermined area in the block. In the moving picture coding method of generating a coded bit stream by performing variable length coding using a coding table, a variable length coding table group is selected from a plurality of grouped variable length coding tables, and the selection is performed. Variable-length coding the quantized transform coefficients using a variable-length coding table of the selected group, and generating a coded bit stream including information indicating the selected variable-length coding table. It is.

【0023】また、次の発明では、グループ分けされた
複数の可変長符号化テーブル群の中から、可変長符号化
テーブルグループを選択する際、量子化の際の符号化条
件に基づいて選択すると共に、選択された可変長符号化
テーブルを示す情報として前記量子化の際の符号化条件
の情報を含む符号化ビットストリームを生成することを
特徴とするものである。
Further, in the next invention, when selecting a variable length coding table group from a plurality of grouped variable length coding tables, the variable length coding table group is selected based on a coding condition at the time of quantization. In addition, an encoded bit stream including information on encoding conditions at the time of the quantization is generated as information indicating the selected variable-length encoding table.

【0024】また、次の発明では、符号化ビットストリ
ームを入力してその符号化ビットストリームに含まれて
いるブロック毎に可変長符号化された符号化データを可
変長復号して量子化変換係数を復元し、該量子化変換係
数を逆量子化、逆変換して画像信号を復号する動画像復
号方法において、前記量子化変換係数の復元の際、前記
符号化ビットストリームから符号化側で用いた可変長符
号化テーブルグループを示す情報を復号し、グループ分
けされた複数の可変長復号テーブル群の中から前記可変
長符号化テーブルグループ情報に基づいて可変長復号テ
ーブルグループを選択し、その選択したグループの可変
長復号テーブルを使用して前記符号化データを可変長復
号して前記量子化変換係数を復元することを特徴とする
ものである。
In the next invention, a coded bit stream is input, and coded data subjected to variable length coding for each block included in the coded bit stream is subjected to variable length decoding to obtain a quantized transform coefficient. In the moving picture decoding method for decoding the image signal by inversely quantizing and inversely transforming the quantized transform coefficient, when the quantized transform coefficient is restored, it is used on the encoding side from the encoded bit stream. Decoding the information indicating the variable-length coding table group, and selecting a variable-length decoding table group from the plurality of grouped variable-length decoding tables based on the variable-length coding table group information. The coded data is variable-length decoded using the variable-length decoding tables of the groups, and the quantized transform coefficients are restored.

【0025】また、次の発明では、量子化変換係数の復
元の際、符号化側で用いた可変長符号化テーブルグルー
プを示す情報として、前記符号化ビットストリームから
量子化の際の符号化条件の情報を復号し、その量子化の
際の符号化条件の情報に基づいて可変長復号テーブルグ
ループを選択することを特徴とするものである。
Also, in the next invention, when the quantized transform coefficient is restored, information indicating the variable length coding table group used on the encoding side is used as the information indicating the encoding condition at the time of quantization from the encoded bit stream. Is decoded, and a variable length decoding table group is selected based on the information on the encoding conditions at the time of quantization.

【0026】[0026]

【発明の実施の形態】実施の形態1.本実施の形態1で
は、請求項1に記載の符号化装置による動画像符号化装
置について説明する。図1は、本実施の形態1における
動画像符号化装置の構成を示すブロック図である。同図
において、1は入力形状データ、2は形状符号化部、3
は形状符号化データ、4は可変長符号化部、5は多重化
部、6は局所復号形状データ、7は入力テクスチャデー
タ、8はイントラ/インター判定部、9はモード指示フ
ラグ、10は動き検出部、11は動きベクトル、12は
動き補償部、13は予測画像信号、14は予測誤差信
号、15は被符号化画像信号、16はテクスチャ符号化
部、17は量子化変換係数データ、18はテクスチャ局
所復号部、19は局所復号予測誤差信号、20は局所復
号画像信号、21は切替部、22は参照画像信号、23
はメモリ、24は形状データ符号語、25は付加情報符
号語、26はブロックデータ符号語、27は動きベクト
ル符号語、28は符号化ビットストリーム、29は減算
器、30は加算器、31はテクスチャ符号化の際の条件
の1つである変換係数予測判定情報、32はテクスチャ
符号化の際の条件のもう1つである量子化ステップサイ
ズ、である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiment 1 In the first embodiment, a moving picture coding apparatus using the coding apparatus according to claim 1 will be described. FIG. 1 is a block diagram showing a configuration of the video encoding device according to the first embodiment. In the figure, 1 is input shape data, 2 is a shape encoding unit, 3
Is a shape coded data, 4 is a variable length coding unit, 5 is a multiplexing unit, 6 is locally decoded shape data, 7 is input texture data, 8 is an intra / inter determination unit, 9 is a mode instruction flag, and 10 is motion. A detection unit, 11 is a motion vector, 12 is a motion compensation unit, 13 is a predicted image signal, 14 is a prediction error signal, 15 is a coded image signal, 16 is a texture coding unit, 17 is quantized transform coefficient data, 18 Is a texture local decoding unit, 19 is a local decoding prediction error signal, 20 is a locally decoded image signal, 21 is a switching unit, 22 is a reference image signal, 23
Is a memory, 24 is a shape data codeword, 25 is an additional information codeword, 26 is a block data codeword, 27 is a motion vector codeword, 28 is a coded bit stream, 29 is a subtractor, 30 is an adder, and 31 is an adder. Transform coefficient prediction determination information, which is one of the conditions for texture encoding, and 32 is a quantization step size, which is another condition for texture encoding.

【0027】図2は、図1に示す実施の形態1の可変長
符号化部4の内部構成を示す図である。同図において、
4aは形状データ可変長符号化部、4bは付加情報可変
長符号化部、4cは変換係数可変長符号化部、4dは動
きベクトル可変長符号化部、である。
FIG. 2 is a diagram showing the internal configuration of the variable length coding unit 4 of the first embodiment shown in FIG. In the figure,
4a is a shape data variable length coding unit, 4b is an additional information variable length coding unit, 4c is a transform coefficient variable length coding unit, and 4d is a motion vector variable length coding unit.

【0028】次に、図1および図2をもとに、装置全体
の動作について説明する。尚、本装置は、入力ディジタ
ル画像系列を、MPEG-4でいう画像オブジェクト、すなわ
ち動きや絵柄などの特徴を同じくする部分領域に分離し
て、画像オブジェクトを単位として符号化する装置であ
る。ただし、1フレームを1画像オブジェクトとして定
義すれば、画像フレームを単位として符号化することも
できる。画像オブジェクトとは、それを取り囲むような
外接四角形内のカラー濃淡レベルを表すテクスチャデー
タと、外接四角形内の有効画素を表す形状データと、か
ら構成される。テクスチャデータは、輝度信号成分およ
び色差信号成分のペアから構成され、入力画像信号に相
当するものである。形状データは、オブジェクトの内部
を1、オブジェクトの外部を0とする2値のマトリクス
データである。
Next, the operation of the entire apparatus will be described with reference to FIGS. This apparatus is an apparatus that divides an input digital image sequence into image objects in MPEG-4, that is, partial areas having the same characteristics such as motion and picture, and encodes the image objects in units. However, if one frame is defined as one image object, encoding can be performed in image frame units. The image object is composed of texture data representing a color density level in a circumscribed rectangle surrounding the image object, and shape data representing an effective pixel in the circumscribed rectangle. The texture data is composed of a pair of a luminance signal component and a color difference signal component, and corresponds to an input image signal. The shape data is binary matrix data in which the inside of the object is 1 and the outside of the object is 0.

【0029】動作を説明すると、まず、入力形状データ
1は、形状符号化部2に渡され、符号化、局所復号が行
われ、それぞれ形状符号化データ3と、局所復号形状デ
ータ6として出力される。形状符号化データ3は、可変
長符号化部4で可変長符号化され、その後、多重化部5
にて、符号化ビットストリーム28に多重化される。ま
た、局所復号形状データ6は、有効画素のみを対象にし
て、テクスチャデータの符号化、動き補償等を行うため
に用いられるように、テクスチャ符号化部16、テクス
チャ局所復号部18、動き補償部12、動き検出部10
に送られる。
The operation is as follows. First, the input shape data 1 is passed to the shape encoding unit 2 where it is encoded and locally decoded, and output as the shape encoded data 3 and the locally decoded shape data 6, respectively. You. The shape-encoded data 3 is subjected to variable-length encoding by a variable-length encoding unit 4,
Are multiplexed into the coded bit stream 28. The local decoding shape data 6 includes a texture encoding unit 16, a texture local decoding unit 18, a motion compensation unit, and the like, which are used for encoding texture data, performing motion compensation, and the like for only effective pixels. 12, motion detector 10
Sent to

【0030】一方、入力テクスチャデータ7は、マクロ
ブロックと呼ばれるブロック毎に切り出され、マクロブ
ロック単位で以下の動作を行う。つまり、まず、テクス
チャデータ7を画像オブジェクト内で符号化するか、画
像オブジェクト間で符号化するかをイントラ/インター
判定部8にて決定する。ここで、イントラ(画像オブジ
ェクト内)符号化に決定した場合、イントラ/インター
判定部8は、入力テクスチャデータ7をそのまま被符号
化画像信号15としてテクスチャ符号化部16へ渡す。
On the other hand, the input texture data 7 is cut out for each block called a macroblock, and the following operation is performed for each macroblock. That is, first, the intra / inter determination unit 8 determines whether to encode the texture data 7 in the image object or between the image objects. Here, when it is determined to perform intra (in an image object) encoding, the intra / inter determining unit 8 passes the input texture data 7 as it is to the texture encoding unit 16 as the encoded image signal 15.

【0031】その一方、インター(画像オブジェクト
間)符号化に決定した場合、イントラ/インター判定部
8は、動き補償予測を行うため、入力テクスチャデータ
7を動き検出部10に送る。動き検出部10では、メモ
リ23に記憶された参照画像信号22の所定の範囲内で
入力テクスチャデータ7の輝度信号成分に最も類似する
領域を探索し、入力テクスチャデータ7の画面内位置か
らその最も類似する領域の位置までの位置の変化を動き
ベクトル11として、動き補償部12および可変長符号
化部4に出力する。
On the other hand, when the coding is determined to be inter (between image objects), the intra / inter determining unit 8 sends the input texture data 7 to the motion detecting unit 10 for performing the motion compensation prediction. The motion detection unit 10 searches for a region most similar to the luminance signal component of the input texture data 7 within a predetermined range of the reference image signal 22 stored in the memory 23, The change in the position up to the position of the similar region is output to the motion compensator 12 and the variable-length encoder 4 as a motion vector 11.

【0032】可変長符号化部4に出力された動きベクト
ル11は、可変長符号化部4の動きベクトル可変長符号
化部4dにより冗長度を削減された後、多重化部5によ
り符号化ビットストリーム28に多重化される。
The motion vector 11 output to the variable length coding unit 4 is reduced in redundancy by the motion vector variable length coding unit 4 d of the variable length coding unit 4, and then encoded by the multiplexing unit 5. Multiplexed to stream 28.

【0033】また、動き補償部12では、動き検出部1
0から得られた動きベクトル11に基づいて、メモリ2
3に記憶された参照画像信号22から予測画像信号13
を抽出する。すると、減算器29は、この予測画像信号
13と、入力テクスチャデータ7との差分である予測誤
差信号14を、被符号化画像信号15としてテクスチャ
符号化部16へ渡す。
In the motion compensating section 12, the motion detecting section 1
0 based on the motion vector 11 obtained from
3 to the predicted image signal 13 from the reference image signal 22 stored in
Is extracted. Then, the subtracter 29 passes the prediction error signal 14, which is the difference between the predicted image signal 13 and the input texture data 7, to the texture encoding unit 16 as the encoded image signal 15.

【0034】なお、イントラ/インター判定部8にて選
択されたイントラ/インターのモードは、切替部21へ
出力されると共に、モード指示フラグ9として、可変長
符号化部4で可変長符号化され、続いて多重化部5に渡
されて、符号化ビットストリーム28に多重化される。
The intra / inter mode selected by the intra / inter determining section 8 is output to the switching section 21 and is subjected to variable length encoding by the variable length encoding section 4 as a mode instruction flag 9. Then, it is passed to the multiplexing unit 5 and multiplexed into the coded bit stream 28.

【0035】そして、テクスチャ符号化部16では、被
符号化画像信号15を直交変換および量子化して、量子
化変換係数データ17として出力する。量子化変換係数
データ17は、可変長符号化部4の変換係数可変長符号
化部4cによって、冗長度を削減されて可変長符号化さ
れた後、多重化部5によって、符号化ビットストリーム
28に多重化される。
The texture encoding section 16 orthogonally transforms and quantizes the coded image signal 15 and outputs it as quantized transform coefficient data 17. The quantized transform coefficient data 17 is subjected to variable-length coding with reduced redundancy by the transform coefficient variable-length coding unit 4c of the variable-length coding unit 4, and then to the coded bit stream 28 by the multiplexing unit 5. Are multiplexed.

【0036】また、テクスチャ符号化部16から出力さ
れた量子化変換係数データ17は、テクスチャ局所復号
部18にも送信され、テクスチャ局所復号部18によ
り、逆量子化および逆直交変換されて局所復号予測誤差
信号19となる。この局所復号予測誤差信号19は、モ
ード指示フラグ9がインターモードを示している場合、
切替部21から動き補償部12からの予測画像信号13
が出力されているので、加算器30にて、その予測画像
信号13と加算されて、局所復号画像信号20として出
力される。
The quantized transform coefficient data 17 output from the texture encoding unit 16 is also transmitted to the texture local decoding unit 18 where the texture local decoding unit 18 performs inverse quantization and inverse orthogonal transform to perform local decoding. It becomes the prediction error signal 19. This local decoding prediction error signal 19 is obtained when the mode instruction flag 9 indicates the inter mode.
From the switching unit 21 to the predicted image signal 13 from the motion compensation unit 12
Are output, and are added to the predicted image signal 13 by the adder 30 and output as the locally decoded image signal 20.

【0037】これに対し、モード指示フラグ9がイント
ラモードを示している場合には、切替部21にて、0信
号が選択されるので、加算部30にて、局所復号予測誤
差信号19と予測画像信号13との加算は行われず、そ
のまま局所復号画像信号20として出力される。なお、
加算部30から出力された局所復号画像信号20は、次
フレーム以降の動き補償予測の参照画像信号22として
用いられるため、メモリ23に書き込まれる。
On the other hand, when the mode instruction flag 9 indicates the intra mode, the switching unit 21 selects the 0 signal. The addition with the image signal 13 is not performed, and is output as the local decoded image signal 20 as it is. In addition,
The locally decoded image signal 20 output from the adder 30 is written to the memory 23 because it is used as a reference image signal 22 for motion compensation prediction for the next and subsequent frames.

【0038】次に、本実施の形態1の最も重要な要素で
あるテクスチャ符号化部16および変換係数可変長符号
化部4cの構成および動作について説明する。
Next, the configurations and operations of the texture encoding unit 16 and the transform coefficient variable length encoding unit 4c, which are the most important elements of the first embodiment, will be described.

【0039】図3は、図1に示す実施の形態1のテクス
チャ符号化部16の内部構成図である。同図において、
16aはブロックデータ抽出部、16bはブロックデー
タ、16cはDCT部、16dはDCT係数、16eは
量子化部、16fは量子化変換係数、16gは変換係数
予測部,である。
FIG. 3 is an internal configuration diagram of the texture encoding unit 16 of the first embodiment shown in FIG. In the figure,
16a is a block data extracting unit, 16b is block data, 16c is a DCT unit, 16d is a DCT coefficient, 16e is a quantizing unit, 16f is a quantized transform coefficient, and 16g is a transform coefficient predicting unit.

【0040】次にテクスチャ符号化部16内の動作を説
明する。テクスチャ符号化部16では、まず、被符号化
画像信号15より、直交変換の一つである離散コサイン
変換(以下、DCT)を行う単位となるブロック、例え
ば、通常8画素×8画素のブロックを、ブロックデータ
抽出部16aにて抽出する。
Next, the operation in the texture encoding section 16 will be described. In the texture encoding unit 16, first, from the encoded image signal 15, a block serving as a unit for performing a discrete cosine transform (hereinafter, DCT), which is one of orthogonal transforms, for example, a block of usually 8 pixels × 8 pixels is used. , And is extracted by the block data extraction unit 16a.

【0041】抽出されたブロックデータ16bは、DC
T部16cに入力され、DCTが行われる。DCT部1
6cから出力されたDCT係数16dは、量子化部16
eにて、量子化ステップサイズに基づき量子化され、量
子化変換係数16fとして変換係数予測部16gに出力
される。
The extracted block data 16b is a DC
The signal is input to the T unit 16c and DCT is performed. DCT unit 1
The DCT coefficient 16d output from the quantization unit 16c
At e, the quantization is performed based on the quantization step size, and the quantized transform coefficient is output to the transform coefficient prediction unit 16g as the quantized transform coefficient 16f.

【0042】変換係数予測部16gでは、変換係数予測
を行う。変換係数予測は、周囲のブロックの量子化変換
係数より、符号化対象ブロックの量子化変換係数の予測
値を求め、量子化変換係数と予測値との差分値を算出す
る。この差分値が変換係数可変長符号化部4c(図2参
照)にて符号化される。
The transform coefficient predicting section 16g performs transform coefficient prediction. In the transform coefficient prediction, a predicted value of a quantized transform coefficient of a coding target block is obtained from a quantized transform coefficient of a surrounding block, and a difference value between the quantized transform coefficient and the predicted value is calculated. This difference value is encoded by the transform coefficient variable length encoding unit 4c (see FIG. 2).

【0043】ここで、符号化対象のブロックの量子化変
換係数が、周囲のブロックの量子化変換係数と相関があ
る場合には、周囲のブロックの量子化変換係数との差分
をとることにより、差分量子化変換係数は、もとの量子
化変換係数と比べて値のばらつきが小さくなる。例え
ば、量子化変換係数の値が0から255の範囲に同じ出
現頻度で分布しているとする。このような量子化変換係
数に対するエントロピーは、8ビットになり、各レベル
の値に対応する符号語の符号長は、いずれのレベルに対
しても、8ビットになる。
Here, when the quantized transform coefficient of the block to be encoded has a correlation with the quantized transform coefficient of the surrounding block, the difference between the quantized transform coefficient of the surrounding block and the quantized transform coefficient of the surrounding block is obtained. The difference quantization transform coefficient has a smaller value variation than the original quantization transform coefficient. For example, assume that the values of the quantized transform coefficients are distributed in the range of 0 to 255 with the same appearance frequency. The entropy for such a quantized transform coefficient is 8 bits, and the code length of the code word corresponding to each level value is 8 bits for any level.

【0044】また、符号化対象のブロックの量子化変換
係数が、近隣のブロックの量子化変換係数と強い相関を
もち、特に、近隣のブロックの量子化変換係数の値と大
きく変わらないときには、近隣のブロックの量子化変換
係数との差分値である差分量子化変換係数の出現頻度は
零近辺に多くなる。このような出現頻度に偏りのある信
号のエントロピーは、もとの量子化変換係数のエントロ
ピーよりも小さくなるため、出現頻度に応じた符号長の
割り当てを行えば、差分量子化変換係数の平均符号長を
8ビットよりも小さくすることができる。このように、
変換係数予測を行い、差分量子化変換係数を符号化する
ことにより、変換係数可変長符号化部にて符号化される
ときに発生する符号量を少なくすることができる。
When the quantized transform coefficient of the block to be coded has a strong correlation with the quantized transform coefficient of a neighboring block, and especially when the quantized transform coefficient of The frequency of appearance of the difference quantization transform coefficient, which is the difference value between the block and the quantization transform coefficient, increases near zero. Since the entropy of such a signal having a biased appearance frequency is smaller than the entropy of the original quantized transform coefficient, if the code length is assigned according to the appearance frequency, the average code of the differential quantized transform coefficient is obtained. The length can be smaller than 8 bits. in this way,
By performing the transform coefficient prediction and encoding the differential quantized transform coefficient, the amount of code generated when encoded by the transform coefficient variable length encoding unit can be reduced.

【0045】次に、変換係数予測部16gの動作の一例
を説明する。図4は、変換係数予測部16gによる変換
係数予測の説明図である。以下に述べる動作は、ISO/IE
C JTC1/SC29/WG11 MPEG-4 Video VM8.0 に開示されて
いるイントラAC/DC予測に相当する。変換係数予測
は、特に値のばらつきが大きくなるイントラモードのD
C係数や、図4の斜線部に位置する低周波成分の量子化
変換係数(以下、変換係数と略する)に対して行う。
Next, an example of the operation of the transform coefficient prediction unit 16g will be described. FIG. 4 is an explanatory diagram of transform coefficient prediction by the transform coefficient predictor 16g. The operations described below are based on ISO / IE
C JTC1 / SC29 / WG11 This corresponds to intra AC / DC prediction disclosed in MPEG-4 Video VM8.0. Transform coefficient prediction is particularly effective in intra-mode D where the dispersion of values is large.
This is performed on the C coefficient and the quantized transform coefficient (hereinafter, abbreviated as a transform coefficient) of the low-frequency component located in the hatched portion in FIG.

【0046】変換係数の予測値は、図4に示すように符
号化対象のブロックをXとしたとき、ブロックXの周囲
のブロック、例えばブロックBまたはブロックCの変換
係数を用いる。求められた変換係数予測値と、量子化変
換係数との差分をとり、差分量子化変換係数を出力す
る。ただし、周囲のブロックとの相関がなく、差分量子
化変換係数がもとの量子化変換係数より大きくなる場合
には、変換係数予測を行わず、もとの量子化変換係数を
出力する。
Assuming that the block to be coded is X as shown in FIG. 4, the transform coefficients of the blocks around block X, for example, block B or block C, are used as the predicted values of the transform coefficients. A difference between the calculated transform coefficient prediction value and the quantized transform coefficient is obtained, and a difference quantized transform coefficient is output. However, when there is no correlation with the surrounding blocks and the difference quantized transform coefficient is larger than the original quantized transform coefficient, the original quantized transform coefficient is output without performing the transform coefficient prediction.

【0047】変換係数予測部16gは、このようにして
求めた差分量子化変換係数、または量子化変換係数を量
子化変換係数データ17として出力する。量子化変換係
数データ17は、変換係数可変長符号化部4cにて可変
長符号化される。また、変換係数予測部16gは、変換
係数予測が行われたか否かを示す情報を変換係数予測判
定情報31として出力する。
The transform coefficient predictor 16g outputs the difference quantized transform coefficient or the quantized transform coefficient obtained as described above as the quantized transform coefficient data 17. The quantized transform coefficient data 17 is subjected to variable length coding in the transform coefficient variable length coding unit 4c. The conversion coefficient prediction unit 16g outputs information indicating whether or not the conversion coefficient prediction has been performed as the conversion coefficient prediction determination information 31.

【0048】次に、変換係数可変長符号化部4cの詳細
な構成および動作について説明する。図5は、図2に示
す変換係数可変長符号化部4cの内部構成図、図6はそ
の動作の様子を示すフローチャートである。図5におい
て、4c1はVLCテーブル記憶部、4c2は切替部、
4c3はDC係数データ符号化部、4c4はAC係数デ
ータ、4c5はDC係数符号語、4c6はVLCテーブ
ルグループ選択部、4c7はVLCテーブルグループ情
報、4c8はVLCテーブル選択部、4c9はVLCテ
ーブル選択情報、4c10は領域データ符号化部、4c
11はAC係数符号語である。
Next, the detailed configuration and operation of the transform coefficient variable length coding unit 4c will be described. FIG. 5 is a diagram showing the internal configuration of the transform coefficient variable length coding unit 4c shown in FIG. 2, and FIG. 6 is a flowchart showing the operation thereof. In FIG. 5, 4c1 is a VLC table storage unit, 4c2 is a switching unit,
4c3 is a DC coefficient data encoding section, 4c4 is AC coefficient data, 4c5 is a DC coefficient codeword, 4c6 is a VLC table group selection section, 4c7 is a VLC table group information, 4c8 is a VLC table selection section, and 4c9 is a VLC table selection information. , 4c10 is an area data encoding unit, 4c
11 is an AC coefficient codeword.

【0049】このように構成された本実施の形態1の変
換係数可変長符号化部4cは、ブロック内を複数の領域
に分けて、領域毎に、その領域内の変換係数の統計的特
性に基づいて、複数の可変長符号化テーブルを設定す
る。領域内の変換係数を符号化する際には、これらの設
定された複数の可変長符号化テーブルの中から用いる可
変長符号化テーブルを適応的に切り替える。なお、領域
毎に複数の可変長符号化テーブルを設定する際には、領
域の位置とその領域内の変換係数に対して、変換係数予
測が行われたか否かに基づいて設定する。
The transform coefficient variable length coding unit 4c according to the first embodiment configured as described above divides a block into a plurality of regions, and divides each block into statistical characteristics of the transform coefficients in the region. Based on this, a plurality of variable length coding tables are set. When coding the transform coefficients in the area, the variable length coding table to be used is adaptively switched from among the set plurality of variable length coding tables. When setting a plurality of variable-length coding tables for each region, the variable-length coding table is set based on whether or not transform coefficient prediction has been performed on the position of the region and the transform coefficient in the region.

【0050】以下、図5および図6をもとに動作の詳細
な説明を行う。 (1)DC係数データ符号化 まず、切替部4c2にて、モード指示フラグ9を判定し
(ステップS1)、イントラモードを示す場合には、量子
化変換係数データ17をDC係数データ符号化部4c3
に渡し、DC係数データの符号化を行い(ステップS
2)、DC係数符号語4c5を出力する。一方、インタ
ーモードの場合には、DC係数は存在しないため、DC
係数データ符号化部4c3への切替は行わない。
Hereinafter, the operation will be described in detail with reference to FIGS. (1) DC coefficient data encoding First, the mode instruction flag 9 is determined by the switching unit 4c2.
(Step S1) If the intra mode is indicated, the quantized transform coefficient data 17 is converted to the DC coefficient data encoding unit 4c3.
To encode the DC coefficient data (step S
2) Output the DC coefficient codeword 4c5. On the other hand, in the case of the inter mode, since there is no DC coefficient,
Switching to the coefficient data encoding unit 4c3 is not performed.

【0051】(2)AC係数データ符号化 つぎに、量子化変換係数データ17のうちのAC係数デ
ータ4c4の符号化について説明する。AC係数データ
4c4の符号化は、ブロック内を複数の領域に分けて、
領域毎に行う。ブロック毎にDCTを行った場合、ブロ
ック内の位置によって、変換係数の値の発生確率が異な
るため、画像データの統計的特性に基づいて、ブロック
内を複数の領域に分割する。
(2) Encoding of AC coefficient data Next, the encoding of the AC coefficient data 4c4 of the quantized transform coefficient data 17 will be described. The encoding of the AC coefficient data 4c4 is performed by dividing the block into a plurality of regions,
This is performed for each area. When DCT is performed for each block, the occurrence probability of the value of the transform coefficient differs depending on the position in the block. Therefore, the inside of the block is divided into a plurality of regions based on the statistical characteristics of the image data.

【0052】例えば、図7に示すように、ブロック内の
AC係数領域を4つの領域1〜4に分割する。領域1
は、スキャン方向と平行な垂直方向の低周波成分を含む
領域であり、領域2は、スキャン方向と垂直な水平方向
の低周波成分を含む領域である。このため、領域1およ
び領域2は高い値のAC係数が発生しやすい。これに対
し、領域3または領域4は、高周波成分を含む領域で、
零や小さい値のAC係数が発生しやすい。
For example, as shown in FIG. 7, the AC coefficient area in the block is divided into four areas 1-4. Area 1
Is a region including a low-frequency component in a vertical direction parallel to the scanning direction, and a region 2 is a region including a low-frequency component in a horizontal direction perpendicular to the scanning direction. For this reason, a high value AC coefficient is likely to occur in the region 1 and the region 2. On the other hand, the region 3 or the region 4 is a region containing a high-frequency component,
An AC coefficient of zero or a small value is likely to occur.

【0053】領域1〜4内のAC係数データの符号化
は、各領域1〜4内のAC係数データを低周波成分から
高周波成分へ決められた順番でスキャンし、得られた複
数の(RUN,LEVEL)データを可変長符号化(以下、VLC
(Variable Length Coding)と略する)する。
The encoding of the AC coefficient data in the areas 1 to 4 is performed by scanning the AC coefficient data in each of the areas 1 to 4 in a predetermined order from the low frequency component to the high frequency component, and obtaining a plurality of (RUN) data. , LEVEL) data with variable length coding (hereinafter, VLC
(Variable Length Coding)).

【0054】そこで、まず領域1〜4毎に決められた順
番で領域1〜4内をスキャンして、(RUN,LEVEL)データ
を求める(ステップS3)。ここで、RUNはスキャンした
ときに、連続する零の数であり、LEVELはそれに続く零
でない係数の絶対値である。
Therefore, the areas 1 to 4 are scanned in the order determined for each of the areas 1 to 4, and (RUN, LEVEL) data is obtained (step S3). Here, RUN is the number of consecutive zeros when scanning, and LEVEL is the absolute value of the following non-zero coefficient.

【0055】例えば、領域2を、図7に示す矢印Aの方
向にスキャンした場合、スキャンされた一番最初の係数
は−8であるので、最初の(RUN,LEVEL)は、(0,−8)
になる。次に、0が1つ続いた後で、−1が続くので、
次の(RUN,LEVEL)データは、(1,−1)になる。以上の
処理を領域内で零でない係数が最後になるまで繰り返
す。
For example, when the area 2 is scanned in the direction of arrow A shown in FIG. 7, the first coefficient scanned is -8, and the first (RUN, LEVEL) is (0,-). 8)
become. Next, after one 0 continues, -1 follows.
The next (RUN, LEVEL) data is (1, -1). The above processing is repeated until a non-zero coefficient in the region reaches the end.

【0056】スキャンして得られた(RUN,LEVEL)データ
は、領域毎にその領域内の(RUN,LEVEL)データの発生確
率に基づいて設定されたVLCテーブルにより、可変長
符号化する。VLCテーブルは、シンボルの発生確率に
応じて、発生確率の高いシンボルには、短い符号長を、
発生確率の低いシンボルには、長い符号長を割り当て、
シンボルとそれに対応する符号語を対にしたテーブルで
ある。AC係数データの符号化の際に用いるVLCテー
ブルのシンボルは、(RUN,LEVEL)データに相当する。(R
UN,LEVEL)の発生確率は領域毎に異なるため、領域毎に
異なるVLCテーブルを設定することにより、AC係数
データの符号量を削減することができる。
The (RUN, LEVEL) data obtained by scanning is subjected to variable length coding by a VLC table set based on the occurrence probability of (RUN, LEVEL) data in each area. The VLC table indicates that a symbol having a high occurrence probability has a short code length according to the occurrence probability of the symbol.
Assign a long code length to symbols with a low probability of occurrence,
It is a table in which symbols and their corresponding codewords are paired. The symbol of the VLC table used when encoding the AC coefficient data corresponds to (RUN, LEVEL) data. (R
Since the probability of occurrence of (UN, LEVEL) differs for each region, by setting a different VLC table for each region, the code amount of AC coefficient data can be reduced.

【0057】また、AC係数の値は、DCT、量子化が
行われたときの各種の符号化条件によっても異なる。例
えば、周囲のマクロブロックのAC係数との差分をとる
変換係数予測が行われた場合には、AC係数の値は、変
換係数予測を行わなかった場合より、小さい値になる。
また、量子化の際の量子化ステップサイズの大きさによ
っても異なる。従って、これらの条件も考慮して、VL
Cテーブルを設定することにより、さらにAC係数デー
タの符号量を削減することができる。
The value of the AC coefficient differs depending on various coding conditions when DCT and quantization are performed. For example, when transform coefficient prediction that takes the difference from the AC coefficient of the surrounding macroblock is performed, the value of the AC coefficient is smaller than when the transform coefficient prediction is not performed.
Further, it differs depending on the size of the quantization step size at the time of quantization. Therefore, considering these conditions, VL
By setting the C table, the code amount of the AC coefficient data can be further reduced.

【0058】以上の観点から、本実施の形態1では、領
域1〜4毎にその領域1〜4内の(RUN,LEVEL)データの
統計的特性に応じて、VLCテーブルグループを選択
し、選択されたVLCテーブルグループの中で、各(RU
N,LEVEL)データを符号化する際に用いるVLCテーブ
ルを切り替える。
In view of the above, in the first embodiment, the VLC table group is selected for each of the areas 1 to 4 according to the statistical characteristics of the (RUN, LEVEL) data in the areas 1 to 4 and selected. (RU) in the specified VLC table group
(N, LEVEL) data is switched.

【0059】以下に、各領域1〜4毎にVLCテーブル
を選択する方法について述べる。 (2.1)VLCテーブルグループ選択 (RUN,LEVEL)の出現確率は、領域1〜4毎、あるいは領
域1〜4内のスキャンされた位置によって異なるため、
領域1〜4毎に異なる複数のVLCテーブルを設定す
る。また、量子化変換係数データを求めた際の符号化条
件によっても、出現確率は異なる。このため、本実施の
形態1では、テクスチャ符号化の際の条件として、テク
スチャ符号化部16の変換係数予測部16gから得られ
る変換係数予測判定情報31(図3参照)に基づいて、
VLCテーブルグループを選択する。
A method of selecting a VLC table for each of the areas 1 to 4 will be described below. (2.1) VLC table group selection Since the appearance probability of (RUN, LEVEL) differs depending on the region 1 to 4 or the scanned position in the region 1 to 4,
A plurality of different VLC tables are set for each of the areas 1 to 4. Also, the appearance probability differs depending on the encoding conditions when the quantized transform coefficient data is obtained. For this reason, in the first embodiment, the conditions for texture encoding are based on transform coefficient prediction determination information 31 (see FIG. 3) obtained from transform coefficient predictor 16g of texture encoder 16.
Select a VLC table group.

【0060】まず、ブロック内の各領域を符号化するの
に選択可能なVLCテーブルの組合わせであるVLCテ
ーブルグループをVLCテーブルグループ選択部4c6
にて選択する(ステップS4)。例えば、図7のように分
割した場合、領域1から領域4のそれぞれに対して、V
LCテーブルグループを選択する。このとき、低周波成
分から高周波成分へスキャンするときに、低周波成分ほ
ど大きいLEVELのデータの出現確率が高く、高周波成分
になるほど小さいLEVELあるいは零が多くなるという特
性に基づき選択する。ここでは、領域1〜4毎に、変換
係数予測判定情報31により、VLCテーブルグループ
を選択する方法を図8を参照して、説明する。
First, a VLC table group, which is a combination of VLC tables that can be selected to encode each area in a block, is assigned to a VLC table group selection unit 4c6.
Is selected (Step S4). For example, in the case of division as shown in FIG.
Select an LC table group. At this time, when scanning from the low frequency component to the high frequency component, the selection is made based on the characteristic that the lower the frequency component, the higher the appearance probability of the data of the larger LEVEL, and the higher the frequency component, the more the LEVEL or zero increases. Here, a method of selecting a VLC table group based on the transform coefficient prediction determination information 31 for each of the regions 1 to 4 will be described with reference to FIG.

【0061】図8は、VLCテーブル記憶部4C1に記
憶される1組の(RUN,LEVEL)とその出現確率に応じた符
号長を割り当てた符号語を対にしたVLCテーブルグル
ープを示している。(RUN,LEVEL)の出現確率は、変換係
数予測が行われたか、否か、或いは領域1〜4内におけ
る変換係数がスキャンされた位置によって異なるため、
図8に示すように、変換係数予測が行われたか否か、お
よび領域1〜4毎に、それぞれの場合に対応したVLC
テーブルを複数持つVLCテーブルグループが用意され
ている。
FIG. 8 shows a VLC table group in which a pair of (RUN, LEVEL) stored in the VLC table storage unit 4C1 and a code word to which a code length according to the occurrence probability is assigned. Since the appearance probability of (RUN, LEVEL) differs depending on whether or not the transform coefficient is predicted, or the position where the transform coefficient is scanned in the areas 1 to 4,
As shown in FIG. 8, whether or not the transform coefficient prediction has been performed, and the VLC corresponding to each case for each of the regions 1 to 4
A VLC table group having a plurality of tables is prepared.

【0062】例えば、図8に示すように、領域1と領域
2に対しては、変換係数予測が行われなかった場合、V
LCテーブルグループ選択部4c6は、変換係数予測判
定情報31、および(RUN,LEVEL)の出現確率に基づき、
小さいLEVELのシンボルを含むVLCテーブル1A、高
いLEVELのシンボルと、短いRUNのシンボルを含むVLC
テーブル2A,3A等を有するテーブルグループT1を
選択して、選択したテーブルグループT1を示すVLC
テーブルグループ情報4c7をVLCテーブル選択部4
c8へ出力するようにする。
For example, as shown in FIG. 8, if the transform coefficient prediction is not performed for region 1 and region 2, V
The LC table group selection unit 4c6 calculates the conversion coefficient prediction determination information 31 and the appearance probability of (RUN, LEVEL) based on
VLC table 1A containing low LEVEL symbols, VLC containing high LEVEL symbols and short RUN symbols
A table group T1 having tables 2A, 3A, etc. is selected and a VLC indicating the selected table group T1
The table group information 4c7 is stored in the VLC table selecting section 4.
Output to c8.

【0063】これに対し、変換係数予測が行われた場合
には、係数のレベルのばらつきが小さくなる効果が得ら
れるため、変換係数予測が行われなかった場合と比べ
て、高いLEVELを含むVLCテーブルの必要度は小さ
い。従って、VLCテーブルグループ選択部4c6は、
変換係数予測判定情報31、および変換係数予測が行わ
れた場合の(RUN,LEVEL)の出現確率に基づき、小さいLE
VELのシンボルを含むVLCテーブル1Bと、中間のLEV
ELで、短いRUNのシンボルを含むVLCテーブル2B等
を有するテーブルグループT2を選択して、選択したテ
ーブルグループT2を示すVLCテーブルグループ情報
4c7をVLCテーブル選択部4c8へ出力するように
する。
On the other hand, when the prediction of the conversion coefficient is performed, the effect of reducing the variation of the coefficient level is obtained, so that the VLC including the higher LEVEL is compared with the case where the prediction of the conversion coefficient is not performed. The need for a table is small. Therefore, the VLC table group selection unit 4c6
Based on the conversion coefficient prediction determination information 31 and the appearance probability of (RUN, LEVEL) when the conversion coefficient prediction is performed, a small LE
VLC table 1B containing VEL symbol and intermediate LEV
The EL selects a table group T2 having a VLC table 2B or the like including a short RUN symbol, and outputs VLC table group information 4c7 indicating the selected table group T2 to the VLC table selection unit 4c8.

【0064】また、領域3と領域4に対しては、高いLE
VELのシンボルの出現確率は小さいので、その代わり長
いRUNのシンボルを含むVLCテーブル4,5等を有す
るテーブルグループT3を選択して、選択したテーブル
グループT3を示すVLCテーブルグループ情報4c7
をVLCテーブル選択部4c8へ出力するようにする。
For regions 3 and 4, a high LE
Since the appearance probability of the VEL symbol is small, a table group T3 having VLC tables 4, 5 and the like including long RUN symbols is selected instead, and VLC table group information 4c7 indicating the selected table group T3.
To the VLC table selection unit 4c8.

【0065】なお、VLCテーブルグループは、この実
施の形態1に対応する復号側では、この実施の形態1の
符号化側と同様に、ブロック内の領域1〜4毎に、変換
係数予測判定情報31に応じて選択されるため、付加情
報としてVLCテーブルグループ情報4c7をビットス
トリーム28に多重化する必要がない。つまり、図1や
図2等に示すように、変換係数予測判定情報31は、変
換係数予測を行うかどうかを判定するために、復号側へ
送信されるビットストリーム28に付加情報符号語25
の一つとして多重化されているので、これを利用すれば
よい。従って、VLCテーブルグループ情報4c7を復
号側へビットストリーム28に多重化する必要がないの
で、新たに符号量の増加させることなく、各領域毎に用
いられるVLCテーブルグループを選択することができ
ることになる。
It should be noted that the VLC table group, on the decoding side corresponding to the first embodiment, converts the transform coefficient prediction determination information for each of the regions 1 to 4 in the block, similarly to the encoding side of the first embodiment. Since the VLC table group information 4c7 is selected as the additional information, it is not necessary to multiplex the VLC table group information 4c7 into the bit stream 28. That is, as shown in FIG. 1 and FIG. 2, the transform coefficient prediction determination information 31 includes an additional information codeword 25 in the bit stream 28 transmitted to the decoding side in order to determine whether to perform the transform coefficient prediction.
Since it is multiplexed as one of them, it is sufficient to use this. Therefore, since it is not necessary to multiplex the VLC table group information 4c7 on the bit stream 28 to the decoding side, it is possible to select a VLC table group used for each area without newly increasing the code amount. .

【0066】(2.2)領域データ符号化 次に、各領域1〜4内のAC係数データ4c4の可変長
符号化について説明する。AC係数データ4c4は、各
領域1〜4内を決められた順番でスキャンして得られた
複数の(RUN,LEVEL)データの組合せで表されており、各
領域の(RUN,LEVEL)データであるAC係数データ4c4
は、VLCテーブル選択部4c8および領域データ符号
化部4c10に出力されている。
(2.2) Region Data Coding Next, variable length coding of the AC coefficient data 4c4 in each of the regions 1 to 4 will be described. The AC coefficient data 4c4 is represented by a combination of a plurality of (RUN, LEVEL) data obtained by scanning each of the areas 1 to 4 in a predetermined order. Certain AC coefficient data 4c4
Are output to the VLC table selection unit 4c8 and the area data encoding unit 4c10.

【0067】VLCテーブル選択部4c8では、VLC
テーブルグループ選択部4c6からのVLCテーブルグ
ループ情報4c7に基づいて、入力された(RUN,LEVEL)
データであるAC係数データ4c4を可変長符号化する
のに用いるVLCテーブルを、VLCテーブルグループ
選択部4c6で選択されたVLCテーブルグループの中
から適応的に選択する(ステップS5)。選択されたVL
Cテーブルを示すVLCテーブル選択情報4c9は、領
域データ符号化部4c10に出力される。なお、VLC
テーブル選択の基準は、例えば、(RUN,LEVEL)データで
あるAC係数データ4c4のLEVELの大きさによって決
定するようにする。
In the VLC table selecting section 4c8, VLC
Input (RUN, LEVEL) based on VLC table group information 4c7 from table group selection section 4c6.
A VLC table used for variable-length encoding of the AC coefficient data 4c4, which is data, is adaptively selected from the VLC table groups selected by the VLC table group selection unit 4c6 (step S5). Selected VL
VLC table selection information 4c9 indicating the C table is output to the area data encoding unit 4c10. In addition, VLC
The criterion for table selection is determined, for example, by the level of LEVEL of the AC coefficient data 4c4, which is (RUN, LEVEL) data.

【0068】次に領域データ符号化部4c10の動作を
述べる。領域データ符号化部4c10は、VLCテーブ
ル選択部4c8から出力されたVLCテーブル選択情報
4c9に基づいて、VLCテーブル記憶部4c1に記憶
されたVLCテーブルを選択して、(RUN,LEVEL)データ
を可変長符号化する(ステップS6)。
Next, the operation of the area data encoding unit 4c10 will be described. The region data encoding unit 4c10 selects a VLC table stored in the VLC table storage unit 4c1 based on the VLC table selection information 4c9 output from the VLC table selection unit 4c8, and changes (RUN, LEVEL) data. Long encoding is performed (step S6).

【0069】可変長符号化は、例えば、まず、選択した
VLCテーブルの中から、(RUN,LEVEL)に対応する符号
語を探す。対応する符号語が見つかった場合には、それ
をAC係数符号語4c11として出力する。対応する符
号語が見つからなかった場合には、エスケープコードと
呼ばれる決められた固定長の符号語を出力する。エスケ
ープコードが出力された場合には、RUN,LEVELをそれぞ
れ固定長符号化し、エスケープコードの後にRUN,LEVEL
それぞれの固定長符号語を続けたものをAC係数符号語
4c11として出力する。
In the variable length coding, for example, first, a code word corresponding to (RUN, LEVEL) is searched from the selected VLC table. If a corresponding codeword is found, it is output as an AC coefficient codeword 4c11. If a corresponding codeword is not found, a fixed-length codeword called an escape code is output. When an escape code is output, RUN and LEVEL are each fixed-length encoded, and RUN and LEVEL are added after the escape code.
A sequence of each fixed-length codeword is output as an AC coefficient codeword 4c11.

【0070】このようにして、領域内のすべての(RUN,
LEVEL)データを符号化し終えるまでステップS5〜ステ
ップS6の処理を繰り返す(ステップS7“No”)。
In this way, all (RUN,
LEVEL) The processing of steps S5 to S6 is repeated until the encoding of the data is completed (“No” in step S7).

【0071】さらに、ある領域内のすべての(RUN,LEVE
L)データを可変長符号化した場合には(ステップS7
“Yes”)、ブロック内の他の領域1〜4すべての(R
UN,LEVEL)データを可変長符号化したかを判断して(ス
テップS8)、ブロック内の他の領域1〜4すべての(R
UN,LEVEL)データを可変長符号化していないと判断した
場合には(ステップS8“No”)、ステップS3〜ス
テップS7までの処理を繰り返すようにする(ステップ
S8)。
Further, all (RUN, LEVE) in a certain area
L) When the data is variable-length coded (step S7)
"Yes"), (R
It is determined whether the (UN, LEVEL) data is variable-length coded (step S8), and the (R) of all the other areas 1 to 4 in the block is determined.
If it is determined that the (UN, LEVEL) data has not been subjected to the variable length coding ("No" in step S8), the processing from step S3 to step S7 is repeated (step S8).

【0072】これに対し、ブロック内の各領域1〜4す
べての(RUN,LEVEL)データを可変長符号化したと判断し
た場合には(ステップS8“Yes”)、変換係数可変
長符号化部4cは、可変長符号化の処理を終了して、D
C係数符号語4c5、AC係数符号語4c11を、ブロ
ックデータ符号語26として多重化部5に渡し、多重化
部5が符号化ビットストリーム28に多重化する。
On the other hand, when it is determined that all the (RUN, LEVEL) data in each of the areas 1 to 4 in the block have been subjected to variable length coding (“Yes” in step S8), the transform coefficient variable length coding unit 4c completes the variable length coding process and returns to D
The C coefficient codeword 4c5 and the AC coefficient codeword 4c11 are passed to the multiplexing unit 5 as the block data codeword 26, and the multiplexing unit 5 multiplexes the coded bitstream 28.

【0073】ここで、この実施の形態1では、選択した
VLCテーブルグループの中からのVLCテーブルの選
択を、各(RUN,LEVEL)データのLEVELの値を用いて行な
うようにしているので、この場合、復号側では、LEVEL
を復号する前にVLCテーブルを選択する必要がある。
このため、VLCテーブル選択情報4c9を付加情報可
変長符号化部4bへ送り符号化させて、VLCテーブル
選択符号語とし、付加情報符号語25の1つとしてビッ
トストリーム28に多重化するようにする。
Here, in the first embodiment, the selection of the VLC table from the selected VLC table group is performed using the LEVEL value of each (RUN, LEVEL) data. If the decoding side, LEVEL
Need to select a VLC table before decoding.
For this reason, the VLC table selection information 4c9 is sent to the additional information variable length coding unit 4b to be coded to be a VLC table selection codeword and multiplexed as one of the additional information codewords 25 into the bit stream 28. .

【0074】ここで、VLCテーブル選択情報4c9の
符号化の方法としては、現在の(RUN,LEVEL)データと、
次の(RUN,LEVEL)データとを符号化するのに用いるVL
Cテーブル選択情報4c9(NEXT)を組にして、可変長符
号化する方法がある。このとき用いる可変長符号化テー
ブルは、1組の(NEXT,RUN,LEVEL)に対して、その出現
確率に応じて符号長を定められた符号語を格納したテー
ブルになる。
Here, as a method of encoding the VLC table selection information 4c9, the current (RUN, LEVEL) data,
VL used to encode the next (RUN, LEVEL) data
There is a method of performing variable-length encoding using the C table selection information 4c9 (NEXT) as a set. The variable-length coding table used at this time is a table in which a set of (NEXT, RUN, LEVEL) stores a code word whose code length is determined according to the appearance probability.

【0075】この方法では、領域内で最初の(RUN,LEVE
L)を符号化するのに用いるVLCテーブル選択情報4c
9は、VLCテーブル初期切替情報として別に符号化し
ておく必要がある。2番目以降の(RUN,LEVEL)の符号化
の際に用いるVLCテーブル選択情報4c9は、1つ前
の(RUN,LEVEL)データと組にして符号化されることにな
る。また、領域内で零でないLEVELが最後のときは、NEX
Tは、それと組になっている(RUN,LEVEL)が領域内で最
後の(RUN,LEVEL)であることを示す情報となる。
In this method, the first (RUN, LEVE)
VLC table selection information 4c used to encode L)
9 needs to be separately encoded as VLC table initial switching information. The VLC table selection information 4c9 used at the time of encoding the second and subsequent (RUN, LEVEL) is encoded as a set with the immediately preceding (RUN, LEVEL) data. When the non-zero LEVEL is the last in the area, NEX
T is information indicating that the (RUN, LEVEL) paired therewith is the last (RUN, LEVEL) in the area.

【0076】このように、複数のVLCテーブルを切り
替えて、各領域を符号化する際には、上述したように、
VLCテーブル選択情報4c9を、付加情報として符号
化する必要がある。例えば、図8に示すように変換係数
予測を行った場合と、行わなかった場合とで用いるVL
Cテーブルグループを切り替える場合には、変換係数予
測を行った場合に切り替えるVLCテーブルの数は、テ
ーブルグループT2のテーブル1B、2Bの2つである
から、VLCテーブル選択情報4c9を固定長で符号化
した場合に必要な符号長は、1ビットになる。
As described above, when switching a plurality of VLC tables and encoding each area, as described above,
It is necessary to encode the VLC table selection information 4c9 as additional information. For example, as shown in FIG. 8, the VL used when the transform coefficient prediction is performed and the VL used when the
When the C table group is switched, the number of VLC tables to be switched when the conversion coefficient prediction is performed is two of the tables 1B and 2B of the table group T2. Therefore, the VLC table selection information 4c9 is encoded with a fixed length. In this case, the required code length is 1 bit.

【0077】しかしながら、変換係数予測を行った場合
と、行わなかった場合でVLCテーブルグループを切り
替えない場合には、5種類のVLCテーブルの中から切
り替える必要があり、VLCテーブル選択情報4c9を
固定長で符号化した場合に必要な符号長は、3ビットに
なる。VLCテーブル選択情報4c9を上述したよう
に、(RUN,LEVEL)と組にして可変長符号化する場合に
も、NEXTの種類が増えれば、NEXT,RUN,LEVELの組合せ
が多くなるため、各(NEXT,RUN,LEVEL)に対応する符号
語の符号量も大きくなる。本実施の形態1で述べたよう
に、領域毎にその領域内の(RUN,LEVEL)データの統計的
特性に応じて、VLCテーブルグループを選択し、選択
されたVLCテーブルグループの中で、各(RUN,LEVEL)
データを符号化する際に用いるVLCテーブルを切り替
えることにより、VLCテーブル選択情報4c9を符号
化するのに必要な符号量を削減することができる。
However, if the VLC table group is not switched between when the conversion coefficient prediction is performed and when it is not performed, it is necessary to switch from the five types of VLC tables, and the VLC table selection information 4c9 is fixed length. The code length required when encoding is 3 bits. As described above, even when the VLC table selection information 4c9 is combined with (RUN, LEVEL) and subjected to variable length encoding, if the number of NEXTs increases, the number of combinations of NEXT, RUN, and LEVEL increases. The code amount of the code word corresponding to (NEXT, RUN, LEVEL) also increases. As described in the first embodiment, for each region, a VLC table group is selected according to the statistical characteristics of (RUN, LEVEL) data in the region, and each VLC table group is selected from among the selected VLC table groups. (RUN, LEVEL)
By switching the VLC table used when encoding data, the amount of code necessary to encode the VLC table selection information 4c9 can be reduced.

【0078】以上説明したように、本実施の形態1で
は、ブロックを複数の領域に分けて、領域毎に、ブロッ
ク内での各領域の位置と変換係数予測判定情報に応じ
て、VLCテーブルグループを選択し、さらに、その選
択されたVLCテーブルグループの中からVLCテーブ
ルを選択して、変換係数を可変長符号化するようにした
ため、より少ない符号量で変換係数を符号化することが
可能となる。
As described above, in the first embodiment, the block is divided into a plurality of regions, and the VLC table group is divided into regions according to the position of each region in the block and the transform coefficient prediction determination information. Is selected, and a VLC table is selected from the selected VLC table group, and the transform coefficient is subjected to variable-length encoding. Therefore, the transform coefficient can be encoded with a smaller code amount. Become.

【0079】また、本実施の形態1では、各領域の位置
と、変換係数予測判定情報31とにより、各領域内で切
り替えるVLCテーブルグループを予め用意しておくこ
とにより、切り替えるVLCテーブルの種類を符号化す
るのに必要な符号量を削減することができる。
In the first embodiment, a VLC table group to be switched in each area is prepared in advance based on the position of each area and the transform coefficient prediction determination information 31, so that the type of VLC table to be switched can be changed. The amount of code required for encoding can be reduced.

【0080】実施の形態2.本実施の形態2は、変換係
数可変長符号化部4cの構成を変えたことを特徴とする
ものである。このため、この実施の形態2の変換係数可
変長符号化部4cの構成および動作を中心に説明する。
Embodiment 2 The second embodiment is characterized in that the configuration of the transform coefficient variable length coding unit 4c is changed. Therefore, the configuration and operation of the transform coefficient variable length coding unit 4c according to the second embodiment will be mainly described.

【0081】図9は、本実施の形態2における変換係数
可変長符号化部4cの内部構成図である。同図におい
て、32は、図3に示すテクスチャ符号化部16の量子
化部16eから出力される量子化の際の量子化ステップ
サイズである。
FIG. 9 is an internal configuration diagram of the transform coefficient variable length coding unit 4c according to the second embodiment. In the figure, reference numeral 32 denotes a quantization step size at the time of quantization output from the quantization unit 16e of the texture encoding unit 16 shown in FIG.

【0082】つまり、本実施の形態2における変換係数
可変長符号化部4cでは、テクスチャ符号化の際の条件
としてVLCテーブルグループ選択部4c6へ入力する
変換係数予測判定情報31の代わりに、量子化ステップ
サイズ32を入力させるようにしたことが特徴であり、
その他の動作は実施の形態1における変換係数可変長符
号化部4cと同じである。
That is, in the transform coefficient variable length coding unit 4c according to the second embodiment, instead of the transform coefficient prediction determination information 31 input to the VLC table group selection unit 4c6 as a condition for texture coding, quantization The feature is that a step size 32 is input.
Other operations are the same as those of the transform coefficient variable length coding unit 4c according to the first embodiment.

【0083】次に、本実施の形態2におけるVLCテー
ブルグループ選択部4c6の動作について述べる。
Next, the operation of VLC table group selecting section 4c6 according to the second embodiment will be described.

【0084】VLCテーブルグループ選択部4c6で
は、VLCテーブルグループ選択部4c6が予め認識し
ている領域のブロック内での位置と、外部からテクスチ
ャ符号化の際の条件として入力する量子化ステップサイ
ズ32とに基づいて、ブロック内の各領域を符号化する
のに選択可能なVLCテーブルグループを選択する。
The VLC table group selection unit 4c6 determines the position in the block of the area recognized in advance by the VLC table group selection unit 4c6, and the quantization step size 32 input from the outside as a condition for texture encoding. , Select a selectable VLC table group to encode each region in the block.

【0085】例えば、大きい量子化ステップサイズ32
で量子化された領域は、小さいLEVELまたは零が多くな
り、大きいLEVELのデータの出現確率は小さくなる。こ
のように量子化ステップサイズ32に応じて、(RUN,LE
VEL)データの出現確率が異なるため、VLCテーブルグ
ループ選択部4c6は、量子化ステップサイズ32に応
じて、VLCテーブルグループを選択する。
For example, a large quantization step size 32
In the area quantized by, the small LEVEL or zero increases, and the appearance probability of the data of the high LEVEL decreases. As described above, according to the quantization step size 32, (RUN, LE
Since the appearance probabilities of the (VEL) data are different, the VLC table group selection unit 4c6 selects the VLC table group according to the quantization step size 32.

【0086】なお、量子化ステップサイズ32は、図1
や図2に示すように、復号側で逆量子化を行う際の情報
として、可変長符号化部4の付加情報可変長符号化部4
bにより可変長符号化された後、付加情報符号後25の
1つとして多重化部5によりビットストリーム28に多
重化されているので、復号側では、これを利用して復号
時に用いる可変長復号テーブルグループを符号化側と同
様に選択することができる。
Note that the quantization step size 32 is
As shown in FIG. 2 and FIG. 2, the information at the time of performing the inverse quantization on the decoding side includes the additional information variable length coding unit 4 of the variable length coding unit 4.
b, and after being multiplexed into the bit stream 28 by the multiplexing unit 5 as one of the additional information codes 25, the decoding side uses this to perform variable-length decoding The table group can be selected in the same way as the encoding side.

【0087】このため、この実施の形態2では、上記実
施の形態1の場合と同様に、VLCテーブルグループを
選択することによる新たな付加情報をビットストリーム
28に多重化する必要はない。ただし、実施の形態1の
場合と同様に、選択したVLCテーブルグループの中か
らのVLCテーブルの選択を、各(RUN,LEVEL)データの
LEVELの値を用いて行なうようにした場合、復号側で
は、LEVELを復号する前にVLCテーブルを選択する必
要があるため、VLCテーブル選択情報4c9を付加情
報可変長符号化部4bへ送り符号化させて、VLCテー
ブル選択符号語とし、付加情報符号語25の1つとして
ビットストリーム28に多重化するようにする。
Therefore, in the second embodiment, there is no need to multiplex new additional information by selecting a VLC table group into the bit stream 28 as in the first embodiment. However, as in the case of the first embodiment, the selection of the VLC table from the selected VLC table group is determined according to each (RUN, LEVEL) data.
When the decoding is performed using the value of LEVEL, the decoding side needs to select a VLC table before decoding the LEVEL. Therefore, the VLC table selection information 4c9 is sent to the additional information variable length coding unit 4b to perform coding. Then, the VLC table is selected as a VLC table selection codeword and multiplexed into the bit stream 28 as one of the additional information codewords 25.

【0088】従って、本実施の形態2によれば、ブロッ
クを複数の領域に分けて、領域毎に、ブロック内での領
域の位置と、量子化ステップサイズとに応じて、VLC
テーブルグループを選択し、さらにその選択されたVL
Cテーブルグループの中からVLCテーブルを選択し
て、各領域内のAC係数データを可変長符号化するよう
にしたので、より少ない符号量で変換係数を符号化する
ことができ、圧縮効率を高める効果が得られる。
Therefore, according to the second embodiment, the block is divided into a plurality of regions, and the VLC is determined for each region according to the position of the region in the block and the quantization step size.
Select a table group and select the selected VL
Since the VLC table is selected from the C table group and the AC coefficient data in each area is subjected to variable length coding, the transform coefficient can be coded with a smaller code amount and the compression efficiency is improved. The effect is obtained.

【0089】また、本実施の形態2では、VLCテーブ
ルグループ選択時に、量子化ステップサイズ32を用い
たが、実施の形態1で述べた変換係数予測判定情報31
と、量子化ステップサイズ32との両方を用いて、VL
Cテーブルグループを選択するようにしてもよい。
In the second embodiment, the quantization step size 32 is used when selecting the VLC table group, but the transform coefficient prediction determination information 31 described in the first embodiment is used.
And the quantization step size 32, VL
The C table group may be selected.

【0090】実施の形態3.本実施の形態3では、VL
Cテーブルグループ選択部にて選択されたVLCテーブ
ルグループの中から、領域内の各(RUN,LEVEL)データを
符号化するのに用いるVLCテーブルの選択を、領域内
で低周波成分から高周波成分に向かうほど零または小さ
い値のLEVELの出現確率が高くなるといったLEVELの値の
統計的特性に基づいて行うようにしたことを特徴とする
ものである。
Embodiment 3 In the third embodiment, VL
From the VLC table group selected by the C table group selection unit, the selection of the VLC table used to encode each (RUN, LEVEL) data in the region is changed from a low frequency component to a high frequency component in the region. It is characterized in that it is performed based on the statistical characteristics of the LEVEL value such that the appearance probability of a LEVEL having a value of zero or a smaller value becomes higher as it goes.

【0091】例えば、低周波成分では、大きい値のレベ
ルが発生しやすいため、符号化すべき(RUN,LEVEL)デー
タが低周波成分でスキャンされたデータである場合に
は、大きい値のLEVELを含むVLCテーブルを選択す
る。
For example, a large value level is likely to occur in a low frequency component. Therefore, when (RUN, LEVEL) data to be encoded is data scanned with a low frequency component, a large value LEVEL is included. Select a VLC table.

【0092】これに対し、高周波成分でスキャンされた
データである場合には、小さい値のレベルと長いRUNの
データを含み、それらに短い符号長を割り当てたVLC
テーブルを選択する。以下、領域内のスキャンされた位
置に基づきVLCテーブルの選択を行うVLCテーブル
選択部を含む変換係数可変長符号化部4cについて説明
する。
On the other hand, in the case of data scanned with a high-frequency component, the VLC includes a small value level and long RUN data, and assigns a short code length to them.
Select a table. Hereinafter, a description will be given of the transform coefficient variable length coding unit 4c including the VLC table selection unit that selects the VLC table based on the scanned position in the area.

【0093】図10は、本実施の形態3における変換係
数可変長符号化部4cの内部構成を示す。
FIG. 10 shows the internal configuration of the transform coefficient variable length coding unit 4c according to the third embodiment.

【0094】切替部4c2、DC係数データ符号化部4
c3、VLCテーブルグループ選択部4c6の動作につ
いては、実施の形態1または実施の形態2と同様であ
り、異なるのは、VLCテーブル選択部4c8の動作だ
けである。
Switching section 4c2, DC coefficient data encoding section 4
c3, the operation of the VLC table group selection unit 4c6 is the same as that of the first or second embodiment, except for the operation of the VLC table selection unit 4c8.

【0095】つまり、VLCテーブルグループ選択部4
c6は、実施の形態1,2と同様に、ブロック内の各領
域毎に、量子化ステップサイズ32または変換係数予測
判定情報31等のテクスチャ符号化時の符号化条件に基
づいて、選択可能なVLCテーブルグループを選択し、
VLCテーブルグループ選択情報4c7として、VLC
テーブル選択部4c8へ出力する。
That is, the VLC table group selection unit 4
As in the first and second embodiments, c6 can be selected for each region in a block based on encoding conditions at the time of texture encoding such as the quantization step size 32 or the transform coefficient prediction determination information 31. Select the VLC table group,
As VLC table group selection information 4c7, VLC
Output to the table selection unit 4c8.

【0096】VLCテーブル選択部4c8では、VLC
テーブルグループ選択部4c6で選択されたVLCテー
ブルグループの中から、(RUN,LEVEL)データであるAC
係数データ4c4を符号化するのに用いるVLCテーブ
ルを選択する。
In the VLC table selecting section 4c8, VLC
From the VLC table group selected by the table group selection unit 4c6, AC (RUN, LEVEL) data
The VLC table used to encode the coefficient data 4c4 is selected.

【0097】ここで、(RUN,LEVEL)の出現確率は、領域
内のスキャンされた位置によって異なる。同一領域内で
も低周波成分から高周波成分に向かうほど、零または小
さい値のLEVELが多くなる。つまり、LEVELがスキャンさ
れた位置により、LEVELの値の出現確率は異なる。
Here, the appearance probability of (RUN, LEVEL) differs depending on the scanned position in the area. Even in the same region, the level of zero or a small value increases as going from the low frequency component to the high frequency component. That is, the appearance probability of the LEVEL value differs depending on the position where the LEVEL is scanned.

【0098】そこで、この実施の形態3のVLCテーブ
ル選択部4c8では、上記実施の形態1,2の場合とは
異なり、AC係数データ4c4である(RUN,LEVEL)デー
タを入力することなく、領域内のスキャンの位置に応じ
てVLCテーブルの選択を行なうようにする。つまり、
各領域1〜4内をさらに複数の領域に分割して、符号化
対象の(RUN,LEVEL)データがどの領域でスキャンされた
かによってVLCテーブルを選択するようにする。
Therefore, unlike the first and second embodiments, the VLC table selecting unit 4c8 of the third embodiment does not input the (RUN, LEVEL) data as the AC coefficient data 4c4, The selection of the VLC table is performed according to the position of the scan in the table. That is,
Each of the regions 1 to 4 is further divided into a plurality of regions, and the VLC table is selected according to which region the (RUN, LEVEL) data to be encoded has been scanned.

【0099】なお、(RUN,LEVEL)データは、各領域1〜
4内で予め決められた順番でスキャンされた順に符号化
されているので、復号側では、復号対象の(RUN,LEVEL)
のスキャン位置を、すでに復号された(RUN,LEVEL)をも
とに符号化側のスキャン位置と一致させることができ
る。このため、復号側ではこのスキャン位置に基づいて
復号時に用いる可変長復号テーブルを選択することがで
きるため、本実施の形態3の符号化側では、VLCテー
ブル選択情報4c9を付加情報としてビットストリーム
に多重化する必要がない。
The (RUN, LEVEL) data is stored in each area 1 to
4, the encoding is performed in the order scanned in a predetermined order, so that the decoding side (RUN, LEVEL)
Can be matched with the scan position on the encoding side based on the already decoded (RUN, LEVEL). For this reason, the decoding side can select a variable length decoding table to be used at the time of decoding based on the scan position. Therefore, the encoding side of the third embodiment uses the VLC table selection information 4c9 as additional information in a bit stream. There is no need for multiplexing.

【0100】その結果、上記実施の形態1,2では、符
号化ビットストリーム28にVLCテーブル選択情報4
c9を多重化する必要があったが、本実施の形態3で
は、VLCテーブル選択情報4c9をビットストリーム
28に多重化する必要がないため、実施の形態1,2の
場合よりも、符号化ビットストリーム28の符号量を削
減できることになる。
As a result, in the first and second embodiments, the VLC table selection information 4
Although it was necessary to multiplex c9, the third embodiment does not require the VLC table selection information 4c9 to be multiplexed into the bit stream 28. The code amount of the stream 28 can be reduced.

【0101】そして、VLCテーブル選択部4c8から
領域データ符号化部4c10へVLCテーブル選択情報
4c9が出力された後は、上記実施の形態1,2と同様
で、領域データ符号化部4c10がVLCテーブル選択
部4c8から出力されたVLCテーブル選択情報4c9
に基づきVLCテーブルを切り替え選択して、AC係数
データ4c4である(RUN,LEVEL)データを可変長符号化
する。領域データ符号化部4c10の動作は、実施の形
態1,2と同様であり、以上の動作を領域内のすべての
(RUN,LEVEL)データを符号化するまで繰り返す。
After the VLC table selection information 4c9 is output from the VLC table selection section 4c8 to the area data encoding section 4c10, the area data encoding section 4c10 sets the VLC table as in the first and second embodiments. VLC table selection information 4c9 output from selection section 4c8
The VLC table is switched and selected based on the VLC table, and (RUN, LEVEL) data, which is the AC coefficient data 4c4, is subjected to variable-length encoding. The operation of the area data encoding unit 4c10 is the same as in the first and second embodiments, and
Repeat until (RUN, LEVEL) data is encoded.

【0102】従って、本実施の形態3では、領域内のス
キャン位置に応じて、VLCテーブルを選択するように
したため、付加情報として、VLCテーブル選択情報4
c9をビットストリームに多重化する必要がなくなり、
VLCテーブルの切り替えに必要な付加情報の符号量を
削減できるという効果が得られる。
Therefore, in the third embodiment, the VLC table is selected according to the scan position in the area.
c9 need not be multiplexed into the bitstream,
The effect is obtained that the code amount of the additional information necessary for switching the VLC table can be reduced.

【0103】実施の形態4.本実施の形態4では、変換
係数可変長符号化部4cの構成を変えたことを特徴とす
るものである。
Embodiment 4 The fourth embodiment is characterized in that the configuration of the transform coefficient variable length coding unit 4c is changed.

【0104】図11に、本実施の形態4における変換係
数可変長符号化部4cの内部構成図を示す。同図におい
て、4c12は領域データ有効/無効判定部、4c13
は領域有効/無効情報、4c14は領域有効/無効情報
符号化部、4c15は領域有効/無効情報符号語、であ
る。
FIG. 11 shows an internal configuration diagram of transform coefficient variable length coding section 4c according to the fourth embodiment. In the figure, reference numeral 4c12 denotes an area data valid / invalid judgment unit, and 4c13.
Is an area valid / invalid information code, 4c14 is an area valid / invalid information coding unit, and 4c15 is an area valid / invalid information codeword.

【0105】次に動作を説明するが、図11において、
動作が異なるのは、領域データ有効/無効判定部4c1
2と、領域有効/無効情報符号化部4c14であり、そ
の他の構成及び動作は実施の形態1または実施の形態2
と全く同じである。よって、以下では、領域データ有効
/無効判定部4c12の動作とそれに対応する領域有効
/無効情報符号化部4c14の動作について説明する。
Next, the operation will be described.
The difference in the operation is that the area data valid / invalid judgment unit 4c1
2 and the area valid / invalid information coding unit 4c14, and other configurations and operations are the same as those in the first or second embodiment.
Is exactly the same as Therefore, the operation of the area data valid / invalid determination unit 4c12 and the corresponding operation of the area valid / invalid information coding unit 4c14 will be described below.

【0106】まず、本実施の形態4の変換係数可変長符
号化部4cでは、領域データ有効/無効判定部4c12
が、領域毎に領域内のAC係数がすべて零であるか、否
かを判定し、その判定結果を領域有効/無効情報4c1
3として出力する。領域有効/無効情報符号化部4c1
4は、その領域有効/無効情報4c13を符号化して、
領域有効/無効情報符号語4c15として出力する。領
域有効/無効情報4c13の符号化方法としては、例え
ば、ブロック内のすべての領域に関する領域有効/無効
情報をまとめて可変長符号化すればよい。
First, in the transform coefficient variable length coding unit 4c according to the fourth embodiment, the area data valid / invalid determining unit 4c12
Determines whether or not the AC coefficients in the area are all zero for each area, and determines the determination result as area valid / invalid information 4c1.
Output as 3. Area valid / invalid information encoding unit 4c1
4 encodes the area valid / invalid information 4c13,
Output as area valid / invalid information codeword 4c15. As a method of encoding the area valid / invalid information 4c13, for example, variable-length coding may be performed on the area valid / invalid information for all the areas in the block.

【0107】なお、領域内のAC係数データ4c4がす
べて零であった場合には、その領域は無効領域として、
領域内のAC係数データ4c4の符号化は行わずに、次
の領域の符号化へスキップする。従って、領域内のAC
係数データ4c4がすべて零であった場合には、領域有
効/無効情報4c13のみを符号化すればよく、AC係
数データ4c4の符号量を削減することができる。
When the AC coefficient data 4c4 in the area is all zero, the area is regarded as an invalid area.
The encoding of the next area is skipped without encoding the AC coefficient data 4c4 in the area. Therefore, the AC in the region
When the coefficient data 4c4 is all zero, only the area valid / invalid information 4c13 needs to be encoded, and the code amount of the AC coefficient data 4c4 can be reduced.

【0108】なお、実施の形態1,2で述べた変換係数
可変長符号化部4cの場合、各(RUN,LEVEL)データを符
号化するのに用いるVLCテーブルを示すVLCテーブ
ル選択情報4c9を、付加情報可変長符号化部4bで符
号化するようにしていた。
In the case of the transform coefficient variable length coding unit 4c described in the first and second embodiments, the VLC table selection information 4c9 indicating the VLC table used for coding each (RUN, LEVEL) data is represented by: The encoding is performed by the additional information variable length encoding unit 4b.

【0109】このため、この実施の形態4では、領域有
効/無効情報4c13を、各領域1〜4内の最初の(RU
N,LEVEL)データを符号化するのに用いたVLCテーブ
ルを示す最初のVLCテーブル選択情報4c9等に符号
化するようにしてもよい。例えば、付加情報可変長符号
化部4bは、最初のVLCテーブル選択情報4c9は、
領域内のAC係数がすべて零でその領域の符号化を行わ
ない場合には、“0”とし、n種類のVLCテーブルを
切り替えて符号化したときのVLCテーブルを示す情報
を、“1”〜“n”とすれば、VLCテーブル選択情報
4c9により領域有効/無効情報4c13を代用するこ
とができる。このようにすれば、領域有効/無効情報符
号化部4c14自体が不要になる。
Therefore, in the fourth embodiment, the area valid / invalid information 4c13 is stored in the first (RU) in each of the areas 1 to 4.
(N, LEVEL) data may be encoded in the first VLC table selection information 4c9 indicating the VLC table used for encoding. For example, the additional information variable length coding unit 4b determines that the first VLC table selection information 4c9 is
When the coding of the area is not performed because the AC coefficients in the area are all zero, it is set to “0”, and the information indicating the VLC table when the n types of VLC tables are switched and coded is “1” to “1”. If “n” is set, the area valid / invalid information 4c13 can be substituted by the VLC table selection information 4c9. This eliminates the need for the area valid / invalid information encoding unit 4c14 itself.

【0110】次に、図4に示す本実施の形態4で述べた
可変長符号化部4cを、MPEG-4におけるマクロブロック
データの符号化に適用した場合に得られる従来と比較し
て有利な効果、すなわち従来であれば符号化モードによ
って異なるビットストリームの構造を共通にすることが
でき、復号装置においてシンタックス解析のための回路
を簡単にすることができるという効果について説明す
る。
Next, the variable length coding unit 4c described in the fourth embodiment shown in FIG. 4 is more advantageous than the conventional one obtained when applying to the coding of macroblock data in MPEG-4. The effect, that is, the effect that the bit stream structure that is different depending on the encoding mode in the related art can be made common and the circuit for syntax analysis in the decoding device can be simplified will be described.

【0111】図12に、従来のMPEG-4におけるマクロブ
ロックデータを符号化した際の符号化ビットストリーム
の構造を示す。従来、MPEG-4では、各VOPに対して、
イントラ/インター符号化(I-VOP/P-VOP)を行う場合と、
両方向予測符号化(B-VOP)を行う場合とで、異なるビッ
トストリームの構造をもつ。イントラ符号化とは、VO
P内の情報のみを用いて符号化を行うモードである。イ
ンター符号化とは、1つ等前のVOPを用いて動き補償
予測を行うモードである。また、両方向予測符号化と
は、1つ等前と後とのVOPを用いて、動き補償予測を
行うモードである。
FIG. 12 shows the structure of a coded bit stream when macroblock data in the conventional MPEG-4 is coded. Conventionally, in MPEG-4, for each VOP,
When performing intra / inter coding (I-VOP / P-VOP),
It has a different bit stream structure when bidirectional prediction coding (B-VOP) is performed. Intra coding refers to VO
In this mode, encoding is performed using only the information in P. The inter coding is a mode in which motion compensation prediction is performed using the immediately preceding VOP. In addition, bidirectional prediction encoding is a mode in which motion compensation prediction is performed using VOPs before and after one and the like.

【0112】図12(a)は、従来のI-VOP/P-VOPのときの
ビットストリームB1の構造である。図において、形状
属性情報D1は、形状データの動きベクトル等の形状の
属性情報である。有効マクロブロック情報D2は、マク
ロブロックの有効/無効を示す情報で、マクロブロック
の変換係数データがすべて零で、動きベクトルが零の場
合には、そのマクロブロックは無効マクロブロックとな
り、以降の情報はビットストリームに多重化されない。
有効色差ブロック情報・マクロブロックタイプD3は、
有効色差ブロック情報と、マクロブロックタイプとを組
にした情報で、有効色差ブロック情報は、マクロブロッ
ク内の色差ブロックの有効/無効を示す。色差ブロック
内の変換係数データがすべて零の場合には、その色差ブ
ロックは無効となる。AC予測指示情報D4は、マクロ
ブロック内のAC係数に対して、変換係数予測が行われ
たか否かを示す情報で、変換係数予測判定情報31と同
じである。有効輝度ブロック情報D5は、マクロブロッ
ク内の輝度ブロックの有効/無効を示す。輝度ブロック
内の変換係数データがすべて零の場合には、その輝度ブ
ロックは無効となる。差分量子化ステップサイズD6
は、1つ前のマクロブロックデータとの量子化ステップ
サイズが異なる場合に、1つ前のマクロブロックデータ
の量子化ステップサイズとの差分を表す。インタレース
情報D7は、インタレース画像の場合に必要な情報であ
る。動きデータD8は、動き補償が行われたときに存在
する動きに関するデータである。形状データD9は、任
意形状のVOPを符号化する際に必要な情報である。ブ
ロックデータD10は、有効色差ブロック情報または有
効輝度ブロック情報D5により有効ブロックであること
が示唆された場合にのみ存在する。
FIG. 12A shows the structure of a bit stream B1 in the case of a conventional I-VOP / P-VOP. In the figure, shape attribute information D1 is shape attribute information such as a motion vector of shape data. The valid macroblock information D2 is information indicating the validity / invalidity of the macroblock. If the transform coefficient data of the macroblock is all zero and the motion vector is zero, the macroblock becomes an invalid macroblock and the following information Are not multiplexed into the bitstream.
Effective color difference block information / macro block type D3 is
The effective chrominance block information is a set of the effective chrominance block information and the macroblock type, and the effective chrominance block information indicates the validity / invalidity of the chrominance block in the macroblock. If the conversion coefficient data in the chrominance block is all zero, the chrominance block becomes invalid. The AC prediction instruction information D4 is information indicating whether or not transform coefficient prediction has been performed on the AC coefficient in the macroblock, and is the same as the transform coefficient prediction determination information 31. The effective luminance block information D5 indicates whether the luminance block in the macro block is valid or invalid. If the conversion coefficient data in the luminance block is all zero, the luminance block is invalid. Differential quantization step size D6
Represents a difference from the quantization step size of the immediately preceding macroblock data when the quantization step size differs from the immediately preceding macroblock data. The interlace information D7 is information necessary for an interlaced image. The motion data D8 is data relating to motion existing when motion compensation is performed. The shape data D9 is information necessary for encoding a VOP having an arbitrary shape. The block data D10 exists only when the effective color difference block information or the effective luminance block information D5 indicates that the block is an effective block.

【0113】図12(b)は、従来のB-VOPのときのビ
ットストリームB2の構造である。マクロブロックタイ
プD10と、有効ブロック情報D12の多重化方法のみ
が異なる。具体的には、図12(a)に示すI-VOP/P-VO
Pの場合には、有効ブロック情報について、色差ブロッ
クと、輝度ブロックとについて、別々に多重化し、色差
ブロックの有効情報については、マクロブロックタイプ
と組にして、有効色差ブロック情報・マクロブロックタ
イプD3として可変長符号化している。輝度ブロック情
報は、4つの輝度ブロックの有効/無効情報を組にし
て、有効輝度ブロック情報D5として可変長符号化して
いる。
FIG. 12B shows the structure of a bit stream B2 in the case of a conventional B-VOP. Only the multiplexing method of the macroblock type D10 and the effective block information D12 is different. Specifically, the I-VOP / P-VO shown in FIG.
In the case of P, the chrominance block and the luminance block are separately multiplexed for the effective block information, and the effective information of the chrominance block is paired with the macro block type to form the effective chrominance block information / macro block type D3. As variable length coding. The luminance block information is a combination of valid / invalid information of four luminance blocks and is variable-length coded as effective luminance block information D5.

【0114】これに対し、図12(b)に示すB-VOPの
場合には、マクロブロックタイプD11と有効色差ブロ
ック情報を別々に多重化し、かつ、輝度ブロック、色差
ブロックそれぞれの有効/無効を示す情報を有効ブロッ
ク情報D12として固定長符号化している。
On the other hand, in the case of the B-VOP shown in FIG. 12B, the macroblock type D11 and the effective chrominance block information are separately multiplexed, and the validity / invalidity of each of the luminance block and the chrominance block is determined. The information shown is fixed-length coded as effective block information D12.

【0115】このように、従来のI-VOP/P-VOPと、B-VOP
とでは、ブロック内の量子化変換係数(AC係数)が領域
内ですべて零か否かを示す有効ブロック情報の多重化方
法が異なり、ビットストリームの構造が異なっている。
Thus, the conventional I-VOP / P-VOP and B-VOP
, The multiplexing method of the effective block information indicating whether or not the quantized transform coefficients (AC coefficients) in the block are all zero in the area is different, and the structure of the bit stream is different.

【0116】しかし、本実施の形態4で述べた可変長符
号化部4cによれば、ブロック内の各領域毎に、領域デ
ータ有効/無効判定部4c12が量子化変換係数のAC
係数が零か否かを判定し、領域有効/無効情報符号化部
4c14がその領域有効/無効情報4c13を符号化し
て領域有効/無効情報符号化部4c14としてビットス
トリーム28に多重化するため、ブロック毎にブロック
内での量子化変換係数AC係数が零か否かを判定して、
それを有効ブロック情報として、ビットストリーム28
に多重化する必要はない。
However, according to the variable length coding unit 4c described in the fourth embodiment, for each region in the block, the region data validity / invalidity determination unit 4c12 determines whether the quantized transform coefficient AC
It is determined whether the coefficient is zero or not, and the area valid / invalid information encoding unit 4c14 encodes the area valid / invalid information 4c13 and multiplexes it into the bit stream 28 as the area valid / invalid information encoding unit 4c14. It is determined for each block whether the quantized transform coefficient AC coefficient in the block is zero,
The bit stream 28 is used as effective block information.
Need not be multiplexed.

【0117】図13は、この実施の形態4の可変長符号
化部4cを、MPEG-4におけるマクロブロックデータの符
号化に適用した場合に得られるビットストリームB3を
示している。有効ブロック情報をビットストリームD3
に多重化しないため、I-VOP,P-VOP,B-VOPいずれの符
号化モードの場合にも、図13に示すビットストリーム
B3の共通の構造になる。なお、本実施の形態4の場
合、ブロックデータD10の各領域のAC係数データD
13毎に、領域有効/無効情報D14が設定されること
になる。
FIG. 13 shows a bit stream B3 obtained when the variable length coding unit 4c of the fourth embodiment is applied to coding of macroblock data in MPEG-4. The effective block information is stored in the bit stream D3
Therefore, the common structure of the bit stream B3 shown in FIG. 13 is obtained in any of the I-VOP, P-VOP, and B-VOP encoding modes. In the case of the fourth embodiment, the AC coefficient data D
13, the area valid / invalid information D14 is set.

【0118】以上のように、本実施の形態4で述べた可
変長符号化手段をMPEG-4におけるマクロブロックデータ
の符号化に適用した場合には、イントラ、インター、両
方向予測の符号化モードに関わらず、図13に示すよう
な共通のビットストリームD3の構造になる。
As described above, when the variable length coding means described in the fourth embodiment is applied to the coding of macroblock data in MPEG-4, the coding modes for intra, inter, and bidirectional prediction are set. Regardless, the structure of the common bit stream D3 is as shown in FIG.

【0119】従って、本実施の形態4の動画像符号化装
置によれば、復号側では、ビットストリームの構造であ
るシンタックスを解析する手段を符号化モードに関わら
ず共通化できるため、復号装置において、シンタックス
解析のための回路構成が簡単になるという効果が得られ
る。
Therefore, according to the moving picture coding apparatus of the fourth embodiment, the means for analyzing the syntax, which is the structure of the bit stream, can be shared on the decoding side regardless of the coding mode. In this case, an effect is obtained that a circuit configuration for syntax analysis is simplified.

【0120】実施の形態5.本実施の形態5は、変換係
数可変長符号化部4cの領域データ符号化部4c10の
構成を特徴とするものである。
Embodiment 5 FIG. The fifth embodiment is characterized by the configuration of the area data encoding unit 4c10 of the transform coefficient variable length encoding unit 4c.

【0121】図14は、本実施の形態における変換係数
可変長符号化部4cの領域データ符号化部4c10の詳
細な内部構成図である。同図において、4c101はV
LCテーブル探索部、4c102はエスケープコード、
4c103は変換係数変換部、4c104は変換AC係
数データ、4c105は変換フラグ、4c106は変換
係数固定長復号部、である。
FIG. 14 is a detailed internal configuration diagram of the area data encoding unit 4c10 of the transform coefficient variable length encoding unit 4c in the present embodiment. In the figure, 4c101 is V
LC table search unit, 4c102 is an escape code,
4c103 is a conversion coefficient conversion unit, 4c104 is conversion AC coefficient data, 4c105 is a conversion flag, and 4c106 is a conversion coefficient fixed length decoding unit.

【0122】次に動作を説明する。VLCテーブル探索
部4c101は、入力された変換係数データであるAC
係数データ(RUN,LEVEL)4c4に対応する符号語を、V
LCテーブル記憶部4c1のVLCテーブル内で探索す
る。AC係数データ(RUN,LEVEL)4c4に対応する符号
語が、VLCテーブル内に見つかった場合には、上記実
施の形態1〜4と同様に、その符号語をAC係数符号語
4c11として出力する。
Next, the operation will be described. The VLC table search unit 4c101 converts the input conversion coefficient data AC
The code word corresponding to the coefficient data (RUN, LEVEL) 4c4 is V
Search in the VLC table of the LC table storage unit 4c1. If a codeword corresponding to the AC coefficient data (RUN, LEVEL) 4c4 is found in the VLC table, the codeword is output as an AC coefficient codeword 4c11 as in the first to fourth embodiments.

【0123】ここでは、本実施の形態5の特徴である、
VLCテーブルに見つからなかった場合の動作について
詳細に説明する。まず、VLCテーブル探索部4c10
1は、入力されたAC係数データ4c4に対応する符号
語がVLCテーブルになかった場合、エスケープコード
4c102と呼ばれる固定長の符号語、およびAC係数
データ4c4を変換係数変換部4c103へ出力する。
Here, the feature of the fifth embodiment is as follows.
The operation when no data is found in the VLC table will be described in detail. First, the VLC table search unit 4c10
When the codeword corresponding to the input AC coefficient data 4c4 is not in the VLC table, 1 outputs a fixed-length codeword called an escape code 4c102 and the AC coefficient data 4c4 to the conversion coefficient conversion unit 4c103.

【0124】変換係数変換部4c103では、AC係数
データ4c4のRUNまたはLEVELの値を変換する。第1の
変換は、AC係数データ4c4のRUNまたはLEVELの値の
うち、LEVELに対して行う。変換されたLEVEL*は、VL
Cテーブルに含まれているAC係数データのLEVELの最
大値(LMAX)を引くことによって得られる。具体的には、
次の式1に示す。
The conversion coefficient conversion unit 4c103 converts the RUN or LEVEL value of the AC coefficient data 4c4. The first conversion is performed on LEVEL among RUN or LEVEL values of the AC coefficient data 4c4. The converted LEVEL * is VL
It is obtained by subtracting the maximum value (LMAX) of the LEVEL of the AC coefficient data included in the C table. In particular,
It is shown in the following equation 1.

【0125】 LEVEL*=sign(LEVEL)×[abs(LEVEL−LMAX)] ・・・(式1) ただし、sign(LEVEL)は、LEVELが0以上ならば1、それ
以外は−1である。また、abs(LEVEL)は、LEVELの絶対
値である。
LEVEL * = sign (LEVEL) × [abs (LEVEL−LMAX)] (Expression 1) where sign (LEVEL) is 1 if LEVEL is 0 or more, and −1 otherwise. Abs (LEVEL) is an absolute value of LEVEL.

【0126】そして、VLCテーブル探索部4c101
は、変換AC係数データ4c104(RUN,LEVEL*)を用い
て、再び、VLCテーブルを探索する。ここで、変換A
C係数データ4c104(RUN,LEVEL*)に対応する符号語
がVLCテーブルに見つかった場合には、エスケープコ
ードの後に、LEVELの値が変換されたことを示すコード
と、VLCテーブルより検出された符号語とを付けて、
AC係数符号語4c11として出力する。
Then, the VLC table search unit 4c101
Searches the VLC table again using the converted AC coefficient data 4c104 (RUN, LEVEL *). Here, conversion A
When a code word corresponding to the C coefficient data 4c104 (RUN, LEVEL *) is found in the VLC table, a code indicating that the value of LEVEL has been converted after the escape code, and a code detected from the VLC table. With a word
Output as AC coefficient codeword 4c11.

【0127】これに対し、第1の変換が行われた変換A
C係数データ4c104(RUN,LEVEL*)に対応する符号語
がVLCテーブルに見つからなかった場合、変換係数変
換部4c103は、第2の変換を行なう。第2の変換
は、RUNに対して行う。変換されたRUN*は、VLCテー
ブルに含まれているAC係数データのRUNの最大値(RMA
X)+1を引くことによって得られる。具体的には、次の
式2に示す。
On the other hand, the conversion A in which the first conversion is performed
When the codeword corresponding to the C coefficient data 4c104 (RUN, LEVEL *) is not found in the VLC table, the conversion coefficient conversion unit 4c103 performs the second conversion. The second conversion is performed on RUN. The converted RUN * is the maximum value (RMA) of the RUN of the AC coefficient data contained in the VLC table.
X) +1 is obtained. Specifically, it is shown in the following equation 2.

【0128】 RUN*=RUN−(RMAX+1) ・・・(式2)RUN * = RUN− (RMAX + 1) (Equation 2)

【0129】そして、VLCテーブル探索部4c101
は、新たな変換AC係数データ4c105(RUN*,LEVEL
*)を用いて再びVLCテーブルを探索する。ここで、こ
の新たな変換AC係数データ4c105(RUN*,LEVEL*)
に対応する符号語がVLCテーブルに見つかった場合に
は、エスケープコードの後に、RUNの値が変換されたこ
とを示すコードと、VLCテーブルより検出された符号
語とを付けて、AC係数符号語4c11として出力す
る。
Then, the VLC table search unit 4c101
Is the new conversion AC coefficient data 4c105 (RUN *, LEVEL
Search the VLC table again using *). Here, this new converted AC coefficient data 4c105 (RUN *, LEVEL *)
Is found in the VLC table, the code indicating that the value of RUN has been converted and the codeword detected from the VLC table are added after the escape code, and the AC coefficient codeword is added. Output as 4c11.

【0130】これに対し、第2の変換が行われた変換A
C係数データ4c105(RUN*,LEVEL*)に対応する符号
語がVLCテーブルに見つからなかった場合には、RU
N,LEVELをそれぞれ固定長符号化し、エスケープコード
の後に、AC係数データが固定長符号化されたことを示
すコードとAC係数データの固定長符号語を付けて、A
C係数符号語4c11として出力する。
On the other hand, the conversion A in which the second conversion is performed
If the codeword corresponding to the C coefficient data 4c105 (RUN *, LEVEL *) is not found in the VLC table, RU
N and LEVEL are each fixed-length coded, and after the escape code, a code indicating that the AC coefficient data has been fixed-length coded and a fixed-length codeword of the AC coefficient data are added, and A
Output as C coefficient codeword 4c11.

【0131】なお、実施の形態1で述べたように、(RU
N,LEVEL)と、次の(RUN,LEVEL)を符号化するのに用い
るVLCテーブル選択情報4c9(NEXT)を組にして、
可変長符号化する場合にも同様の処理を行うことができ
る。
As described in the first embodiment, (RU
N, LEVEL) and VLC table selection information 4c9 (NEXT) used to encode the next (RUN, LEVEL)
Similar processing can be performed when performing variable length coding.

【0132】従って、本実施の形態5によれば、AC係
数データの可変長符号化を行う際に、符号化するAC係
数データに対応するデータがVLCテーブルになかった
場合、AC係数データを変換し、変換したAC係数デー
タをもとに再びVLCテーブルを探索し、可変長符号化
するようにしたので、より圧縮効率を高める効果が得ら
れる。
Therefore, according to the fifth embodiment, when performing variable length coding of AC coefficient data, if there is no data corresponding to the AC coefficient data to be coded in the VLC table, the AC coefficient data is converted. Then, the VLC table is searched again based on the converted AC coefficient data, and the variable-length coding is performed, so that the effect of further improving the compression efficiency can be obtained.

【0133】実施の形態6.本実施の形態6では、実施
の形態1または実施の形態2で述べた動画像符号化装置
によって生成される符号化ビットストリームを復号する
動画像復号装置について説明する。
Embodiment 6 FIG. In the sixth embodiment, a moving image decoding device that decodes an encoded bit stream generated by the moving image encoding device described in the first or second embodiment will be described.

【0134】図15は、本実施の形態6における動画像
復号装置の構成を示すブロック図である。同図におい
て、101は符号化ビットストリーム、102はシンタ
ックス解析部、103は形状データ符号語、104はブ
ロックデータ符号語、105は付加情報符号語、106
は動きベクトル符号語、107は可変長復号部、108
は形状符号化データ、109は量子化変換係数データ、
110は付加情報、111は動きベクトル、112は形
状復号部、113はテクスチャ復号部、114は動き補
償部、115は復号形状データ、116は復号予測誤差
信号、117はメモリ、118は参照画像、119は被
復号マクロブロック画面内位置情報、120は予測画
像、121は復号加算部、122は復号画像、123は
切替部、である。なお、110aは付加情報110中に
含まれるモード指示フラグである。
FIG. 15 is a block diagram showing a configuration of a moving picture decoding apparatus according to the sixth embodiment. In the figure, 101 is an encoded bit stream, 102 is a syntax analysis unit, 103 is a shape data codeword, 104 is a block data codeword, 105 is an additional information codeword, 106
Is a motion vector codeword, 107 is a variable length decoding unit, 108
Is shape encoded data, 109 is quantized transform coefficient data,
110 is additional information, 111 is a motion vector, 112 is a shape decoding unit, 113 is a texture decoding unit, 114 is a motion compensation unit, 115 is decoded shape data, 116 is a decoded prediction error signal, 117 is a memory, 118 is a reference image, Reference numeral 119 denotes position information in the decoded macroblock screen, reference numeral 120 denotes a predicted image, reference numeral 121 denotes a decoding and adding unit, reference numeral 122 denotes a decoded image, and reference numeral 123 denotes a switching unit. Note that reference numeral 110a is a mode instruction flag included in the additional information 110.

【0135】図16は、図15の可変長復号部107の
内部構成を示す図である。同図において、107aは形
状データ可変長復号部、107bは変換係数可変長復号
部、107cは付加情報可変長復号部、107dは動き
ベクトル可変長復号部、である。なお、110bは、付
加情報110中に含まれる符号化側の変換係数予測判定
情報31または量子化ステップサイズ32であるテクス
チャ符号化の際の符号化条件である。
FIG. 16 is a diagram showing the internal configuration of the variable length decoding unit 107 in FIG. In the figure, 107a is a shape data variable length decoding unit, 107b is a transform coefficient variable length decoding unit, 107c is an additional information variable length decoding unit, and 107d is a motion vector variable length decoding unit. Note that reference numeral 110 b denotes an encoding condition used in texture encoding, which is the transform coefficient prediction determination information 31 on the encoding side or the quantization step size 32 included in the additional information 110.

【0136】次に、図15および図16をもとに装置全
体の動作について説明する。まず、符号化ビットストリ
ーム101は、シンタックス解析部102において、形
状データ符号語103、ブロックデータ符号語104、
付加情報符号語105、動きベクトル符号語106に分
離され、それぞれ、形状データ可変長復号部107a、
変換係数可変長復号部107b、付加情報可変長復号部
107c、動きベクトル可変長復号部107dにて、可
変長復号されたのち、形状符号化データ108は形状復
号部112に、量子化変換係数データ109および各種
の付加情報110はテクスチャ復号部113に、動きベ
クトル111は動き補償部114に送られる。なお、動
き補償部114には、可変長復号部107から被復号マ
クロブロック画面内位置情報119に入力している。
Next, the operation of the entire apparatus will be described with reference to FIGS. First, the coded bit stream 101 is subjected to a shape data codeword 103, a block data codeword 104,
It is separated into an additional information codeword 105 and a motion vector codeword 106,
After being subjected to variable-length decoding by the transform coefficient variable-length decoding unit 107b, the additional information variable-length decoding unit 107c, and the motion vector variable-length decoding unit 107d, the shape encoded data 108 is sent to the shape decoding unit 112, and the quantized transform coefficient data is sent to the shape decoding unit 112. 109 and various kinds of additional information 110 are sent to the texture decoding unit 113, and the motion vector 111 is sent to the motion compensation unit 114. It should be noted that the motion compensation unit 114 inputs the decoded macroblock in-screen position information 119 from the variable length decoding unit 107.

【0137】形状復号部112は、形状符号化データ1
08を復号し、復号形状データ115として出力する。
復号形状データ115は、テクスチャ復号部113、動
き補償部114において、有効画素のみを対象にして、
テクスチャデータの復号や、動き補償を行うために用い
られる。
The shape decoding unit 112 outputs the shape encoded data 1
08 is decoded and output as decoded shape data 115.
In the texture decoding unit 113 and the motion compensation unit 114, the decoded shape data 115
It is used for decoding texture data and performing motion compensation.

【0138】テクスチャ復号部113は、量子化変換係
数データ109を付加情報110に含まれる量子化ステ
ップサイズを用いて逆量子化後、逆直交変換して、復号
予測誤差信号116を得る。復号予測誤差信号116
は、復号加算部121に送られる。
The texture decoding unit 113 inversely transforms the quantized transform coefficient data 109 using the quantization step size included in the additional information 110, and then performs inverse orthogonal transform to obtain a decoded prediction error signal 116. Decoding prediction error signal 116
Is sent to the decoding addition section 121.

【0139】動き補償部114は、被復号マクロブロッ
ク画面内位置情報119と、符号化ビットストリーム1
01から復号した動きベクトル111とに従って、メモ
リ117中の参照画像118から予測画像120を取り
出して、切替部123へ出力する。
The motion compensator 114 converts the position information 119 of the macroblock to be decoded in the picture and the encoded bit stream 1
The predicted image 120 is extracted from the reference image 118 in the memory 117 in accordance with the decoded motion vector 111 from 01 and output to the switching unit 123.

【0140】切替部123は、復号された付加情報11
0に含まれる符号化側における符号化モードを示すモー
ド指示フラグ110aに基づいて、イントラ符号化を示
している場合には、復号画像の生成に予測画像120が
不要なので、出力0の側へ切り替える一方、インター符
号化の場合には、復号画像の生成に予測画像120が必
要なので、予測画像120の出力側へ切り替えるように
する。
The switching section 123 outputs the decoded additional information 11
When the intra-encoding is indicated based on the mode instruction flag 110a indicating the encoding mode on the encoding side included in 0, the predicted image 120 is not required for generating the decoded image, and thus the output is switched to the 0 output side. On the other hand, in the case of the inter encoding, since the predicted image 120 is necessary for generating the decoded image, the output side of the predicted image 120 is switched.

【0141】復号加算部121は、付加情報110に含
まれるモード指示フラグ110aに基づいて、イントラ
符号化ブロックの場合には、テクスチャ復号部113の
出力である復号予測誤差信号116をそのまま復号画像
122として出力する一方、インター符号化ブロックの
場合には、テクスチャ復号部113の出力出力である復
号予測誤差信号116に予測画像120を加算して復号
画像122として出力する。なお、復号画像122は、
以降のVOPの復号処理において参照画像118として
用いるために、メモリ117に書き込まれる。
The decoding addition section 121 outputs the decoded prediction error signal 116 output from the texture decoding section 113 as it is to the decoded image 122 based on the mode instruction flag 110 a included in the additional information 110 in the case of an intra-coded block. On the other hand, in the case of an inter-coded block, the prediction image 120 is added to the decoded prediction error signal 116 output from the texture decoding unit 113, and the resultant is output as a decoded image 122. Note that the decoded image 122 is
The data is written to the memory 117 for use as the reference image 118 in the subsequent VOP decoding processing.

【0142】次に、本実施の形態6の最も重要な要素で
ある変換係数可変長復号部107bおよびテクスチャ復
号部113の動作について説明する。
Next, the operations of the transform coefficient variable length decoding unit 107b and the texture decoding unit 113, which are the most important elements of the sixth embodiment, will be described.

【0143】図17は、図16の変換係数可変長復号部
107bの内部構成図である。図17において、107
b1は切替部、107b2はDC係数データ復号部、1
07b3は復号DC係数、107b4はAC係数データ
符号語、107b5はVLD(Variable Length deco
ding;可変長復号化)テーブル記憶部、107b6はV
LDテーブルグループ選択部、107b7はVLDテー
ブルグループ情報、107b8は領域データ復号部、1
07b9はVLCテーブル選択情報、107b10はV
LDテーブル選択部、107b11はVLDテーブル、
107b12は復号AC係数、である。尚、VLDテー
ブル記憶部107b5には、符号化側の例えばVLCテ
ーブル記憶部4C1(図5等参照。)のVLCテーブル
グループおよびVLCテーブルと対応して、同じ内容の
VLDテーブルグループおよびVLDテーブルが記憶さ
れている。
FIG. 17 is an internal block diagram of the transform coefficient variable length decoding unit 107b of FIG. In FIG. 17, 107
b1 is a switching unit, 107b2 is a DC coefficient data decoding unit, 1
07b3 is the decoded DC coefficient, 107b4 is the AC coefficient data codeword, and 107b5 is VLD (Variable Length deco).
ding; variable length decoding) Table storage unit, 107b6 is V
LD table group selection unit, 107b7 VLD table group information, 107b8 area data decoding unit, 1
07b9 is VLC table selection information, 107b10 is V
LD table selection unit, 107b11 is a VLD table,
107b12 is a decoded AC coefficient. The VLD table storage unit 107b5 stores a VLD table group and a VLD table having the same contents, for example, corresponding to the VLC table group and the VLC table of the VLC table storage unit 4C1 (see FIG. 5 and the like) on the encoding side. Have been.

【0144】図18は、変換係数可変長復号部107b
の動作を示すフローチャートである。切替部107b1
は、付加情報110に含まれるモード指示フラグ110
aに基づいて、復号対象の符号化ブロックの符号化モー
ドがイントラ符号化であるか、あるいはインター符号化
であるかを判定し(ステップS101)、イントラ符号化
ブロックの場合には(ステップS101“イントラ”)、
ブロックデータ符号語104をDC係数データ復号部1
07b2に渡し、ブロックデータ符号語104に含まれ
るDC係数データの復号を行わせ(ステップS102)、
復号DC係数107b3として出力させ、次にAC係数
データの復号を行う。
FIG. 18 shows a transform coefficient variable length decoding section 107b.
6 is a flowchart showing the operation of the first embodiment. Switching unit 107b1
Is the mode instruction flag 110 included in the additional information 110
Based on a, it is determined whether the coding mode of the coding block to be decoded is intra coding or inter coding (step S101). If the coding mode is an intra coding block (step S101 “ Intra ”),
Block data codeword 104 is converted to DC coefficient data decoding unit 1
07b2, and decodes the DC coefficient data included in the block data codeword 104 (step S102).
It is output as the decoded DC coefficient 107b3, and then the AC coefficient data is decoded.

【0145】一方、インターモードの場合には(ステッ
プS101“インター”)、ステップS102のDC係
数データの復号処理は行わないので、AC係数データの
復号のみを行う。AC係数データは、ブロック内を複数
の領域に分けた領域毎に符号化されているので、復号の
際も領域毎に行うようにする。
On the other hand, in the case of the inter mode (“inter” in step S101), since the decoding processing of the DC coefficient data in step S102 is not performed, only the decoding of the AC coefficient data is performed. Since the AC coefficient data is encoded for each of a plurality of divided regions in the block, decoding is performed for each region.

【0146】つまり、まず、領域毎にその領域内のAC
係数データを復号するのに用いる可変長復号(以下、V
LD(Variable Length Decoding)と略する)テーブルグ
ループを選択する(ステップS103)。VLDテーブル
グループの選択は、VLDテーブルグループ選択部10
7b6が行い、領域のブロック内での位置と、符号化側
の変換係数可変長符号化部4cにおいて使用した変換係
数予測判定情報31または量子化ステップサイズ32の
テクスチャ符号化の際の符号化条件110bに基づいて
行う。
That is, first, the AC in each area is
Variable-length decoding (hereinafter referred to as V
A table group (abbreviated as LD (Variable Length Decoding)) is selected (step S103). The selection of the VLD table group is performed by the VLD table group selection unit 10.
7b6, the position of the region in the block and the coding condition for texture coding of the transform coefficient prediction determination information 31 or the quantization step size 32 used in the transform coefficient variable length coding unit 4c on the coding side. This is performed based on 110b.

【0147】変換係数予測判定情報31あるいは量子化
ステップサイズ32は、テクスチャの復号時に必要なた
め、付加情報としてブロック毎にビットストリーム10
1に多重化されているので、これを復号して使用すれば
よい。VLDテーブルグループ選択部107b6の動作
は、実施の形態1または実施の形態2で述べたVLCテ
ーブルグループ選択部4c6の動作と同じである。
Since the transform coefficient prediction determination information 31 or the quantization step size 32 is necessary at the time of texture decoding, the bit stream 10
Since they are multiplexed into 1, they can be decoded and used. The operation of VLD table group selection section 107b6 is the same as the operation of VLC table group selection section 4c6 described in the first or second embodiment.

【0148】また、符号化側では、領域内を決められた
順番でスキャンして得られた(RUN,LEVEL)データを可変
長符号化することによりAC係数データの符号化を行っ
ている。このとき、各(RUN,LEVEL)データを符号化する
のに用いる可変長符号化テーブルをVLCテーブルグル
ープ選択部4c6で選択されたVLCテーブルグループ
の中から選択している。実施の形態1または実施の形態
2で述べた変換係数可変長符号化部4cでは、各(RUN,
LEVEL)データを符号化するのに用いたVLCテーブルの
種類をVLCテーブル選択情報4c9として符号化して
いる。
On the encoding side, AC coefficient data is encoded by performing variable length encoding on (RUN, LEVEL) data obtained by scanning the area in a predetermined order. At this time, the variable length coding table used for coding each (RUN, LEVEL) data is selected from the VLC table groups selected by the VLC table group selection unit 4c6. In the transform coefficient variable length coding unit 4c described in the first or second embodiment, each (RUN,
LEVEL) The type of the VLC table used to encode the data is encoded as VLC table selection information 4c9.

【0149】そこで、本実施の形態6で述べる変換係数
可変長復号部107bにおいては、領域データ復号部1
07b8が、ブロックデータ符号語104に含まれる各
(RUN,LEVEL)データを符号化するのに用いたVLCテー
ブル選択情報107b9を復号し、このVLCテーブル
選択情報107b9をVLDテーブル選択部107b1
0へ出力する。
Therefore, in transform coefficient variable length decoding section 107b described in the sixth embodiment, area data decoding section 1
07b8 is included in each block data codeword 104.
The VLC table selection information 107b9 used for encoding the (RUN, LEVEL) data is decoded, and the VLC table selection information 107b9 is decoded by the VLD table selection unit 107b1.
Output to 0.

【0150】VLDテーブル選択部107b10では、
そのVLCテーブルグループ情報107b9に基づい
て、VLDテーブル記憶部107b5から(RUN,LEVEL)
データを復号するのに用いるVLDテーブル107b1
1を選択して、領域データ復号部107b8へ出力する
(ステップS104)。
In the VLD table selection unit 107b10,
Based on the VLC table group information 107b9, (RUN, LEVEL) is read from the VLD table storage 107b5.
VLD table 107b1 used to decrypt data
Select 1 and output to area data decoding section 107b8
(Step S104).

【0151】領域データ復号部107b8では、VLD
テーブル選択部107b10からのVLDテーブル10
7b11を用いて、領域内の(RUN,LEVEL)データを復号
する。
In the area data decoding section 107b8, the VLD
VLD table 10 from table selector 107b10
Using (7b11), the (RUN, LEVEL) data in the area is decoded.

【0152】具体的には、まず、ブロックデータ符号語
104に含まれるAC係数データ符号語107b4を、
そのVLDテーブル107b11内で探索し、対応する
(RUN,LEVEL)データが見つかった場合には、これを復号
AC係数データ107b12として出力する。
Specifically, first, the AC coefficient data codeword 107b4 included in the block data codeword 104 is
A search is made in the VLD table 107b11 and the corresponding
If (RUN, LEVEL) data is found, it is output as decoded AC coefficient data 107b12.

【0153】これに対し、対応する(RUN,LEVEL)データ
が見つからず、エスケープコードが検出された場合に
は、次に続くRUN,LEVELの固定長符号語であるAC係数
データ符号語107b4をそれぞれ固定長復号して、(R
UN,LEVEL)データを得ることができるので、これを復号
AC係数データ107b12として出力する。以上のス
テップS104〜S105の処理を領域内ですべての(RU
N,LEVEL)データを復号するまで繰り返す(ステップS1
06“No”)。
On the other hand, if the corresponding (RUN, LEVEL) data is not found and an escape code is detected, the AC coefficient data codeword 107b4, which is the next fixed-length codeword of RUN and LEVEL, is used. Fixed-length decoding and (R
UN, LEVEL) data can be obtained, and this is output as decoded AC coefficient data 107b12. The above processing of steps S104 to S105 is performed for all (RUs) in the area.
Repeat until N, LEVEL) data is decoded (step S1).
06 “No”).

【0154】そして、ある領域内のすべての(RUN,LEVE
L)データの復号が終了した場合には(ステップS106
“Yes”)、ブロック内のすべての領域に対して、ス
テップS103〜ステップS106の処理を行ったか否
かを判断し(ステップS107)、行っていない場合には
(ステップS107“No”)、ステップS103〜ス
テップS106の処理を行なう一方、行った場合には
(ステップS107“Yes”)、以上の処理を終了す
るようにする。
Then, all (RUN, LEVE) in a certain area
L) When the decoding of the data is completed (step S106)
"Yes"), it is determined whether or not the processing of steps S103 to S106 has been performed for all the areas in the block (step S107). If not (step S107 "No"), the process proceeds to step S107. While the processing of S103 to S106 is performed, if performed ("Yes" in S107), the above processing is terminated.

【0155】そして、実施の形態1で述べたように、(R
UN,LEVEL)データと、次に続く(RUN,LEVEL)データを符
号化するのに用いるVLCテーブル選択情報107b9
(NEXT)を組にした(NEXT,RUN,LEVEL)データを復号する
場合も、(RUN,LEVEL)データと、次の(RUN,LEVEL)デー
タを復号するのに用いるVLCテーブル選択情報107
b9(NEXT)とが一緒に可変長復号されること以外の基本
的な動作は同じである。
Then, as described in the first embodiment, (R
UN, LEVEL) data and VLC table selection information 107b9 used to encode the next (RUN, LEVEL) data
In the case of decoding (NEXT, RUN, LEVEL) data in which (NEXT) is combined, the (LC, RUN) data and the VLC table selection information 107 used to decode the next (RUN, LEVEL) data are also used.
The basic operation is the same except that variable length decoding is performed together with b9 (NEXT).

【0156】ブロック内のすべての領域に対して、以上
の復号処理を行い、得られた復号DC係数107b3
と、復号AC係数データ107b12の(RUN,LEVEL)に
基づいて、符号化側のスキャンと逆の処理を行うことに
より、量子化変換係数データ109を得る。なお、量子
化変換係数データ109は、テクスチャ復号部113へ
出力される。
The above decoding process is performed on all the regions in the block, and the obtained decoded DC coefficient 107b3
Then, based on (RUN, LEVEL) of the decoded AC coefficient data 107b12, a process reverse to the scan on the encoding side is performed to obtain quantized transform coefficient data 109. Note that the quantized transform coefficient data 109 is output to the texture decoding unit 113.

【0157】次に、テクスチャ復号部113の詳細構成
および動作を述べる。図19は、テクスチャ復号部11
3の内部構成図である。同図において、113aは切替
部、110b1は変換係数予測判定情報、113cは変
換係数予測部、113dは差分量子化変換係数、113
eは隣接ブロック量子化変換係数、113fは量子化変
換係数、113gは逆量子化部、113hは量子化ステ
ップ、113iはDCT係数、113jは逆DCT部、
である。また、110b1は、付加情報110に含まれ
るテクスチャ符号化の際の符号化条件110bの1つで
ある変換係数予測判定情報である。
Next, the detailed configuration and operation of the texture decoding unit 113 will be described. FIG. 19 shows the structure of the texture decoding unit 11.
3 is an internal configuration diagram of FIG. In the figure, 113a is a switching unit, 110b1 is transform coefficient prediction determination information, 113c is a transform coefficient predictor, 113d is a differential quantization transform coefficient, 113d
e is an adjacent block quantized transform coefficient, 113f is a quantized transform coefficient, 113g is an inverse quantization unit, 113h is a quantization step, 113i is a DCT coefficient, 113j is an inverse DCT unit,
It is. 110b1 is transform coefficient prediction determination information which is one of the encoding conditions 110b for texture encoding included in the additional information 110.

【0158】次に動作を説明する。まず、切替部113
aは、復号された付加情報110に含まれる変換係数予
測判定情報110b1が、変換係数予測を行うことを指
示している場合には、変換係数予測部113cにて変換
係数予測を行う。
Next, the operation will be described. First, the switching unit 113
As for a, when the transform coefficient prediction determination information 110b1 included in the decoded additional information 110 indicates that transform coefficient prediction is to be performed, the transform coefficient prediction unit 113c performs transform coefficient prediction.

【0159】変換係数予測部113cは、差分量子化変
換係数113dを受け取り、近傍ブロックの量子化変換
係数113eを加え、量子化変換係数113fを得る。
ここで、量子化DC係数の予測は、近傍のブロックの量
子化DC係数を予測値として、差分量子化DC係数に加
算することによって行われる。予測に用いるブロックの
選択は符号化側と同様に行う。
The transform coefficient predicting unit 113c receives the difference quantized transform coefficient 113d, adds the quantized transform coefficient 113e of the neighboring block, and obtains the quantized transform coefficient 113f.
Here, the prediction of the quantized DC coefficient is performed by adding the quantized DC coefficient of a nearby block as a predicted value to the differential quantized DC coefficient. Selection of a block used for prediction is performed in the same manner as on the encoding side.

【0160】また、量子化AC係数の予測は、まず、付
加情報110に含まれる変換係数予測判定情報110b
1に基づいて変換係数予測が行われたか否かを判定し、
量子化AC係数に対して変換係数予測が行われた場合に
は、符号化側と同様に近傍ブロックの量子化AC係数を
予測値として、差分量子化AC係数に加算する。
The prediction of the quantized AC coefficient is performed by first determining the transform coefficient prediction determination information 110b included in the additional information 110.
1 to determine whether or not a transform coefficient prediction has been performed,
When transform coefficient prediction is performed on the quantized AC coefficient, the quantized AC coefficient of the neighboring block is added to the differential quantized AC coefficient as a predicted value, as in the encoding side.

【0161】このようにして、変換係数予測部113c
は、量子化DC係数と、量子化AC係数とを求め、得ら
れた量子化DC係数と、量子化AC係数とを、量子化変
換係数113fとして、逆量子化部113gに出力す
る。
Thus, the transform coefficient predicting section 113c
Calculates the quantized DC coefficient and the quantized AC coefficient, and outputs the obtained quantized DC coefficient and the quantized AC coefficient to the inverse quantization unit 113g as the quantized transform coefficient 113f.

【0162】逆量子化部113gでは、付加情報110
に含まれる量子化ステップサイズ113hを用いて量子
化変換係数113fを逆量子化し、DCT係数113i
として出力し、逆DCT部113jは、そのDCT係数
113iを逆DCTして、復号予測誤差信号116とし
て出力するようにする。
In the inverse quantization unit 113g, the additional information 110
Are inversely quantized using the quantization step size 113h included in the DCT coefficient 113i.
The inverse DCT section 113j performs inverse DCT on the DCT coefficient 113i and outputs the result as a decoded prediction error signal 116.

【0163】従って、本実施の形態6によれば、符号化
側で、ブロックを複数の領域に分けて、領域毎にAC係
数データを符号化するのに用いるVLCテーブルグルー
プを各ブロックの変換係数予測判定情報あるいは量子化
ステップサイズに基づいて選択し、さらにそのVLCテ
ーブルグループの中からVLCテーブルを選択してAC
係数データ((RUN,LEVEL)データ)を符号化して、ビッ
トストリームを送信してきた場合でも、正しく復号する
ことができる。
Therefore, according to the sixth embodiment, on the encoding side, a block is divided into a plurality of regions, and a VLC table group used for encoding AC coefficient data for each region is defined as a transform coefficient of each block. The VLC table is selected based on the prediction determination information or the quantization step size.
Even when coefficient data ((RUN, LEVEL) data) is encoded and a bit stream is transmitted, decoding can be performed correctly.

【0164】実施の形態7.本実施の形態7は、実施の
形態6で述べた変換係数可変長復号部の別の実施の形態
を示すものであり、実施の形態3で述べた変換係数可変
長符号化部4cにより可変長符号化された変換係数を復
号する変換係数可変長復号部について説明する。
Embodiment 7 FIG. The seventh embodiment shows another embodiment of the transform coefficient variable length decoding unit described in the sixth embodiment. The variable length coding unit 4c described in the third embodiment performs variable length coding. The transform coefficient variable length decoding unit that decodes the encoded transform coefficients will be described.

【0165】図20は、本実施の形態7における変換係
数可変長復号部107bの内部構成図である。同図にお
いて、107b13は位置情報であり、この実施の形態
7の領域データ復号部107b8では、実施の形態6の
ようにVLCテーブル選択情報107b9(図17参
照)をVLDテーブル選択部107b10へ出力するの
ではなく、位置情報107b13を出力するようにした
ことを特徴とするものである。
FIG. 20 is an internal configuration diagram of the transform coefficient variable length decoding unit 107b according to the seventh embodiment. In the figure, reference numeral 107b13 denotes position information, and the area data decoding unit 107b8 of the seventh embodiment outputs VLC table selection information 107b9 (see FIG. 17) to the VLD table selection unit 107b10 as in the sixth embodiment. , But the position information 107b13 is output.

【0166】次に動作を説明する。なお、切替部107
b1、DC係数データ復号部107b2、VLDテーブ
ルグループ選択部107b6の動作は、実施の形態6と
同様であり、VLDテーブルグループ選択部107b6
の動作は、実施の形態3で述べた符号化側のVLCテー
ブルグループ選択部4c6と同様の処理を行えばよい。
Next, the operation will be described. The switching unit 107
The operations of b1, the DC coefficient data decoding unit 107b2, and the VLD table group selection unit 107b6 are the same as those in the sixth embodiment, and the VLD table group selection unit 107b6
May be performed in the same manner as in the VLC table group selection unit 4c6 on the encoding side described in the third embodiment.

【0167】次に、VLDテーブル選択部107b10
は、領域内のスキャンの位置により、(RUN,LEVEL)デー
タを復号するために用いるVLDテーブルを選択する。
領域内のスキャンの位置を示す位置情報107b13
は、領域データ復号部107b8より得られる。領域デ
ータ復号部107b8では、符号化側でスキャンされた
順番に(RUN,LEVEL)データを復号するので、復号された
(RUN,LEVEL)データに基づき、次の復号対象の(RUN,LE
VEL)データの位置を特定することができ、位置情報10
7b13として出力している。
Next, the VLD table selector 107b10
Selects a VLD table used to decode (RUN, LEVEL) data according to the position of the scan in the area.
Position information 107b13 indicating the position of the scan in the area
Is obtained from the area data decoding unit 107b8. The area data decoding unit 107b8 decodes the (RUN, LEVEL) data in the order of scanning on the encoding side.
Based on the (RUN, LEVEL) data, the next (RUN, LE
VEL) The position of the data can be specified, and the position information 10
7b13.

【0168】領域データ復号部107b8では、VLD
テーブル選択部107b8で選択されたVLDテーブル
107b11を用いて、(RUN,LEVEL)データを復号す
る。復号された(RUN,LEVEL)データに基づき、次の復号
対象の(RUN,LEVEL)データのスキャン位置を特定し、位
置情報107b13として、VLDテーブル選択部10
7b10へ出力するようにする。
In the area data decoding section 107b8, the VLD
The (RUN, LEVEL) data is decoded using the VLD table 107b11 selected by the table selection unit 107b8. Based on the decoded (RUN, LEVEL) data, the scan position of the next (RUN, LEVEL) data to be decoded is specified, and the position information 107b13 is used as the VLD table selecting unit 10.
7b10.

【0169】従って、本実施の形態7では、ブロックを
複数の領域に分けて、領域毎にAC係数データを符号化
するのに用いるVLCテーブルグループを選択し、選択
されたVLCテーブルグループの中から、符号化すべき
AC係数データである(RUN,LEVEL)データのスキャン位
置に基づいて、そのAC係数データを復号するのに用い
るVLDテーブルを選択するようにしたので、実施の形
態3の符号化側のように、各領域内のスキャン位置に応
じてVLCテーブルを選択して符号化したAC係数デー
タを多重化したビットストリームを送信してきた場合で
も、正しく復号することができる。
Therefore, in the seventh embodiment, a block is divided into a plurality of regions, a VLC table group used for encoding AC coefficient data is selected for each region, and a VLC table group is selected from the selected VLC table groups. Since the VLD table used to decode the AC coefficient data is selected based on the scan position of the (RUN, LEVEL) data which is the AC coefficient data to be encoded, the encoding side of the third embodiment is selected. As described above, even when a bit stream in which the AC coefficient data encoded by selecting the VLC table in accordance with the scan position in each area is transmitted, decoding can be performed correctly.

【0170】実施の形態8.本実施の形態8は、実施の
形態6または実施の形態7で述べた変換係数可変長復号
部の別の実施の形態であり、実施の形態4で述べた変換
係数可変長符号化部4cにより可変長符号化された変換
係数を復号する変換係数可変長復号部について説明す
る。
Embodiment 8 FIG. The eighth embodiment is another embodiment of the transform coefficient variable length decoding unit described in the sixth embodiment or the seventh embodiment, and is performed by the transform coefficient variable length coding unit 4c described in the fourth embodiment. A description is given of a transform coefficient variable length decoding unit that decodes transform coefficients that have been subjected to variable length coding.

【0171】図21に本実施の形態における変換係数可
変長復号部107bの内部構成図を示す。同図におい
て、107b13は領域有効/無効情報符号語、107
b14は領域有効/無効情報復号部、107b15は領
域有効/無効情報、107b16は領域有効/無効判定
部、107b17は領域データ零設定部、である。
FIG. 21 shows an internal configuration diagram of transform coefficient variable length decoding section 107b in the present embodiment. In the figure, reference numeral 107b13 denotes an area valid / invalid information codeword;
b14 is an area valid / invalid information decoding unit, 107b15 is area valid / invalid information, 107b16 is an area valid / invalid determination unit, and 107b17 is an area data zero setting unit.

【0172】図21において、動作が異なるのは、領域
有効/無効情報復号部107b14、領域有効/無効判
定部107b16、領域データ零設定部107b17で
あり、その他の構成及び動作は、実施の形態7等と同じ
であるので、以下では、領域有効/無効情報復号部10
7b14、領域有効/無効判定部107b16、領域内
AC係数零設定部107b17の動作を中心に説明す
る。
In FIG. 21, the operations differ from each other in area valid / invalid information decoding section 107b14, area valid / invalid determination section 107b16, and area data zero setting section 107b17. And so on, so that the area valid / invalid information decoding unit 10 will be described below.
7b14, the operation of the area valid / invalid determination section 107b16, and the operation of the in-area AC coefficient zero setting section 107b17 will be mainly described.

【0173】本実施の形態8では、まず、領域有効/無
効情報復号部107b14が、ブロックデータ符号語1
04に含まれる領域有効/無効情報符号語107b13
を入力して復号し、各領域内のAC係数データが符号化
されているか否かを示す領域有効/無効情報107b1
5として出力する。領域有効/無効判定部107b16
では、領域有効/無効情報復号部107b14で復号さ
れた領域有効/無効情報107b15に基づき、領域内
のAC係数データが符号化されているか否かを判定す
る。
In the eighth embodiment, first, area valid / invalid information decoding section 107b14 sets block data code word 1
04 area valid / invalid information codeword 107b13
Is input and decoded, and area valid / invalid information 107b1 indicating whether or not the AC coefficient data in each area is coded.
Output as 5. Area valid / invalid determination section 107b16
Then, based on the area valid / invalid information 107b15 decoded by the area valid / invalid information decoding unit 107b14, it is determined whether or not the AC coefficient data in the area is encoded.

【0174】ここで、領域有効/無効情報107b15
が領域内のAC係数データが符号化されていることを示
している場合、領域有効/無効判定部107b16は、
ブロックデータ符号語104に含まれるAC係数データ
符号語107b4を領域データ復号部107b8に出力
する。領域データ復号部107b8では、実施の形態7
等の場合と同様に、VLCテーブル選択情報107b9
に基づきVLDテーブル選択部107b10によって選
択されたVLDテーブル107b11を用いて、領域内
の(RUN,LEVEL)データを復号し、復号AC係数データ1
07b12として出力する。
Here, the area valid / invalid information 107b15
Indicates that the AC coefficient data in the area has been encoded, the area valid / invalid determination unit 107b16
It outputs AC coefficient data codeword 107b4 included in block data codeword 104 to area data decoding section 107b8. In the area data decoding unit 107b8, the seventh embodiment
And the like, the VLC table selection information 107b9
(RUN, LEVEL) data in the area is decoded using the VLD table 107b11 selected by the VLD table selection unit 107b10 based on
Output as 07b12.

【0175】これに対し、領域有効/無効情報107b
15が領域スキップ、すなわち領域内のAC係数データ
が符号化されていないことを示している場合、領域有効
/無効判定部107b16は、領域データ零設定部10
7b17に指令を送り、領域データ零設定部107b1
7は、領域内のAC係数をすべて零に設定して、復号A
C係数データ107b12として出力する。
On the other hand, the area valid / invalid information 107b
15 indicates that the area is skipped, that is, that the AC coefficient data in the area is not encoded, the area valid / invalid determination unit 107b16 sets the area data zero setting unit 10
7b17, and the area data zero setting unit 107b1
7 sets all the AC coefficients in the area to zero, and
Output as C coefficient data 107b12.

【0176】従って、本実施の形態8では、符号化側
で、符号量を少なくするため、ある領域内のAC係数デ
ータを符号化せず、それを示す領域有効/無効情報10
7b15を符号化ビットストリームに多重化するように
してきた場合でも、受信した符号化ビットストリーム中
の領域有効/無効情報107b15を復号すると共に、
ブロック内の領域毎にAC係数データが零か否かを判定
し、領域内のAC係数がすべて零を示している場合に
は、その領域内のAC係数データの符号化を行わないよ
うにしたため、実施の形態4の符号化側のように、領域
有効/無効情報107b15を多重化した符号化ビット
ストリームを送信してた場合でも、正しく復号すること
ができる。
Therefore, in the eighth embodiment, in order to reduce the code amount on the encoding side, the AC coefficient data in a certain area is not encoded, and the area valid / invalid information 10 indicating the same is not encoded.
7b15 is multiplexed into the coded bit stream, the area valid / invalid information 107b15 in the received coded bit stream is decoded, and
It is determined whether or not the AC coefficient data is zero for each area in the block, and when all the AC coefficients in the area indicate zero, encoding of the AC coefficient data in the area is not performed. As in the case of the encoding side of the fourth embodiment, even when an encoded bit stream in which the area valid / invalid information 107b15 is multiplexed is transmitted, decoding can be performed correctly.

【0177】実施の形態9.本実施の形態9は、実施の
形態6〜8で述べた変換係数可変長復号部の領域データ
復号部の別の実施の形態を示すものであり、実施の形態
5で述べた変換係数可変長符号化部4cにより可変長符
号化された変換係数を復号する変換係数可変長復号部に
ついて説明する。
Embodiment 9 FIG. The ninth embodiment shows another embodiment of the area data decoding unit of the transform coefficient variable length decoding unit described in the sixth to eighth embodiments, and the transform coefficient variable length described in the fifth embodiment. The transform coefficient variable length decoding unit that decodes the transform coefficient that has been subjected to the variable length coding by the coding unit 4c will be described.

【0178】図22は、本実施の形態9における領域デ
ータ復号部107b8の内部構成図である。同図におい
て、107b81はVLDテーブル探索部、107b8
2はエスケープコード、107b83は変換フラグ判定
部、107b84は復号変換AC係数、107b85は
変換係数逆変換部、107b86は変換係数固定長復号
部、107b87は変換AC係数符号語、である。
FIG. 22 is an internal configuration diagram of the area data decoding unit 107b8 according to the ninth embodiment. In the figure, 107b81 is a VLD table search unit, 107b8
2 is an escape code, 107b83 is a conversion flag determination unit, 107b84 is a decoded conversion AC coefficient, 107b85 is a conversion coefficient inverse conversion unit, 107b86 is a conversion coefficient fixed length decoding unit, and 107b87 is a conversion AC coefficient codeword.

【0179】次に動作を説明する。この領域データ復号
部107b8では、VLDテーブル選択部107b10
(図21参照。)によって選択されたVLDテーブル1
07b11を用いて、領域内の(RUN,LEVEL)データを復
号する。
Next, the operation will be described. In the area data decoding unit 107b8, the VLD table selecting unit 107b10
(See FIG. 21.) VLD table 1 selected by
Using (07b11), the (RUN, LEVEL) data in the area is decoded.

【0180】その際、領域データ復号部107b8で
は、まず、VLDテーブル探索部107b81がブロッ
クデータ符号語104に含まれるAC係数データ符号語
107b4に対応する(RUN,LEVEL)データを、VLDテ
ーブル選択部107b10からのVLDテーブル107
b11内で探索し、対応する(RUN,LEVEL)データが見つ
かった場合には、これを復号AC係数データ107b1
2として出力する。
At this time, in the area data decoding section 107b8, first, the VLD table search section 107b81 converts the (RUN, LEVEL) data corresponding to the AC coefficient data codeword 107b4 included in the block data codeword 104 into the VLD table selection section. VLD table 107 from 107b10
b11, and when the corresponding (RUN, LEVEL) data is found, this is decoded AC coefficient data 107b1.
Output as 2.

【0181】これに対し、AC係数データ符号語107
b4に対応する(RUN,LEVEL)が見つからず、エスケープ
コード107b82が検出された場合、領域データ復号
部107b8のVLDテーブル探索部107b81は、
エスケープコード107b82と、その後に続くAC係
数データ符号語107b4とを、変換フラグ判定部10
7b83に出力し、変換フラグ判定部107b83で
は、エスケープコード107b82の後に続く変換フラ
グを判定する。
On the other hand, AC coefficient data codeword 107
When (RUN, LEVEL) corresponding to b4 is not found and the escape code 107b82 is detected, the VLD table search unit 107b81 of the area data decoding unit 107b8 sets
The escape code 107b82 and the subsequent AC coefficient data codeword 107b4 are
7b83, and the conversion flag determination unit 107b83 determines the conversion flag following the escape code 107b82.

【0182】ここで、変換フラグがLEVELまたはRUNが変
換されていることを示す場合、変換フラグ判定部107
b83は、変換フラグの次に続く変換AC係数符号語1
07b87をVLDテーブル探索部107b81に戻す
ようにする。
If the conversion flag indicates that LEVEL or RUN has been converted, the conversion flag determination unit 107
b83 is a conversion AC coefficient codeword 1 following the conversion flag
07b87 is returned to the VLD table search unit 107b81.

【0183】VLDテーブル探索部107b81は、変
換AC係数符号語107b87をVLDテーブル107
b11により可変長復号し、復号変換AC係数107b
84として、変換係数逆変換部107b85へ出力す
る。変換係数逆変換部107b85では、復号変換AC
係数107b84に対して、実施の形態4で述べた符号
化装置の変換係数変換部4c103(図14参照。)の
処理とは逆の処理を施して、復号AC係数データ107
b12を得るようにする。
The VLD table search section 107b81 converts the converted AC coefficient codeword 107b87 into the VLD table 107b.
b11, performs variable length decoding and decode conversion AC coefficient 107b
As 84, it is output to the transform coefficient inverse transform unit 107b85. In transform coefficient inverse transform section 107b85, decoding transform AC
The coefficient 107b84 is subjected to a process reverse to the process of the transform coefficient conversion unit 4c103 (see FIG. 14) of the encoding apparatus described in the fourth embodiment, and the decoded AC coefficient data 107 is processed.
b12 is obtained.

【0184】また、変換フラグが、RUN,LEVELがそれぞ
れ固定長符号化されていることを示す場合、変換フラグ
判定部107b83は、AC係数データ符号語107b
4を変換係数固定長復号部107b86へ出力する。変
換係数固定長復号部107b86は、変換フラグの次に
続くRUN,LEVELの固定長符号語を固定長復号して、復号
AC係数データ107b12を得る。以下同様に、領域
内のすべての(RUN,LEVEL)データを復号するまで、以上
の処理を繰り返すようにする。
If the conversion flag indicates that RUN and LEVEL are each fixed-length coded, conversion flag determination section 107b83 outputs AC coefficient data codeword 107b.
4 is output to the transform coefficient fixed length decoding section 107b86. The conversion coefficient fixed-length decoding unit 107b86 performs fixed-length decoding on the RUN and LEVEL fixed-length codewords following the conversion flag to obtain decoded AC coefficient data 107b12. Similarly, the above process is repeated until all (RUN, LEVEL) data in the area is decoded.

【0185】そして、ブロック内のすべての領域に対し
て、以上の復号処理を行い、得られた復号DC係数10
7b3と、復号AC係数データ107b12とに基づい
て、符号化側のスキャンの順とは逆の順に並べて出力す
ることにより、復号された量子化変換係数データ109
となる。この復号量子化変換係数データは109は、テ
クスチャ復号部113(図15参照。)へ出力される。
The above decoding process is performed on all the areas in the block, and the obtained decoded DC coefficient 10
7b3 and the decoded AC coefficient data 107b12, and output by arranging them in the reverse order of the scan order on the encoding side, so that the decoded quantized transform coefficient data 109
Becomes The decoded quantized transform coefficient data 109 is output to the texture decoding unit 113 (see FIG. 15).

【0186】なお、実施の形態6で述べたように、(RU
N,LEVEL)データと次に続く(RUN,LEVEL)データを符号
化するのに用いたVLCテーブル選択情報107b9(N
EXT)を組にした(NEXT,RUN,LEVEL)データを復号する場
合も基本的な動作は同じである。
As described in the sixth embodiment, (RU
(N, LEVEL) data and VLC table selection information 107b9 (N
The basic operation is the same when decoding (NEXT, RUN, LEVEL) data that is a set of (EXT).

【0187】従って、本実施の形態9では、符号化側
で、領域毎に選択されたVLCテーブルを用いて領域内
のAC係数データを可変長符号化する際に、VLCテー
ブル内に符号化すべきAC係数データに対応する符号語
が存在しない場合、そのAC係数データを変換して再び
VLCテーブルにより符号化したAC係数データを含む
ビットストリームに多重化するようにしてきた場合で
も、変換フラグ判定部107b83によりそのような符
号化側のAC係数データを変換を判定して、領域データ
復号部107b8では符号化側と逆の処理を行うように
したため、実施の形態5の符号化側のように、エスケー
プコードによりAC係数データを変換して多重化した符
号化ビットストリームを送信してた場合でも、正しく復
号することができる。
Therefore, in the ninth embodiment, when the coding side performs variable length coding of AC coefficient data in a region using a VLC table selected for each region, the coding should be performed in the VLC table. If there is no code word corresponding to the AC coefficient data, even if the AC coefficient data is converted and multiplexed again into a bit stream including the AC coefficient data encoded by the VLC table, the conversion flag determination unit The conversion of the AC coefficient data on the encoding side is determined by 107b83, and the processing opposite to that on the encoding side is performed in the area data decoding unit 107b8. Therefore, as in the encoding side of the fifth embodiment, Even when an encoded bit stream obtained by converting AC coefficient data using an escape code and multiplexing the same is transmitted, decoding can be performed correctly.

【0188】[0188]

【発明の効果】以上、説明したように本発明では、ブロ
ックを複数の領域に分けて、領域毎に、ブロック内での
領域の位置と量子化の際の符号化条件に応じて、VLC
テーブルグループを選択し、さらにその選択されたVL
Cテーブルグループの中からVLCテーブルを選択し
て、変換係数を可変長符号化することができるため、よ
り少ない符号量で変換係数を符号化することが可能とな
る。 また、領域の位置と量子化の際の符号化条件によ
り、領域内で切り替えるVLCテーブルグループを選択
しておくことにより、切り替えるVLCテーブルを示す
情報を符号化するのに必要な符号量を削減することがで
きる。
As described above, according to the present invention, a block is divided into a plurality of regions, and the VLC is determined for each region in accordance with the position of the region in the block and the encoding conditions at the time of quantization.
Select a table group and select the selected VL
Since the VLC table can be selected from the C table group and the transform coefficient can be subjected to variable length coding, the transform coefficient can be coded with a smaller code amount. In addition, by selecting a VLC table group to be switched in the region based on the position of the region and the encoding conditions at the time of quantization, the amount of code required to encode information indicating the VLC table to be switched is reduced. be able to.

【0189】また、次の発明では、選択されたVLCテ
ーブルグループの中からVLCテーブルを選択する際
に、領域内のスキャン位置に応じて選択することによ
り、付加情報として、切り替えるVLCテーブルを示す
情報をビットストリームに多重化する必要がなく、VL
Cテーブルの切り替えに必要な付加情報の符号量を削減
できるという効果が得られる。
In the next invention, when a VLC table is selected from the selected VLC table group, the VLC table is selected according to the scan position in the area, and as additional information, information indicating the VLC table to be switched Need not be multiplexed into the bit stream, and VL
The effect that the code amount of the additional information required for switching the C table can be reduced is obtained.

【0190】さらに、次の発明では、領域毎に領域内の
量子化変換係数が零であるかを判定し、領域内の係数が
すべて零である領域については、その領域が無効である
ことの情報を符号化し、領域内に零ではない係数がある
領域については、その係数を符号化するのに用いたVL
Cテーブルを示す情報を符号化することにより、従来、
符号化モードによって異なるビットストリームの構造を
共通にすることができ、復号装置において、シンタック
ス解析のための回路を簡単にすることができるという効
果が得られる。
Further, in the next invention, it is determined whether or not the quantized transform coefficient in the area is zero for each area. If the coefficient in the area is all zero, it is determined that the area is invalid. For regions where information is encoded and there are non-zero coefficients in the region, the VL used to encode the coefficients
Conventionally, by encoding the information indicating the C table,
The structure of different bit streams can be made common depending on the encoding mode, and an effect is obtained that a circuit for syntax analysis can be simplified in the decoding device.

【0191】また、次の発明では、AC係数データの可
変長符号化を行う際に、符号化するAC係数データに対
応するデータがVLCテーブルになかった場合、AC係
数データを変換し、変換したAC係数データをもとに再
びVLCテーブルを探索し、可変長符号化することによ
り、圧縮効率を高める効果が得られる。
In the next invention, when performing variable length encoding of AC coefficient data, if there is no data corresponding to the AC coefficient data to be encoded in the VLC table, the AC coefficient data is converted and converted. By searching the VLC table again based on the AC coefficient data and performing variable length coding, an effect of increasing the compression efficiency can be obtained.

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

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

【図2】 この発明の実施の形態1による可変長符号化
部の内部構成を示すブロック図である。
FIG. 2 is a block diagram showing an internal configuration of a variable length coding unit according to Embodiment 1 of the present invention.

【図3】 この発明の実施の形態1によるテクスチャ符
号化部の内部構成を示すブロック図である。
FIG. 3 is a block diagram showing an internal configuration of a texture encoding unit according to Embodiment 1 of the present invention.

【図4】 この発明の実施の形態1による変数係数予測
の説明図である。
FIG. 4 is an explanatory diagram of variable coefficient prediction according to the first embodiment of the present invention.

【図5】 この発明の実施の形態1による変換係数可変
長符号化部4cの内部構成を示すブロック図である。
FIG. 5 is a block diagram showing an internal configuration of a transform coefficient variable length coding unit 4c according to Embodiment 1 of the present invention.

【図6】 この発明の実施の形態1による変換係数可変
長符号化部4cの動作の様子を示すフローチャートであ
る。
FIG. 6 is a flowchart showing the operation of the transform coefficient variable length coding unit 4c according to the first embodiment of the present invention.

【図7】 この発明の実施の形態1によるAC係数デー
タを符号化する単位となる領域を説明する図である。
FIG. 7 is a diagram illustrating an area serving as a unit for encoding AC coefficient data according to the first embodiment of the present invention.

【図8】 この発明の実施の形態1によるVLCテーブ
ルグループを説明する図である。
FIG. 8 is a diagram illustrating a VLC table group according to the first embodiment of the present invention.

【図9】 この発明の実施の形態2による変換係数可変
長符号化部4cの内部構成を示すブロック図である。
FIG. 9 is a block diagram showing an internal configuration of a transform coefficient variable length coding unit 4c according to a second embodiment of the present invention.

【図10】 この発明の実施の形態3による変換係数可
変長符号化部4cの内部構成を示すブロック図である。
FIG. 10 is a block diagram showing an internal configuration of a transform coefficient variable length coding unit 4c according to Embodiment 3 of the present invention.

【図11】 この発明の実施の形態4による変換係数可
変長符号化部4cの内部構成を示すブロック図である。
FIG. 11 is a block diagram showing an internal configuration of a transform coefficient variable length coding unit 4c according to a fourth embodiment of the present invention.

【図12】従来のMPEG-4におけるマクロブロックデータ
構造を説明する図である。
FIG. 12 is a diagram illustrating a macroblock data structure in the conventional MPEG-4.

【図13】 この発明の実施の形態4におけるマクロブ
ロックデータ構造を説明する図である。
FIG. 13 is a diagram illustrating a macroblock data structure according to a fourth embodiment of the present invention.

【図14】 この発明の実施の形態5による領域データ
符号化部の内部構成を示すブロック図である。
FIG. 14 is a block diagram showing an internal configuration of an area data encoding unit according to Embodiment 5 of the present invention.

【図15】 この発明の実施の形態6による動画像復号
装置の構成を示すブロック図である。
FIG. 15 is a block diagram showing a configuration of a video decoding device according to Embodiment 6 of the present invention.

【図16】 この発明の実施の形態6による可変長復号
部の内部構成を示すブロック図である。
FIG. 16 is a block diagram showing an internal configuration of a variable length decoding unit according to Embodiment 6 of the present invention.

【図17】 この発明の実施の形態6による変換係数可
変長復号部の内部構成を示すブロック図である。
FIG. 17 is a block diagram showing an internal configuration of a transform coefficient variable length decoding unit according to Embodiment 6 of the present invention.

【図18】 この発明の実施の形態6による変換係数可
変長復号部の動作の様子を示すフローチャートである。
FIG. 18 is a flowchart showing an operation of a transform coefficient variable length decoding unit according to Embodiment 6 of the present invention.

【図19】 この発明の実施の形態6によるテクスチャ
復号部の内部構成を示すブロック図である。
FIG. 19 is a block diagram showing an internal configuration of a texture decoding unit according to Embodiment 6 of the present invention.

【図20】 この発明の実施の形態7による変換係数可
変長復号部の内部構成を示すブロック図である。
FIG. 20 is a block diagram showing an internal configuration of a transform coefficient variable length decoding unit according to Embodiment 7 of the present invention.

【図21】 この発明の実施の形態8による変換係数可
変長復号部の内部構成を示すブロック図である。
FIG. 21 is a block diagram showing an internal configuration of a transform coefficient variable length decoding unit according to Embodiment 8 of the present invention.

【図22】 この発明の実施の形態9による領域データ
復号部の内部構成を示すブロック図である。
FIG. 22 is a block diagram showing an internal configuration of an area data decoding unit according to Embodiment 9 of the present invention.

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

1 入力形状データ、2 形状符号化部、3 形状符号
化データ、4 可変長符号化部、5 多重化部、6 局
所復号形状データ、7 入力テクスチャデータ、8 イ
ントラ/インター判定部、9 モード指示フラグ、10
動き検出部、11 動きベクトル、12 動き補償
部、13 予測画像信号、14 予測誤差信号、15
被符号化画像信号、16 テクスチャ符号化部、17
量子化変換係数データ、18 テクスチャ局所復号部、
19 局所復号予測誤差信号、20局所復号画像信号、
21 切替部、22 参照画像信号、23 メモリ、2
4形状データ符号語、25 付加情報符号語、26 ブ
ロックデータ符号語、27動きベクトル符号語、28
符号化ビットストリーム、29 形状データ可変長符号
化部、30 付加情報可変長符号化部4c 変換係数可
変長符号化部442 動きベクトル可変長符号化部、1
6a ブロックデータ抽出部、16b ブロックデー
タ、16c DCT部、16d DCT係数、16e
量子化部、16f 量子化変換係数、16g 変換係数
予測部、42 変換係数予測判定情報、43 切替部、
44 DC係数データ符号化部、45 AC係数デー
タ、4c5 DC係数符号語、4c6 VLCテーブル
グループ選択部、4c7 VLCテーブルグループ情
報、4c8 VLCテーブル選択部、4c9 VLCテ
ーブル選択情報107b9、4c10 領域データ符号
化部、4c11 AC係数符号語、26 ブロックデー
タ符号語、54 量子化ステップサイズ、55 符号化
条件、4c12 領域データ有効/無効判定部、4c1
3 領域有効/無効情報、4c14 領域有効/無効情
報符号化部、4c15 領域有効/無効情報符号語、6
0 VLCテーブル探索部、4c102 エスケープコ
ード、4c103 変換係数変換部、4c104 変換
AC係数データ、4c105 変換フラグ、4c106
変換係数固定長復号部、101 符号化ビットストリ
ーム、102 シンタックス解析部、103 形状デー
タ符号語、104 ブロックデータ符号語、105 付
加情報符号語、106 動きベクトル符号語、107
可変長復号部、108 形状符号化データ、109 量
子化変換係数データ、110 付加情報、111 動き
ベクトル、112 形状復号部、113 テクスチャ復
号部、114 動き補償部、115 復号形状データ、
116 復号予測誤差信号、117 メモリ、118
参照画像、119 被復号マクロブロック画面内位置情
報、120 予測画像、121 復号加算部、122
復号画像、123 切替部、110a モード指示フラ
グ、107a 形状データ可変長復号部、107b 変
換係数可変長復号部、107c 付加情報可変長復号
部、107d 動きベクトル可変長復号部、107b1
切替部、107b2 DC係数データ復号部、107
b3 復号DC係数、107b4 AC係数データ符号
語、110b 符号化条件、107b6 VLDテーブ
ルグループ選択部、107b7 VLDテーブルグルー
プ情報、107b8 領域データ復号部、107b9
VLCテーブル選択情報107b9、107b10 V
LDテーブル選択部、107b11 VLDテーブル、
107b12 領域データ復号部、107b12 復号
AC係数、113a 切替部、110b1 変換係数予
測判定情報、113c 変換係数予測部、113d 差
分量子化変換係数、113e 隣接ブロック量子化変換
係数、113f 量子化変換係数、113g 逆量子化
部、113h 量子化ステップ、113i DCT係
数、113j 逆DCT部、107b13 位置情報、
107b 領域有効/無効情報符号語、107b14
領域有効/無効情報復号部、107b15 領域有効/
無効情報、107b16領域有効/無効判定部、107
b17 領域データ零設定部、107b81 VLDテ
ーブル探索部、107b82 エスケープコード、10
7b83 変換フラグ判定部、107b84 復号変換
AC係数、107b85 変換係数逆変換部、107b
86 変換係数固定長復号部、107b87 変換AC
係数符号語。
1 input shape data, 2 shape coding units, 3 shape coding data, 4 variable length coding units, 5 multiplexing units, 6 locally decoded shape data, 7 input texture data, 8 intra / inter determination unit, 9 mode instruction Flags, 10
Motion detector, 11 motion vector, 12 motion compensator, 13 predicted image signal, 14 prediction error signal, 15
Encoded image signal, 16 Texture encoding unit, 17
Quantized transform coefficient data, 18 texture local decoding unit,
19 locally decoded prediction error signal, 20 locally decoded image signal,
21 switching unit, 22 reference image signal, 23 memory, 2
4 shape data codeword, 25 additional information codeword, 26 block data codeword, 27 motion vector codeword, 28
Coded bit stream, 29 shape data variable length coding unit, 30 additional information variable length coding unit 4c transform coefficient variable length coding unit 442 motion vector variable length coding unit, 1
6a block data extraction section, 16b block data, 16c DCT section, 16d DCT coefficient, 16e
Quantization unit, 16f quantization conversion coefficient, 16g conversion coefficient prediction unit, 42 conversion coefficient prediction determination information, 43 switching unit,
44 DC coefficient data coding unit, 45 AC coefficient data, 4c5 DC coefficient codeword, 4c6 VLC table group selection unit, 4c7 VLC table group information, 4c8 VLC table selection unit, 4c9 VLC table selection information 107b9, 4c10 Area data coding Section, 4c11 AC coefficient codeword, 26 block data codeword, 54 quantization step size, 55 coding condition, 4c12 area data valid / invalidity determination section, 4c1
3 area valid / invalid information, 4c14 area valid / invalid information coding unit, 4c15 area valid / invalid information codeword, 6
0 VLC table search unit, 4c102 escape code, 4c103 conversion coefficient conversion unit, 4c104 conversion AC coefficient data, 4c105 conversion flag, 4c106
Transform coefficient fixed length decoding unit, 101 encoded bit stream, 102 syntax analysis unit, 103 shape data codeword, 104 block data codeword, 105 additional information codeword, 106 motion vector codeword, 107
Variable length decoding unit, 108 shape encoded data, 109 quantized transform coefficient data, 110 additional information, 111 motion vector, 112 shape decoding unit, 113 texture decoding unit, 114 motion compensation unit, 115 decoded shape data,
116 decoded prediction error signal, 117 memory, 118
Reference picture, 119 Decoded macroblock screen position information, 120 Predicted picture, 121 Decoding adder, 122
Decoded image, 123 switching unit, 110a mode instruction flag, 107a shape data variable length decoding unit, 107b transform coefficient variable length decoding unit, 107c additional information variable length decoding unit, 107d motion vector variable length decoding unit, 107b1
Switching section, 107b2 DC coefficient data decoding section, 107
b3 decoded DC coefficient, 107b4 AC coefficient data codeword, 110b encoding condition, 107b6 VLD table group selector, 107b7 VLD table group information, 107b8 area data decoder, 107b9
VLC table selection information 107b9, 107b10 V
LD table selector, 107b11 VLD table,
107b12 area data decoding unit, 107b12 decoded AC coefficient, 113a switching unit, 110b1 conversion coefficient prediction determination information, 113c conversion coefficient prediction unit, 113d differential quantization conversion coefficient, 113e adjacent block quantization conversion coefficient, 113f quantization conversion coefficient, 113g Inverse quantization unit, 113h quantization step, 113i DCT coefficient, 113j inverse DCT unit, 107b13 position information,
107b area valid / invalid information codeword, 107b14
Area valid / invalid information decoding unit, 107b15 Area valid / invalid
Invalid information, 107b16 area valid / invalid judgment unit, 107
b17 area data zero setting unit, 107b81 VLD table search unit, 107b82 escape code, 10
7b83 Conversion flag determination unit, 107b84 Decoding conversion AC coefficient, 107b85 Conversion coefficient inverse conversion unit, 107b
86 conversion coefficient fixed length decoding unit, 107b87 conversion AC
Coefficient codeword.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 浅井 光太郎 東京都千代田区丸の内二丁目2番3号 三 菱電機株式会社内 (72)発明者 西川 博文 東京都千代田区丸の内二丁目2番3号 三 菱電機株式会社内 (72)発明者 黒田 慎一 東京都千代田区丸の内二丁目2番3号 三 菱電機株式会社内 (72)発明者 長谷川 由里 東京都千代田区丸の内二丁目2番3号 三 菱電機株式会社内 Fターム(参考) 5C059 MA00 MA05 MA23 MB02 MB14 MB16 MC01 MC11 MC32 MC34 MC38 ME01 ME05 ME13 ME15 NN01 NN28 PP04 PP16 RC38 TA47 TA50 TB07 TC04 TC06 TC27 TC42 TD05 UA02 UA05 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Kotaro Asai 2-3-2 Marunouchi, Chiyoda-ku, Tokyo Mitsui Electric Co., Ltd. (72) Inventor Hirofumi Nishikawa 2-3-2 Marunouchi, Chiyoda-ku, Tokyo Rishi Electric Co., Ltd. (72) Shinichi Kuroda, Inventor 2-3-2 Marunouchi, Chiyoda-ku, Tokyo Sanishi Electric Co., Ltd. (72) Yuri Hasegawa 2-3-2, Marunouchi, Chiyoda-ku, Tokyo Mitsuishi F term (reference) in Denki Co., Ltd. 5C059 MA00 MA05 MA23 MB02 MB14 MB16 MC01 MC11 MC32 MC34 MC38 ME01 ME05 ME13 ME15 NN01 NN28 PP04 PP16 RC38 TA47 TA50 TB07 TC04 TC06 TC27 TC42 TD05 UA02 UA05

Claims (18)

【特許請求の範囲】[Claims] 【請求項1】 入力画像信号をブロック単位で変換およ
び量子化して量子化変換係数を生成し、該量子化変換係
数を前記ブロック内の所定領域毎に可変長符号化テーブ
ルにより可変長符号化して符号化ビットストリームを生
成する動画像符号化装置において、 予めグループ分けされた複数の可変長符号化テーブル群
と、 前記複数の可変長符号化テーブル群のうちから1つの可
変長符号化テーブルグループを選択する可変長符号化テ
ーブルグループ選択手段と、 前記選択されたグループの可変長符号化テーブルを使用
して前記量子化変換係数を可変長符号化し、前記選択さ
れたグループの可変長符号化テーブルを示す情報を含む
符号化ビットストリームを生成する符号化ビットストリ
ーム生成手段と、 を備えたことを特徴とする動画像符号化装置。
An input image signal is transformed and quantized in units of blocks to generate quantized transform coefficients, and the quantized transform coefficients are subjected to variable-length coding by a variable-length coding table for each predetermined area in the block. In a moving picture coding apparatus that generates a coded bit stream, a plurality of variable-length coding tables that are grouped in advance, and one variable-length coding table group among the plurality of variable-length coding tables are A variable-length coding table group selecting means for selecting, and using the variable-length coding table of the selected group, the variable-length coding of the quantized transform coefficient is performed, and the variable-length coding table of the selected group is converted. Encoding bit stream generation means for generating an encoded bit stream including information indicating Location.
【請求項2】 複数の可変長符号化テーブル群は、量子
化の際の符号化条件に基づいて予めグループ分けされた
ものであり、 可変長符号化テーブルグループ選択手段は、量子化の際
の符号化条件に基づいて可変長符号化テーブルグループ
を選択することを特徴とする請求項1記載の動画像符号
化装置。
2. A method according to claim 1, wherein the plurality of variable length coding table groups are grouped in advance based on coding conditions at the time of quantization. 2. The moving picture coding apparatus according to claim 1, wherein a variable length coding table group is selected based on a coding condition.
【請求項3】 可変長符号化テーブル群は、ブロック間
で量子化変換係数の差分を算出する変換係数予測の有無
に基づいてグループ分けされた複数の可変長符号化テー
ブルからなり、 可変長符号化テーブルグループ選択手段は、前記変換係
数予測の有無に基づいて前記複数の可変長符号化テーブ
ル群のうちから対応する可変長符号化テーブルグループ
を選択し、 符号化ビットストリーム生成手段は、選択されたグルー
プの可変長符号化テーブルを示す情報として前記変換係
数予測の有無を示す情報を含む符号化ビットストリーム
を生成することを特徴とする請求項1記載の動画像符号
化装置。
3. The variable length coding table group includes a plurality of variable length coding tables grouped based on the presence or absence of a transform coefficient prediction for calculating a difference between quantized transform coefficients between blocks. Encoding table group selecting means selects a corresponding variable length encoding table group from the plurality of variable length encoding table groups based on the presence or absence of the transform coefficient prediction, and the encoded bit stream generating means is selected. 2. The moving picture coding apparatus according to claim 1, wherein an encoded bit stream including information indicating the presence / absence of said transform coefficient prediction is generated as information indicating a variable length coding table of said group.
【請求項4】 可変長符号化テーブル群は、量子化ステ
ップサイズに応じてグループ分けされた複数の可変長符
号化テーブルからなり、 可変長符号化テーブルグループ選択手段は、前記量子化
ステップサイズに基づいて前記複数の可変長符号化テー
ブル群のうちから対応する可変長符号化テーブルグルー
プを選択し、 符号化ビットストリーム生成手段は、選択されたグルー
プの可変長符号化テーブルを示す情報として前記量子化
ステップサイズの情報を含む符号化ビットストリームを
生成することを特徴とする請求項1記載の動画像符号化
装置。
4. A variable-length coding table group includes a plurality of variable-length coding tables grouped according to a quantization step size. And selecting a corresponding variable length coding table group from the plurality of variable length coding table groups based on the plurality of variable length coding table groups. 2. The moving image encoding apparatus according to claim 1, wherein an encoded bit stream including information on an encoding step size is generated.
【請求項5】 さらに、可変長符号化テーブルグループ
選択手段によって選択された可変長符号化テーブルグル
ープのうちから、前記量子化変換係数の領域内での位置
に基づいて可変長符号化テーブルを切替える可変長符号
化テーブル切替手段を有することを特徴とする請求項1
〜4記載の動画像符号化装置。
5. The variable length coding table is switched based on the position of the quantized transform coefficient in the area from among the variable length coding table groups selected by the variable length coding table group selecting means. 2. A variable length coding table switching means, comprising:
5. The moving picture coding apparatus according to any one of claims 1 to 4.
【請求項6】 さらに、前記量子化変換係数を可変長符
号化する際、各領域内の量子化変換係数がすべて零であ
る場合を無効領域、領域内に零ではない係数がある場合
を有効領域と判断する領域データ有効/無効判定手段を
有し、 符号化ビットストリーム生成手段は、前記領域データ有
効/無効判定手段によって有効領域と判定された場合に
は、選択した可変長符号化テーブルにより領域内の量子
化変換係数を符号化してその際に使用した可変長符号化
テーブルを示す情報を含む符号化ビットストリームを生
成する一方、無効領域であると判定された場合には、そ
の領域が無効であることを示す情報を含む符号化ビット
ストリームを生成することを特徴とする請求項1〜5い
ずれかに記載の動画像符号化装置。
6. The variable-length coding of the quantized transform coefficients, wherein an invalid area means that all quantized transform coefficients in each area are zero, and an effective area means that there is a non-zero coefficient in each area. A region data validity / invalidity determining unit for determining the region; and a coded bit stream generating unit, based on the selected variable length encoding table, when the region data valid / invalidity determining unit determines that the region is valid. While encoding the quantized transform coefficients in the area and generating an encoded bit stream including information indicating the variable length encoding table used at that time, if the area is determined to be an invalid area, the area is determined to be invalid. The moving picture coding apparatus according to claim 1, wherein a coded bit stream including information indicating invalidity is generated.
【請求項7】 符号化ビットストリーム生成手段は、量
子化変換係数を可変長符号化する際、対応する符号語が
可変長符号化テーブルに無い場合には、当該対応する符
号語のない量子化変換係数を所定の方法により可変長符
号化テーブルに含まれる値になるように変換すると共
に、その変換後の量子化変換係数を前記可変長テーブル
により可変長符号化して、前記変換方法を示す情報を含
む符号化ビットストリームを生成することを特徴とする
請求項1〜6のいずれかに記載の動画像符号化装置。
7. The variable-length coding of a quantized transform coefficient, when a corresponding codeword is not present in a variable-length coding table, the coded bitstream generating means performs quantization without the corresponding codeword. The conversion coefficient is converted to a value included in the variable length coding table by a predetermined method, and the quantized conversion coefficient after the conversion is variable length coded by the variable length table to obtain information indicating the conversion method. The moving picture coding apparatus according to any one of claims 1 to 6, wherein the moving picture coding apparatus generates a coded bit stream including:
【請求項8】 符号化ビットストリームを入力してその
符号化ビットストリームに含まれているブロック毎に可
変長符号化された符号化データを可変長復号して量子化
変換係数を復元し、該量子化変換係数を逆量子化、逆変
換して画像信号を復号する動画像復号装置において、 グループ分けされた複数の可変長復号テーブル群と、 前記符号化ビットストリームから符号化側で用いた可変
長符号化テーブルグループを示す情報を復号し、前記可
変長復号テーブル群の中から該可変長符号化テーブルグ
ループ情報に基づいて可変長復号テーブルグループを選
択する可変長復号テーブルグループ選択手段と、 前記選択されたグループの可変長復号テーブルを使用し
て前記符号化データを可変長復号して前記量子化変換係
数を復元する量子化変換係数復元手段と、 を備えたことを特徴とする動画像復号装置。
8. A coded bit stream is input, and coded data subjected to variable length coding for each block included in the coded bit stream is subjected to variable length decoding to restore a quantized transform coefficient. In a moving picture decoding apparatus for decoding an image signal by inversely quantizing and inversely transforming a quantized transform coefficient, a plurality of variable length decoding tables grouped into groups, and a variable length decoding table used on the encoding side from the encoded bit stream. A variable-length decoding table group selecting unit that decodes information indicating the long-length coding table group and selects a variable-length decoding table group from the variable-length decoding table group based on the variable-length coding table group information; Quantized transform coefficient for restoring the quantized transform coefficient by performing variable length decoding of the encoded data using the variable length decoding table of the selected group A moving image decoding apparatus comprising: a restoration unit.
【請求項9】 複数の可変長復号テーブル群は、量子化
の際の符号化条件に基づいて予めグループ分けされたも
のであり、 可変長復号テーブルグループ選択手段は、符号化ビット
ストリームから符号化側で用いた可変長符号化テーブル
グループを示す情報として、量子化の際の符号化条件を
示す情報を復号し、この量子化の際の符号化条件に基づ
いて可変長復号テーブルグループを選択することを特徴
とする請求項8記載の動画像復号化装置。
9. The variable length decoding table group is pre-grouped based on encoding conditions at the time of quantization, and the variable length decoding table group selecting means encodes the encoded bit stream from an encoded bit stream. As information indicating the variable-length coding table group used on the side, information indicating an encoding condition at the time of quantization is decoded, and a variable-length decoding table group is selected based on the encoding condition at the time of quantization. 9. The moving picture decoding apparatus according to claim 8, wherein:
【請求項10】 前記可変長復号テーブル群は、ブロッ
ク間で量子化変換係数の差分を算出する変換係数予測の
有無に基づいてグループ分けされた複数の可変長復号テ
ーブルからなり、 前記可変長復号テーブルグループ選択手段は、符号化ビ
ットストリームから符号化側で用いた可変長符号化テー
ブルグループを示す情報として、量子化変換係数予測の
有無を示す情報を復号し、その量子化変換係数予測の有
無を示す情報に基づいて、可変長復号テーブルグループ
を選択することを特徴とする請求項8記載の動画像復号
装置。
10. The variable-length decoding table group includes a plurality of variable-length decoding tables grouped based on the presence or absence of a transform coefficient prediction for calculating a difference between quantized transform coefficients between blocks. The table group selecting means decodes, from the coded bit stream, information indicating the presence or absence of a quantized transform coefficient prediction as information indicating the variable length coding table group used on the encoding side, and determines whether or not the quantized transform coefficient prediction is performed. 9. The moving picture decoding apparatus according to claim 8, wherein a variable length decoding table group is selected based on information indicating.
【請求項11】 前記可変長復号テーブル群は、量子化
ステップサイズに基づいてグループ分けされた複数の可
変長復号テーブルからなり、 前記可変長復号テーブルグループ選択手段は、符号化ビ
ットストリームから符号化側で用いた可変長符号化テー
ブルグループを示す情報として、量子化ステップサイズ
を復号し、復号した量子化ステップサイズに基づいて、
可変長復号テーブルグループを選択することを特徴とす
る請求項8記載の動画像復号装置。
11. The variable-length decoding table group includes a plurality of variable-length decoding tables grouped based on a quantization step size, and the variable-length decoding table group selecting unit encodes a variable-length decoding table from an encoded bit stream. As information indicating the variable length coding table group used on the side, decoding the quantization step size, based on the decoded quantization step size,
9. The moving picture decoding apparatus according to claim 8, wherein a variable length decoding table group is selected.
【請求項12】 さらに、前記量子化変換係数復元手段
は、前記可変長復号テーブルグループ選択手段で選択さ
れた可変長復号テーブルグループ内の複数の可変長復号
テーブルを切り替えて量子化変換係数を復号する際に、
前記量子化変換係数の領域内での位置に基づいて可変長
復号テーブルを切り替える可変長復号テーブル選択手段
を、を有することを特徴とする請求項8〜11のいずれ
かに記載の動画像復号装置。
12. The quantized transform coefficient restoring means decodes the quantized transform coefficient by switching a plurality of variable length decoding tables in the variable length decoding table group selected by the variable length decoding table group selecting means. When doing
The moving picture decoding apparatus according to any one of claims 8 to 11, further comprising: a variable length decoding table selecting unit that switches a variable length decoding table based on a position of the quantized transform coefficient in a region. .
【請求項13】 量子化変換係数復元手段は、領域内の
量子化変換係数がすべて零である場合には、領域が無効
であることを示し、零ではない量子化変換係数が一つ以
上ある場合には、領域内の各量子化変換係数を復号する
ために用いる可変長復号テーブルを示す可変長符号化テ
ーブル選択情報を復号し、復号した可変長符号化テーブ
ル選択情報に基づいて、領域が無効であるかを判断する
判断手段と、 前記判断手段によって領域が無効であると判断された場
合には、その領域内の量子化変換係数をすべて零に設定
する量子化変換係数零設定手段と、 を有することを特徴とする請求項8〜12いずれかに記
載の動画像復号装置。
13. The quantized transform coefficient restoring means, when all the quantized transform coefficients in the region are zero, indicates that the region is invalid, and there is one or more quantized transform coefficients that are not zero. In this case, the variable length coding table selection information indicating the variable length decoding table used to decode each quantized transform coefficient in the region is decoded, and the region is determined based on the decoded variable length coding table selection information. Determining means for determining whether or not the area is invalid; and quantizing transform coefficient zero setting means for setting all quantized transform coefficients in the area to zero when the area is determined to be invalid by the determining means. The moving picture decoding apparatus according to any one of claims 8 to 12, comprising:
【請求項14】 さらに、符号化ビットストリームから
符号化側において量子化変換係数を所定の方法により変
換したことを示す情報を復号したか否かを判断する判断
手段と、 前記判断手段によって前記変換したことを情報を復号し
たと判断された場合は、前記量子化変換係数の復元の
際、前記可変長復号テーブルにより復号し、その後、前
記所定の方法の変換とは逆の処理を行って前記変換前の
量子化変換係数に復元する手段と、 を有することを特徴とする請求項8〜13のいずれかに
記載の動画像復号装置。
14. A judging means for judging whether or not information indicating that a quantized transform coefficient has been converted by a predetermined method on an encoding side from an encoded bit stream has been decoded, and If it is determined that the information has been decoded, the decoding is performed using the variable-length decoding table when the quantized transform coefficient is restored, and then a process reverse to the conversion of the predetermined method is performed. 14. The moving picture decoding apparatus according to claim 8, further comprising: means for restoring a quantized transform coefficient before transform.
【請求項15】 入力画像信号をブロック単位で変換お
よび量子化して量子化変換係数を作成し、該量子化変換
係数を前記ブロック内の所定領域毎に定められた可変長
符号化テーブルにより可変長符号化して符号化ビットス
トリームを生成する動画像符号化方法において、 グループ分けされた複数の可変長符号化テーブル群の中
から、可変長符号化テーブルグループを選択し、その選
択したグループの可変長符号化テーブルを使用して、前
記量子化変換係数を可変長符号化し、選択された可変長
符号化テーブルを示す情報を含む符号化ビットストリー
ムを生成することを特徴とする動画像符号化方法。
15. A quantized transform coefficient is created by transforming and quantizing an input image signal on a block basis, and the quantized transform coefficient is converted into a variable length code by a variable length coding table defined for each predetermined area in the block. In the moving picture coding method of coding to generate a coded bit stream, a variable length coding table group is selected from a plurality of grouped variable length coding tables, and the variable length of the selected group is selected. A moving image encoding method, comprising: encoding a quantized transform coefficient with a variable length using an encoding table; and generating an encoded bit stream including information indicating the selected variable length encoding table.
【請求項16】 グループ分けされた複数の可変長符号
化テーブル群の中から、可変長符号化テーブルグループ
を選択する際、量子化の際の符号化条件に基づいて選択
すると共に、選択された可変長符号化テーブルを示す情
報として前記量子化の際の符号化条件の情報を含む符号
化ビットストリームを生成することを特徴とする請求項
15記載の動画像符号化方法。
16. When selecting a variable length coding table group from a plurality of grouped variable length coding tables, the variable length coding table group is selected based on a coding condition at the time of quantization. 16. The moving image encoding method according to claim 15, wherein an encoded bit stream including information on encoding conditions at the time of the quantization is generated as information indicating a variable length encoding table.
【請求項17】 符号化ビットストリームを入力してそ
の符号化ビットストリームに含まれているブロック毎に
可変長符号化された符号化データを可変長復号して量子
化変換係数を復元し、該量子化変換係数を逆量子化、逆
変換して画像信号を復号する動画像復号方法において、 前記量子化変換係数の復元の際、前記符号化ビットスト
リームから符号化側で用いた可変長符号化テーブルグル
ープを示す情報を復号し、グループ分けされた複数の可
変長復号テーブル群の中から前記可変長符号化テーブル
グループ情報に基づいて可変長復号テーブルグループを
選択し、その選択したグループの可変長復号テーブルを
使用して前記符号化データを可変長復号して前記量子化
変換係数を復元することを特徴とする動画像復号方法。
17. A coded bit stream is input, and coded data subjected to variable length coding for each block included in the coded bit stream is subjected to variable length decoding to restore quantized transform coefficients. In a moving picture decoding method for inversely quantizing and inversely transforming a quantized transform coefficient to decode an image signal, when restoring the quantized transform coefficient, the variable-length coding used on the encoding side from the encoded bit stream. Decoding information indicating a table group, selecting a variable length decoding table group from the plurality of grouped variable length decoding table groups based on the variable length coding table group information, and selecting a variable length of the selected group. A moving picture decoding method, characterized in that the encoded data is variable-length decoded using a decoding table to restore the quantized transform coefficients.
【請求項18】 量子化変換係数の復元の際、符号化側
で用いた可変長符号化テーブルグループを示す情報とし
て、前記符号化ビットストリームから量子化の際の符号
化条件の情報を復号し、その量子化の際の符号化条件の
情報に基づいて可変長復号テーブルグループを選択する
ことを特徴とする請求項17記載の動画像復号方法。
18. When restoring a quantized transform coefficient, information of a coding condition at the time of quantization is decoded from the coded bit stream as information indicating a variable length coding table group used on the coding side. 18. The moving picture decoding method according to claim 17, wherein a variable length decoding table group is selected based on information on an encoding condition at the time of the quantization.
JP17550398A 1998-06-23 1998-06-23 Moving picture coding apparatus, moving picture coding method, moving picture decoding apparatus, and moving picture decoding method Pending JP2000013794A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17550398A JP2000013794A (en) 1998-06-23 1998-06-23 Moving picture coding apparatus, moving picture coding method, moving picture decoding apparatus, and moving picture decoding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17550398A JP2000013794A (en) 1998-06-23 1998-06-23 Moving picture coding apparatus, moving picture coding method, moving picture decoding apparatus, and moving picture decoding method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2003276576A Division JP4388771B2 (en) 2003-07-18 2003-07-18 Moving picture decoding apparatus and moving picture decoding method

Publications (1)

Publication Number Publication Date
JP2000013794A true JP2000013794A (en) 2000-01-14

Family

ID=15997193

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17550398A Pending JP2000013794A (en) 1998-06-23 1998-06-23 Moving picture coding apparatus, moving picture coding method, moving picture decoding apparatus, and moving picture decoding method

Country Status (1)

Country Link
JP (1) JP2000013794A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6491751B1 (en) 1998-09-18 2002-12-10 Texas Industries, Inc. Method for manufacturing cement using a raw material mix including finely ground steel slag
EP1158809A3 (en) * 2000-05-17 2003-03-12 Samsung Electronics Co. Ltd. Variable length coding
JP2003324355A (en) * 2002-05-07 2003-11-14 Sony Corp Encoding method and apparatus, decoding method and apparatus, program and recording medium
WO2006011197A1 (en) * 2004-07-27 2006-02-02 Mitsubishi Denki Kabushiki Kaisha Coded data re-encoder, its decoder, and program
JP2008042942A (en) * 2007-09-18 2008-02-21 Sony Corp Encoding method
US7796690B2 (en) 2002-10-10 2010-09-14 Sony Corporation Video-information encoding method and video-information decoding method
JP2012085367A (en) * 2006-04-07 2012-04-26 Microsoft Corp Quantization adjustment based on texture level
WO2012077349A1 (en) * 2010-12-09 2012-06-14 パナソニック株式会社 Image encoding method and image decoding method
US8711925B2 (en) 2006-05-05 2014-04-29 Microsoft Corporation Flexible quantization
US8897359B2 (en) 2008-06-03 2014-11-25 Microsoft Corporation Adaptive quantization for enhancement layer video coding
JP2016213735A (en) * 2015-05-12 2016-12-15 日本電信電話株式会社 Code amount estimation method, video encoding device, and code amount estimation program

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6491751B1 (en) 1998-09-18 2002-12-10 Texas Industries, Inc. Method for manufacturing cement using a raw material mix including finely ground steel slag
EP1158809A3 (en) * 2000-05-17 2003-03-12 Samsung Electronics Co. Ltd. Variable length coding
US6919828B2 (en) 2000-05-17 2005-07-19 Samsung Electronics Co., Ltd. Variable length coding and decoding methods and apparatuses using plural mapping tables
JP2003324355A (en) * 2002-05-07 2003-11-14 Sony Corp Encoding method and apparatus, decoding method and apparatus, program and recording medium
US8467454B2 (en) 2002-10-10 2013-06-18 Sony Corporation Video-information encoding method and video-information decoding method
US9204145B2 (en) 2002-10-10 2015-12-01 Sony Corporation Video-information encoding method and video-information decoding method
US7796690B2 (en) 2002-10-10 2010-09-14 Sony Corporation Video-information encoding method and video-information decoding method
US8160135B2 (en) 2002-10-10 2012-04-17 Sony Corporation Video-information encoding method and video-information decoding method
US9979966B2 (en) 2002-10-10 2018-05-22 Sony Corporation Video-information encoding method and video-information decoding method
US8170100B2 (en) 2002-10-10 2012-05-01 Sony Corporation Video-information encoding method and video-information decoding method
US8189658B2 (en) 2002-10-10 2012-05-29 Sony Corporation Video-information encoding method and video-information decoding method
US8494044B2 (en) 2002-10-10 2013-07-23 Sony Corporation Video-information encoding method and video-information decoding method
US8428139B2 (en) 2002-10-10 2013-04-23 Sony Corporation Video-information encoding method and video-information decoding method
US8467446B2 (en) 2002-10-10 2013-06-18 Sony Corporation Video-information encoding method and video-information decoding method
US8494043B2 (en) 2002-10-10 2013-07-23 Sony Corporation Video-information encoding method and video-information decoding method
US8472518B2 (en) 2002-10-10 2013-06-25 Sony Corporation Video-information encoding method and video-information decoding method
US8477837B2 (en) 2002-10-10 2013-07-02 Sony Corporation Video-information encoding method and video-information decoding method
WO2006011197A1 (en) * 2004-07-27 2006-02-02 Mitsubishi Denki Kabushiki Kaisha Coded data re-encoder, its decoder, and program
US8767822B2 (en) 2006-04-07 2014-07-01 Microsoft Corporation Quantization adjustment based on texture level
JP2012085367A (en) * 2006-04-07 2012-04-26 Microsoft Corp Quantization adjustment based on texture level
US8711925B2 (en) 2006-05-05 2014-04-29 Microsoft Corporation Flexible quantization
US9967561B2 (en) 2006-05-05 2018-05-08 Microsoft Technology Licensing, Llc Flexible quantization
JP2008042942A (en) * 2007-09-18 2008-02-21 Sony Corp Encoding method
US8897359B2 (en) 2008-06-03 2014-11-25 Microsoft Corporation Adaptive quantization for enhancement layer video coding
US9185418B2 (en) 2008-06-03 2015-11-10 Microsoft Technology Licensing, Llc Adaptive quantization for enhancement layer video coding
US9571840B2 (en) 2008-06-03 2017-02-14 Microsoft Technology Licensing, Llc Adaptive quantization for enhancement layer video coding
US10306227B2 (en) 2008-06-03 2019-05-28 Microsoft Technology Licensing, Llc Adaptive quantization for enhancement layer video coding
WO2012077349A1 (en) * 2010-12-09 2012-06-14 パナソニック株式会社 Image encoding method and image decoding method
JP2016213735A (en) * 2015-05-12 2016-12-15 日本電信電話株式会社 Code amount estimation method, video encoding device, and code amount estimation program

Similar Documents

Publication Publication Date Title
JP6605063B2 (en) Moving picture decoding apparatus, moving picture decoding method, moving picture encoding apparatus, and moving picture encoding method
US5946043A (en) Video coding using adaptive coding of block parameters for coded/uncoded blocks
US8582903B2 (en) Efficient macroblock header coding for video compression
KR100878827B1 (en) Modeling method for compressing / decompressing coding information of an image signal
US7474699B2 (en) Moving picture encoding/transmission system, moving picture encoding/transmission method, and encoding apparatus, decoding apparatus, encoding method decoding method and program usable for the same
US20060153294A1 (en) Inter-layer coefficient coding for scalable video coding
US20040136457A1 (en) Method and system for supercompression of compressed digital video
US20050036759A1 (en) Efficient motion vector coding for video compression
US20030108099A1 (en) Picture encoding method and apparatus, picture decoding method and apparatus and furnishing medium
KR20040106401A (en) Signal encoding method, signal decoding method, signal encoding device, signal decoding device, signal encoding program, and signal decoding program
US20040028129A1 (en) Picture encoding method and apparatus, picture decoding method and apparatus and furnishing medium
KR20040098631A (en) Adaptive universal variable length codeword coding for digital video content
JP2000013794A (en) Moving picture coding apparatus, moving picture coding method, moving picture decoding apparatus, and moving picture decoding method
JP4388771B2 (en) Moving picture decoding apparatus and moving picture decoding method
JP4661973B2 (en) Moving picture encoding apparatus and moving picture decoding apparatus
JP2006333500A (en) Moving picture encoding apparatus, moving picture decoding apparatus, moving picture encoding method, moving picture decoding method
Ostermann Efficient encoding of binary shapes using MPEG-4
JP4661992B2 (en) Moving picture encoding apparatus and moving picture decoding apparatus