JPH10136363A - Compressed data decoder and compressed data decoding method - Google Patents

Compressed data decoder and compressed data decoding method

Info

Publication number
JPH10136363A
JPH10136363A JP29054996A JP29054996A JPH10136363A JP H10136363 A JPH10136363 A JP H10136363A JP 29054996 A JP29054996 A JP 29054996A JP 29054996 A JP29054996 A JP 29054996A JP H10136363 A JPH10136363 A JP H10136363A
Authority
JP
Japan
Prior art keywords
inverse
decoding
quantization
memory
variable length
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
JP29054996A
Other languages
Japanese (ja)
Inventor
Shuji Abe
修司 阿部
Shinji Yamadadera
真司 山田寺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP29054996A priority Critical patent/JPH10136363A/en
Publication of JPH10136363A publication Critical patent/JPH10136363A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PROBLEM TO BE SOLVED: To accelerate decoding by performing inverse quantization and inverse zigzag scanning transformation for only nonzero coefficients of a low frequency of generation in quantized DCT coefficients as an object and writing the result in a memory initialized to 0 beforehand. SOLUTION: An inverse quantization/inverse scanning conversion part 22 does not performs the inverse quantization and the inverse scanning conversion to a 0 coefficient outputted from a variable length decoding part 21, performs the inverse quantization and the inverse scanning conversion with only the nonzero coefficients as the object and writes the result in the memory 23. The memory 23 is entirely initialized to 0 by a memory initialization part 24 at the time of starting the decoding of a block and the inverse quantization result of the nonzero coefficients is written in the area of an address obtained by the inverse scanning conversion. When the write of the inverse quantization result is ended, an inverse DCT processing is performed to the DCT coefficient of the block, the decoding of the next block is started after the inverse DCT processing and the memory 23 is initialized to 0 again by the memory initialization part 24.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、スキャン変換、量
子化、可変長符号化によって得た圧縮データを復号する
圧縮データ復号装置および圧縮データ復号方法に関す
る。
[0001] 1. Field of the Invention [0002] The present invention relates to a compressed data decoding apparatus and a compressed data decoding method for decoding compressed data obtained by scan conversion, quantization, and variable length coding.

【0002】[0002]

【従来の技術】近年、画像のディジタル処理が普及して
きている。ディジタル画像データを圧縮符号化する方式
としては、JPEG(Joint Photographic Coding Expe
rts Group)またはMPEG(Motion Picture Experts g
roup) 等の符号化方式が採用される。
2. Description of the Related Art In recent years, digital processing of images has become widespread. As a method for compressing and encoding digital image data, JPEG (Joint Photographic Coding Expe
rts Group) or MPEG (Motion Picture Experts g
roup).

【0003】図10はMPEG規格の復号器の構成を示
すブロック図である。このMPEG復号器において、入
力端子1より入力されたMPEGの符号化データは入力
バッファ2に一旦蓄えられる。VLD部3は、入力バッ
ファ2内の符号化データを順次可変長復号し、その中の
動きベクトル情報、量子化情報等を逆量子化部5および
フレームメモリ10に出力し、ブロックの符号化データ
を逆スキャン変換部4へ出力する。
FIG. 10 is a block diagram showing a configuration of a decoder conforming to the MPEG standard. In this MPEG decoder, MPEG encoded data input from the input terminal 1 is temporarily stored in the input buffer 2. The VLD unit 3 sequentially performs variable-length decoding on the encoded data in the input buffer 2, outputs motion vector information, quantization information, and the like therein to the inverse quantization unit 5 and the frame memory 10, and outputs the encoded data of the block. Is output to the inverse scan conversion unit 4.

【0004】逆スキャン変換部4は入力された1次元の
ブロックデータを、逆スキャン変換テーブル8を参照し
て例えば8×8画素の2次元のブロックデータに並び替
える。逆量子化部5はVLD部3より入力される量子化
情報と量子化テーブル9を用いて、逆スキャン変換部4
から入力されるデータ(復号された量子化DCT係数)
を逆量子化する。逆量子化されたデータは逆DCT部6
で逆DCΤ処理が施されて加算器7へ出力される。
The reverse scan conversion unit 4 rearranges the input one-dimensional block data into, for example, two-dimensional block data of 8 × 8 pixels with reference to the reverse scan conversion table 8. The inverse quantization unit 5 uses the quantization information input from the VLD unit 3 and the quantization table 9 to perform the inverse scan conversion unit 4.
Input from (decoded quantized DCT coefficients)
Is inversely quantized. The inversely quantized data is supplied to an inverse DCT unit 6
Are subjected to inverse DCΤ processing and output to the adder 7.

【0005】加算器7は、逆DCT部6より出力された
8×8画素のブロックデータと、動きベクトル情報を基
にフレームメモリ10内の参照画像データから読み出さ
れた予測ブロックデータとを加算し、その結果をフレー
ムメモリ10に書き込む。フレームメモリ10からは復
号画像が表示順序で出力される。
The adder 7 adds the block data of 8 × 8 pixels output from the inverse DCT section 6 to the prediction block data read from the reference image data in the frame memory 10 based on the motion vector information. Then, the result is written into the frame memory 10. The decoded images are output from the frame memory 10 in the display order.

【0006】次にJPEG規格の復号器について図11
を用いて説明する。このJPEG復号器において、入力
端子11より入力されたJPEGの符号化データは、ま
ずVLD部12で可変長復号され、逆量子化部13で量
子化テーブル16を参照して逆量子化される。逆量子化
後のデータは、逆スキャン変換部14で逆スキャン変換
テーブル17を基に逆スキャン変換されて8×8画素の
2次元のブロックデータに並び替えられ、逆DCT部1
5で逆DCT処理された後、出力される。
Next, FIG. 11 shows a JPEG standard decoder.
This will be described with reference to FIG. In this JPEG decoder, JPEG encoded data input from an input terminal 11 is first subjected to variable length decoding by a VLD unit 12 and inversely quantized by an inverse quantization unit 13 with reference to a quantization table 16. The inversely quantized data is subjected to inverse scan conversion by the inverse scan conversion unit 14 based on the inverse scan conversion table 17 and rearranged into two-dimensional block data of 8 × 8 pixels.
5, after being subjected to inverse DCT processing.

【0007】なお、図11では、逆量子化後に逆スキャ
ン変換を行っているが、逆量子化テーブルの値を予め逆
スキャン変換後の順序に並び替えておくことによって、
逆スキャン変換後、逆量子化を行っても構わない。
In FIG. 11, the inverse scan conversion is performed after the inverse quantization, but the values in the inverse quantization table are rearranged in advance to the order after the inverse scan conversion.
After inverse scan conversion, inverse quantization may be performed.

