JP2002246914A - Code conversion device, code conversion method, code conversion program, and storage medium recoding the same - Google Patents

Code conversion device, code conversion method, code conversion program, and storage medium recoding the same

Info

Publication number
JP2002246914A
JP2002246914A JP2001037827A JP2001037827A JP2002246914A JP 2002246914 A JP2002246914 A JP 2002246914A JP 2001037827 A JP2001037827 A JP 2001037827A JP 2001037827 A JP2001037827 A JP 2001037827A JP 2002246914 A JP2002246914 A JP 2002246914A
Authority
JP
Japan
Prior art keywords
code
eob
procedure
bit
input
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
JP2001037827A
Other languages
Japanese (ja)
Inventor
Hideaki Kimata
英明 木全
Yoshiyuki Yashima
由幸 八島
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2001037827A priority Critical patent/JP2002246914A/en
Publication of JP2002246914A publication Critical patent/JP2002246914A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a code conversion device and a method which receive data encoded, through a method of using EOB is used and is capable of outputting the same code with a 3DVLC method, and avoiding redundant procedures. SOLUTION: A code detector 111 detects codes or EOB codes from an input bit string, referring to the bit arrangement of a detection code table 110. An EOB verifying part 112 stores the codes in a code storage 113, when it detects codes other than EOB codes. A code output changing means 114 outputs the codes, stored in the code storage 113 into a halfway code converter 118, when the code detector 111 detects the EOB codes and into a code converter 115, when the code detector 111 detects the EOB codes. The halfway code converter 118 retrieves and outputs the codes of a midway code primary table 17 to input codes, and the code converter 115 retrieves and outputs the codes of the a primary table 116. In this way, a bit arrangement is replaced, and the same codes with a 3DVLC method are outputted.

Description

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

【0001】[0001]

【発明が属する技術分野】本発明は、動画像符号化トラ
ンスコードにおける可変長符号変換方法と装置に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a variable-length code conversion method and apparatus in moving image coding transcoding.

【0002】[0002]

【従来の技術】MPEG−1等、一般的に動画像符号化
では、画像情報に対してDCT(離散コサイン変換)を
適用し、その係数を量子化する。量子化したDCT係数
のうち直流成分は、そのまま可変長符号化するが、交流
成分では、DCTの係数配列のうちのすべてが有効な値
になるとは限らないため、ランレングス符号化を利用す
る。すなわち、有効でない量子化レベルとなるDCT係
数を0で表現すると、有効なDCT係数の値をレベル、
その直前までの係数0の続く数をランとして、予め用意
しておいた各ランとレベルの2次元量に対応した可変長
符号テーブルをルックアップテーブルとして用い可変長
符号化する。このようにして、画像情報は連続した可変
長符号で表現される。
2. Description of the Related Art Generally, in moving picture coding such as MPEG-1, a DCT (Discrete Cosine Transform) is applied to image information and its coefficient is quantized. The DC component of the quantized DCT coefficient is subjected to variable-length coding as it is, but the AC component uses run-length coding because not all of the DCT coefficient arrays have valid values. That is, when the DCT coefficient that is an invalid quantization level is represented by 0, the value of the valid DCT coefficient is represented by a level
The run number is defined as the run number of the coefficient 0 immediately before that, and the variable length code table corresponding to the two-dimensional amount of each run and level prepared in advance is used as a look-up table to perform variable length coding. In this way, the image information is represented by a continuous variable length code.

【0003】DCT係数の最後に有効な係数が有るとは
限らない。この場合にはレベルの値を求められない。そ
のため、ある有効なDCT係数以降の係数が、すべて有
効ではないことを示すことが必要である。この方法には
大きく分けて2種類ある。符号化方式MPEG−1とM
PEG−2では、最後の可変長符号の後にEOB(エン
ド・オブ・ブロック)と呼ぶ特有なビットパターンの符
号を配置する方法を使う。他方で、符号化方式H.26
3やMPEG−4では、最後の可変長符号用の可変長符
号テーブルを別に予め用意しておき、そのテーブルの符
号語を使うことによって最後の可変長符号であることを
示す方法(3DVLC方法)を使う。後者の方法では、
ランとレベルと、可変長符号化が最後であることを示す
情報ラストの、3次元で表現した可変長符号テーブルを
使用することになる。
[0003] There is not always a valid coefficient at the end of the DCT coefficient. In this case, the value of the level cannot be obtained. Therefore, it is necessary to indicate that all coefficients after a certain valid DCT coefficient are not valid. This method is roughly classified into two types. Encoding schemes MPEG-1 and M
PEG-2 uses a method of arranging a code of a unique bit pattern called EOB (end of block) after the last variable length code. On the other hand, the encoding method 26
In 3 or MPEG-4, a method of preparing a variable length code table for the last variable length code separately in advance and using the codeword of the table to indicate the last variable length code (3DVLC method) use. In the latter case,
A variable-length code table expressed in three dimensions of a run, a level, and an information last indicating that variable-length coding is the last is used.

【0004】例えば、画像情報を1種類の輝度成分(Y
成分)と2種類の色成分(U成分とV成分)で表現し、
UとV成分がそれぞれY成分の4分の1の情報量となる
420フォーマットの画像を、MPEG−1方式で符号
化する場合には、画像を符号化する単位であるマクロブ
ロックを符号化する際に、縦横8画素の6個のブロック
(Y成分4個、U成分1個、V成分1個)で2次元DC
Tと量子化と可変長符号化を行う。各ブロックを符号化
する順序は予め決められている。まず左上のY成分ブロ
ックを符号化する。フレーム間予測符号化の場合には、
そのブロックに対して、2次元DCTと量子化の後で、
DCT係数を図10に示すようにジグザグスキャンし、
交流成分のランとレベルを求める。そのランとレベルに
対応した可変長符号を、図11に示すようなランとレベ
ルの2次元量に対する可変長符号テーブル内で探索して
求めて符号化データとして出力する。最後のDCT係数
まで0が続く場合には、そのブロックには有効なDCT
係数が無いとわかるため、EOB符号を出力する。その
後続いて、画面右上のY成分ブロック等、残りのブロッ
クに対して同様な処理を行う。このようにしてマクロブ
ロック内の画像情報を符号化する。
For example, image information is converted into one type of luminance component (Y
Component) and two types of color components (U component and V component),
When an image in the 420 format in which the U and V components each have an information amount of の of the Y component is encoded by the MPEG-1 system, a macroblock which is a unit for encoding the image is encoded. In this case, a two-dimensional DC is performed by six blocks (eight Y components, one U component, and one V component) of eight pixels in the vertical and horizontal directions.
T, quantization and variable length coding are performed. The order of encoding each block is predetermined. First, the upper left Y component block is encoded. In the case of inter-frame prediction coding,
For the block, after two-dimensional DCT and quantization,
Zigzag scan DCT coefficients as shown in FIG.
Find the run and level of the AC component. A variable-length code corresponding to the run and level is searched for in a variable-length code table for a two-dimensional amount of run and level as shown in FIG. 11, and is output as encoded data. If 0 continues until the last DCT coefficient, the block has a valid DCT
Since there is no coefficient, the EOB code is output. Subsequently, similar processing is performed on the remaining blocks such as the Y component block at the upper right of the screen. In this way, the image information in the macro block is encoded.

【0005】この可変長符号化部分の構成例を図12に
示す。ゼロカウント部101は0以外の値の係数が見つ
かるまでの、値が0のDCT係数の数をカウントする。
DCT係数配列中に0以外の値の係数が見つかった場合
には、ランレベル設定部103は値が0の係数の数と、
それに続く、0以外の係数の値を、ランとレベルの値と
して2D符号出力部104へ出力する。2D符号出力部
104は、2次元テーブル部105に記録されているラ
ンとレベルに対応した2次元ルックアップテーブルを参
照して、符号を出力する。また、EOB符号出力部10
6は、ゼロカウント部101でDCT係数の値が最後ま
で0だった場合に、EOB符号化変更手段102による
変更によりEOB符号を出力する。
[0005] Fig. 12 shows an example of the configuration of the variable length coding portion. Zero count section 101 counts the number of DCT coefficients having a value of 0 until a coefficient having a value other than 0 is found.
When a coefficient having a value other than 0 is found in the DCT coefficient array, the run level setting unit 103 determines the number of coefficients having a value of 0,
The subsequent coefficient values other than 0 are output to the 2D code output unit 104 as run and level values. The 2D code output unit 104 outputs a code with reference to the two-dimensional lookup table corresponding to the run and the level recorded in the two-dimensional table unit 105. The EOB code output unit 10
6 outputs the EOB code by the change by the EOB coding changing means 102 when the value of the DCT coefficient is 0 to the end in the zero count unit 101.

【0006】このような構成の元で、図13に示すよう
なDCT係数の値となった場合の動作は次の通りであ
る。DCT係数は12個あり、配列をDCT[i](i
=0,…11)で表せるものとする。まずゼロカウント
部101で0以外の値の係数までの係数の数(0ラン長
と呼ぶ)を計測する。DCT[0]=0,DCT[1]
=11であるので0ラン長は1となる。ランレベル設定
部103はラン1、レベル11を出力する。2D符号出
力部104はラン1、レベル11の符号を2次元テーブ
ル部105のテーブルを参照して出力する。同様にして
2D符号出力部104はDCT[6](=53)まで、
ランとレベルに対応した符号を出力する。DCT[7]
以後はすべて値0であるため、EOB符号出力部106
はEOB符号を出力する。
Under such a configuration, the operation when the value of the DCT coefficient becomes as shown in FIG. 13 is as follows. There are twelve DCT coefficients, and the array is DCT [i] (i
= 0,... 11). First, the zero count unit 101 measures the number of coefficients up to a coefficient other than 0 (referred to as a 0 run length). DCT [0] = 0, DCT [1]
= 11, the 0 run length is 1. The run level setting unit 103 outputs run 1 and level 11. The 2D code output unit 104 outputs the codes of run 1 and level 11 with reference to the table of the two-dimensional table unit 105. Similarly, the 2D code output unit 104 outputs DCT [6] (= 53)
The code corresponding to the run and level is output. DCT [7]
Thereafter, since the value is all 0, the EOB code output unit 106
Outputs an EOB code.

【0007】他方で、同様な420フォーマットの画像
をMPEG−4方式で符号化する場合では、同様に6個
のブロックで2次元DCTと量子化と可変長符号化を行
うが、可変長符号化方法がMPEG−1方式とは異な
り、3DVLC方法を使う。まずDCT係数を図10に
示すようにジグザグスキャンし、交流成分のランとレベ
ルを求める。次にその交流成分の後のDCT係数の中に
有効なものがあるかどうかを確認してラスト情報を求め
る。その後ランとレベルとラストに対応した可変長符号
を、図14に示すようなランとレベルとラストの3次元
量に対する可変長符号テーブル内で探索して求めて符号
化データとして出力する。そのブロック内の最後に有効
なDCT係数のランとレベルとラストを求めると、その
ブロックの符号化は完了する。その後続いて、残りのブ
ロックに対して同様な処理を行う。
On the other hand, when an image of the same 420 format is encoded by the MPEG-4 system, two-dimensional DCT, quantization and variable length encoding are similarly performed in six blocks, but variable length encoding is performed. The method is different from the MPEG-1 method and uses the 3DVLC method. First, the DCT coefficient is zigzag-scanned as shown in FIG. 10 to determine the run and level of the AC component. Next, it is confirmed whether there is a valid DCT coefficient after the AC component and the last information is obtained. Thereafter, a variable-length code corresponding to the run, level, and last is searched for in a variable-length code table for a three-dimensional amount of run, level, and last as shown in FIG. 14, and is output as encoded data. When the last valid DCT coefficient run, level, and last in the block are obtained, the encoding of the block is completed. Subsequently, similar processing is performed on the remaining blocks.

【0008】この3DVLC方法の構成例を図15に示
す。ゼロカウント部101は0以外の値の係数が見つか
るまでの、値が0のDCT係数の数をカウントする。D
CT係数配列中に0以外の値の係数が見つかった場合に
は、ランレベル設定部103は値が0の係数の数(0ラ
ン長)と、それに続く0以外の係数の値を、ランとレベ
ルの値として3D符号出力部109へ出力する。次符号
係数検出部107はゼロカウント部101で見つかっ
た、0以外の値の係数以後に、0以外の値の係数が存在
するかどうかを確認する。0以外の値の係数が存在する
場合には0を、存在しない場合には1をラストの値とし
て3D符号出力部109へ出力する。3D符号出力部1
09は、3次元テーブル部108に記録されているラン
とレベルとラストに対応した3次元ルックアップテーブ
ルを参照して、符号を出力する。
FIG. 15 shows a configuration example of the 3DVLC method. Zero count section 101 counts the number of DCT coefficients having a value of 0 until a coefficient having a value other than 0 is found. D
If a coefficient having a value other than 0 is found in the CT coefficient array, the run level setting unit 103 determines the number of coefficients having a value of 0 (0 run length) and the subsequent non-zero coefficient value as a run. The value is output to the 3D code output unit 109 as a level value. The next code coefficient detection unit 107 checks whether or not a coefficient having a value other than 0 exists after the coefficient having a value other than 0 found by the zero counting unit 101. If a coefficient with a value other than 0 exists, 0 is output to the 3D code output unit 109 as a last value if it does not exist. 3D code output unit 1
09 outputs a code by referring to a three-dimensional lookup table corresponding to the run, level, and last recorded in the three-dimensional table unit 108.

