JP2009212900A - Image decoding device and image decoding method - Google Patents

Image decoding device and image decoding method Download PDF

Info

Publication number
JP2009212900A
JP2009212900A JP2008054653A JP2008054653A JP2009212900A JP 2009212900 A JP2009212900 A JP 2009212900A JP 2008054653 A JP2008054653 A JP 2008054653A JP 2008054653 A JP2008054653 A JP 2008054653A JP 2009212900 A JP2009212900 A JP 2009212900A
Authority
JP
Japan
Prior art keywords
coefficient
prediction
inverse
processing
block
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
JP2008054653A
Other languages
Japanese (ja)
Inventor
Hiroshi Inoue
浩志 井上
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.)
NEC Electronics Corp
Original Assignee
NEC Electronics 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 NEC Electronics Corp filed Critical NEC Electronics Corp
Priority to JP2008054653A priority Critical patent/JP2009212900A/en
Publication of JP2009212900A publication Critical patent/JP2009212900A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To reduce a processing time required for decoding image data compression-coded using DC/AC predictive coding. <P>SOLUTION: An image decoding device 1 is equipped with an inverse quantization section 30 and an inverse DC/AC predictive processing section 40. The inverse quantization section 30 executes inverse scan processing, addition processing and inverse quantization processing to a data sequence obtained by performing variable-length decoding on a coded image signal compression-coded using DC/AC predictive coding. Meanwhile, the inverse DC/AC predictive processing section 40 uses quantized DC/AC coefficients restored by the inverse quantization section 30 for a block prior to a current block to determine a prediction direction of the next block to be processed in succession to the current block concurrently with inverse scan processing, addition processing and inverse quantization processing on the current block. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、DCT変換、量子化、DC/AC予測符号化及び可変長符号化を利用して圧縮符号化された画像データの復号化技術に関し、特に復号化処理の高速化に関する。   The present invention relates to a technique for decoding image data that has been compression-encoded using DCT transform, quantization, DC / AC predictive encoding, and variable-length encoding, and more particularly to speeding up the decoding process.

次世代DVD(Digital Video Disc)やデジタルテレビ放送では、H.264/AVC(Advanced Video Coding)、VC−1及びMPEG−4(Moving Picture Experts Group-4)等の新しいコーデックが採用されている。これらの新しいコーデックは、動画像の高画質かつ高圧縮率な符号化を可能とするために、従来のMPEG−2では用いられていない新たな手法を利用している。この手法の1つが、DC/AC予測符号化である。DC/AC予測符号化は、隣接するブロック間の画素相関が高いことに着目し、DCT(Discrete Cosine Transform)等の直交変換によって得られたDC係数及びAC係数をフレーム内で予測符号化する技術である。より具体的に述べると、DC/AC予測符号化は、適切な予測方向を決定した後に、直交変換により得られたカレントブロックのDC係数及びAC係数と、当該カレントブロックの周辺ブロックに含まれる参照用のDC係数及びAC係数との差分を計算し、得られた差分を可変長符号化の対象とすることで、圧縮後の画像データの情報量を削減する技術である。   In the next generation DVD (Digital Video Disc) and digital television broadcasting, New codecs such as H.264 / AVC (Advanced Video Coding), VC-1 and MPEG-4 (Moving Picture Experts Group-4) are employed. These new codecs use a new technique that is not used in the conventional MPEG-2 in order to enable high-quality and high-compression coding of moving images. One such technique is DC / AC predictive coding. DC / AC predictive coding is a technique for predictively coding DC coefficients and AC coefficients obtained by orthogonal transform such as DCT (Discrete Cosine Transform) in a frame, paying attention to high pixel correlation between adjacent blocks. It is. More specifically, in the DC / AC predictive coding, after determining an appropriate prediction direction, the DC coefficient and AC coefficient of the current block obtained by orthogonal transform and the reference included in the peripheral blocks of the current block This is a technique for reducing the amount of information of compressed image data by calculating a difference between a DC coefficient and an AC coefficient for use and making the obtained difference a variable length coding target.

ここで、本明細書で使用する用語の定義を行う。DC/AC係数は、DCT等の直交変換によって得られるDC係数及びAC係数の総称である。   Here, terms used in this specification are defined. The DC / AC coefficient is a general term for a DC coefficient and an AC coefficient obtained by orthogonal transformation such as DCT.

量子化DC係数は、DC係数を量子化することで得られる量子化ステップ間隔のいずれかの代表値によって量子化されたDC係数を意味する。また、量子化AC係数は、AC係数を量子化することで得られる量子化ステップ間隔のいずれかの代表値によって量子化されたAC係数を意味する。量子化DC/AC係数は、量子化DC係数及び量子化AC係数の総称である。   The quantized DC coefficient means a DC coefficient quantized by any representative value of the quantization step interval obtained by quantizing the DC coefficient. The quantized AC coefficient means an AC coefficient quantized by any representative value of the quantization step interval obtained by quantizing the AC coefficient. The quantized DC / AC coefficient is a general term for the quantized DC coefficient and the quantized AC coefficient.

復元DC係数は、量子化DC係数に量子化ステップを乗算する逆量子化によって復元されるDC係数を意味する。また、復元DC係数は、量子化AC係数に量子化ステップを乗算する逆量子化によって復元されるAC係数を意味する。復元DC/AC係数は、復元DC係数及び復元AC係数の総称である。   The restored DC coefficient means a DC coefficient restored by inverse quantization in which the quantized DC coefficient is multiplied by a quantization step. The restored DC coefficient means an AC coefficient restored by inverse quantization in which a quantized AC coefficient is multiplied by a quantization step. The restored DC / AC coefficient is a general term for the restored DC coefficient and the restored AC coefficient.

DC予測係数は、DC/AC予測符号化において参照される周辺ブロックのDC係数を意味する。AC予測係数は、DC/AC予測符号化において参照される周辺ブロックのAC係数を意味する。DC/AC予測係数は、DC予測係数及びAC予測係数の総称である。   The DC prediction coefficient means a DC coefficient of a peripheral block referred to in DC / AC prediction encoding. The AC prediction coefficient means an AC coefficient of a peripheral block referred to in DC / AC prediction encoding. The DC / AC prediction coefficient is a general term for a DC prediction coefficient and an AC prediction coefficient.

DC差分係数は、DC/AC予測符号化処理で計算される量子化DC係数とDC予測係数との差分値である。AC差分係数は、DC/AC予測符号化処理で計算される量子化AC係数とAC予測係数との差分値である。DC/AC差分係数は、DC差分係数及びAC差分係数の総称である。   The DC difference coefficient is a difference value between the quantized DC coefficient calculated in the DC / AC predictive encoding process and the DC prediction coefficient. The AC difference coefficient is a difference value between the quantized AC coefficient calculated in the DC / AC predictive encoding process and the AC prediction coefficient. The DC / AC difference coefficient is a general term for a DC difference coefficient and an AC difference coefficient.

例えば、特許文献1〜3には、DC/AC予測符号化を利用して圧縮符号化された画像データに対する復号化処理を実行する画像復号化装置が開示されている。図5は、特許文献1に開示された画像復号化装置が行う画像復号化手順のうち、可変長復号から逆DCTまでの手順を示すブロック図である。図5のブロック図による画像復号化手順は、以下のようになる。   For example, Patent Literatures 1 to 3 disclose image decoding apparatuses that execute a decoding process on image data compression-coded using DC / AC predictive coding. FIG. 5 is a block diagram illustrating a procedure from variable length decoding to inverse DCT among the image decoding procedures performed by the image decoding device disclosed in Patent Document 1. The image decoding procedure according to the block diagram of FIG. 5 is as follows.

まず、可変長復号部90が、符号化データの可変長復号を行う。次に、逆スキャン部91が、可変長復号後のデータ列から処理対象とするカレントブロックに関するDC/AC差分係数を取り出す。   First, the variable length decoding unit 90 performs variable length decoding of encoded data. Next, the reverse scanning unit 91 extracts a DC / AC difference coefficient related to the current block to be processed from the data string after variable length decoding.

次に、逆DC/AC予測部92は、逆DC/AC予測処理を実行する。逆DC/AC予測処理には、大きく分けて、周辺ブロックに含まれるDC/AC予測係数のスケーリング処理、予測方向の判別処理、及び予測方向に応じてDC/AC予測係数とDC/AC差分係数を加算する加算処理の3つが含まれる。以下に逆DC/AC予測処理手順を順に説明する。まず、逆DC/AC予測部92は、カレントブロックの3つの周辺ブロック、具体的は図6に示すように、上ブロックA、左上ブロックB及び左ブロックCの3つのブロックに含まれ、カレントブロックのDC/AC予測係数として使用される係数群QF[0][i]、QF[0][0]及びQC[j][0]のスケーリングを実行する。そして、逆DC/AC予測部92は、スケーリング後のDC係数を用いて予測方向を判別する。具体的には、ブロックAのDC係数QF[0][0]及びブロックBのDC係数QF[0][0]との差分と、ブロックCのDC係数QF[0][0]及びブロックBのDC係数QF[0][0]との差分とを比較し、差分が小さい方向を予測方向に決定する。さらに、逆DC/AC予測部92は、決定した予測方向に対応する上ブロックA又は左ブロックCのDC/AC予測係数とカレントブロックのDC/AC差分係数とを加算し、カレントブロックの量子化DC/AC係数を復元する。 Next, the inverse DC / AC prediction unit 92 executes an inverse DC / AC prediction process. The inverse DC / AC prediction process is roughly divided into a DC / AC prediction coefficient scaling process included in a peripheral block, a prediction direction determination process, and a DC / AC prediction coefficient and a DC / AC difference coefficient according to the prediction direction. Are included. Hereinafter, the inverse DC / AC prediction processing procedure will be described in order. First, the inverse DC / AC prediction unit 92 is included in the three peripheral blocks of the current block, specifically, the upper block A, the upper left block B, and the left block C as shown in FIG. Scaling is performed on the coefficient groups QF A [0] [i], QF B [0] [0], and QC C [j] [0] that are used as the DC / AC prediction coefficients. Then, the inverse DC / AC prediction unit 92 determines the prediction direction using the DC coefficient after scaling. Specifically, the DC coefficient QF A [0] of the block A [0] and DC coefficient of the block B QF B [0] [0 ] and the difference between, the DC coefficient QF C [0] of the block C [0] And the difference between the block B and the DC coefficient QF B [0] [0] of the block B is compared, and the direction in which the difference is small is determined as the prediction direction. Further, the inverse DC / AC prediction unit 92 adds the DC / AC prediction coefficient of the upper block A or the left block C corresponding to the determined prediction direction and the DC / AC difference coefficient of the current block to quantize the current block. Restore the DC / AC coefficients.