【0008】一般に自然画では、例えば図12の符号化
と復号の処理例に示すように、量子化された後のDCΤ
係数に0の係数が多く現れる。そこで、8×8画素の2
次元のブロックデータをジグザグスキャン変換によって
1次元に並び替え、0係数の連続数とその後に続く非0
係数を組み合わせて1つの符号語として可変長符号化を
行っている。
In general, in a natural image, for example, as shown in the encoding and decoding processing examples in FIG.
Many 0 coefficients appear in the coefficients. Therefore, 2 of 8 × 8 pixels
Dimensional block data is rearranged into one dimension by zigzag scan conversion.
The variable length coding is performed as one code word by combining the coefficients.

【0009】また、量子化された後のDCΤ係数の高周
波成分には0係数が特に多く現れることから、高周波成
分に非0係数が存在しない場合には、最後の非0係数の
直後にEOB(End of Block)のコードを付けて可変長
符号化を終了している。
[0009] Further, since 0 coefficients appear particularly frequently in the high-frequency component of the DCΤ coefficient after quantization, if there is no non-zero coefficient in the high-frequency component, EOB ( End of Block), and the variable length coding is terminated.

【0010】このような符号化データの復号は、前述し
たように、符号語の可変長復号、逆スキャン変換、逆量
子化によって行われる。ここで、逆スキャン変換及び逆
量子化は、量子化された一つ一つのDCT係数に対して
順番に行われ、例えば1ブロックが8×8画素の場合、
逆スキャン変換及び逆量子化の処理を計64個のDCΤ
係数に対して行う必要があった。したがって、このこと
が圧縮データの復号の高速化を図るうえで大きな障害と
なっていた。
As described above, such encoded data is decoded by variable-length decoding of a codeword, inverse scan conversion, and inverse quantization. Here, the inverse scan transform and the inverse quantization are sequentially performed on each quantized DCT coefficient. For example, when one block is 8 × 8 pixels,
Inverse scan conversion and inverse quantization are performed for a total of 64 DC
Needed to be done for coefficients. Therefore, this has been a major obstacle in increasing the speed of decoding the compressed data.

【0011】[0011]

【発明が解決しようとする課題】このように、圧縮符号
化データを復号する際の逆スキャン変換及び逆量子化
は、1ブロック分のすべてのDCT係数に対して順次無
条件に行っており、このことが圧縮データの復号を高速
化するうえでの障害となっていた。
As described above, the inverse scan conversion and the inverse quantization at the time of decoding the compressed and encoded data are performed unconditionally sequentially for all DCT coefficients of one block. This has been an obstacle to speeding up the decoding of the compressed data.

【0012】本発明はこのような課題を解決するための
もので、圧縮データを復号する際の逆スキャン変換及び
逆量子化の処理回数を低減して、復号の高速化を実現す
ることのできる圧縮データ復号装置および圧縮データ復
号方法の提供を目的としている。
The present invention has been made to solve such a problem, and it is possible to reduce the number of times of inverse scan conversion and inverse quantization when decoding compressed data, thereby realizing high-speed decoding. It is an object of the present invention to provide a compressed data decoding device and a compressed data decoding method.

【0013】[0013]

【課題を解決するための手段】上記目的を達成するため
に、本発明の圧縮データ復号装置は、請求項1に記載さ
れるように、ジグザグスキャン、量子化、及び可変長符
号化を通じて圧縮されたデータを復号する装置におい
て、圧縮データを可変長復号する可変長復号手段と、可
変長復号手段より出力されたデータのうち非0係数を対
する逆量子化及び逆ジグザグスキャン変換を行う逆量子
化・逆スキャン変換手段と、逆量子化・逆スキャン変換
手段の出力が書き込まれるメモリ手段と、メモリ手段を
逆量子化・逆スキャン変換手段の出力が書き込まれる前
に0に初期化するメモリ初期化手段とを具備することを
特徴とする。
To achieve the above object, a compressed data decoding apparatus according to the present invention is characterized in that it is compressed through zigzag scanning, quantization and variable length coding. Length decoding means for decoding the compressed data in variable length, and inverse quantization for performing inverse quantization and inverse zigzag scan conversion on non-zero coefficients in the data output from the variable length decoding means in the apparatus for decoding the compressed data. A reverse scan conversion unit, a memory unit to which the output of the reverse quantization / reverse scan conversion unit is written, and a memory initialization for initializing the memory unit to 0 before the output of the reverse quantization / reverse scan conversion unit is written Means.

【0014】また、本発明の圧縮データ復号装置は、請
求項2に記載されるように、ジグザグスキャン、量子
化、可変長符号化の順序で圧縮されたデータを復号する
装置において、圧縮データを可変長復号する可変長復号
手段と、可変長復号手段より出力されたデータのうち非
0係数に対する逆量子化を行う逆量子化手段と、逆量子
化手段によって逆量子化された非0係数に対する逆ジグ
ザグスキャン変換を行う逆スキャン変換手段と、逆スキ
ャン変換手段の出力が書き込まれるメモリ手段と、メモ
リ手段を逆スキャン変換手段の出力が書き込まれる前に
0に初期化するメモリ初期化手段とを具備することを特
徴とする。
According to a second aspect of the present invention, there is provided a compressed data decoding apparatus for decoding compressed data in the order of zigzag scan, quantization, and variable length encoding. Variable length decoding means for performing variable length decoding, inverse quantization means for performing inverse quantization on non-zero coefficients in data output from the variable length decoding means, and non-zero coefficients which have been inversely quantized by the inverse quantization means. Reverse scan conversion means for performing reverse zigzag scan conversion; memory means for writing the output of the reverse scan conversion means; and memory initialization means for initializing the memory means to 0 before the output of the reverse scan conversion means is written. It is characterized by having.

【0015】さらに、本発明の圧縮データ復号装置は、
請求項4に記載されるように、量子化、ジグザグスキャ
ン、可変長符号化の順序で圧縮されたデータを復号する
装置において、圧縮データを可変長復号する可変長復号
手段と、可変長復号手段より出力されたデータのうち非
0係数に対する逆ジグザグスキャン変換を行う逆スキャ
ン変換手段と、逆スキャン変換手段によって逆ジグザグ
スキャン変換された非0係数に対する逆量子化を行う逆
量子化手段と、逆量子化手段の出力が書き込まれるメモ
リ手段と、メモリ手段を逆量子化手段の出力が書き込ま
れる前に0に初期化するメモリ初期化手段とを具備する
ことを特徴とする。
Further, the compressed data decoding apparatus of the present invention
As described in claim 4, in an apparatus for decoding data compressed in the order of quantization, zigzag scan, and variable length encoding, variable length decoding means for variable length decoding compressed data, and variable length decoding means An inverse scan conversion unit for performing an inverse zigzag scan conversion on the non-zero coefficient in the data output from the data, an inverse quantization unit for performing an inverse quantization on the non-zero coefficient subjected to the inverse zigzag scan conversion by the inverse scan conversion unit, It is characterized by comprising memory means to which the output of the quantization means is written, and memory initialization means for initializing the memory means to 0 before the output of the inverse quantization means is written.