【0009】このような構成の元で、図13に示すよう
なDCT係数の値となった場合の動作は次の通りであ
る。DCT係数は12個あり、配列をDCT[i](i
=0,…,11)で表せるものとする。まずゼロカウン
ト部101で0以外の値の係数までの係数の数(0ラン
長)を計測する。DCT[0]=0,DCT[1]=1
1であるので0ラン長は1となる。ランレベル設定部1
03はラン1、レベル11を出力する。次符号係数検出
部107は、DCT[1]以後の係数で0以外の値の係
数を探索する。DCT[3]の値が22であり0以外と
なるため、ラスト符号として0を出力する。3D符号出
力部109はラン1、レベル11、ラスト0の符号を3
次元テーブル部108のテーブルを参照して出力する。
同様にして3D符号出力部109はDCT[3](=2
2)に対して、ランとレベルとラストに対応した符号を
出力する。DCT[6](=53)に対してはランレベ
ル設定部103はラン2、レベル53を出力する。次符
号係数検出部107は、DCT[6]以後の係数で0以
外の値の係数を探索する。すべての係数が0であるため
ラスト符号として1を出力する。3D符号出力部109
はラン2、レベル53、ラスト1の符号を3次元テーブ
ル部108のテーブルを参照して出力する。
Under such a configuration, the operation when the DCT coefficient value becomes as shown in FIG. 13 is as follows. There are twelve DCT coefficients, and the array is DCT [i] (i
= 0,..., 11). First, the zero count unit 101 measures the number of coefficients up to a coefficient other than 0 (zero run length). DCT [0] = 0, DCT [1] = 1
Since it is 1, the 0 run length is 1. Runlevel setting unit 1
03 outputs run 1 and level 11. Next code coefficient detection section 107 searches for a coefficient other than 0 in the coefficients after DCT [1]. Since the value of DCT [3] is 22, which is other than 0, 0 is output as the last code. The 3D code output unit 109 converts the code of run 1, level 11, and last 0 to 3
The data is output with reference to the table of the dimension table unit 108.
Similarly, the 3D code output unit 109 outputs DCT [3] (= 2
In response to 2), codes corresponding to the run, level, and last are output. For DCT [6] (= 53), run level setting section 103 outputs run 2 and level 53. Next code coefficient detection section 107 searches for a coefficient other than 0 in coefficients after DCT [6]. Since all coefficients are 0, 1 is output as the last code. 3D code output unit 109
Outputs the codes of run 2, level 53, and last 1 with reference to the table of the three-dimensional table unit 108.

【0010】一般的に、EOB符号は符号長が長いた
め、EOBを使う方法はブロック内に有効なDCT係数
が多くなる、符号化速度の高い場合に有効な方法であ
り、3DVLC方法は有効なDCT係数が少なくなる、
符号化速度の低い場合に有効である。
Generally, since the EOB code has a long code length, the method using EOB is effective when the number of effective DCT coefficients in a block increases and the encoding speed is high, and the 3DVLC method is effective. DCT coefficient decreases,
This is effective when the encoding speed is low.

【0011】[0011]

【発明が解決しようとする課題】MPEG−1符号化デ
ータ等のEOBを使う方法から、MPEG−4符号化デ
ータ等の3DVLC方法を使う方法へ変換するトランス
コードでは、3DVLC方法を使う方法に対応する符号
を出力するためにラスト情報が必要となる。しかし、ラ
スト情報はEOBを使う方法におけるEOB符号を検出
するまで分からないため、EOBを使う方法で符号化さ
れている可変長符号からはラスト情報を知ることができ
ない。従って、予め、EOBを使う方法の符号から、3
DVLCを使う方法の符号への1対1の対応づけをした
ルックアップテーブルを作っておき、そのテーブルを参
照して符号を変換する方法ではトランスコードを実現で
きない。そのため、一旦DCT係数に復号し、再度DC
T係数を符号化する必要があった。すなわち、可変長符
号の並びを一旦2次元情報であるランとレベル情報に変
換する手順と、これらの情報をDCT係数に変換する手
順と、再度DCT係数から3次元情報であるランとレベ
ルとラスト情報に変換する手順と、これらの情報を可変
長符号に変換する手順の手間が必要であった。
The transcoding method for converting from a method using EOB such as MPEG-1 encoded data to a method using 3DVLC method such as MPEG-4 encoded data corresponds to a method using 3DVLC method. Last information is needed to output the code to be executed. However, since the last information is not known until an EOB code in the method using EOB is detected, the last information cannot be known from the variable length code encoded by the method using EOB. Therefore, from the code of the method using EOB, 3
Transcoding cannot be realized by a method in which a look-up table is created in which a one-to-one correspondence with codes according to the method using DVLC is made, and codes are converted with reference to the table. Therefore, it is once decoded to DCT coefficients,
It was necessary to encode the T coefficient. That is, a procedure for temporarily converting the arrangement of variable length codes into run and level information as two-dimensional information, a procedure for converting such information into DCT coefficients, and a run, level, and last as three-dimensional information from DCT coefficients again. A procedure for converting the information into information and a procedure for converting the information into a variable length code are required.

【0012】そこで、本発明は、3DVLC方法を使っ
たのと同様な符号を出力することができ、上記した可変
長符号の並びを一旦2次元情報であるランとレベル情報
に変換する手順と、これらの情報をDCT係数に変換す
る手順と、再度DCT係数から3次元情報であるランと
レベルとラスト情報に変換する手順と、これらの情報を
可変長符号に変換する手順の手間の手間を不要とするこ
とができる符号変換装置及び符号変換方法を提供するこ
とを課題とする。
Therefore, the present invention can output a code similar to that using the 3DVLC method, and converts the above-mentioned sequence of variable-length codes into run and level information which is two-dimensional information once. There is no need for a procedure for converting these information into DCT coefficients, a procedure for converting the DCT coefficients into run, level, and last information, which is three-dimensional information, and a procedure for converting these information into variable-length codes. It is an object of the present invention to provide a code conversion device and a code conversion method.

【0013】[0013]

【課題を解決するための手段】上記の課題を解決するた
め、本発明の第1の発明による符号変換装置は、固有な
ビット配列であるEOB符号と、EOB符号のビット配
列以外で、複数パターンのビット配列を取りうる符号と
で構成されるビット列を入力し、前記入力されたビット
列とは異なるビット列を出力する符号変換装置であっ
て、前記符号のビット配列とEOB符号のビット配列を
記録してある検出符号テーブル部と、入力されるビット
列から、前記検出符号テーブル部に記録してあるビット
配列を参照して前記符号あるいはEOB符号を検出する
符号検出部と、前記符号検出部で検出して入力される符
号を蓄積する符号蓄積部と、前記符号検出部でEOB符
号以外を検出した場合に、前記符号蓄積部に符号を入力
するEOB確認手段と、各符号のビット配列に対して、
別のビット配列の符号を対応させたテーブルを記憶して
いる1次元テーブル部と、入力される符号に対して、前
記1次元テーブル部に記憶している符号を検索し出力す
る符号変換部と、前記符号検出部がEOB符号以外を検
出した場合に、前記符号蓄積部に蓄積した符号を出力
し、前記符号検出部がEOB符号を検出した場合に、前
記符号蓄積部に蓄積した符号を前記符号変換部に入力す
る符号出力変更手段とを備えることを特徴とする。
In order to solve the above-mentioned problems, a code conversion apparatus according to a first aspect of the present invention comprises a plurality of patterns other than an EOB code which is a unique bit array and a bit array of an EOB code. A code conversion device for inputting a bit sequence composed of a code capable of taking a bit sequence of a code sequence and outputting a bit sequence different from the input bit sequence, wherein the bit sequence of the code and the bit sequence of an EOB code are recorded. A detection code table section, a code detection section for detecting the code or the EOB code by referring to a bit array recorded in the detection code table section from an input bit string, and a code detection section for detecting the code or the EOB code. Code accumulating section for accumulating a code input thereto, and EOB confirming means for inputting a code to the code accumulating section when the code detecting section detects a code other than an EOB code. , The bit sequence of each code,
A one-dimensional table unit that stores a table in which codes of different bit arrays are associated with each other; and a code conversion unit that searches and outputs a code stored in the one-dimensional table unit for an input code. When the code detection unit detects a code other than the EOB code, the code stored in the code storage unit is output. When the code detection unit detects the EOB code, the code stored in the code storage unit is output. Code output changing means for inputting to the code conversion unit.

【0014】あるいは、本発明の第2の発明による符号
変換装置は、固有なビット配列であるEOB符号と、E
OB符号のビット配列以外で、複数パターンのビット配
列を取りうる符号とで構成されるビット列を入力し、前
記入力されたビット列とは異なるビット列を出力する符
号変換装置であって、前記符号のビット配列とEOB符
号のビット配列を記録してある検出符号テーブル部と、
入力されるビット列から、前記検出符号テーブル部に記
録してあるビット配列を参照して前記符号あるいはEO
B符号を検出する符号検出部と、前記符号検出部で検出
して入力される符号を蓄積する符号蓄積部と、前記符号
検出部でEOB符号以外を検出した場合に、前記符号蓄
積部に符号を入力するEOB確認手段と、各符号のビッ
ト配列に対して、別のビット配列の符号を対応したテー
ブルを記憶している1次元テーブル部と、入力される符
号に対して、前記1次元テーブル部に記憶している符号
を検索し出力する符号変換部と、各符号のビット配列に
対して、前記1次元テーブル部に記録してあるビット配
列とは異なるビット配列の符号を対応させたテーブルを
記憶している途中符号1次元テーブル部と、入力される
符号に対して、前記途中符号1次元テーブル部に記憶し
ている符号を検索し出力する途中符号変換部と、前記符
号検出部がEOB符号を検出した場合に、前記符号蓄積
部に蓄積した符号を前記符号変換部に入力し、前記符号
検出部がEOB符号以外を検出した場合に、前記符号蓄
積部に蓄積した符号を前記途中符号変換部に入力する符
号出力変更手段とを備えることを特徴とする。
Alternatively, the code conversion apparatus according to the second invention of the present invention comprises an EOB code which is a unique bit array,
A code conversion device that inputs a bit string composed of a code that can take a bit array of a plurality of patterns other than the bit array of the OB code, and outputs a bit string different from the input bit string. A detection code table section in which an array and a bit array of the EOB code are recorded;
From the input bit string, the code or EO is referred by referring to the bit arrangement recorded in the detection code table section.
A code detection unit that detects a B code, a code storage unit that stores a code detected and input by the code detection unit, and stores a code in the code storage unit when the code detection unit detects a code other than the EOB code. EOB confirmation means for inputting a code, a one-dimensional table section storing a table corresponding to a code of another bit array for each code bit array, and a one-dimensional table for storing the input code. A code conversion unit for searching and outputting the codes stored in the unit, and a table in which the bit array of each code is associated with a code of a bit array different from the bit array recorded in the one-dimensional table unit. An intermediate code one-dimensional table unit storing the intermediate code, an intermediate code conversion unit for searching and outputting a code stored in the intermediate code one-dimensional table unit for an input code, and a code detection unit. EOB When a code is detected, the code stored in the code storage unit is input to the code conversion unit, and when the code detection unit detects a code other than the EOB code, the code stored in the code storage unit is converted to the intermediate code. Code output changing means for inputting to the conversion unit.