次に、逆量子化部93は、カレントブロックの量子化DC/AC係数の各々に対して各々に対応する量子化ステップを乗算することにより、カレントブロックのDC/AC係数を復元する。   Next, the inverse quantization unit 93 restores the DC / AC coefficients of the current block by multiplying each of the quantized DC / AC coefficients of the current block by a corresponding quantization step.

最後に、逆DCT部94は、カレントブロックの復元DC/AC係数を用いて、逆DCT演算を実行することにより、カレントブロックの画素値を復元する。
特開2001−103472号公報(図1、図11) 特開2002−118853号公報(図1、図5、図6) 特開2006−262188号公報(図17)
Finally, the inverse DCT unit 94 restores the pixel value of the current block by executing an inverse DCT operation using the restored DC / AC coefficient of the current block.
JP 2001-103472 A (FIGS. 1 and 11) Japanese Patent Laid-Open No. 2002-118853 (FIGS. 1, 5, and 6) JP 2006-262188 A (FIG. 17)

DC/AC予測符号化を使用して圧縮符号化された画像データを復号化する場合には、復号化に要する処理時間が増大するという問題がある。具体例を示すために、図7に示すVC−1のマクロブロックについて、逆スキャン処理、逆DC/AC予測処理、及び逆量子化処理を実行する場合について説明する。   When decoding image data compression-coded using DC / AC predictive coding, there is a problem that the processing time required for decoding increases. In order to show a specific example, a case where reverse scan processing, reverse DC / AC prediction processing, and reverse quantization processing are executed on the VC-1 macroblock shown in FIG. 7 will be described.

図7に示すようにVC−1のマクロブロックは、16×16画素の輝度信号ブロックと、8×8画素の色差信号ブロック(以下、Cbブロック及びCrブロックと呼ぶ)を含む。逆DC/AC予測を行う際には、16×16画素の輝度信号ブロックは、8×8画素の4つのブロック(以下、Y0〜Y3ブロックと呼ぶ)に分割して処理される。マクロブロック全体での逆DC/AC予測の処理順序は、Y0、Y1、Y2、Y3、Cb、Crの順である。   As shown in FIG. 7, the VC-1 macroblock includes a luminance signal block of 16 × 16 pixels and a color difference signal block of 8 × 8 pixels (hereinafter referred to as Cb block and Cr block). When inverse DC / AC prediction is performed, a 16 × 16 pixel luminance signal block is divided into four 8 × 8 pixel blocks (hereinafter referred to as Y0 to Y3 blocks). The processing order of inverse DC / AC prediction in the entire macroblock is the order of Y0, Y1, Y2, Y3, Cb, and Cr.

図8は、VC−1のマクロブロックに対する逆スキャン処理、逆DC/AC予測処理、及び逆量子化処理を実行する場合の処理過程を示す図である。図8から分かるように、先頭のY0ブロックの処理を行う場合はもちろんのこと、後続のY1〜Crの5つのブロックの処理においても、DC予測係数のスケーリング処理及び予測方向の決定処理(図8ではこれらを総じて、"DC"と表記)並びにAC予測係数のスケーリング処理(図8では"AC"と表記)を、後続の逆スキャン処理(図8では"IScan"と表記)、加算処理(図8では、"Add"と表記)、及び逆量子化処理(図8では、IQと表記)に先行して行なう必要がある。   FIG. 8 is a diagram illustrating a process in the case of executing reverse scan processing, reverse DC / AC prediction processing, and reverse quantization processing on a macroblock of VC-1. As can be seen from FIG. 8, not only when the first Y0 block is processed, but also in the subsequent five blocks Y1 to Cr, the DC prediction coefficient scaling process and the prediction direction determination process (FIG. 8). In FIG. 8, these are collectively expressed as “DC”), the AC prediction coefficient scaling process (indicated as “AC” in FIG. 8), the subsequent reverse scan process (indicated as “IScan” in FIG. 8), and the addition process (in FIG. 8). In FIG. 8, it is necessary to carry out prior to “Add”) and inverse quantization processing (indicated as IQ in FIG. 8).

なお、ここでの加算処理とは、上述した逆DC/AC予測部92により実行される逆DC/AC予測処理の一部であって、予測方向に対応するDC/AC予測係数とカレントブロックのDC/AC差分係数とを加算する処理を意味する。すなわち、加算処理は、逆DC/AC予測処理全体のうちの後半部分の処理に相当する。一方、DC予測係数のスケーリング処理、予測方向の決定処理、及びAC予測係数のスケーリング処理は、逆DC/AC予測処理全体のうちの前半部分の処理に相当する。   The addition process here is a part of the inverse DC / AC prediction process executed by the inverse DC / AC prediction unit 92 described above, and includes the DC / AC prediction coefficient corresponding to the prediction direction and the current block. It means a process of adding a DC / AC difference coefficient. That is, the addition process corresponds to the latter half of the entire inverse DC / AC prediction process. On the other hand, the DC prediction coefficient scaling process, the prediction direction determination process, and the AC prediction coefficient scaling process correspond to the first half of the entire inverse DC / AC prediction process.

このように、DC/AC予測符号化を使用して圧縮符号化された画像データの復号化においては、逆スキャン処理及び逆量子化処理に加えて逆DC/AC予測処理を追加的に行う必要があるため、復号化に要する処理時間が増大する。   As described above, in decoding of image data compression-coded using DC / AC predictive coding, it is necessary to additionally perform reverse DC / AC prediction processing in addition to reverse scan processing and inverse quantization processing. Therefore, the processing time required for decoding increases.

本発明の第1の態様は、直交変換、前記直交変換により得られるDC/AC係数の量子化、前記量子化により得られる量子化DC/AC係数のDC/AC予測符号化、及び前記DC/AC予測符号化により得られるDC/AC差分係数の可変長符号化によって圧縮符号化されている符号化画像信号を復号化する画像復号化装置である。当該画像復号化装置は、逆量子化部及び逆DC/AC予測処理部を備える。   A first aspect of the present invention includes orthogonal transform, quantization of DC / AC coefficients obtained by the orthogonal transform, DC / AC predictive coding of quantized DC / AC coefficients obtained by the quantization, and the DC / It is an image decoding apparatus that decodes an encoded image signal that has been compression-encoded by variable-length encoding of a DC / AC difference coefficient obtained by AC predictive encoding. The image decoding apparatus includes an inverse quantization unit and an inverse DC / AC prediction processing unit.

ここで、前記逆量子化部は、前記符号化画像信号に対して可変長復号を行った後のデータ列から処理対象とするカレントブロックに関する前記DC/AC差分係数を取り出す逆スキャン処理、前記カレントブロックの前記DC/AC差分係数に前記DC/AC予測符号化の予測方向に対応したDC/AC予測係数を加算して前記量子化DC/AC係数を復元する加算処理、及び復元された前記カレントブロックの前記量子化DC/AC係数の逆量子化処理を実行する。   Here, the inverse quantization unit performs inverse scan processing for extracting the DC / AC difference coefficient relating to a current block to be processed from a data sequence after performing variable length decoding on the encoded image signal, the current Addition processing for restoring the quantized DC / AC coefficient by adding a DC / AC prediction coefficient corresponding to the prediction direction of the DC / AC prediction coding to the DC / AC difference coefficient of the block, and the restored current An inverse quantization process of the quantized DC / AC coefficient of the block is executed.

一方、前記逆DC/AC予測処理部は、前記加算処理に必要な前記予測方向を決定する。さらに、前記逆DC/AC予測処理部は、前記カレントブロック以前のブロックに関する前記逆量子化部によって復元された前記量子化DC/AC係数を用いることにより、前記カレントブロックに関する前記逆スキャン処理、前記加算処理及び前記逆量子化処理の実行に時間的に並行して、前記カレントブロックに引き続いて処理すべき次ブロックに関する前記予測方向の決定処理を実行することを特徴とする。   Meanwhile, the inverse DC / AC prediction processing unit determines the prediction direction necessary for the addition process. Further, the inverse DC / AC prediction processing unit uses the quantized DC / AC coefficient restored by the inverse quantization unit related to the block before the current block, thereby performing the inverse scan processing related to the current block, In parallel with the execution of the addition process and the inverse quantization process, the prediction direction determination process for the next block to be processed subsequent to the current block is executed.

上述した本発明の第1の態様は、カレントブロックに対する逆量子化部の処理の過程で順次計算される量子化DC/AC係数のうち、DC/AC予測係数として次ブロックの逆DC/AC予測処理にて参照される係数群の逆量子化が完了すれば、次ブロックに対する予測方向の決定処理を開始できることに着目している。すなわち、上述した本発明の第1の態様は、次ブロックに関する予測方向の決定処理をカレントブロックの逆量子化と並行して実行するものである。これによって、次ブロックに対する処理の開始時に予測方向の決定に要する時間を待つことが無くなり、速やかに逆スキャン処理〜逆量子化処理を開始することができる。したがって、本発明の第1の態様は、マクロブロックの逆量子化に要する処理時間を短縮することができる。   The first aspect of the present invention described above is the inverse DC / AC prediction of the next block as the DC / AC prediction coefficient among the quantized DC / AC coefficients sequentially calculated in the process of the inverse quantization unit for the current block. It is noted that when the inverse quantization of the coefficient group referred to in the process is completed, the prediction direction determination process for the next block can be started. That is, in the first aspect of the present invention described above, the prediction direction determination process for the next block is executed in parallel with the inverse quantization of the current block. As a result, it is not necessary to wait for the time required to determine the prediction direction at the start of processing for the next block, and the inverse scan process to the inverse quantization process can be started immediately. Therefore, according to the first aspect of the present invention, the processing time required for inverse quantization of a macroblock can be shortened.