【0016】圧縮データを可変長復号して得た量子化さ
れたブロックデータのDCT係数は、0係数の連続数と
その後に続く非0係数から構成される。本発明において
は、そのブロックデータのDCT係数の中の非0係数だ
けを対象に逆量子化と逆ジグザグスキャン変換を行って
その結果を予め0に初期化されたメモリ手段に書き込む
ことで、ブロックデータの復号に要する処理回数を最小
限に抑えることが可能となる。
The DCT coefficients of the quantized block data obtained by performing variable length decoding on the compressed data are composed of a continuous number of 0 coefficients followed by non-zero coefficients. In the present invention, inverse quantization and inverse zigzag scan conversion are performed on only the non-zero coefficients among the DCT coefficients of the block data, and the result is written in a memory means which has been initialized to 0 in advance. It is possible to minimize the number of processes required for decoding data.

【0017】非0係数だけを対象に逆量子化と逆ジグザ
グスキャン変換を行うためには、その非0係数の対する
量子化テーブル、逆ジグザグスキャン変換テーブルの参
照先のアドレスを、例えばブロック復号開始からの係数
の数をカウントする手段によって生成すればよい。
In order to perform inverse quantization and inverse zigzag scan conversion only on the non-zero coefficient, the address of the reference destination of the quantization table and the inverse zigzag scan conversion table for the non-zero coefficient is set, for example, by starting block decoding. It may be generated by means for counting the number of coefficients from.

【0018】また、請求項3、請求項5に記載されるよ
うに、メモリ手段を予め0に初期化する手段として、デ
ータが書き込まれたメモリ手段のアドレス情報をアドレ
ス記憶手段にて記憶し、メモリ手段にデータが書き込ま
れる前に、アドレス記憶手段に記憶されたアドレス情報
に基づいてメモリ手段の該当する領域を0に初期化する
と共にアドレス記憶手段の内容を消去するようにしても
よい。
As means for initializing the memory means to 0 in advance, the address information of the memory means in which data has been written is stored in the address storage means. Before data is written to the memory means, a corresponding area of the memory means may be initialized to 0 based on the address information stored in the address storage means, and the contents of the address storage means may be erased.

【0019】[0019]

【発明の実施の形態】以下、本発明を実施する場合の形
態について図面に基づいて説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0020】図1は本実施形態の圧縮データ復号装置の
構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of the compressed data decoding apparatus according to this embodiment.

【0021】同図に示すように、この圧縮データ復号装
置は、可変長復号部(VLD)21、逆量子化・逆スキ
ャン変換部22、メモリ23、メモリ初期化部24から
構成される。
As shown in FIG. 1, the compressed data decoding apparatus comprises a variable length decoding (VLD) 21, an inverse quantization / inverse scan converter 22, a memory 23, and a memory initialization unit 24.

【0022】可変長復号部(VLD)21は、量子化、
可変長符号化、スキャン変換によって圧縮されたデータ
を入力し、その入力データに対する可変長復号を行って
0係数の連続数とそれに続く非0係数を出力する。
The variable length decoding unit (VLD) 21 performs quantization,
Data compressed by variable-length coding and scan conversion is input, and variable-length decoding is performed on the input data to output a continuous number of 0 coefficients and a subsequent non-zero coefficient.

【0023】逆量子化・逆スキャン変換部22は、可変
長復号部(VLD)21より出力された0係数に対する
逆量子化と逆スキャン変換は行わず、非0係数のみを対
象に逆量子化と逆スキャン変換を行って、その結果をメ
モリ23に書き込む。
The inverse quantization / inverse scan conversion unit 22 does not perform inverse quantization and inverse scan conversion on the 0 coefficient output from the variable length decoding unit (VLD) 21, but performs inverse quantization only on the non-zero coefficient. And performs reverse scan conversion, and writes the result to the memory 23.

【0024】メモリ23はブロックの復号開始時にメモ
リ初期化部24によってすべて0に初期化されており、
逆スキャン変換によって求められたアドレスの領域に非
0係数の逆量子化結果が書き込まれる。
The memory 23 has been all initialized to 0 by the memory initialization unit 24 at the start of decoding a block.
The inverse quantization result of the non-zero coefficient is written in the area of the address obtained by the inverse scan conversion.

【0025】メモリ23への1ブロック分の非0係数の
逆量子化結果の書き込みが終了すると、その1ブロック
のDCT係数に対して逆DCT処理が行われ、逆DCT
処理後、次のブロックの復号が開始され、メモリ23は
メモリ初期化部24によって再び0に初期化される。
When the writing of the inverse quantization result of the non-zero coefficient of one block into the memory 23 is completed, the inverse DCT processing is performed on the DCT coefficient of the one block, and the inverse DCT processing is performed.
After the processing, decoding of the next block is started, and the memory 23 is initialized to 0 again by the memory initialization unit 24.

【0026】このように、本実施形態の圧縮データ復号
装置においては、圧縮データの可変長復号結果の中の非
0係数だけを対象に逆量子化と逆スキャン変換を行うよ
うに構成されているので、ブロックデータの復号に要す
る処理回数を最小限に抑えることが可能となる。特に、
データ圧縮率が高く、0係数がより多く発生する場合等
の処理回数を従来方式に比べて顕著に減らすことができ
る。
As described above, the compressed data decoding apparatus according to the present embodiment is configured to perform inverse quantization and inverse scan conversion only on the non-zero coefficient in the variable length decoded result of the compressed data. Therefore, it is possible to minimize the number of processes required for decoding the block data. Especially,
The number of times of processing when the data compression ratio is high and more 0 coefficients occur can be significantly reduced as compared with the conventional method.

【0027】次に、JPEG方式の圧縮データ復号装置
に本発明を適用した場合の実施形態について説明する。
Next, an embodiment in which the present invention is applied to a compressed data decoding apparatus of the JPEG system will be described.

【0028】図2に示すように、この圧縮データ復号装
置は、可変長復号部(VLD)31、アドレス生成部3
2、量子化テーブル33、逆スキャン変換テーブル3
4、乗算器35、メモリ36、メモリ初期化部37から
構成される。
As shown in FIG. 2, the compressed data decoding apparatus comprises a variable length decoding (VLD) 31 and an address generator 3
2, quantization table 33, reverse scan conversion table 3
4, a multiplier 35, a memory 36, and a memory initialization unit 37.

【0029】可変長復号部(VLD)31は、JPEG
方式つまりジグザグスキャン、量子化、可変長符号化の
順序で圧縮されたデータを入力して可変長復号を行い、
その可変長復号結果として、0係数の連続数(zrn)
とそれに続く非0係数(level)を出力する。
The variable length decoding unit (VLD) 31 is a JPEG
Input data compressed in the order of zigzag scan, quantization, and variable length coding, and perform variable length decoding,
As a result of the variable-length decoding, the number of consecutive 0 coefficients (zrn)
And the following non-zero coefficient (level) are output.