【0015】また、本発明の第1の発明による符号変換
方法は、固有なビット配列であるEOB符号と、EOB
符号のビット配列以外で、複数パターンのビット配列を
取りうる符号とで構成されるビット列を入力し、前記入
力されたビット列とは異なるビット列を出力する符号変
換方法であって、前記符号のビット配列とEOB符号の
ビット配列を記録してある検出符号テーブルと、各符号
のビット配列に対して、別のビット配列の符号を対応し
たテーブルを記憶している1次元テーブルとを備え、入
力されるビット列から、前記検出符号テーブルに記録し
てあるビット配列を参照して前記符号あるいはEOB符
号を検出する符号検出ステップと、前記符号検出ステッ
プでEOB符号以外を検出した場合に、符号蓄積ステッ
プに符号を入力するEOB確認ステップと、前記符号検
出ステップで検出し、前記EOB確認ステップから入力
された符号を蓄積する前記符号蓄積ステップと、前記符
号検出ステップでEOB符号以外を検出した場合に、前
記符号蓄積ステップで蓄積した符号を出力し、前記符号
検出ステップでEOB符号を検出した場合に、前記符号
蓄積ステップで蓄積した符号を符号変換ステップに入力
する符号出力変更ステップと、前記符号出力変更ステッ
プから入力された符号に対して、前記1次元テーブルに
記憶している符号を検索し出力する前記符号変換ステッ
プとを備えることを特徴とする。
Further, the code conversion method according to the first invention of the present invention provides an EOB code which is a unique bit array,
A code conversion method for inputting a bit string composed of a code that can take a bit array of a plurality of patterns, other than a code bit array, and outputting a bit string different from the input bit string, wherein the code bit array And a detection code table in which a bit array of EOB codes are recorded, and a one-dimensional table storing a table corresponding to a code of another bit array with respect to the bit array of each code. A code detecting step of detecting the code or the EOB code from the bit string by referring to a bit array recorded in the detection code table; and a code storing step when a code other than the EOB code is detected in the code detecting step. And an EOB confirmation step of inputting the EOB and storing the code inputted from the EOB confirmation step Outputting a code stored in the code storing step when an code other than an EOB code is detected in the code storing step, and outputting the code stored in the code storing step when the code detecting step detects an EOB code. A code output changing step of inputting the code stored in step 1 into a code converting step; and a code converting step of searching and outputting a code stored in the one-dimensional table for the code input from the code output changing step. And characterized in that:

【0016】あるいは、本発明の第2の発明による符号
変換方法は、固有なビット配列であるEOB符号と、E
OB符号のビット配列以外で、複数パターンのビット配
列を取りうる符号とで構成されるビット列を入力し、前
記入力されたビット列とは異なるビット列を出力する符
号変換方法であって、前記符号のビット配列とEOB符
号のビット配列を記録してある検出符号テーブルと、各
符号のビット配列に対して、別のビット配列の符号を対
応したテーブルを記憶している1次元テーブルと、各符
号のビット配列に対して、前記1次元テーブルに記録し
てあるビット配列とは異なるビット配列の符号を対応し
たテーブルを記憶している途中符号1次元テーブルとを
備え、入力されるビット列から、前記検出符号テーブル
に記録してあるビット配列を参照して前記符号あるいは
EOB符号を検出する符号検出ステップと、前記符号検
出ステップでEOB符号以外を検出した場合に、符号蓄
積ステップに符号を入力するEOB確認ステップと、前
記符号検出ステップで検出し、前記EOB確認ステップ
から入力された符号を蓄積する前記符号蓄積ステップ
と、前記符号検出ステップでEOB符号以外を検出した
場合に、前記符号蓄積ステップで蓄積した符号を途中符
号変換ステップに入力し、前記符号検出ステップでEO
B符号を検出した場合に、前記符号蓄積ステップで蓄積
した符号を符号変換ステップに入力する符号出力変更ス
テップと、前記符号出力変更ステップから入力された符
号に対して、前記途中符号1次元テーブルに記憶してい
る符号を検索し出力する前記途中符号変換ステップと、
前記符号出力変更ステップから入力された符号に対し
て、前記1次元テーブルに記憶している符号を検索し出
力する前記符号変換ステップとを備えることを特徴とす
る。
Alternatively, the code conversion method according to the second invention of the present invention comprises the steps of:
A code conversion method for inputting a bit sequence composed of a code that can take a bit array of a plurality of patterns, other than the bit sequence of the OB code, and outputting a bit sequence different from the input bit sequence, comprising: A detection code table in which an array and a bit array of an EOB code are recorded; a one-dimensional table in which a table corresponding to a code of another bit array is stored for each bit array of each code; An intermediate code one-dimensional table that stores a table corresponding to a code of a bit array different from the bit array recorded in the one-dimensional table for the array; A code detecting step of detecting the code or the EOB code by referring to the bit array recorded in the table; An EOB checking step of inputting a code to a code storing step when a code other than a code is detected; a code storing step of detecting the code in the code detecting step and storing the code input from the EOB checking step; If a code other than the EOB code is detected in the step, the code stored in the code storage step is input to the intermediate code conversion step, and the EO code is detected in the code detection step.
When a B code is detected, a code output change step of inputting the code stored in the code storage step to a code conversion step, and a code input from the code output change step are stored in the intermediate code one-dimensional table. The intermediate code conversion step of searching for and outputting the stored code,
A code conversion step of searching for and outputting a code stored in the one-dimensional table with respect to the code input from the code output changing step.

【0017】また、本発明の第1の発明による符号変換
プログラムを記録した記録媒体は、固有なビット配列で
あるEOB符号と、EOB符号のビット配列以外で、複
数パターンのビット配列を取りうる符号とで構成される
ビット列を入力し、前記入力されたビット列とは異なる
ビット列を出力する符号変換プログラムを記録した記録
媒体であって、前記符号のビット配列とEOB符号のビ
ット配列を記録してある検出符号テーブルと、各符号の
ビット配列に対して、別のビット配列の符号を対応した
テーブルを記憶している1次元テーブルとを備え、入力
されるビット列から、前記検出符号テーブルに記録して
あるビット配列を参照して前記符号あるいはEOB符号
を検出する符号検出手順と、前記符号検出手順でEOB
符号以外を検出した場合に、符号蓄積手順に符号を入力
するEOB確認手順と、前記符号検出手順で検出し、前
記EOB確認手順から入力された符号を蓄積する前記符
号蓄積手順と、前記符号検出手順でEOB符号以外を検
出した場合に、前記符号蓄積手順で蓄積した符号を出力
し、前記符号検出手順でEOB符号を検出した場合に、
前記符号蓄積手順で蓄積した符号を符号変換手順に入力
する符号出力変更手順と、前記符号出力変更手順から入
力された符号に対して、前記1次元テーブルに記憶して
いる符号を検索し出力する前記符号変換手順とを、備え
た符号変換プログラムをコンピュータで実行するため
に、前記コンピュータが読み取り可能な記録媒体に記録
したことを特徴とする。
Further, the recording medium on which the code conversion program according to the first invention of the present invention is recorded is an EOB code which is a unique bit array and a code which can take a bit array of a plurality of patterns other than the bit array of the EOB code. And a recording medium storing a code conversion program for outputting a bit sequence different from the input bit sequence, wherein the bit sequence of the code and the bit sequence of the EOB code are recorded. A detection code table, and a one-dimensional table storing a table corresponding to a code of another bit array for a bit array of each code. A code detecting procedure for detecting the code or the EOB code by referring to a certain bit array;
An EOB confirmation procedure for inputting a code to the code accumulation procedure when a code other than a code is detected; a code accumulation procedure for detecting the code in the code detection procedure and accumulating the code input from the EOB confirmation procedure; If a code other than the EOB code is detected in the procedure, the code stored in the code storage procedure is output, and if the EOB code is detected in the code detection procedure,
A code output changing step of inputting the code stored in the code storing step to a code converting step; and searching and outputting a code stored in the one-dimensional table for the code input from the code output changing step. The code conversion procedure is recorded on a computer-readable recording medium in order to execute the code conversion program provided by the computer.

【0018】あるいは、本発明の第2の発明による符号
変換プログラムを記録した記録媒体は、固有なビット配
列であるEOB符号と、EOB符号のビット配列以外
で、複数パターンのビット配列を取りうる符号とで構成
されるビット列を入力し、前記入力されたビット列とは
異なるビット列を出力する符号変換プログラムを記録し
た記録媒体であって、前記符号のビット配列とEOB符
号のビット配列を記録してある検出符号テーブルと、各
符号のビット配列に対して、別のビット配列の符号を対
応したテーブルを記憶している1次元テーブルと、各符
号のビット配列に対して、前記1次元テーブルに記録し
てあるビット配列とは異なるビット配列の符号を対応し
たテーブルを記憶している途中符号1次元テーブルとを
備え、入力されるビット列から、前記検出符号テーブル
に記録してあるビット配列を参照して前記符号あるいは
EOB符号を検出する符号検出手順と、前記符号検出手
順でEOB符号以外を検出した場合に、符号蓄積手順に
符号を入力するEOB確認手順と、前記符号検出手順で
検出し、前記EOB確認手順から入力された符号を蓄積
する前記符号蓄積手順と、前記符号検出手順でEOB符
号以外を検出した場合に、前記符号蓄積手順で蓄積した
符号を途中符号変換手順に入力し、前記符号検出手順で
EOB符号を検出した場合に、前記符号蓄積手順で蓄積
した符号を符号変換手順に入力する符号出力変更手順
と、前記符号出力変更手順から入力された符号に対し
て、前記途中符号1次元テーブルに記憶している符号を
検索し出力する前記途中符号変換手順と、前記符号出力
変更手順から入力された符号に対して、前記1次元テー
ブルに記憶している符号を検索し出力する前記符号変換
手順とを、備えた符号変換プログラムをコンピュータで
実行するために、前記コンピュータが読み取り可能な記
録媒体に記録したことを特徴とする。
Alternatively, the recording medium on which the code conversion program according to the second invention of the present invention is recorded is a code that can take a bit array of a plurality of patterns other than the EOB code that is a unique bit array and the bit array of the EOB code. And a recording medium storing a code conversion program for outputting a bit sequence different from the input bit sequence, wherein the bit sequence of the code and the bit sequence of the EOB code are recorded. A detection code table, a one-dimensional table storing a table corresponding to a code of another bit array with respect to a bit array of each code, and a one-dimensional table storing a bit array of each code in the one-dimensional table. An intermediate code one-dimensional table storing a table corresponding to a code of a bit arrangement different from the existing bit arrangement. A code detection procedure for detecting the code or the EOB code by referring to the bit array recorded in the detection code table from the sequence of codes, and a code storage procedure when a code other than the EOB code is detected in the code detection procedure. An EOB confirmation procedure for inputting a code, the code accumulation procedure for detecting the code detected in the code detection procedure, and accumulating the code input from the EOB confirmation procedure, A code output changing step of inputting the code stored in the code storing procedure to an intermediate code converting procedure and inputting the code stored in the code storing procedure to the code converting procedure when an EOB code is detected in the code detecting step; For the code input from the code output change procedure, the intermediate code conversion procedure of searching and outputting the code stored in the intermediate code one-dimensional table, A code conversion step of searching and outputting a code stored in the one-dimensional table with respect to a code input from the code output change procedure, and executing a code conversion program provided by a computer. It is recorded on a computer-readable recording medium.

【0019】また、本発明の第1の発明による符号変換
プログラムは、固有なビット配列であるEOB符号と、
EOB符号のビット配列以外で、複数パターンのビット
配列を取りうる符号とで構成されるビット列を入力し、
前記入力されたビット列とは異なるビット列を出力する
符号変換プログラムであって、前記符号のビット配列と
EOB符号のビット配列を記録してある検出符号テーブ
ルと、各符号のビット配列に対して、別のビット配列の
符号を対応したテーブルを記憶している1次元テーブル
とを備え、入力されるビット列から、前記検出符号テー
ブルに記録してあるビット配列を参照して前記符号ある
いはEOB符号を検出する符号検出手順と、前記符号検
出手順でEOB符号以外を検出した場合に、符号蓄積手
順に符号を入力するEOB確認手順と、前記符号検出手
順で検出し、前記EOB確認手順から入力された符号を
蓄積する前記符号蓄積手順と、前記符号検出手順でEO
B符号以外を検出した場合に、前記符号蓄積手順で蓄積
した符号を出力し、前記符号検出手順でEOB符号を検
出した場合に、前記符号蓄積手順で蓄積した符号を符号
変換手順に入力する符号出力変更手順と、前記符号出力
変更手順から入力された符号に対して、前記1次元テー
ブルに記憶している符号を検索し出力する前記符号変換
手順とを備えたことを特徴とする。
Further, the code conversion program according to the first invention of the present invention comprises: an EOB code which is a unique bit array;
In addition to the bit array of the EOB code, a bit string composed of a code that can take a bit array of a plurality of patterns is input,
A code conversion program for outputting a bit sequence different from the input bit sequence, comprising: a detection code table in which a bit sequence of the code and a bit sequence of an EOB code are recorded; And a one-dimensional table storing a table corresponding to the code of the bit array of the above. The code or the EOB code is detected from the input bit string by referring to the bit array recorded in the detection code table. A code detection procedure, an EOB confirmation procedure for inputting a code to a code storage procedure when a code other than an EOB code is detected in the code detection procedure, and a code input from the EOB confirmation procedure detected in the code detection procedure. EO is stored in the code storing procedure and the code detecting procedure.
A code for outputting a code stored in the code storage procedure when detecting a code other than the B code, and for inputting the code stored in the code storage procedure to a code conversion procedure when detecting an EOB code in the code detection procedure. It is characterized by comprising an output change procedure, and the code conversion procedure of searching and outputting a code stored in the one-dimensional table with respect to a code input from the code output change procedure.