本発明により、DC/AC予測符号化を使用して圧縮符号化された画像データの復号化に要する処理時間を短縮することが可能な画像復号化装置を提供することができる。   According to the present invention, it is possible to provide an image decoding device capable of reducing the processing time required for decoding image data compressed and encoded using DC / AC predictive encoding.

以下では、本発明を適用した具体的な実施の形態について、図面を参照しながら詳細に説明する。各図面において、同一要素には同一の符号が付されており、説明の明確化のため、必要に応じて重複説明は省略される。   Hereinafter, specific embodiments to which the present invention is applied will be described in detail with reference to the drawings. In the drawings, the same elements are denoted by the same reference numerals, and redundant description is omitted as necessary for the sake of clarity.

<発明の実施の形態1>
図1は、本発明の実施の形態の1つである画像復号化装置1を示すブロック図である。画像復号化装置1は、VC−1によりエンコードされた符号化画像データの復号化を行う装置である。図1において、可変長復号部10は、符号化画像データの可変長復号を行う。可変長復号部10は、上述した可変長復号部90に相当する。
<Embodiment 1 of the Invention>
FIG. 1 is a block diagram showing an image decoding apparatus 1 which is one embodiment of the present invention. The image decoding device 1 is a device that decodes encoded image data encoded by VC-1. In FIG. 1, a variable length decoding unit 10 performs variable length decoding of encoded image data. The variable length decoding unit 10 corresponds to the variable length decoding unit 90 described above.

入力バッファ11は、可変長復号部10によって可変長復号されたDC/AC係数群(もちろん量子化及びDC/AC予測符号化がなされたものである)を保持するバッファメモリである。入力バッファ11は、後述するパイプライン処理部12に対する処理対象データの供給元である。   The input buffer 11 is a buffer memory that holds a DC / AC coefficient group (of course, subjected to quantization and DC / AC predictive coding) subjected to variable length decoding by the variable length decoding unit 10. The input buffer 11 is a supply source of processing target data to a pipeline processing unit 12 described later.

パイプライン処理部12は、シーケンス処理部13による順序制御のもと、逆スキャン処理、逆DC/AC予測処理、及び逆量子化処理を実行する。シーケンス処理部13は、主にパイプライン処理部12によるブロック毎のパイプライン処理の実行を制御するためのブロックである。   The pipeline processing unit 12 performs reverse scan processing, reverse DC / AC prediction processing, and reverse quantization processing under the order control by the sequence processing unit 13. The sequence processing unit 13 is a block for mainly controlling execution of pipeline processing for each block by the pipeline processing unit 12.

シーケンス処理部13は、ブロック毎にパイプラインを起動するためのstart信号、及びブロック毎の逆量子化処理に必要なパラメータを含むparameter信号をパイプライン処理部12に供給する。また、シーケンス処理部13は、1ブロック分の逆量子化処理の完了を示すfinish信号をパイプライン処理部12から受信する。   The sequence processing unit 13 supplies the pipeline processing unit 12 with a start signal for starting the pipeline for each block and a parameter signal including parameters necessary for the inverse quantization processing for each block. In addition, the sequence processing unit 13 receives a finish signal indicating completion of inverse quantization processing for one block from the pipeline processing unit 12.

なお、parameter信号には、マクロブロック毎にAC予測を行なうか否かを示すパラメータ、カレントブロック及び周辺ブロックの量子化ステップサイズに関するパラメータが含まれる。ここで、量子化ステップサイズに関するパラメータは、量子化ステップサイズそのものでもよいし、VC−1で使用される量子化パラメータMQUANT又はMQUANTを用いて算出されるdobule_quantでもよい。MQUANTは、1〜31の間の値を持つ量子化ステップサイズに関連付けられたパラメータであり、マクロブロック毎に符号化されている。DC係数の量子化ステップサイズ(DCStepSize)及びdouble_quantは、量子化パラメータMQUANTを用いて以下の各式により算出できる。
(1)DCStepSize
For MQUANT equal to 1 or 2
DCStepSize = 2 * MQUANT
For MQUANT equal to 3 or 4
DCStepSize = 8
For MQUANT greater than or equal to 5
DCStepSize = MQUANT/2 + 6
(2)double_quant
double_quant = 2 * MQUANT + HALFQP
ここで、HALFQPは、0又は1の1bit値である。
The parameter signal includes a parameter indicating whether or not AC prediction is performed for each macroblock, and a parameter related to the quantization step size of the current block and peripheral blocks. Here, the parameter relating to the quantization step size may be the quantization step size itself, or may be dobule_quant calculated using the quantization parameter MQUANT or MQUANT used in VC-1. MQUANT is a parameter associated with a quantization step size having a value between 1 and 31, and is encoded for each macroblock. The quantization step size (DCStepSize) and double_quant of the DC coefficient can be calculated by the following equations using the quantization parameter MQUANT.
(1) DCStepSize
For MQUANT equal to 1 or 2
DCStepSize = 2 * MQUANT
For MQUANT equal to 3 or 4
DCStepSize = 8
For MQUANT greater than or equal to 5
DCStepSize = MQUANT / 2 + 6
(2) double_quant
double_quant = 2 * MQUANT + HALFQP
Here, HALFQP is a 1-bit value of 0 or 1.

また、シーケンス処理部13からパイプライン処理部12に供給されるparameter信号には、上記のマクロブロック毎のパラメータの他に、カレントブロック毎に指定されるパラメータも含まれる。カレントブロック毎に指定されるパラメータは、カレントブロックを指定するインデックス値、周辺ブロックがAC/DC予測に利用可能であるかを示すパラメータ等である。   The parameter signal supplied from the sequence processing unit 13 to the pipeline processing unit 12 includes parameters specified for each current block in addition to the parameters for each macroblock. The parameters specified for each current block are an index value for specifying the current block, a parameter indicating whether the peripheral block can be used for AC / DC prediction, and the like.

パイプライン処理部12は、逆スキャン処理、逆DC/AC予測処理、及び逆量子化処理を実行するために、パイプライン制御部20、逆量子化部30、逆DC/AC予測処理部40、及び周辺DC/AC係数バッファ50を備える。このうち、パイプライン制御部20は、start信号、parameter信号及びfinish信号の送受信のためにシーケンス処理部13とのインタフェースとして機能するとともに、パイプライン処理部12の全体制御を行う。   The pipeline processing unit 12 includes a pipeline control unit 20, an inverse quantization unit 30, an inverse DC / AC prediction processing unit 40, in order to execute an inverse scan process, an inverse DC / AC prediction process, and an inverse quantization process. And a peripheral DC / AC coefficient buffer 50. Among these, the pipeline control unit 20 functions as an interface with the sequence processing unit 13 for transmission / reception of the start signal, the parameter signal, and the finish signal, and performs overall control of the pipeline processing unit 12.

逆量子化部30は、逆スキャン処理部301、加算処理部302、及び逆量子化処理部303を含む。逆スキャン処理部301は、入力バッファ11からカレントブロックに関するカレントブロックに関するDC/AC差分係数を取り出す。   The inverse quantization unit 30 includes an inverse scan processing unit 301, an addition processing unit 302, and an inverse quantization processing unit 303. The inverse scan processing unit 301 extracts the DC / AC difference coefficient related to the current block related to the current block from the input buffer 11.

加算処理部302は、逆DC/AC予測処理全体のうちの後半部分の処理に相当する加算処理を実行する。   The addition processing unit 302 executes an addition process corresponding to the latter half of the entire inverse DC / AC prediction process.

逆量子化処理部303は、加算処理部302の出力データ、すなわち逆DC/AC予測処理の完了したカレントブロックの量子化DC/AC係数を入力して逆量子化を行うことにより、カレントブロックに関する復元DC/AC係数を生成する。逆量子化処理部303によって生成された復元DC/AC係数は、出力バッファ15に格納される。   The inverse quantization processing unit 303 receives the output data of the addition processing unit 302, that is, the quantized DC / AC coefficient of the current block for which the inverse DC / AC prediction processing has been completed, and performs inverse quantization to thereby perform a process related to the current block. A restored DC / AC coefficient is generated. The restored DC / AC coefficient generated by the inverse quantization processing unit 303 is stored in the output buffer 15.

逆DC/AC予測処理部40は、逆DC/AC予測処理全体のうち前半部分の処理であるパラメータ計算、DC/AC係数のスケーリング、及び予測方向の判別を実行する。そのために、逆DC/AC予測処理部40は、制御部401、パラメータ計算部402、スケーリング部403、及び予測方向判別部404を備える。また、逆DC/AC予測処理部40は、パイプライン制御部20、逆量子化部30、及び周辺DC/AC係数バッファ50とのインタフェースを有する。   The inverse DC / AC prediction processing unit 40 executes parameter calculation, scaling of DC / AC coefficients, and determination of a prediction direction, which are processes in the first half of the entire inverse DC / AC prediction process. For this purpose, the inverse DC / AC prediction processing unit 40 includes a control unit 401, a parameter calculation unit 402, a scaling unit 403, and a prediction direction determination unit 404. The inverse DC / AC prediction processing unit 40 has an interface with the pipeline control unit 20, the inverse quantization unit 30, and the peripheral DC / AC coefficient buffer 50.

制御部401は、逆量子化部30からdcstart信号及acstart信号を受信し、preddir信号及びdcacfinish信号を逆量子化部30に送信する。ここで、dcstart信号はDC係数の逆予測の開始を指示するための信号であり、acstart信号はAC係数の逆予測の開始を指示するための信号である。また、preddir信号は、予測方向判別部404によって判別された予測方向を逆量子化部30に通知するための信号である。dcacfinish信号は、1ブロック分のDC/AC係数のスケーリング及び予測方向の判別処理が完了したことを、逆量子化部30に通知するための信号である。   The control unit 401 receives the dcstart signal and the acstart signal from the inverse quantization unit 30 and transmits the preddir signal and the dcacfinish signal to the inverse quantization unit 30. Here, the dcstart signal is a signal for instructing the start of inverse prediction of DC coefficients, and the acstart signal is a signal for instructing the start of inverse prediction of AC coefficients. The preddir signal is a signal for notifying the inverse quantization unit 30 of the prediction direction determined by the prediction direction determination unit 404. The dcacfinish signal is a signal for notifying the inverse quantization unit 30 that the DC / AC coefficient scaling for one block and the prediction direction determination processing have been completed.

