JP4502383B2 - Decoding device and method thereof - Google Patents
Decoding device and method thereof Download PDFInfo
- Publication number
- JP4502383B2 JP4502383B2 JP2004332084A JP2004332084A JP4502383B2 JP 4502383 B2 JP4502383 B2 JP 4502383B2 JP 2004332084 A JP2004332084 A JP 2004332084A JP 2004332084 A JP2004332084 A JP 2004332084A JP 4502383 B2 JP4502383 B2 JP 4502383B2
- Authority
- JP
- Japan
- Prior art keywords
- coefficient
- decoding
- identification signal
- symbol
- sample
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Description
本発明は復号化装置およびその方法に関し、特にランレングス符号化された符号を高速に復号する復号化装置およびその方法に関する。 The present invention relates to a decoding apparatus and method thereof, and more particularly to a decoding apparatus and method for decoding run-length encoded codes at high speed.
従来、CD-ROMやハードディスク等の蓄積媒体に静止画像を保存・表示するための符号化方式として、ISO(国際標準化機構)により標準化されたJPEG方式が広く用いられている。また、動画像と音声を同様な蓄積媒体に保存・表示したり、通信路を介して放送、または双方向通信したりするための符号化方式として、ISOにより標準化されたMPEG方式が広く用いられている。 Conventionally, as an encoding method for storing and displaying a still image on a storage medium such as a CD-ROM or a hard disk, the JPEG method standardized by ISO (International Organization for Standardization) has been widely used. In addition, the MPEG standardized by ISO is widely used as an encoding method for storing and displaying moving images and audio on the same storage medium, broadcasting over a communication channel, or bidirectional communication. ing.
動画像と音声の符号化方式であるMPEG方式は、符号化効率の向上を目的として年々その符号化方式が改良されており、1992年にMPEG-1、1994年にMPEG-2、1999年にはMPEG-4がそれぞれ国際標準として規定されている。MPEG-4においては、符号化効率の向上はもちろんのこと、符号誤り訂正機能の強化や、符号化対象毎に最適な符号化を施すオブジェクト符号化の導入なども実現されている。さらには、MPEG-4シンタックス上のビジュアル層とオーディオ層を包含するファイル形式などを規定するシステム層においては、利用者が要求する任意の時刻の動画像または音声データに容易にアクセスできる仕組みを提供している。 The MPEG system, which is a video and audio encoding system, has been improved year by year for the purpose of improving encoding efficiency. MPEG-1 in 1992, MPEG-2 in 1994, and MPEG-2 in 1999 MPEG-4 is defined as an international standard. In MPEG-4, not only improvement in coding efficiency but also enhancement of a code error correction function and introduction of object coding for performing optimum coding for each coding target are realized. Furthermore, the system layer that defines the file format including the visual layer and audio layer on the MPEG-4 syntax has a mechanism that allows easy access to moving image or audio data at any time requested by the user. providing.
上述したJPEG静止画符号化方式およびMPEG-1/2/4動画符号化方式のいずれの符号化処理においても、まず始めに静止画または動画の原信号はDCT変換された後直流成分であるDC係数と交流成分であるAC係数とに分別される。その後、両係数とも量子化され、更に異なる符号化が施される。まず、2次元情報であるAC係数に対しては、ジグザグスキャン方式を用いた1次元情報への変換が行われる。AC係数の高周波成分には"0"が多く発生するので、"0"以外のAC係数の値(有意係数;レベル)とその前に"0"がいくつあるか(非有意係数の数;ラン長)を組としたシンボルを生成し、それを、発生頻度の高い情報に対して短い符号長の符号語を割り当てるエントロピー符号化方式を採用しているハフマン符号化方式により、符号化する。 In any of the encoding processes of the above-described JPEG still image encoding method and MPEG-1 / 2/4 moving image encoding method, first, the original signal of the still image or moving image is DCT converted to DC component after DCT conversion. They are divided into coefficients and AC coefficients that are alternating current components. Thereafter, both coefficients are quantized and further differently encoded. First, the AC coefficient that is two-dimensional information is converted into one-dimensional information using a zigzag scanning method. Since many “0” s are generated in the high-frequency component of the AC coefficient, the AC coefficient value (significant coefficient; level) other than “0” and how many “0” s precede it (number of insignificant coefficients; run) Symbol) is generated, and is encoded by a Huffman encoding method that employs an entropy encoding method that assigns a codeword having a short code length to information with a high occurrence frequency.
一方、JPEG静止画符号化方式およびMPEG-1/2/4動画符号化方式の復号処理は、上述した符号化処理と対照的にハフマン復号化から始まり、ランレングス復号化、ジグザグスキャン方式による1次元情報から2次元情報への復元、逆DCT変換を経て、再構成静止画・動画が生成される。
On the other hand, the decoding processing of the JPEG still image encoding method and the MPEG-1 / 2/4 moving image encoding method starts with Huffman decoding, in contrast to the above-described encoding processing, and is based on run length decoding and
一般的なハフマン復号化処理(たとえば、特許文献1参照)では、符号化データを先頭から順次解析し、あらかじめ用意されたハフマン符号をアドレスとするハフマン・テーブルを参照して対応するシンボルに変換すると同時に、ハフマン・テーブルから得られる符号長の情報から当該ハフマン符号を符号化データ中から抜き取ることにより、一つのハフマン符号の復号化処理が完了する。 In a general Huffman decoding process (see, for example, Patent Document 1), encoded data is sequentially analyzed from the top, and converted into a corresponding symbol by referring to a Huffman table having a Huffman code prepared in advance as an address. At the same time, by extracting the Huffman code from the encoded data from the code length information obtained from the Huffman table, the decoding process for one Huffman code is completed.
したがって、一般的なハフマン復号化処理では、一つのハフマン符号の復号が完了しないうちは続くハフマン符号の復号を開始することができない。すなわち、1サイクルで復号できるのは1シンボルのみであった。この問題を解決するために、様々な提案が今日までになされているものの、近年の半導体プロセス進化に伴うシステムLSIなどの動作周波数の向上によって、依然として1サイクルで1シンボル以上をハフマン復号化する画像復号化装置の実現は困難である。 Therefore, in a general Huffman decoding process, decoding of a subsequent Huffman code cannot be started until decoding of one Huffman code is completed. That is, only one symbol can be decoded in one cycle. Although various proposals have been made to date to solve this problem, images that still perform Huffman decoding of one symbol or more in one cycle by improving the operating frequency of system LSIs and the like accompanying recent semiconductor process evolution It is difficult to realize a decoding device.
このように、1サイクルあたり1シンボルによるハフマン復号化処理が行われた後、ランレングス復号化処理が行われる。従来、ランレングス復号化処理では、1サイクルあたりに入力される1シンボルをDC成分とAC成分からなるDCT係数に、1サイクルあたり1DCT係数の速度で変換している。
しかしながら、近年のデジタルカメラなど携帯情報機器に搭載されるデジタル撮像素子の高解像度化や、高解像なHDTV放送の普及とインターネットなどのデジタル通信網の高速化に伴う高解像な静止画・動画コンテンツ流通の増加により、高解像で撮影された静止画や動画を高速に復号化する画像復号化装置の需要が高まってきている。 However, high-resolution still images and high-resolution still images have come along with higher resolution of digital image sensors mounted on portable information devices such as digital cameras in recent years, the widespread use of high-resolution HDTV broadcasting, and the speed of digital communication networks such as the Internet. With the increase in the distribution of moving image content, there is an increasing demand for image decoding devices that decode still images and moving images taken at high resolution at high speed.
そこで本発明は、連続する非有意係数の数とそれに続く有意係数の組からなるシンボルを高速に復号化する復号化装置およびその方法を提供することを目的とする。 Therefore, an object of the present invention is to provide a decoding apparatus and method for decoding a symbol composed of a number of consecutive insignificant coefficients and subsequent significant coefficient sets at high speed.
上記の目的を達成するために本発明に係る画像復号化装置は以下のような構成を備える。 In order to achieve the above object, an image decoding apparatus according to the present invention has the following arrangement.
即ち、連続する非有意係数の数とそれに続く有意係数の組からなるシンボルを復号化する復号化装置であって、前記シンボルの有意係数を多段パイプライン構成によって復号化する有意係数復号化手段と、前記多段パイプライン構成の各段で処理される係数の種類を表す係数識別信号を前記多段パイプライン構成に同期して伝送する係数伝送手段と、前記シンボルに応じて前記係数伝送手段に前記係数識別信号を出力するとともに、前記シンボルの連続する非有意係数の数に応じて前記有意係数復号化手段へのシンボル供給を制御する制御手段と、前記係数伝送手段によって伝送された前記係数識別信号に応じて、前記有意係数復号化手段により復号化された有意係数を非有意係数と組み合わせて出力する係数出力手段と、前記制御手段による制御に応じて、前記係数伝送手段により伝送される係数識別信号を変更する係数変更手段とを備え、前記制御手段は、第1のクロックサイクルにおいて前記係数伝送手段で伝送される係数識別信号と入力シンボルに応じて、該第1のクロックサイクルに続く第2のクロックサイクルにおける係数識別信号を決定することを特徴とする。 That is, a decoding device for decoding a symbol comprising a set of consecutive non-significant coefficients followed by a significant coefficient, and significant coefficient decoding means for decoding the significant coefficients of the symbols by a multistage pipeline configuration; , Coefficient transmission means for transmitting a coefficient identification signal representing the type of coefficient processed in each stage of the multistage pipeline configuration in synchronization with the multistage pipeline configuration, and the coefficient to the coefficient transmission means according to the symbol Outputting an identification signal and controlling the supply of symbols to the significant coefficient decoding means according to the number of consecutive insignificant coefficients of the symbol; and the coefficient identification signal transmitted by the coefficient transmission means Correspondingly, the coefficient output means for outputting the significant coefficient decoded by the significant coefficient decoding means in combination with a non-significant coefficients, to the control means Coefficient changing means for changing a coefficient identification signal transmitted by the coefficient transmission means according to control, and the control means inputs a coefficient identification signal transmitted by the coefficient transmission means in a first clock cycle. According to the symbol, the coefficient identification signal in the second clock cycle following the first clock cycle is determined .
本発明によれば、1サイクルあたり1シンボルで入力される、連続する非有意係数の数とそれに続く有意係数の組からなるシンボルを復号化し、1サイクルあたり1つ以上のシンボルの復号結果を出力することにより、最小限の回路構成によって高速な復号化処理が可能となる。 According to the present invention, the number of consecutive insignificant coefficients input at one symbol per cycle and a symbol consisting of a set of subsequent significant coefficients are decoded, and the decoding result of one or more symbols is output per cycle. By doing so, it is possible to perform a high-speed decoding process with a minimum circuit configuration.
以下、添付の図面を参照して、本発明をその好適な実施形態に基づいて詳細に説明する。 Hereinafter, the present invention will be described in detail based on preferred embodiments with reference to the accompanying drawings.
<第1実施形態>
以下、本発明に係る一実施形態として、MPEG符号化方式を用いる例を説明する。しかしながら本発明は動画符号化方式に限らず、静止画符号化方式であるJPEG符号化方式等に対しても同様に適用可能である。
<First Embodiment>
Hereinafter, as an embodiment according to the present invention, an example using an MPEG encoding method will be described. However, the present invention is not limited to the moving image encoding method, and can be similarly applied to a JPEG encoding method that is a still image encoding method.
図2は、本実施形態における画像復号化装置の機能構成を示すブロック図である。同図において、100は可変長復号化部、200は可変長復号化結果として出力されたラン長とレベルとの組からなるシンボルを入力して所望のDCT係数列を出力するシンボル復号化部、300はDCT係数列に逆量子化を施す逆量子化部、400は逆量子化されたDCT係数列から再構成画像を出力する逆DCT部、500は上記100〜400の構成による符号化データ復号演算処理を制御する制御部である。また、601は外部からの符号化データを入力する符号化データ入力信号、602は再構成画像を外部へ出力する再構成画像データ出力信号であり、上記100〜602によって、本実施形態の画像復号化装置1が構成される。
FIG. 2 is a block diagram showing a functional configuration of the image decoding apparatus according to the present embodiment. In the figure, 100 is a variable length decoding unit, 200 is a symbol decoding unit that inputs a symbol consisting of a set of run length and level output as a variable length decoding result and outputs a desired DCT coefficient sequence, 300 is an inverse quantization unit that performs inverse quantization on the DCT coefficient sequence, 400 is an inverse DCT unit that outputs a reconstructed image from the inversely quantized DCT coefficient sequence, and 500 is an encoded data decoding unit having the
図1は、シンボル復号化部200の詳細構成を示すブロック図である。同図において、201は前段の可変長復号化部100から1サイクルあたり1シンボルを入力するシンボルデータ入力信号である。ここでシンボルとは、連続する非有意係数の数とそれに続く有意係数の組であり、すなわちラン長とレベルとの組からなる。
FIG. 1 is a block diagram showing a detailed configuration of
202は、ラン長に応じてシンボル復号化部200内におけるシンボルデータ復号化処理を制御するランレングス復号化部である。
202 is a run-length decoding unit that controls symbol data decoding processing in the
また、203は、正負符号と振幅からなるレベルを復号化するレベル復号化部、204は、DC係数に対応したシンボルに対してDPCM復号化を行うDPCM復号化部である。205は、1サイクルあたりに1個のDCT係数を入力し、シンボル復号化部200のDCT係数データ出力信号のビット幅に応じて複数の係数を同時に出力するシリアルパラレル変換部、206は、1サイクルあたり2個のDCT係数として出力するDCT係数データ出力信号である。本実施形態では、レベル復号化部203、DPCM復号化部204、およびシリアルパラレル変換部205によってパイプライン構造をなし、これにより、入力されるシンボルデータをDCT係数データに復号する、一連のシンボル復号化演算処理が行われる。以下、レベル復号化部203、DPCM復号化部204、およびシリアルパラレル変換部205からなる構成をパイプライン部と称し、その動作の詳細については後述する。
207,208,209はフリップフロップ(以下、FF)であり、上記パイプライン部による一連のシンボル復号化演算処理を、3段のパイプライン構造へ分割する。
210は係数識別信号であり、パイプライン部による上記一連のシンボル復号化演算処理の初段に存在する処理対象のシンボルが、DC係数に対応したものであるかまたはAC係数に対応したものであるかなど、その種別を表す。 210 is a coefficient identification signal, and whether the symbol to be processed existing in the first stage of the series of symbol decoding arithmetic processing by the pipeline unit corresponds to the DC coefficient or the AC coefficient. Etc., indicating the type.
211,212,213はFFであり、係数識別信号210をパイプライン部に同期して後段へ伝達する。214,215,216はそれぞれ、各FF211,212,213から出力された係数識別信号である。
211, 212, and 213 are FFs, and transmit the
217は係数識別信号214の代わりに後段へ伝達される係数識別信号、218はランレングス復号化部202に制御されて係数識別信号214と217のいずれかを選択する係数識別信号選択部である。同様に、219は係数識別信号215の代わりに後段へ伝達される係数識別信号、220はランレングス復号化部202に制御されて係数識別信号215と219のいずれかを選択する係数識別信号選択部である。
221は、入力シンボルのラン長に応じて、以降のシンボルの入力と処理を遅らせるよう、パイプライン部における初段のFF207をHOLD状態に保つHOLD信号である。なおこのHOLD信号は、前段の可変長復号化部100に対し、シンボルの出力を遅らせるBusy信号として別途出力される。
図3は、ランレングス復号化部202が出力する係数識別信号210の、1個のDCT係数に対応した信号部分の各状態とその意味を示す表である。1個のDCT係数に対応した係数識別信号210は2ビットで構成され、値が"00"の場合は対応するパイプライン部の各段にDCT係数が存在しないことを意味する。また、値が"01"の場合はDC成分の係数が存在することを意味し、値が"10"の場合は値がゼロでないAC成分の係数(いわゆるAC成分の有意係数)が存在することを意味し、値が"11"の場合は値ゼロを持つAC係数が存在することを意味する。そして、以降に示す各図においては、係数識別信号210の値を代替するものとして、図3に示す記号"X","DC","AC","0"を用いて説明する。
FIG. 3 is a table showing each state of the signal portion corresponding to one DCT coefficient and its meaning in the
図4は、ランレングス復号化部202が出力する2個のDCT係数に対応した係数識別信号210が取り得る各状態と、その意味を示す表である。パイプライン部においては1サイクルあたり1シンボルを復号化して1DCT係数を出力することができる。これに対して係数識別信号210が表現できる2個のDCT係数のうち、1個はパイプライン部による一連のシンボル復号化演算処理後に出力されるDCT係数に対応し、もう1個はシンボル復号化演算処理を行わなくとも出力すべきDCT係数の値が自明である、ゼロの値を持つAC係数に対応している。
FIG. 4 is a table showing the states that can be taken by the
ここで、係数識別信号210が表現できる2個のDCT係数のうち、先行して出力されるべきDCT係数をC1と呼び、C1に対応した係数識別信号210の一部を係数識別信号S1とし、引き続いて出力されるべきDCT係数をC2と呼び、C2に対応した係数識別信号210の一部を係数識別信号S2とする。すると図4の表に示されるように、係数識別信号S1とS2との取り得る組み合わせは8通りであり、表の右側部には係数識別信号S1およびS2のそれぞれが表す、係数C1の状態および係数C2の状態が示されている。
Here, of the two DCT coefficients that can be expressed by the
図4の表に示されるように、係数識別信号S1とS2の組み合わせが(00,00)の場合は、対応するパイプライン部の各段にDCT係数が1個も存在しないことを意味する。同様に、(S1,S2)が(01,00)の場合は係数C1としてDC係数が存在し係数C2は存在しないことを意味し、(01,11)の場合は係数C1としてDC係数が存在し係数C2としてゼロの値を持つAC係数が存在することを意味し、(10,00)の場合は係数C1として値がゼロでないAC係数が存在し係数C2は存在しないことを意味し、(10,11)の場合は係数C1として値がゼロでないAC係数が存在し係数C2としてゼロの値を持つAC係数が存在することを意味し、(11,00)の場合は係数C1としてゼロの値を持つAC係数が存在し係数C2は存在しないことを意味し、(11,10)の場合は係数C1としてゼロの値を持つAC係数が存在し係数C2として値がゼロでないAC係数が存在することを意味し、(11,11)の場合は係数C1としてゼロの値を持つAC係数が存在し係数C2としてもゼロの値を持つAC係数が存在することを意味する。 As shown in the table of FIG. 4, when the combination of the coefficient identification signals S1 and S2 is (00, 00), it means that there is no DCT coefficient in each stage of the corresponding pipeline section. Similarly, if (S1, S2) is (01,00), it means that there is a DC coefficient as coefficient C1 and no coefficient C2, and if (01,11), there is a DC coefficient as coefficient C1. This means that there is an AC coefficient having a value of zero as the coefficient C2, and (10,00) means that there is an AC coefficient with a non-zero value as the coefficient C1, and there is no coefficient C2. (10,11) means that there is a non-zero AC coefficient as coefficient C1 and there is an AC coefficient with a value of zero as coefficient C2, and (11,00) is zero as coefficient C1. This means that there is an AC coefficient with a value and no coefficient C2, and in the case of (11,10), there is an AC coefficient with a zero value as the coefficient C1, and there is an AC coefficient with a non-zero value as the coefficient C2. In the case of (11, 11), it means that there is an AC coefficient having a zero value as the coefficient C1, and there is an AC coefficient having a zero value as the coefficient C2.
図5は、Nクロックサイクルにおける入力シンボルと係数識別信号214と215から、N+1クロックサイクルにおける係数識別信号214と215、および216を決定する論理を示した真理値表である。 FIG. 5 is a truth table showing logic for determining coefficient identification signals 214, 215, and 216 in N + 1 clock cycles from input symbols and coefficient identification signals 214 and 215 in N clock cycles.
図1に示すように入力される係数識別信号214と215、および入力シンボルの情報から、ランレングス復号化部202は本真理値表に従って、次のクロックサイクルにおける係数識別信号214と215、および216を決定することができる。 As shown in FIG. 1, from the input coefficient identification signals 214 and 215 and the information of the input symbols, the run-length decoding unit 202 performs coefficient identification signals 214, 215, and 216 in the next clock cycle according to this truth table. Can be determined.
図5に示される各種シンボルに対応した各種係数識別信号の状態のうち、特にNクロックサイクルにおいて入力シンボルとしてラン長:3のAC係数が出現した場合について、以下に説明する。 Of the states of the various coefficient identification signals corresponding to the various symbols shown in FIG. 5, the case where an AC coefficient with a run length of 3 appears as an input symbol in the N clock cycle will be described below.
まず、Nクロックサイクルにおける係数識別信号214によって表現される先行する係数C1および引き続く係数C2の状態がそれぞれ(DC/AC,X)である場合は、係数C1としてDC係数または値がゼロでないAC係数が存在し、係数C2は存在しないことを意味する。さらに、Nクロックサイクルにおける係数識別信号215によって表現される先行する係数C1および引き続く係数C2の状態がそれぞれ(don't care, don't care)である場合は、係数C1および係数C2は如何なる状態であっても構わないことを意味する。
First, if the state of the preceding coefficient C1 and the subsequent coefficient C2 represented by the
Nクロックサイクルにおいて上記した状態である場合、N+1クロックサイクルにおいて係数識別信号214によって表現される先行する係数C1および引き続く係数C2の状態は(0,0)であり、係数識別信号215は(DC/AC,0)、係数識別信号216は(don't care, don't care)となる。なお、図中斜線で示される係数の状態は、ランレングス復号化部202によって(X)から(0)へ変更されたものであることを意味する。
In the state described above in N clock cycles, the state of the preceding coefficient C1 and the subsequent coefficient C2 represented by the
具体的には、Nクロックサイクにおいては係数識別信号214によって表現された係数C2の状態(X)であったのに対して、N+1クロックサイクルでは係数識別信号215によって表現される係数C2の状態が(0)に変更されている。これは、Nクロックサイクルで出現した入力シンボルがラン長:3のAC係数であったことに応じて、係数が存在していなかった係数識別信号に対してゼロの値を持つAC係数を、パイプラインを1段飛び越えて挿入したものである。なお、この挿入は識別信号217を用いて行われる。
Specifically, the state (X) of the coefficient C2 represented by the
さらに、N+1クロックサイクルにおいて係数識別信号214によって表現される先行する係数C1および引き続く係数C2の状態は(0,0)であり、これは、Nクロックサイクルで出現した入力シンボルがラン長:3のAC係数であったことに応じて、残るゼロの値を持つ2個のAC係数を1クロックサイクルで伝達するものである。
Further, the state of the preceding coefficient C1 and the subsequent coefficient C2 represented by the
ここで係数識別信号215と214においては、それぞれ1クロックサイクルあたり2個のDCT係数を伝達しており、高速なシンボル復号化処理が行われていることがわかる。このように本実施形態によれば、ラン長を有するAC係数の数が支配的である8x8画素からなるブロック、もしくはラン長が長いAC係数が多く存在するブロックに対するシンボル復号化処理では、限りなく2DCT係数/1クロックサイクルに近い高速処理が実現可能である。 Here, in the coefficient identification signals 215 and 214, two DCT coefficients are transmitted for each clock cycle, and it can be seen that high-speed symbol decoding processing is performed. As described above, according to the present embodiment, symbol decoding processing for an 8 × 8 pixel block in which the number of AC coefficients having a run length is dominant, or a block having many AC coefficients having a long run length is not limited. High-speed processing close to 2DCT coefficient / one clock cycle can be realized.
以上、図5に示された真理値表のNクロックサイクルにおいて入力シンボルとしてラン長:3のAC係数が出現した場合で、かつ係数識別信号214と215が特定の状態であった場合について説明したが、本実施形態は他の状態においても同様の思考が適用されるため、その他の場合についての説明は省略する。 As described above, the case where the AC coefficient of run length: 3 appears as an input symbol in the N clock cycles of the truth table shown in FIG. 5 and the coefficient identification signals 214 and 215 are in a specific state has been described. However, in the present embodiment, the same idea is applied even in other states, and thus description of other cases is omitted.
以下、シンボル復号化部202における具体的な動作例を、図6および図7を用いて説明する。 Hereinafter, a specific operation example in symbol decoding section 202 will be described using FIG. 6 and FIG.
図6は、以下の動作例における入力シンボルのシーケンスを示す図である。入力シンボルのシーケンスは1つのブロックの可変長復号データ(ここでは量子化されたDCT係数)に対応し、図6に示されるように最初がDC係数、その次にラン長:3のAC係数、ラン長:1のAC係数、ラン長:4のAC係数、最後にEOB(End of Block)、の合計5つのシンボルからなっているとする。 FIG. 6 is a diagram showing a sequence of input symbols in the following operation example. The sequence of input symbols corresponds to one block of variable length decoded data (here, quantized DCT coefficients), as shown in FIG. 6, first DC coefficients, then run length: 3 AC coefficients, Assume that it consists of a total of five symbols: AC coefficient of run length: 1, AC coefficient of run length: 4, and finally EOB (End of Block).
図7は、図6に示されたシンボルのシーケンスを、シンボル復号化部200で復号化処理する場合において、ランレングス復号化部202から出力される係数識別信号214,215,216の時系列の変化を示したタイミングチャートである。同図において時間の流れは上から下方向であり、パイプライン処理の各段で処理されるデータの流れは左から右方向へ進む。
FIG. 7 shows time-series changes of the coefficient identification signals 214, 215, and 216 output from the run-length decoding unit 202 when the symbol sequence shown in FIG. 6 is decoded by the
以後、本実施形態の復号化処理について、特にシンボル復号化部200に入力されたシンボルデータに対する復号化処理手順を、図1,図6および図7を用いて説明する。なお、必要に応じて図3,図4,図5も別途参照されたい。
Hereinafter, with regard to the decoding process of the present embodiment, the decoding process procedure for the symbol data input to the
図7に示すように、まず始めに時刻T0において、シンボルデータ入力信号201としてDC係数に対応したシンボルが入力される。なお、図7に示す時刻T0から1サイクル毎に、時刻T1,T2,・・・T6と進んでいく。
As shown in FIG. 7, first, at time T0, a symbol corresponding to the DC coefficient is input as the symbol
次に時刻T1において、DC係数はレベル復号化部203による復号化演算処理が行われるのと並行して、係数識別信号214でその状態が先行する係数C1として伝達される。一方、係数識別信号214で表現される係数C2は、時刻T1ではなにも存在しない。このとき、引き続いて入力されるシンボルとしては図6に示したように、ラン長:3のAC係数が出現する。
Next, at time T1, the DC coefficient is transmitted as the preceding coefficient C1 in the
時刻T2において、DC係数はDPCM復号化部204による復号化演算処理が行われるのと並行して、係数識別信号215でその状態が先行する係数C1として伝達される。それとともに、時刻T1でラン長:3のAC係数に対応するシンボルが入力されたことに起因して、係数識別信号215の係数C2(時刻T1時点では係数が存在していない箇所)としてゼロの値を持つAC係数が伝達されるように、ランレングス復号化部202から係数識別信号217としてゼロの値を持つAC係数が伝達され、係数識別信号選択部218による選択により、係数識別信号215の係数C2における"X"は"0"に変更される。
At time T2, the DC coefficient is transmitted as a coefficient C1 whose state is preceded by the
なお、図7において一点鎖線で示される矢印は、係数識別信号選択部218或いは係数識別信号選択部220によるデータ選択により、係数識別信号214や215中の"X"を、係数識別信号217や219内の本来の係数である"0"に置換する処理を示している。
Note that an arrow indicated by a one-dot chain line in FIG. 7 indicates that “X” in the
また、ラン長:3であるから残り2個の値ゼロを持つAC係数に対しては、パイプライン部によるシンボル復号化演算処理は行われず、係数識別信号214により2個の値ゼロを持つAC係数が存在する旨が伝達されるのみである。
In addition, since the run length is 3, the AC coefficient having the remaining two values zero is not subjected to the symbol decoding calculation process by the pipeline unit, and the
なお時刻T2においては、値ゼロを持つ3個のAC係数に続く、値がゼロでない1個のAC係数がまだ処理されていないので、FF207には、ランレングス復号化部202からのHOLD信号221により、次の処理のためにその値がゼロでないAC係数(いわゆる有意係数)が保持されている。
Note that at time T2, since one AC coefficient having a non-zero value following the three AC coefficients having a value of zero has not yet been processed, the
次に時刻T3において、DC係数はシリアルパラレル変換部206へ入力され、係数識別信号216の状態により、DC係数と値ゼロを持つAC係数の組がDCT係数データ出力信号206として出力される。また係数識別信号215では、2個の値ゼロを持つAC係数が伝達される。
Next, at
値ゼロを持つ3個のAC係数に続く、値がゼロでない1個のAC係数は、レベル復号化部203による復号化演算処理が行われるのと並行して、係数識別信号214でその状態が先行する係数C1として伝達される。一方、係数識別信号214で表現される係数C2は、時刻T3ではなにも存在しない。
One AC coefficient having a non-zero value following three AC coefficients having a value of zero is in the state of the
時刻T3ではHOLD信号221による保持状態が解除されており、引き続いて入力されるシンボルとしては図6に示したように、ラン長:1のAC係数が出現する。
At time T3, the hold state by the
時刻T4において、ラン長:3のAC係数の残る2個の値ゼロを持つAC係数の状態が、係数識別信号216によってシリアルパラレル変換部206へ入力され、値ゼロを持つAC係数2個の組が、DCT係数データ出力信号206として出力される。
At time T4, the AC coefficient state having two remaining zero values of the AC coefficient of run length: 3 is input to the serial-
値ゼロを持つ3個のAC係数に続く、値がゼロでない1個のAC係数は、DPCM復号化部204の内部でバイパスされて後段へ伝達されるのと並行して、係数識別信号215でその状態が先行する係数C1として伝達される。
One AC coefficient having a non-zero value following the three AC coefficients having a value of zero is bypassed in the
これととともに、時刻T3でラン長:1のAC係数に対応するシンボルが入力されたことに起因して、係数識別信号215の係数C2としてゼロの値を持つAC係数が伝達されるように、ランレングス復号化部202から係数識別信号217としてゼロの値を持つAC係数が伝達され、係数識別信号選択部218による選択により、係数識別信号215の係数C2における"X"は"0"に変更される(図中に一点鎖線で示される箇所)。
Along with this, due to the input of the symbol corresponding to the AC coefficient of run length: 1 at time T3, an AC coefficient having a value of zero is transmitted as the coefficient C2 of the
また、値ゼロを持つ1個のAC係数に続く、値がゼロでない1個のAC係数は、レベル復号化部203による復号化演算処理が行われるのと並行して、係数識別信号214でその状態が先行する係数C1として伝達される。
In addition, one AC coefficient having a non-zero value following one AC coefficient having a value of zero is received by the
なお時刻T4では、入力シンボルとしては有効なデータが出現していない。これは、本発明が例外処理にも対応できる場合を説明するものであり、図2に示す可変長復号化部100からのシンボルの入力が遅れた場合に、この様な処理が発生する。この場合、係数識別信号214で表現される係数C2は、時刻T4ではなにも存在しない。
At time T4, valid data does not appear as an input symbol. This explains the case where the present invention can cope with exception processing, and such processing occurs when the input of symbols from the variable
ただし、この様な例外処理は可変長復号化部100の機能に依存するものであるから、例外処理が発生しない装置ではその処理内容は異なる。その場合の時刻T4においては、係数識別信号214で表現される係数C2に何らかの値が入ることになる。
However, since such exception processing depends on the function of the variable-
時刻T5において、ラン長:3のAC係数シンボルに対応した、値がゼロでないAC係数はシリアルパラレル変換部206へ入力され、係数識別信号216の状態により、AC係数と値ゼロを持つAC係数の組が、DCT係数データ出力信号206として出力される。値ゼロを持つ1個のAC係数に続く、値がゼロでない1個のAC係数は、DPCM復号化部204の内部でバイパスされて後段へ伝達されるのと並行して、係数識別信号215でその状態が先行する係数C1として伝達される。
At time T5, a non-zero AC coefficient corresponding to an AC coefficient symbol with a run length of 3 is input to the serial-
一方、係数識別信号215で表現される係数C2は、時刻T5ではなにも存在しない。また、係数識別信号214で表現される係数C1および係数C2には、ともに時刻T4で有効な入力シンボルが出現しなかったことに起因して何も存在しない。そして、引き続いて入力されるシンボルとしては図6に示したように、ラン長:4のAC係数が出現する。
On the other hand, the coefficient C2 expressed by the
時刻T6において、ラン長:1のAC係数シンボルに対応した、値がゼロでないAC係数は、シリアルパラレル変換部206へ入力される。一方、時刻T5でラン長:4のAC係数に対応するシンボルが入力されたことに起因して、係数識別信号216の係数C2としてゼロの値を持つAC係数が伝達されるように、係数識別信号219および係数識別信号選択部220を介して係数C2が変更されている(図中に一点鎖線で示される箇所)。結果として、先行する値がゼロでないAC係数と、それに続く値ゼロを持つAC係数の組が、DCT係数データ出力信号206として出力される。
At time T6, the AC coefficient whose value is not zero corresponding to the AC coefficient symbol of run length: 1 is input to serial /
さらに、時刻T5でラン長:4のAC係数に対応するシンボルが入力されたことに起因して、係数識別信号215の係数C1およびC2としてゼロの値を持つAC係数が伝達されるように、ランレングス復号化部202から係数識別信号217としてゼロの値を持つAC係数が伝達され、係数識別信号選択部218による選択により、係数識別信号215の係数C2における"X"は"0"に変更される。(図中に一点鎖線で示される箇所)。
Furthermore, due to the input of the symbol corresponding to the AC coefficient of run length: 4 at time T5, AC coefficients having a value of zero are transmitted as the coefficients C1 and C2 of the
また、係数識別信号214で表現される係数C1としては、値ゼロを持つ4個のAC係数の最後の1個を伝達するとともに、引き続く値がゼロでないAC係数はレベル復号化部203による復号化演算処理が行われるのと並行して、係数識別信号214でその状態が先行する係数C2として伝達される。引き続き、ブロックの最後の入力シンボルとして、図6に示したようにEOB(End of Block)が出現する。
Further, as the coefficient C1 represented by the
このように図7によれば、係数識別信号216として順次2個ずつ出力される係数の並びが「DC,0,0,0,AC,0,AC,0,・・・」であり、最後のシンボルEOBがランレングス復号化部202に入力されるまで、図6に示したシンボルシーケンスに対応していることが分かる。
In this way, according to FIG. 7, the sequence of the coefficients that are output in sequence as the
以上説明したように本実施形態の画像復号化装置によれば、1サイクルあたり1シンボルで入力されるラン長とレベルとの組からなるシンボルを、最大で1サイクルで2個のDCT係数に復号して出力することができる。すなわち、最小限の回路構成によって、高速な復号化処理が可能となる。 As described above, according to the image decoding apparatus of the present embodiment, a symbol consisting of a set of run length and level input at one symbol per cycle is decoded into two DCT coefficients at maximum in one cycle. Can be output. That is, a high-speed decoding process can be performed with a minimum circuit configuration.
なお、本実施形態では理解を容易とするために、シンボル復号化部200は1サイクルあたり2個のDCT係数を出力するとして説明をしたが、本発明はこの例に限定されない。例えば、各種処理の制御が複雑にはなるが、係数識別信号を保持するFFの段数(図1ではFF211,212,213の3段)を増加し、図7を用いて説明した様な「最終出力206として所定複数個のDCT係数が出力できるようなパイプライン処理」を実現できるよう、図5で説明した真理値表を調整すれば、1サイクルあたり2個を超える数のDCT係数を出力することも可能である。これによりシンボル復号化部200は、1サイクルあたり4つのDCT係数や8つのDCT係数などを出力することも可能である。
In the present embodiment, for ease of understanding, the
なお、本実施形態においては、ランレングス符号化の対象データを、JPEGやMPEG等で知られる「値ゼロを持つDCT係数」として説明をしたが、本発明はゼロランを符号化する方式に限らず、何らかのサンプル値をランレングス符号化する方式であれば有効である。その場合、図2で示した画像復号化部の可変長復号化部100及び逆量子化部300、および逆DCT部400は必ずしも必要ではなくなる。
In this embodiment, the target data for run-length encoding has been described as a “DCT coefficient having a value of zero” known in JPEG, MPEG, etc., but the present invention is not limited to a method for encoding zero-run. Any method that performs run-length encoding on some sample values is effective. In that case, the variable
[他の実施例]
以上、実施形態例を詳述したが、本発明は、例えば、システム、装置、方法、プログラム若しくは記憶媒体(記録媒体)等としての実施態様をとることが可能であり、具体的には、複数の機器から構成されるシステムに適用しても良いし、また、一つの機器からなる装置に適用しても良い。
[Other embodiments]
Although the embodiments have been described in detail above, the present invention can take embodiments as, for example, a system, an apparatus, a method, a program, or a storage medium (recording medium). The present invention may be applied to a system composed of a single device or an apparatus composed of a single device.
尚、本発明は、前述した実施形態の機能を実現するソフトウェアのプログラム(実施形態では図に示すフローチャートに対応したプログラム)を、システムあるいは装置に直接あるいは遠隔から供給し、そのシステムあるいは装置のコンピュータが該供給されたプログラムコードを読み出して実行することによっても達成される場合を含む。 In the present invention, a software program (in the embodiment, a program corresponding to the flowchart shown in the drawing) that realizes the functions of the above-described embodiment is directly or remotely supplied to the system or apparatus, and the computer of the system or apparatus Is also achieved by reading and executing the supplied program code.
従って、本発明の機能処理をコンピュータで実現するために、該コンピュータにインストールされるプログラムコード自体も本発明を実現するものである。つまり、本発明は、本発明の機能処理を実現するためのコンピュータプログラム自体も含まれる。 Accordingly, since the functions of the present invention are implemented by computer, the program code installed in the computer also implements the present invention. In other words, the present invention includes a computer program itself for realizing the functional processing of the present invention.
その場合、プログラムの機能を有していれば、オブジェクトコード、インタプリタにより実行されるプログラム、OSに供給するスクリプトデータ等の形態であっても良い。 In that case, as long as it has the function of a program, it may be in the form of object code, a program executed by an interpreter, script data supplied to the OS, or the like.
プログラムを供給するための記録媒体としては、例えば、フロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、MO、CD-ROM、CD-R、CD-RW、磁気テープ、不揮発性のメモリカード、ROM、DVD(DVD-ROM,DVD-R)などがある。 As a recording medium for supplying the program, for example, floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, MO, CD-ROM, CD-R, CD-RW, magnetic tape, nonvolatile memory card , ROM, DVD (DVD-ROM, DVD-R).
その他、プログラムの供給方法としては、クライアントコンピュータのブラウザを用いてインターネットのホームページに接続し、該ホームページから本発明のコンピュータプログラムそのもの、もしくは圧縮され自動インストール機能を含むファイルをハードディスク等の記録媒体にダウンロードすることによっても供給できる。また、本発明のプログラムを構成するプログラムコードを複数のファイルに分割し、それぞれのファイルを異なるホームページからダウンロードすることによっても実現可能である。つまり、本発明の機能処理をコンピュータで実現するためのプログラムファイルを複数のユーザに対してダウンロードさせるWWWサーバも、本発明に含まれるものである。 As another program supply method, a client computer browser is used to connect to an Internet homepage, and the computer program of the present invention itself or a compressed file including an automatic installation function is downloaded from the homepage to a recording medium such as a hard disk. Can also be supplied. It can also be realized by dividing the program code constituting the program of the present invention into a plurality of files and downloading each file from a different homepage. That is, a WWW server that allows a plurality of users to download a program file for realizing the functional processing of the present invention on a computer is also included in the present invention.
また、本発明のプログラムを暗号化してCD-ROM等の記憶媒体に格納してユーザに配布し、所定の条件をクリアしたユーザに対し、インターネットを介してホームページから暗号化を解く鍵情報をダウンロードさせ、その鍵情報を使用することにより暗号化されたプログラムを実行してコンピュータにインストールさせて実現することも可能である。 In addition, the program of the present invention is encrypted, stored in a storage medium such as a CD-ROM, distributed to users, and key information for decryption is downloaded from a homepage via the Internet to users who have cleared predetermined conditions. It is also possible to execute the encrypted program by using the key information and install the program on a computer.
また、コンピュータが、読み出したプログラムを実行することによって、前述した実施形態の機能が実現される他、そのプログラムの指示に基づき、コンピュータ上で稼動しているOSなどが、実際の処理の一部または全部を行い、その処理によっても前述した実施形態の機能が実現され得る。 In addition to the functions of the above-described embodiments being realized by the computer executing the read program, the OS running on the computer based on the instructions of the program is a part of the actual processing. Alternatively, the functions of the above-described embodiment can be realized by performing all of them and performing the processing.
さらに、記録媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によっても前述した実施形態の機能が実現される。 Furthermore, after the program read from the recording medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion board or The CPU or the like provided in the function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are also realized by the processing.
Claims (16)
前記シンボルの有意係数を多段パイプライン構成によって復号化する有意係数復号化手段と、
前記多段パイプライン構成の各段で処理される係数の種類を表す係数識別信号を前記多段パイプライン構成に同期して伝送する係数伝送手段と、
前記シンボルに応じて前記係数伝送手段に前記係数識別信号を出力するとともに、前記シンボルの連続する非有意係数の数に応じて前記有意係数復号化手段へのシンボル供給を制御する制御手段と、
前記係数伝送手段によって伝送された前記係数識別信号に応じて、前記有意係数復号化手段により復号化された有意係数を非有意係数と組み合わせて出力する係数出力手段と、
前記制御手段による制御に応じて、前記係数伝送手段により伝送される係数識別信号を変更する係数変更手段とを備え、
前記制御手段は、第1のクロックサイクルにおいて前記係数伝送手段で伝送される係数識別信号と入力シンボルに応じて、該第1のクロックサイクルに続く第2のクロックサイクルにおける係数識別信号を決定する
ことを特徴とする復号化装置。 A decoding device for decoding a symbol consisting of a number of consecutive insignificant coefficients followed by a set of significant coefficients,
Significant coefficient decoding means for decoding the significant coefficient of the symbol by a multistage pipeline configuration;
Coefficient transmission means for transmitting a coefficient identification signal indicating the type of coefficient processed in each stage of the multistage pipeline configuration in synchronization with the multistage pipeline configuration;
Control means for outputting the coefficient identification signal to the coefficient transmission means in accordance with the symbol, and for controlling the symbol supply to the significant coefficient decoding means in accordance with the number of consecutive insignificant coefficients of the symbol;
Coefficient output means for outputting a significant coefficient decoded by the significant coefficient decoding means in combination with an insignificant coefficient in response to the coefficient identification signal transmitted by the coefficient transmission means;
Coefficient changing means for changing a coefficient identification signal transmitted by the coefficient transmitting means according to control by the control means,
The control means determines a coefficient identification signal in a second clock cycle following the first clock cycle in accordance with a coefficient identification signal and an input symbol transmitted by the coefficient transmission means in the first clock cycle. A decoding device characterized by the above.
前記シンボルの第2のサンプルを多段パイプライン構成によって復号化する復号化手段と、
前記多段パイプライン構成の各段で処理されるサンプルの種類を表す識別信号を前記多段パイプライン構成に同期して伝送する伝送手段と、
前記シンボルに応じて前記伝送手段に前記識別信号を出力するとともに、前記シンボルの連続する第1のサンプルの数に応じて前記復号化手段へのシンボル供給を制御する制御手段と、
前記伝送手段によって伝送された前記識別信号に応じて、前記復号化手段により復号化された第2のサンプルを第1のサンプルと組み合わせて出力する出力手段と、
前記制御手段による制御に応じて、前記伝送手段により伝送される識別信号を変更する変更手段とを備え、
前記制御手段は、第1のクロックサイクルにおいて前記伝送手段で伝送される識別信号と入力シンボルに応じて、該第1のクロックサイクルに続く第2のクロックサイクルにおける識別信号を決定する
ことを特徴とする復号化装置。 A decoding device for decoding a symbol consisting of a set of a number of consecutive first samples and a subsequent second sample,
Decoding means for decoding the second sample of the symbols by a multistage pipeline configuration;
Transmission means for transmitting an identification signal indicating the type of sample processed in each stage of the multistage pipeline configuration in synchronization with the multistage pipeline configuration;
Control means for outputting the identification signal to the transmission means in response to the symbol, and for controlling the symbol supply to the decoding means in accordance with the number of consecutive first samples of the symbol;
Output means for outputting the second sample decoded by the decoding means in combination with the first sample in response to the identification signal transmitted by the transmission means;
Changing means for changing the identification signal transmitted by the transmission means in accordance with the control by the control means;
The control means determines an identification signal in a second clock cycle following the first clock cycle in accordance with an identification signal and an input symbol transmitted by the transmission means in the first clock cycle. Decoding device to perform.
前記復号化装置の有意係数復号化手段が、前記シンボルの有意係数を多段パイプライン構成によって復号化する有意係数復号化工程と、
前記復号化装置の係数伝送手段が、前記多段パイプライン構成の各段で処理される係数の種類を表す係数識別信号を前記多段パイプライン構成に同期して伝送する係数伝送工程と、
前記復号化装置の制御手段が、前記シンボルに応じて前記係数伝送手段に前記係数識別信号を出力するとともに、前記シンボルの連続する非有意係数の数に応じて前記有意係数復号化手段へのシンボル供給を制御する制御工程と、
前記復号化装置の係数出力手段が、前記係数伝送工程で伝送された前記係数識別信号に応じて、前記有意係数復号化工程で復号化された有意係数を非有意係数と組み合わせて出力する係数出力工程と、
前記復号化装置の係数変更手段が、前記制御工程による制御に応じて、前記係数伝送工程で伝送される係数識別信号を変更する係数変更工程とを備え、
前記制御工程では、第1のクロックサイクルにおいて前記係数伝送工程で伝送される係数識別信号と入力シンボルに応じて、該第1のクロックサイクルに続く第2のクロックサイクルにおける係数識別信号を決定する
ことを特徴とする復号化方法。 A decoding method performed by a decoding apparatus that has a multi-stage pipeline configuration and decodes a symbol including a number of consecutive insignificant coefficients followed by a significant coefficient,
Significant coefficient decoding means of the decoding apparatus, a significant coefficient decoding step of decoding the multi-stage pipeline structure of the significant coefficients of the symbol,
A coefficient transmission step in which the coefficient transmission means of the decoding apparatus transmits a coefficient identification signal representing the type of coefficient processed in each stage of the multistage pipeline configuration in synchronization with the multistage pipeline configuration;
The control means of the decoding device outputs the coefficient identification signal to the coefficient transmission means in accordance with the symbol, and the symbol to the significant coefficient decoding means in accordance with the number of consecutive insignificant coefficients of the symbol and a control step of controlling the supply,
Coefficient output means of the decoding apparatus, the coefficients in accordance with the transmitted the coefficient identification signal in the transmission step, the significant coefficient decoding step by a factor output in combination with the decoded significant coefficient of insignificant coefficients output Process,
The coefficient changing means of the decoding device comprises a coefficient changing step for changing a coefficient identification signal transmitted in the coefficient transmitting step according to the control by the control step,
In the control step, a coefficient identification signal in a second clock cycle following the first clock cycle is determined according to the coefficient identification signal and the input symbol transmitted in the coefficient transmission step in the first clock cycle < A decoding method characterized by the above.
前記復号化装置の復号化手段が、前記シンボルの第2のサンプルを多段パイプライン構成によって復号化する復号化工程と、
前記復号化装置の伝送手段が、前記多段パイプライン構成の各段で処理されるサンプルの種類を表す識別信号を前記多段パイプライン構成に同期して伝送する伝送工程と、
前記復号化装置の制御手段が、前記シンボルに応じて前記伝送手段に前記識別信号を出力するとともに、前記シンボルの連続する第1のサンプルの数に応じて前記復号化手段へのシンボル供給を制御する制御工程と、
前記復号化装置の出力手段が、前記伝送工程で伝送された前記識別信号に応じて、前記復号化工程で復号化された第2のサンプルを第1のサンプルと組み合わせて出力する出力工程と、
前記復号化装置の変更手段が、前記制御工程による制御に応じて、前記伝送工程で伝送される識別信号を変更する変更工程とを備え、
前記制御工程では、第1のクロックサイクルにおいて前記伝送工程で伝送される識別信号と入力シンボルに応じて、該第1のクロックサイクルに続く第2のクロックサイクルにおける識別信号を決定する
ことを特徴とする復号化方法。 A decoding method performed by a decoding apparatus that has a multistage pipeline configuration and decodes a symbol composed of a number of consecutive first samples and a subsequent second sample set,
Decoding means of the decoding apparatus, a decoding step of decoding the second sample of the symbol by the multi-stage pipeline structure,
A transmission step in which the transmission means of the decoding device transmits an identification signal representing the type of sample processed in each stage of the multistage pipeline configuration in synchronization with the multistage pipeline configuration;
Control means of the decoding device, outputs the identification signal to said transmission means in response to the symbol, control symbol supplied to said decoding means according to the number of first consecutive samples of the symbol A control process ,
An output step in which the output means of the decoding device outputs the second sample decoded in the decoding step in combination with the first sample in accordance with the identification signal transmitted in the transmission step ;
The changing unit of the decoding device includes a changing step of changing the identification signal transmitted in the transmission step according to the control by the control step,
In the control step, an identification signal in a second clock cycle following the first clock cycle is determined according to the identification signal and the input symbol transmitted in the transmission step in the first clock cycle. A decoding method characterized by the above.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004332084A JP4502383B2 (en) | 2004-11-16 | 2004-11-16 | Decoding device and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004332084A JP4502383B2 (en) | 2004-11-16 | 2004-11-16 | Decoding device and method thereof |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2006148237A JP2006148237A (en) | 2006-06-08 |
JP2006148237A5 JP2006148237A5 (en) | 2007-12-27 |
JP4502383B2 true JP4502383B2 (en) | 2010-07-14 |
Family
ID=36627450
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004332084A Expired - Fee Related JP4502383B2 (en) | 2004-11-16 | 2004-11-16 | Decoding device and method thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4502383B2 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62283778A (en) * | 1986-02-28 | 1987-12-09 | Toshiba Corp | Binary data expansion processor |
JPH08167856A (en) * | 1994-10-12 | 1996-06-25 | Matsushita Electric Ind Co Ltd | Decoding circuit for run length code |
JPH118852A (en) * | 1998-06-19 | 1999-01-12 | Mega Chips:Kk | Image compression and expansion device |
JP2002094387A (en) * | 2000-09-19 | 2002-03-29 | Matsushita Electric Ind Co Ltd | Code-processing method and code processor |
-
2004
- 2004-11-16 JP JP2004332084A patent/JP4502383B2/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62283778A (en) * | 1986-02-28 | 1987-12-09 | Toshiba Corp | Binary data expansion processor |
JPH08167856A (en) * | 1994-10-12 | 1996-06-25 | Matsushita Electric Ind Co Ltd | Decoding circuit for run length code |
JPH118852A (en) * | 1998-06-19 | 1999-01-12 | Mega Chips:Kk | Image compression and expansion device |
JP2002094387A (en) * | 2000-09-19 | 2002-03-29 | Matsushita Electric Ind Co Ltd | Code-processing method and code processor |
Also Published As
Publication number | Publication date |
---|---|
JP2006148237A (en) | 2006-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4139330B2 (en) | Improved variable length decoder | |
JP5583106B2 (en) | Data decoding | |
US7894532B2 (en) | Variable-length encoding apparatus and method | |
US6677869B2 (en) | Arithmetic coding apparatus and image processing apparatus | |
US8018996B2 (en) | Arithmetic decoding apparatus and method | |
US7817864B2 (en) | Coding apparatus and decoding apparatus | |
US7501964B2 (en) | Entropy coding for digital codecs | |
US20010054973A1 (en) | Variable length decoder | |
JP2012508485A (en) | Software video transcoder with GPU acceleration | |
JP2008113374A (en) | Entropy coding apparatus | |
US7161509B2 (en) | Variable-length code decoding apparatus and method | |
JP2006314097A (en) | Encoding device and encoding method | |
US20170359591A1 (en) | Method and device for entropy encoding or entropy decoding video signal for high-capacity parallel processing | |
JP2010193398A (en) | Image encoding device, and image encoding method | |
US10070127B2 (en) | Method and apparatus for arithmetic coding and termination | |
US7643689B2 (en) | Encoded data conversion method | |
US7123656B1 (en) | Systems and methods for video compression | |
JP4502383B2 (en) | Decoding device and method thereof | |
US8073270B2 (en) | Image decoding apparatus and method | |
JP2007074648A (en) | Cabac decoding apparatus | |
US8477051B2 (en) | Variable-length code decoding apparatus, decoding system, and variable-length code decoding method | |
JP2010034802A (en) | Moving image encoding device and method of controlling the same | |
JP2004253889A (en) | Image processing apparatus and method | |
JP2005277758A (en) | Image decoding apparatus | |
JP2010130053A (en) | Image compression apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20071112 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20071112 |
|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20071112 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100201 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100212 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100330 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20100416 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100419 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4502383 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130430 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130430 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140430 Year of fee payment: 4 |
|
LAPS | Cancellation because of no payment of annual fees |