【0030】アドレス生成部32は、可変長復号部(V
LD)31より出力された0係数の連続数(zrn)
と、既に逆量子化されたDCT係数を計数するカウンタ
の変数(n)に基づいて、連続した0係数の後に続く非
0係数に対する量子化テーブル33及び逆スキャン変換
テーブル34の参照先のアドレスを生成する。
The address generation section 32 has a variable length decoding section (V
LD) Continuous number of zero coefficient output from 31 (zrn)
And the reference address of the quantization table 33 and the inverse scan conversion table 34 for the non-zero coefficient following the continuous 0 coefficient based on the variable (n) of the counter that counts the DCT coefficient that has already been inversely quantized. Generate.

【0031】乗算器35は、アドレス生成部32によっ
て生成されたアドレスに従って量子化テーブル33より
参照された値(量子化ステップ・サイズ)と、可変長復
号部(VLD)31より出力された非0係数(leve
l)とを乗算して逆量子化を行い、その逆量子化結果を
逆スキャン変換テーブル34から得たアドレスに従って
メモリ36に書き込む(逆スキャン変換)。
The multiplier 35 has a value (quantization step size) referred to by the quantization table 33 according to the address generated by the address generator 32 and a non-zero value output from the variable length decoder (VLD) 31. Coefficient (level
1) to perform inverse quantization, and write the inverse quantization result to the memory 36 in accordance with the address obtained from the inverse scan conversion table 34 (inverse scan conversion).

【0032】次に、このJPEG方式の圧縮データ復号
装置の動作の詳細を図3のフローチャートを用いて説明
する。
Next, the details of the operation of the JPEG compressed data decoding apparatus will be described with reference to the flowchart of FIG.

【0033】まずブロックの復号開始時に、ブロック初
期化処理として、逆DCΤ部へ渡すブロックデータが書
き込まれるべきメモリ36上の領域であるbloc
k[]を0にクリアすると共に、逆量子化されたDCT
係数をブロック復号開始時よりカウントするためのカウ
ンタの変数nを0にクリアする(ステップ31)。
First, at the start of the decoding of a block, block initialization is performed as block initialization processing.
k [] is cleared to 0 and the inversely quantized DCT
A variable n of a counter for counting coefficients from the start of block decoding is cleared to 0 (step 31).

【0034】この後、可変長復号部(VLD)31にて
最初の符号語の可変長復号を行い(ステップ32)、そ
の可変長復号結果がEOBであるかどうかを判断する
(ステップ33)。可変長復号結果がEOBである場合
は可変長復号を終了し、メモリ36のblock[]に
書き込まれた逆量子化後のDCT係数に対する逆DCΤ
処理等を行う。
Thereafter, the variable length decoding unit (VLD) 31 performs variable length decoding of the first code word (step 32), and determines whether or not the variable length decoding result is EOB (step 33). If the variable-length decoding result is EOB, the variable-length decoding is terminated, and the inverse DCΤ with respect to the inversely quantized DCT coefficient written in block [] of the memory 36 is obtained.
Processing is performed.

【0035】可変長復号結果がEOB以外の場合、アド
レス生成部32にて、可変長復号部(VLD)31より
出力された0係数の連続数であるzrnをカウンタの変
数nに加算(n=n+zrn)し(ステップ34)、そ
の加算結果をn番目の係数である非0係数に対する量子
化テーブル33及び逆スキャン変換テーブル34の参照
先のアドレスとして生成する。
If the variable length decoding result is other than EOB, the address generation unit 32 adds zrn, which is the number of consecutive 0 coefficients output from the variable length decoding unit (VLD) 31, to the variable n of the counter (n = n). (n + zrn) (step 34), and the result of the addition is generated as a reference address of the quantization table 33 and the inverse scan conversion table 34 for the non-zero coefficient which is the n-th coefficient.

【0036】このアドレスに従って量子化テーブル33
からn番目の係数である非0係数に対する量子化テーブ
ル値Qtable[n]が参照され、また、逆スキャン
変換テーブル34からは、その非0係数の逆量子化結果
を書き込む先のメモリ36のアドレスZigzag
[n]が得られる。
According to this address, the quantization table 33
, The quantization table value Qtable [n] for the non-zero coefficient which is the n-th coefficient is referred to, and from the inverse scan conversion table 34, the address of the memory 36 where the inverse quantization result of the non-zero coefficient is written Zigzag
[N] is obtained.

【0037】乗算器35は、量子化テーブル33から得
た量子化テーブル値Qtable[n]をn番目の係数
である非0係数の値と乗算することによって逆量子化
(level=level*Qtable[n])を行
う(ステップ35)。その逆量子化結果は、逆スキャン
変換テーブル34から得たアドレスZigzag[n]
に従ってメモリ36のblock[]の対応する位置に
セットされ(block[Zigzag[n]]=le
vel)、これによって逆量子化後の係数に対する1次
元から2次元への逆ジグザグスキャン変換が行われる
(ステップ36)。 図4に逆スキャン変換テーブル3
4の例を示す。符号化時に8×8画素の2次元のDCT
係数に対するジグザグスキャンが図中の番号0〜63の
順序で行われて1次元のDCT係数に変換された場合、
逆スキャン変換テーブル34は図中のZigzag[]
に示すような内容となる。Zigzag[]上の値は8
×8の2次元配列上のアドレスを示す。例えば、1次元
のDCT係数における先頭から3つ目の係数(2)は、
Zigzag[]上の3つ目のアドレスを参照すると
“8”であるから、8×8の2次元配列上の2行1列目
の位置が逆スキャン変換結果として得られる。
The multiplier 35 performs inverse quantization (level = level * Qtable [) by multiplying the quantization table value Qtable [n] obtained from the quantization table 33 by the value of the non-zero coefficient which is the n-th coefficient. n]) (step 35). The result of the inverse quantization is the address Zigzag [n] obtained from the inverse scan conversion table 34.
Is set to the corresponding position of block [] of the memory 36 according to (block [Zigzag [n]] = le
vel), thereby performing inverse zigzag scan conversion from one-dimensional to two-dimensional on the coefficients after inverse quantization (step 36). FIG. 4 shows the reverse scan conversion table 3
4 shows an example. 8x8 pixel two-dimensional DCT during encoding
When the zigzag scan for the coefficients is performed in the order of numbers 0 to 63 in the figure and converted into one-dimensional DCT coefficients,
The reverse scan conversion table 34 corresponds to Zigzag [] in the figure.
The content is as shown in The value on Zigzag [] is 8
The address on the × 8 two-dimensional array is shown. For example, the third coefficient (2) from the top of the one-dimensional DCT coefficient is
When the third address on Zigzag [] is referred to, it is “8”, so that the position of the second row and first column on the 8 × 8 two-dimensional array is obtained as the result of the inverse scan conversion.