パラメータ計算部402は、DC係数及びAC係数のスケーリングのためのパラメータを計算する。例えば、上述したparameter信号によってdouble_quant値がパイプライン処理部12に供給される場合、パラメータ計算部402は、double_quant値を用いてMQUANT、DC係数のステップサイズ(DCStepSize)、AC係数のステップサイズに関する値STEP(STEP=double_quant-1)、及び量子化スケールを計算する。ここで、量子化スケールの取得は、後述するように、量子化スケール値が格納されたルックアップテーブル(不図示)を参照して取得すればよい。   The parameter calculation unit 402 calculates parameters for scaling the DC coefficient and the AC coefficient. For example, when the double_quant value is supplied to the pipeline processing unit 12 by the parameter signal described above, the parameter calculation unit 402 uses the double_quant value to determine the value related to the MQUANT, DC coefficient step size (DCStepSize), and AC coefficient step size. STEP (STEP = double_quant-1) and the quantization scale are calculated. Here, as described later, the quantization scale may be acquired with reference to a lookup table (not shown) in which the quantization scale value is stored.

スケーリング部403は、逆量子化部30の処理対象ブロックであるカレントブロックと周辺ブロック(すなわち、図7に示したブロックA〜C)との間で量子化ステップサイズ又は量子化スケールが異なる場合(言い換えるとMQUANTが異なる場合)、量子化ステップサイズ又は量子化スケールが異なるDC/AC予測係数に対するスケーリングを実行する。なお、AC予測係数に対するスケーリングは、予測方向判別部404によって判別された予測方向の周辺ブロックについてのみ行えばよい。   The scaling unit 403 has a case where the quantization step size or the quantization scale is different between the current block that is the processing target block of the inverse quantization unit 30 and the peripheral blocks (that is, the blocks A to C illustrated in FIG. 7) ( In other words, when MQUANT is different), scaling is performed on DC / AC prediction coefficients with different quantization step sizes or quantization scales. Note that scaling with respect to the AC prediction coefficient may be performed only for the neighboring blocks in the prediction direction determined by the prediction direction determination unit 404.

例えば、左ブロックCのDC予測係数QF[0][0]に対するスケーリングは、以下の(1)式により行えばよい。

Figure 2009212900
ここで、SQFC[0][0]は、スケーリング後のDC予測係数である。DCSTEPP は、DC予測係数FC[0][0]の量子化ステップサイズである。DCSTEPC は、カレントブロックのDC係数の量子化ステップサイズである。DQSclale[m]は、mで示されるステップサイズに対応した量子化スケールである。なお、DQSclale[m]は、量子化スケール値を格納したルックアップテーブル(いわゆる量子化スケールテーブル)である。VC−1の場合、DQSclale[m]には63通りの量子化ステップサイズに対応した量子化スケール値が格納されている。なお、量子化スケールの具体的な値は、VC−1(SMPTE 421M)に定義されているものを使用すればよい。量子化スケールテーブルから対応する1つの値を取得する処理は、上述したパラメータ計算部402が行えばよい。演算子">>k"は、右方向へのkビットシフトを表す。 For example, the scaling for the left DC prediction coefficients QF C [0] of the block C [0] may be performed by the following equation (1).
Figure 2009212900
Here, SQF C [0] [0] is a DC prediction coefficient after scaling. DCSTEP P is the quantization step size of the DC prediction coefficient F C [0] [0]. DCSTEP C is the quantization step size of the DC coefficient of the current block. DQSclale [m] is a quantization scale corresponding to the step size indicated by m. DQSclale [m] is a look-up table (so-called quantization scale table) that stores quantization scale values. In the case of VC-1, quantization scale values corresponding to 63 quantization step sizes are stored in DQSclale [m]. In addition, what is necessary is just to use what is defined in VC-1 (SMPTE 421M) as a specific value of a quantization scale. The process for obtaining one corresponding value from the quantization scale table may be performed by the parameter calculation unit 402 described above. The operator “>> k” represents a k-bit shift to the right.

また、左ブロックCのAC予測係数QF[j][0]に対するスケーリングは、以下の(2)式により行えばよい。

Figure 2009212900
ここで、SQFC[j][0]は、スケーリング後のAC予測係数である。ACSTEPP は、AC予測係数FC[j][0]の量子化ステップサイズである。ACSTEPC は、カレントブロックのAC係数の量子化ステップサイズである。 Further, the scaling for the AC prediction coefficients in the left block C QF C [j] [0 ] may be performed by the following equation (2).
Figure 2009212900
Here, SQF C [j] [0] is an AC prediction coefficient after scaling. ACSTEP P is the quantization step size of the AC prediction coefficient F C [j] [0]. ACSTEP C is the quantization step size of the AC coefficient of the current block.

予測方向判別部404は、3つの周辺ブロックA〜Cのスケーリング後のDC係数の差分値を計算し、カレントブロックの予測方向を判別する。   The prediction direction determination unit 404 calculates the difference value of the DC coefficient after scaling of the three peripheral blocks A to C, and determines the prediction direction of the current block.

逆DC/AC予測処理部40は、スケーリング部403によるスケーリング後のDC/AC予測係数を周辺DC/AC係数バッファ50に格納し、予測方向判別部404によって判別された予測方向を含むpreddir信号を逆量子化部30に送信する。   The inverse DC / AC prediction processing unit 40 stores the DC / AC prediction coefficient scaled by the scaling unit 403 in the peripheral DC / AC coefficient buffer 50, and receives the preddir signal including the prediction direction determined by the prediction direction determination unit 404. It transmits to the inverse quantization unit 30.

周辺DC/AC係数バッファ50は、カレントブロックの逆DC/AC予測に使用するために外部メモリ14から供給される周辺ブロック(具体的には、上、左上及び左の3ブロック)のDC/AC予測係数が格納される。また、周辺DC/AC係数バッファ50の格納データは、スケーリング後のDC/AC予測係数によって更新される。周辺DC/AC係数バッファ50に保持されたDC/AC予測係数は、上述した加算処理部302におけるDC/AC差分係数との加算処理に利用される。   The peripheral DC / AC coefficient buffer 50 is a DC / AC of peripheral blocks (specifically, upper, upper left, and left three blocks) supplied from the external memory 14 for use in inverse DC / AC prediction of the current block. A prediction coefficient is stored. Also, the data stored in the peripheral DC / AC coefficient buffer 50 is updated with the DC / AC prediction coefficient after scaling. The DC / AC prediction coefficient held in the peripheral DC / AC coefficient buffer 50 is used for addition processing with the DC / AC difference coefficient in the addition processing unit 302 described above.

周辺DC/AC係数バッファ50の具体例を図2に示す。図2のDC/AC係数バッファ50は、4つのDC係数バッファ500〜503、及び6つのDCAC係数バッファ510〜515によって構成されている。DC係数バッファ500は、輝度信号のカレントブロックの左上ブロックのDC予測係数を格納する。DC係数バッファ501は輝度信号のカレントブロックの左ブロックのDC予測係数を格納する。DC係数バッファ502は、色差信号Cbのカレントブロックの左上ブロックのDC予測係数を格納する。DC係数バッファ503は、色差信号Crのカレントブロックの左上ブロックのDC予測係数を格納する。   A specific example of the peripheral DC / AC coefficient buffer 50 is shown in FIG. The DC / AC coefficient buffer 50 shown in FIG. 2 includes four DC coefficient buffers 500 to 503 and six DCAC coefficient buffers 510 to 515. The DC coefficient buffer 500 stores the DC prediction coefficient of the upper left block of the current block of the luminance signal. The DC coefficient buffer 501 stores the DC prediction coefficient of the left block of the current block of the luminance signal. The DC coefficient buffer 502 stores the DC prediction coefficient of the upper left block of the current block of the color difference signal Cb. The DC coefficient buffer 503 stores the DC prediction coefficient of the upper left block of the current block of the color difference signal Cr.

ACDC係数バッファ510は、輝度信号のカレントブロックの上ブロックに加えて左上又は右上ブロックのDC/AC予測係数を格納する。ACDC係数バッファ511は、輝度信号のカレントブロックの左ブロックに加えて左上又は左下のDC/AC予測係数を格納する。ACDC係数バッファ512は、色差信号Cbのカレントブロックの上ブロックのDC/AC予測係数を格納する。ACDC係数バッファ513は、色差信号Cbのカレントブロックの左ブロックのDC/AC予測係数を格納する。ACDC係数バッファ514は、色差信号Crのカレントブロックの上ブロックのDC/AC予測係数を格納する。最後に、ACDC係数バッファ515は、色差信号Crのカレントブロックの左ブロックのDC/AC予測係数を格納する。   The ACDC coefficient buffer 510 stores the DC / AC prediction coefficient of the upper left or upper right block in addition to the upper block of the current block of the luminance signal. The ACDC coefficient buffer 511 stores the DC / AC prediction coefficient at the upper left or lower left in addition to the left block of the current block of the luminance signal. The ACDC coefficient buffer 512 stores the DC / AC prediction coefficient of the upper block of the current block of the color difference signal Cb. The ACDC coefficient buffer 513 stores the DC / AC prediction coefficient of the left block of the current block of the color difference signal Cb. The ACDC coefficient buffer 514 stores the DC / AC prediction coefficient of the upper block of the current block of the color difference signal Cr. Finally, the ACDC coefficient buffer 515 stores the DC / AC prediction coefficient of the left block of the current block of the color difference signal Cr.

図1に戻り説明を続ける。外部メモリ14は、復号化後の画像データを格納するメモリであり、逆DC/AC予測処理のために必要なカレント・マクロブロックの上マクロブロックの画素値を格納する。   Returning to FIG. The external memory 14 is a memory for storing the decoded image data, and stores the pixel value of the upper macroblock of the current macroblock necessary for the inverse DC / AC prediction process.

出力バッファ15は、パイプライン処理部12の出力データ、つまり逆量子化後のカレントブロックのDC/AC係数を格納し、これを逆DCT部16に供給する。   The output buffer 15 stores the output data of the pipeline processing unit 12, that is, the DC / AC coefficient of the current block after inverse quantization, and supplies this to the inverse DCT unit 16.