【0020】あるいは、本発明の第2の発明による符号
変換プログラムは、固有なビット配列であるEOB符号
と、EOB符号のビット配列以外で、複数パターンのビ
ット配列を取りうる符号とで構成されるビット列を入力
し、前記入力されたビット列とは異なるビット列を出力
する符号変換プログラムであって、前記符号のビット配
列とEOB符号のビット配列を記録してある検出符号テ
ーブルと、各符号のビット配列に対して、別のビット配
列の符号を対応したテーブルを記憶している1次元テー
ブルと、各符号のビット配列に対して、前記1次元テー
ブルに記録してあるビット配列とは異なるビット配列の
符号を対応したテーブルを記憶している途中符号1次元
テーブルとを備え、入力されるビット列から、前記検出
符号テーブルに記録してあるビット配列を参照して前記
符号あるいはEOB符号を検出する符号検出手順と、前
記符号検出手順でEOB符号以外を検出した場合に、符
号蓄積手順に符号を入力するEOB確認手順と、前記符
号検出手順で検出し、前記EOB確認手順から入力され
た符号を蓄積する前記符号蓄積手順と、前記符号検出手
順でEOB符号以外を検出した場合に、前記符号蓄積手
順で蓄積した符号を途中符号変換手順に入力し、前記符
号検出手順でEOB符号を検出した場合に、前記符号蓄
積手順で蓄積した符号を符号変換手順に入力する符号出
力変更手順と、前記符号出力変更手順から入力された符
号に対して、前記途中符号1次元テーブルに記憶してい
る符号を検索し出力する前記途中符号変換手順と、前記
符号出力変更手順から入力された符号に対して、前記1
次元テーブルに記憶している符号を検索し出力する前記
符号変換手順とを備えたことを特徴とする。
Alternatively, the code conversion program according to the second aspect of the present invention comprises an EOB code which is a unique bit array and a code which can take a bit array of a plurality of patterns other than the bit array of the EOB code. A code conversion program for inputting a bit sequence and outputting a bit sequence different from the input bit sequence, comprising: a detection code table in which a bit array of the code and a bit array of an EOB code are recorded; In contrast, a one-dimensional table storing a table corresponding to codes of different bit arrays, and a bit array of a bit array different from the bit array recorded in the one-dimensional table for the bit array of each code. An intermediate code one-dimensional table that stores a table corresponding to codes, and records the detected code table from the input bit string. A code detection procedure for detecting the code or the EOB code by referring to the bit array, and an EOB confirmation procedure for inputting a code to a code storage procedure when a code other than an EOB code is detected in the code detection procedure. A code storing step of detecting codes in the code detecting procedure and storing codes input from the EOB checking procedure; and, when a code other than an EOB code is detected in the code detecting procedure, the codes stored in the code storing procedure are intermediary codes. A code output changing step of inputting the code stored in the code storing step to a code converting step when an EOB code is detected in the code detecting step, and a code input from the code output changing step. The intermediate code conversion procedure for searching for and outputting the code stored in the intermediate code one-dimensional table, and the code input from the code output change procedure. With respect to, the one
And a code conversion step of searching and outputting a code stored in a dimension table.

【0021】本発明の第1の発明では、固有なビット配
列であるEOB符号と、EOB符号のビット配列以外
で、複数パターンのビット配列を取りうる符号とで構成
されるビット列を入力し、入力されたビット列とは異な
るビット列を出力する符号変換において、ビット配列の
入れ替えにより、EOB符号とその直前の符号のビット
配列を、別のビット配列に変換可能とする。これによ
り、EOBを使う方法で符号化した符号化データから、
3DVLC方法に対する復号器で復号できる符号化デー
タを出力する画像符号化において、可変長符号の並びを
一旦2次元情報であるランとレベル情報に変換する手順
と、これらの情報をDCT係数に変換する手順と、再度
DCT係数から3次元情報であるランとレベルとラスト
情報に変換する手順と、これらの情報を可変長符号に変
換する手順を省くことができるようにした。
According to the first aspect of the present invention, a bit string composed of an EOB code which is a unique bit array and a code which can take a bit array of a plurality of patterns other than the bit array of the EOB code is input. In the code conversion for outputting a bit sequence different from the bit sequence that has been performed, the bit sequence is exchanged, so that the bit sequence of the EOB code and the code immediately before it can be converted to another bit sequence. Thereby, from the encoded data encoded by the method using EOB,
In image coding for outputting coded data that can be decoded by a decoder for the 3DVLC method, a procedure for temporarily converting a sequence of variable length codes into run and level information as two-dimensional information, and converting the information into DCT coefficients It is possible to omit a procedure, a procedure for converting the DCT coefficients into run, level, and last information, which are three-dimensional information, and a procedure for converting these information into a variable-length code.

【0022】本発明の第2の発明では、ビット配列の入
れ替えにより、EOB符号とその直前の符号のビット配
列を、別のビット配列に変換する第1の発明に加えて、
EOB符号の直前ではない符号のビット配列も、別のビ
ット配列に変換する。これにより、上記第1の発明で
は、ブロック内の最後の有効なDCT係数の符号のビッ
ト配列を変換するだけであるのに対して、第2の発明で
は、ブロック内のそれ以外の有効なDCT係数の符号の
ビット配列も変換できるようにした。
According to a second aspect of the present invention, in addition to the first aspect, the bit arrangement of the EOB code and the code immediately preceding the EOB code are converted to another bit arrangement by exchanging the bit arrangement.
The bit array of a code that is not immediately before the EOB code is also converted to another bit array. Accordingly, in the first invention, only the bit array of the code of the last valid DCT coefficient in the block is converted, whereas in the second invention, other valid DCT coefficients in the block are converted. The bit arrangement of the sign of the coefficient can be converted.

【0023】[0023]

【発明の実施の形態】本発明の実施形態例を図面を参照
して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described with reference to the drawings.

【0024】動き補償予測符号化方式を用いた第1の符
号化方式で符号化された符号化データを入力として、第
2の符号化方式で復号できる、第1の符号化方式とは異
なるビット配列の符号化データを出力する画像符号化デ
ータ変換装置において、マクロブロックのビット配列を
変換する際の、本発明の符号変換方法を適用する場合の
動作例を示す。入力される符号化データにおけるDCT
係数はEOBを使う方法で符号化されており、これを3
DVLC方法で復号できる符号に変換して出力する。
[0024] Bits different from the first encoding scheme, which can be decoded by the second encoding scheme, using the encoded data encoded by the first encoding scheme using the motion compensation prediction encoding scheme as an input. An operation example when the code conversion method of the present invention is applied when converting the bit array of a macroblock in an image coded data conversion device that outputs coded data of an array will be described. DCT in input encoded data
The coefficients are coded using EOB, which is
The output is converted to a code that can be decoded by the DVLC method.

【0025】画像符号化データ変換装置の装置概要を図
1に示す。本画像符号化データ変換装置は、マクロブロ
ックの符号化データを入力するデータ入力部201と、
マクロブロックの符号化モードを復号する符号化モード
復号部203と、符号化モードを再度符号化する符号化
モード符号化部204と、第1の符号化方式の動きベク
トル情報のビット配列を第2の符号化方式のビット配列
に1対1に対応したルックアップテーブルを記憶した動
きベクトルテーブル部206と、入力ビット列中の動き
ベクトル情報のビット配列を動きベクトルテーブル部2
06に記憶したテーブルを参照してビット配列を変換す
る動きベクトル変換部205と、第1の符号化方式の量
子化スケールのビット配列を第2の符号化方式のビット
配列に1対1に対応したルックアップテーブルを記憶し
た量子化スケールテーブル部208と、入力ビット列中
の量子化スケール情報のビット配列を量子化スケールテ
ーブル部208に記憶したテーブルを参照してビット配
列を変換する量子化スケール変換部207と、DCT係
数符号化データを変換するDCTビットパターン変換部
209と、DCT係数符号化データを変換した回数をカ
ウントするDCTビットパターン変換カウント部210
と、データ入力部201で入力されたビット列を、符号
化モード復号部203または、動きベクトル変換部20
5、または量子化スケール変換部207、またはDCT
ビットパターン変換部209のいずれかに入力すること
を切り替えるデータ入力変更手段202と、符号化デー
タを出力するデータ出力部211とを備える。
FIG. 1 shows an outline of an image coded data converter. The image coded data conversion device includes a data input unit 201 that inputs coded data of a macroblock,
A coding mode decoding unit 203 for decoding the coding mode of the macroblock, a coding mode coding unit 204 for coding the coding mode again, and a bit array of the motion vector information of the first coding method in the second coding mode. And a motion vector table unit 206 that stores a lookup table corresponding to the bit array of the encoding method in a one-to-one correspondence with a bit array of motion vector information in an input bit string.
And a motion vector conversion unit 205 that converts the bit array with reference to the table stored in the table 06, and the bit array of the quantization scale of the first encoding system corresponds to the bit array of the second encoding system on a one-to-one basis. The quantization scale table unit 208 storing the lookup table thus obtained, and the quantization scale conversion for converting the bit array of the bit array of the quantization scale information in the input bit string with reference to the table stored in the quantization scale table unit 208 Unit 207, DCT bit pattern conversion unit 209 for converting DCT coefficient encoded data, and DCT bit pattern conversion counting unit 210 for counting the number of times DCT coefficient encoded data is converted
And the bit string input by the data input unit 201 into the encoding mode decoding unit 203 or the motion vector conversion unit 20.
5, or the quantization scale conversion unit 207, or DCT
A data input changing unit 202 that switches input to any of the bit pattern conversion units 209 and a data output unit 211 that outputs encoded data are provided.

【0026】この中のDCTビットパターン変換部20
9の概要を図2に示す。DCTビットパターン変換部2
09は、検出符号テーブル部110と、符号検出部11
1と、EOB確認手段112と、符号蓄積部113と、
符号出力変更手段114と、符号変換部115と、1次
元テーブル部116と、途中符号変換部118と、途中
符号1次元テーブル部117とを備える。
The DCT bit pattern conversion unit 20
9 is shown in FIG. DCT bit pattern converter 2
09 denotes a detection code table unit 110 and a code detection unit 11
1, EOB confirmation means 112, code accumulation section 113,
A code output changing unit 114, a code conversion unit 115, a one-dimensional table unit 116, an intermediate code conversion unit 118, and an intermediate code one-dimensional table unit 117 are provided.

【0027】符号化モードは、第1の符号化方式と第2
の符号化方式で共に、マクロブロックの符号化データ中
に動きベクトル情報が含まれているかどうかの情報と、
DCT係数符号化データが含まれているブロックの位置
の情報を示すとする。第1の符号化方式では、符号化モ
ードの符号化データは7ビットの固定長であるとする。
最初の1ビットが0の場合には動きベクトル情報が無い
ことを示し、1の場合には動きベクトル情報があること
を示すとする。続く6ビットは、Y成分左上、Y成分右
上、Y成分左下、Y成分右下、U成分、V成分の順序
で、各ブロックのDCT係数情報の有無を示すとする。
各ビットが0の場合には該当するブロックのDCT係数
情報が無いことを示し、1の場合にはDCT係数情報が
あることを示すとする。第2の符号化方式では、符号化
モードの符号化データは7ビットの固定長であるとす
る。最初の6ビットは、Y成分左上、Y成分右上、Y成
分左下、Y成分右下、U成分、V成分の順序で、各ブロ
ックのDCT係数情報の有無を示すとする。各ビットが
0の場合には該当するブロックのDCT係数倍報が無い
ことを示し、1の場合にはDCT係数情報があることを
示すとする。続く1ビットが0の場合には動きベクトル
情報が無いことを示し、1の場合には動きベクトル情報
があることを示すとする。
The encoding mode includes the first encoding method and the second encoding method.
Information on whether motion vector information is included in the encoded data of the macroblock,
It is assumed that the information indicates the position of the block containing the DCT coefficient encoded data. In the first encoding method, it is assumed that the encoded data in the encoding mode has a fixed length of 7 bits.
When the first 1 bit is 0, it indicates that there is no motion vector information, and when it is 1, it indicates that there is motion vector information. The following 6 bits indicate the presence or absence of DCT coefficient information of each block in the order of Y component upper left, Y component upper right, Y component lower left, Y component lower right, U component, and V component.
When each bit is 0, it indicates that there is no DCT coefficient information of the corresponding block, and when each bit is 1, it indicates that there is DCT coefficient information. In the second encoding method, it is assumed that encoded data in the encoding mode has a fixed length of 7 bits. The first 6 bits indicate the presence or absence of DCT coefficient information of each block in the order of Y component upper left, Y component upper right, Y component lower left, Y component lower right, U component, and V component. When each bit is 0, it indicates that there is no DCT coefficient multiple information of the corresponding block, and when each bit is 1, it indicates that there is DCT coefficient information. When the subsequent 1 bit is 0, it indicates that there is no motion vector information, and when it is 1, it indicates that there is motion vector information.