【0038】この後、カウンタの変数nに1を加算する
(n=n+1)(ステップ37)。以上により1つの符
号語の可変長復号、逆量子化、逆スキャン変換が終了と
なる。その後、カウンタの変数nの値を調べ、1ブロッ
ク分のすべての係数について復号を完了したかどうかを
判断する(ステップ38)。ブロックサイズが8×8画
素の場合、1ブロックの係数は64個であるので、nが
64より小さい場合は次の符号語に対する復号を同様に
繰り返す。EOBを検出した場合、あるいはnが64以
上となった場合には、1ブロックの復号の終了を判断
し、逆DCΤ処理を開始する。
Thereafter, 1 is added to the variable n of the counter (n = n + 1) (step 37). Thus, variable-length decoding, inverse quantization, and inverse scan conversion of one codeword are completed. Thereafter, the value of the variable n of the counter is checked to determine whether decoding has been completed for all coefficients of one block (step 38). When the block size is 8 × 8 pixels, the coefficient of one block is 64, and when n is smaller than 64, decoding for the next code word is repeated in the same manner. When EOB is detected or when n becomes 64 or more, the end of decoding of one block is determined, and the inverse DC $ process is started.

【0039】従来、量子化テーブルの参照、逆量子化演
算、及び逆スキャン変換テーブルの参照はブロック内の
すべてのDCT係数に対して順次無条件に行っていた
が、本実施形態では、非0係数に対してのみ逆量子化と
逆スキャン変換を行うことで、1ブロックの復号に要す
る処理回数を大幅に低減することができ、復号を高速化
することができる。例えば、図12に示した例において
は、非0係数の数が“10”であり、処理回数は10/
64で済むことになる。
Conventionally, reference to the quantization table, inverse quantization operation, and reference to the inverse scan conversion table have been performed unconditionally sequentially for all DCT coefficients in the block. By performing inverse quantization and inverse scan conversion only on the coefficients, the number of processes required for decoding one block can be significantly reduced, and the decoding can be speeded up. For example, in the example shown in FIG. 12, the number of non-zero coefficients is “10”, and the number of processing is 10 /
64 will suffice.

【0040】次に、MPEG方式の圧縮データ復号装置
に本発明を適用した場合の実施形態について説明する。
このMPEG方式の圧縮データ復号装置は、量子化、ジ
グザグスキャン、可変長符号化の順序で圧縮されたデー
タを復号するものである。
Next, an embodiment in which the present invention is applied to an MPEG compressed data decoding apparatus will be described.
The MPEG compressed data decoding apparatus decodes data compressed in the order of quantization, zigzag scan, and variable length coding.

【0041】図5に示すように、このMPEG方式の圧
縮データ復号装置は、可変長復号部(VLD)41、ア
ドレス生成部42、量子化テーブル43、逆スキャン変
換テーブル44、乗算器45、メモリ46、メモリ初期
化部47から構成される。
As shown in FIG. 5, the compressed data decoding apparatus of the MPEG system comprises a variable length decoding unit (VLD) 41, an address generation unit 42, a quantization table 43, an inverse scan conversion table 44, a multiplier 45, a memory 46, a memory initialization unit 47.

【0042】JPEG方式の圧縮データ復号装置との主
な違いは、図6に示すように、逆スキャン変換(ステッ
プ65)後に逆量子化(ステップ66)を行う点にあ
る。すなわち、逆スキャン変換テーブル44から参照し
たアドレスに従って量子化テーブル43から量子テーブ
ル値が参照されて乗算器45に出力される。その他の構
成は図2に示したJPEG方式の圧縮データ復号装置と
同じである。
The main difference from the compressed data decoding apparatus of the JPEG system is that, as shown in FIG. 6, inverse quantization (step 66) is performed after inverse scan conversion (step 65). That is, the quantization table 43 is referred to the quantum table value according to the address referred to from the inverse scan conversion table 44 and is output to the multiplier 45. Other configurations are the same as those of the JPEG compressed data decoding apparatus shown in FIG.

【0043】ところで、図3及び図6では、最初の符号
語の復号の際にもEOBの検出を行うものとしたが、J
PEG、MPEG方式ではブロックの最初にEOBのコ
ードが現れることはないので、最初の符号語の復号の際
にはEOBの検出を行わなくてもよい。
By the way, in FIGS. 3 and 6, EOB is also detected at the time of decoding the first codeword.
Since the EOB code does not appear at the beginning of the block in the PEG and MPEG systems, the EOB need not be detected when decoding the first codeword.

【0044】またJPEG方式において、最初の符号語
は必ずDC係数の符号であり、zrnは常に0であるた
め、最初の符号語に関しては図3のステップ34のn=
n+zrnの処理を省略することが可能である。図7に
この場合の処理の手順を示す。 ここで、ブロックの復
号開始時、カウンタの変数nは1にリセットされ、最初
の符号語についてはステップ51からステップ54の処
理によって可変長復号、逆量子化、逆スキャン変換が行
われる。次の符号語からは図3と同様に、ステップ32
からステップ38の処理により可変長復号、EOB検
出、アドレス生成(n=n+zrn)、逆量子化、逆ス
キャン変換、カウンタ変数nの更新(n=n+1)が行
われる。
In the JPEG system, the first code word is always the code of the DC coefficient and zrn is always 0, so that n = n in step 34 in FIG.
The processing of n + zrn can be omitted. FIG. 7 shows the procedure of the process in this case. Here, at the start of the decoding of the block, the variable n of the counter is reset to 1, and the variable length decoding, inverse quantization, and inverse scan conversion are performed on the first codeword by the processing of steps 51 to 54. From the next code word, as in FIG.
From step to step 38, variable length decoding, EOB detection, address generation (n = n + zrn), inverse quantization, inverse scan conversion, and update of counter variable n (n = n + 1) are performed.

【0045】図8及び図9は本発明に係るさらに他の実
施形態の圧縮データ復号装置の構成を示すブロック図で
ある。
FIGS. 8 and 9 are block diagrams showing the configuration of a compressed data decoding apparatus according to still another embodiment of the present invention.

【0046】これらの圧縮データ復号装置は、図2及び
図5に示した復号装置にアドレス記憶部51、61を各
々追加して構成されたものである。
These compressed data decoding devices are configured by adding address storage units 51 and 61 to the decoding devices shown in FIGS. 2 and 5, respectively.

【0047】アドレス記憶部51、61は、逆スキャン
変換テーブル34、44から読み出されたアドレスつま
りメモリ36、46に逆量子化結果を書き込んだアドレ
スの情報を記憶する。メモリ36、46に記憶されたデ
ータが逆DCT処理等によって使用されて不要なデータ
となったとき、逆DCT処理の終了情報がメモリクリア
部57、67に与えられる。
The address storage units 51, 61 store information read from the inverse scan conversion tables 34, 44, that is, information on the addresses at which the inverse quantization results are written in the memories 36, 46. When the data stored in the memories 36 and 46 is used by the inverse DCT processing or the like and becomes unnecessary data, end information of the inverse DCT processing is given to the memory clear units 57 and 67.