逆DCT部16は、カレントブロックの復元DC/AC係数を出力バッファ15から入力して逆DCT演算を実行することにより、カレントブロックの画素値を復元する。   The inverse DCT unit 16 restores the pixel value of the current block by inputting the restored DC / AC coefficient of the current block from the output buffer 15 and executing an inverse DCT operation.

続いて以下では、パイプライン処理部12が逆スキャン処理から逆量子化処理までを行う際の動作手順について具体的に説明する。   Subsequently, the operation procedure when the pipeline processing unit 12 performs from the inverse scan process to the inverse quantization process will be specifically described below.

(STEP0)
パイプライン処理部12は、マクロブロック内の複数のブロックについて、図7に示した順序、すなわちY0、Y1、Y2、Y3、Cb、Crの順序でDC/AC係数の処理を行う。現在のカレントブロックの位置は、シーケンス処理部13が管理する。
(STEP0)
The pipeline processing unit 12 performs DC / AC coefficient processing on the plurality of blocks in the macroblock in the order shown in FIG. 7, that is, the order of Y0, Y1, Y2, Y3, Cb, and Cr. The sequence processing unit 13 manages the current position of the current block.

(STEP1)
シーケンス処理部13からの指示に応じて、カレントブロックの周辺ブロックの値が外部メモリ14から周辺DC/AC係数バッファ50に格納される。周辺DC/AC係数バッファ50に格納される周辺ブロックの値のうち左マクロブロックに関するものは、前のマクロブロックの処理結果の結果である。
(STEP1)
In response to an instruction from the sequence processing unit 13, the values of the peripheral blocks of the current block are stored from the external memory 14 into the peripheral DC / AC coefficient buffer 50. Of the peripheral block values stored in the peripheral DC / AC coefficient buffer 50, the value related to the left macroblock is the result of the processing of the previous macroblock.

(STEP2)
入力バッファ11にカレントブロック分のデータが蓄積されると、シーケンス処理部13は、start信号及びparameter信号をパイプライン制御部20に与え、逆量子化部30及び逆DC/AC予測処理部40による処理を開始させる。
(STEP2)
When the data for the current block is accumulated in the input buffer 11, the sequence processing unit 13 gives the start signal and the parameter signal to the pipeline control unit 20, and the inverse quantization unit 30 and the inverse DC / AC prediction processing unit 40 Start processing.

(STEP3)
start信号を受信したパイプライン制御部20は、シーケンス処理部13から与えられたパラメータを逆量子化部30及び逆DC/AC予測処理部40に供給するとともに、カレントブロックに対する処理の開始を示すblkstart信号を逆量子化部30に与える。
(STEP3)
The pipeline control unit 20 that has received the start signal supplies the parameters given from the sequence processing unit 13 to the inverse quantization unit 30 and the inverse DC / AC prediction processing unit 40, and also indicates the start of processing for the current block. The signal is supplied to the inverse quantization unit 30.

(STEP4)
blkstart信号を受信した逆量子化部30は、Y0ブロックのDC/AC予測処理、具体的には係数スケーリング及び予測方向判別処理を行なわせるために、逆DC/AC予測処理部40に対してdcstart信号及びacstart信号を送信する。これは、本実施の形態のパイプライン処理部12がマクロブロック単位で逆量子化を実行するためであり、1カレントブロック内の先頭ブロックであるY0ブロックについては係数スケーリング及び予測方向判別が未実施であるためである。dcstart信号及びacstart信号を受信した逆DC/AC予測処理部40は、パラメータ計算を行い、カレントブロックと周辺ブロックとの量子化スケールが異なる場合にはDC係数のスケーリング処理を実行し、予測方向の判別を行なう。そして、逆DC/AC予測処理部40は、算出した予測方向をpreddir信号に含めて逆量子化部30に通知する。引き続き、逆DC/AC予測処理部40は、算出した予測方向のAC係数のスケーリングを行い、処理結果を周辺DC/AC係数バッファ50に格納する。逆DC/AC予測処理部40は、Y0ブロックに関するDC/AC予測処理(ただし、係数スケーリング及び予測方向判別処理)を全て完了すると、dcacfinish信号を逆量子化部30に通知する。
(STEP4)
The inverse quantization unit 30 that has received the blkstart signal causes the inverse DC / AC prediction processing unit 40 to perform dcstart in order to perform DC / AC prediction processing of the Y0 block, specifically, coefficient scaling and prediction direction determination processing. Signal and acstart signal. This is because the pipeline processing unit 12 of the present embodiment performs inverse quantization in units of macroblocks, and coefficient scaling and prediction direction determination are not performed for the Y0 block that is the first block in one current block. This is because. The inverse DC / AC prediction processing unit 40 that has received the dcstart signal and the acstart signal performs parameter calculation, executes a DC coefficient scaling process when the quantization scales of the current block and the peripheral blocks are different, and sets the prediction direction. Make a decision. Then, the inverse DC / AC prediction processing unit 40 includes the calculated prediction direction in the preddir signal and notifies the inverse quantization unit 30. Subsequently, the inverse DC / AC prediction processing unit 40 performs scaling of the AC coefficient in the calculated prediction direction, and stores the processing result in the peripheral DC / AC coefficient buffer 50. The inverse DC / AC prediction processing unit 40 notifies the inverse quantization unit 30 of a dcacfinish signal when all the DC / AC prediction processing (however, coefficient scaling and prediction direction determination processing) regarding the Y0 block is completed.

(STEP5)
逆量子化部30は、逆DC/AC予測処理部40におけるY0ブロックに関する処理の終了を示すdcacfinish信号を受信すると、逆スキャン、予測方向に従ったDC/AC予測係数とDC/AC差分係数の加算処理、及び逆量子化をY0ブロック内の64個の係数について行う。逆量子化部30は、得られたY0ブロックの復元DC/AC係数を、出力バッファ15に格納する。なお、加算処理後のY0ブロックの上辺係数と左辺係数は、後続のY1ブロック及びY2ブロックの周辺予測画素として用いられる。このため、逆量子化部30は、周辺DC/AC係数バッファ50に含まれるACDC係数バッファ510及び511にこれらの係数を格納する。
(STEP5)
When the inverse quantization unit 30 receives the dcacfinish signal indicating the end of the processing related to the Y0 block in the inverse DC / AC prediction processing unit 40, the inverse quantization, the DC / AC prediction coefficient according to the prediction direction, and the DC / AC difference coefficient Addition processing and inverse quantization are performed on the 64 coefficients in the Y0 block. The inverse quantization unit 30 stores the obtained restored DC / AC coefficient of the Y0 block in the output buffer 15. Note that the upper side coefficient and the left side coefficient of the Y0 block after the addition processing are used as the peripheral prediction pixels of the subsequent Y1 block and Y2 block. For this reason, the inverse quantization unit 30 stores these coefficients in the ACDC coefficient buffers 510 and 511 included in the peripheral DC / AC coefficient buffer 50.

(STEP6)
逆量子化部30は、STEP5におけるY0ブロックの逆量子化処理に並行して、Y1ブロックに関する係数スケーリング及び予測方向判別処理を逆DC/AC予測処理部40に開始させるために、以下のように動作する。すなわち逆量子化部30は、上述したSTEP5の実行過程において、Y0ブロックのDC係数に対する加算処理が終了しだい速やかにY1ブロックのdcstart信号を逆DC/AC予測処理部40に与える。Y1ブロックのdcstart信号を受信した逆DC/AC予測処理部40は、パラメータ計算を行い、必要に応じてDC係数のスケーリング処理を実行し、Y1ブロックの予測方向の判別を行なう。そして、逆DC/AC予測処理部40は、算出したY1ブロックの予測方向をpreddir信号に含めて逆量子化部30に通知する。
(STEP6)
The inverse quantization unit 30 causes the inverse DC / AC prediction processing unit 40 to start coefficient scaling and prediction direction determination processing for the Y1 block in parallel with the inverse quantization processing of the Y0 block in STEP 5 as follows. Operate. That is, the inverse quantization unit 30 provides the dcstart signal of the Y1 block to the inverse DC / AC prediction processing unit 40 as soon as the addition process to the DC coefficient of the Y0 block is completed in the execution process of STEP5 described above. The inverse DC / AC prediction processing unit 40 that has received the dcstart signal of the Y1 block performs parameter calculation, performs DC coefficient scaling processing as necessary, and determines the prediction direction of the Y1 block. Then, the inverse DC / AC prediction processing unit 40 includes the calculated prediction direction of the Y1 block in the preddir signal and notifies the inverse quantization unit 30.

また、Y1ブロックの加算処理の実行に必要なAC係数のスケーリング処理をY0ブロックの量子処理と並行して逆DC/AC予測処理部40に行わせるために、逆量子化部30は以下ように動作する。すなわち、逆量子化部30は、Y0ブロックの左辺係数(つまり、図3のインデックス8、16、24、32、40、48及び56)に関する加算処理が終了したら速やかに、Y1ブロックのacstart信号を逆DC/AC予測処理部40に送信する。Y0ブロックの左辺係数に関する加算処理の終了は、例えば、インデックス56番の係数に引き続くインデックス49番の係数が逆スキャン処理部301によって取得されたことにより判定すればよい。Y1ブロックのacstart信号を受信した逆DC/AC予測処理部40は、Y1ブロックの予測方向に対応する周辺ブロックのAC係数(つまり、AC予測係数)をスケーリングし、その結果を周辺DC/AC係数バッファ50に格納し、dcacfinish信号を逆量子化部30に送信する。   Further, in order to cause the inverse DC / AC prediction processing unit 40 to perform the scaling processing of the AC coefficient necessary for the execution of the addition processing of the Y1 block in parallel with the quantum processing of the Y0 block, the inverse quantization unit 30 is as follows. Operate. In other words, the inverse quantization unit 30 promptly outputs the acstart signal of the Y1 block immediately after the addition processing relating to the left side coefficient of the Y0 block (that is, the indexes 8, 16, 24, 32, 40, 48, and 56 in FIG. 3) is completed. Transmit to the inverse DC / AC prediction processing unit 40. The end of the addition processing related to the left-side coefficient of the Y0 block may be determined by, for example, acquiring the coefficient at index 49 subsequent to the coefficient at index 56 by the reverse scan processing unit 301. The inverse DC / AC prediction processing unit 40 that has received the acstart signal of the Y1 block scales the AC coefficient (that is, the AC prediction coefficient) of the peripheral block corresponding to the prediction direction of the Y1 block, and the result is the peripheral DC / AC coefficient. The data is stored in the buffer 50 and the dcacfinish signal is transmitted to the inverse quantization unit 30.