【0028】動きベクトル情報は、第1の符号化方式で
は、縦成分と構成分の値がそれぞれ、7ビットの固定長
で符号化されているものとする。先頭ビットが0の場合
には値がプラスであり、1の場合にはマイナスであるこ
とを示すものとする。第2の符号化方式では、縦成分と
構成分の値がそれぞれ、7ビットの固定長で符号化され
ているものとする。先頭ビットが1の場合には値がプラ
スであり、0の場合にはマイナスであることを示すもの
とする。量子化スケール情報は、第1の符号化方式では
2進数で表現される7ビットの固定長で符号化され、第
2の符号化方式では2進数で表現される8ビットの固定
長で符号化されているものとする。
In the motion vector information, in the first encoding method, it is assumed that the value of the vertical component and the value of the component are each encoded at a fixed length of 7 bits. When the first bit is 0, the value is positive, and when it is 1, it is negative. In the second encoding method, it is assumed that the value of the vertical component and the value of the component are each encoded with a fixed length of 7 bits. When the first bit is 1, the value is positive, and when it is 0, the value is negative. The quantization scale information is encoded with a fixed length of 7 bits represented by a binary number in the first encoding scheme, and encoded with a fixed length of 8 bits represented by a binary number in the second encoding scheme. It is assumed that

【0029】動きベクトルテーブル部206に記憶して
いるビット配列対応テーブル例を図3に示す。量子化ス
ケールテーブル部208に記憶しているビット配列対応
テーブル例を図4に示す。検出符号テーブル部110に
記憶しているビット配列対応テーブル例を図5に示し、
1次元テーブル部116に記憶しているビット配列対応
テーブル例を図6に示し、途中符号1次元テーブル部1
17に記憶しているビット配列対応テーブル例を図7に
示す。EOB符号のビット配列を0011111000
とする。符号蓄積部113には予めビット0が蓄積され
ているものとする。新しいビット配列を蓄積する度に蓄
積していた符号を出力するものとする。符号出力変更手
段114は、符号蓄積部113からの出力がビット0の
場合には、何も出力しないものとする。符号出力変更手
段114は、EOB符号出力部106がEOB符号を出
力しないと、符号蓄積部113に蓄積されたビット配列
を途中符号変換部118へ出力する。EOB符号出力部
106がEOB符号を出力すると、符号蓄積部113に
蓄積されたビット配列を符号変換部115へ出力し、符
号蓄積部113にはビット0を蓄積するものとする。初
期状態として、データ入力変更手段202は、データ入
力部201で入力されたデータを符号化モード復号部2
03に入力するように設定しているものとする。
FIG. 3 shows an example of the bit arrangement correspondence table stored in the motion vector table section 206. FIG. 4 shows an example of a bit array correspondence table stored in the quantization scale table unit 208. FIG. 5 shows an example of a bit array correspondence table stored in the detection code table section 110.
FIG. 6 shows an example of the bit array correspondence table stored in the one-dimensional table unit 116.
FIG. 7 shows an example of the bit array correspondence table stored in the table 17. The bit arrangement of the EOB code is 0011111000
And It is assumed that bit 0 is stored in the code storage unit 113 in advance. Each time a new bit array is stored, the stored code is output. The code output changing means 114 does not output anything when the output from the code storage unit 113 is bit 0. If the EOB code output unit 106 does not output the EOB code, the code output changing unit 114 outputs the bit array stored in the code storage unit 113 to the intermediate code conversion unit 118. When the EOB code output unit 106 outputs the EOB code, the bit array stored in the code storage unit 113 is output to the code conversion unit 115, and bit 0 is stored in the code storage unit 113. As an initial state, the data input change unit 202 converts the data input by the data input unit 201 into the encoding mode decoding unit 2.
03 is set to be input.

【0030】このような前提の下で次のようなビット配
列のマクロブロック符号化データを入力した場合には、
画像符号化装置は次のように動作する。
Under the above assumption, when macroblock encoded data having the following bit arrangement is input,
The image encoding device operates as follows.

【0031】1010100 0001111 1000001 0001111 0011100 0011110 0011111000 0011110 001011000 0011111000 まず符号化モード復号部203は、データ入力部201
から入力される符号化データから7ビット抽出する。符
号化モード情報が1010100であることがわかる。
符号化モードを復号することによりマクロブロックの符
号化データ中には、動きベクトル情報があり、Y成分右
上とY成分右下のブロックのDCT係数情報がある、す
なわち2ブロック分のDCT情報があることがわかる。
符号化モード符号化部204は復号した符号化モードを
ビット配列0101001に変換する。動きベクトル情
報が符号化データ中にあるため、動きベクトル変換部2
05は入力データを動きベクトルテーブル部206に記
憶したテーブルを参照して、ビット配列を変換する。ビ
ット配列0001111に対してはビット配列1001
111を出力し、ビット配列1000001に対しては
ビット配列0000001を出力する。量子化スケール
変換部207は、量子化スケールテーブル部208に記
憶したテーブルを参照して、ビット配列0001111
をビット配列00001111に変換して出力する。
1010100 0001111 1000001 0001111 0011100 0011110 0011111000 0011110 001011000 0011111000 First, the coding mode decoding section 203 comprises a data input section 201.
7 bits are extracted from the coded data input from. It can be seen that the encoding mode information is 1010100.
By decoding the encoding mode, the encoded data of the macroblock includes motion vector information, and includes DCT coefficient information of the upper right component and the lower right component of the Y component, that is, DCT information for two blocks. You can see that.
The encoding mode encoding unit 204 converts the decoded encoding mode into a bit array 0101001. Since the motion vector information is in the encoded data, the motion vector conversion unit 2
Reference numeral 05 refers to a table in which the input data is stored in the motion vector table unit 206, and converts the bit array. Bit array 1001 for bit array 0001111
111, and a bit array 0000001 for the bit array 1000001. The quantization scale conversion unit 207 refers to the table stored in the quantization scale table unit 208, and refers to the bit array 0001111
Is converted into a bit array 000011111 and output.

【0032】その後、DCTビットパターン変換部20
9は符号化データから、2ブロック分の符号化データ
を、EOBを使う方法で符号化したものから、3DVL
C方法で符号化したものに変換する。その方法は次の通
りである。
Thereafter, the DCT bit pattern converter 20
9 is 3DVL from the coded data obtained by coding two blocks of coded data by the method using EOB.
It is converted to the one coded by the C method. The method is as follows.

【0033】符号検出部111は、検出符号テーブル部
110に記憶されたテーブルを参照して符号を検出す
る。まずビット配列0011100を検出する。これは
EOBではないので、符号蓄積部113は予め蓄積して
おいたビット0を出力し、このビット配列を蓄積する。
符号出力変更手段114はビット0を入力するのでビッ
トを出力しない。
The code detecting section 111 detects a code by referring to the table stored in the detected code table section 110. First, the bit array 0011100 is detected. Since this is not an EOB, the code storage unit 113 outputs bit 0 stored in advance, and stores this bit array.
The sign output changing means 114 does not output a bit because the bit 0 is input.

【0034】次に符号検出部111はビット配列001
1110を検出する。これもEOBではないので、符号
蓄積部113は蓄積しておいたビット配列001110
0を出力し、ビット配列0011110を蓄積する。符
号出力変更手段114は、EOB符号を受信しないの
で、符号蓄積部113からの入力を途中符号変換部11
8へ出力する。途中符号変換部118は、途中符号1次
元テーブル部117に記憶されたテーブルを参照して、
ビット配列0011100をビット配列1111100
に変換して出力する。
Next, the code detecting unit 111 outputs the bit sequence 001
1110 is detected. Since this is not an EOB, the code storage unit 113 stores the stored bit array 001110.
0 is output and the bit array 0011110 is stored. Since the code output changing unit 114 does not receive the EOB code, the code output changing unit 114 converts the input from the code storage unit 113 into the intermediate code conversion unit 11.
8 is output. The intermediate code conversion unit 118 refers to the table stored in the intermediate code one-dimensional table unit 117,
The bit array 0011100 is replaced with the bit array 1111100
And output.

【0035】次に符号検出部111はビット配列001
1111000を検出する。これはEOB符号なので、
符号蓄積部113は蓄積しておいたビット配列0011
110を出力し、ビット0を蓄積する。符号出力変更手
段114は、EOB符号を受信するので、符号蓄積部1
13からの入力を符号変換部115へ出力する。符号変
換部115は、1次元テーブル部116に記憶されたテ
ーブルを参照して、ビット配列0011110をビット
配列1111101に変換して出力する。
Next, the code detecting section 111 outputs the bit sequence 001
1111000 is detected. Since this is an EOB code,
The code storage unit 113 stores the stored bit array 0011
Output 110 and store bit 0. Since the code output changing means 114 receives the EOB code, the code output
13 is output to code conversion section 115. The code conversion unit 115 converts the bit array 0011110 into a bit array 1111111, with reference to the table stored in the one-dimensional table unit 116, and outputs it.

【0036】DCTビットパターン変換カウント部21
0は、1ブロックの変換を終了したので、カウントを1
にする。
DCT bit pattern conversion counting section 21
0 means that the conversion of one block has been completed, so the count is 1
To

【0037】続いて、符号検出部111はビット配列0
011110を検出する。これはEOBではないので、
符号蓄積部113は予め蓄積しておいたビット0を出力
し、このビット配列を蓄積する。符号出力変更手段11
4は、ビット0を入力するのでビットを出力しない。
Subsequently, the code detection unit 111 sets the bit arrangement 0
011110 is detected. Since this is not EOB,
The code storage unit 113 outputs the bit 0 stored in advance, and stores this bit array. Sign output changing means 11
No. 4 does not output a bit because the bit 0 is input.

【0038】次に符号検出部111はビット配列001
011000を検出する。これもEOBではないので、
符号蓄積部113は蓄積しておいたビット配列0011
110を出力し、ビット配列001011000を蓄積
する。符号出力変更手段114は、EOB符号を受信し
ないので、符号蓄積部113からの入力を途中符号変換
部118へ出力する。途中符号変換部118は、途中符
号1次元テーブル部117に記憶されたテーブルを参照
して、ビット配列0011110をビット配列1111
110に変換して出力する。
Next, the code detecting section 111 outputs the bit sequence 001
011000 is detected. Since this is not EOB,
The code storage unit 113 stores the stored bit array 0011
110 and accumulate the bit array 001011000. Since the code output changing unit 114 does not receive the EOB code, the code output changing unit 114 outputs the input from the code storage unit 113 to the intermediate code conversion unit 118. The intermediate code conversion unit 118 refers to the table stored in the intermediate code one-dimensional table unit 117 and converts the bit array 0011110 into the bit array 1111.
Converted to 110 and output.

【0039】次に符号検出部111はビット配列001
1111000を検出する。これはEOB符号なので、
符号蓄積部113は蓄積しておいたビット配列0010
11000を出力し、ビット0を蓄積する。符号出力変
更手段114は、EOB符号を受信するので、符号蓄積
部113からの入力を符号変換部115へ出力する。符
号変換部115は、1次元テーブル部116に記憶され
たテーブルを参照して、ビット配列001011000
をビット配列111011001に変換して出力する。
Next, the code detecting section 111 outputs the bit sequence 001
1111000 is detected. Since this is an EOB code,
The code storage unit 113 stores the stored bit array 0010
Output 11000 and store bit 0. Since the code output changing unit 114 receives the EOB code, it outputs the input from the code storage unit 113 to the code conversion unit 115. The code conversion unit 115 refers to the table stored in the one-dimensional table unit 116 and
Is converted to a bit array 111011001 and output.