【0048】メモリクリア部57、67は、その逆DC
T処理の終了情報を入力したとき、アドレス記憶部5
1、61に記憶されているアドレス情報を参照し、メモ
リ36、46の該当する領域の内容を0に初期化すると
共に、アドレス記憶部51、61に記憶されているアド
レス情報をクリアする。
The memory clear units 57 and 67 have the inverse DC
When the end information of the T processing is input, the address storage unit 5
By referring to the address information stored in the addresses 1 and 61, the contents of the corresponding areas of the memories 36 and 46 are initialized to 0, and the address information stored in the address storage units 51 and 61 is cleared.

【0049】なお、以上の実施形態においては、符号の
可変長復号により得た非0係数に量子化テーブルの値の
みを乗算して逆量子化を行うものについて説明したが、
量子化テーブルの値の他、MPEGのようにブロック毎
に付加されている量子化情報も併せて非0係数に乗じて
逆量子化を行うようにしてもよい。
In the above embodiment, the non-zero coefficient obtained by the variable length decoding of the code is multiplied by only the value of the quantization table to perform inverse quantization.
Inverse quantization may be performed by multiplying the non-zero coefficient together with quantization information added to each block, such as MPEG, in addition to the values in the quantization table.

【0050】[0050]

【発明の効果】以上説明したように本発明によれば、可
変長復号により得た量子化されたDCT係数の中で発生
頻度の低い非0係数のみを対象に逆量子化と逆ジグザグ
スキャン変換を行ってその結果を予め0に初期化された
メモリに書き込むことで、ブロックデータの復号に要す
る処理回数を最小限に抑えることが可能となり、復号の
高速化を実現することができる。
As described above, according to the present invention, inverse quantization and inverse zigzag scan conversion are performed only on non-zero coefficients having a low frequency of occurrence among quantized DCT coefficients obtained by variable length decoding. Is performed and the result is written in a memory initialized to 0 in advance, so that the number of times of processing required for decoding block data can be minimized, and high-speed decoding can be realized.

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

【図1】本発明に係る実施形態の圧縮データ復号装置の
構成を示すブロック図
FIG. 1 is a block diagram showing a configuration of a compressed data decoding device according to an embodiment of the present invention.

【図2】本発明に係るJPEG方式の圧縮データ復号装
置の構成を示すブロック図
FIG. 2 is a block diagram showing a configuration of a JPEG compressed data decoding apparatus according to the present invention.

【図3】図2のJPEG方式の圧縮データ復号装置の復
号処理の手順を示すフローチャート
FIG. 3 is a flowchart showing a procedure of a decoding process of the JPEG compressed data decoding apparatus of FIG. 2;

【図4】符号化時のジグザグスキャンと逆スキャン変換
テーブルの内容を示す図
FIG. 4 is a diagram showing contents of a zigzag scan and an inverse scan conversion table at the time of encoding;

【図5】本発明に係るMPEG方式の圧縮データ復号装
置の構成を示すブロック図
FIG. 5 is a block diagram showing a configuration of an MPEG compressed data decoding apparatus according to the present invention.

【図6】図5のMPEG方式の圧縮データ復号装置の復
号処理の手順を示すフローチャート
FIG. 6 is a flowchart showing a procedure of a decoding process of the MPEG-based compressed data decoding apparatus of FIG. 5;

【図7】図2のJPEG方式の圧縮データ復号装置の他
の復号処理手順を示すフローチャート
7 is a flowchart showing another decoding processing procedure of the JPEG compressed data decoding apparatus of FIG. 2;

【図8】図2のJPEG方式の圧縮データ復号装置の変
形例を示すブロック図
FIG. 8 is a block diagram showing a modification of the JPEG compression data decoding apparatus shown in FIG. 2;

【図9】図5のMPEG方式の圧縮データ復号装置の変
形例を示すブロック図
9 is a block diagram showing a modified example of the MPEG compressed data decoding apparatus of FIG.

【図10】従来のMPEG規格の復号器の構成を示すブ
ロック図
FIG. 10 is a block diagram showing a configuration of a conventional MPEG standard decoder.

【図11】従来のJPEG規格の復号器の構成を示すブ
ロック図
And FIG. 11 is a block diagram showing a configuration of a conventional JPEG standard decoder.

【図12】画像データの圧縮符号化と復号の処理例を示
す図
FIG. 12 is a diagram illustrating a processing example of compression encoding and decoding of image data.

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