(STEP7)
逆量子化部30は、Y1ブロックに関するdcacfinish信号を逆DC/AC予測処理部40から受信し、かつY0ブロックの逆量子化処理が64係数全てについて完了した場合に、Y0ブロックの処理が終了したことを通知するために、pipedone信号をパイプライン制御部20に送信する。
(STEP7)
The inverse quantization unit 30 receives the dcacfinish signal related to the Y1 block from the inverse DC / AC prediction processing unit 40, and when the inverse quantization processing of the Y0 block is completed for all 64 coefficients, the processing of the Y0 block is completed. In order to notify this, a pipedone signal is transmitted to the pipeline control unit 20.

(STEP8)
パイプライン制御部20は、pipedone信号の受信によってY0ブロックの逆量子化処理が完了したことを認識し、finish信号をシーケンス処理部13に送信する。
(STEP8)
The pipeline control unit 20 recognizes that the inverse quantization processing of the Y0 block has been completed by receiving the pipedone signal, and transmits a finish signal to the sequence processing unit 13.

(STEP9)
シーケンス処理部13は、finish信号を受信した場合、次の処理対象ブロックであるY1ブロックの処理に必要なパラメータを求め、parameter信号及びY1ブロックの処理開始を示すstart信号をパイプライン制御部20に送信する。
(STEP9)
When the sequence processing unit 13 receives the finish signal, the sequence processing unit 13 obtains parameters necessary for processing of the Y1 block that is the next processing target block, and sends a parameter signal and a start signal indicating the start of processing of the Y1 block to the pipeline control unit 20. Send.

(STEP10)
Y1ブロックの処理開始を示すstart信号を受信したパイプライン制御部20は、シーケンス処理部13から与えられたパラメータを逆量子化部30及び逆DC/AC予測処理部40に供給するとともに、Y1ブロックに対する処理の開始を示すblkstart信号を逆量子化部30に送信する。
(STEP10)
The pipeline control unit 20 that has received the start signal indicating the start of processing of the Y1 block supplies the parameters given from the sequence processing unit 13 to the inverse quantization unit 30 and the inverse DC / AC prediction processing unit 40, and at the same time, the Y1 block A blkstart signal indicating the start of the process is transmitted to the inverse quantization unit 30.

(STEP11)
blkstart信号を受信した逆量子化部30は、速やかにDC係数の加算処理を開始する。これは、上述したSTEP6において既にY1ブロックの周辺ブロックに関するDC/AC係数のスケーリング及び予測方向の判別が終了しているためである。逆量子化部30は、Y1ブロックに関する逆スキャン、予測方向に従ったDC/AC予測係数とDC/AC差分係数の加算処理、及び逆量子化をY1ブロック内の64個の係数について行う。逆量子化部30は、得られたY1ブロックの復元DC/AC係数を、出力バッファ15に格納する。なお、加算処理後のY1ブロックの上辺係数は、後続のY3ブロックの周辺予測画素として用いられる。このため、逆量子化部30は、周辺DC/AC係数バッファ50に含まれるACDC係数バッファ510にこれらの係数を格納する。
(STEP11)
The inverse quantization unit 30 that has received the blkstart signal promptly starts the DC coefficient addition process. This is because the scaling of the DC / AC coefficient and the determination of the prediction direction regarding the peripheral blocks of the Y1 block have already been completed in STEP 6 described above. The inverse quantization unit 30 performs inverse scanning on the Y1 block, addition processing of DC / AC prediction coefficients and DC / AC difference coefficients according to the prediction direction, and inverse quantization on 64 coefficients in the Y1 block. The inverse quantization unit 30 stores the obtained restored DC / AC coefficient of the Y1 block in the output buffer 15. Note that the upper side coefficient of the Y1 block after the addition processing is used as a peripheral prediction pixel of the subsequent Y3 block. For this reason, the inverse quantization unit 30 stores these coefficients in the ACDC coefficient buffer 510 included in the peripheral DC / AC coefficient buffer 50.

(STEP12)
逆量子化部30は、上述したSTEP11におけるY1ブロックの逆量子化処理に並行してY2ブロックに関する係数スケーリング及び予測方向判別処理を逆DC/AC予測処理部40に開始させるために、以下のように動作する。すなわち逆量子化部30は、Y1ブロックのDC係数に対する加算処理が終了しだい速やかにY2ブロックのdcstart信号を逆DC/AC予測処理部40に与える。また、逆量子化部30は、dcstart信号に合わせてacstart信号も送信すればよい。これは、図2からも分かるように、Y1ブロックのAC係数はY2ブロックのAC予測係数ではないため、Y1ブロックのAC係数の加算処理を待つ必要がないためである。
(STEP12)
The inverse quantization unit 30 causes the inverse DC / AC prediction processing unit 40 to start coefficient scaling and prediction direction determination processing related to the Y2 block in parallel with the above-described inverse quantization processing of the Y1 block in STEP 11 as described below. To work. That is, the inverse quantization unit 30 provides the dcstart signal of the Y2 block to the inverse DC / AC prediction processing unit 40 as soon as the addition process for the DC coefficient of the Y1 block is completed. Further, the inverse quantization unit 30 may transmit the acstart signal in accordance with the dcstart signal. As can be seen from FIG. 2, the AC coefficient of the Y1 block is not the AC prediction coefficient of the Y2 block, so there is no need to wait for the AC coefficient addition process of the Y1 block.

Y2ブロックのdcstart信号及びacstart信号を受信した逆DC/AC予測処理部40は、Y2ブロックの周辺ブロックに含まれるDC予測係数を用いて、パラメータ計算、DC係数スケーリング、Y2ブロックの予測方向判別を実行する。そして、逆DC/AC予測処理部40は、算出したY2ブロックの予測方向をpreddir信号に含めて逆量子化部30に通知する。引き続き、逆DC/AC予測処理部40は、算出したY2ブロックの予測方向に対応する周辺ブロックのAC係数(つまり、AC予測係数)をスケーリングし、その結果を周辺DC/AC係数バッファ50に格納し、dcacfinish信号を逆量子化部30に送信する。   The inverse DC / AC prediction processing unit 40 that has received the dcstart signal and the acstart signal of the Y2 block uses the DC prediction coefficients included in the peripheral blocks of the Y2 block to perform parameter calculation, DC coefficient scaling, and prediction direction determination of the Y2 block. Execute. Then, the inverse DC / AC prediction processing unit 40 includes the calculated prediction direction of the Y2 block in the preddir signal and notifies the inverse quantization unit 30. Subsequently, the inverse DC / AC prediction processing unit 40 scales the AC coefficient (that is, AC prediction coefficient) of the peripheral block corresponding to the calculated prediction direction of the Y2 block, and stores the result in the peripheral DC / AC coefficient buffer 50. Then, the dcacfinish signal is transmitted to the inverse quantization unit 30.

(STEP13)
逆量子化部30は、Y2ブロックに関するdcacfinish信号を逆DC/AC予測処理部40から受信し、かつY1ブロックの逆量子化処理が64係数全てについて完了した場合に、Y1ブロックの処理が終了したことを通知するために、pipedone信号をパイプライン制御部20に送信する。
(STEP 13)
The inverse quantization unit 30 receives the dcacfinish signal for the Y2 block from the inverse DC / AC prediction processing unit 40, and the Y1 block processing is completed when the inverse quantization processing for the Y1 block is completed for all 64 coefficients. In order to notify this, a pipedone signal is transmitted to the pipeline control unit 20.

(STEP14)
パイプライン制御部20は、pipedone信号の受信によってY1ブロックの逆量子化処理が完了したことを認識し、finish信号をシーケンス処理部13に送信する。
(STEP14)
The pipeline control unit 20 recognizes that the inverse quantization process of the Y1 block has been completed by receiving the pipedone signal, and transmits a finish signal to the sequence processing unit 13.

(STEP15)
シーケンス処理部13は、finish信号を受信した場合、次の処理対象ブロックであるY2ブロックの処理に必要なパラメータを求め、parameter信号及びY1ブロックの処理開始を示すstart信号をパイプライン制御部20に送信する。
(STEP 15)
When the sequence processing unit 13 receives the finish signal, the sequence processing unit 13 obtains parameters necessary for processing the Y2 block that is the next processing target block, and sends a parameter signal and a start signal indicating the start of processing of the Y1 block to the pipeline control unit 20. Send.

(STEP16)
パイプライン処理部12及びシーケンス処理部13は、上述したY1ブロックに関するSTEP10〜14と同様の処理を繰り返すことによって、Y2、Y3、Cb及びCrブロックに対する逆量子化処理を実行する。これにより、1マクロブロックの逆量子化が完了する。
(STEP 16)
The pipeline processing unit 12 and the sequence processing unit 13 perform the inverse quantization process on the Y2, Y3, Cb, and Cr blocks by repeating the same processes as in STEPs 10 to 14 regarding the Y1 block described above. Thereby, the inverse quantization of one macroblock is completed.

上述したように、本実施の形態の画像復号化装置1に含まれるパイプライン処理部12は、先頭ブロックY0を除く残りのY1ブロックからCrブロックまでの逆AC/DC予測処理に関して、次ブロックに関するDC/AC係数のスケーリング及び予測方向の判別処理をカレントブロックの逆量子化と並行して実行するよう構成されている。これによって、カレントブロック(例えばY0ブロック)の逆量子化の完了後、次ブロック(例えばY1ブロック)に対する処理の開始時にDC/AC係数のスケーリング及び予測方向の決定に要する時間を待つ必要が無くなる。このため、パイプライン処理部12は、速やかに次ブロックに対する逆スキャン処理、加算処理及び逆量子化処理を開始することができる。したがって、本実施の形態の画像復号化装置1は、1マクロブロックの逆量子化に要する処理時間を短縮することができる。   As described above, the pipeline processing unit 12 included in the image decoding apparatus 1 according to the present embodiment relates to the next block with respect to the inverse AC / DC prediction processing from the remaining Y1 block to the Cr block excluding the head block Y0. The DC / AC coefficient scaling and the prediction direction discrimination processing are executed in parallel with the current block inverse quantization. This eliminates the need to wait for the time required for scaling the DC / AC coefficient and determining the prediction direction at the start of processing for the next block (for example, Y1 block) after dequantization of the current block (for example, Y0 block). For this reason, the pipeline processing unit 12 can quickly start the inverse scan process, the addition process, and the inverse quantization process for the next block. Therefore, the image decoding apparatus 1 according to the present embodiment can reduce the processing time required for inverse quantization of one macroblock.