【0040】DCTビットパターン変換カウント部21
0は、1ブロックの変換を終了したので、カウントを1
増やし2にする。2ブロック分のDCT係数を変換し、
マクロブロックの全ての符号化データを得ることができ
たのでデータ出力部211は符号化データを出力する。
この時の符号化データは次のようになる。
DCT bit pattern conversion counting section 21
0 means that the conversion of one block has been completed, so the count is 1
Increase to 2. Transform DCT coefficients for two blocks,
Since all the encoded data of the macro block has been obtained, the data output unit 211 outputs the encoded data.
The encoded data at this time is as follows.

【0041】0101001 1001111 0000001 00001111 1111100 1111101 1111110 111011001 このようにEOB符号がなく、3DVLC方法に対応し
た復号器で復号できるビット配列にすることができる。
0101001 1001111 00000001 000011111 1111100 1111101 1111110 111011001 As described above, there is no EOB code, and a bit array that can be decoded by a decoder corresponding to the 3DVLC method can be obtained.

【0042】この実施形態例のように本発明による画像
符号化装置では、EOBを使う方法で符号化した符号化
データから、3DVLC方法に対する復号器で復号でき
る符号化データを出力する際に、可変長符号の並びを一
旦2次元情報であるランとレベル情報に変換する手順
と、これらの情報をDCT係数に変換する手順と、再度
DCT係数から3次元情報であるランとレベルとラスト
情報に変換する手順と、これらの情報を可変長符号に変
換する手順を省くことができる。
In the image coding apparatus according to the present invention as in this embodiment, when coded data that can be decoded by a decoder for the 3DVLC method is output from coded data coded by the method using EOB, A procedure for temporarily converting a sequence of long codes into run and level information as two-dimensional information, a procedure for converting the information into DCT coefficients, and a procedure for again converting DCT coefficients into run, level and last information as three-dimensional information And a procedure for converting such information into a variable-length code can be omitted.

【0043】また、DCTビットパターン変換部209
では、途中符号変換部118と途中符号1次元テーブル
部117を備えない構成も可能である。構成を図8に示
す。これによれば、ブロック内の最後の有効なDCT係
数の符号のビット配列のみを変換することも可能であ
る。
The DCT bit pattern converter 209
In this case, a configuration without the intermediate code conversion unit 118 and the intermediate code one-dimensional table unit 117 is also possible. FIG. 8 shows the configuration. According to this, it is also possible to convert only the bit arrangement of the sign of the last valid DCT coefficient in the block.

【0044】また、本実施形態例の構成から量子化スケ
ール復号部と量子化スケール符号化部を外すことによ
り、マクロブロック符号化データ中に量子化スケール情
報を含まない符号化データに対しても、DCT係数のビ
ット配列を変換することができる。構成を図9に示す。
これによれば、量子化していないDCT係数配列を符号
にした場合においても、EOBを使う方法で符号化した
符号化データから、3DVLC方法に対する復号器で復
号できる符号化データを出力する際に、可変長符号の並
びを一旦2次元情報であるランとレベル情報に変換する
手順と、これらの情報をDCT係数に変換する手順と、
再度DCT係数から3次元情報であるランとレベルとラ
スト情報に変換する手順と、これらの情報を可変長符号
に変換する手順を省くことができる。
Also, by removing the quantization scale decoding unit and the quantization scale encoding unit from the configuration of the present embodiment, even for encoded data in which macroblock encoded data does not include quantization scale information. , DCT coefficients can be converted. The configuration is shown in FIG.
According to this, even when a non-quantized DCT coefficient array is encoded, when encoded data that can be decoded by a decoder for the 3DVLC method is output from encoded data encoded by a method using EOB, A procedure for temporarily converting a sequence of variable-length codes into run and level information which is two-dimensional information, a procedure for transforming the information into DCT coefficients,
It is possible to omit the procedure of converting the DCT coefficients into run, level, and last information, which are three-dimensional information, and the procedure of converting these information into variable-length codes.

【0045】なお、MPEG−4符号化データからMP
EG−1符号化データヘ等の、3DVLC方法を使う方
法からEOBを使う方法への変換については、3DVL
Cを使う方法の符号からEOBを使う方法の符号への1
対1の対応づけをしたルックアップテーブルを作ること
ができるため、容易に実現できる。
It should be noted that the MPEG-4 encoded data
Regarding the conversion from the method using the 3D VLC method to the method using the EOB such as EG-1 encoded data, 3DVL
1 from code of method using C to code of method using EOB
Since a lookup table having a one-to-one correspondence can be created, it can be easily realized.

【0046】また、図1、図2、図8、図9で示した画
像符号化データ変換装置やDCTビットパターン変換部
における各部の一部もしくは全部での処理とその処理の
流れをコンピュータのプログラムで構成し、そのプログ
ラムをコンピュータを用いて実行して本発明を実現する
ことができること、あるいは、これらの図を用いて説明
した画像符号化データ変換方法やDCTビットパターン
変換方法の処理手順をコンピュータのプログラムで構成
し、そのプログラムをコンピュータに実行させることが
可能なことは言うまでもなく、コンピュータでその処理
とその処理の流れを実現するためのプログラム、あるい
は、コンピュータにその処理手順を実行させるためのプ
ログラムを、そのコンピュータが読み取り可能な記憶媒
体、例えば、FD(フロッピーディスク(登録商標))
や、MO、ROM、メモリカード、CD、DVD、リム
ーバブルディスクなどに記録して、保存したり、提供し
たりすることができるとともに、インターネット等のネ
ットワークを介して配布することが可能である。
Also, the processing of some or all of the units in the image coded data conversion device and DCT bit pattern conversion unit shown in FIGS. 1, 2, 8, and 9 and the flow of the processing are described by a computer program. The present invention can be implemented by executing the program using a computer, or the processing procedure of the image coded data conversion method and the DCT bit pattern conversion method described with reference to these drawings. It is needless to say that the computer program can be executed by a computer, and it is needless to say that the program can be executed by a computer. The program is stored in a computer-readable storage medium such as an FD. Floppy disk (registered trademark))
It can be recorded on an MO, a ROM, a memory card, a CD, a DVD, a removable disk, or the like, stored and provided, and can be distributed via a network such as the Internet.

【0047】[0047]

【発明の効果】以上の発明によれば、3DVLC方法を
使ったのと同様な符号を出力する符号変換装置におい
て、従来の3DVLC方法で必要な、ブロック内のDC
T係数の符号を出力する度に必要な次符号係数検出部の
確認作業や、3次元テーブル探索のような冗長な手順を
避けることができる。
According to the above invention, in a code conversion apparatus for outputting a code similar to that using the 3DVLC method, a DC conversion in a block required in the conventional 3DVLC method is performed.
It is possible to avoid a redundant procedure such as a check operation of the next code coefficient detection unit and a three-dimensional table search which are necessary every time the code of the T coefficient is output.

【0048】また、DCT係数をEOBを使う方法で符
号化した符号化データを入力とし、3DVLC方法に対
する復号器で復号できる符号化データを出力する符号変
換装置において、可変長符号の並びを一旦2次元情報で
あるランとレベル情報に変換する手順と、これらの情報
をDCT係数に変換する手順と、再度DCT係数から3
次元情報であるランとレベルとラスト情報に変換する手
順と、これらの情報を可変長符号に変換する手順を省く
ことができる。
Also, in a code conversion device which receives coded data obtained by coding DCT coefficients by a method using EOB and outputs coded data that can be decoded by a decoder for the 3D VLC method, the arrangement of variable length codes is A procedure for converting the information into run and level information, which is dimensional information, a procedure for converting the information into DCT coefficients,
It is possible to omit a procedure for converting the information into run, level, and last information, which are dimensional information, and a procedure for converting the information into a variable length code.

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

【図1】本発明の画像符号化データ変換装置の一実施形
態例を示す構成図
FIG. 1 is a configuration diagram illustrating an embodiment of an image coded data conversion device according to the present invention.

【図2】本発明のDCTビットパターン変換部の一実施
形態例を示す構成図
FIG. 2 is a configuration diagram showing an embodiment of a DCT bit pattern converter according to the present invention;

【図3】本発明の実施形態例の動きベクトルテーブル部
に記憶したテーブルの構成図
FIG. 3 is a configuration diagram of a table stored in a motion vector table unit according to the embodiment of the present invention;

【図4】本発明の実施形態例の量子化スケールテーブル
部に記憶したテーブルの構成図
FIG. 4 is a configuration diagram of a table stored in a quantization scale table unit according to the embodiment of the present invention;

【図5】本発明の実施形態例の検出符号テーブル部に記
憶したテーブルの構成図
FIG. 5 is a configuration diagram of a table stored in a detection code table unit according to the embodiment of the present invention;

【図6】本発明の実施形態例の1次元テーブル部に記憶
したテーブルの構成図
FIG. 6 is a configuration diagram of a table stored in a one-dimensional table unit according to the embodiment of the present invention;

【図7】本発明の実施形態例の途中符号1次元テーブル
部に記憶したテーブルの構成図
FIG. 7 is a configuration diagram of a table stored in an intermediate code one-dimensional table unit according to the embodiment of the present invention;

【図8】本発明のDCTビットパターン変換部の別の実
施形態例を示す構成図
FIG. 8 is a configuration diagram showing another embodiment of the DCT bit pattern conversion unit of the present invention.

【図9】本発明の画像符号化データ変換装置の別の実施
形態例を示す構成図
FIG. 9 is a configuration diagram showing another embodiment of the image coded data conversion device of the present invention.

【図10】8×8DCT係数上のジグザグスキャンの説
明図
FIG. 10 is an explanatory diagram of a zigzag scan on 8 × 8 DCT coefficients.

【図11】ランとレベルに対応する2次元テーブルの構
成図
FIG. 11 is a configuration diagram of a two-dimensional table corresponding to runs and levels.

【図12】EOBを使う方法の構成図FIG. 12 is a configuration diagram of a method using EOB.

【図13】DCT係数配列の例を示す図FIG. 13 shows an example of a DCT coefficient array.

【図14】ランとレベルとラストに対応する3次元テー
ブルの構成図
FIG. 14 is a configuration diagram of a three-dimensional table corresponding to a run, a level, and a last

【図15】3DVLC方法の構成図FIG. 15 is a configuration diagram of a 3DVLC method.

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

101…ゼロカウント部 102…EOB符号化変更手段 103…ランレベル設定部 104…2D符号出力部 105…2次元テーブル部 106…EOB符号出力部 107…次符号係数検出部 108…3次元テーブル部 109…3D符号出カ部 110…検出符号テーブル部 111…符号検出部 112…EOB確認手段 113…符号蓄積部 114…符号出力変更手段 115…符号変換部 116…1次元テーブル部 117…途中符号1次元テーブル部 118…途中符号変換部 201…データ入力部 202…データ入力変更手段 203…符号化モード復号部 204…符号化モード符号化部 205…動きベクトル変換部 206…動きベクトルテーブル部 207…量子化スケール変換部 208…量子化スケールテーブル部 209…DCTビットパターン変換部 210…DCTビットパターン変換カウント部 211…データ出力部 DESCRIPTION OF SYMBOLS 101 ... Zero count part 102 ... EOB coding change means 103 ... Run level setting part 104 ... 2D code output part 105 ... Two-dimensional table part 106 ... EOB code output part 107 ... Next code coefficient detection part 108 ... Three-dimensional table part 109 ... 3D code output unit 110 ... detection code table unit 111 ... code detection unit 112 ... EOB confirmation unit 113 ... code storage unit 114 ... code output change unit 115 ... code conversion unit 116 ... one-dimensional table unit 117 ... intermediate code one-dimensional Table section 118: Intermediate code conversion section 201: Data input section 202: Data input change section 203: Encoding mode decoding section 204: Encoding mode encoding section 205: Motion vector conversion section 206: Motion vector table section 207: Quantization Scale conversion unit 208: quantization scale table unit 209: DCT Ttopatan conversion unit 210 ... DCT bit pattern conversion counting unit 211 ... data output unit