21……可変長復号部(VLD) 22……逆量子化・逆スキャン変換部 23……メモリ 24……メモリ初期化部 31……可変長復号部(VLD) 32……アドレス生成部 33……量子化テーブル 34……逆スキャン変換テーブル 35……乗算器 36……メモリ 37……メモリ初期化部 41……可変長復号部(VLD) 42……アドレス生成部 43……量子化テーブル 44……逆スキャン変換テーブル 45……乗算器 46……メモリ 47……メモリ初期化部 51、61……アドレス記憶部 57、67……メモリクリア部 21 Variable length decoding unit (VLD) 22 Inverse quantization / inverse scan conversion unit 23 Memory 24 Memory initialization unit 31 Variable length decoding unit (VLD) 32 Address generation unit 33 Quantization table 34 Inverse scan conversion table 35 Multiplier 36 Memory 37 Memory initialization unit 41 Variable length decoding unit (VLD) 42 Address generation unit 43 Quantization table 44 ... Reverse scan conversion table 45 Multiplier 46 Memory 47 Memory initialization unit 51, 61 Address storage unit 57, 67 Memory clear unit

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 ジグザグスキャン、量子化、及び可変長
符号化を通じて圧縮されたデータを復号する装置におい
て、 前記圧縮データを可変長復号する可変長復号手段と、 前記可変長復号手段より出力されたデータのうち非0係
数を対する逆量子化及び逆ジグザグスキャン変換を行う
逆量子化・逆スキャン変換手段と、 前記逆量子化・逆スキャン変換手段の出力が書き込まれ
るメモリ手段と、 前記メモリ手段を前記逆量子化・逆スキャン変換手段の
出力が書き込まれる前に0に初期化するメモリ初期化手
段とを具備することを特徴とする圧縮データ復号装置。
1. An apparatus for decoding data compressed through zigzag scan, quantization, and variable length encoding, comprising: variable length decoding means for variable length decoding of the compressed data; and output from the variable length decoding means. Inverse quantization and inverse scan conversion means for performing inverse quantization and inverse zigzag scan conversion for non-zero coefficients among data; memory means for writing the output of the inverse quantization and inverse scan conversion means; and A memory initialization unit for initializing the output of the inverse quantization / inverse scan conversion unit to 0 before the output is written.
【請求項2】 ジグザグスキャン、量子化、可変長符号
化の順序で圧縮されたデータを復号する装置において、 前記圧縮データを可変長復号する可変長復号手段と、 前記可変長復号手段より出力されたデータのうち非0係
数に対する逆量子化を行う逆量子化手段と、 前記逆量子化手段によって逆量子化された非0係数に対
する逆ジグザグスキャン変換を行う逆スキャン変換手段
と、 前記逆スキャン変換手段の出力が書き込まれるメモリ手
段と、 前記メモリ手段を前記逆スキャン変換手段の出力が書き
込まれる前に0に初期化するメモリ初期化手段とを具備
することを特徴とする圧縮データ復号装置。
2. An apparatus for decoding data compressed in the order of zigzag scan, quantization and variable length coding, comprising: variable length decoding means for variable length decoding of the compressed data; and output from the variable length decoding means. Inverse quantization means for performing inverse quantization on the non-zero coefficient of the data, inverse scan conversion means for performing an inverse zigzag scan conversion on the non-zero coefficient inversely quantized by the inverse quantization means, A compressed data decoding apparatus comprising: a memory unit to which an output of a unit is written; and a memory initialization unit that initializes the memory unit to 0 before an output of the inverse scan conversion unit is written.
【請求項3】 ジグザグスキャン、量子化、可変長符号
化の順序で圧縮されたデータを復号する装置において、 前記圧縮データを可変長復号する可変長復号手段と、 前記可変長復号手段より出力されたデータのうち非0係
数に対する逆量子化を行う逆量子化手段と、 前記逆量子化手段によって逆量子化された非0係数に対
する逆ジグザグスキャン変換を行う逆スキャン変換手段
と、 前記逆スキャン変換手段の出力が書き込まれるメモリ手
段と、 前記逆スキャン変換手段の出力が書き込まれた前記メモ
リ手段のアドレス情報を記憶するアドレス記憶手段と、 前記メモリ手段に前記逆スキャン変換手段の出力が書き
込まれる前に、前記アドレス記憶手段に記憶されたアド
レス情報に基づいて前記メモリ手段の該当する領域を0
に初期化すると共に前記アドレス記憶手段の内容を消去
する手段とを具備することを特徴とする圧縮データ復号
装置。
3. An apparatus for decoding data compressed in the order of zigzag scan, quantization, and variable length encoding, comprising: variable length decoding means for variable length decoding the compressed data; and output from the variable length decoding means. Inverse quantization means for performing inverse quantization on the non-zero coefficient of the data, inverse scan conversion means for performing an inverse zigzag scan conversion on the non-zero coefficient inversely quantized by the inverse quantization means, Memory means to which the output of the means is written; address storage means for storing the address information of the memory means to which the output of the inverse scan conversion means is written; and before the output of the inverse scan conversion means is written to the memory means. The corresponding area of the memory means is set to 0 based on the address information stored in the address storage means.
And a means for erasing the contents of the address storage means.
【請求項4】 量子化、ジグザグスキャン、可変長符号
化の順序で圧縮されたデータを復号する装置において、 前記圧縮データを可変長復号する可変長復号手段と、 前記可変長復号手段より出力されたデータのうち非0係
数に対する逆ジグザグスキャン変換を行う逆スキャン変
換手段と、 前記逆スキャン変換手段によって逆ジグザグスキャン変
換された非0係数に対する逆量子化を行う逆量子化手段
と、 前記逆量子化手段の出力が書き込まれるメモリ手段と、 前記メモリ手段を前記逆量子化手段の出力が書き込まれ
る前に0に初期化するメモリ初期化手段とを具備するこ
とを特徴とする圧縮データ復号装置。
4. An apparatus for decoding data compressed in the order of quantization, zigzag scan, and variable-length coding, wherein said variable-length decoding means outputs variable-length decoding means for decoding said compressed data. Inverse scan conversion means for performing an inverse zigzag scan conversion on the non-zero coefficient of the data obtained, inverse quantization means for performing an inverse quantization on the non-zero coefficient subjected to the inverse zigzag scan conversion by the inverse scan conversion means, A compressed data decoding apparatus comprising: a memory unit to which an output of a quantization unit is written; and a memory initialization unit that initializes the memory unit to 0 before an output of the inverse quantization unit is written.
【請求項5】 量子化、ジグザグスキャン、可変長符号
化の順序で圧縮されたデータを復号する装置において、 前記圧縮データを可変長復号する可変長復号手段と、 前記可変長復号手段より出力されたデータのうち非0係
数に対する逆ジグザグスキャン変換を行う逆スキャン変
換手段と、 前記逆スキャン変換手段によって逆ジグザグスキャン変
換された非0係数に対する逆量子化を行う逆量子化手段
と、 前記逆量子化手段の出力が書き込まれるメモリ手段と、 前記逆量子化手段の出力が書き込まれた前記メモリ手段
のアドレス情報を記憶するアドレス記憶手段と、 前記メモリ手段に前記逆量子化手段の出力が書き込まれ
る前に、前記アドレス記憶手段に記憶されたアドレス情
報に基づいて前記メモリ手段の該当する領域を0に初期
化すると共に前記アドレス記憶手段の内容を消去する手
段とを具備することを特徴とする圧縮データ復号装置。
5. An apparatus for decoding data compressed in the order of quantization, zigzag scan, and variable length coding, comprising: variable length decoding means for variable length decoding the compressed data; and output from the variable length decoding means. Inverse scan conversion means for performing an inverse zigzag scan conversion on the non-zero coefficient of the data obtained, inverse quantization means for performing an inverse quantization on the non-zero coefficient subjected to the inverse zigzag scan conversion by the inverse scan conversion means, Memory means to which the output of the dequantizing means is written; address storage means for storing the address information of the memory means to which the output of the dequantizing means is written; and the output of the dequantizing means being written to the memory means. Before, based on the address information stored in the address storage means, a corresponding area of the memory means is initialized to 0. Means for erasing the contents of the address storage means.
【請求項6】 ジグザグスキャン、量子化、及び可変長
符号化を通じて圧縮されたデータを復号する方法におい
て、 前記圧縮データを可変長復号し、可変長復号されたデー
タのうち非0係数を対する逆量子化及び逆ジグザグスキ
ャン変換を行い、その結果を予め0に初期化されたメモ
リに書き込むことを特徴とする圧縮データ復号方法。
6. A method of decoding data compressed through zigzag scan, quantization, and variable length coding, wherein the compressed data is variable length decoded, and the inverse of the variable length decoded data to a non-zero coefficient. A compressed data decoding method characterized by performing quantization and inverse zigzag scan conversion, and writing the result into a memory initialized to 0 in advance.
【請求項7】 ジグザグスキャン、量子化、可変長符号
化の順序で圧縮されたデータを復号する方法において、 前記圧縮データを可変長復号し、可変長復号されたデー
タのうち非0係数を逆量子化した後、この逆量子化され
た非0係数に対する逆ジグザグスキャン変換を行って、
その結果を予め0に初期化されたメモリに書き込むこと
を特徴とする圧縮データ復号方法。
7. A method for decoding data compressed in the order of zigzag scan, quantization, and variable length encoding, wherein the compressed data is variable length decoded, and a non-zero coefficient of the variable length decoded data is inverted. After quantization, inverse zigzag scan conversion is performed on the inversely quantized non-zero coefficient,
A compressed data decoding method, wherein the result is written in a memory initialized to 0 in advance.
【請求項8】 ジグザグスキャン、量子化、可変長符号
化の順序で圧縮されたデータを復号する方法において、 前記圧縮データを可変長復号し、可変長復号されたデー
タのうち非0係数を逆量子化した後、この逆量子化され
た非0係数に対する逆ジグザグスキャン変換を行って、
その結果を予め0に初期化されたメモリに書き込むと共
に、その書き込みアドレスの情報をアドレス記憶部に記
憶し、前記メモリを初期化するとき、前記アドレス記憶
部に記憶されたアドレス情報に基づいて前記メモリの該
当する領域を0に初期化すると共に前記アドレス記憶部
の内容を消去することを特徴とする圧縮データ復号方
法。
8. A method for decoding data compressed in the order of zigzag scan, quantization, and variable length encoding, wherein the compressed data is variable length decoded, and a non-zero coefficient of the variable length decoded data is inverted. After quantization, inverse zigzag scan conversion is performed on the inversely quantized non-zero coefficient,
The result is written in a memory initialized to 0 in advance, and the information of the write address is stored in an address storage unit, and when the memory is initialized, the information is written based on the address information stored in the address storage unit. A compressed data decoding method, wherein a corresponding area of a memory is initialized to 0 and the contents of the address storage unit are deleted.
【請求項9】 量子化、ジグザグスキャン、可変長符号
化の順序で圧縮されたデータを復号する方法において、 前記圧縮データを可変長復号し、可変長復号されたデー
タのうち非0係数に対する逆ジグザグスキャン変換を行
った後、この逆ジグザグスキャン変換された非0係数を
逆量子化し、その結果を予め0に初期化されたメモリに
書き込むことを特徴とする圧縮データ復号方法。
9. A method for decoding data compressed in the order of quantization, zigzag scan, and variable-length encoding, wherein the compressed data is variable-length decoded, and the inverse of non-zero coefficients in the variable-length decoded data is determined. A compressed data decoding method, comprising: performing a zigzag scan conversion, dequantizing the non-zero coefficient subjected to the inverse zigzag scan conversion, and writing a result of the inverse zigzag scan conversion to a memory initialized to zero in advance.
【請求項10】 量子化、ジグザグスキャン、可変長符
号化の順序で圧縮されたデータを復号する方法におい
て、 前記圧縮データを可変長復号し、可変長復号されたデー
タのうち非0係数に対する逆ジグザグスキャン変換を行
った後、この逆ジグザグスキャン変換された非0係数を
逆量子化し、その結果を予め0に初期化されたメモリに
書き込むと共に、その書き込みアドレスの情報をアドレ
ス記憶部に記憶し、前記メモリを初期化するとき、前記
アドレス記憶部に記憶されたアドレス情報に基づいて前
記メモリの該当する領域を0に初期化すると共に前記ア
ドレス記憶部の内容を消去することを特徴とする圧縮デ
ータ復号方法。
10. A method for decoding data compressed in the order of quantization, zigzag scan, and variable length coding, wherein the compressed data is variable length decoded, and the inverse of non-zero coefficients of the variable length decoded data is obtained. After performing the zigzag scan conversion, the non-zero coefficient subjected to the inverse zigzag scan conversion is inversely quantized, and the result is written in a memory initialized to 0 in advance, and information of the write address is stored in an address storage unit. Wherein when the memory is initialized, a corresponding area of the memory is initialized to 0 based on the address information stored in the address storage unit, and the contents of the address storage unit are erased. Data decryption method.
JP29054996A 1996-10-31 1996-10-31 Compressed data decoder and compressed data decoding method Pending JPH10136363A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29054996A JPH10136363A (en) 1996-10-31 1996-10-31 Compressed data decoder and compressed data decoding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29054996A JPH10136363A (en) 1996-10-31 1996-10-31 Compressed data decoder and compressed data decoding method