ここで、本実施の形態による処理時間の短縮効果を図4と図8の対比により説明する。図4は、本実施の形態にかかる画像復号化装置1において、VC−1マクロブロックの逆スキャン処理、逆DC/AC予測処理、及び逆量子化処理を実行した場合の処理時間を説明するための図である。   Here, the effect of shortening the processing time according to the present embodiment will be described by comparing FIG. 4 and FIG. FIG. 4 is a diagram for explaining processing time when the VC-1 macroblock inverse scan processing, inverse DC / AC prediction processing, and inverse quantization processing are executed in the image decoding apparatus 1 according to the present embodiment. FIG.

図4及び図8を対比すると、先頭のY0ブロックの処理時間に差はない。なお、図4及び図8において、時間Tは、DC係数スケーリング及び予測方向の判別処理に要する処理時間である。また、時間Tは、AC係数スケーリングに要する処理時間である。また、時間Tは、逆スキャン処理、加算処理及び逆量子化処理に要する処理時間である。 4 and 8, there is no difference in the processing time of the first Y0 block. In FIG. 4 and FIG. 8, the time T A, the processing time required for the determination process of DC coefficient scaling and prediction direction. The time T B is the processing time required for the AC coefficients scaling. The time T C, the reverse scan process, a processing time required for the addition processing and the inverse quantization process.

しかしながら、後続のY1〜Crブロックの処理に関して図4と図8には相違がある。上述した画像復号化装置1の動作及び図4から明らかなように、画像復号化装置1は、Y1〜Crブロックの逆DC/AC予測処理の一部であるDC係数スケーリング、予測方向の判別、及びAC係数のスケーリングを各々のブロックの先行ブロック(Y1ブロックの場合であればY0ブロック)の逆スキャン処理、加算処理及び逆量子化処理と時間的に並行して実行する。このため、図4では、Y1〜Crブロックの逆量子化を完了するまでの処理時間が図8に比べて短縮されている。   However, there is a difference between FIG. 4 and FIG. 8 regarding the processing of subsequent Y1-Cr blocks. As is clear from the operation of the image decoding device 1 described above and FIG. 4, the image decoding device 1 is configured to perform DC coefficient scaling, prediction direction determination, which is part of the inverse DC / AC prediction processing of the Y1 to Cr blocks, In addition, the scaling of the AC coefficient is executed in parallel with the inverse scan processing, addition processing, and inverse quantization processing of the preceding block (Y0 block in the case of Y1 block) of each block. For this reason, in FIG. 4, the processing time until the inverse quantization of the Y1 to Cr blocks is completed is shortened compared to FIG.

例えば、DC係数スケーリング及び予測方向の判別の処理クロック数C、DC係数スケーリングの処理クロック数C、並びに逆スキャン処理、加算処理及び逆量子化処理の処理クロック数Cをそれぞれ以下の値と仮定する。
:9クロック
:11クロック
:42クロック
この場合、図8に示した従来の1マクロブロックの処理に要するクロック数は、6(C+C+C)、すなわち372クロックとなる。一方、図4に示した画像復号化装置1による1マクロブロックの処理に要するクロック数は、C+C+6C、すなわち272クロックとなる。
For example, the DC coefficient scaling and processing clock number C A prediction directions of discrimination, the processing clock number C B DC coefficient scaling, and inverse scan processing, addition processing, and inverse quantization processing of the processing clock number C C respectively following values Assume that
C A : 9 clocks C B : 11 clocks C C : 42 clocks In this case, the number of clocks required for processing of one conventional macroblock shown in FIG. 8 is 6 (C A + C B + C C ), that is, 372 clocks. Become. On the other hand, the number of clocks required for processing one macroblock by the image decoding apparatus 1 shown in FIG. 4 is C A + C B + 6C C , that is, 272 clocks.

このように逆符号化に要する処理クロック数を削減できるということは、画像復号化装置の動作周波数を低減させることにも寄与する。例えば、上述したC、C及びCの値によって1920×1080画素のフルHD(High-Definition)サイズの画像データを1倍速でデコードするために必要な動作周波数は、図8の例では91.0MHzであるのに対して、図4の例では66.6MHzに低減される。 The ability to reduce the number of processing clocks required for inverse encoding in this way also contributes to reducing the operating frequency of the image decoding apparatus. For example, in the example of FIG. 8, the operating frequency required to decode 1920 × 1080 pixel full HD (High-Definition) size image data at 1 × speed based on the values of C A , C B and C C described above. In contrast to 91.0 MHz, the example in FIG. 4 is reduced to 66.6 MHz.

なお、上述した実施の形態では、次ブロックのDC係数スケーリング、予測方向の判別及びAC係数スケーリングをカレントブロックの逆量子化処理と並行して実行する例を示した。しかしながら、例えば、次ブロックのDC係数スケーリング及び予測方向の判別までを、カレントブロックの逆量子化処理と並行して実行するよう構成してもよい。このような構成によっても、DC係数の逆予測処理を並列化する分だけマクロブロックの逆量子化の完了に要する全体的な処理時間を短縮可能である。   In the above-described embodiment, the example in which the DC coefficient scaling of the next block, the determination of the prediction direction, and the AC coefficient scaling are executed in parallel with the inverse quantization process of the current block is shown. However, for example, the DC block scaling of the next block and the determination of the prediction direction may be executed in parallel with the inverse quantization processing of the current block. Even with such a configuration, it is possible to shorten the overall processing time required to complete the inverse quantization of the macroblock by the amount of parallelization of the inverse prediction processing of the DC coefficient.

また、上述した実施の形態では、VC−1、MPEG−4等の多くのコーデックで使用されているDCTを用いて符号化された画像の復号化について説明した。しかしながら、DCTは画像信号を空間周波数で表現するための1つの手法に過ぎず、本発明はDCTに限らず他の直交変換手法を用いて符号化された画像の復号化処理にも適用可能である   In the above-described embodiments, the decoding of images encoded using DCT used in many codecs such as VC-1 and MPEG-4 has been described. However, DCT is only one method for expressing an image signal in spatial frequency, and the present invention is not limited to DCT and can be applied to decoding processing of an image encoded using another orthogonal transform method. is there

また、上述した画像復号化装置1は、VC−1に限らずAC/DC予測符号化を行なう他のコーデック技術を用いて圧縮符号化された画像データの復号にも適用可能である。   Further, the above-described image decoding device 1 is applicable not only to decoding VC-1, but also to decoding image data that has been compression-encoded using another codec technique that performs AC / DC predictive encoding.

さらに、本発明は上述した実施の形態のみに限定されるものではなく、既に述べた本発明の要旨を逸脱しない範囲において種々の変更が可能であることは勿論である。   Furthermore, the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the gist of the present invention described above.

本発明の実施の形態にかかる画像復号化装置のブロック図である。It is a block diagram of the image decoding apparatus concerning embodiment of this invention. 周辺DC/AC係数バッファの具体例を示す図である。It is a figure which shows the specific example of a periphery DC / AC coefficient buffer. 8×8画素のブロックと当該ブロックの圧縮符号化時のジグザグスキャンによるスキャン方向を示す図である。It is a figure which shows the scanning direction by the zigzag scan at the time of the compression encoding of the block of 8x8 pixels and the said block. 本発明の実施の形態にかかる画像復号化装置において、VC−1マクロブロックの逆スキャン処理、逆DC/AC予測処理、及び逆量子化処理を実行した場合の処理時間を説明するための図である。The figure for demonstrating the processing time at the time of performing the reverse scan process of a VC-1 macroblock, a reverse DC / AC prediction process, and a reverse quantization process in the image decoding apparatus concerning embodiment of this invention. is there. 従来の画像復号化装置のブロック図である。It is a block diagram of the conventional image decoding apparatus. DC/AC予測の予測方向を決めるための周辺ロックとカレントブロックとの位置関係を示す図である。It is a figure which shows the positional relationship of the periphery lock | rock for determining the prediction direction of DC / AC prediction, and a current block. VC−1マクロブロック内の複数のブロックとこれらのブロックに対する処理順序を示す図である。It is a figure which shows the some block in a VC-1 macroblock, and the process order with respect to these blocks. 従来の画像復号化装置において、VC−1マクロブロックの逆スキャン処理、逆DC/AC予測処理、及び逆量子化処理を実行した場合の処理時間を説明するための図である。It is a figure for demonstrating the processing time at the time of performing the reverse scan process of a VC-1 macroblock, a reverse DC / AC prediction process, and a reverse quantization process in the conventional image decoding apparatus.

符号の説明Explanation of symbols

1 画像復号化装置
10 可変長復号部
11 入力バッファ
12 パイプライン処理部
13 シーケンス処理部
14 外部メモリ
15 出力バッファ
16 逆DCT部
20 パイプライン制御部
30 逆量子化部
301 逆スキャン処理部
302 加算処理部
303 逆量子化部
40 逆DC/AC予測処理部
401 制御部
402 パラメータ計算部
403 スケーリング部
404 予測方向判別部
50 周辺DC/AC係数バッファ
DESCRIPTION OF SYMBOLS 1 Image decoding apparatus 10 Variable length decoding part 11 Input buffer 12 Pipeline process part 13 Sequence process part 14 External memory 15 Output buffer 16 Inverse DCT part 20 Pipeline control part 30 Inverse quantization part 301 Inverse scan process part 302 Addition process Unit 303 inverse quantization unit 40 inverse DC / AC prediction processing unit 401 control unit 402 parameter calculation unit 403 scaling unit 404 prediction direction determination unit 50 peripheral DC / AC coefficient buffer

Claims (6)