フロントページの続き Fターム(参考) 5C059 KK41 MA00 MA23 MC11 MC24 MC38 ME01 ME13 ME17 PP04 PP16 RC14 SS20 UA02 UA05 5J064 BB13 BC01 BC02 BC05 BC16 BC29 CA02 CB12 CC01 Continued on front page F-term (reference) 5C059 KK41 MA00 MA23 MC11 MC24 MC38 ME01 ME13 ME17 PP04 PP16 RC14 SS20 UA02 UA05 5J064 BB13 BC01 BC02 BC05 BC16 BC29 CA02 CB12 CC01

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 固有なビット配列であるEOB符号と、
EOB符号のビット配列以外で、複数パターンのビット
配列を取りうる符号とで構成されるビット列を入力し、
前記入力されたビット列とは異なるビット列を出力する
符号変換装置であって、 前記符号のビット配列とEOB符号のビット配列を記録
してある検出符号テーブル部と、 入力されるビット列から、前記検出符号テーブル部に記
録してあるビット配列を参照して前記符号あるいはEO
B符号を検出する符号検出部と、 前記符号検出部で検出して入力される符号を蓄積する符
号蓄積部と、 前記符号検出部でEOB符号以外を検出した場合に、前
記符号蓄積部に符号を入力するEOB確認手段と、 各符号のビット配列に対して、別のビット配列の符号を
対応させたテーブルを記憶している1次元テーブル部
と、 入力される符号に対して、前記1次元テーブル部に記憶
している符号を検索し出力する符号変換部と、 前記符号検出部がEOB符号以外を検出した場合に、前
記符号蓄積部に蓄積した符号を出力し、前記符号検出部
がEOB符号を検出した場合に、前記符号蓄積部に蓄積
した符号を前記符号変換部に入力する符号出力変更手段
とを備えることを特徴とした符号変換装置。
1. An EOB code, which is a unique bit array,
In addition to the bit array of the EOB code, a bit string composed of a code that can take a bit array of a plurality of patterns is input,
What is claimed is: 1. A code conversion device for outputting a bit sequence different from said input bit sequence, comprising: a detection code table section storing a bit sequence of said code and a bit sequence of an EOB code; The code or EO is referred to by referring to the bit arrangement recorded in the table section.
A code detection unit that detects a B code, a code storage unit that stores a code detected and input by the code detection unit, and a code stored in the code storage unit when the code detection unit detects a code other than the EOB code. EOB confirmation means for inputting a code, a one-dimensional table unit storing a table in which a code of another bit array is made to correspond to a bit array of each code, A code conversion unit that searches and outputs a code stored in a table unit; and, when the code detection unit detects a code other than an EOB code, outputs the code stored in the code storage unit. A code conversion device comprising: code output changing means for inputting a code stored in the code storage unit to the code conversion unit when a code is detected.
【請求項2】 固有なビット配列であるEOB符号と、
EOB符号のビット配列以外で、複数パターンのビット
配列を取りうる符号とで構成されるビット列を入力し、
前記入力されたビット列とは異なるビット列を出力する
符号変換装置であって、 前記符号のビット配列とEOB符号のビット配列を記録
してある検出符号テーブル部と、 入力されるビット列から、前記検出符号テーブル部に記
録してあるビット配列を参照して前記符号あるいはEO
B符号を検出する符号検出部と、 前記符号検出部で検出して入力される符号を蓄積する符
号蓄積部と、 前記符号検出部でEOB符号以外を検出した場合に、前
記符号蓄積部に符号を入力するEOB確認手段と、 各符号のビット配列に対して、別のビット配列の符号を
対応したテーブルを記憶している1次元テーブル部と、 入力される符号に対して、前記1次元テーブル部に記憶
している符号を検索し出力する符号変換部と、 各符号のビット配列に対して、前記1次元テーブル部に
記録してあるビット配列とは異なるビット配列の符号を
対応させたテーブルを記憶している途中符号1次元テー
ブル部と、 入力される符号に対して、前記途中符号1次元テーブル
部に記憶している符号を検索し出力する途中符号変換部
と、 前記符号検出部がEOB符号を検出した場合に、前記符
号蓄積部に蓄積した符号を前記符号変換部に入力し、前
記符号検出部がEOB符号以外を検出した場合に、前記
符号蓄積部に蓄積した符号を前記途中符号変換部に入力
する符号出力変更手段とを備えることを特徴とした符号
変換装置。
2. An EOB code, which is a unique bit array,
In addition to the bit array of the EOB code, a bit string composed of a code that can take a bit array of a plurality of patterns is input,
What is claimed is: 1. A code conversion device for outputting a bit sequence different from said input bit sequence, comprising: a detection code table section storing a bit sequence of said code and a bit sequence of an EOB code; The code or EO is referred to by referring to the bit arrangement recorded in the table section.
A code detection unit that detects a B code, a code storage unit that stores a code detected and input by the code detection unit, and a code stored in the code storage unit when the code detection unit detects a code other than the EOB code. EOB checking means for inputting a code, a one-dimensional table section storing a table corresponding to a code of another bit array for each code bit array, and a one-dimensional table for the input code. A code conversion unit for searching and outputting the codes stored in the unit, and a table in which the bit array of each code is associated with a code of a bit array different from the bit array recorded in the one-dimensional table unit. An intermediate code one-dimensional table unit that stores the following: an input code, an intermediate code conversion unit that searches and outputs a code stored in the intermediate code one-dimensional table unit, and the code detection unit E When an OB code is detected, the code stored in the code storage unit is input to the code conversion unit, and when the code detection unit detects a code other than the EOB code, the code stored in the code storage unit is transmitted to the middle. A code conversion device comprising: code output changing means for inputting to a code conversion unit.
【請求項3】 固有なビット配列であるEOB符号と、
EOB符号のビット配列以外で、複数パターンのビット
配列を取りうる符号とで構成されるビット列を入力し、
前記入力されたビット列とは異なるビット列を出力する
符号変換方法であって、 前記符号のビット配列とEOB符号のビット配列を記録
してある検出符号テーブルと、各符号のビット配列に対
して、別のビット配列の符号を対応したテーブルを記憶
している1次元テーブルとを備え、 入力されるビット列から、前記検出符号テーブルに記録
してあるビット配列を参照して前記符号あるいはEOB
符号を検出する符号検出ステップと、 前記符号検出ステップでEOB符号以外を検出した場合
に、符号蓄積ステップに符号を入力するEOB確認ステ
ップと、 前記符号検出ステップで検出し、前記EOB確認ステッ
プから入力された符号を蓄積する前記符号蓄積ステップ
と、 前記符号検出ステップでEOB符号以外を検出した場合
に、前記符号蓄積ステップで蓄積した符号を出力し、前
記符号検出ステップでEOB符号を検出した場合に、前
記符号蓄積ステップで蓄積した符号を符号変換ステップ
に入力する符号出力変更ステップと、 前記符号出力変更ステップから入力された符号に対し
て、前記1次元テーブルに記憶している符号を検索し出
力する前記符号変換ステップとを備えることを特徴とし
た符号変換方法。
3. An EOB code, which is a unique bit array,
In addition to the bit array of the EOB code, a bit string composed of a code that can take a bit array of a plurality of patterns is input,
A code conversion method for outputting a bit sequence different from the input bit sequence, comprising: a detection code table in which a bit sequence of the code and a bit sequence of an EOB code are recorded; And a one-dimensional table that stores a table corresponding to the code of the bit array. The code or EOB is referred to from the input bit string by referring to the bit array recorded in the detection code table.
A code detection step of detecting a code, an EOB confirmation step of inputting a code to a code storage step when a code other than an EOB code is detected in the code detection step, and a detection of the code in the code detection step, and an input from the EOB confirmation step. The code accumulation step of accumulating the obtained code, and, when a code other than the EOB code is detected in the code detection step, the code accumulated in the code accumulation step is output, and the EOB code is detected in the code detection step. A code output change step of inputting the code stored in the code storage step to a code conversion step; and searching and outputting a code stored in the one-dimensional table for the code input from the code output change step. And a code conversion step.
【請求項4】 固有なビット配列であるEOB符号と、
EOB符号のビット配列以外で、複数パターンのビット
配列を取りうる符号とで構成されるビット列を入力し、
前記入力されたビット列とは異なるビット列を出力する
符号変換方法であって、 前記符号のビット配列とEOB符号のビット配列を記録
してある検出符号テーブルと、各符号のビット配列に対
して、別のビット配列の符号を対応したテーブルを記憶
している1次元テーブルと、各符号のビット配列に対し
て、前記1次元テーブルに記録してあるビット配列とは
異なるビット配列の符号を対応したテーブルを記憶して
いる途中符号1次元テーブルとを備え、 入力されるビット列から、前記検出符号テーブルに記録
してあるビット配列を参照して前記符号あるいはEOB
符号を検出する符号検出ステップと、 前記符号検出ステップでEOB符号以外を検出した場合
に、符号蓄積ステップに符号を入力するEOB確認ステ
ップと、 前記符号検出ステップで検出し、前記EOB確認ステッ
プから入力された符号を蓄積する前記符号蓄積ステップ
と、 前記符号検出ステップでEOB符号以外を検出した場合
に、前記符号蓄積ステップで蓄積した符号を途中符号変
換ステップに入力し、前記符号検出ステップでEOB符
号を検出した場合に、前記符号蓄積ステップで蓄積した
符号を符号変換ステップに入力する符号出力変更ステッ
プと、 前記符号出力変更ステップから入力された符号に対し
て、前記途中符号1次元テーブルに記憶している符号を
検索し出力する前記途中符号変換ステップと、 前記符号出力変更ステップから入力された符号に対し
て、前記1次元テーブルに記憶している符号を検索し出
力する前記符号変換ステップとを備えることを特徴とし
た符号変換方法。
4. An EOB code, which is a unique bit array,
In addition to the bit array of the EOB code, a bit string composed of a code that can take a bit array of a plurality of patterns is input,
A code conversion method for outputting a bit sequence different from the input bit sequence, comprising: a detection code table in which a bit sequence of the code and a bit sequence of an EOB code are recorded; A one-dimensional table storing a table corresponding to the codes of the bit array of the above, and a table corresponding to the bit array of each code with a code of a bit array different from the bit array recorded in the one-dimensional table. And a one-dimensional table of intermediate codes that stores the code or EOB from the input bit sequence with reference to the bit array recorded in the detection code table.
A code detection step of detecting a code, an EOB confirmation step of inputting a code to a code storage step when a code other than an EOB code is detected in the code detection step, and a detection of the code in the code detection step, and an input from the EOB confirmation step. The code storing step of storing the obtained code; and, when a code other than the EOB code is detected in the code detecting step, the code stored in the code storing step is input to the intermediate code converting step, and the EOB code is detected in the code detecting step. When a code is detected, a code output change step of inputting the code stored in the code storage step to a code conversion step, and storing the code input from the code output change step in the intermediate code one-dimensional table. The intermediate code conversion step of searching for and outputting a code that has To the code input from flop, said code conversion step and a code conversion method characterized by comprising the to the search code stored in the one-dimensional table output.
【請求項5】 固有なビット配列であるEOB符号と、
EOB符号のビット配列以外で、複数パターンのビット
配列を取りうる符号とで構成されるビット列を入力し、
前記入力されたビット列とは異なるビット列を出力する
符号変換プログラムを記録した記録媒体であって、 前記符号のビット配列とEOB符号のビット配列を記録
してある検出符号テーブルと、各符号のビット配列に対
して、別のビット配列の符号を対応したテーブルを記憶
している1次元テーブルとを備え、 入力されるビット列から、前記検出符号テーブルに記録
してあるビット配列を参照して前記符号あるいはEOB
符号を検出する符号検出手順と、 前記符号検出手順でEOB符号以外を検出した場合に、
符号蓄積手順に符号を入力するEOB確認手順と、 前記符号検出手順で検出し、前記EOB確認手順から入
力された符号を蓄積する前記符号蓄積手順と、 前記符号検出手順でEOB符号以外を検出した場合に、
前記符号蓄積手順で蓄積した符号を出力し、前記符号検
出手順でEOB符号を検出した場合に、前記符号蓄積手
順で蓄積した符号を符号変換手順に入力する符号出力変
更手順と、 前記符号出力変更手順から入力された符号に対して、前
記1次元テーブルに記憶している符号を検索し出力する
前記符号変換手順とを、 備えた符号変換プログラムをコンピュータで実行するた
めに、前記コンピュータが読み取り可能な記録媒体に記
録したことを特徴とした符号変換プログラムを記録した
記録媒体。
5. An EOB code which is a unique bit array,
In addition to the bit array of the EOB code, a bit string composed of a code that can take a bit array of a plurality of patterns is input,
What is claimed is: 1. A recording medium storing a code conversion program for outputting a bit sequence different from the input bit sequence, comprising: a detection code table in which a bit sequence of the code and a bit sequence of an EOB code are recorded; A one-dimensional table storing a table corresponding to the code of another bit array, and referring to the bit array recorded in the detection code table from an input bit string, EOB
A code detection procedure for detecting a code, and when a code other than an EOB code is detected in the code detection procedure,
An EOB confirmation procedure for inputting a code in the code accumulation procedure, the code accumulation procedure for detecting in the code detection procedure and accumulating the code input from the EOB confirmation procedure, and a code other than an EOB code being detected in the code detection procedure In case,
A code output changing step of outputting the code stored in the code storing procedure, and inputting the code stored in the code storing procedure to a code converting procedure when an EOB code is detected in the code detecting step; The code conversion procedure of searching and outputting the code stored in the one-dimensional table with respect to the code input from the procedure; and executing the code conversion program provided by the computer. A recording medium on which a code conversion program characterized by being recorded on a simple recording medium is recorded.
【請求項6】 固有なビット配列であるEOB符号と、
EOB符号のビット配列以外で、複数パターンのビット
配列を取りうる符号とで構成されるビット列を入力し、
前記入力されたビット列とは異なるビット列を出力する
符号変換プログラムを記録した記録媒体であって、 前記符号のビット配列とEOB符号のビット配列を記録
してある検出符号テーブルと、各符号のビット配列に対
して、別のビット配列の符号を対応したテーブルを記憶
している1次元テーブルと、各符号のビット配列に対し
て、前記1次元テーブルに記録してあるビット配列とは
異なるビット配列の符号を対応したテーブルを記憶して
いる途中符号1次元テーブルとを備え、 入力されるビット列から、前記検出符号テーブルに記録
してあるビット配列を参照して前記符号あるいはEOB
符号を検出する符号検出手順と、 前記符号検出手順でEOB符号以外を検出した場合に、
符号蓄積手順に符号を入力するEOB確認手順と、 前記符号検出手順で検出し、前記EOB確認手順から入
力された符号を蓄積する前記符号蓄積手順と、 前記符号検出手順でEOB符号以外を検出した場合に、
前記符号蓄積手順で蓄積した符号を途中符号変換手順に
入力し、前記符号検出手順でEOB符号を検出した場合
に、前記符号蓄積手順で蓄積した符号を符号変換手順に
入力する符号出力変更手順と、 前記符号出力変更手順から入力された符号に対して、前
記途中符号1次元テーブルに記憶している符号を検索し
出力する前記途中符号変換手順と、 前記符号出力変更手順から入力された符号に対して、前
記1次元テーブルに記憶している符号を検索し出力する
前記符号変換手順とを、 備えた符号変換プログラムをコンピュータで実行するた
めに、前記コンピュータが読み取り可能な記録媒体に記
録したことを特徴とした符号変換プログラムを記録した
記録媒体。
6. An EOB code which is a unique bit array,
In addition to the bit array of the EOB code, a bit string composed of a code that can take a bit array of a plurality of patterns is input,
What is claimed is: 1. A recording medium storing a code conversion program for outputting a bit sequence different from the input bit sequence, comprising: a detection code table in which a bit sequence of the code and a bit sequence of an EOB code are recorded; In contrast, a one-dimensional table storing a table corresponding to codes of different bit arrays, and a bit array of a bit array different from the bit array recorded in the one-dimensional table for the bit array of each code. An intermediate code one-dimensional table storing a table corresponding to a code, and referring to a bit array recorded in the detection code table from an input bit string, the code or EOB.
A code detection procedure for detecting a code, and when a code other than an EOB code is detected in the code detection procedure,
An EOB confirmation procedure for inputting a code in the code accumulation procedure, the code accumulation procedure for detecting in the code detection procedure and accumulating the code input from the EOB confirmation procedure, and a code other than an EOB code being detected in the code detection procedure In case,
A code output changing step of inputting the code stored in the code storing procedure to an intermediate code converting procedure and inputting the code stored in the code storing procedure to the code converting procedure when an EOB code is detected in the code detecting step; For the code input from the code output change procedure, the intermediate code conversion procedure of searching and outputting the code stored in the intermediate code one-dimensional table, and the code input from the code output change procedure. The code conversion procedure for searching for and outputting the code stored in the one-dimensional table is recorded on a computer-readable recording medium in order to execute the code conversion program provided on the computer. The recording medium which recorded the code conversion program characterized by the above.
【請求項7】 固有なビット配列であるEOB符号と、
EOB符号のビット配列以外で、複数パターンのビット
配列を取りうる符号とで構成されるビット列を入力し、
前記入力されたビット列とは異なるビット列を出力する
符号変換プログラムであって、 前記符号のビット配列とEOB符号のビット配列を記録
してある検出符号テーブルと、各符号のビット配列に対
して、別のビット配列の符号を対応したテーブルを記憶
している1次元テーブルとを備え、 入力されるビット列から、前記検出符号テーブルに記録
してあるビット配列を参照して前記符号あるいはEOB
符号を検出する符号検出手順と、 前記符号検出手順でEOB符号以外を検出した場合に、
符号蓄積手順に符号を入力するEOB確認手順と、 前記符号検出手順で検出し、前記EOB確認手順から入
力された符号を蓄積する前記符号蓄積手順と、 前記符号検出手順でEOB符号以外を検出した場合に、
前記符号蓄積手順で蓄積した符号を出力し、前記符号検
出手順でEOB符号を検出した場合に、前記符号蓄積手
順で蓄積した符号を符号変換手順に入力する符号出力変
更手順と、 前記符号出力変更手順から入力された符号に対して、前
記1次元テーブルに記憶している符号を検索し出力する
前記符号変換手順とを備えたことを特徴とした符号変換
プログラム。
7. An EOB code, which is a unique bit array,
In addition to the bit array of the EOB code, a bit string composed of a code that can take a bit array of a plurality of patterns is input,
A code conversion program for outputting a bit sequence different from the input bit sequence, comprising: a detection code table in which a bit sequence of the code and a bit sequence of an EOB code are recorded; And a one-dimensional table that stores a table corresponding to the code of the bit array. The code or EOB is referred to from the input bit string by referring to the bit array recorded in the detection code table.
A code detection procedure for detecting a code, and when a code other than an EOB code is detected in the code detection procedure,
An EOB confirmation procedure for inputting a code in the code accumulation procedure, the code accumulation procedure for detecting in the code detection procedure and accumulating the code input from the EOB confirmation procedure, and a code other than an EOB code being detected in the code detection procedure In case,
A code output changing step of outputting the code stored in the code storing procedure, and inputting the code stored in the code storing procedure to a code converting procedure when an EOB code is detected in the code detecting step; A code conversion step of searching for a code stored in the one-dimensional table for a code input from the procedure and outputting the code.
【請求項8】 固有なビット配列であるEOB符号と、
EOB符号のビット配列以外で、複数パターンのビット
配列を取りうる符号とで構成されるビット列を入力し、
前記入力されたビット列とは異なるビット列を出力する
符号変換プログラムであって、 前記符号のビット配列とEOB符号のビット配列を記録
してある検出符号テーブルと、各符号のビット配列に対
して、別のビット配列の符号を対応したテーブルを記憶
している1次元テーブルと、各符号のビット配列に対し
て、前記1次元テーブルに記録してあるビット配列とは
異なるビット配列の符号を対応したテーブルを記憶して
いる途中符号1次元テーブルとを備え、 入力されるビット列から、前記検出符号テーブルに記録
してあるビット配列を参照して前記符号あるいはEOB
符号を検出する符号検出手順と、 前記符号検出手順でEOB符号以外を検出した場合に、
符号蓄積手順に符号を入力するEOB確認手順と、 前記符号検出手順で検出し、前記EOB確認手順から入
力された符号を蓄積する前記符号蓄積手順と、 前記符号検出手順でEOB符号以外を検出した場合に、
前記符号蓄積手順で蓄積した符号を途中符号変換手順に
入力し、前記符号検出手順でEOB符号を検出した場合
に、前記符号蓄積手順で蓄積した符号を符号変換手順に
入力する符号出力変更手順と、 前記符号出力変更手順から入力された符号に対して、前
記途中符号1次元テーブルに記憶している符号を検索し
出力する前記途中符号変換手順と、 前記符号出力変更手順から入力された符号に対して、前
記1次元テーブルに記憶している符号を検索し出力する
前記符号変換手順とを備えたことを特徴とした符号変換
プログラム。
8. An EOB code, which is a unique bit array,
In addition to the bit array of the EOB code, a bit string composed of a code that can take a bit array of a plurality of patterns is input,
A code conversion program for outputting a bit sequence different from the input bit sequence, comprising: a detection code table in which a bit sequence of the code and a bit sequence of an EOB code are recorded; A one-dimensional table storing a table corresponding to the codes of the bit array of the above, and a table corresponding to the bit array of each code with a code of a bit array different from the bit array recorded in the one-dimensional table. And a one-dimensional table of intermediate codes that stores the code or EOB from the input bit sequence with reference to the bit array recorded in the detection code table.
A code detection procedure for detecting a code, and when a code other than an EOB code is detected in the code detection procedure,
An EOB confirmation procedure for inputting a code in the code accumulation procedure, the code accumulation procedure for detecting in the code detection procedure and accumulating the code input from the EOB confirmation procedure, and a code other than an EOB code being detected in the code detection procedure In case,
A code output changing step of inputting the code stored in the code storing procedure to an intermediate code converting procedure and inputting the code stored in the code storing procedure to the code converting procedure when an EOB code is detected in the code detecting step; For the code input from the code output change procedure, the intermediate code conversion procedure of searching and outputting the code stored in the intermediate code one-dimensional table, and the code input from the code output change procedure. A code conversion procedure for searching for and outputting a code stored in the one-dimensional table.
JP2001037827A 2001-02-15 2001-02-15 Code conversion device, code conversion method, code conversion program, and storage medium recoding the same Pending JP2002246914A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001037827A JP2002246914A (en) 2001-02-15 2001-02-15 Code conversion device, code conversion method, code conversion program, and storage medium recoding the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001037827A JP2002246914A (en) 2001-02-15 2001-02-15 Code conversion device, code conversion method, code conversion program, and storage medium recoding the same