Publications (1)

Publication Number Publication Date
JPH10136363A true JPH10136363A (en) 1998-05-22

Family

ID=17757476

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29054996A Pending JPH10136363A (en) 1996-10-31 1996-10-31 Compressed data decoder and compressed data decoding method

Country Status (1)

Country Link
JP (1) JPH10136363A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6987811B2 (en) 2000-06-02 2006-01-17 Matsushita Electric Industrial Co., Ltd. Image processor and image processing method
EP1713279A1 (en) * 2005-04-14 2006-10-18 NEC Electronics Corporation Image data decoding apparatus and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6987811B2 (en) 2000-06-02 2006-01-17 Matsushita Electric Industrial Co., Ltd. Image processor and image processing method
EP1713279A1 (en) * 2005-04-14 2006-10-18 NEC Electronics Corporation Image data decoding apparatus and method

Similar Documents

Publication Publication Date Title
US6643408B2 (en) Image coding and decoding apparatus, method of image coding and decoding, and recording medium for recording program for image coding and decoding
JP2891772B2 (en) Digital image coding method using random scanning of image frames
US5982936A (en) Performance of video decompression by using block oriented data structures
US20060034368A1 (en) Generation and use of masks in MPEG video encoding to indicate non-zero entries in transformed macroblocks
US20020015445A1 (en) Image processing device
US7929777B2 (en) Variable length decoding device, variable length decoding method and image capturing system
US7170939B2 (en) Compression-encoded data decoding apparatus
US20040057522A1 (en) MPEG video bitstream decoder system and method
KR100249235B1 (en) Hdtv video decoder
JPH10136363A (en) Compressed data decoder and compressed data decoding method
JP3222633B2 (en) Information processing device
JPH09247671A (en) Digital image decoder
JP3559419B2 (en) Method and apparatus for decompressing compressed image data
JPH0779415B2 (en) Decompression method of compressed data
JP3394619B2 (en) Image compression system
JP3861317B2 (en) Variable length decoder
JP3382358B2 (en) Image processing apparatus and method
JP3260925B2 (en) Image processing device
JP2512195B2 (en) Encoding device and decoding device
JPH09261641A (en) Method and device for processing compressed picture data
JPH04971A (en) Picture encoding system
JPH0955946A (en) Moving picture signal decoding device
US7415161B2 (en) Method and related processing circuits for reducing memory accessing while performing de/compressing of multimedia files
JP2937455B2 (en) Image data compression device and image data decompression device
JP2007104155A (en) Image decoding apparatus

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051206

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060404