直交変換、前記直交変換により得られるDC/AC係数の量子化、前記量子化により得られる量子化DC/AC係数のDC/AC予測符号化、及び前記DC/AC予測符号化により得られるDC/AC差分係数の可変長符号化によって圧縮符号化されている符号化画像信号に対する復号化を行う画像復号化装置であって、
前記符号化画像信号に対して可変長復号を行った後のデータ列から処理対象とするカレントブロックに関する前記DC/AC差分係数を取り出す逆スキャン処理、前記カレントブロックの前記DC/AC差分係数に前記DC/AC予測符号化の予測方向に対応したDC/AC予測係数を加算して前記量子化DC/AC係数を復元する加算処理、及び復元された前記カレントブロックの前記量子化DC/AC係数の逆量子化処理を実行する逆量子化部と、
前記加算処理に必要な前記予測方向を決定する逆DC/AC予測処理部とを備え、
前記逆DC/AC予測処理部は、前記カレントブロック以前のブロックに関する前記逆量子化部によって復元された前記量子化DC/AC係数を用いることにより、前記カレントブロックに関する前記逆スキャン処理、前記加算処理及び前記逆量子化処理の実行と時間的に並行して、前記カレントブロックに引き続いて処理すべき次ブロックに関する前記予測方向の決定処理を実行する、
画像復号化装置。
Orthogonal transform, quantization of DC / AC coefficient obtained by the orthogonal transform, DC / AC predictive coding of the quantized DC / AC coefficient obtained by the quantization, and DC / obtained by the DC / AC predictive coding An image decoding apparatus that performs decoding on an encoded image signal that has been compression-encoded by variable-length encoding of an AC difference coefficient,
Inverse scan processing for extracting the DC / AC difference coefficient related to the current block to be processed from the data string after performing variable length decoding on the encoded image signal, and the DC / AC difference coefficient of the current block Addition processing for restoring the quantized DC / AC coefficient by adding a DC / AC prediction coefficient corresponding to a prediction direction of DC / AC predictive coding, and the quantization DC / AC coefficient of the restored current block An inverse quantization unit that performs an inverse quantization process;
An inverse DC / AC prediction processing unit for determining the prediction direction required for the addition processing,
The inverse DC / AC prediction processing unit uses the quantized DC / AC coefficients restored by the inverse quantization unit related to the block before the current block, thereby performing the inverse scan process and the addition process related to the current block. In parallel with the execution of the inverse quantization process, the prediction direction determination process for the next block to be processed following the current block is executed.
Image decoding device.
前記量子化部は、
前記カレントブロックに関する前記DC/AC係数のうちの少なくともDC係数の加算処理の結果が前記次ブロックのDC予測係数とされる場合には、前記DC係数の加算処理の終了に応じて、前記逆DC/AC予測処理部に対して処理開始を指示し、
前記DC係数の加算処理の結果が前記次ブロックのDC予測係数として使用されない場合には、前記DC係数の加算処理の終了よりも前に前記逆DC/AC予測処理部に対して処理開始を指示する、
請求項1に記載の画像復号化装置。
The quantization unit is
When the result of the addition process of at least the DC coefficient of the DC / AC coefficients related to the current block is the DC prediction coefficient of the next block, the inverse DC is determined according to the end of the addition process of the DC coefficient. / Instruct the AC prediction processing unit to start processing,
When the result of the DC coefficient addition process is not used as the DC prediction coefficient of the next block, the inverse DC / AC prediction processing unit is instructed to start the process before the end of the DC coefficient addition process To
The image decoding apparatus according to claim 1.
前記逆量子化部は、前記逆スキャン処理、前記加算処理及び前記逆量子化処理を1ブロック毎にパイプライン処理する、請求項1又は2に記載の画像復号化装置。   The image decoding device according to claim 1, wherein the inverse quantization unit pipelines the inverse scan process, the addition process, and the inverse quantization process for each block. 前記逆DC/AC予測処理部は、前記DC/AC予測係数のスケーリング処理を行うとともに、スケーリング後の前記DC/AC予測係数を前記逆量子化部に供給し、
前記逆量子化部は、前記逆DC/AC予測処理部から供給されるスケーリング後の前記DC/AC予測係数を用いて前記加算処理を実行する、
請求項1乃至3のいずれか1項に記載の画像復号化装置。
The inverse DC / AC prediction processing unit performs scaling processing of the DC / AC prediction coefficient, and supplies the DC / AC prediction coefficient after scaling to the inverse quantization unit.
The inverse quantization unit performs the addition process using the scaled DC / AC prediction coefficient supplied from the inverse DC / AC prediction processing unit.
The image decoding device according to any one of claims 1 to 3.
直交変換、前記直交変換により得られるDC/AC係数の量子化、前記量子化により得られる量子化DC/AC係数のDC/AC予測符号化、及び前記DC/AC予測符号化により得られるDC/AC差分係数の可変長符号化によって圧縮符号化されている符号化画像信号に対する画像復号化方法であって、
前記符号化画像信号に対して可変長復号を行った後のデータ列から処理対象とするカレントブロックに関する前記DC/AC差分係数を取り出す逆スキャン処理、前記カレントブロックの前記DC/AC差分係数に前記DC/AC予測符号化の予測方向に対応したDC/AC予測係数を加算して前記量子化DC/AC係数を復元する加算処理、及び復元された前記カレントブロックの前記量子化DC/AC係数の逆量子化処理を実行する工程(a)と、
前記カレントブロック以前のブロックに関する前記量子化DC/AC係数を用いることにより、前記カレントブロックに関する前記逆スキャン処理、前記加算処理及び前記逆量子化処理の実行と時間的に並行して、前記カレントブロックに引き続いて処理すべき次ブロックに関する前記予測方向の決定処理を実行する工程(b)と、
を備える復号化方法。
Orthogonal transform, quantization of DC / AC coefficient obtained by the orthogonal transform, DC / AC predictive coding of the quantized DC / AC coefficient obtained by the quantization, and DC / obtained by the DC / AC predictive coding An image decoding method for an encoded image signal that is compression-encoded by variable-length encoding of an AC difference coefficient,
Inverse scan processing for extracting the DC / AC difference coefficient related to the current block to be processed from the data string after performing variable length decoding on the encoded image signal, and the DC / AC difference coefficient of the current block Addition processing for restoring the quantized DC / AC coefficient by adding a DC / AC prediction coefficient corresponding to a prediction direction of DC / AC predictive coding, and the quantization DC / AC coefficient of the restored current block A step (a) of performing an inverse quantization process;
By using the quantized DC / AC coefficients related to the block before the current block, the current block is executed in parallel with the execution of the inverse scan processing, the addition processing, and the inverse quantization processing regarding the current block. (B) executing the prediction direction determination process for the next block to be processed subsequent to
A decoding method comprising:
前記カレントブロックに関する前記DC/AC係数のうちの少なくともDC係数の加算処理の結果が前記次ブロックのDC予測係数とされる場合には、前記工程(a)における前記DC係数の加算処理の終了に応じて前記工程(b)の並行処理を開始し、
前記DC係数の加算処理の結果が前記次ブロックのDC予測係数として使用されない場合には、前記工程(a)における前記DC係数の加算処理の終了よりも前に前記工程(b)の並行処理を開始する、
請求項5に記載の画像復号化方法。
When the result of the addition process of at least the DC coefficient of the DC / AC coefficients related to the current block is the DC prediction coefficient of the next block, the addition process of the DC coefficient in the step (a) is completed. In response, the parallel processing of the step (b) is started,
When the result of the DC coefficient addition process is not used as the DC prediction coefficient of the next block, the parallel processing of the step (b) is performed before the end of the DC coefficient addition process in the step (a). Start,
The image decoding method according to claim 5.
JP2008054653A 2008-03-05 2008-03-05 Image decoding device and image decoding method Pending JP2009212900A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008054653A JP2009212900A (en) 2008-03-05 2008-03-05 Image decoding device and image decoding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008054653A JP2009212900A (en) 2008-03-05 2008-03-05 Image decoding device and image decoding method

Publications (1)

Publication Number Publication Date
JP2009212900A true JP2009212900A (en) 2009-09-17

Family

ID=41185611

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008054653A Pending JP2009212900A (en) 2008-03-05 2008-03-05 Image decoding device and image decoding method

Country Status (1)

Country Link
JP (1) JP2009212900A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101430049B1 (en) 2010-08-17 2014-08-14 엠앤케이홀딩스 주식회사 Apparatus for decoding a moving picture

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101430049B1 (en) 2010-08-17 2014-08-14 엠앤케이홀딩스 주식회사 Apparatus for decoding a moving picture
US9544611B2 (en) 2010-08-17 2017-01-10 M & K Holdings Inc. Apparatus for decoding moving picture

Similar Documents

Publication Publication Date Title
RU2736421C1 (en) Method of encoding and decoding images and encoding and decoding device
US9973756B2 (en) Video encoder and video encoding method
US9392278B2 (en) Image encoding or decoding apparatus, system, method, and storage medium for encoding or decoding a plurality of images in parallel
JP2008182527A (en) Image coding device and method, and imaging system
JP6077811B2 (en) Image coding apparatus, image coding method, and program
JP4922101B2 (en) Information processing apparatus and inter prediction mode determination method
JP2010183162A (en) Motion picture encoder
EP2595384A1 (en) Image processing device, image processing method, and program
JP2008271127A (en) Coding apparatus
JPWO2008136164A1 (en) Decoding circuit, decoding method, and image reproducing apparatus
JP2011082629A (en) Image coding method, image decoding method, image coding apparatus, image decoding apparatus, and program
JP5694674B2 (en) Image coding apparatus, image coding / decoding system, image coding method, and image display method
JP2010166533A (en) Coding apparatus and control method thereof, and computer program
JP2009212900A (en) Image decoding device and image decoding method
JP5832263B2 (en) Image coding apparatus and image coding method
JP2007266679A (en) Moving picture encoder
CN104244005B (en) Image processing apparatus, image processing method and imaging device
JP2007266861A (en) Image encoding device
JP2007208802A (en) Image encoding apparatus and image encoding method
RU2782400C2 (en) Method of encoding and decoding images, device for encoding and decoding and corresponding software
JP5235818B2 (en) Moving picture coding apparatus, moving picture coding apparatus control method, and program
JP6867763B2 (en) Encoding device and program
JP2012049753A (en) Video compression apparatus, video compression method and program
JP2013017085A (en) Image encoder and image encoding method
JP2006324905A (en) Image coding method and image processing apparatus