Publications (1)

Publication Number Publication Date
JP2002246914A true JP2002246914A (en) 2002-08-30

Family

ID=18900898

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001037827A Pending JP2002246914A (en) 2001-02-15 2001-02-15 Code conversion device, code conversion method, code conversion program, and storage medium recoding the same

Country Status (1)

Country Link
JP (1) JP2002246914A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006042331A (en) * 2004-07-26 2006-02-09 Samsung Electronics Co Ltd Coefficient variable length coding method of four steps pipe line system and coefficient variable length coding machine
JP2009505494A (en) * 2005-08-12 2009-02-05 マイクロソフト コーポレーション Efficient coding and decoding of transform blocks

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006042331A (en) * 2004-07-26 2006-02-09 Samsung Electronics Co Ltd Coefficient variable length coding method of four steps pipe line system and coefficient variable length coding machine
US7995655B2 (en) 2004-07-26 2011-08-09 Samsung Electronics Co., Ltd. Pipelined coefficient variable length coding
JP2009505494A (en) * 2005-08-12 2009-02-05 マイクロソフト コーポレーション Efficient coding and decoding of transform blocks
JP4906855B2 (en) * 2005-08-12 2012-03-28 マイクロソフト コーポレーション Efficient coding and decoding of transform blocks
US8599925B2 (en) 2005-08-12 2013-12-03 Microsoft Corporation Efficient coding and decoding of transform blocks

Similar Documents

Publication Publication Date Title
US9397694B2 (en) Methods and devices for coding and decoding the position of the last significant coefficient
US5945930A (en) Data processing apparatus
JP5258664B2 (en) Image coding apparatus, method and program, and image decoding apparatus, method and program
KR100425615B1 (en) Encoding method and encoding apparatus and decoding method and decoding apparatus
EP3229473B1 (en) Methods and devices for coding and decoding the position of the last significant coefficient
JPH07262175A (en) Function transformation arithmetic unit
CN103098469A (en) Method and apparatus for entropy encoding/decoding a transform coefficient
CN103918272A (en) Data encoding and decoding
JP2008167449A (en) Method and apparatus for encoding/decoding image
JP2004242271A (en) Moving picture encoding method, moving picture decoding method, moving picture encoder, and moving picture decoder
AU2021200431B2 (en) Techniques for high efficiency entropy coding of video data
CN100407791C (en) Image encoding method, image decoding method, image encoding device, image decoding device, program, computer dato signal and image transmission system
JP4181887B2 (en) Variable length coding apparatus and method
JP2000217103A (en) Object unit video signal coder/decoder and its method
JP2002246914A (en) Code conversion device, code conversion method, code conversion program, and storage medium recoding the same
JP5842357B2 (en) Image processing apparatus and image processing program
JPH07135660A (en) Movement vector coder
JP2000333180A (en) Skip macro block inhibit control method, skip macro block inhibit controller and medium recording skip macro block inhibit control program
KR100195715B1 (en) A variable length decoder
JP2002223444A (en) Image coder and image coding method
JP2001078199A (en) Video signal coder
JP2012160985A (en) Information processor and information processing program
KR100195717B1 (en) A variable length decoder
JP4447903B2 (en) Signal processing apparatus, signal processing method, recording medium, and program
WO1999005649A1 (en) Adaptive entropy encoding/decoding