JP2022500966A - Efficient coding of conversion factors used or suitable for combination with dependent scalar quantization - Google Patents

Efficient coding of conversion factors used or suitable for combination with dependent scalar quantization Download PDF

Info

Publication number
JP2022500966A
JP2022500966A JP2021516639A JP2021516639A JP2022500966A JP 2022500966 A JP2022500966 A JP 2022500966A JP 2021516639 A JP2021516639 A JP 2021516639A JP 2021516639 A JP2021516639 A JP 2021516639A JP 2022500966 A JP2022500966 A JP 2022500966A
Authority
JP
Japan
Prior art keywords
flag
conversion factor
predetermined
conversion
value
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
JP2021516639A
Other languages
Japanese (ja)
Inventor
ハイコ シュヴァルツ
トーマス ウィーガント
ファン ホアン トゥン グエン
デトレフ マルペ
Original Assignee
フラウンホッファー−ゲゼルシャフト ツァ フェルダールング デァ アンゲヴァンテン フォアシュンク エー.ファオ
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 フラウンホッファー−ゲゼルシャフト ツァ フェルダールング デァ アンゲヴァンテン フォアシュンク エー.ファオ filed Critical フラウンホッファー−ゲゼルシャフト ツァ フェルダールング デァ アンゲヴァンテン フォアシュンク エー.ファオ
Publication of JP2022500966A publication Critical patent/JP2022500966A/en
Priority to JP2023105222A priority Critical patent/JP2023123702A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/13Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/129Scanning of coding units, e.g. zig-zag scan of transform coefficients or flexible macroblock ordering [FMO]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/136Incoming video signal characteristics or properties
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/18Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a set of transform coefficients
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/1887Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a variable length codeword
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/46Embedding additional information in the video signal during the compression process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/91Entropy coding, e.g. variable length coding [VLC] or arithmetic coding

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

従属量子化およびコンテキスト適応エントロピー符号化の使用による変換ブロックの係数のより効率的な符号化を達成すること、または、従属量子化の使用がコンテキスト適応エントロピー符号化の使用と組み合わされても、より効率的な符号化を可能にするように変換ブロックの係数の符号化を達成する概念が提示される。【選択図】図7Achieving more efficient coding of the coefficients of the transform block by using dependent quantization and context-adaptive entropy coding, or even if the use of dependent quantization is combined with the use of context-adaptive entropy coding, more The concept of achieving the coding of the coefficients of the conversion block is presented so as to allow efficient coding. [Selection diagram] FIG. 7

Description

本願は、画像またはビデオを符号化するような変換係数レベルの符号化に関する。 The present application relates to conversion factor level coding such as encoding an image or video.

量子化パラメータを設定する際に、エンコーダは妥協しなければならない。量子化を粗くするとビットレートを下げるが、量子化歪みが大きくなり、量子化を細かくすると、歪みは小さくなるが、ビットレートを高める。利用可能な量子化レベルの所定のドメインに対して符号化効率を高めるという概念を手元に有することが好ましい。このような可能性の1つは、量子化が以前に量子化され符号化されたデータに依存して定常的に適応される従属量子化の使用である。しかしながら、量子化における依存性は符号化の複雑さの増大のような問題も生じ、依存性が量子化され符号化されるデータ項目の間の相互関係に影響を与え、そして、個々のシンタックス要素を符号化するためのコンテキスト導出についての情報の利用可能性に影響を与えるように、コンテキストモデリングを実行するために低減された情報を蓄積する。 Encoders must compromise when setting the quantization parameters. If the quantization is coarse, the bit rate is lowered, but the quantization distortion is large, and if the quantization is fine, the distortion is small, but the bit rate is increased. It is preferable to have the concept of increasing coding efficiency for a given domain of available quantization level. One such possibility is the use of dependent quantization, where the quantization is constantly adapted depending on the previously quantized and encoded data. However, dependencies in quantization also create problems such as increased coding complexity, which affect the interrelationships between the data items that are quantized and encoded, and the individual syntax. Accumulate reduced information to perform context modeling so as to affect the availability of information about context derivation for encoding elements.

従属量子化およびコンテキスト適応エントロピー符号化の使用による変換ブロックの係数のより効率的な符号化を達成する、または、従属量子化の使用がコンテキスト適応エントロピー符号化の使用と組み合わされても、より効率的な符号化を可能にするように変換ブロックの係数の符号化を達成する概念を有することが好ましい。 Achieve more efficient coding of transform block coefficients by using dependent quantization and context-adaptive entropy coding, or even more efficient when the use of dependent quantization is combined with the use of context-adaptive entropy coding. It is preferable to have the concept of achieving the coding of the coefficients of the conversion block so as to enable the coding.

本発明の目的は、変換係数のブロックを符号化するためのこのような概念を提供することである。 It is an object of the present invention to provide such a concept for encoding a block of conversion coefficients.

この目的は、本願の独立請求項の主題によって達成される。 This object is achieved by the subject matter of the independent claims of the present application.

有利な態様は、従属請求項の主題である。本願の好ましい実施形態は、以下の図面を参照して説明される。 An advantageous embodiment is the subject of the dependent claim. Preferred embodiments of the present application will be described with reference to the following drawings.

図1は、以下に説明される実施形態のいずれかに従って動作するため、または、本明細書に記載の実施形態に係る機能性を組み込むために具体化されてもよい、画像エンコーダの例としての典型的なビデオエンコーダのブロック図を示す。FIG. 1 is an example of an image encoder that may be embodied in order to operate according to any of the embodiments described below or to incorporate functionality according to the embodiments described herein. A block diagram of a typical video encoder is shown. 図2は、ブロックベースの変換符号化の基本的なアプローチを示す(a)変換エンコーダおよび(b)変換デコーダのブロック図を示す。FIG. 2 shows a block diagram of (a) a conversion encoder and (b) a conversion decoder showing a basic approach to block-based transform coding. 図3は、一様再構成量子化器を示す分布のヒストグラムを示す。FIG. 3 shows a histogram of the distribution showing a uniformly reconstructed quantizer. 図4は、(a)サブブロックに再分割された変換ブロック、および、(b)変換係数レベルのスキャンのための例を説明するためのサブブロックの概略図を示し、ここで、典型的に、H.265| MPEG−H HEVCで使用され;特に、(a)は16×16変換ブロックから4×4サブブロックへの分割およびサブブロックの符号化順序を示し、(b)は4×4サブブロック内の変換係数レベルの符号化順序を示す。典型的に、細分化は、それらのフラグおよび残余を復号する際の係数のパスおよびそれを逆量子化する際の状態遷移に本願の実施形態において使用されてもよい。FIG. 4 shows a schematic diagram of (a) a conversion block subdivided into subblocks and (b) a subblock to illustrate an example for scanning conversion factor levels, where typically. , H. 265 | Used in MPEG-H HEVC; in particular, (a) indicates the division from the 16x16 conversion block into 4x4 subblocks and the coding order of the subblocks, and (b) is within the 4x4 subblocks. The coding order of the conversion coefficient level of is shown. Typically, subdivisions may be used in embodiments of the present application for the path of coefficients in decoding their flags and residues and the state transitions in dequantizing them. 図5は、変換係数ごとの1つの軸によって広げられた多次元出力スペース及び2つの変換係数の単純なケースのために許容可能な再構成ベクトルの位置の概略図を示す:(a)独立スカラー量子化、(b)従属スカラー量子化の例。FIG. 5 shows a schematic representation of the multidimensional output space expanded by one axis for each conversion factor and the position of the reconstruction vector acceptable for the simple case of the two conversion factors: (a) Independent scalar. Quantization, (b) Examples of dependent scalar quantization. 図6は、従属スカラー量子化を使用する変換デコーダのブロック図を示し、それによって、本願に係るメディアデコーダの実施形態を形成する。従来の変換符号化(独立スカラー量子化器を用いる)に対する修正は、図2bと比較することによって導き出すことができる。同様に、従属スカラー量子化を使用して変換ブロックを符号化するための実施形態は図2aのようなエンコーダを修正することによって得ることができる。FIG. 6 shows a block diagram of a conversion decoder using dependent scalar quantization, thereby forming an embodiment of the media decoder according to the present application. Modifications to conventional transform coding (using an independent scalar quantizer) can be derived by comparison with FIG. 2b. Similarly, embodiments for encoding transformation blocks using dependent scalar quantization can be obtained by modifying the encoder as in FIG. 2a. 図7は、単一の量子化ステップサイズΔによって完全に決定される2セットの再構成レベルの従属量子化の実施形態を示す概略図であり、2つの利用可能な再構成レベルのセットは、セット0(上線)とセット1(下線)とで強調表示される。セット内の再構成レベルを示す量子化インデックスの例は、円の下の数によって与えられる。中空円および中が塗りつぶされた円は再構成レベルのセット内の2つの異なるサブセットを示す;サブセットは再構成順序における次の変換係数についての再構成レベルのセットを決定するために使用されてもよい。両方のセットはゼロに等しい再構成レベルを含むが、そうでない場合、互いに素である;両方のセットはゼロを中心に対称である。FIG. 7 is a schematic diagram showing an embodiment of two sets of reconstruction level dependent quantizations that are completely determined by a single quantization step size Δ, and the two sets of available reconstruction levels are It is highlighted in set 0 (overline) and set 1 (underline). An example of a quantization index showing the reconstruction level in a set is given by the number below the circle. Hollow circles and filled circles indicate two different subsets within the set of reconstruction levels; even if the subsets are used to determine the set of reconstruction levels for the next conversion factor in the reconstruction order. good. Both sets contain reconstruction levels equal to zero, but are otherwise relatively prime; both sets are symmetric about zero. 図8は、変換係数の再構成プロセスの例を例示する擬似コードを示す。kは現在の変換係数の再構成順序を特定するインデックスを示し、現在の変換係数についての量子化インデックスはlevel[k]によって示され、現在の変換係数に適用する量子化ステップサイズΔkはquant_step_size[k]によって示され、trec[k]は再構成された変換係数t´k の値を表す。変数setId[k]は、現在の変換係数に適用する再構成レベルのセットを特定する。それは、再構成順序で先の変換係数に基づいて決定され;setId[k]の考えられる値は0と1である。変数nは、量子化ステップサイズの整数係数を特定する;それは、再構成レベルの選択されたセット(すなわち、setId[k]の値)、および、送信された量子化インデックスlevel[k]によって与えられる。FIG. 8 shows a pseudo code exemplifying an example of the conversion factor reconstruction process. k represents an index to identify a reconstruction order of the current transform coefficients, the quantization indices for the current transform coefficients indicated by the level [k], the quantization step size delta k to apply to the current transform coefficients quant_step_size indicated by [k], trec [k] represents the value of the transform coefficients t'k reconstructed. The variable setId [k] specifies the set of reconstruction levels to apply to the current conversion factor. It is determined in the reconstruction order based on the previous conversion factors; the possible values of setId [k] are 0 and 1. The variable n identifies an integer factor of the quantization step size; it is given by a selected set of reconstruction levels (ie, the value of setId [k]) and the transmitted quantization index level [k]. Be done. 図9は、図8の中の擬似コードの別の実装を例示する擬似コードを示す。主要な変更は、量子化ステップとの乗算が、スケールおよびシフトパラメータを使用する整数実装を使用して表現されることである。典型的には、シフトパラメータ(shiftによって表される)は変換ブロックに対して一定であり、スケールパラメータ(scale[k]によって与えられる)だけが変換係数の位置に依存してもよい。変数addは丸め処理オフセットを表し、それは典型的に、add = (1<<(shift−1))に等しく設定される。Δkは変換係数についての名目上の量子化ステップであり、パラメータshiftおよびscale[k]はΔk≒scale[k]・2-shiftを有するように選択される。FIG. 9 shows a pseudo code exemplifying another implementation of the pseudo code in FIG. The main change is that multiplication with the quantization step is represented using an integer implementation that uses scale and shift parameters. Typically, the shift parameter (represented by shift) is constant for the conversion block and only the scale parameter (given by scale [k]) may depend on the position of the conversion factor. The variable add represents the rounding offset, which is typically set equal to add = (1 << (shift-1)). Δ k is the nominal quantization step for the conversion factor, and the parameters shift and scale [k] are selected to have Δ k ≈ scale [k] · 2- shift. 図10は、変換ブロックについての変換係数の再構成プロセスの例を示す擬似コードを示す。配列levelは変換ブロックに対して送信される変換係数レベル(量子化インデックス)を表し、配列trecは対応する再構成された変換係数を表す。二次元の表 state_trans_tableは状態遷移表を特定し、表setldは状態と関連付けられる量子化セットを特定する。FIG. 10 shows a pseudo code showing an example of a conversion factor reconstruction process for a conversion block. The array level represents the conversion factor level (quantization index) sent to the conversion block, and the array trec represents the corresponding reconstructed conversion factor. The two-dimensional table state_trans_table identifies the state transition table, and the table setld identifies the quantization set associated with the state. 図11は、トレリス構造としての従属スカラー量子化における状態遷移を示す概略図を示す。水平位置の存在は、再構成順序の異なる変換係数を表す。垂直軸は、従属量子化および再構成プロセスにおける異なる可能な状態を表す。示される接続は、異なる変換係数に対する状態の間で利用可能なパスを特定する。FIG. 11 shows a schematic diagram showing state transitions in dependent scalar quantization as a trellis structure. The presence of a horizontal position represents a conversion factor with a different reconstruction order. The vertical axis represents different possible states in the dependent quantization and reconstruction process. The connections shown identify the paths available between the states for different conversion factors. 図12aは、その位置が埋め戻し(back filling)によって示される符号化順序における第1の非ゼロ量子化インデックスの位置のシグナリングの例示のための変換ブロックの概略図を示す。第1の非ゼロ変換係数の位置に加えて、陰影が付けられた係数に対するビンのみが送信され、白くマークされた係数は0に等しいと推定される。FIG. 12a shows a schematic diagram of a conversion block for exemplifying the signaling of the position of the first non-zero quantized index in the coding sequence whose position is indicated by back filling. In addition to the position of the first nonzero conversion factor, only bins for the shaded coefficients are sent and the white marked coefficients are estimated to be equal to zero. 図12bは、変換ブロックの概略図を示し、確率モデルを選択するために使用されるテンプレートを示す。黒色の正方形は現在のスキャン位置を特定し、陰影が付けられた正方形はコンテキストモデルを導出するために使用される局所近傍を表す。FIG. 12b shows a schematic of the transformation block and shows a template used to select a probabilistic model. The black squares identify the current scan location and the shaded squares represent the local neighborhood used to derive the context model. 図13−1は、変換係数ブロックを符号化する第1の実施形態による擬似コードを示す。FIG. 13-1 shows a pseudo code according to the first embodiment that encodes the conversion factor block. 図13−2は、変換係数ブロックを符号化する第1の実施形態による擬似コードを示す。FIG. 13-2 shows the pseudo code according to the first embodiment that encodes the conversion factor block. 図14は、量子化インデックスの値ドメインを再帰的に二分割することによる図13の実施形態に従う変換係数の量子化インデックスの表現を示す概略図である。FIG. 14 is a schematic diagram showing the representation of the quantized index of the conversion factor according to the embodiment of FIG. 13 by recursively dividing the value domain of the quantized index into two. 図15は、図13の復号例における様々なパスを示す概略図であり、どのように変換係数をトラバースし、どのフラグまたは残余が図13の例に従うパスで符号化されるかについて示す。FIG. 15 is a schematic diagram showing the various paths in the decoding example of FIG. 13 showing how the conversion coefficients are traversed and which flags or residues are encoded by the paths according to the example of FIG. 図16−1は、変換係数ブロックを符号化するための第2の実施形態を説明するための擬似コードを示す。FIG. 16-1 shows a pseudo code for explaining a second embodiment for encoding a conversion factor block. 図16−2は、変換係数ブロックを符号化するための第2の実施形態を説明するための擬似コードを示す。FIG. 16-2 shows a pseudo code for explaining a second embodiment for encoding a conversion factor block. 図17は、図16の実施形態に従う係数の量子化インデックスの表現を示す概略図である。FIG. 17 is a schematic diagram showing the representation of the quantized index of coefficients according to the embodiment of FIG. 図18−1は、変換係数ブロックを符号化するための第3の実施形態を示す擬似コードを示す。FIG. 18-1 shows a pseudo code showing a third embodiment for encoding a conversion factor block. 図18−2は、変換係数ブロックを符号化するための第3の実施形態を示す擬似コードを示す。FIG. 18-2 shows a pseudo code showing a third embodiment for encoding a conversion factor block. 図19−1は、変換係数ブロックを符号化するための第4の実施形態を示す擬似コードを示す。FIG. 19-1 shows a pseudo code showing a fourth embodiment for encoding a conversion factor block. 図19−2は、変換係数ブロックを符号化するための第4の実施形態を示す擬似コードを示す。FIG. 19-2 shows a pseudo code showing a fourth embodiment for encoding a conversion factor block.

以下に説明する実施の形態に従って、変換符号化は、サンプルのセットを変換するために使用される。従属量子化は結果として生じる変換係数を量子化するために使用され、得られた量子化インデックスのエントロピー符号化、すなわちコンテキスト適応算術符号化が行われる。デコーダ側で、再構成されたサンプルのセットは、量子化インデックスおよび変換係数の従属した再構成の復号に対応することによって得られ、逆変換はサンプルを生じる。サンプルは画像またはビデオの一部とすることができ、特定の画像ブロックを記述することができる。もちろん、他の可能性も同様に存在する。以下の実施形態の説明は、主に、イメージおよびビデオコーデックにおける予測誤差サンプルのブロックのロッシー符号化を対象としているが、実施形態はロッシー符号化の他の領域に適用することもできる。特に、矩形ブロックを形成するサンプルのセットに対する制限は存在せず、予測誤差サンプル(すなわち、オリジナルと予測信号との間の差)を表すサンプルのセットにも制限はない。 According to the embodiments described below, transform coding is used to transform a set of samples. Dependent quantization is used to quantize the resulting transformation coefficients, with entropy coding, or context-adaptive arithmetic coding, of the resulting quantization index. On the decoder side, the set of reconstructed samples is obtained by corresponding to the decoding of the quantized index and the dependent reconstruction of the transformation coefficients, and the inverse transformation yields the samples. The sample can be part of an image or video and can describe a particular image block. Of course, there are other possibilities as well. The following embodiments are primarily directed to Rossy coding of blocks of prediction error samples in image and video codecs, but embodiments can also be applied to other areas of Rossy coding. In particular, there are no restrictions on the set of samples that form the rectangular block, and there are no restrictions on the set of samples that represent the prediction error sample (ie, the difference between the original and the prediction signal).

すべての最新のビデオコーデック、例えば、国際的なビデオ符号化規格、H.264|MPEG−4 AVC および H.265|MPEG−H HEVCなどは、ハイブリッドビデオ符号化の基本的なアプローチに従う。ビデオ画像はブロックに分割され、ブロックのサンプルはイントラピクチャ予測またはインター予測を使用して予測され、結果として生じる予測誤差信号(オリジナルのサンプルと予測信号のサンプルとの差)は、変換符号化を使用して符号化される。 All modern video codecs, such as international video coding standards, H.D. 264 | MPEG-4 AVC and H.M. 265 | MPEG-H HEVC and the like follow the basic approach of hybrid video coding. The video image is divided into blocks, the block samples are predicted using intra-picture prediction or inter-prediction, and the resulting prediction error signal (the difference between the original sample and the prediction signal sample) is transform-coded. Encoded using.

図1は、典型的な最新のビデオエンコーダの単純化されたブロック図を示す。ビデオシーケンスのビデオ画像は、符号化順序と呼ばれる、特定の順序で符号化される。画像の符号化順序は、キャプチャおよび表示順序とは異なる場合がある。実際の符号化のために、それぞれのビデオ画像はブロックに分割される。ブロックは、特定の色彩構成要素の矩形領域のサンプルを含む。同じ矩形領域に対応するすべての色彩構成要素のブロックの実体(エンティティ)は、しばしば、ユニットと呼ばれる。H.265|MPEG−H HEVCで、ブロック分割の目的に依存して、それは符号化ツリーブロック(CTB)、符号化ブロック(CB)、予測ブロック(PB)および変換ブロック(TB)の間で区別される。関連するユニットは、符号化ツリーユニット(CTU)、符号化ユニット(CU)、予測ユニット(PU)、および変換ユニット(TU)と呼ばれる。 FIG. 1 shows a simplified block diagram of a typical modern video encoder. The video images in a video sequence are encoded in a particular order, called the coding order. The coding order of the images may differ from the capture and display order. For actual coding, each video image is divided into blocks. The block contains a sample of the rectangular area of a particular color component. The entity of a block of all color components corresponding to the same rectangular area is often referred to as a unit. H. 265 | In MPEG-H HEVC, depending on the purpose of block division, it is distinguished between coded tree block (CTB), coded block (CB), predictive block (PB) and conversion block (TB). .. The related units are referred to as a coding tree unit (CTU), a coding unit (CU), a prediction unit (PU), and a conversion unit (TU).

典型的には、ビデオ画像は、最初に、固定サイズのユニット(すなわち、すべての色彩構成要素のために整列された固定サイズのブロック)に分割される。H.265|MPEG−H HEVCにおいて、これらの固定サイズのユニットは、符号化ツリーユニット(CTU)と呼ばれる。各CTUは、さらに、複数の符号化ユニット(CU)に分割されてもよい。符号化ユニットは、符号化モード(例えば、イントラまたはインターピクチャ符号化)が選択されるエンティティである。H.265|MPEG−H HEVCにおいて、1つ以上のCUへのCTUの分解は、四分木(QT)シンタックスによって特定され、ビットストリームの一部として送信される。CTUのCUは、いわゆるzスキャン順序で処理される。すなわち、分割の結果生じる4つのブロックは、ラスタスキャン順序で処理され、ブロックのいずれかがさらに分割される場合には、より高い分割レベルの次のブロックが処理される前に、対応する4つのブロック(含まれるより小さいブロックを含む)が処理される。 Typically, the video image is first divided into fixed size units (ie, fixed size blocks aligned for all color components). H. 265 | In MPEG-H HEVC, these fixed size units are called Coded Tree Units (CTUs). Each CTU may be further divided into a plurality of coding units (CUs). A coding unit is an entity for which a coding mode (eg, intra- or inter-picture coding) is selected. H. 265 | In MPEG-H HEVC, the decomposition of CTU into one or more CUs is identified by a quadtree (QT) syntax and transmitted as part of a bitstream. The CU of the CTU is processed in the so-called z-scan order. That is, the four blocks resulting from the split are processed in raster scan order, and if any of the blocks are further split, the corresponding four blocks are processed before the next block at the higher split level is processed. Blocks (including smaller blocks included) are processed.

CUがイントラ符号化モードで符号化される場合には、輝度信号についてのイントラ予測モード、および、ビデオ信号が色差構成要素を含む場合には、色差信号についての別のイントラ予測モードが送信される。ITU−T H.265|MPEG−H HEVCにおいて、CUサイズが(シーケンスパラメータセットでシグナリングされるように)最小のCUサイズに等しい場合、輝度ブロックは4つの等しいサイズのブロックに分割されうり、その場合、これらのブロックの各々について、別個の輝度イントラ予測モードが送信される。実際のイントラ予測および符号化は、変換ブロックに基づいて行われる。イントラピクチャ符号化CUの各変換ブロックについて、予測信号は同じ色彩構成要素の既に再構成されたサンプルを使用して導出される。変換ブロックについての予測信号を生成するために使用されるアルゴリズムは、送信されたイントラ予測モードによって決定される。 If the CU is encoded in the intra-encoding mode, an intra-prediction mode for the luminance signal and, if the video signal contains color-difference components, another intra-prediction mode for the color-difference signal is transmitted. .. ITU-T H. 265 | In MPEG-H HEVC, if the CU size is equal to the minimum CU size (as signaled by the sequence parameter set), the luminance block is divided into four equally sized blocks, in which case these blocks. A separate luminance intra-prediction mode is transmitted for each of the above. The actual intra-prediction and coding is based on the conversion block. For each transform block of the intra-picture coding CU, the prediction signal is derived using an already reconstructed sample of the same color component. The algorithm used to generate the prediction signal for the conversion block is determined by the transmitted intra prediction mode.

インターピクチャ符号化モードで符号化されるCUは、さらに、複数の予測ユニット(PU)に分割されてもよい。予測ユニットは輝度と、カラービデオの場合、2つの関連する色差ブロック(同じピクチャ領域をカバーする)とのエンティティであり、予測パラメータの単一のセットが使用される。CUを単一の予測ユニットとして符号化されてもよく、もしくは、2つの非正方形(対称および非対称分割がサポートされる)または4つの正方形の予測ユニットに分割されてもよい。各PUについて、動きパラメータの個々のセットが送信される。各セットの動きパラメータは、動き仮説の数(H.265|MPEG−H HEVCでは、1つまたは2つ)と、各動き仮説について、参照ピクチャ(参照ピクチャインデックスを介して参照ピクチャのリストに示される)と関連する動きベクトルとを含む。さらに、H.265|MPEG−H HEVCはいわゆるマージモードを提供し、動きパラメータが明示的に送信されず、空間的または時間的に近傍のブロックの動きパラメータに基づいて導出される。CUまたはPUがマージモードで符号化される場合、動きパラメータ候補のリスト(このリストは空間的および時間的に近傍のブロックの動きデータを使用して導出される)のインデックスのみが送信される。インデックスは、使用される動きパラメータのセットを完全に決定する。インター符号化PUについての予測信号は、動き補償予測によって形成される。各動き仮説(参照ピクチャおよび動きベクトルによって特定される)に対して、予測信号は特定された参照ピクチャ内の変位されたブロックによって形成され、現在のPUに対する変位は、動きベクトルによって特定される。変位は、典型的には、サブサンプル精度(H.265|MPEG−H HEVCでは、動きベクトルは4分の1の輝度サンプルの精度を有する)で特定される。非整数動きベクトルの場合、再構成された参照ピクチャを挿入することによって(典型的には、分離可能なFIRフィルタを使用する)予測信号が生成される。多くの仮説予測を有するPUの最終予測信号は、個々の動き仮説について、予測信号の重み付けされた和によって形成される。典型的には、同じセットの動きパラメータが、PUの輝度および色差ブロックのために使用される。最新のビデオ符号化規格が参照ピクチャに対する現在の領域(サンプルのブロック)の動きを特定するために並進変位ベクトルを使用しても、高次の動きモデル(例えば、アフィン動きモデル)を用いることも可能である。その場合、追加の動きパラメータが動き仮説のために送信されなければならない。 The CU encoded in the interpicture coding mode may be further divided into a plurality of prediction units (PUs). The prediction unit is an entity of luminance and, in the case of color video, two related color difference blocks (covering the same picture area), and a single set of prediction parameters is used. The CU may be encoded as a single prediction unit, or it may be divided into two non-square (symmetrical and asymmetric divisions are supported) or four square prediction units. For each PU, an individual set of motion parameters is transmitted. The motion parameters for each set are the number of motion hypotheses (1 or 2 in H.265 | MPEG-H HEVC) and for each motion hypothesis shown in the list of reference pictures via the reference picture index. Includes) and associated motion vectors. Furthermore, H. 265 | MPEG-H HEVC provides a so-called merge mode in which motion parameters are not explicitly transmitted and are derived based on the motion parameters of spatially or temporally neighboring blocks. When the CU or PU is encoded in merge mode, only the index of the list of motion parameter candidates (this list is derived using motion data of spatially and temporally neighboring blocks) is transmitted. The index completely determines the set of motion parameters used. The prediction signal for the intercoded PU is formed by motion compensation prediction. For each motion hypothesis (specified by the reference picture and motion vector), the prediction signal is formed by the displaced blocks in the identified reference picture, and the displacement with respect to the current PU is specified by the motion vector. Displacement is typically specified by subsample accuracy (in H.265 | MPEG-H HEVC, the motion vector has a quarter luminance sample accuracy). For non-integer motion vectors, inserting a reconstructed reference picture (typically using a separable FIR filter) produces a predictive signal. The final prediction signal of the PU with many hypothesis predictions is formed by the weighted sum of the prediction signals for each motion hypothesis. Typically, the same set of motion parameters is used for the luminance and color difference blocks of the PU. High-order motion models (eg, affine motion models) can be used, even though modern video coding standards use translational displacement vectors to identify the motion of the current region (sample block) with respect to the reference picture. It is possible. In that case, additional motion parameters must be sent for the motion hypothesis.

イントラピクチャおよびインターピクチャ符号化CUの両方について、予測誤差信号(残差信号とも呼ばれる)は、典型的には、変換符号化を介して送信される。H.265|MPEG−H HEVCでは、CUの輝度残差サンプルのブロックならびに色差残差サンプルのブロック(存在する場合)は、変換ブロック(TB)に分割される。変換ブロックへのCUの分割は四分木シンタックスによって示され、残差四分木(RQT)とも呼ばれる。結果として生じる変換ブロックは変換符号化を使用して符号化される:2d変換が残差サンプルのブロックに適用され、結果として生じる変換係数は独立スカラー量子化を使用して量子化され、結果として生じる変換係数レベル(量子化インデックス)はエントロピー符号化される。PおよびBスライスでは、CUシンタックスの開始時に、skip_flagが送信される。このフラグが1に等しい場合、対応するCUはマージモード(すなわち、merge_flagが1に等しいと推定される)で符号化された単一の予測ユニットから成ることを示し、すべての変換係数が0に等しい(すなわち、再構成信号が予測信号に等しい)ことを示す。その場合、merge_idxのみがskip_flagに加えて送信される。skip_flagが0に等しい場合、予測モード(インターまたはイントラ)がシグナリングされ、上述のシンタックスの特徴が続く。 For both intra-picture and inter-picture coding CU, the prediction error signal (also called the residual signal) is typically transmitted via transform coding. H. In 265 | MPEG-H HEVC, the block of luminance residual sample of CU and the block of color difference residual sample (if any) are divided into conversion blocks (TB). The division of the CU into conversion blocks is indicated by the quadtree syntax and is also called the residual quadtree (RQT). The resulting transform block is coded using transform coding: a 2d transform is applied to the block of residual samples and the resulting transform coefficients are quantized using independent scalar quantization, resulting in The resulting transform coefficient level (quantization index) is entropy-coded. For P and B slices, skip_flag is transmitted at the start of the CU syntax. If this flag is equal to 1, the corresponding CU indicates that it consists of a single prediction unit encoded in merge mode (ie, merge_flag is estimated to be equal to 1) and all conversion factors are 0. Indicates equality (ie, the reconstruction signal is equal to the prediction signal). In that case, only merge_idx is transmitted in addition to skip_flag. If skip_flag is equal to 0, the predictive mode (inter or intra) is signaled, followed by the syntactic features described above.

既に符号化されたピクチャは、後続のピクチャにおけるブロックの動き補償予測のために使用されてもよいので、ピクチャはエンコーダにおいて完全に再構成されなければならない。ブロックの再構成された予測誤差信号(量子化インデックスを与えられた変換係数を再構成することおよび逆変換によって得られる)は対応する予測信号に加えられ、その結果が現在のピクチャについてのバッファに書き込まれる。ピクチャのすべてのブロックが再構成された後、1つ以上のループ内フィルタを適用することができる(例えば、デブロッキングフィルタおよびサンプル適応オフセットフィルタ)。その後、最終的な再構成されたピクチャは、復号されたピクチャバッファに格納される。 The picture must be completely reconstructed in the encoder, as the already encoded picture may be used for motion compensation prediction of the block in subsequent pictures. The reconstructed prediction error signal of the block (obtained by reconstructing the conversion factor given the quantization index and inverse transformation) is added to the corresponding prediction signal and the result is buffered for the current picture. Written. After all blocks of the picture have been reconstructed, one or more in-loop filters can be applied (eg, deblocking filters and sample adaptive offset filters). The final reconstructed picture is then stored in the decoded picture buffer.

以下に説明する実施形態は、予測誤差に関するものなどの変換係数ブロックを符号化するための概念を提示する。概念は、イントラピクチャおよびインターピクチャ符号化ブロックの両方に適用可能である。また、非矩形のサンプル部の変換符号化にも適用可能である。従来の変換符号化とは対照的に、変換係数は独立して量子化されない。むしろ、それらは従属量子化を使用して量子化される。従属量子化によれば、特定の変換係数に対する利用可能な再構成レベルのセットが、他の変換係数に対して選択された量子化インデックスに依存する。 The embodiments described below present concepts for encoding conversion factor blocks, such as those relating to prediction error. The concept is applicable to both intra-picture and inter-picture coding blocks. It can also be applied to transform coding of a non-rectangular sample portion. In contrast to traditional transform coding, transform coefficients are not quantized independently. Rather, they are quantized using dependent quantization. According to dependent quantization, the set of reconstruction levels available for a particular transformation factor depends on the quantization index selected for the other transformation coefficients.

全ての主要なビデオ符号化規格(最新の規格H.265|MPEG−H HEVCを含む)は、予測誤差サンプルのブロックを符号化するための変換符号化の概念を利用する。ブロックの予測誤差サンプルは、ブロックについてのオリジナル信号のサンプルと予測信号のサンプルとの間の差を表す。予測信号は、イントラピクチャ予測によって(その場合には、現在のブロックについての予測信号のサンプルが同じピクチャ内の近傍のブロックの既に再構成されたサンプルに基づいて導出される)、または、インターピクチャ予測によって(その場合には、予測信号のサンプルが既に再構成されたピクチャのサンプルに基づいて導出される)得られる。オリジナルの予測誤差信号のサンプルは、現在のブロックについてのオリジナル信号のサンプル値から予測信号のサンプルの値を引き算することによって得られる。 All major video coding standards (including the latest standard H.265 | MPEG-H HEVC) utilize the concept of transform coding for coding blocks of prediction error samples. The block prediction error sample represents the difference between the original signal sample and the prediction signal sample for the block. The prediction signal can be derived by intra-picture prediction (in which case a sample prediction signal for the current block is derived based on an already reconstructed sample of neighboring blocks in the same picture) or interpicture. It is obtained by prediction (in which case a sample of the prediction signal is derived based on a sample of the already reconstructed picture). A sample of the original prediction error signal is obtained by subtracting the value of the sample of the prediction signal from the sample value of the original signal for the current block.

サンプルブロックの変換符号化は、線形変換、スカラー量子化および量子化インデックスのエントロピー符号化からなる。エンコーダ側で(図2aを参照)、オリジナルサンプルのN×Mブロックが線形分析変換Aを使用して変換される。その結果は変換係数のN×Mブロックである。変換係数tkは、異なる信号空間(または、異なる座標系)におけるオリジナルの予測誤差サンプルを表す。N×M変換係数は、N×M独立スカラー量子化器を使用して量子化される。各変換係数tkは量子化インデックスqkにマップされ、変換係数レベルとも呼ばれる。得られた量子化インデックスqkはエントロピー符号化され、ビットストリームに書き込まれる。 Transform coding of the sample block consists of linear transformation, scalar quantization and entropy coding of the quantization index. On the encoder side (see FIG. 2a), the N × M blocks of the original sample are transformed using the linear analytical transformation A. The result is an N × M block of conversion factors. The conversion factor t k represents the original prediction error sample in different signal spaces (or different coordinate systems). The NxM conversion factor is quantized using an NxM independent scalar quantizer. Each conversion factor t k is mapped to the quantization index q k and is also called the conversion factor level. The obtained quantization index q k is entropy-coded and written to a bitstream.

図2bに示されるデコーダ側では、変換係数レベルqkは受信されたビットストリームから復号される。各変換係数レベルqkは、再構成された変換係数t′kにマップされる。再構成されたサンプルのN×Mブロックは、線形合成変換Bを使用して再構成された変換係数のブロックを変換することによって得られる。 On the decoder side shown in FIG. 2b, the conversion factor level q k is decoded from the received bitstream. Each conversion factor level q k is mapped to the reconstructed conversion factor t ′ k. The N × M blocks of the reconstructed sample are obtained by transforming the blocks of the reconstructed transformation coefficients using the linear synthetic transformation B.

Figure 2022500966
Figure 2022500966

典型的な予測誤差信号の場合、信号エネルギーが少数の変換係数に集中するという効果を変換は有する。オリジナルの予測誤差サンプルと比較して、結果として生じる変換係数間の統計的依存性が低減される。 For a typical prediction error signal, the transformation has the effect that the signal energy is concentrated on a small number of conversion coefficients. Compared to the original prediction error sample, the resulting statistical dependence between conversion coefficients is reduced.

最新のビデオ符号化規格では、分離可能な離散コサイン変換(タイプII)またはその整数近似が使用される。しかし、変換は変換符号化システムの他の態様を変更することなく容易に置換し得る。文献又は標準文書に提案されてきた改善の例は、以下のものが含まれる。

●イントラピクチャ予測ブロック(場合によっては、イントラピクチャ予測モードおよび/またはブロックサイズに依存する)のための離散サイン変換(DST)の使用。なお、H.265|MPEG−H HEVCは、既にイントラピクチャ予測4×4変換ブロックのためのDSTを含むことに留意されたい。
●切り替え変換:エンコーダは予め定義された変換のセットのうち、実際に使用される変換を選択する。利用可能な変換のセットは、エンコーダとデコーダの両方で既知であり、利用可能な変換のリストにインデックスを使用して効率的にシグナリングし得る。利用可能な変換のセットおよびリストにおけるそれらの順序付けは、選択されたイントラ予測モードのような、ブロックに対する他の符号化パラメータに依存することができる。特別な場合、使用される変換はイントラ予測モードのようにパラメータを符号化することによって完全に決定されるので、変換を特定するシンタックス要素が送信される必要はない。
●非分離変換:エンコーダおよびデコーダにおいて使用される変換は、非分離変換を表す。切り替え変換の概念は、1つ以上の非分離変換を含んでもよいことに留意されたい。複雑な理由により、非分離変換の使用を特定のブロックサイズに制限することができる。
●マルチレベル変換:実際の変換は2つ以上の変換ステージから構成される。第1の変換ステージは、計算的に複雑さの低い分離可能な変換から構成することができる。そして、第2のステージでは、結果として生じる変換係数のサブセットが非分離変換を使用してさらに変換される。それは変換ブロック全体に対する非分離変換と比較して、より複雑な非分離変換がより少ない数のサンプルに適用されるという利点を2ステージアプローチは有する。マルチレベル変換の概念は、切り替え変換の概念と効率的に組み合わすことができる。
The latest video coding standards use the separable discrete cosine transform (Type II) or its integer approximation. However, the transformation can be easily replaced without changing other aspects of the transform coding system. Examples of improvements proposed in the literature or standard documentation include:

● Use of Discrete Cosine Transform (DST) for intra-picture prediction blocks (possibly dependent on intra-picture prediction mode and / or block size). In addition, H. Note that 265 | MPEG-H HEVC already contains DST for intra-picture prediction 4x4 conversion blocks.
● Switch conversion: The encoder selects the conversion that is actually used from the predefined set of conversions. The set of available conversions is known for both encoders and decoders and can be efficiently signaled using an index on the list of available conversions. Their ordering in the set and list of available transformations can depend on other coding parameters for the block, such as the selected intra-prediction mode. In special cases, the transformation used is completely determined by encoding the parameters as in intra-prediction mode, so there is no need to send a syntax element that identifies the transformation.
● Non-separable conversion: The conversion used in encoders and decoders represents non-separable conversion. Note that the concept of transition transformations may include one or more non-separable transformations. For complex reasons, the use of non-separable conversions can be limited to specific block sizes.
● Multi-level conversion: The actual conversion consists of two or more conversion stages. The first conversion stage can consist of separable transformations with low computational complexity. Then, in the second stage, a subset of the resulting transformation coefficients are further transformed using non-separable transformations. The two-stage approach has the advantage that more complex non-separable transformations are applied to a smaller number of samples compared to non-separable transformations for the entire transformation block. The concept of multi-level transformation can be efficiently combined with the concept of switching transformation.

変換係数はスカラー量子化器を使用して量子化される。量子化の結果として、変換係数の許容可能な値のセットが低減される。換言すれば、変換係数はいわゆる再構成レベルの加算可能なセット(実際には、有限のセット)にマップされる。再構成レベルのセットは、可能な変換係数値のセットの適切なサブセットを表す。以下のエントロピー符号化を単純化するために、許容可能な再構成レベルは量子化インデックス(変換係数レベルとも呼ばれる)によって表され、ビットストリームの一部として送信される。デコーダ側では、量子化インデックス(変換係数レベル)は再構成された変換係数にマップされる。再構成された変換係数の可能な値は、再構成レベルのセットに対応する。エンコーダ側では、スカラー量子化の結果は変換係数レベル(量子化インデックス)のブロックである。 The conversion factor is quantized using a scalar quantizer. As a result of the quantization, the set of acceptable values for the conversion coefficients is reduced. In other words, the conversion factors are mapped to so-called additable sets of reconstruction levels (actually, a finite set). The set of reconstruction levels represents the appropriate subset of the set of possible conversion coefficient values. To simplify the following entropy coding, the acceptable reconstruction level is represented by a quantization index (also called the conversion factor level) and is transmitted as part of the bitstream. On the decoder side, the quantized index (conversion factor level) is mapped to the reconstructed conversion factor. Possible values for the reconstructed conversion factor correspond to a set of reconstructed levels. On the encoder side, the result of scalar quantization is a block at the conversion factor level (quantization index).

Figure 2022500966
Figure 2022500966

この文脈では、用語“独立スカラー量子化”は、任意の変換係数についての量子化インデックスqが与えられる場合、関連する再構成された変換係数t’を他の変換係数についてのすべての量子化インデックスとは独立して決定することができるという特性を示す。 In this context, the term "independent scalar quantization" means that given a quantization index q for any conversion factor, the associated reconstructed conversion factor t'is all quantization indexes for other conversion coefficients. It shows the characteristic that it can be determined independently of.

Figure 2022500966
Figure 2022500966

H.262|MPEG−2ビデオのような古いビデオ符号化規格も、再構成レベル ゼロと最初の非ゼロ再構成レベルとの間の距離が公称量子化ステップサイズと比較して(例えば、公称量子化ステップサイズΔの2分の3まで)増加される修正されたURQを特定する。 H. 262 | Older video coding standards such as MPEG-2 video also have a distance between the reconstruction level zero and the first non-zero reconstruction level compared to the nominal quantization step size (eg, nominal quantization step). Identify modified URQs that are increased (up to three-half of size Δ).

Figure 2022500966
Figure 2022500966

スライスQPは、典型的には、スライスヘッダ内で送信される。一般に、ブロックに基づいて量子化パラメータQPを修正することが可能である。その目的のために、DQP(デルタ量子化パラメータ)を送信することができる。使用された量子化パラメータは、送信されたDQPおよび予測されたQP値によって決定され、既に符号化された(典型的には近傍の)ブロックのQPを使用して導出される。 The slice QP is typically transmitted within the slice header. In general, it is possible to modify the quantization parameter QP based on the block. A DQP (Delta Quantization Parameter) can be transmitted for that purpose. The quantization parameters used are determined by the transmitted DQP and the predicted QP value and are derived using the QP of the already encoded (typically nearby) block.

Figure 2022500966
Figure 2022500966

量子化重み行列の主要な目的は、知覚的に意味のある方法で量子化雑音を導入する可能性を提供することである。適切な重み行列を使用することによって、人間の視覚の空間コントラスト感度を利用し、ビットレートと主観的な再構成品質との間の良好なトレードオフを達成することができる。それにもかかわらず、多くのエンコーダは、いわゆるフラット量子化マトリックス(高レベルのシンタックス要素を使用して効率的に送信され得る)を使用する。この場合、同じ量子化ステップサイズΔがブロック内のすべての変換係数に対して使用される。したがって、量子化ステップサイズは、量子化パラメータQPによって完全に特定される。 The main purpose of the quantization weight matrix is to provide the possibility of introducing quantization noise in a perceptually meaningful way. By using the appropriate weighting matrix, the spatial contrast sensitivity of human vision can be utilized to achieve a good trade-off between bit rate and subjective reconstruction quality. Nevertheless, many encoders use so-called flat quantization matrices, which can be transmitted efficiently using high-level syntax elements. In this case, the same quantization step size Δ is used for all conversion coefficients in the block. Therefore, the quantization step size is completely specified by the quantization parameter QP.

変換係数レベル(変換係数についての量子化インデックス)のブロックは、エントロピー符号化される(すなわち、ビットストリームの一部として損失のない方法で送信される)。線形変換は線形依存性を減少させることしかできないので、変換係数レベルのエントロピー符号化は、典型的には、ブロック内の変換係数レベル間に残る非線形依存性を利用して効率的な符号化ができるように設計される。よく知られている例は、MPEG−2ビデオにおけるrun−level符号化、H.263およびMPEG−4映像におけるrun−level−last符号化、H.264|MPEG−4 AVCにおけるコンテキスト適応可変長符号化(CAVLC)ならびにH.264|MPEG−4 AVCおよびH.265|MPEG−H HEVCにおけるコンテキスト適応型バイナリ算術符号化(CABAC)である。 Blocks at the conversion factor level (quantization index for conversion factors) are entropy-coded (ie, transmitted in a lossless manner as part of the bitstream). Since linear transformations can only reduce linear dependencies, entropy coding at the transformation factor level typically takes advantage of the non-linear dependencies that remain between the transformation factor levels within the block for efficient coding. Designed to be able to. A well-known example is run-level coding in MPEG-2 video, H.M. Run-level-last coding in 263 and MPEG-4 video, H.M. 264 | Context Adaptable Variable Length Coding (CAVLC) in MPEG-4 AVC and H.M. 264 | MPEG-4 AVC and H.M. 265 | Context-adaptive binary arithmetic coding (CABAC) in MPEG-H HEVC.

最新のビデオ符号化規格H.265|MPEG−H HEVCで特定されたCABACは、多種多様な変換ブロックサイズに対して適用することができる一般的な概念に従う。4×4サンプルよりも大きい変換ブロックは4×4サブブロックに分割される。分割は、図4aおよびbに、16×16変換ブロックの例として示されている。図4aに示される4×4サブブロックの符号化順序、ならびに、図4bに示されるサブブロック内の変換係数レベルの符号化順序が、一般に、図に示される逆対角スキャンによって特定される。特定のイントラピクチャ予測ブロックについては、水平または垂直スキャンパターンが使用される(実際のイントラ予測モードに依存する)。符号化順序は常に高周波位置で開始する。 The latest video coding standard H. 265 | MPEG-H The CABAC specified by HEVC follows a general concept that can be applied to a wide variety of conversion block sizes. Conversion blocks larger than the 4x4 sample are divided into 4x4 subblocks. The splits are shown in FIGS. 4a and 4b as an example of a 16x16 conversion block. The coding order of the 4x4 subblocks shown in FIG. 4a, as well as the coding order of the conversion factor levels within the subblocks shown in FIG. 4b, is generally specified by the inverse diagonal scan shown in the figure. For certain intra-picture prediction blocks, a horizontal or vertical scan pattern is used (depending on the actual intra-prediction mode). The coding sequence always starts at the high frequency position.

H.265|MPEG−H HEVCでは、変換係数レベルは4×4サブブロックに基づいて送信される。変換係数レベルの損失のない符号化は、以下のステップを含む。

1.シンタックス要素coded_block_flagが送信され、変換ブロック内に非ゼロ変換係数レベルが存在するか否かをシグナリングする。coded_block_flagが0に等しい場合、さらなるデータは変換ブロックのために符号化されない。
2.符号化順序(例えば、図4に示されるブロック方向の逆対角スキャン順序)における最初の非ゼロ変換係数レベルのxおよびy座標が送信される。座標の送信は、プレフィックスおよびサフィックス部分に分割される。規格は、シンタックス要素last_sig_coeff_x_prefix、last_sig_coeff_y_prefix、last_sig_coeff_x_suffixおよびlast_sig_coeff_x_suffixを使用する。
3.符号化順序において最初の非ゼロ変換係数レベルを含む4×4サブブロックから開始して、4×4サブブロックは符号化順序で処理され、サブブロックの符号化は以下の主要なステップを含む:
a.シンタックス要素coded_sub_block_flagが送信され、これはサブブロックが非ゼロ変換係数レベルを含むか否かを示す。最初および最後の4×4サブブロック(すなわち、最初の非ゼロ変換係数レベルまたはDCレベルを含むサブブロック)の場合、このフラグは送信されず、1に等しいと推定される。
b.coded_sub_block_flagを有するサブブロック内のすべての変換係数レベルが1に等しい場合、シンタックス要素significant_coeff_flagは対応する変換係数レベルがゼロに等しくないか否かを示す。このフラグは、その値が既に送信されたデータに基づいて推定できない場合にのみ送信される。特に、このフラグは最初の有意なスキャン位置(送信されたxおよびy座標によって特定される)に対して送信されず、DC係数が(符号化順序において)最初の非ゼロ係数とは異なるサブブロックに位置し、最後のサブブロックに対するすべての他のsignificant_coeff_flagがゼロに等しい場合、DC係数に対して送信されない。
c.significant_coeff_flagを有する最初の8つの変換係数レベルが1に等しい場合(もしあれば)、フラグcoeff_abs_level_greater1_flagが送信される。それは、変換係数レベルの絶対値が1より大きいか否かを示す。
d.coeff_abs_level_greater1_flagを有する最初の変換係数が1に等しい場合(もしあれば)、フラグcoeff_abs_level_greater2_flagが送信される。それは、変換係数レベルの絶対値が2より大きいか否かを示す。
e.significant_coeff_flagを有するすべてのレベルが1に等しい場合(例外は以下に説明される)、シンタックス要素coeff_sign_flagが送信され、変換係数レベルの符号を特定する。
f.絶対値がsignificant_coeff_flag、coeff_abs_level_greater1_flagおよびcoeff_abs_level_greater2_flagの値によって既に完全に特定されていないすべての変換係数レベル(送信されたフラグのいずれかがゼロに等しい場合、絶対値が完全に特定される)について、絶対値の残余(remainder)がマルチレベルシンタックス要素coeff_abs_level_remainingを使用して送信される。
H. In 265 | MPEG-H HEVC, conversion factor levels are transmitted based on 4x4 subblocks. Lossless coding at the conversion factor level involves the following steps:

1. 1. The syntax element coded_block_flag is transmitted to signal whether a nonzero conversion factor level is present in the conversion block. If coded_block_flag is equal to 0, further data is not encoded due to the conversion block.
2. 2. The x and y coordinates of the first nonzero conversion factor level in the coding order (eg, the inverse diagonal scan order in the block direction shown in FIG. 4) are transmitted. The transmission of coordinates is divided into prefix and suffix parts. The standard uses the syntax elements last_sig_coeff_x_prefix, last_sig_coeff_y_prefix, last_sig_coeff_x_suffix and last_sig_coeff_x_suffix.
3. 3. Starting with the 4x4 subblock containing the first nonzero conversion factor level in the coding order, the 4x4 subblocks are processed in the coding order and the subblock coding involves the following major steps:
a. A syntax element coded_sub_block_flag is transmitted, which indicates whether the subblock contains a nonzero conversion factor level. For the first and last 4x4 subblocks (ie, the subblock containing the first nonzero conversion factor level or DC level), this flag is not transmitted and is estimated to be equal to 1.
b. If all conversion factor levels in a subblock with coded_sub_block_flag are equal to 1, the syntax element significant_coeff_flag indicates whether the corresponding conversion factor level is not equal to zero. This flag is only sent if its value cannot be estimated based on the data already sent. In particular, this flag is not sent for the first significant scan position (specified by the sent x and y coordinates), and the DC factor is a different subblock (in the coding order) than the first non-zero factor. If all other significant_coordinate_flags for the last subblock are equal to zero, then no transmission is made for the DC factor.
c. If the first eight conversion factor levels with significant_coeff_flag are equal to 1 (if any), the flag coeff_abs_level_greeter1_flag is transmitted. It indicates whether the absolute value of the conversion factor level is greater than 1.
d. If the first conversion factor with coeff_abs_level_greeter1_flag is equal to 1 (if any), the flag coeff_abs_level_greeter2_flag is transmitted. It indicates whether the absolute value of the conversion factor level is greater than 2.
e. If all levels with significant_coeff_flag are equal to 1 (exceptions are described below), the syntax element coeff_sign_flag is transmitted to identify the sign of the conversion factor level.
f. If the absolute value is equal to zero for all conversion factor levels that are not already fully specified by the values of significant_coeff_flag, coeff_abs_level_greeter1_flag and coeff_abs_level_greeter2_flag (specific for any of the transmitted flags), the absolute value is full. The remainder of is transmitted using the multi-level syntax element coeff_abs_level_remaining.

H.265|MPEG−H HEVCでは、すべてのシンタックス要素はコンテキスト適応型バイナリ算術符号化(CABAC)を使用して符号化される。すべての非バイナリシンタックス要素は、ビンとも呼ばれる一連のバイナリ決定に最初にマップされる。結果として生じるビンシーケンスは、バイナリ算術符号化を使用して符号化される。その目的のために、各ビンは、コンテキストとも呼ばれる確率モデル(バイナリ確率質量関数)に関連付けられる。ほとんどのビンについて、コンテキストは適応確率モデルを表し、これは関連するバイナリ確率質量関数が実際に符号化されたビンの値に基づいて更新されることを意味する。条件付きの確率は、既に送信されたデータに基づいて特定のビンのコンテキストを切り替えることによって利用され得る。CABACはいわゆるバイパスモードも含み、固定確率質量関数(0.5,0.5)が使用される。 H. 265 | In MPEG-H HEVC, all syntax elements are encoded using context-adaptive binary arithmetic coding (CABAC). All non-binary syntax elements are first mapped to a series of binary decisions, also known as bins. The resulting bin sequence is encoded using binary arithmetic coding. For that purpose, each bin is associated with a probability model (binary probability mass function), also known as the context. For most bins, the context represents an adaptive probability model, which means that the associated binary probability mass function is updated based on the actual encoded bin value. Conditional probabilities can be utilized by switching the context of a particular bin based on the data already sent. CABAC also includes a so-called bypass mode, in which a fixed probability mass function (0.5, 0.5) is used.

coded_sub_block_flagの符号化のために選択されるコンテキストは、既に符号化された近傍のサブブロックについてのcoded_sub_block_flagの値に依存する。significant_coeff_flagについてのコンテキストは、サブブロック内のスキャン位置(xおよびy座標)、変換ブロックのサイズおよび近傍のサブブロック内のcoded_sub_block_flagの値に基づいて選択される。フラグcoeff_abs_level_greater1_flagおよびcoeff_abs_level_greater2_flagについては、コンテキストの選択は、現在のサブブロックがDC係数を含むか否か、および1に等しいcoeff_abs_level_be_flagが近傍のサブブロックに送信されているか否かに依存する。coeff_abs_level_greater1_flagについては、サブブロックに対して既に符号化されたcoeff_abs_level_greater1_flagの数および値にさらに依存する。 The context chosen for coding coded_sub_block_flag depends on the value of coded_sub_block_flag for the already encoded neighborhood subblocks. The context for significant_coeff_flag is selected based on the scan position (x and y coordinates) in the subblock, the size of the transform block and the value of coded_sub_block_flag in the nearby subblock. For the flags coeff_abs_level_greeter1_flag and coeff_abs_level_greater2_flag, the context selection depends on whether the current subblock contains a DC factor and whether the coeff_abs_level_be_flag equal to 1 depends on the nearby subblock. For coeff_abs_level_greeter1_flag, it further depends on the number and value of coeff_abs_level_greeter1_flag already encoded for the subblock.

符号coeff_sign_flagおよび絶対値の残余coeff_abs_level_remainingは、バイナリ算術符号器のバイパスモードで符号化される。coeff_abs_level_remainingをビンのシーケンス(バイナリ決定)にマップする場合、適応可能な二値化スキームが使用される。二値化は単一のパラメータによって制御され、サブブロックに対して既に符号化された値に基づいて適合される。 The code coeff_sign_flag and the absolute residual coeff_abs_level_remaining are encoded in the bypass mode of the binary arithmetic code. When mapping coeff_abs_level_remaining to a bin sequence (binary determination), an adaptive binarization scheme is used. Binarization is controlled by a single parameter and is fitted to the subblock based on the already encoded values.

H.265|MPEG−H HEVCは、いわゆる符号データ隠蔽モードも含み、(特定の条件の下で)サブブロック内の最後の非ゼロレベルに対する符号の送信が省略される。その代わりに、このレベルの符号は対応するサブブロックのレベルに対する絶対値の合計のパリティに埋め込まれる。エンコーダは、適切な変換係数レベルを決定する際にこの態様を考慮しなければならないことに留意されたい。 H. 265 | MPEG-H HEVC also includes a so-called code data hiding mode, omitting the transmission of the code for the last nonzero level in the subblock (under certain conditions). Instead, the sign for this level is embedded in the parity of the sum of the absolute values for the level of the corresponding subblock. Note that the encoder must take this aspect into account when determining the appropriate conversion factor level.

ビデオ符号化規格は、ビットストリームシンタックスおよび再構成プロセスを特定するだけである。オリジナルの予測誤差サンプルの与えられたブロックおよび与えられた量子化ステップサイズに対する変換符号化を考慮する場合、エンコーダは多くの自由度を有する。変換ブロックに対して量子化インデックスqkが与えられると、エントロピー符号化はビットストリームにデータを書き込むための一意に定義されたアルゴリズム(すなわち、算術符号語を構成する)に従わなければならない。しかし、予測誤差サンプルのオリジナルブロックが与えられた量子化インデックスqkを得るためのエンコーダアルゴリズムは、ビデオ符号化規格の範囲外である。さらに、エンコーダは、ブロック単位で量子化パラメータQPを選択する自由度を有する。以下の説明では、量子化パラメータQPおよび量子化重み行列が与えられると想定する。したがって、各変換係数の量子化ステップサイズは既知である。さらに、オリジナルの変換係数tkを得るための特定された合成変換の逆(または、逆に非常に近い近似値)である分析変換をエンコーダが実行すると想定する。これらの条件下でさえ、エンコーダは、各オリジナルの変換係数tkについての量子化インデックスqkを選択する自由度を有する。変換係数レベルの選択は歪み(または再構成/近似品質)およびビットレートの両方を決定するので、使用される量子化アルゴリズムは生成されたビットストリームのレート−歪み性能に実質的な影響を与える。 The video coding standard only identifies the bitstream syntax and the reconstruction process. The encoder has many degrees of freedom when considering transform coding for a given block and given quantization step size of the original prediction error sample. Given a quantization index q k for the transformation block, entropy coding must follow a uniquely defined algorithm (ie, constructing an arithmetic code word) for writing data to the bitstream. However, the encoder algorithm for obtaining the quantization index q k given the original block of the prediction error sample is outside the scope of the video coding standard. Further, the encoder has a degree of freedom in selecting the quantization parameter QP on a block-by-block basis. In the following description, it is assumed that the quantization parameter QP and the quantization weight matrix are given. Therefore, the quantization step size of each transmutation coefficient is known. Further assume that the encoder performs an analytical transformation that is the inverse (or vice versa) of the specified synthetic transformation to obtain the original transformation factor t k. Even under these conditions, the encoder has the freedom to choose the quantization index q k for each original conversion factor t k. Since the choice of conversion factor level determines both distortion (or reconstruction / approximation quality) and bit rate, the quantization algorithm used has a substantial effect on the rate-distortion performance of the generated bitstream.

Figure 2022500966
Figure 2022500966
Figure 2022500966
Figure 2022500966

Figure 2022500966
Figure 2022500966

Figure 2022500966
Figure 2022500966

Figure 2022500966
Figure 2022500966

Figure 2022500966
Figure 2022500966

変換符号化のための修正された概念は、変換係数が独立して量子化されず、再構成されないことである。その代わりに、変換係数の許容可能な再構成レベルは、再構成順序において先行する変換係数について選択された量子化インデックスに依存する。従属スカラー量子化の概念は、修正されたエントロピー符号化と組み合わされ、変換係数に対する確率モデルの選択(または、代替的に、符号語テーブルの選択)が許容可能な再構成レベルのセットに依存する。 The modified concept for transform coding is that the transform coefficients are not independently quantized and reconstructed. Instead, the acceptable reconstruction level of the conversion factor depends on the quantization index selected for the preceding conversion factor in the reconstruction order. The concept of dependent scalar quantization, combined with modified entropy coding, relies on a set of acceptable reconstruction levels for the choice of probabilistic model (or, alternative, the choice of codeword table) for the transformation coefficients. ..

Figure 2022500966
Figure 2022500966

変換係数の従属スカラー量子化は、N次元単位体積ごとの再構成ベクトルの与えられた平均数に対して、変換係数の与えられた入力ベクトルと最も近い利用可能な再構成ベクトルとの間の距離の期待値が低減されるという効果を有する。結果として、変換係数の入力ベクトルとベクトル再構成変換係数との間の平均歪みは、与えられた平均ビット数に対して低減され得る。ベクトル量子化では、この効果は空間充填利得と呼ばれる。変換ブロックに対して従属スカラー量子化を使用して、高次元ベクトル量子化についての潜在的な空間充填利得の大部分を利用することができる。そして、ベクトル量子化とは対照的に、再構成プロセス(または、復号プロセス)の実装の複雑さは、独立スカラー量子化器を用いた従来の変換符号化に匹敵する。 Dependent scalar quantization of the transformation factor is the distance between the input vector given the transformation factor and the nearest available reconstruction vector for a given average number of reconstruction vectors per N-dimensional unit volume. It has the effect of reducing the expected value of. As a result, the average distortion between the input vector of the transformation factor and the vector reconstruction transformation coefficient can be reduced for a given average number of bits. In vector quantization, this effect is called the space-filling gain. Dependent scalar quantization can be used for transform blocks to take advantage of most of the potential spatial fill gains for high-dimensional vector quantization. And, in contrast to vector quantization, the complexity of the implementation of the reconstruction process (or decoding process) is comparable to conventional transform coding with an independent scalar quantizer.

Figure 2022500966
Figure 2022500966

従来の変換符号化のように、本明細書で概説された実施形態による変換符号化は分析変換、量子化アルゴリズムおよびエントロピー符号化をさらに含む。分析変換としては、典型的に、合成変換の逆(または、逆に非常に近い近似値)が使用され、エントロピー符号化は通常、与えられたエントロピー復号プロセスを一意に特定する。しかし、従来の変換符号化と同様に、オリジナルの変換係数が与えられる量子化インデックスを選択する多くの自由度がある。 Like conventional transform coding, transform coding according to the embodiments outlined herein further includes analytic transformation, quantization algorithms and entropy coding. As the analytical transformation, the inverse of the synthetic transformation (or vice versa) is typically used, and entropy coding usually uniquely identifies a given entropy decoding process. However, as with traditional transform coding, there are many degrees of freedom in choosing a quantized index given the original transform coefficients.

変換係数の従属量子化は、変換係数に対して利用可能な再構成レベルのセットが(同じ変換ブロック内の)再構成順序で先行する変換係数の選択された量子化インデックスに依存するという概念を指す。 Dependent quantization of transformation coefficients is based on the notion that the set of reconstruction levels available for transformation coefficients depends on the selected quantization index of the transformation coefficients that precede them in the reconstruction order (within the same transformation block). Point to.

再構成レベルの複数のセットが予め定義され、符号化順序で先行する変換係数の量子化インデックスに基づいて、予め定義されたセットのうちの1つが現在の変換係数を再構成するために選択される。 Multiple sets of reconstruction levels are predefined, and one of the predefined sets is selected to reconstruct the current conversion coefficients based on the quantization index of the conversion coefficients that precede in the coding order. To.

Figure 2022500966
Figure 2022500966

一実施形態では、変換係数に対する従属スカラー量子化は、ちょうど2つの異なるセットの再構成レベルを使用する。そして、変換係数tkに対する2つのセットの全ての再構成レベルは、この変換係数についての量子化ステップサイズΔk(少なくとも部分的に、ブロックベースの量子化パラメータによって決定される)の整数倍を表す。量子化ステップサイズΔkは、両方のセットにおける許容可能な再構成値に対するスケーリング係数を表すだけであることに留意されたい。変換ブロック内の異なる変換係数tkについての可能な個々の量子化ステップサイズΔk(および、個々のスケーリング係数)を除いて、同じ2つセットの再構成レベルがすべての変換係数に対して使用される。 In one embodiment, dependent scalar quantization for transformation coefficients uses exactly two different sets of reconstruction levels. And all reconstruction levels of the two sets for the conversion factor t k are integer multiples of the quantization step size Δ k (at least partially determined by the block-based quantization parameters) for this conversion factor. show. Note that the quantization step size Δ k only represents the scaling factor for the acceptable reconstruction values in both sets. The same two sets of reconstruction levels are used for all transformation coefficients, except for the possible individual quantization step sizes Δ k (and individual scaling coefficients) for different transformation coefficients t k within the transformation block. Will be done.

2つのセットの再構成レベルのためのより好ましい構成が図7に示される。第1の量子化セットに含まれる再構成レベル(図ではセット0としてラベル付けされる)は、量子化ステップサイズの偶数の整数倍を表す。第2の量子化セット(図ではセット1としてラベル付けされる)は量子化ステップサイズの奇数の整数倍をすべて含み、さらにゼロに等しい再構成レベルを含む。両方の再構成セットはほとんどゼロで対称であることに留意されたい。ゼロに等しい再構成レベルは両方の再構成セットに含まれ、そうでない場合は、再構成セットは互いに素である。両方の再構成セットの結合は、量子化ステップサイズの全ての整数倍を含む。 A more preferred configuration for the two sets of reconstruction levels is shown in FIG. The reconstruction level contained in the first quantization set (labeled as set 0 in the figure) represents an even integer multiple of the quantization step size. The second quantization set (labeled as set 1 in the figure) contains all odd integer multiples of the quantization step size and also contains a reconstruction level equal to zero. Note that both reconstruction sets are almost zero and symmetric. Reconstruction levels equal to zero are included in both reconstruction sets, otherwise the reconstruction sets are relatively prime. The combination of both reconstruction sets contains all integer multiples of the quantization step size.

エンコーダが許容可能な再構成レベルの中から選択する再構成レベルは、ビットストリーム内で指示される、または、送信されなければならない。従来の独立スカラー量子化のように、これは、変換係数レベルとも呼ばれるいわゆる量子化インデックスを使用して達成することができる。量子化インデックス(または変換係数レベル)は、量子化セット内(すなわち、再構成レベルのセット内)の利用可能な再構成レベルを一意に識別する整数番号である。量子化インデックスは、ビットストリームの一部として(エントロピー符号化技術を使用して)デコーダに送られる。デコーダ側では、再構成された変換係数を再構成レベルの現在のセット(符号化/再構成順序において先行する量子化インデックスによって決定される)と、現在の変換係数について送信された量子化インデックスとに基づいて一意に計算することができる。 The reconstruction level selected by the encoder from the acceptable reconstruction levels must be indicated or transmitted within the bitstream. Like traditional independent scalar quantization, this can be achieved using the so-called quantization index, also known as the conversion factor level. The quantization index (or transformation factor level) is an integer number that uniquely identifies the available reconstruction levels within the quantization set (ie, within the reconstruction level set). The quantized index is sent to the decoder (using entropy coding technology) as part of the bitstream. On the decoder side, the reconstructed conversion coefficients are the current set of reconstruction levels (determined by the preceding quantization index in the coding / reconstruction order) and the quantization index sent for the current conversion coefficients. Can be uniquely calculated based on.

図7の再構成レベルは、関連する量子化インデックスでラベル付けされる(量子化インデックスは、再構成レベルを表す円の下の数によって与えられる)。0に等しい量子化インデックスは0に等しい再構成レベルに割り当てられる。1に等しい量子化インデックスは0より大きい最小再構成レベルに割り当てられ、2に等しい量子化インデックスは0より大きい次の再構成レベルに割り当てられる(すなわち、0より大きい第2の最小再構成レベル)など。すなわち言い換えると、0より大きい再構成レベルは、0より大きい整数番号(すなわち、1,2,3,などを有する)で、それらの値の昇順にラベル付けされる。同様に、量子化インデックス−1は0より小さい最大再構成レベルに割り当てられ、量子化インデックス−2は0より小さい次の(すなわち、2番目に大きい)再構成レベルに割り当てられるなど。すなわち言い換えると、0より小さい再構成レベルは、0より小さい整数番号(すなわち、−1,−2,−3など)で、それらの値の降順にラベル付けされる。
量子化ステップサイズの整数倍を表す再構成レベルの使用は、デコーダ側での変換係数の再構成のための計算的に複雑性が低いアルゴリズムを可能にする。これは、以下に図7のより好ましい例に基づいて示される。第1の量子化セットは量子化ステップサイズの偶数の整数倍をすべて含み、第2の量子化セットは量子化ステップサイズの奇数の整数倍のすべてと、0に等しい再構成レベル(両方の量子化セットに含まれる)とを含む。変換係数の再構成プロセスは、図8の擬似コードで特定されるアルゴリズムと同様に実施し得る。
The reconstruction level in FIG. 7 is labeled with the associated quantization index (the quantization index is given by the number below the circle representing the reconstruction level). Quantization indexes equal to 0 are assigned to reconstruction levels equal to 0. A quantization index equal to 1 is assigned to the minimum reconstruction level greater than 0, and a quantization index equal to 2 is assigned to the next reconstruction level greater than 0 (ie, a second minimum reconstruction level greater than 0). Such. That is, in other words, reconstruction levels greater than 0 are labeled with integer numbers greater than 0 (ie, having 1, 2, 3, etc.) in ascending order of their values. Similarly, the quantized index-1 is assigned to the maximum reconstruction level less than 0, the quantized index-2 is assigned to the next (ie, second largest) reconstruction level less than 0, and so on. That is, in other words, reconstruction levels less than 0 are labeled with integer numbers less than 0 (ie, -1, -2, -3, etc.) in descending order of their values.
The use of reconstruction levels, which represent integral multiples of the quantization step size, allows for computationally less complex algorithms for reconstruction of conversion coefficients on the decoder side. This is shown below based on the more preferred example of FIG. The first quantization set contains all even integer multiples of the quantization step size, and the second quantization set contains all odd integer multiples of the quantization step size and a reconstruction level equal to 0 (both quanta). Included in the conversion set) and. The conversion coefficient reconstruction process can be performed in the same manner as the algorithm specified in the pseudo code of FIG.

Figure 2022500966
Figure 2022500966

Figure 2022500966
Figure 2022500966

Figure 2022500966
Figure 2022500966

図8と比較して図9の他の(単にうわべの)変更は、2つの再構成レベルのセットの間の切り替えが三項if−then−else演算子( a ? b : c )を使用して実施されることであり、それはCプログラミング言語のようなプログラミング言語から知られている。 The other (simply superficial) change in FIG. 9 compared to FIG. 8 is that switching between two sets of reconstruction levels uses the ternary if-then-else operator (a? B: c). It is known from programming languages such as the C programming language.

上述した再構成レベルのセットの選択に加えて、変換符号化での従属スカラー量子化における別のタスクは、定義された量子化セット(再構成レベルのセット)の間を切り替えるために使用されるアルゴリズムである。使用されたアルゴリズムは、変換係数のN次元空間において(および、そのあと再構成されたサンプルのN次元空間においても)達成され得る“圧縮密度“を決定する。より高い圧縮密度は、最終的に、増大した符号化効率となる。 In addition to the selection of the set of reconstruction levels described above, another task in dependent scalar quantization in transform coding is used to switch between the defined quantization sets (sets of reconstruction levels). It is an algorithm. The algorithm used determines the "compression density" that can be achieved in the N-dimensional space of the conversion factor (and also in the N-dimensional space of the subsequently reconstructed sample). Higher compression densities ultimately result in increased coding efficiency.

より好ましい実施形態では、量子化セット(セット0およびセット1)の間の遷移は、状態変数によって決定される。再構成順序における第1の変換係数について、状態変数は予め定義された値に等しく設定される。典型的には、予め定義された値は0に等しい。符号化順序において次の変換係数の状態変数は、更新プロセスによって決定される。特定の変換係数の状態は、再構成順序において先行する変換係数の状態および先行する変換係数の値にのみ依存する。 In a more preferred embodiment, the transition between the quantization sets (set 0 and set 1) is determined by the state variables. For the first conversion factor in the reconstruction order, the state variables are set equal to the predefined values. Typically, the predefined value is equal to zero. The state variables of the next conversion factor in the coding order are determined by the update process. The state of a particular conversion factor depends only on the state of the preceding conversion factor and the value of the preceding conversion factor in the reconstruction order.

状態変数は4つの可能な値(0,1,2,3)を有していてもよい。一方、状態変数は、現在の変換係数に使用される量子化セットを特定する。量子化セット0は状態変数が0または1に等しい場合およびその場合にのみ使用され、量子化セット1は状態変数が2または3に等しい場合およびその場合にのみ使用される。一方、状態変数は量子化セット間の可能な遷移も特定する。 The state variable may have four possible values (0,1,2,3). State variables, on the other hand, identify the quantization set used for the current conversion factor. Quantization set 0 is used only when and when the state variable is equal to 0 or 1, and quantization set 1 is used only when and when the state variable is equal to 2 or 3. State variables, on the other hand, also identify possible transitions between quantization sets.

例えば、特定の変換係数の状態は再構成順序において先行する変換係数の状態および先行する変換係数レベルの値のバイナリ関数にのみ依存してもよい。バイナリ関数は以下ではパスと呼ばれる。特に好ましい実施形態では、以下の状態遷移表が使用され、ここで、“パス”は再構成順序において先行する変換係数レベルの前記バイナリ関数を指す。 For example, the state of a particular conversion factor may only depend on the binary function of the state of the preceding conversion factor and the value of the preceding conversion factor level in the reconstruction order. Binary functions are referred to below as paths. In a particularly preferred embodiment, the following state transition table is used, where "path" refers to the binary function at the conversion factor level that precedes it in the reconstruction order.

Figure 2022500966
Figure 2022500966

Figure 2022500966
Figure 2022500966

従属スカラー量子化の状態遷移の概念は、デコーダにおける変換係数の再構成のための複雑性の低い実装を可能にする。単一の変換ブロックの変換係数の再構成プロセスのための好ましい例は図10に示され、Cスタイル擬似コードを使用する。 The concept of state transitions in dependent scalar quantization allows for a less complex implementation for the reconstruction of transformation coefficients in a decoder. A preferred example for the process of reconstructing the conversion coefficients of a single conversion block is shown in FIG. 10 and uses C-style pseudocode.

図10の擬似コードでは、インデックスkは変換係数の再構成順序を特定する。例示的なコードにおいて、インデックスkは再構成順序において降順であることに留意されるべきである。最後の変換係数はk = 0に等しいインデックスを有する。最初のインデックスkstartは、最初の再構成された変換係数の再構成インデックス(または、より正確には、逆再構成インデックス)を特定する。変数kstartは、変換ブロックにおける変換係数の数から1を引いた値に等しく設定されてもよく、または、(例えば、最初の非ゼロ量子化インデックスの位置が適用されたエントロピー符号化方法において送信される場合)符号化/再構成順序において最初の非ゼロ量子化インデックスのインデックスに等しく設定されてもよい。後者のケースでは、全ての先行する変換係数(インデックスk > kstartを有する)は0に等しいと推定される。各単一変換係数の再構成プロセスは、図9の例と同じである。図9の例の場合のように、量子化インデックスはlevel[k]によって表され、関連する再構成された変換はtrec[k]によって表される。状態変数はstateによって表される。一次元の表setId[]は状態変数の異なる値に関連付けられた量子化セットを指定し、二次元の表state_trans_table[][]は、現在の状態(第1の引数)およびパス(第2の引数)が与えられた状態遷移を指定する。一例として、パスは量子化インデックスのパリティによって(ビット単位および演算子&を使用して)与えられ得るが、他の概念が可能である。別の例として、パスは変換係数がゼロに等しいか等しくないかを指定することができる。Cスタイルシンタックスにおける表の例は以下の通りである(これらの表は上記の表1と同一である)。 In the pseudo code of FIG. 10, the index k specifies the reconstruction order of the conversion coefficients. It should be noted that in the exemplary code, the index k is in descending order in the reconstruction order. The final conversion factor has an index equal to k = 0. The first index kstart identifies the reconstructed index (or, more precisely, the inverse reconstructed index) of the first reconstructed conversion factor. The variable kstart may be set equal to the number of conversion coefficients in the conversion block minus one, or (eg, transmitted in an entropy coding method to which the position of the first non-zero quantization index is applied). If) may be set equal to the index of the first non-zero quantization index in the coding / reconstruction order. In the latter case, all preceding conversion coefficients (with index k> kstart) are estimated to be equal to zero. The reconstruction process for each single conversion factor is the same as in the example of FIG. As in the example of FIG. 9, the quantized index is represented by level [k] and the associated reconstructed transformation is represented by trec [k]. State variables are represented by state. The one-dimensional table setId [] specifies the quantization set associated with different values of the state variables, and the two-dimensional table state_trans_table [] [] is the current state (first argument) and path (second argument). Argument) specifies the given state transition. As an example, the path can be given by the parity of the quantized index (in bits and using the operator &), but other concepts are possible. As another example, the path can specify whether the conversion factor is equal to or not equal to zero. Examples of tables in the C-style syntax are as follows (these tables are the same as Table 1 above).

setId[4] = { 0, 0, 1, 1 }
state_trans_table[4][2] = { {0,2}, {2,0}, {1,3}, {3,1} }
setId [4] = {0, 0, 1, 1}
state_trans_table [4] [2] = {{0,2}, {2,0}, {1,3}, {3,1}}

次の状態を決定するための表state_trans_table[][]を使用する代わりに、同じ結果を生じる算術演算を使用することができる。同様に、表setld[]は算術演算を使用して実装することもできる。あるいは、一次元の表setId[]を使用して探索する表と符号関数との組み合わせは、算術演算を使用して実装され得る。 Instead of using the table state_trans_table [] [] to determine the next state, you can use an arithmetic operation that produces the same result. Similarly, the table setld [] can also be implemented using arithmetic operations. Alternatively, the combination of the table and the sign function searched using the one-dimensional table setId [] can be implemented using arithmetic operations.

従属スカラー量子化の主な態様は、変換係数に対する許容可能な再構成レベルの異なるセット(量子化セットとも呼ばれる)が存在することである。現在の変換係数についての量子化セットは、先行する変換係数についての量子化インデックスの値に基づいて決定される。図7の例を検討し、2つの量子化セットを比較する場合、0に等しい再構成レベルと近傍の再構成レベルとの間の距離がセット1よりもセット0において大きくなることは明らかである。したがって、セット0が使用される場合、量子化インデックスが0に等しい確率はより大きく、セット1が使用される場合、それはより小さい。この効果は、量子化セットまたはより一般的には現在の量子化インデックスに使用される状態に基づく確率モデルを切り替えることによってエントロピー符号化において利用されてもよい。 The main aspect of dependent scalar quantization is the existence of different sets of acceptable reconstruction levels (also called quantization sets) for the transformation coefficients. The quantization set for the current conversion factor is determined based on the value of the quantization index for the preceding conversion factor. Considering the example of FIG. 7 and comparing the two quantization sets, it is clear that the distance between the reconstruction level equal to 0 and the neighboring reconstruction level is greater in set 0 than in set 1. .. Therefore, if set 0 is used, the probability that the quantized index is equal to 0 is greater, and if set 1 is used, it is smaller. This effect may be utilized in entropy coding by switching the state-based probabilistic model used for the quantization set or more generally the current quantization index.

符号語テーブルまたは確率モデルの適切な切り替えのために、すべての先行する量子化インデックスのパス(量子化インデックスのバイナリ関数)が、現在の量子化インデックス(または、現在の量子化インデックスの対応するバイナリ決定)をエントロピー復号する際に既知でなければならないことに留意されたい。 For proper switching of codeword tables or stochastic models, all preceding quantized index paths (binary functions of the quantized index) are the current quantized index (or the corresponding binary of the current quantized index). Note that the decision) must be known when entropy decoding.

量子化インデックスは、H.264|MPEG−4 AVCまたはH.265|MPEG−H HEVCと同様のバイナリ算術符号化を使用して符号化されてもよい。その目的のために、非バイナリ量子化インデックスは、まず、一連のバイナリ決定(通常、ビンと呼ばれる)にマップされる。 The quantization index is H. 264 | MPEG-4 AVC or H.M. 265 | MPEG-H It may be encoded using the same binary arithmetic coding as HEVC. For that purpose, the non-binary quantization index is first mapped to a series of binary decisions (usually called bins).

以下では、どのように、すなわち、どのような順序で、どのようなコンテキストを使用して、従属量子化に起因する量子化インデックスを二値化および算術符号化するかについて、様々な例が記載される。ここで、量子化インデックスは絶対値および0より大きい絶対値については符号として送信される。符号は単一のビンとして送信されるが、以下に説明する例においてそれ自体を明らかにする一連のバイナリ決定に絶対値をマップするための多くの可能性がある。以下の説明は、まず、符号化順序および二値化スキームに焦点を合わせ、したがって、様々な例を提示する。その後、コンテキストモデリングのための異なる例が説明される。後者は、符号化順序および二値化スキームに関連する前者の実施形態と組み合わされてもよいが、前者の実施形態は後者の例に限定されない。 Below are various examples of how, in what order, and in what context, the quantization index resulting from dependent quantization is binarized and arithmetically coded. Will be done. Here, the quantized index is transmitted as an absolute value and an absolute value larger than 0 as a sign. Although the sign is transmitted as a single bin, there are many possibilities for mapping absolute values to a series of binary decisions that reveal themselves in the examples described below. The following description first focuses on the coding order and binarization schemes, and thus presents various examples. Then different examples for context modeling are explained. The latter may be combined with the former embodiment related to the coding sequence and binarization scheme, but the former embodiment is not limited to the latter example.

実施例1
以下のバイナリおよび非バイナリシンタックス要素が送信される:
●sig_flag:変換係数レベルの絶対値が0より大きいか否かを指定する。
●sig_flagが1に等しい場合、gt1_flag:変換係数レベルの絶対値が1より大きいか否かを指定する。
●gt1_flagが1に等しい場合、gt2_flag:変換係数レベルの絶対値が1より大きいか否かを指定する。
●gt2_flagが1に等しい場合、remainder:絶対レベルの残余を指定する非バイナリシンタックス要素である。このシンタックス要素は、例えば、ゴロム・ライス符号を使用して算術符号化エンジンのバイパスモードで送信される。
現在のシンタックス要素が0に等しいと推定されない。デコーダ側では、変換係数レベルの絶対値は次のように再構成される:
absLevel = sig_flag + gt1_flag + gt2_flag + remainder
追加のgtX_flagが送信されてもよく、またはgt2_flagが省略されてもよく、もしくは、gt1_flagおよびgt2_flagの両方が省略されてもよい。sig_flagおよびgtX_flagは、適応コンテキストモデルを使用して符号化される。
Example 1
The following binary and non-binary syntax elements are sent:
● sig_flag: Specifies whether the absolute value of the conversion factor level is greater than 0.
● If sig_flag is equal to 1, gt1_flag: Specifies whether the absolute value of the conversion factor level is greater than 1.
● If gt1_flag is equal to 1, gt2_flag: Specifies whether the absolute value of the conversion factor level is greater than 1.
● If gt2_flag is equal to 1, reminder: a non-binary syntax element that specifies the absolute level remainder. This syntax element is transmitted in bypass mode of the arithmetic coding engine, for example using Golomb rice coding.
The current syntax element is not estimated to be equal to 0. On the decoder side, the absolute value of the conversion factor level is reconstructed as follows:
absLevel = sig_flag + gt1_flag + gt2_flag + reminder
Additional gtX_flag may be transmitted, gt2_flag may be omitted, or both gt1_flag and gt2_flag may be omitted. sig_flag and gtX_flag are coded using an adaptive context model.

実施例2
以下のバイナリおよび非バイナリシンタックス要素が送信される:
●sig_flag:変換係数レベルの絶対値が0より大きいか否かを指定する。
●sig_flagが1に等しい場合、gt1_flag:変換係数レベルの絶対値が1より大きいか否かを指定する。
●gt1_flagが1に等しい場合
○par_flag:変換係数レベルの絶対値の残余(すなわち、絶対値−2)のパリティを指定する。
○remainder:絶対レベルの残余(すなわち、(絶対値−2−par_flag)/2)を指定する非バイナリシンタックス要素である。このシンタックス要素は、例えば、ゴロム・ライス符号を使用して算術符号化エンジンのバイパスモードで送信される。
現在のシンタックス要素が0に等しいと推定されない。デコーダ側では、変換係数レベルの絶対値は次のように再構成される:
absLevel = sig_flag + gt1_flag + par_flag + 2 * remainder
追加のgtX_flagが送信されてもよく、またはgt1_flagが省略されてもよい。例として上記のremainderの代わりに、gt2_flag(絶対値が3よりも大きいか否かを指定する)および(gt2_flagが1に等しい場合)修正されたremainder(すなわち、(絶対値−3−par_flag)/2)を送信することができる。そのあと、絶対値は以下のように構成され得る。
absLevel = sig_flag + gt1_flag + par_flag + 2 * ( gt2_flag + remainder )
sig_flag、gtX_flagおよびpar_flagは、適応コンテキストモデルを使用して符号化される。
Example 2
The following binary and non-binary syntax elements are sent:
● sig_flag: Specifies whether the absolute value of the conversion factor level is greater than 0.
● If sig_flag is equal to 1, gt1_flag: Specifies whether the absolute value of the conversion factor level is greater than 1.
● When gt1_flag is equal to 1 ○ par_flag: Specify the parity of the remainder of the absolute value of the conversion coefficient level (that is, the absolute value-2).
○ reminder: A non-binary syntax element that specifies an absolute level residue (ie, (absolute value -2-par_flag) / 2). This syntax element is transmitted in bypass mode of the arithmetic coding engine, for example using Golomb rice coding.
The current syntax element is not estimated to be equal to 0. On the decoder side, the absolute value of the conversion factor level is reconstructed as follows:
absLevel = sig_flag + gt1_flag + par_flag + 2 * reminder
An additional gtX_flag may be transmitted, or the gt1_flag may be omitted. As an example, instead of the above reminder, gt2_flag (specifies whether the absolute value is greater than 3) and modified reminder (ie, (absolute value -3-par_flag) / (if gt2_flag is equal to 1)). 2) can be transmitted. After that, the absolute value can be configured as follows.
absLevel = sig_flag + gt1_flag + par_flag + 2 * (gt2_flag + reminder)
The sig_flag, gtX_flag and par_flag are encoded using the adaptive context model.

実施例3
以下のバイナリおよび非バイナリシンタックス要素が送信される:
●sig_flag:変換係数レベルの絶対値が0より大きいか否かを指定する。
●sig_flagが1に等しい場合
○par_flag:変換係数レベルの絶対値の残余(すなわち、絶対値−1)のパリティを指定する。
○gt1_flag:変換係数レベルの絶対値の残余(すなわち、(絶対値−1−par_flag)/2)が0より大きいか否かを指定する。
●gt1_flagが1に等しい場合、gt2_flag:変換係数レベルの絶対値の残余(すなわち、(絶対値−1−par_flag)/2)が1より大きいか否かを指定する。
●gt2_flagが1に等しい場合、remainder:絶対レベルの残余(すなわち、(絶対値−1−par_flag)/2−2)を指定する非バイナリシンタックス要素である。このシンタックス要素は、例えば、ゴロム・ライス符号を使用して算術符号化エンジンのバイパスモードで送信される。
現在のシンタックス要素が0に等しいと推定されない。デコーダ側では、変換係数レベルの絶対値は次のように再構成される:
absLevel = sig_flag + par_flag + 2 * (gt1_flag + gt2_flag + remainder)
追加のgtX_flagが送信されてもよく、またはgt2_flagが省略されてもよい。sig_flag、gtx_flagおよびpar_flagは、適応コンテキストモデルを使用して符号化される。
Example 3
The following binary and non-binary syntax elements are sent:
● sig_flag: Specifies whether the absolute value of the conversion factor level is greater than 0.
● When sig_flag is equal to 1 ○ par_flag: Specify the parity of the remainder of the absolute value of the conversion coefficient level (that is, the absolute value -1).
○ gt1_flag: Specifies whether or not the residual of the absolute value of the conversion coefficient level (that is, (absolute value-1-par_flag) / 2) is larger than 0.
● If gt1_flag is equal to 1, gt2_flag: Specifies whether the residual absolute value of the conversion factor level (ie, (absolute value-1-par_flag) / 2) is greater than 1.
● If gt2_flag is equal to 1, reminder: a non-binary syntax element that specifies an absolute level residue (ie, (absolute value-1-par_flag) / 2-2). This syntax element is transmitted in bypass mode of the arithmetic coding engine, for example using Golomb rice coding.
The current syntax element is not estimated to be equal to 0. On the decoder side, the absolute value of the conversion factor level is reconstructed as follows:
absLevel = sig_flag + par_flag + 2 * (gt1_flag + gt2_flag + reminder)
An additional gtX_flag may be transmitted, or the gt2_flag may be omitted. The sig_flag, gtx_flag and par_flag are encoded using the adaptive context model.

さらに二値化は可能である。 Further binarization is possible.

コンテキストモデリングに関して、二値化、ビン/係数順序付けおよびコンテキスト導出の間の相互関係を示すために、以下の例が提供される。特定の例では、変換ブロックの量子化インデックスを送信するためのシンタックスは、量子化インデックスがゼロに等しいか否か、またはそれが0に等しくないか否か(上記で紹介されたsig_flag)を指定するビンを含む。このビンを符号化するために使用される確率モデルは、2つ以上の確率モデルのセットの中から選択されてもよい。使用される確率モデルの選択は、現在の状態変数に依存する(状態変数は使用される量子化セットを意味する)。この場合、異なるセットの確率モデルが状態変数のすべての可能な値に対して使用されてもよく、または、異なるセットの確率モデルが各クラスタに対して使用されてもよい(例えば、状態0または1の確率モデルの第1のセット、状態2の確率モデルの第2のセットおよび状態3の確率モデルの第3のセット;もしくは、代替的に、状態0または1の確率モデルの第1のセット、状態2または3の確率モデルの第2のセット)。 The following examples are provided to show the interrelationships between binarization, bin / coefficient ordering, and context derivation for context modeling. In a particular example, the syntax for sending the quantized index of the transform block is whether the quantized index is equal to zero, or whether it is not equal to 0 (sig_flag introduced above). Includes the specified bin. The probabilistic model used to encode this bin may be selected from a set of two or more probabilistic models. The choice of probabilistic model used depends on the current state variable (state variable means the quantization set used). In this case, different sets of probability models may be used for all possible values of the state variables, or different sets of probability models may be used for each cluster (eg, state 0 or). A first set of probability models of 1, a second set of probability models of state 2 and a third set of probability models of state 3; or, instead, a first set of probability models of state 0 or 1. , A second set of probabilistic models of state 2 or 3).

他のバイナリシンタックス要素(例えば、gt1_flagまたはpar_flag)のための選択された確率モデルも現在の状態変数の値に依存することも可能である。 The selected probabilistic model for other binary syntax elements (eg, gt1_flag or par_flag) can also depend on the value of the current state variable.

変換係数の従属量子化がエントロピー符号化と組み合わされる場合、量子化インデックス(量子化レベルとも呼ばれる)のバイナリ表現の1つ以上のビンに対する確率モデルの選択は、現在の量子化インデックスの状態変数に依存することが利点である。状態変数は、符号化および再構成順序で先行する変換係数のための量子化インデックス(または量子化インデックスを表すビンのサブセット)によって与えられる。 When dependent quantization of the transformation coefficient is combined with entropy coding, the choice of a probabilistic model for one or more bins of the binary representation of the quantization index (also known as the quantization level) is the state variable of the current quantization index. Dependence is an advantage. State variables are given by a quantized index (or a subset of bins representing the quantized index) for the conversion coefficients that precede in the coding and reconstruction order.

特に、有利には、確率モデルの説明された選択が以下のエントロピー符号化の態様のうちの1つ以上と組み合わされる:

●変換ブロックのためのフラグの送信、それは変換ブロックに対する量子化インデックスのいずれかがゼロに等しくないか、または変換ブロックのためのすべての量子化インデックスがゼロに等しいか否かを指定する。

●複数のサブブロック内の変換ブロックの係数の分割(少なくとも、ブロックの寸法または含まれるサンプル数によって与えられる予め定義されたサイズを超える変換ブロックについて)。これは図12aにおける変換ブロック10について例示的に示されており、ここで、ブロックの係数12はサブブロック14に細分され、ここでは例示的にサイズ4×4の係数である。変換ブロックが複数のサブブロック14に分割される場合、そのあと1つ以上のサブブロックについて、(既に送信されたシンタックス要素に基づいて推定されない限り)フラグが送信され、サブブロックが非ゼロ量子化インデックスを含むか否かを指定する。サブブロックはビンの符号化順序を指定するために使用されてもよい。例えば、符号化ビンをサブブロック14に分割することができ、サブブロックのすべてのビンは、次のサブブロック14のいずれかのビンが送信される前に符号化される。しかし、特定のサブブロック14のビンは、このサブブロック内の変換係数にわたって複数のパスで符号化され得る。例えば、サブブロックに対する量子化インデックスの絶対値を指定するすべてのビンは、いずれかの符号ビンが符号化される前に符号化されてもよい。絶対値のためのビンは、上述したように、複数のパスに分割されることもできる。

●符号化順序における最初の非ゼロ位置の送信。位置は図12aに示されており、太字で示される。それは、変換係数の二次元配列内の位置を指定するxおよびy座標として送信することができ、それはインデックスとしてスキャン順序で送信することができ、または他の任意の手段によって送信され得る。図12aに示すように、符号化順序における最初の非ゼロ量子化インデックス(または、変換係数)の送信された位置は、符号化順序において識別された係数に先行するすべての変換係数12(図12aにおいて白色にマークされる)がゼロに等しいと推定されることを指定する。さらにデータは、指定された位置(図12aにおいて黒色/太字でマークされる)すなわち、符号化順序の最初の位置における係数、および、符号化順序においてこの係数に続く係数(図12aにおいて斜線でマークされる)のために送信されるだけである。図12aの例は、4×4サブブロック14を有する16×16変換ブロック10を示す;使用される符号化順序は、H.265|MPEG−H HEVCで指定されたサブブロック単位の対角スキャンである。指定された位置(符号化順序では最初の非ゼロ係数)における量子化インデックスの符号化は、わずかに変更されてもよいことに留意されるべきである。例えば、量子化インデックスの絶対値の二値化は量子化インデックスが0に等しくないか否かを指定するビンを含む場合、このビンは指定された位置で量子化インデックスを送信しない(係数が0に等しくないことが既に知られている)、代わりに、ビンは1に等しいと推定される。

●量子化インデックスの絶対値の二値化は、量子化インデックスが0に等しくないか否かを指定する適応的に符号化されたビンを含む。このビンを符号化するために使用される確率モデル(コンテキストと呼ばれる)は、候補の確率モデルのセットの中から選択される。選択された候補の確率モデルは、現在の量子化インデックスの状態変数によって決定されてもよく、さらに、変換ブロックについて既に送信された量子化インデックスによって決定されてもよい。好ましい実施形態では、状態変数は、利用可能な確率モデルのサブセット(コンテキストセットとも呼ばれる)を決定し、既に符号化された量子化インデックスの値は、このサブセット(コンテキストセット)内の使用される確率モデルを決定する。

好ましい実施形態では、コンテキストセット内の使用される確率モデルは、現在の変換係数50の局所近傍(local neighborhood)52における既に符号化された量子化インデックスの値、すなわち、そのビンが現在符号化/復号されている係数の値に基づいて決定され、同じ必要性についてのコンテキストが決定される。このような局所近傍52の例が図12bに示される。図中では、現在の変換係数50は黒色でマークされ、局所近傍52は斜線でマークされる。以下では、局所近傍52内の近傍の係数51の量子化インデックスの値に基づいて導出することができ、そのあと、事前に決定されたコンテキストセットの確率モデルを選択するために使用することができるいくつかの例示的な処理が列挙される。

さらに、デコーダに利用可能な他のデータは、事前に決定されたコンテキストセット内の確率モデルを導出するために(明示的にまたは上記に列挙された処理と組み合わせて)使用され得る。このようなデータには、以下のものが含まれる。
○現在の変換係数の位置(x座標、y座標、対角数またはそれらの任意の組み合わせ)
○現在のブロックのサイズ(垂直サイズ、水平サイズ、サンプル数またはそれらの任意の組み合わせ)
○現在の変換ブロックのアスペクト比

●量子化インデックスの絶対値の二値化は、量子化インデックスの絶対値が1より大きいか否かを指定する適応的に符号化されたビンを含む。このビンを符号化するために使用される確率モデル(コンテキストと呼ばれる)は、候補の確率モデルのセットの中から選択される。選択された確率モデルは、変換ブロックに対する既に送信された量子化インデックスによって決定される。確率モデルを選択するために、(量子化インデックスが0に等しくないか否かを指定するビンについて)上記の方法のいずれかを使用することができる。
In particular, advantageously, the described selection of the probabilistic model is combined with one or more of the following entropy coding embodiments:

● Sending a flag for a transformation block, which specifies whether one of the quantization indexes for the transformation block is not equal to zero, or all the quantization indexes for the transformation block are equal to zero.

● Splitting the coefficients of a transform block within multiple subblocks (at least for transform blocks that exceed the predefined size given by the dimensions of the block or the number of samples included). This is schematically shown for the conversion block 10 in FIG. 12a, where the coefficient 12 of the block is subdivided into sub-blocks 14, which are exemplary here the coefficients of size 4 × 4. If the transform block is split into multiple subblocks 14, then for one or more subblocks a flag is sent (unless estimated based on already transmitted syntax elements) and the subblocks are non-zero quanta. Specifies whether to include the quantized index. Subblocks may be used to specify the coding order of the bins. For example, the coded bins can be divided into subblocks 14, and all bins in the subblock are encoded before any of the bins in the next subblock 14 are transmitted. However, the bin of a particular subblock 14 can be coded in multiple passes across the conversion factors within this subblock. For example, all bins that specify the absolute value of the quantized index for a subblock may be encoded before any code bin is encoded. Bins for absolute values can also be split into multiple paths, as described above.

● Transmission of the first nonzero position in the coding order. The location is shown in FIG. 12a and is shown in bold. It can be sent as x and y coordinates that specify the position of the transformation factor in the two-dimensional array, it can be sent as an index in scan order, or it can be sent by any other means. As shown in FIG. 12a, the transmitted position of the first non-zero quantization index (or conversion factor) in the coding order is all conversion coefficients 12 (FIG. 12a) that precede the coefficient identified in the coding order. (Marked in white in) specifies that it is estimated to be equal to zero. In addition, the data is marked at the specified position (marked in black / bold in FIG. 12a), i.e., the coefficient at the first position in the coding order, and the coefficient following this coefficient in the coding order (marked with diagonal lines in FIG. 12a). Will only be sent for). The example of FIG. 12a shows a 16x16 conversion block 10 with a 4x4 subblock 14; the coding sequence used is H.I. 265 | MPEG-H Diagonal scan in sub-block units specified by HEVC. It should be noted that the coding of the quantized index at the specified position (the first non-zero coefficient in the coding order) may be slightly modified. For example, if the binarization of the absolute value of the quantized index contains a bin that specifies whether the quantized index is not equal to 0, this bin does not send the quantized index at the specified position (the coefficient is 0). (It is already known that it is not equal to), instead, the bin is estimated to be equal to 1.

● Binarization of the absolute value of the quantized index includes an adaptively encoded bin that specifies whether the quantized index is not equal to zero. The probabilistic model (called the context) used to encode this bin is selected from a set of candidate probabilistic models. The probabilistic model of the selected candidate may be determined by the state variables of the current quantized index, and may also be determined by the quantized index already transmitted for the transformation block. In a preferred embodiment, the state variable determines a subset of the available probability models (also called the context set), and the values of the already coded quantization index are the probabilities used within this subset (context set). Determine the model.

In a preferred embodiment, the stochastic model used in the context set is the value of the already coded quantization index at the local neighborhood 52 of the current conversion factor 50, i.e. the bin is currently coded / Determined based on the value of the coefficient being decoded, the context for the same need is determined. An example of such a local neighborhood 52 is shown in FIG. 12b. In the figure, the current conversion factor 50 is marked in black and the local neighborhood 52 is marked with diagonal lines. In the following, it can be derived based on the value of the quantization index of the coefficient 51 of the neighborhood within the local neighborhood 52, and then can be used to select a probabilistic model of a predetermined context set. Some exemplary processes are listed.

In addition, other data available to the decoder can be used (either explicitly or in combination with the processes listed above) to derive a probabilistic model within a predetermined context set. Such data includes:
○ Current conversion coefficient position (x-coordinate, y-coordinate, diagonal number or any combination thereof)
○ Current block size (vertical size, horizontal size, number of samples or any combination thereof)
○ Aspect ratio of the current conversion block

● Binarization of the absolute value of the quantized index includes an adaptively encoded bin that specifies whether the absolute value of the quantized index is greater than 1. The probabilistic model (called the context) used to encode this bin is selected from a set of candidate probabilistic models. The selected probabilistic model is determined by the quantized index already sent to the transform block. One of the above methods can be used to select a probabilistic model (for bins that specify whether the quantized index is not equal to 0).

既に上記で述べたように、係数12の量子化インデックスの二値化のビンの符号化順序は、ブロック10の符号化の効率に影響を与える。例えば、バイナリ決定(ビン)、典型的にはsig_flagのうちの少なくとも1つに対して選択された確率モデルは、現在の状態変数の値に依存する。そして、状態変数は先行する変換係数レベルのバイナリ関数path()によって決定されるので、現在の変換係数に対するsig_flag(または、より一般的には、確率モデルが状態変数に依存するバイナリシンタックス要素)を符号化する場合に、すべての先行する変換係数のためのパスが知られているように、ビンの符号化順序は配置されなければならない。 As already mentioned above, the coding order of the binarization bins of the binarized index with a factor of 12 affects the coding efficiency of block 10. For example, the probability model selected for at least one of the binary decisions (bins), typically sig_flag, depends on the value of the current state variable. And since the state variable is determined by the binary function path () at the preceding conversion factor level, sig_flag (or more generally, the binary syntax element whose stochastic model depends on the state variable) for the current conversion factor. The coding order of the bins must be arranged so that the path for all preceding conversion coefficients is known when encoding.

例えば、量子化インデックスの絶対値を指定するすべてのビンを連続的に符号化することができる。すなわち、符号化/再構成順序におけるすべての先行する量子化インデックスのすべてのビン(絶対値に対する)は、現在の量子化インデックスの最初のビンの前に符号化される。符号ビンは、(使用される量子化セットに実際に依存してもよい)変換係数にわたって別個の第2のパスで符号化されていてもなくてもよい。サブブロックの符号ビンは、サブブロックの絶対値に対するビンの後であるが、次のサブブロックに対するいずれかのビンの前に符号化され得る。 For example, all bins that specify the absolute value of the quantization index can be continuously encoded. That is, every bin (relative to the absolute value) of every preceding quantization index in the coding / reconstruction order is encoded before the first bin of the current quantization index. The code bin may or may not be coded in a separate second pass across the conversion factor (which may actually depend on the quantization set used). The sign bin of a subblock can be encoded after the bin for the absolute value of the subblock, but before any bin for the next subblock.

別の例では、量子化インデックスの絶対値を指定するビンのサブセットのみが、変換係数にわたって第1のパスにおいて連続的に符号化される。しかし、これらのビンは、状態変数を一意に指定する。残りのビンは、変換係数にわたって1つ以上の追加パスにおいて符号化される。パスが量子化インデックスのパリティによって指定されていると想定すると、パリティビンは変換係数にわたって第1のパスに含まれる。残りのビンは、1つ以上の追加パスで送信され得る。本発明の他の実施形態では、同様の概念が使用される。例えば、単項のビンの数は既に送信されたシンボルに基づいて変更すること、または適応することさえすることができる。異なるパスをサブブロックに基づいて使用することができ、この場合、サブブロックのビンは複数のパスで符号化されるが、サブブロックのすべてのビンは次のサブブロックのいずれかのビンが送信される前に送信される。 In another example, only a subset of bins that specify the absolute value of the quantization index are continuously encoded in the first pass over the conversion factor. However, these bins uniquely specify state variables. The remaining bins are encoded in one or more additional paths over the conversion factor. Assuming the path is specified by the parity of the quantized index, the parity bin is included in the first path over the conversion factor. The remaining bins may be sent with one or more additional paths. In other embodiments of the invention, similar concepts are used. For example, the number of unary bins can be changed or even adapted based on symbols already transmitted. Different paths can be used based on the subblock, in which case the bins of the subblock are encoded by multiple paths, but all bins of the subblock are sent by one of the following subblocks: Sent before it is done.

以下において、いくつかの例が複数のパスでバイナリの決定を符号化するために列挙される。

例A:
この例は上述の実施例3の二値化を使用し、パスがパリティによって与えられる。
●パス1:sig_flag, par_flag, gt1_flag
●パス2:gt2_flag
●パス3:remainder
●パス4:sig_flag, par_flag, gt1_flag

例B:
この例は上述の実施例3の二値化を使用し、パスがパリティによって与えられる。
●パス1:sig_flag, par_flag
●パス2:gt1_flag
●パス3:gt2_flag
●パス4:remainder
●パス5:sign bits

例C:
この例は上述の実施例1の二値化を使用し、絶対値が0よりも大きいか否かをパスが特定する。
●パス1:sig_flag
●パス2:gt1_flag
●パス3:gt2_flag
●パス4:remainder
●パス5:sign bits

例D:
この例は上述の実施例2の二値化を使用し、パスがパリティによって与えられる。
●パス1:sig_flag, gt1_flag, par_flag
●パス2:remainder
●パス3:sign bits

例E:
この例は上述の実施例2の二値化を追加のgt2_flagとともに使用し、パスがパリティによって与えられる。
●パス1:sig_flag, gt1_flag, par_flag, gt2_flag
●パス2:remainder
●パス3:sign bits
この例のわずかな修正として、gt2_flagを別々のパスで送信することもできる。
In the following, some examples are listed to encode the binary decision in multiple passes.

Example A:
This example uses the binarization of Example 3 above, where the path is given by parity.
● Path 1: sig_flag, par_flag, gt1_flag
● Pass 2: gt2_flag
● Pass 3: remainder
● Path 4: sig_flag, par_flag, gt1_flag

Example B:
This example uses the binarization of Example 3 above, where the path is given by parity.
● Path 1: sig_flag, par_flag
● Pass 2: gt1_flag
● Pass 3: gt2_flag
● Pass 4: remainder
● Path 5: sign bits

Example C:
This example uses the binarization of Example 1 above, where the path specifies whether the absolute value is greater than zero.
● Path 1: sig_flag
● Pass 2: gt1_flag
● Pass 3: gt2_flag
● Pass 4: remainder
● Path 5: sign bits

Example D:
This example uses the binarization of Example 2 above, where the path is given by parity.
● Path 1: sig_flag, gt1_flag, par_flag
● Pass 2: remainder
● Path 3: sign bits

Example E:
This example uses the binarization of Example 2 above with an additional gt2_flag and the path is given by parity.
● Path 1: sig_flag, gt1_flag, par_flag, gt2_flag
● Pass 2: remainder
● Path 3: sign bits
As a minor modification of this example, gt2_flag can also be sent on separate paths.

別の符号化順序または組み合わせが二値化され、符号化順序が可能である。 Another coding order or combination is binarized and the coding order is possible.

高スループットのデコーダの実装を可能にするために、可能な限り低い(性能を劣化させずに)コンテキスト符号化ビン(正の符号化ビンとも呼ばれる)の数を維持することが好ましい。これは、特定ビンの最大数を制限することによって(HEVCと同様に)達成され得る。残りの情報は、算術符号化エンジンのバイパスモードを使用して符号化される。
以下に説明するコンテキスト符号化ビンの最大数を低減する方法は、既に上記で提示された以下の態様のうちの1つ以上と組み合わされてもよい:

●変換係数の量子化のための再構成レベルの複数のセット。特に、2つのセット:第1のセットは量子化ステップサイズのすべての偶数の整数倍を含み、第2のセットは量子化ステップサイズのすべての奇数の整数倍およびゼロを含む。
(変換ブロック内の変換係数の少なくとも一部)

●再構成レベルの選択されたセットは、状態変数に依存する。状態変数は、再構成順序において第1の係数に対して0に等しく設定される。他のすべての係数について、以下が適用される。現在の変換係数の状態変数の値は、先行する変換係数レベルについての状態変数の値および先行する変換係数レベルの値のバイナリ関数(パス)によって決定される。

●変換係数レベルは二値化され、ビンはバイナリ算術符号化を使用してエントロピー符号化される。二値化はsig_flagを含み、変換係数レベルがゼロに等しくないか否かを指定する。このフラグは適応確率モデルを使用して符号化され、選択された確率モデルは現在の変換係数(および、潜在的には、他のパラメータ)の状態変数の値に依存する。
It is preferable to keep the number of context-coded bins (also known as positive-coded bins) as low as possible (without degrading performance) to allow implementation of high-throughput decoders. This can be achieved (similar to HEVC) by limiting the maximum number of specific bins. The rest of the information is encoded using the bypass mode of the arithmetic coding engine.
The methods described below for reducing the maximum number of context-encoding bins may be combined with one or more of the following embodiments already presented above:

● Multiple sets of reconstruction levels for the quantization of conversion coefficients. In particular, two sets: the first set contains all even integer multiples of the quantization step size, and the second set contains all odd integer multiples and zeros of the quantization step size.
(At least part of the conversion factor in the conversion block)

● The selected set of reconstruction levels depends on state variables. The state variable is set equal to 0 for the first coefficient in the reconstruction order. For all other coefficients, the following applies: The value of the state variable of the current conversion factor is determined by the binary function (path) of the value of the state variable for the preceding conversion factor level and the value of the preceding conversion factor level.

● Conversion factor levels are binarized and bins are entropy-coded using binary arithmetic coding. Binarization involves sig_flag and specifies whether the conversion factor level is not equal to zero. This flag is encoded using an adaptive probability model, and the selected probability model depends on the value of the state variable of the current conversion factor (and potentially other parameters).

以下では、従属スカラー量子化のためのコンテキスト符号化ビンの数を減少させるための複数の実施形態が説明される。これらの実施形態では、最悪の場合の復号の複雑さはサブブロックに基づいて制限される。典型的には、HEVCのように、より大きな変換ブロックが4×4サブブロックに分割され、以下が適用される:

●変換ブロックのシンタックスはシンタックス要素(例えば、coded_block_flag)を含み、変換ブロック内の非ゼロ変換係数レベルが存在するか否かを指定する。coded_block_flagが0に等しい場合、すべての変換係数レベルは0に等しく、変換ブロックに対してさらなるデータは送信されない;そうでなければ(coded_block_flagが1に等しい)、以下が適用される;

●スキャン順序における第1の有意変換係数のxおよびy座標が送信される(実際のスキャン順序が高周波から低周波数成分からのスキャンを指定するので、これは、ときどき最後の有意係数と呼ばれる);

●変換係数のスキャンは、サブブロック(典型的には4×4サブブロック)に基づいて処理する;サブブロックのすべての変換係数レベルは、任意の他のサブブロックの任意の変換係数レベルがコード化される前に符号化され、サブブロックは事前に定義されたスキャン順序で処理され、スキャン順序において最初の有意係数を含むサブブロックで開始され、DC係数を含むサブブロックで終了する。

●シンタックスはcoded_subblock_flagを含み、サブブロックが非ゼロ変換係数レベルを含むか否かを示す;スキャン順序において最初および最後のサブブロック(すなわち、スキャン順序において最初の有意係数を含むサブブロック、およびDC係数を含むサブブロック)の場合、このフラグは送信されないが、1に等しいと推定される;coded_subblock_flagが送信される場合、典型的には、サブブロックの開始時に送信される。

●coded_subblock_flagが1に等しい各サブブロックについて、変換係数レベルはサブブロックのスキャン位置にわたって複数のスキャンパスにおいて送信される。
In the following, a plurality of embodiments for reducing the number of context-coded bins for dependent scalar quantization will be described. In these embodiments, the worst-case decoding complexity is limited on the basis of subblocks. Typically, like HEVC, the larger conversion block is split into 4x4 subblocks and the following applies:

● The syntax of the conversion block contains a syntax element (eg coded_block_flag) and specifies whether or not there is a nonzero conversion factor level in the conversion block. If coded_block_flag is equal to 0, all conversion factor levels are equal to 0 and no further data is sent to the conversion block; otherwise (coded_block_flag is equal to 1), the following applies;

● The x and y coordinates of the first significant conversion factor in the scan order are transmitted (this is sometimes referred to as the last significance factor because the actual scan order specifies scans from high frequency to low frequency components);

● Scanning of conversion factors is based on subblocks (typically 4x4 subblocks); all conversion factor levels in a subblock are coded by any conversion factor level in any other subblock. Encoded before being encoded, the subblocks are processed in a predefined scan order, starting with the subblock containing the first significance factor in the scan order and ending with the subblock containing the DC factor.

● The syntax contains coded_subblock_flag, indicating whether the subblock contains a non-zero conversion factor level; the first and last subblocks in the scan order (ie, the subblock containing the first significance factor in the scan order, and DC. In the case of subblocks containing coefficients), this flag is not transmitted, but is presumed to be equal to 1; if coded_subblock_flag is transmitted, it is typically transmitted at the beginning of the subblock.

● For each subblock whose coded_subblock_flag is equal to 1, the conversion factor level is transmitted in multiple scan paths across the scan positions of the subblock.

以下の実施形態は、1に等しいcoded_subblock_flagを有するサブブロックに対する変換係数レベルの符号化に適用される。しかしながら、本実施形態はこの場合に限定されない。また、実施形態を適用して、(サブブロック構造なしに)変換ブロックを完成させることも可能である。このコンテキストでは、(上述したように)サブブロック構造を使用することも可能であるが、(以下に説明するように)最悪の場合の複雑さの制限を適用して、変換ブロックを完成させることが(個別にそれを制限することサブブロックに適用する代わりに)可能である。 The following embodiments apply to the conversion factor level coding for subblocks with coded_subblock_flag equal to 1. However, this embodiment is not limited to this case. It is also possible to apply embodiments to complete the conversion block (without a subblock structure). In this context, it is possible to use a subblock structure (as described above), but apply the worst-case complexity limits (as described below) to complete the conversion block. Is possible (instead of applying it to subblocks to limit it individually).

実施形態1
第1の実施形態では、変換係数レベルは複数のスキャンパスで符号化される。それは以下の特性を有する。
●従属量子化のための状態機械は変換係数レベルのパリティによって駆動され、すなわち、バイナリ関数パス(レベル)はその引数のパリティを返す;
●第1のパスにおけるsig_flagの確率モデルは、状態変数(および、任意に、デコーダに利用可能な他のパラメータ、上記を参照)の対応する値に基づいて選択される。
第1のパス:スキャン位置に関する第1のパスでは、以下のコンテキスト符号化ビンが送信される:
●sig_flagは、変換係数が0に等しくないか否かを示す;sig_flagが1に等しいと推定され得る場合(例えば、それは、変換ブロックにおいて最初の有意スキャン位置(xおよびy座標によって明示的にシグナリングされるもの)の場合である)、sig_flagは送信されない。
●sig_flagが1(符号化または推定された値)に等しい場合、以下は現在のスキャン位置に対して追加的に送信される:
○par_flagは、絶対値のパリティから1を引いた値を指定する。
○gt1_flagは、残余(絶対レベル−1−par_flag)/2によって与えられる)が0より大きいか否かを指定する。
●コンテキスト符号化ビンの予め定義された最大数に到達した場合、第1のパスは終了する。MAX_REG_BINSを第1のパスで送信できる最大ビン数とし、regBinsは依然として利用可能な正の符号化ビンの数を表す。次に、以下が適用される:
○regBinsは、初めにMAX_REG_BINSに等しく設定される;
○いずれかのビン(sig_flag, gt1_flag, par_flag)を符号化した後、regBinsは1だけ減少される
○スキャン位置に対するビン(sig_flag、ならびに、sig_flagが1に等しい場合、gt1_flag、par_flag)を送信したあと、依然として利用可能なビンregBinsの数は3未満である(すなわち、次のスキャン位置に対してsig_flag、par_flagおよびgt1_flagを送信することができない)場合、そのあと、第1のスキャンパスは終了する。
第2のパス:スキャン位置に関する第2のパスでは、以下のコンテキスト符号化ビンが送信される:
●スキャン位置のgt1_flagが1に等しい場合、gt2_flagが送信され、(絶対レベル−3−par_flag)/2)によって与えられる)残余が0より大きいか否かを指定する。
●コンテキスト符号化されたgt2_flagの予め定義された最大数が送信された場合、第2のパスは終了する。第1のパスにおいてデータが送信されていないスキャン位置に到達した(すなわち、そのようなスキャン位置に対して、第2のパスにおいてデータは送信されない)場合、第2のパスも終了する。
第3のパス:スキャン位置に関する第3のパスでは、絶対レベルの残余(すなわち、送信されたsig_flag、par_flag、gt1_flagおよびgt2_flagによって既に指定されていないデータ)がパス1でsig_flagが符号化されたすべてのスキャン位置に対して送信される。非バイナリシンタックス要素の残余は、構造化されたコード(ゴロム・ライス符号のような)を使用して二値化され、ビンは算術符号化エンジンのバイパスモードで符号化される。残余は以下のスキャン位置に対して送信される:
●全てのスキャン位置について、1に等しいgt2_flagが第2のパスで送信される:
これらのスキャン位置について、送信された非バイナリシンタックス要素の残余は、以下を指定する:
(絶対値−5−par_flag)/2
●全てのスキャン位置について、1に等しいgt1_flagが第1のパスで送信されたが、第2のパスでgt2_flagが送信されていない:
これらのスキャン位置について、送信された非バイナリシンタックス要素の残余は、以下を指定する:
(絶対値−3−par_flag)/2
第4のパス:第4のパスにおいて、第1のパスにおいてデータが送信されていないすべてのスキャン位置についての絶対レベルが符号化される。絶対レベルは、まず、構造化されたコードを使用して二値化され、使用されるコードは、現在の状態変数の値と同様にローカルアクティビティ測定に依存することができる。ビンは、算術符号化エンジンのバイパスモードを使用して送信される。
第5のパス:最後に、第5のパスにおいて、0に等しくないすべての変換係数レベルの符号が送信される。符号は、算術符号化エンジンのバイパスモードで送信される。
Embodiment 1
In the first embodiment, the conversion factor level is encoded by a plurality of scan passes. It has the following properties.
● The state machine for dependent quantization is driven by the parity of the transformation factor level, that is, the binary function path (level) returns the parity of its argument;
● The probability model of sig_flag in the first pass is selected based on the corresponding values of the state variables (and optionally other parameters available to the decoder, see above).
First pass: The first pass for the scan position sends the following context-coded bins:
● sig_flag indicates whether the conversion factor is not equal to 0; if sig_flag can be estimated to be equal to 1 (eg, it is explicitly signaled by the first significant scan position (x and y coordinates) in the conversion block. In the case of), sig_flag is not transmitted.
● If sig_flag is equal to 1 (encoded or estimated value), the following is additionally sent for the current scan position:
○ par_flag specifies the value obtained by subtracting 1 from the absolute value parity.
○ gt1_flag specifies whether or not the residue (given by absolute level -1-par_flag) / 2 is greater than 0.
● When the predefined maximum number of context-coded bins is reached, the first pass ends. MAX_REG_BINS is the maximum number of bins that can be transmitted on the first pass, and regBins represents the number of positively coded bins that are still available. Then the following applies:
○ regBins is initially set equally to MAX_REG_BINS;
○ After encoding any bin (sig_flag, gt1_flag, par_flag), regBins is decremented by 1. ○ After sending bins for the scan position (sig_flag, and gt1_flag, par_flag if sig_flag is equal to 1) If the number of bin regBins still available is less than 3 (ie, sig_flag, par_flag and gt1_flag cannot be sent to the next scan position), then the first scan pass ends.
Second pass: The second pass for the scan position sends the following context-coded bins:
● If gt1_flag at the scan position is equal to 1, gt2_flag is sent and specifies whether the residue (given by (absolute level -3-par_flag) / 2) is greater than 0.
● If a predefined maximum number of context-coded gt2_flags has been sent, the second pass ends. When the scan position where no data is transmitted in the first pass is reached (that is, no data is transmitted in the second pass for such a scan position), the second pass also ends.
Third pass: In the third pass with respect to the scan position, all sig_flag encoded in pass 1 with absolute level residuals (ie, data not already specified by the transmitted sig_flag, par_flag, gt1_flag and gt2_flag). Sent to the scan position of. The remainder of the non-binary syntax element is binarized using structured code (such as Golomb rice code) and the bins are encoded in the bypass mode of the arithmetic coding engine. The remainder is sent for the following scan positions:
● For all scan positions, gt2_flag equal to 1 is sent on the second pass:
For these scan positions, the residue of non-binary syntax elements sent specifies:
(Absolute value-5-par_flag) / 2
● For all scan positions, gt1_flag equal to 1 was sent in the first pass, but gt2_flag was not sent in the second pass:
For these scan positions, the residue of non-binary syntax elements sent specifies:
(Absolute value-3-par_flag) / 2
Fourth pass: In the fourth pass, the absolute levels for all scan positions where no data was transmitted in the first pass are encoded. The absolute level is first binarized using structured code, and the code used can rely on local activity measurements as well as the value of the current state variable. Bins are sent using the bypass mode of the arithmetic coding engine.
Fifth pass: Finally, in the fifth pass, the sign of all conversion factor levels not equal to 0 is transmitted. The code is transmitted in bypass mode of the arithmetic coding engine.

説明された実施形態の利点は、コンテキスト符号化ビンの数が、第1および第2のパスにおけるビンの数に制約されないバージョンと比較して、効率的に低減されることである。コンテキスト符号化ビンの符号化および復号はバイパスモードで符号化されるビンよりも多くの複雑な実装を必要とするので、複雑性は低減される。 The advantage of the embodiments described is that the number of context-encoded bins is efficiently reduced compared to a version that is not constrained by the number of bins in the first and second passes. Coding and decoding of context-coded bins requires more complex implementations than bins encoded in bypass mode, thus reducing complexity.

図13に示す擬似コードに基づいて上記の説明を例示する。図13は、上述した実施形態にかかる変換係数のブロックを復号するための方法を示すが、対応する符号化の実施形態は、すべての“decode“を“encode”に置き換えることによってそれから容易に導出することができる。 The above description will be illustrated based on the pseudo code shown in FIG. FIG. 13 shows a method for decoding a block of conversion coefficients according to the embodiment described above, wherein the corresponding coding embodiment is easily derived from it by replacing all "decodes" with "encodes". can do.

図13に示す擬似コードは、サブブロック14内の変換係数レベルの符号化/復号プロセスを示す。それはデコーダの観点から図示されている。データストリームからの復号は、ブロック10の変換係数の位置12をスキャン順序に従ってスキャンするパス601ないし605のシーケンスで行われる。二値化が使用され、すなわちフラグ/ビンが係数の量子化インデックスを定義に使用され、符号化/復号パスにおけるフラグおよび残余の符号化/復号の分配は以下で説明される実施形態において変更され、したがって、図13の説明は、以下で説明される実施形態にも適用される概観または概略説明の提供に集中する。 The pseudo code shown in FIG. 13 shows the coding / decoding process of the conversion factor level in the subblock 14. It is illustrated from the perspective of the decoder. Decoded from the data stream, to pass 60 1 to scan according to the position 12 the scan order of transform coefficients of the block 10 are performed in 60 5 sequences. Binarization is used, i.e. flags / bins are used to define the quantization index of the coefficients, and the distribution of flags and residues in the coding / decoding path is modified in the embodiments described below. Therefore, the description of FIG. 13 concentrates on providing an overview or schematic description that also applies to the embodiments described below.

パスの基本的なスキャン順序の可能性は、図12a,bに関して上記で説明されており、図12bにおける62で例示的に示しているが、パス601ないし605が変換ブロック10のすべての変換係数の位置12をスキャンする必要はないが、それらはスキャン順序62をすべて使用することに留意されたい;フラグタイプのいくつかについてのフラグは、図13に関して説明されるように、同じのパスで送信されてもよいが、他の可能性も存在する。 The basic possibilities scan order paths, FIG. 12a, have been described above with respect to b, are shown by way of example at 62 in FIG. 12b, to pass 60 1 60 5 all transform blocks 10 It is not necessary to scan position 12 of the conversion factor, but keep in mind that they use all scan sequences 62; flags for some of the flag types are the same path as described with respect to FIG. May be sent in, but there are other possibilities.

図13に示す予め定義された値MAX_REG_BINSおよびMAX_GT2_BINSは、パス1 601およびパス2 602のそれぞれにおいて正の符号化ビンの最大数を指定する。ブール変数firstSubblockは、現在のサブブロックが、図12aにおいて太字/黒の係数12を含むサブブロックのような、ブロック10に対して符号化/復号された符号化順序(変換ブロック内)の最初のサブブロックであるか否かを指定する。firstSigScanIdxは、変換ブロック10における第1の有意な変換係数の位置、すなわち変換ブロックシンタックスの開始時に明示的にシグナリングされる係数の位置に対応するスキャンインデックスを指定する。参照符号64は、今後、その位置を示すために使用される。minSubblockScanIdxおよびmaxSubblockScanIdxは、現在の、すなわち、現在復号/符号化されたサブブロックのためのスキャンインデックスの最小値および最大値を表す。第1のスキャンインデックス、startScanIdx、いずれかのデータが現在のサブブロック14に対して送信される、サブブロックがスキャン順序で第1の有意係数を含むか否かに依存することに留意されたい。この場合、第1のスキャンパスが第1の有意な変換係数64に対応するスキャンインデックスで開始する;そうでない場合は、第1のスキャンパスがサブブロック14での下左の係数位置のようなサブブロックの最小スキャンインデックスで開始する、または、言い換えると、DC位置66から最も離れた位置に、スキャン順序62が導かれる。再び、図13はサブブロック単位の符号化に使用する実施形態であるが、概念は係数en−blockを符号化することに関係し、または以下で説明する態様のいくつかをサブブロックに関連付けることができ、一方、他はブロック10の全体に関連するように容易に変更することができることに留意されたい。 The predefined values MAX_REG_BINS and MAX_GT2_BINS shown in FIG. 13 specify the maximum number of positively coded bins in each of paths 1 60 1 and 2 60 2. The Boolean variable firstSubblock is the first in a coding order (within a conversion block) in which the current subblock is coded / decoded for block 10, such as the subblock containing the bold / black factor 12 in FIG. 12a. Specifies whether it is a subblock. firstSigScanIdx specifies the scan index corresponding to the position of the first significant conversion factor in the conversion block 10, that is, the position of the coefficient explicitly signaled at the start of the conversion block syntax. Reference numeral 64 will be used in the future to indicate the position. minSubblockScanIdx and maxSubblockScanIdx represent the minimum and maximum scan indexes for the current, i.e., currently decoded / coded subblock. Note that the first scan index, startScanIdx, where any data is transmitted to the current subblock 14, depends on whether the subblock contains the first significance factor in the scan order. In this case, the first scan path starts at the scan index corresponding to the first significant conversion factor 64; otherwise, the first scan path is like the lower left coefficient position in subblock 14. Starting at the minimum scan index of the subblock, or in other words, the scan sequence 62 is guided to the position farthest from the DC position 66. Again, FIG. 13 is an embodiment used for subblock unit coding, but the concept relates to encoding the coefficients en-block, or associating some of the embodiments described below with subblocks. It should be noted that while others can be easily modified to relate to the whole block 10.

パス601ないし604のシーケンスでは、コンテキスト適応バイナリ算術符号化/復号は、例えば、現在記載される実施形態1において、sig_flag,par_flag,gt1_flagおよびgt2_flagを含む1つ以上のフラグタイプのセットからそれぞれ選択されるフラグまたはビンを符号化/復号するために使用され、可変長符号は残余値を符号化/復号するために使用される。すなわち、可変長符号の符号語のビンは、一様な非適応確率モデルを使用して、バイナリ算術符号化/復号エンジンのバイパスモードで符号化/復号され、個々のビンに対して1の圧縮率となる。したがって、各フラグおよび各残余値は、それぞれ、図12bにおける50によって示されるような、現在スキャンされている変換係数の位置について復号される。擬似コードでは、この現在位置は、パラメータまたはインデックスkによって示される。 In the sequence of the path 60 1 to 60 4, context adaptive binary arithmetic coding / decoding, for example, in the embodiment 1 described presently, sig_flag, par_flag, each from a set of one or more flags types including gt1_flag and gt2_flag Used to encode / decode the selected flag or bin, variable length code is used to encode / decode the residual value. That is, variable-length codeword bins are encoded / decoded in the bypass mode of the binary arithmetic coding / decoding engine using a uniform non-adaptive probability model, with one compression for each bin. It becomes a rate. Therefore, each flag and each residual value is decoded for the position of the currently scanned conversion factor, as shown by 50 in FIG. 12b, respectively. In pseudocode, this current position is indicated by a parameter or index k.

Figure 2022500966
Figure 2022500966

残余値が特定の現在のスキャン変換係数の位置50に対して符号化/復号される場合、残余値は、現在スキャンされている変換係数の位置に対して少なくとも1つのフラグが復号される場合、値ドメインから、または、現在スキャンされている変換係数の位置に対してフラグが復号されていない場合、初期値ドメインから、現在スキャンされている変換係数の位置に対する量子化インデックスの絶対値を一意に示す。これらの変換係数の位置に対して残余値が符号化/復号されておらず、1つ以上のフラグが符号化/復号される変換係数の位置は値ドメインを既に制限し、1つの絶対値のみを含むことに留意されたい。符号のように、変換係数が全く示されていない場合、本実施形態の場合であるが、必ずしも修正された実施形態を必要としないと想定されるように、同じことがバイパスモードで別々に符号化されてもよい。図13では、任意の非ゼロ量子化インデックスに対して独自のパス605において別々に符号化/復号されることが示されているが、これはさらなる実施形態に到達するために変更され得る。 If the residual value is encoded / decoded for the position 50 of the particular current scan conversion factor, then the residual value is the residual value if at least one flag is decoded for the position of the conversion factor currently being scanned. Uniquely from the value domain or from the initial value domain to the absolute value of the quantization index for the position of the currently scanned conversion factor if the flag has not been decoded for the position of the currently scanned conversion factor. show. The residual value is not coded / decoded for the position of these conversion factors, and the position of the conversion factor where one or more flags are coded / decoded already limits the value domain and only one absolute value. Please note that it includes. As in the sign, if no conversion factor is shown, it is the case of this embodiment, but the same is coded separately in bypass mode so that it is assumed that the modified embodiment is not necessarily required. It may be converted. In Figure 13, it has been separately shown to be encoded / decoded in the own path 60 5 with respect to any non-zero quantization indices, which can be changed to arrive at further embodiments.

従属量子化は、変換係数の位置の符号化されたセットの変換係数の位置の量子化インデックスを連続的に逆量子化するために使用される。この処理により、変換係数の位置のこのセットに対する再構成された変換係数が得られる。例えば、上記で概説されたような状態遷移を使用することができる。それは、スキャン順序62に従って状態遷移テーブルまたはトレリス線図を使用して、例えば図10に示すようなインデックスkを使用して示される現在の変換係数の位置について選択をすること72によって、その量子化インデックスは上述の概念によって一意に符号化/復号され、複数の再構成レベルのセット73から再構成されたレベルのセット、すなわち、図7のセット0およびセット1は、図7において”state“によって示される、状態遷移が現在の変換係数の位置について想定する状態に一意に基づき、量子化インデックスが再構成レベルのセットを指し示す、すなわち再構成された変換係数が前記再構成レベルに等しくセットされる、再構成レベルtrec[k]に量子化インデックスlevel[k]を逆量子化すること74によって、ならびに、現在の変換係数の位置、すなわちスキャン順序において現在の変換係数に続く変換係数の位置についての更新状態78を生成するために、従属量子化の間に現在スキャンされているものについて想定する状態遷移の状態を更新すること76によって、具体化されてもよい。更新76は、現在の変換係数の位置の量子化インデックス、図10において80で示すようなlevel[k]に依存して実行され、ここで、table82はこの終わりに使用される。同様に、選択されたレベルセットを使用する量子化は、エンコーダ側で行われる。 Dependent quantization is used to continuously dequantize the quantized index of the positions of the conversion coefficients in the coded set of positions of the conversion coefficients. This process yields a reconstructed conversion factor for this set of conversion factor positions. For example, state transitions as outlined above can be used. It is quantized by using a state transition table or trellis diagram according to scan sequence 62, for example by making a selection for the position of the current conversion factor shown using the index k as shown in FIG. The index is uniquely encoded / decoded by the above concept, and the set of levels reconstructed from the set 73 of the plurality of reconstruction levels, i.e., set 0 and set 1 of FIG. 7, is in FIG. 7 by "state". Shown, the quantized index points to a set of reconstruction levels, i.e., the reconstruction coefficients are set equal to the reconstruction levels, based on the states that the state transitions assume for the position of the current transformation coefficients. By dequantizing the quantization index level [k] to the reconstruction level trec [k] 74, and with respect to the position of the current conversion factor, i.e. the position of the conversion factor following the current conversion factor in the scan order. It may be embodied by updating the state of the assumed state transition for what is currently being scanned during dependent quantization to generate the updated state 78. Update 76 is performed depending on the quantized index of the position of the current conversion factor, level [k] as shown by 80 in FIG. 10, where table 82 is used at the end. Similarly, the quantization using the selected level set is done on the encoder side.

上記で例示されるように、状態遷移は、図10に記載されたベクトルの4つの要素に対応する4つの異なった状態の間で遷移してもよい。さらに、更新は、現在の変換係数の位置の量子化インデックス80に適用されるパリティ関数のようなバイナリ関数86に依存して第1の後続状態と第2の後続状態841および842との間を決定することによって実行されてもよく、第1の後続状態と第2の後続状態は、88で示されるように、現在の変換係数の位置の状態に依存する。が示される。エンコーダおよびデコーダは、予め決定された量子化ステップサイズ、すなわち図7ではΔ、図10では2shiftによって再構成されたレベルのセットをパラメータで表示され、予め決定された量子化ステップサイズに関する情報は、例えば、データストリーム中で送信される。さらに、図7に示すように、各再構成レベルセットは、現在の変換係数の位置についてのすべての再構成レベルのセットに対して一定であるかまたは有効である予め決定された量子化ステップサイズの整数倍から構成されてもよい。異なるステップサイズは、上述のスケーリング行列のために、1つのブロック10内の異なる係数に対して使用されてもよいことに留意されたい。複数の再構成レベルセットのうちの再構成レベルのセットの数は2としてもよく、複数の再構成レベルセットは、ゼロおよび予め決定された量子化ステップサイズの偶数倍を含む第1の再構成レベルセット、すなわちセット0、および予め決定された量子化ステップサイズの奇数倍を含む第2の再構成レベルセットを含み得る。 As illustrated above, state transitions may be transitions between four different states corresponding to the four elements of the vector shown in FIG. Further, the update depends on the binary function 86, such as the parity function applied to the quantization index 80 of the position of the current conversion factor, with the first successor state and the second successor states 84 1 and 84 2 . It may be performed by determining the interval, the first successor state and the second successor state depend on the state of the position of the current conversion factor, as indicated by 88. Is shown. The encoder and decoder predetermined quantization step size, i.e. in Fig. 7 delta, displays the reconstructed level set in the FIG. 10, 2 Shift parameter, the information about the predetermined quantization step size , For example, transmitted in a data stream. Further, as shown in FIG. 7, each reconstruction level set has a predetermined quantization step size that is constant or valid for all reconstruction level sets for the position of the current transformation factor. It may be composed of an integral multiple of. Note that different step sizes may be used for different coefficients in one block 10 due to the scaling matrix described above. Of the plurality of reconstruction level sets, the number of reconstruction level sets may be 2, and the plurality of reconstruction level sets are the first reconstruction including zero and an even multiple of the predetermined quantization step size. It may include a level set, i.e. set 0, and a second reconstruction level set containing an odd multiple of a predetermined quantization step size.

今までのところ、図13の説明は以下に説明する実施形態にも適用される。しかしながら、実施形態1は、コンテキスト適応性を使用して符号化されたフラグの数を制限するために、以下のメカニズムを使用する。特に、パスのシーケンスの特定のパスでは、すなわち図13に示すパス601では、sig_flagタイプのフラグは、第1のパスにおいて予め決定されたアボート基準をスキャン順序に従ってはじめて満たす予め決定された位置をまで符号化/復号されるだけである−“まで”とは本明細書において先行するおよび含む位置として理解されるべきであり、一方“[位置112]以降”の位置の参照は、位置112を除く位置112の後の位置を表すように理解されるべきである−。図13では、この方法においてsig_flagの数が制限されるだけでなく、par_flag,パス601におけるgt1_flagおよびパス602におけるgt2_flagの数も制限される。制限は二値化に影響を与えることに留意されたい:アボート基準が満たされるとすぐに、それぞれのフラグタイプは、スキャン順序における直前の予め決定された変換係数の位置に続く係数位置の定義にはもはや使用されない。すなわち、予め決定されたフラグタイプのフラグ、すなわち符号化/復号される数に制限の対象となるものは、スキャン順序においてあらかじめ決定された変換係数の位置に先行するおよび含む変換係数の位置に対してのみ符号化/復号される。したがって、図13では、パス601に関する、すなわちMAX_REG_BINSに関連する基準が満たされるとすぐに、スキャン順序における予め決定された変換係数の位置に続く変換係数の位置の符号化されたセットの各々について、パスのシーケンスの更なるパス、すなわち図13の場合のパス603において、残余値のうちの1つが符号化され、後者は直接的に、すなわち、それぞれ係数の量子化インデックスを符号化/復号するために使用されるフラグタイプのフラグのいずれかによって、初期値ドメインの先行する制限なしに、初期値ドメインのうちのそれぞれの変換係数の位置に対する量子化インデックスの絶対値を一意に示す。 So far, the description of FIG. 13 also applies to the embodiments described below. However, Embodiment 1 uses the following mechanism to limit the number of flags encoded using context adaptability. In particular, the particular path of a sequence of paths, namely the path 60 1 shown in FIG. 13, Sig_flag type flag, the first time meets predetermined position predetermined abort criteria according to the scan order in the first pass Only encoded / decoded up to-"to" should be understood herein as preceding and including positions, while "after [position 112]" position references refer to position 112. It should be understood to represent the position after the position 112 to be excluded. In Figure 13, not only the number of sig_flag is limited in this method, Par_flag, the number of gt2_flag in gt1_flag and path 60 2 in pass 60 1 is also limited. Note that the limit affects binarization: as soon as the abort criteria are met, each flag type defines a coefficient position following the position of the previous predetermined conversion factor in the scan order. Is no longer used. That is, a pre-determined flag type flag, i.e. subject to a limitation on the number of coded / decoded numbers, is relative to the position of the conversion factor preceding and including the position of the pre-determined conversion factor in the scan order. Only encoded / decoded. Thus, in Figure 13, about the path 60 1, i.e. as soon as the criteria associated with MAX_REG_BINS are satisfied, for each of the encoded set of positions of the transform coefficients following the position of the predetermined transform coefficients in scan order , further the path sequence of the path, i.e. the path 60 3 in the case of FIG. 13, one of the residual value is encoded, the latter directly, i.e., each encoding / decoding the quantization index coefficient Any of the flags of the flag type used to uniquely indicate the absolute value of the quantization index for the position of each conversion factor in the initial value domain, without the preceding restrictions of the initial value domain.

コンテキスト適応的に符号化/復号されたフラグの数を制限するための先ほど示した概念を説明するために、図13に加えて図14および図15を参照する。図14は、90における変換係数の量子化インデックスの絶対値についての初期値ドメインを示す。この初期値ドメインは、ゼロといずれかの最大値との間のすべての整数値を包含され得る。初期値ドメインはより大きい数に向かって開く区間であってもよい。初期値ドメイン90における整数値の数は、必ずしも2の累乗である必要はない。さらに、図14は、個々の量子化インデックスを表すことに関係する、すなわち、その絶対値を示すことに関係する、様々なフラグタイプを示す。特定の量子化インデックスの絶対値がゼロであるか否かを示すsig_flagタイプがある。すなわち、sig_flag92は初期値ドメイン90を2つのサブ部分に二分割される、すなわち、一方はゼロのみを含み、他方は他のすべての可能な値を含む。すなわち、図14の下側に示されるように、後者がゼロである場合には、sig_flagは量子化インデックスの絶対値を既に一意に示す。初期値ドメイン90の非ゼロ値は値ドメイン94を形成し、この値ドメイン94はフラグタイプpar_flagによってさらに二分割される、すなわち、一方は奇数値および他方は偶数値である。後者が非ゼロである場合のみ、par_flag96は特定の量子化インデックスのために存在する必要がある。par_flag96は、値ドメイン94を同じように二分割した半分のうちの1つに対して一意性を生じない。それは、次の結果として生じる(再帰的に定義された)値ドメインの半分を示し、したがって、次のフラグ、すなわちgt1_flag98はこの結果として生じる値ドメインをpar_flagの後で二分割し、さらに量子化インデックス値が奇数である場合、奇数の非ゼロ値100、および量子化インデックス値が偶数である場合、偶数の非ゼロ値102であることを示す。特に、1つの部分がそれぞれ値ドメインの最小奇数値100または値ドメインの最小非ゼロ偶数値102を単に含むように、gt1_flag98による二分割が実行される。他の部分は、それぞれのドメインのすべてのほかの値100/102を含む。値ドメインの残りの後者は、同じ方法で、すなわち、最小値は1つの部分を表し、他の値は他の部分を表す方法で、フラグgt2_flag104によってさらに二分割される。図14の下側に示されているように、このことは、後者がゼロになる場合、単にsig_flag92が特定の変換係数の量子化インデックスに対して符号化され、後者が絶対値1および2を含む値区間106に区分される場合、sig_flag,par_flagおよびgt1_flag 92,96および98は、特定の変換係数の特定の量子化インデックスを表すように符号化され、すべてのフラグ92,96,98および104は、値3および4を含む直後の値区間108に区分される場合、特定の変換係数の量子化インデックスの絶対値を表すように符号化され、追加的には、絶対値が初期値ドメイン90のうちの残りの区間110にある特定の変換係数の量子化インデックスの絶対値のために符号化される。フラグタイプのフラグ92,96および98は、第1のパス601において符号化される。フラグ104は、第2のパス602において符号化される。これらのフラグは、コンテキスト適応算術符号化を使用して符号化される。しかしながら、パス内で符号化されるフラグの数は制限されてもよく、図13によって制限されてもよい。図13の例では、パス601におけるフラグタイプのフラグの数はmax_rec_binsに制限される。パス601において符号化されたフラグの総数が、パス601において符号化/復号された最大の許容されたフラグの数を超えずに、パス601において符号化される可能性がある場合のみ、フラグタイプのフラグ92,96および98は、順序62に従って第1のパス内の現在アクセスされている変換係数の位置12に対して符号化される。図15では、パス601における許容フラグの最大数を超えない最後の変換係数の位置が112であることを示している。同様に、パス602において符号化されたフラグ104の総数が、パス602において符号化/復号された最大の許容されたフラグの数を超えずに、それがパス602において符号化される可能性がある場合のみ、フラグタイプのフラグ104は順序62に従って第2のパス内の現在アクセスされている変換係数の位置12に対して符号化される。図15では、パス602における許容フラグの最大数を超えない最後の変換係数の位置が116であることが示されている。 14 and 15 are referenced in addition to FIG. 13 to illustrate the concepts presented earlier for limiting the number of flags encoded / decoded in a context adaptive manner. FIG. 14 shows the initial value domain for the absolute value of the quantized index of the conversion factor at 90. This initial value domain can contain all integer values between zero and any of the maximum values. The initial domain may be an interval that opens toward a larger number. The number of integer values in the initial value domain 90 does not necessarily have to be a power of two. In addition, FIG. 14 shows various flag types related to representing individual quantization indexes, i.e., to showing their absolute value. There is a sig_flag type that indicates whether the absolute value of a particular quantization index is zero. That is, sig_flag 92 divides the initial value domain 90 into two subparts, i.e. one contains only zeros and the other contains all other possible values. That is, as shown in the lower part of FIG. 14, when the latter is zero, sig_flag already uniquely indicates the absolute value of the quantized index. The non-zero values of the initial value domain 90 form the value domain 94, which value domain 94 is further subdivided by the flag type par_flag, i.e. one is an odd value and the other is an even value. Only if the latter is non-zero, par_flag96 needs to be present for a particular quantization index. par_flag 96 does not create uniqueness for one of the similarly bisected halves of the value domain 94. It shows half of the resulting (recursively defined) value domain, so the next flag, gt1_flag98, divides this resulting value domain into two after par_flag and further quantizes the index. When the value is odd, it indicates an odd non-zero value 100, and when the quantization index value is even, it indicates an even non-zero value 102. In particular, the dichotomy by gt1_flag98 is performed such that one portion simply contains the minimum odd value 100 of the value domain or the minimum nonzero even value 102 of the value domain, respectively. Other parts include all other values 100/102 for each domain. The latter of the rest of the value domain is further subdivided by the flag gt2_flag104 in the same way, i.e., where the minimum value represents one part and the other value represents the other part. As shown at the bottom of FIG. 14, this means that if the latter is zero, then sig_flag92 is simply encoded for the quantized index of a particular conversion factor, the latter having absolute values 1 and 2. When divided into the inclusion interval 106, sig_flag, par_flag and gt1_flag 92, 96 and 98 are encoded to represent a particular quantization index of a particular conversion factor and all flags 92, 96, 98 and 104. Is encoded to represent the absolute value of the quantized index of a particular conversion coefficient when divided into the value interval 108 immediately after containing the values 3 and 4, and additionally the absolute value is the initial value domain 90. It is encoded for the absolute value of the quantization index of a particular conversion coefficient in the remaining interval 110 of. Flag type flags 92, 96 and 98 are encoded in the first pass 60 1. Flag 104 is encoded in the second pass 60 2. These flags are encoded using context-adaptive arithmetic coding. However, the number of flags encoded in the path may be limited or may be limited by FIG. In the example of FIG. 13, the number of flag types of flags in the path 60 1 is limited to Max_rec_bins. In the path 60 1 Total encoded flag, without exceeding the number of coded / decoded maximum permitted flag was in the path 60 1, if there is likely to be encoded in the path 60 1 Only , Flags of flag type 92, 96 and 98 are encoded for position 12 of the currently accessed conversion factor in the first path according to sequence 62. In Figure 15, shows that the position of the last transform coefficient that does not exceed the maximum number of permissible flag in the path 60 1 is 112. Similarly, the total number of encoded flag 104 in the path 60 2, without exceeding the maximum number of allowed flag in the path 60 2 encoded / decoded, it is encoded in the path 60 2 Only if possible, flag 104 of the flag type is encoded for position 12 of the currently accessed conversion factor in the second path according to sequence 62. In Figure 15, it is shown that the position of the last transform coefficient that does not exceed the maximum number of permissible flag in the path 60 2 is 116.

図15は、変換係数またはそれぞれのサブブロック14を有するそれらの量子化インデックスの符号化を示すが、すでに上記で示したように、図13の実施形態は図13のすべてのプロセスが全体としてブロック10に適用される限りにおいて、変更されてもよい。さらに、図15は、例えば、最初の非ゼロ変換係数の位置64を含むスキャン順序におけるサブブロックの後に続くサブブロックの場合のすべての係数を、変換係数の符号化されたセットが含む場合を示す。それに応じて、図15において斜線で示されるすべての変換係数の位置は、フラグタイプ92,96および98を含むように表される変換係数の量子化インデックスに関係する。したがって、第1のパス601では、これらのフラグタイプのフラグ92,96および98は、位置112までの変換係数12に対して符号化される。位置112までの変換係数12のいくつかについて、単にsig_flag92が符号化される必要があるが、一方、他のすべての3つのフラグタイプが含まれ、パス601において符号化/復号される。図15は、データストリームが、それに応じて、これらのフラグタイプのフラグ92,96および98がパス601内で符号化される対応する部分114を含むことを示す。位置112の後、パス601内で何も符号化/復号されない。第2のパス602では、スキャン順序62に従って、パス602の間に符号化され得るgt2_flagの最大数がある限り、すなわち、そのようなフラグの数がmax_gt2_binsを超えない限り、変換係数の位置12は再びトラバースされ、そのようなgt2_flagは、対応する量子化インデックスの絶対値が区間108および118を含む残りの値ドメイン部分内にあることをgt1_flag98が示す変換係数に対して符号化される。図15は、スキャン順序62に従ってクロスハッチされた位置116までのすべての変換係数の位置12を示し、単にハッチングされただけの位置112までの後続の変換係数の位置12からこれらの位置を区別する。位置112に続くすべての変換係数の位置12は、図15においてハッチングされていないことが示されている。パス602の間に符号化されたgt2_flag104は、部分114の直後に続くデータストリームの部分118に符号化される。位置116の後のパス602の間にさらなるデータは符号化されない。次の2つのパス603,604では、それは1つのパスの半分を形成するものとして解釈されてもよく、残余は部分118のすぐ後に続くデータストリームの部分120に符号化される。特に、部分120の第1のサブ部分において、パス603の間、位置112までの変換係数の位置12についての残余が符号化される。したがって、これらの残余は、クロスハッチされた変換係数の位置12、すなわち位置116までの変換係数の位置12に対する区間110、および単にハッチングされた変換係数の位置12、すなわち位置116の後に続く位置112までの位置の対する区間108および110を含む残りの値ドメインのうちの特定の変換係数の位置12の量子化インデックスの絶対値を示す。位置112までの変換係数の位置12の残余のサブ部分122の後に、パス604の間、位置112に続く変換係数の位置12ごと、すなわち、ハッチングされていない変換係数の位置12ごとがデータストリームに符号化される1つの残余のさらなるサブ部分124が存在する。後者の残余は、直接的に量子化インデックスを示す、すなわち、初期値ドメイン90のうちの直接的な絶対値を示す。このように、コンテキスト適応符号化フラグ92,96,98および104の数は低減され、バイパスモード、すなわち固定された等確率モードを使用して符号化されたビンの数、すなわち、残余の二値化のビンを増加させる。 FIG. 15 shows the coding of the conversion coefficients or their quantized indexes with their respective subblocks 14, but as already shown above, the embodiment of FIG. 13 is blocked by all processes of FIG. 13 as a whole. As long as it applies to 10, it may be changed. Further, FIG. 15 shows the case where the coded set of conversion coefficients contains, for example, all the coefficients in the case of the subblock following the subblock in the scan order including the position 64 of the first nonzero conversion factor. .. Accordingly, the positions of all conversion factors shown in diagonal lines in FIG. 15 relate to the quantized index of the conversion factors represented to include flag types 92, 96 and 98. Therefore, the first pass 60 1, these flags types of flags 92 and 96 and 98 are encoded with respect to the transform coefficients 12 to the position 112. For some transform coefficients 12 to the position 112, but simply sig_flag92 needs to be encoded, whereas, contains all of the other three flags types are encoded / decoded in the path 60 1. Figure 15 is a data stream, indicating that comprises accordingly, the corresponding portion 114 these flags types of flags 92, 96 and 98 are encoded by the path 60 within 1. After position 112, nothing is encoded / decoded in the path 60 within 1. In the second pass 60 2 , according to the scan sequence 62, as long as there is a maximum number of gt2_flags that can be encoded between passes 60 2 , i.e., as long as the number of such flags does not exceed max_gt2_bins, the position of the conversion factor. Twelve is traversed again and such gt2_flag is encoded for the conversion factor indicated by gt1_flag98 that the absolute value of the corresponding quantization index is within the remaining value domain portion including intervals 108 and 118. FIG. 15 shows the positions 12 of all conversion factors up to the cross-hatched position 116 according to the scan sequence 62 and distinguishes these positions from the subsequent conversion factor positions 12 up to the simply hatched position 112. .. Positions 12 of all conversion factors following position 112 are shown to be unhatched in FIG. The gt2_flag 104 encoded during the path 60 2 is encoded in the portion 118 of the data stream immediately following the portion 114. Additional data between the path 60 2 after the position 116 is not encoded. The following two paths 60 3, in 60 4, it may be interpreted as forming one half of one path, the remainder is encoded into portions 120 of the data stream immediately following the portion 118. In particular, in the first sub-portion of portion 120, between the path 60 3, the remainder is encoded in the position 12 of the transform coefficients to the position 112. Thus, these residues are the cross-hatched conversion factor position 12, the interval 110 for the conversion factor position 12 up to position 116, and simply the hatched conversion factor position 12, i.e. the position 112 following the position 116. Shows the absolute value of the quantized index at position 12 of a particular conversion factor in the remaining value domain, including intervals 108 and 110 for positions up to. After remaining sub-portion 122 of the position 12 of the transform coefficients to the position 112, while the path 60 4, each position 12 of transform coefficients following the position 112, i.e., each position 12 of the transformation coefficients which are not hatched data stream There is one additional subpart 124 of the remainder encoded by. The remainder of the latter directly indicates the quantized index, i.e., the direct absolute value of the initial domain 90. Thus, the number of context-adaptive coding flags 92, 96, 98 and 104 is reduced and the number of bins encoded using bypass mode, i.e. fixed equal probability mode, i.e. the residual binary. Increase the bin of conversion.

すなわち、図13において、前述したアボート基準は、第1のパスでデコードされたフラグの数が予め決定された閾値を超えるか否かに関する。sig_flagに加えて、タイプ96および98のフラグがカウントされる。 That is, in FIG. 13, the above-mentioned abort criterion relates to whether or not the number of flags decoded in the first pass exceeds a predetermined threshold. In addition to sig_flag, type 96 and 98 flags are counted.

現在スキャンされている変換係数の位置についての残余値を符号化/復号するための可変長コードは、ゴロム・ライス符号などの予め定義された可変長コードのセットから選択されてもよい。選択されたコードは、現在スキャンされている変換係数の位置が予め決定された変換係数の位置112まで位置しているか否か、すなわち、図15においてハッチングされた位置にあるか、またはスキャン順序62における予め決定された変換係数の位置112に続くか否かに依存して異なっていてもよく、図13の場合では、選択は、位置112および116の間に位置があるか否かに依存されてもよい。例えば、残余の符号化/復号はパス604よりもパス603において異なるVLCコード、または図13において128で図15の単にハッチングされた係数の残余を符号化/復号することは、図15において130で示すクロスハッチングされた係数の残余を符号化/復号する際に使用されるVLCコードと比較して、異なるコードを含んでさえいてもよい。選択は、指数ゴロム符号の順序または以下に説明するようなライスパラメータを選択するなどのパラメータ化可能なVLCコードのパラメータ化を含むことができる。代替的に、選択された可変長符号を示すパラメータは、パス603では一定に保たれ、予め決定された基準を満たす先行する変換係数の位置の量子化インデックスで徐々に変更され得る。または、二値化パラメータは、残余を符号化する際に、現在スキャンされている変換係数の位置の近傍における変換係数の位置の量子化インデックスに依存して選択されてもよい。この依存性は、例えば、図15においてすべてのハッチングされた位置について、スキャン順序62において先行する、または予め決定された変換係数の位置112である残余が符号化される現在の変換係数の位置の場合にのみ使用される。これに関するさらなる詳細が以下に概説される。 The variable length code for encoding / decoding the residual value for the position of the conversion factor currently being scanned may be selected from a set of predefined variable length codes such as Golomb rice code. The selected code is whether the currently scanned conversion factor position is located up to the predetermined conversion factor position 112, i.e., at the hatched position in FIG. 15, or the scan sequence 62. It may be different depending on whether or not it follows the position 112 of the predetermined conversion factor in FIG. 13, and in the case of FIG. 13, the selection depends on whether or not there is a position between the positions 112 and 116. May be. For example, different VLC code in pass 60 3 than the remainder of the coding / decoding path 60 4 or residual simply hatched coefficients of FIG. 15 in FIG. 13 in the 128 to encoding / decoding, is 15 It may even contain different codes as compared to the VLC code used in encoding / decoding the residue of the cross-hatched coefficients shown in 130. Selection can include parameterization of parameterizable VLC codes, such as the order of exponential Golomb codes or the selection of rice parameters as described below. Alternatively, the parameter indicating the selected variable length code is kept constant in the path 60 3, it may be gradually changed in the quantization index at the transform coefficients preceding satisfy predetermined criteria. Alternatively, the binarization parameter may be selected in encoding the residue depending on the quantization index of the position of the conversion factor in the vicinity of the position of the conversion factor currently being scanned. This dependency is, for example, for all hatched positions in FIG. 15 at the position of the current conversion factor, where the residue is encoded, which is the position 112 of the conversion factor that precedes or is predetermined in the scan sequence 62. Used only if. Further details on this are outlined below.

選択された/パラメータ化されたコー否から選択された符号語は、残余が符号化/復号される係数位置にも依存する:第1および第2のパス601,2のフラグ92,96,98および104によって表現可能な最大値を引いた量子化インデックスの絶対値、すなわち4足す1、すなわち5は表される、または量子化インデックスが属する係数の場合、任意の係数の量子化インデックスの残余の二値化によって、符号化されるVLCは、位置116までのどこかであり、第1のパス601のフラグ92,96,98によって表される最大値を引いた量子化インデックスの絶対値、すなわち2足す1、すなわち3は表される、または量子化インデックスが属する係数の場合、任意の係数の量子化インデックスの残余の二値化により符号化されるVLCは、位置116の後から位置112までのどこかにあり、量子化インデックスの絶対値は直接的に表される、または量子化インデックスが属する係数の場合、任意の係数の量子化インデックスの残余の二値化によって符号化されるVLCは位置112の後のどこかである。 Code word selected from the selected / parameterized code not, remainder also depends on the coefficient positions to be encoded / decoded: first and second paths 60 and second flags 92 and 96, The absolute value of the quantized index minus the maximum value that can be represented by 98 and 104, that is, 4 plus 1, that is, 5 is represented, or if the quantized index belongs to a coefficient, the remainder of the quantized index of any coefficient. by binarization, VLC encoded is somewhere to the position 116, the absolute value of the quantization index obtained by subtracting the maximum value represented by the first pass 60 of the flags 92,96,98 , That is, 2 plus 1, ie 3, is represented, or if the quantized index belongs to a coefficient, the VLC encoded by the binarization of the remainder of the quantized index of any coefficient is located after position 116. Somewhere up to 112, the absolute value of the quantized index is expressed directly, or in the case of the coefficient to which the quantized index belongs, it is encoded by the binarization of the remainder of the quantized index of any coefficient. The VLC is somewhere after position 112.

図13の実施形態のいくつかの変形例が適用されてもよい。例えば、gt2_flagは、別個のパス602において符号化/復号されず、第1のパス601に含まれ得る。次に、符号化されたgt2_flagの数は、第1のパス601におけるコンテキスト符号化ビンのカウントに含まれてもよく、利用可能なコンテキスト符号化ビンの数が4より小さい場合に第1のパスは終了される。すなわち、この場合では、コンテキスト符号化ビンの数に対する単一の閾値が使用される。代替的に、gt2_flagは全く送信されず、その場合、gt1_flagが1に等しい場合、残余は符号化される。
この実施形態の別の変形例では、1つ以上の追加のgtx_flagが含まれる。gt2_flagと同様に、これらのフラグは先行するgty_flag(y=x−1)が1に等しい場合にのみ符号化され、量子化インデックスの絶対値が先行するgtx_flagによって指定された最小の可能な値よりも大きいか否かを示す。次に、絶対値の再構成が以下によって与えられる。

absLevel = sig_flag + par_flag + 2 * ( gt1_flag + gt2_flag + gt3_flag + … + remainder ).

これらのフラグは、gt2_flagと同じパス(これは、gt2_flagが第1のパスに含まれる場合を含む)において、または1つ以上の追加のパスにおいて符号化することができる。後者の場合では、gtx_flagの数を制限するための更なる閾値を適用することができる。
Some modifications of the embodiment of FIG. 13 may be applied. For example, Gt2_flag is not encoded / decoded in a separate path 60 2, it may be included in the first pass 60 1. Next, the number of gt2_flag encoded may also be included in the count of the context coding bins in the first pass 60 1, the number of available context coding bin first if less than 4 The path ends. That is, in this case, a single threshold for the number of context-coded bins is used. Alternatively, gt2_flag is not transmitted at all, in which case the residue is encoded if gt1_flag is equal to 1.
Another variation of this embodiment includes one or more additional gtx_flags. Similar to gt2_flag, these flags are encoded only if the preceding gty_flag (y = x-1) is equal to 1, and the absolute value of the quantization index is greater than the minimum possible value specified by the preceding gtx_flag. Also indicates whether it is large or not. Next, the absolute value reconstruction is given by:

absLevel = sig_flag + par_flag + 2 * (gt1_flag + gt2_flag + gt3_flag + ... + reminder).

These flags can be encoded in the same path as gt2_flag, including when gt2_flag is included in the first path, or in one or more additional paths. In the latter case, additional thresholds can be applied to limit the number of gtx_flags.

以下に説明される第2の実施形態は、第1の実施形態と1つ態様において異なる:par_flagおよびgt1_flagの順序がスワップされる(したがって、これらのフラグの意味が変更される)。sig_flagが1に等しい場合には、第1のgt1_flagが送信され、これは変換係数レベルの絶対値が1より大きいか否かを指定する。そして、gt1_flagが1に等しい場合、par_flagは残余のパリティ(すなわち、絶対レベル−2)を指定する。第1の実施形態の場合と同様に、以下が適用される:
●従属量子化のための状態機械は変換係数レベルのパリティによって駆動され、すなわち、バイナリ関数パス(レベル)はその引数のパリティを返す;
●第1のパスにおけるsig_flagの確率モデルは、状態変数(および、任意に、デコーダに利用可能な他のパラメータ、上記を参照)の対応する値に基づいて選択される。
第1のパス:スキャン位置に関する第1のパスでは、以下のコンテキスト符号化ビンが送信される:
●sig_flagは、変換係数が0に等しくないか否かを示す;sig_flagが1に等しいと推定され得る場合(例えば、それは、変換ブロックにおいて最初の有意スキャン位置(xおよびy座標によって明示的にシグナリングされるもの)の場合である)、sig_flagは送信されない。
●sig_flagが1(符号化または推定された値)に等しい場合、以下は現在のスキャン位置に対して追加的に送信される:
○gt1_flagは、絶対値が1よりも大きいか否かを指定する;
○gt1_flagが1に等しい場合、par_flagは絶対レベルのパリティ−2を指定する;
●コンテキスト符号化ビンの予め定義された最大数に到達した場合、第1のパスは終了する。MAX_REG_BINSを第1のパスで送信できる最大ビン数とし、regBinsは依然として利用可能な正の符号化ビンの数を表す。次に、以下が適用される:
○regBinsは、初めにMAX_REG_BINSに等しく設定される;
○いずれかのビン(sig_flag, gt1_flag, par_flag)を符号化した後、regBinsは1だけ減少される;
○スキャン位置に対するビン(sig_flag、ならびに、適用可能な場合、gt1_flagおよびpar_flag)を送信したあと、依然として利用可能なビンの数regBinsは3未満である(すなわち、次のスキャン位置に対してsig_flag、par_flagおよびgt1_flagを送信することができない)場合、そのあと、第1のスキャンパスは終了する。
第2のパス:スキャン位置に関する第2のパスでは、以下のコンテキスト符号化ビンが送信される:
●スキャン位置におけるgt1_flagが1に等しい場合、gt2_flagが送信され、(絶対レベル−2−par_flag)/2)によって与えられる)残余が0より大きいか否かを指定する。
●コンテキスト符号化されたgt2_flagの予め定義された最大数が送信された場合、第2のパスは終了する。第1のパスにおいてデータが送信されていないスキャン位置に到達した(すなわち、そのようなスキャン位置に対して、第2のパスにおいてデータは送信されない)場合、第2のパスも終了する。
第3のパス:スキャン位置に関する第3のパスでは、絶対レベルの残余(すなわち、送信されたsig_flag、par_flag、gt1_flagおよびgt2_flagによって既に指定されていないデータ)がパス1でsig_flagが符号化されたすべてのスキャン位置に対して送信される。非バイナリシンタックス要素の残余は、構造化されたコード(ゴロム・ライス符号のような)を使用して二値化され、ビンは算術符号化エンジンのバイパスモードで符号化される。残余は以下のスキャン位置に対して送信される:
●すべてのスキャン位置について、1に等しいgt2_flagが第2のパスで送信される:
これらのスキャン位置について、送信された非バイナリシンタックス要素の残余は、以下を指定する:
(絶対値−4−par_flag)/2
●すべてのスキャン位置について、1に等しいgt1_flagが第1のパスで送信されたが、第2のパスでgt2_flagが送信されていない:
これらのスキャン位置について、送信された非バイナリシンタックス要素の残余は、以下を指定する:
(絶対値−2−par_flag)/2
第4のパス:第4のパスにおいて、第1のパスにおいてデータが送信されていないすべてのスキャン位置についての絶対レベルが符号化される。絶対レベルは、まず、構造化されたコードを使用して二値化され、使用されるコードは、現在の状態変数の値と同様にローカルアクティビティ測定に依存することができる。ビンは、算術符号化エンジンのバイパスモードを使用して送信される。
第5のパス:最後に、第5のパスにおいて、0に等しくないすべての変換係数レベルの符号が送信される。符号は、算術符号化エンジンのバイパスモードで送信される。
図16の擬似コードは、サブブロック内の変換係数レベルの符号化/復号プロセスをさらに示す。第1の実施形態と同様のコメントが適用される。図17は、図16に適応される図14の修正されたバージョンを示している。図15は、図16についても変更され、残余が位置112および116の間の係数に関係する値ドメインから開始するような詳細を除いて、すなわち、フラグ92,96および98を使用して最大値が表され、それは図13の場合は2であり、図16の場合は1である。図13の場合以外に見られるように、第1のパス601におけるフラグpar_flagの符号化/復号は、対応するスキャンされている変換係数の量子化インデックスが1より大きい大きさであることをフラグgt1_flagが示す変換係数の位置およびその後の変換係数の位置に対して排他的に行われる。図13の場合では、この符号化/復号は、対応するsig_flagによって示されている非ゼロの場合に必然的に実行される。
The second embodiment described below differs from the first embodiment in one embodiment: the order of par_flag and gt1_flag is swapped (thus changing the meaning of these flags). If sig_flag is equal to 1, the first gt1_flag is transmitted, which specifies whether the absolute value of the conversion factor level is greater than 1. And if gt1_flag is equal to 1, par_flag specifies the residual parity (ie, absolute level-2). As in the first embodiment, the following applies:
● The state machine for dependent quantization is driven by the parity of the transformation factor level, that is, the binary function path (level) returns the parity of its argument;
● The probability model of sig_flag in the first pass is selected based on the corresponding values of the state variables (and optionally other parameters available to the decoder, see above).
First pass: The first pass for the scan position sends the following context-coded bins:
● sig_flag indicates whether the conversion factor is not equal to 0; if sig_flag can be estimated to be equal to 1 (eg, it is explicitly signaled by the first significant scan position (x and y coordinates) in the conversion block. In the case of), sig_flag is not transmitted.
● If sig_flag is equal to 1 (encoded or estimated value), the following is additionally sent for the current scan position:
○ gt1_flag specifies whether or not the absolute value is greater than 1.
○ If gt1_flag is equal to 1, par_flag specifies the absolute level of parity-2;
● When the predefined maximum number of context-coded bins is reached, the first pass ends. MAX_REG_BINS is the maximum number of bins that can be transmitted on the first pass, and regBins represents the number of positively coded bins that are still available. Then the following applies:
○ regBins is initially set equally to MAX_REG_BINS;
○ After encoding any bin (sig_flag, gt1_flag, par_flag), regBins is decremented by 1;
○ After sending bins for a scan position (sig_flag and, if applicable, gt1_flag and par_flag), the number of bins regBins still available is less than 3 (ie, sig_flag, par_flag for the next scan position). And gt1_flag cannot be sent), then the first scan pass ends.
Second pass: The second pass for the scan position sends the following context-coded bins:
● If gt1_flag at the scan position is equal to 1, gt2_flag is sent and specifies whether the residue (given by (absolute level-2-par_flag) / 2) is greater than 0.
● If a predefined maximum number of context-coded gt2_flags has been sent, the second pass ends. When the scan position where no data is transmitted in the first pass is reached (that is, no data is transmitted in the second pass for such a scan position), the second pass also ends.
Third pass: In the third pass with respect to the scan position, all sig_flag encoded in pass 1 with absolute level residuals (ie, data not already specified by the transmitted sig_flag, par_flag, gt1_flag and gt2_flag). Sent to the scan position of. The remainder of the non-binary syntax element is binarized using structured code (such as Golomb rice code) and the bins are encoded in the bypass mode of the arithmetic coding engine. The remainder is sent for the following scan positions:
● For all scan positions, gt2_flag equal to 1 is sent on the second pass:
For these scan positions, the residue of non-binary syntax elements sent specifies:
(Absolute value -4-par_flag) / 2
● For all scan positions, gt1_flag equal to 1 was sent in the first pass, but gt2_flag was not sent in the second pass:
For these scan positions, the residue of non-binary syntax elements sent specifies:
(Absolute value -2-par_flag) / 2
Fourth pass: In the fourth pass, the absolute levels for all scan positions where no data was transmitted in the first pass are encoded. The absolute level is first binarized using structured code, and the code used can rely on local activity measurements as well as the value of the current state variable. Bins are sent using the bypass mode of the arithmetic coding engine.
Fifth pass: Finally, in the fifth pass, the sign of all conversion factor levels not equal to 0 is transmitted. The code is transmitted in bypass mode of the arithmetic coding engine.
The pseudo code in FIG. 16 further illustrates the coding / decoding process at the conversion factor level within the subblock. The same comments as in the first embodiment apply. FIG. 17 shows a modified version of FIG. 14 that applies to FIG. FIG. 15 is also modified for FIG. 16 except for details such that the residue starts from the value domain related to the coefficients between positions 112 and 116, i.e. the maximum value using flags 92, 96 and 98. Is represented, which is 2 in the case of FIG. 13 and 1 in the case of FIG. As it is seen in addition to the case of FIG. 13, the encoding / decoding of the flag par_flag in the first pass 60 1, the flag that quantization indices of transform coefficients that are corresponding scan is greater than one size It is performed exclusively for the position of the conversion coefficient indicated by gt1_flag and the position of the conversion coefficient thereafter. In the case of FIG. 13, this coding / decoding is necessarily performed in the non-zero case indicated by the corresponding sig_flag.

この実施形態の変形例では、gt2_flagは別のパスで符号化されず、第1のパスに含まれる。次に、符号化されたgt2_flagの数は第1のパスにおけるコンテキスト符号化ビンのカウントに含まれ、利用可能なコンテキスト符号化ビンの数が4よりも少ない場合に第1のパスを終了する。すなわち、この場合、コンテキスト符号化ビンの数に対する単一の閾値が使用される。 In a modification of this embodiment, gt2_flag is not encoded in another path and is included in the first path. The number of encoded gt2_flags is then included in the count of context-encoded bins in the first pass, ending the first pass if the number of available context-encoded bins is less than four. That is, in this case, a single threshold for the number of context-coded bins is used.

代替的に、gt2_flagは全く送信されず、その場合、gt1_flagが1に等しいとき、残余は符号化される。 Alternatively, gt2_flag is not transmitted at all, in which case the residue is encoded when gt1_flag is equal to 1.

この実施形態の別の変形例では、1つ以上の追加のgtx_flagが含まれる。gt2_flagと同様に、これらのフラグは、先行するgty_flag(y=x−1)が1に等しい場合にのみ符号化される。量子化インデックスの絶対値が先行するgtx_flagによって指定された最小の可能な値よりも大きいか否かを示す。次に、絶対値の再構成が以下によって与えられる。
absLevel = sig_flag + gt1_flag + par_flag + 2 * ( gt2_flag + gt3_flag + … + remainder )
これらのフラグは、gt2_flagと同じパスにおいて(これは、gt2_flagが第1パスに含まれる場合を含む)、または1つ以上の追加パスにおいて符号化され得る。後者の場合には、gtx_flagの数を制限するための更なる閾値を適用してもよい。
Another variation of this embodiment includes one or more additional gtx_flags. Similar to gt2_flag, these flags are encoded only if the preceding gty_flag (y = x-1) is equal to 1. Indicates whether the absolute value of the quantized index is greater than the minimum possible value specified by the preceding gtx_flag. Next, the absolute value reconstruction is given by:
absLevel = sig_flag + gt1_flag + par_flag + 2 * (gt2_flag + gt3_flag + ... + reminder)
These flags can be encoded in the same path as gt2_flag (including when gt2_flag is included in the first pass) or in one or more additional paths. In the latter case, additional thresholds may be applied to limit the number of gtx_flags.

第3の実施形態は、第1の実施形態と1つ態様において異なる:第1のパスにおけるsig_flagは、すべてのスキャン位置に対して符号化され、par_flagおよびgt1_flagの存在のみが、既に送信されたコンテキストコード化ビンの数によって決定される。第1の実施形態の場合と同様に、以下が適用される:
●従属量子化のための状態機械は変換係数レベルのパリティによって駆動され、すなわち、バイナリ関数パス(レベル)はその引数のパリティを返す;
●第1のパスにおけるsig_flagの確率モデルは、状態変数(および、任意に、デコーダに利用可能な他のパラメータ、上記を参照)の対応する値に基づいて選択される。
第1のパス:スキャン位置に関する第1のパスでは、以下のコンテキスト符号化ビンが送信される:
●sig_flagは、変換係数が0に等しくないか否かを示す;sig_flagが1に等しいと推定され得る場合(例えば、それは、変換ブロックにおいて最初の有意スキャン位置(xおよびy座標によって明示的にシグナリングされるもの)の場合である)、sig_flagは送信されない。
●sig_flagが1(符号化または推定された値)に等しい場合、以下は現在のスキャン位置に対して追加的に送信される:
○par_flagは、絶対レベルのパリティから1を引いた値を指定する;
○gt1_flagは、残余((絶対レベル−1−par_flag)/2)によって与えられる)が0よりも大きいか否かを指定する。
●コンテキスト符号化ビンの予め定義された最大数(符号化されたsig_flagを依然として含む)に到達した場合、par_flagおよびgt1_flagの送信がスキップされる。MAX_REG_BINSを第1のパスで送信できる最大ビン数とし、regBinsは依然として利用可能な正の符号化ビンの数を表す。次に、以下が適用される:
○regBinsは、初めにMAX_REG_BINSから第1のパスにおいて送信されたsig_flagを引いた値に等しく設定される(この数は、第1のパスについての第1のスキャンインデックス、サブブロックの最後のスキャンインデックスおよびサブブロックが第1の有意係数をスキャン順序に含むか否かの情報によって与えられる);
○いずれかのgt1_flagまたはpar_flagを符号化後、regBinsは1だけ減少される;
○スキャン位置に対するビン(sig_flag、ならびに、sig_flagが1に等しい場合、gt1_flag,par_flag)を送信後、依然として利用可能なビンの数regBinsは2未満である(すなわち、次のスキャン位置に対してpar_flagおよびgt1_flagを送信することができない)場合、そのあと、第1のスキャンパスにおいてすべての後続のスキャンインデックスについて、sig_flagのみが送信される。
第2のパス:スキャン位置に関する第2のパスでは、以下のコンテキスト符号化ビンが送信される:
●スキャン位置におけるgt1_flagが1に等しい場合、gt2_flagが送信され、残余(絶対レベル−3−par_flag)/2)によって与えられる)が0より大きいか否かを指定する。
●コンテキスト符号化されたgt2_flagの予め定義された最大数が送信された場合、第2のパスは終了する。1に等しいsig_flagのみが第1のパスにおいて送信されたスキャン位置に到達した(すなわち、そのようなスキャン位置に対して、第2のパスにおいてデータは送信されない)場合、第2のパスも終了する。
第3のパス:スキャン位置に関する第3のパスでは、絶対レベルの残余(すなわち、送信されたsig_flag、par_flag、gt1_flagおよびgt2_flagによって既に指定されていないデータ)がパス1でsig_flagおよびgt1_flagおよびpar_flagが符号化されたすべてのスキャン位置に対して送信される。非バイナリシンタックス要素の残余は、構造化されたコード(ゴロム・ライス符号のような)を使用して二値化され、ビンは算術符号化エンジンのバイパスモードで符号化される。残余は以下のスキャン位置に対して送信される:
●すべてのスキャン位置について、1に等しいgt2_flagが第2のパスで送信される:
これらのスキャン位置について、送信された非バイナリシンタックス要素の残余は、以下を指定する:
(絶対値−5−par_flag)/2
●すべてのスキャン位置について、1に等しいgt1_flagが第1のパスで送信されたが、第2のパスでgt2_flagが送信されていない:
これらのスキャン位置について、送信された非バイナリシンタックス要素の残余は、以下を指定する:
(絶対値−3−par_flag)/2
第4のパス:第4のパスにおいて、1を引いた絶対レベルはすべてのスキャン位置に対して符号化され、第1のパスにおいて1に等しいsig_flagのみが符号化される(しかしgt1_flagは送信されない)。残余(1を引いた絶対レベル)は、まず、構造化されたコードを使用して二値化され、使用されるコードは、現在の状態変数の値と同様にローカルアクティビティ測定に依存することができる。ビンは、算術符号化エンジンのバイパスモードを使用して送信される。
第5のパス:最後に、第5のパスにおいて、0に等しくないすべての変換係数レベルの符号が送信される。符号は、算術符号化エンジンのバイパスモードで送信される。
図18の擬似コードは、サブブロック内の変換係数レベルの符号化プロセスをさらに示す。第1の実施形態と同様のコメントが適用される。図14および図15は、図18についても変更され、スキャン順序62に従ってフラグ96および98はもはや符号化されておらず、一方でsig_flagはブロック全体で利用可能である位置を位置112が示すという事実を除いて、変換位置の下流の位置112に対する残余、すなわちハッチングされていないものは、対応する係数の量子化インデックスを表していないが、むしろ、残余がそのsig_flagが非ゼロを示し、1を引いた量子化インデックスの絶対レベルのみを示す、位置112の後の係数に対して符号化される。
The third embodiment differs from the first embodiment in one embodiment: the sig_flag in the first pass is encoded for all scan positions and only the presence of par_flag and gt1_flag has already been transmitted. Determined by the number of context coding bins. As in the first embodiment, the following applies:
● The state machine for dependent quantization is driven by the parity of the transformation factor level, that is, the binary function path (level) returns the parity of its argument;
● The probability model of sig_flag in the first pass is selected based on the corresponding values of the state variables (and optionally other parameters available to the decoder, see above).
First pass: The first pass for the scan position sends the following context-coded bins:
● sig_flag indicates whether the conversion factor is not equal to 0; if sig_flag can be estimated to be equal to 1 (eg, it is explicitly signaled by the first significant scan position (x and y coordinates) in the conversion block. In the case of), sig_flag is not transmitted.
● If sig_flag is equal to 1 (encoded or estimated value), the following is additionally sent for the current scan position:
○ par_flag specifies the value obtained by subtracting 1 from the absolute level parity;
○ gt1_flag specifies whether or not the residue (given by (absolute level-1-par_flag) / 2) is greater than 0.
● When the predefined maximum number of context-coded bins (which still contains the encoded sig_flag) is reached, the transmission of par_flag and gt1_flag is skipped. MAX_REG_BINS is the maximum number of bins that can be transmitted on the first pass, and regBins represents the number of positively coded bins that are still available. Then the following applies:
○ regBins is initially set equal to MAX_REG_BINS minus the sig_flag sent in the first pass (this number is the first scan index for the first pass, the last scan index of the subblock). And given by the information whether the subblock includes the first significance factor in the scan order);
○ After encoding any gt1_flag or par_flag, regBins is decremented by 1;
○ After sending bins for a scan position (sig_flag, and gt1_flag, par_flag if sig_flag is equal to 1), the number of bins still available regBins is less than 2 (ie, par_flag and for the next scan position). If gt1_flag cannot be transmitted), then only sig_flag is transmitted for all subsequent scan indexes in the first scan pass.
Second pass: The second pass for the scan position sends the following context-coded bins:
● If gt1_flag at the scan position is equal to 1, gt2_flag is sent and specifies whether the residue (given by absolute level -3-par_flag / 2) is greater than 0.
● If a predefined maximum number of context-coded gt2_flags has been sent, the second pass ends. If only sig_flag equal to 1 reaches the scan position transmitted in the first pass (ie, no data is transmitted in the second pass for such scan position), the second pass also ends. ..
Third pass: In the third pass with respect to the scan position, the absolute level residue (ie, the data not already specified by the transmitted sig_flag, par_flag, gt1_flag and gt2_flag) is coded in pass 1 with sig_flag and gt1_flag and par_flag. Sent for all converted scan positions. The remainder of the non-binary syntax element is binarized using structured code (such as Golomb rice code) and the bins are encoded in the bypass mode of the arithmetic coding engine. The remainder is sent for the following scan positions:
● For all scan positions, gt2_flag equal to 1 is sent on the second pass:
For these scan positions, the residue of non-binary syntax elements sent specifies:
(Absolute value-5-par_flag) / 2
● For all scan positions, gt1_flag equal to 1 was sent in the first pass, but gt2_flag was not sent in the second pass:
For these scan positions, the residue of non-binary syntax elements sent specifies:
(Absolute value-3-par_flag) / 2
Fourth pass: In the fourth pass, the absolute level minus 1 is encoded for all scan positions, and in the first pass only sig_flag equal to 1 is encoded (but gt1_flag is not transmitted). ). The residue (absolute level minus 1) is first binarized using structured code, and the code used may depend on local activity measurements as well as the value of the current state variable. can. Bins are sent using the bypass mode of the arithmetic coding engine.
Fifth pass: Finally, in the fifth pass, the sign of all conversion factor levels not equal to 0 is transmitted. The code is transmitted in bypass mode of the arithmetic coding engine.
The pseudo code in FIG. 18 further illustrates the coding process for the conversion factor level within the subblock. The same comments as in the first embodiment apply. 14 and 15 have also been modified for FIG. 18 and the fact that the coefficients 96 and 98 are no longer encoded according to the scan sequence 62, while the sig_flag indicates where position 112 is available throughout the block. Except for, the residue for position 112 downstream of the conversion position, i.e. unhatched, does not represent the quantized index of the corresponding coefficient, but rather the residue indicates that its sig_flag is non-zero and subtracts 1. It is encoded for the coefficient after position 112, which indicates only the absolute level of the quantized index.

1に等しい最初のsig_flagが符号化された後、状態変数は知られておらず、gt1_flag/par_flagが続かないことに留意されたい。したがって、後続のsig_flagについて、使用される確率モデルは、状態変数(先行するsig_flagについて、状態変数に依然として依存する)から独立して導出されなければならない。 Note that after the first sig_flag equal to 1 is encoded, the state variable is unknown and gt1_flag / par_flag does not follow. Therefore, for subsequent sig_flags, the probabilistic model used must be derived independently of the state variables (which still depend on the state variables for the preceding sig_flag).

実施形態3の以下の変形が可能である。
1.状態機械は、sig_flagによって駆動される(すなわち、変換係数レベルがゼロに等しいか否か、またはゼロに等しくないか否かの情報)。バイナリ関数パスは、レベルがゼロに等しくないか否かを指定する。この場合、パリティフラグは送信される必要がなく、以下のデータのみがsig_flagに付加されて送信される。
●第1パス:gt1_flag(sig_flagの送信が1に等しく;絶対レベルが0より大きいか否かを指定する;
●第2パス:gt2_flag(gt1_flagの送信が1に等しく;絶対レベルが2より大きいか否かを指定する。
これは、状態変数がすべてのsig_flagについて知られており、したがって、sig_flagを符号化するために使用される確率モデルが状態変数に基づいて選択され得るという利点を有する。さらに、gt1_flagは第1のパスから除去され、以下のように別個のパスで符号化されることができる。
●第1のパス:sig_flagの送信
●第2のパス:gt1_flagの送信(gt1_flagの最大数まで)
●第3のパス:gt2_flagの送信(gt2_flagの最大数まで)
●第4のパス:(a)1に等しいgt2_flagが送信された、(b)1に等しいgt1_flagが送信されたが、gt2_flagが送信されなかったスキャンインデックスの残余
●第5のパス:sig_flagが1に等しいが、gt1_flagが送信されなかったスキャン位置についての1を引いた絶対レベル
●第6のパス:0に等しくないすべての変換係数レベルについての符号
The following modifications of the third embodiment are possible.
1. 1. The state machine is driven by sig_flag (ie, information on whether the conversion factor level is equal to or not equal to zero). The binary function path specifies whether the level is not equal to zero. In this case, the parity flag does not need to be transmitted, and only the following data is added to sig_flag and transmitted.
● First pass: gt1_flag (sig_flag transmission is equal to 1; specifies whether the absolute level is greater than 0;
● Second pass: gt2_flag (sending gt1_flag is equal to 1; specifies whether the absolute level is greater than 2.
This has the advantage that the state variable is known for all sig_flags and therefore the probabilistic model used to encode the sig_flag can be selected based on the state variable. In addition, gt1_flag is removed from the first path and can be encoded in a separate path as follows:
● First path: transmission of sig_flag ● Second path: transmission of gt1_flag (up to the maximum number of gt1_flag)
● Third pass: transmission of gt2_flag (up to the maximum number of gt2_flag)
● Fourth pass: (a) gt2_flag equal to 1 was sent, (b) gt1_flag equal to 1 was sent, but gt2_flag was not sent Residual scan index ● Fifth pass: sig_flag is 1 Absolute level equal to, but minus 1 for scan positions where gt1_flag was not transmitted ● 6th pass: Code for all conversion factor levels not equal to 0

2.状態機械は、パリティ駆動状態機械から重要な駆動状態機械に切り替わる。それは以下を意味する。
●regBins(上記擬似コードで指定される)が2より大きいまたは2に等しいすべてのスキャンインデックスに対して、状態変数がパリティを使用して更新される(すなわち、バイナリ関数パスは変換係数レベルのパリティを指定する);
●regBinsが2よりも小さくなった後、状態変数は有意情報を使用して更新される(すなわち、バイナリ関数パス(レベル)は、レベルが0に等しくないか否かを指定する)。
これは、状態変数がすべてのsig_flagについて知られているという利点を有し、したがって、sig_flagを符号化するために使用される確率モデルは、状態変数に基づいて選択されてもよい。変形1(状態機械がsig_flagによって常に駆動される)とは対照的に、N次元空間におけるより高い圧縮密度、および次のより高い符号化効率が達成される。
2. 2. The state machine switches from a parity drive state machine to an important drive state machine. It means the following:
● For all scan indexes where regBins (specified in the pseudocode above) is greater than or equal to 2, state variables are updated using parity (ie, the binary function path is conversion factor level parity. );
● After regBins is less than 2, the state variables are updated with significant information (ie, the binary function path (level) specifies whether the level is not equal to 0).
This has the advantage that the state variables are known for all sig_flags, so the probabilistic model used to encode the sig_flag may be selected based on the state variables. In contrast to Transform 1 (the state machine is always driven by sig_flag), higher compression densities in N-dimensional space and the next higher coding efficiency are achieved.

すなわち、状態遷移している状態の更新は、図10においてkによって与えられる現在の変換係数の位置がスキャン順序62においてに先行するか、または予め決定された変換係数の位置112、すなわち図15においてハッチングされたものであるか、または後者の範囲を超える、すなわちスキャン601に関して、図15において示されるハッチングされていない位置であるか否かに依存するという程度に、単にパリティ駆動されるように記載された76で遷移している状態が、今のところ、変更されていてもよい。現在の変換係数の位置がスキャン順序62に従って予め決定された変換係数の位置112を越えない、すなわち変換係数の位置112より前に起こるまたは等しい場合、現在の変換係数の位置の第2のフラグタイプのフラグ96、すなわち前で記載するパリティにそのあとの更新が依存するが、現在の変換係数の位置がスキャン順序において予め決定された変換係数の位置に続く、すなわちスキャン順序62に従ってそれから超え、変換係数の位置の第1のフラグに更新が依存する、すなわち現在の係数のゼロ値に依存する。次いで、これは、予め決定されたの第1のフラグタイプのフラグをコンテキスト適応エントロピー復号するときに利用されてもよい、すなわち、本実施形態によれば、各係数の量子化インデックスの表現に関係するsig_flagが、パリティフラグおよびその符号化が112で停止されるgt1 flag以外の係数位置112を超える:したがって、予め決定された変換係数の位置112を先に起こる、含む、超えるすべての変換係数の位置に対して、状態遷移が現在スキャンされている変換係数の位置について想定される状態に依存して、デコーダおよびエンコーダが、現在スキャンされている変換係数についてそのようなsig_flagのコンテキストを決定することが可能である。 That is, the update of the state transitioning state is such that the position of the current conversion factor given by k in FIG. 10 precedes in the scan order 62, or in the predetermined conversion factor position 112, ie FIG. or those hatched, or exceeds the latter range, i.e. in the scan 60 1, to the extent that depends on whether a position that is not hatched shown in Figure 15, just as the parity drive The state transitioned at 76 described may have been changed so far. A second flag type of the current conversion factor position if the current conversion factor position does not exceed or is equal to or earlier than the conversion factor position 112, which is predetermined according to the scan order 62. Flag 96, i.e., the parity described earlier, depends on subsequent updates, but the position of the current conversion factor follows, i.e., exceeds the position of the predetermined conversion factor in the scan order, ie according to the scan order 62, and is converted. The update depends on the first flag of the position of the coefficient, i.e. it depends on the zero value of the current coefficient. This may then be utilized in context-adaptive entropy decoding of a predetermined first flag type flag, i.e., according to the present embodiment, relating to the representation of the quantized index of each coefficient. The sig_flag to exceed the coefficient position 112 other than the gt1 flag at which the parity flag and its coding are stopped at 112: therefore, for all conversion coefficients that occur first, include, and exceed the position 112 of the predetermined conversion coefficient. For a position, the decoder and encoder determine the context of such a sig_flag for the currently scanned conversion factor, depending on the expected state for the position of the conversion factor for which the state transition is currently being scanned. Is possible.

代替的に、状態更新は単にパリティ駆動されるような任意の方法で実行され、位置112までのsig_flagについてのコンテキストは位置112の後から独立して、従属量子化の状態に基づいて実行される。 Alternatively, state updates are performed in any way that is simply parity driven, and the context for sig_flag up to position 112 is performed independently of position 112 and based on the state of dependent quantization. ..

実施形態1と同様に、以下の変形が可能である。
●第1パスには、gt2_flagが含まれる;
●gt2_flagは全く符号化されない;
●追加のgtx_flagが符号化される。
Similar to the first embodiment, the following modifications are possible.
● The first pass includes gt2_flag;
● gt2_flag is not coded at all;
● An additional gtx_flag is encoded.

すなわち、第3の実施形態では、予め決定された第1のフラグタイプのフラグ92、すなわちsig_flag、および予め決定された第2のフラグタイプのフラグ96、すなわちpar_flagが存在し、他の実施形態の場合と同様に、第1の変換係数の位置に対する量子化インデックスの絶対値の値ドメインを制限するフラグが、スキャン順序62の第1の変換係数の位置に続く第2の変換係数の位置に対する量子化インデックスの絶対値の値ドメインを制限するフラグの前に符号化/復号されるように、それらが符号化/復号される。
すなわち、任意のsig_flag[k]およびpar_flag[k]は、sig_flag[k+1]およびpar_flag[k+1]の前に符号化/復号される。しかしながら、図13の場合以外では、予め決定された第2のフラグタイプのフラグ、すなわちpar_flagの符号化/復号は、図18において“startldxByass−1”によって示される予め決定された変換係数の位置112まで実行され、第1のパス601において、アボート基準はスキャン順序62に従ってはじめて満たす −例えば、第1のパス601における符号化されたフラグの数が、特定の閾値を超える− 予め決定された第1のフラグタイプのフラグ、すなわちsig_flagの符号化/復号は、予め決定された変換係数の位置112を超えてスキャン順序62において実行される、すなわち例えばすべての変換係数に対して、またはすべてではなく、位置64についての第1の非ゼロ量子化インデックスについて、いずれのアボート基準を調査することなく実行される。
That is, in the third embodiment, there is a predetermined first flag type flag 92, that is, sig_flag, and a predetermined second flag type flag 96, that is, par_flag. As in the case, the flag limiting the absolute value domain of the quantization index for the position of the first conversion coefficient is the quantum for the position of the second conversion coefficient following the position of the first conversion coefficient in scan sequence 62. They are encoded / decoded so that they are encoded / decoded before the flags that limit the absolute value domain of the quantized index.
That is, any sig_flag [k] and par_flag [k] are encoded / decoded before the sig_flag [k + 1] and par_flag [k + 1]. However, except in the case of FIG. 13, the coding / decoding of the predetermined second flag type flag, that is, par_flag, is the position 112 of the predetermined conversion factor shown by “startldxByass-1” in FIG. until runs, in the first pass 60 1, the abort criterion is first met in accordance with the scanning order 62 - for example, the number of encoded flag in the first pass 60 1, exceeds a certain threshold - is predetermined The coding / decoding of the flag of the first flag type, i.e. sig_flag, is performed in scan sequence 62 beyond the position 112 of the predetermined conversion factor, i.e., eg, for all conversion factors, or in all. Instead, the first non-zero quantization index for position 64 is performed without investigating any abort criteria.

第4の実施形態は、第3の実施形態と1つ態様において異なる:par_flagおよびgt1_flagの順序がスワップされる(そして、これらのフラグの意味がそれに応じて変更される)。sig_flagが1に等しい場合、第1のgt1_flagが送信され、変換係数レベルの絶対値が1より大きいか否かを指定しする。そして、gt1_flagが1に等しい場合、par_flagは、残余のパリティ(すなわち、絶対レベル−2)を指定する。第1の実施形態と同様に、以下が適用される:
●従属量子化のための状態機械は変換係数レベルのパリティによって駆動され、すなわち、バイナリ関数パス(レベル)はその引数のパリティを返す;
●第1のパスにおけるsig_flagの確率モデルは、状態変数(および、任意に、デコーダに利用可能な他のパラメータ、上記を参照)の値に基づいて選択される。
第1のパス:スキャン位置に関する第1のパスでは、以下のコンテキスト符号化ビンが送信される:
●sig_flagは、変換係数が0に等しくないか否かを示す;sig_flagが1に等しいと推定され得る場合(例えば、それは、変換ブロックにおいて最初の有意スキャン位置(xおよびy座標によって明示的にシグナリングされるもの)の場合である)、sig_flagは送信されない。
●sig_flagが1(符号化または推定された値)に等しい場合、そのあと、以下は現在のスキャン位置に対して追加的に送信される:
○gt1_flagは、絶対レベルが1よりも大きいか否かを指定する。
○gt1_flagが1に等しい場合、par_flagは、2を引いた絶対レベルのパリティを指定する。
●コンテキスト符号化ビンの予め定義された最大数(符号化されたsig_flagを依然として含む)に到達した場合、par_flagおよびgt1_flagの送信がスキップされる。MAX_REG_BINSを第1のパスで送信できる最大ビン数とし、regBinsは依然として利用可能な正の符号化ビンの数を表す。次に、以下が適用される:
○regBinsは、初めにMAX_REG_BINSから第1のパスにおいて送信されたsig_flagを引いた値に等しく設定される(この数は、第1のパスについての第1のスキャンインデックス、サブブロックの最後のスキャンインデックスおよびサブブロックが第1の有意係数をスキャン順序に含むか否かの情報によって与えられる);
○いずれかのgt1_flagまたはpar_flagを符号化後、regBinsは1だけ減少される;
○スキャン位置に対するビン(sig_flag、ならびに、sig_flagが1に等しい場合、gt1_flag,par_flag)を送信後、依然として利用可能なビンの数regBinsは2未満である(すなわち、次のスキャン位置に対してpar_flagおよびgt1_flagを送信することができない)場合、そのあと、第1のスキャンパスにおいてすべての後続のスキャンインデックスについて、sig_flagのみが送信される。
第2のパス:スキャン位置に関する第2のパスでは、以下のコンテキスト符号化ビンが送信される:
●スキャン位置におけるgt1_flagが1に等しい場合、gt2_flagが送信され、残余(絶対レベル−2−par_flag)/2)によって与えられる)が0より大きいか否かを指定する。
●コンテキスト符号化されたgt2_flagの予め定義された最大数が送信された場合、第2のパスは終了する。1に等しいskip_flagのみが第1のパスにおいて送信されたスキャン位置に到達した(すなわち、そのようなスキャン位置に対して、第2のパスにおいてデータは送信されない)場合、第2のパスも終了する。
第3のパス:スキャン位置に関する第3のパスでは、絶対レベルの残余(すなわち、送信されたsig_flag、par_flag、gt1_flagおよびgt2_flagによって既に指定されていないデータ)がパス1でsig_flagおよびgt1_flagおよびpar_flagが符号化されたすべてのスキャン位置に対して送信される。非バイナリシンタックス要素の残余は、構造化されたコード(ゴロム・ライス符号のような)を使用して二値化され、ビンは算術符号化エンジンのバイパスモードで符号化される。残余は以下のスキャン位置に対して送信される:
●すべてのスキャン位置について、1に等しいgt2_flagが第2のパスで送信される:
これらのスキャン位置について、送信された非バイナリシンタックス要素の残余は、以下を指定する:
(絶対値−4−par_flag)/2
●すべてのスキャン位置について、1に等しいgt1_flagが第1のパスで送信されたが、第2のパスでgt2_flagが送信されていない:
これらのスキャン位置について、送信された非バイナリシンタックス要素の残余は、以下を指定する:
(絶対値−2−par_flag)/2
第4のパス:第4のパスにおいて、1を引いた絶対レベルはすべてのスキャン位置に対して符号化され、第1のパスにおいて1に等しいsig_flagのみが符号化される(しかしgt1_flagは送信されない)。残余(1を引いた絶対レベル)は、まず、構造化されたコードを使用して二値化され、使用されるコードは、現在の状態変数の値と同様にローカルアクティビティ測定に依存することができる。ビンは、算術符号化エンジンのバイパスモードを使用して送信される。
第5のパス:最後に、第5のパスにおいて、0に等しくないすべての変換係数レベルの符号が送信される。符号は、算術符号化エンジンのバイパスモードで送信される。
図19の擬似コードは、サブブロック内の変換係数レベルの符号化プロセスをさらに示す。第1および第3の実施形態と同様のコメントが適用される。図17および図15は、図19についても変更される、しかしながら、図15において、残余が位置112および116の間の係数に関する残余、すなわち、フラグ92,96および98を使用して表現可能な最大値、図13の場合2、図19の場合1、の値ドメインの開始に変更される。
The fourth embodiment differs from the third embodiment in one embodiment: the order of par_flag and gt1_flag is swapped (and the meaning of these flags is changed accordingly). If sig_flag is equal to 1, the first gt1_flag is transmitted and specifies whether the absolute value of the conversion factor level is greater than 1. Then, if gt1_flag is equal to 1, par_flag specifies the residual parity (ie, absolute level-2). As in the first embodiment, the following applies:
● The state machine for dependent quantization is driven by the parity of the transformation factor level, that is, the binary function path (level) returns the parity of its argument;
● The stochastic model of sig_flag in the first pass is selected based on the values of state variables (and optionally other parameters available to the decoder, see above).
First pass: The first pass for the scan position sends the following context-coded bins:
● sig_flag indicates whether the conversion factor is not equal to 0; if sig_flag can be estimated to be equal to 1 (eg, it is explicitly signaled by the first significant scan position (x and y coordinates) in the conversion block. In the case of), sig_flag is not transmitted.
● If sig_flag is equal to 1 (encoded or estimated value), then the following is additionally sent for the current scan position:
○ gt1_flag specifies whether or not the absolute level is greater than 1.
If gt1_flag is equal to 1, par_flag specifies the absolute level parity minus 2.
● When the predefined maximum number of context-coded bins (which still contains the encoded sig_flag) is reached, the transmission of par_flag and gt1_flag is skipped. MAX_REG_BINS is the maximum number of bins that can be transmitted on the first pass, and regBins represents the number of positively coded bins that are still available. Then the following applies:
○ regBins is initially set equal to MAX_REG_BINS minus the sig_flag sent in the first pass (this number is the first scan index for the first pass, the last scan index of the subblock). And given by the information whether the subblock includes the first significance factor in the scan order);
○ After encoding any gt1_flag or par_flag, regBins is decremented by 1;
○ After sending bins for a scan position (sig_flag, and gt1_flag, par_flag if sig_flag is equal to 1), the number of bins still available regBins is less than 2 (ie, par_flag and for the next scan position). If gt1_flag cannot be transmitted), then only sig_flag is transmitted for all subsequent scan indexes in the first scan pass.
Second pass: The second pass for the scan position sends the following context-coded bins:
● If gt1_flag at the scan position is equal to 1, gt2_flag is sent and specifies whether the residue (given by absolute level -2-par_flag / 2)) is greater than 0.
● If a predefined maximum number of context-coded gt2_flags has been sent, the second pass ends. If only skip_flag equal to 1 reaches the scan position transmitted in the first pass (ie, no data is transmitted in the second path for such scan position), the second pass also ends. ..
Third pass: In the third pass with respect to the scan position, the absolute level residue (ie, the data not already specified by the transmitted sig_flag, par_flag, gt1_flag and gt2_flag) is coded in pass 1 with sig_flag and gt1_flag and par_flag. Sent for all converted scan positions. The remainder of the non-binary syntax element is binarized using structured code (such as Golomb rice code) and the bins are encoded in the bypass mode of the arithmetic coding engine. The remainder is sent for the following scan positions:
● For all scan positions, gt2_flag equal to 1 is sent on the second pass:
For these scan positions, the residue of non-binary syntax elements sent specifies:
(Absolute value -4-par_flag) / 2
● For all scan positions, gt1_flag equal to 1 was sent in the first pass, but gt2_flag was not sent in the second pass:
For these scan positions, the residue of non-binary syntax elements sent specifies:
(Absolute value -2-par_flag) / 2
Fourth pass: In the fourth pass, the absolute level minus 1 is encoded for all scan positions, and in the first pass only sig_flag equal to 1 is encoded (but gt1_flag is not transmitted). ). The residue (absolute level minus 1) is first binarized using structured code, and the code used may depend on local activity measurements as well as the value of the current state variable. can. Bins are sent using the bypass mode of the arithmetic coding engine.
Fifth pass: Finally, in the fifth pass, the sign of all conversion factor levels not equal to 0 is transmitted. The code is transmitted in bypass mode of the arithmetic coding engine.
The pseudo code in FIG. 19 further illustrates the coding process for the conversion factor level within the subblock. The same comments as in the first and third embodiments apply. 17 and 15 are also modified for FIG. 19, however, in FIG. 15, the residue is the remainder with respect to the coefficients between positions 112 and 116, i.e., the maximum that can be represented using flags 92, 96 and 98. The value is changed to the start of the value domain of 2, in the case of FIG. 13, and 1, in the case of FIG.

実施形態4について、実施形態3と同様の変形が可能である。これは、以下の態様を含む(実施形態2と同様である)。
●第1パスには、gt2_flagが含まれる;
●gt2_flagは全く符号化されない;
●追加のgtx_flagが符号化される。
The fourth embodiment can be modified in the same manner as the third embodiment. This includes the following aspects (similar to Embodiment 2).
● The first pass includes gt2_flag;
● gt2_flag is not coded at all;
● An additional gtx_flag is encoded.

Figure 2022500966
Figure 2022500966
Figure 2022500966
Figure 2022500966
Figure 2022500966
Figure 2022500966

Figure 2022500966
Figure 2022500966
Figure 2022500966
Figure 2022500966
Figure 2022500966
Figure 2022500966

Figure 2022500966
Figure 2022500966

Figure 2022500966
Figure 2022500966

すなわち、現在スキャンされている変換係数の位置についての残余値を符号化/復号するための可変長符号は、RPによって互いに異なるゴロム・ライス符号のセットのような、予め定義された可変長符号のセットから選択され得る。選択は、残余が符号化/復号される現在スキャンされている変換係数の位置が予め決定された変換係数の位置112まで位置するか、またはスキャン順序62におけるその下流に位置しているかに依存してもよい。すなわち、異なるRPが前者および後者の場合において選択されている。上述した方法1および2によれば、選択された可変長符号を示すRPパラメータは、一般に、パス603,4の間で一定に保たれてもよいが、方法1のように、ある限界を超えるような予め決定された基準を満たす先行する復号/符号化された変換係数の量子化インデックス、または、ある限界を超えるようないくつかの基準を満たす現在スキャンされている変換係数の位置の近傍において変換位置における量子化インデックスに徐々に変更され得る。例えば、残余が符号化された現在の変換係数の位置が、予め決定された変換係数の位置112まで、すなわち、図15においてのすべてのハッチングされた位置に対して、配置される場合にのみ、この依存性または増分変化を使用することができる。近傍の係数の量子化インデックスに加えて、従属量子化状態は、二値化符号パラメータを選択するために使用されてもよい。 That is, the variable length code for encoding / decoding the residual value for the position of the conversion factor currently being scanned is a predefined variable length code, such as a set of Golomb rice codes that differ from each other by RP. Can be selected from the set. The choice depends on whether the currently scanned conversion factor position where the residue is encoded / decoded is located up to the predetermined conversion factor position 112 or downstream of it in the scan sequence 62. May be. That is, different RPs are selected in the former and the latter cases. According to methods 1 and 2 described above, the RP parameters indicating the selected variable length code may generally be kept constant between the paths 60 3,4 , but as in method 1, certain limitations. Near the quantized index of the preceding decoded / coded conversion factor that meets a predetermined criterion that exceeds, or the position of the currently scanned conversion factor that meets some criteria that exceed a certain limit. Can be gradually changed to the quantized index at the conversion position. For example, only if the position of the current conversion factor with the residue encoded is placed up to the predetermined conversion factor position 112, i.e. for all hatched positions in FIG. You can use this dependency or incremental change. In addition to the quantized index of the coefficients in the neighborhood, the dependent quantized state may be used to select the binarized code parameter.

以下の態様は、上述の実施形態と組み合わせることが可能であるが、符号化効率を増大させるために、代替的に上述の実施形態に実装されてもよい。この態様は、1よりも大きい絶対値を有する変換係数レベルのいずれも含まないブロック/サブブロックの明示的なシグナリングに関する。

変換係数レベルを符号化するためのビンの数を減らすために、専用のフラグが変換ブロックまたはサブブロック単位で導入され、いずれにせよブロックまたはサブブロック内の絶対レベルのいずれかが1より大きいかをシグナリングする:
●coded_subblock_flagを有するサブブロックが1に等しい場合(符号化または推定)、第2のフラグがサブブロックのために送信される。このフラグ(gt1_subblock_flag)は、サブブロックが1より大きい絶対レベルを有する任意の変換係数レベルを含むか否かを指定する。
●gt1_subblock_flagが0に等しい場合、有意情報(sig_flag)および0に等しくない変換係数レベルの符号ビットのみが送信される。
●gt1_subblock_flagが1に等しい場合、変換係数レベルの符号化は、実施形態1ないし4に記載されるように進行する。サブブロック内の最後のスキャンインデックスに到達し、サブブロック内のすべての先行する絶対レベルが1に等しいとき、そのあと最後の絶対レベルが1よりも大きいと推定することが可能である、さらなる状態を含む可能性がある。−したがって、対応するgt1_flagは1に等しいと推定され得る。実施形態1および3についても、パリティフラグpar_flagは、この場合、0に等しいと推定され得る。
すべてのレベルが1に等しい絶対値を有することを指定するフラグを、変換ブロック全体に対して、その代わりにサブブロックに基づいて、送信することもできる。選択されたサブブロック(例えば、第1の有意係数を含むサブブロック)に対してのみ、このフラグを送信することも可能である。
The following embodiments can be combined with the above-described embodiments, but may be optionally implemented in the above-described embodiments in order to increase the coding efficiency. This aspect relates to explicit signaling of blocks / subblocks that do not contain any of the conversion factor levels with absolute values greater than 1.

Dedicated flags are introduced on a conversion block or subblock basis to reduce the number of bins for encoding conversion factor levels, and whether the absolute level within the block or subblock is greater than 1 in any case. Signaling:
● If the subblock with coded_subblock_flag is equal to 1 (encoded or estimated), a second flag is transmitted for the subblock. This flag (gt1_subblock_flag) specifies whether the subblock contains any conversion factor level with an absolute level greater than 1.
● If gt1_subblock_flag is equal to 0, only the significant information (sig_flag) and the sign bit of the conversion factor level not equal to 0 are transmitted.
● If gt1_subblock_flag is equal to 1, the coding of the conversion factor level proceeds as described in embodiments 1-4. Further states in which it is possible to estimate that when the last scan index in a subblock is reached and all preceding absolute levels in the subblock are equal to 1, then the last absolute level is greater than 1. May include. -Therefore, the corresponding gt1_flag can be estimated to be equal to 1. Also for embodiments 1 and 3, the parity flag par_flag can be estimated to be equal to 0 in this case.
A flag specifying that all levels have an absolute value equal to 1 can also be sent to the entire conversion block based on the subblock instead. It is also possible to send this flag only to the selected subblock (eg, the subblock containing the first significance factor).

すなわち、ここで、変換係数ブロック10は、以下の方法で符号化/復号される。変換係数ブロック10が分割されるサブブロック14の少なくとも1つのセットの各々について、各サブブロック14が量子化インデックスの絶対値が予め決定された非ゼロ閾値よりも大きい変換係数12を含むか否かなどを示すサブブロック重大フラグ、すなわちgt1_subblock_flagが送信される。量子化インデックスの絶対値が予め決定された非ゼロ閾値よりも大きい少なくとも1つの変換係数が存在することをサブブロック重大フラグが示す各サブブロック14内の変換係数ブロックの変換係数は、それぞれの変換係数の値ドメインを2つの部分に再帰的に二分割し、それぞれの変換係数の量子化インデックスが2つの部分のうちのどちらに存在するかを示す1つ以上のフラグ92,96,98,194または他のフラグのシーケンスを、それぞれのサブブロック内の変換係数の各々について順次符号化/復号することによって、前述したように符号化/復号され、値ドメインが符号付きの値を定義するように解釈される場合、値ドメインが単に1つの値または絶対的な意味で等しい値しか含まなくなるとすぐに、シーケンスの復号を停止することを伴う。値ドメインが絶対的な意味で異なる値を依然として1つ以上含む場合、値ドメインにおける各変換係数の量子化インデックスの絶対値を示す残余値は、符号化/復号される。しかしながら、
量子化インデックスの絶対値が予め決定された非ゼロ閾値よりも大きい変換係数が存在しないことをサブブロック重大フラグが示す各サブブロック内では、
各サブブロック内の変換係数のそれぞれについて1つ以上のフラグのシーケンス
の後続の復号が、
値ドメインが非ゼロ閾値を超えない1つの値のみ、単に1つの値または単に絶対的な意味で等しい値しか含まなくなるとすぐに停止される。各サブブロックにおけるすべての係数のインデックスが予め決定された非ゼロ閾値を越えないことによってサブブロック重大フラグによって示される要求を満たす、このような値の1つを各係数に対して以前に符号化/復号されたフラグによって決定されるように、残りの値ドメインまたは残りの値区間が単に含むという事実から、第1の停止基準は生じ、したがって、この値ドメインのこの1つの値は量子化インデックスである。
That is, here, the conversion coefficient block 10 is encoded / decoded by the following method. Whether or not each subblock 14 contains a conversion factor 12 whose absolute value of the quantization index is greater than a predetermined non-zero threshold for each of at least one set of subblocks 14 to which the conversion factor block 10 is divided. A subblock serious flag indicating such as, that is, gt1_subblock_flag is transmitted. The conversion factor of the conversion factor block in each subblock 14 that the subblock severity flag indicates that there is at least one conversion factor whose absolute value of the quantization index is greater than the predetermined non-zero threshold, is the respective conversion. Coefficient value One or more flags 92, 96, 98, 194 that recursively divide the domain into two parts and indicate in which of the two parts the quantized index of each conversion factor is located. Or the sequence of other flags is encoded / decoded as described above by sequentially encoding / decoding each of the conversion coefficients in each subblock so that the value domain defines the signed value. When interpreted, it involves stopping the decoding of the sequence as soon as the value domain contains only one value or an absolutely equal value. If the value domain still contains one or more values that differ in the absolute sense, the residual value indicating the absolute value of the quantized index of each conversion factor in the value domain is encoded / decoded. However,
Within each subblock where the subblock severity flag indicates that there is no conversion factor whose absolute value of the quantization index is greater than the predetermined non-zero threshold.
Subsequent decoding of a sequence of one or more flags for each of the conversion factors within each subblock
It is stopped as soon as the value domain contains only one value that does not exceed the nonzero threshold, just one value or just an absolutely equal value. One such value previously encoded for each coefficient, satisfying the requirement indicated by the subblock severity flag by not exceeding the index of all coefficients in each subblock above a predetermined non-zero threshold. The first stop criterion arises from the fact that the remaining value domain or the remaining value interval simply contains, as determined by the / decrypted flag, so this one value in this value domain is the quantized index. Is.

したがって、とりわけ、以下の実施形態が上記で説明された。 Thus, among other things, the following embodiments have been described above.

Figure 2022500966
Figure 2022500966
Figure 2022500966
Figure 2022500966

A2.4つの異なった状態間で、前記状態遷移の移行を実行するように構成される、実施形態B5またはA1のいずれかに記載の装置。 A2.4 The device of any of embodiments B5 or A1 configured to perform the transition of the state transition between four different states.

A3.前記状態遷移の前記状態を更新する際に、前記現在の変換係数の位置の前記量子化インデックスに適用されるバイナリ関数に依存して、第1の後続状態と第2の後続状態との間で決定することによって前記更新を実行するように構成され、前記第1の後続状態および前記第2の後続状態は前記現在の変換係数の位置の前記状態に依存する、実施形態B5またはA1−A2のいずれかに記載の装置。 A3. Depending on the binary function applied to the quantized index at the position of the current conversion factor in updating the state of the state transition, between the first and second successor states. Embodiment B5 or A1-A2, wherein the first successor state and the second successor state depend on the state at the position of the current conversion factor, configured to perform the update by determination. The device described in any.

A4.前記バイナリ関数は前記パリティまたはゼロを生じさせる、実施形態B5またはA1−A3のいずれかに記載の装置。 A4. The device of any of embodiments B5 or A1-A3, wherein the binary function produces said parity or zero.

A5.前記複数の量子化レベルセットを予め決定された量子化ステップサイズによってパラメータ化し、前記データストリームから前記予め決定された量子化ステップサイズに関する情報を導出するように構成される、実施形態B5またはA1−A4のいずれかに記載の装置。 A5. Embodiments B5 or A1- configured to parameterize the plurality of quantization level sets with a predetermined quantization step size and derive information about the predetermined quantization step size from the data stream. The device according to any one of A4.

A6.前記複数の量子化レベルセットのそれぞれは、前記複数の量子化レベルセットに対して一定である予め決定された量子化ステップサイズの倍数からなる、実施形態B5またはA1−A5のいずれかに記載の装置。 A6. The embodiment B5 or A1-A5, wherein each of the plurality of quantization level sets comprises a multiple of a predetermined quantization step size that is constant for the plurality of quantization level sets. Device.

A7.前記複数の量子化レベルセットのうちの前記量子化レベルセットの数は2であり、前記複数の量子化レベルセットは、ゼロおよび予め決定された量子化ステップサイズの偶数倍を含む第1の量子化レベルセットと、ゼロおよび前記予め決定された量子化ステップサイズの奇数倍を含む第2の量子化レベルセットとを含む、実施形態B5またはA1−A6のいずれかに記載の装置。 A7. Of the plurality of quantization level sets, the number of the quantization level sets is 2, and the plurality of quantization level sets are a first quantum containing zero and an even multiple of a predetermined quantization step size. The apparatus according to any of embodiments B5 or A1-A6, comprising a quantization level set and a second quantization level set comprising zero and an odd multiple of the predetermined quantization step size.

A8.前記デコーダは、前記パスのシーケンスのうちの第1のパスにおいて、1)第1の変換係数の位置についての量子化インデックスの絶対値の前記値ドメインを制限するフラグが、スキャン順序において前記第1の変換係数の位置に続く第2の変換係数の位置についての量子化インデックスの絶対値の前記値ドメインを制限するフラグの前に復号されるように(すなわち、任意のsig_flag[k+1] および par_flag[k+1] の前の任意のsig_flag[k] および par_flag[k] )、予め決定された第1のフラグタイプのフラグ(例えば、sig_flag)および予め決定された第2のフラグタイプのフラグ(例えば、par_flag)を前記データストリームから復号し(例えば、実施形態3および4)、ここで、前記予め決定された第2のフラグタイプのフラグの前記復号は、前記第1のパスにおいて、予め決定されたアボート基準が前記スキャン順序においてはじめて満たされる(例えば、第1のパスにいて符号化されたフラグの数が特定の閾値を超える)予め決定された変換係数の位置(例えば、実施形態3: startIdxBypass−1)まで実行され、前記予め決定された第1のフラグタイプのフラグの前記復号は、前記スキャン順序において前記予め決定された変換係数の位置(符号化されたセットのすべてについて、または、任意のアボート基準が測定されていない第1の非ゼロ量子化インデックスについて)を超えて実行され、前記予め決定された第1のフラグタイプの前記フラグは前記現在スキャンされている変換係数の前記量子化インデックスがゼロであるか否かを示す(例えば、sig_flag)、実施形態A1−A7のいずれかに記載の装置。 A8. In the first pass of the sequence of the paths, the decoder has a flag in the scan order that limits the value domain of the absolute value of the quantization index for the position of the first conversion factor. To be decoded before the flag limiting the value domain of the absolute value of the quantization index for the position of the second conversion factor following the position of the conversion factor of (ie, any sig_flag [k + 1] and par_flag [i.e. Any sig_flag [k] and par_flag [k] before k + 1], a predetermined first flag type flag (eg, sig_flag) and a predetermined second flag type flag (eg, par_flag). ) From the data stream (eg, embodiments 3 and 4), wherein the decoding of the predetermined second flag type flag is predetermined abort in the first pass. Predetermined conversion factor positions (eg, embodiment 3: startIdxBypass-1) where the criteria are met for the first time in said scan order (eg, the number of encoded flags in the first pass exceeds a certain threshold). ), And the decoding of the predetermined first flag type flag is performed in the scan order for the position of the predetermined conversion factor (for all of the encoded sets, or any abort). For the first non-zero quantization index where the reference has not been measured), the flag of the predetermined first flag type is the quantization index of the currently scanned conversion factor. The device according to any one of embodiments A1-A7, which indicates whether or not it is zero (eg, sig_flag).

A9.前記予め決定された第2のフラグタイプの前記フラグは、前記現在スキャンされている変換係数についての前記量子化インデックスの前記パリティを示す、実施形態A8に記載の装置。 A9. The apparatus of embodiment A8, wherein the flag of the predetermined second flag type indicates the parity of the quantized index for the currently scanned conversion factor.

A10.前記第1のパスにおいて、前記第1の予め決定されたフラグタイプの前記フラグが前記現在スキャンされている変換係数の前記量子化インデックスが非ゼロであることを示す変換係数の位置およびその後の変換係数の位置について排他的に、前記第2の予め決定されたフラグタイプの前記フラグを復号するように構成される、先行する実施形態A8−A9のいずれかに記載の装置。 A10. In the first pass, the position of the conversion factor and subsequent conversion indicating that the quantization index of the conversion factor in which the flag of the first predetermined flag type is currently scanned is non-zero. The apparatus according to any of the preceding embodiments A8-A9, configured to exclusively decode the flag of the second predetermined flag type with respect to the position of the coefficients.

A11.前記予め決定されたアボート基準は、前記第1のパスにおいて復号されるフラグの数が予め決定された閾値を超えることに関連する、実施形態A8に記載の装置。 A11. The apparatus according to embodiment A8, wherein the predetermined abort criterion is related to the number of flags decoded in the first pass exceeding a predetermined threshold.

A12.前記第1のパスにおいて、前記現在スキャンされている変換係数の位置についての前記量子化インデックスが、絶対値に関して、前記値ドメイン内の最小値であることを想定するか否かを示す第3の予め決定されたフラグタイプのフラグも復号するように構成される、先行する実施形態A8−A11のいずれかに記載の装置。 A12. A third, indicating whether or not in the first pass, the quantization index for the position of the currently scanned conversion factor is assumed to be the smallest value within the value domain with respect to the absolute value. The apparatus according to any of the preceding embodiments A8-A11, which is configured to also decode a flag of a predetermined flag type.

A13.前記第1のパスにおいて、前記現在スキャンされている変換係数についての前記量子化インデックスが非ゼロであることを前記第1の予め決定されたフラグタイプの前記フラグが示す変換係数の位置およびその後の変換係数の位置について排他的に、前記第3の予め決定されたフラグタイプの前記フラグを復号するように構成される、実施形態A12に記載の装置。 A13. In the first pass, the position of the conversion factor indicated by the flag of the first predetermined flag type that the quantization index for the currently scanned conversion factor is non-zero and thereafter. The apparatus according to embodiment A12, which is configured to exclusively decode the flag of the third predetermined flag type with respect to the position of the conversion factor.

A14.前記第1のパスにおいて、前記現在スキャンされている変換係数の位置についての前記量子化インデックスが非ゼロであることを前記第1の予め決定されたフラグタイプの前記フラグが示す変換係数の位置およびその後の変換係数の位置について、前記第2の予め決定されたフラグタイプの前記フラグの後に前記第3の予め決定されたフラグタイプの前記フラグを復号するように構成される、実施形態A13(例えば、実施形態3)に記載の装置。 A14. In the first pass, the position of the conversion factor and the position of the conversion factor indicated by the flag of the first predetermined flag type that the quantization index for the position of the currently scanned conversion factor is non-zero. Embodiment A13 (eg,) configured to decode the flag of the third predetermined flag type after the flag of the second predetermined flag type with respect to the position of the subsequent conversion factor. , The apparatus according to the third embodiment).

A15.前記第1のパスにおいて、前記現在スキャンされている変換係数の位置についての前記量子化インデックスが非ゼロであることを前記第1の予め決定されたフラグタイプの前記フラグが示す変換係数の位置およびその後の変換係数の位置について、前記第3の予め決定されたフラグタイプの前記フラグが1よりも大きい大きさを示す変換係数の位置について排他的に、前記第2の予め決定されたフラグタイプの前記フラグを復号するように構成される、実施形態A13(例えば、実施形態4)に記載の装置。 A15. In the first pass, the position of the conversion factor and the position of the conversion factor indicated by the flag of the first predetermined flag type that the quantization index for the position of the currently scanned conversion factor is non-zero. With respect to the position of the conversion coefficient thereafter, the position of the conversion coefficient indicating that the flag of the third predetermined flag type has a magnitude larger than 1 is exclusively for the position of the second predetermined flag type. The device according to embodiment A13 (eg, embodiment 4) configured to decode the flag.

A16.前記第1のパスに続く第2のパスおいて、前記現在スキャンされている変換係数の位置についての前記量子化インデックスが、絶対値に関して、前記値ドメイン内の最小値であることを前記第1のパスにおいて復号されるフラグによって制限されるように想定するか否かを示す第4の予め決定されたフラグタイプのフラグも復号するように構成される、先行する実施形態A8−A15のいずれかに記載の装置。 A16. In the second pass following the first pass, the first that the quantization index for the position of the currently scanned conversion factor is the smallest value in the value domain with respect to the absolute value. Any of the preceding embodiments A8-A15 configured to also decode a flag of a fourth predetermined flag type indicating whether or not it is expected to be restricted by the flag being decoded in the path of. The device described in.

A17.前記第2のパスに続く1つ以上の追加のパスにおいて、前記残余値を復号するように構成される、実施形態A16に記載の装置。 A17. The apparatus according to embodiment A16, which is configured to decode the residual value in one or more additional paths following the second path.

A18.前記第1のパスに続く1つ以上のパスにおいて、前記残余値を復号するように構成される、実施形態A8−A17に記載の装置。 A18. The apparatus according to embodiment A8-A17, which is configured to decode the residual value in one or more paths following the first path.

A19.最後のパスにおいて、非ゼロ変換係数の符号を復号するように構成される、実施形態A8−A18に記載の装置。 A19. The apparatus according to embodiment A8-A18, which is configured to decode the sign of the non-zero conversion factor in the last pass.

A20.前記デコーダは、1)前記状態遷移において、−前記現在の変換係数の位置が、スキャン順序において前記予め決定された変換係数の位置に先行する、または、前記予め決定された変換係数の位置に等しい場合には、前記それぞれの変換係数の位置に対して−、前記現在の変換係数の位置の前記第2のフラグタイプの前記フラグ(例えば、実施形態3:par_flag)に依存して、−前記現在の変換係数の位置が、スキャン順序において前記予め決定された変換係数の位置に続く場合には、前記それぞれの変換係数の位置に対して−、前記現在の変換係数の位置の前記第1のフラグタイプの前記フラグ(例えば、実施形態3:パス(レベル)はゼロを生じさせる)に依存して、前記状態遷移の前記状態の前記更新を実行するように構成され(例えば、実施形態3、第2の変形例“2.状態機械は、パリティ駆動状態機械から重要な駆動状態機械に切り替わる。”)、2)前記コンテキスト適応エントロピー復号において、前記状態遷移が前記現在のスキャンされている変換係数の位置について想定する前記状態に依存して、前記予め決定された変換係数の位置に先行する、それを含むおよびそれに続くすべての前記変換係数の位置に対して、前記現在のスキャンされている変換係数についての前記予め決定された第1のフラグタイプのフラグを復号するためのコンテキストを決定するように構成される、先行する実施形態A8−A19のいずれかに記載の装置。 A20. The decoder 1) in the state transition-the position of the current conversion factor precedes or equals the position of the predetermined conversion factor in the scan order. In some cases, for the position of each of the conversion factors-depending on the flag of the second flag type of the position of the current conversion factor (eg, embodiment 3: par_flag)-the present. If the position of the conversion factor of is followed by the position of the predetermined conversion factor in the scan order, then-with respect to the position of the respective conversion factor, the first flag of the position of the current conversion factor. Depending on the type of flag (eg, embodiment 3: path (level) yields zero), it is configured to perform the update of the state of the state transition (eg, embodiment 3, th. Modification example of 2 "2. The state machine switches from the parity drive state machine to the important drive state machine.")) 2) In the context-adaptive entropy decoding, the state transition is the conversion coefficient of the current scanned conversion coefficient. The currently scanned conversion factor for all positions of the conversion factor preceding, including, and following the position of the predetermined conversion factor, depending on the assumed state of the position. A device according to any of the preceding embodiments A8-A19, configured to determine a context for decoding a flag of said predetermined first flag type with respect to.

A21.前記装置は、前記コンテキスト適応エントロピー復号において、前記予め決定された変換係数の位置に先行するおよびそれを含む前記変換係数の位置については前記状態遷移が前記現在スキャンされている変換係数の位置について想定する前記状態に依存して、ならびに、前記予め決定された変換係数の位置に続く前記変換係数の位置については前記状態遷移が前記現在スキャンされている変換係数の位置について想定する前記状態とは独立して、前記現在スキャンされている変換係数の位置についての前記予め決定された第1のフラグタイプのフラグを復号するためのコンテキストを決定するように構成される(例えば、実施形態3)、先行する実施形態A8−A19のいずれかに記載の装置。 A21. The apparatus assumes in the context-adaptive entropy decoding the position of the conversion factor for which the state transition is currently scanned for the position of the conversion factor preceding and including the position of the predetermined conversion factor. Depends on said state and the position of the conversion factor following the position of the predetermined conversion factor is independent of the state where the state transition assumes for the position of the currently scanned conversion factor. And configured to determine the context for decoding the flag of the predetermined first flag type with respect to the position of the currently scanned conversion factor (eg, Embodiment 3), precedent. The apparatus according to any one of embodiments A8-A19.

A22.前記デコーダは、1)前記コンテキスト適応エントロピー復号においては、前記状態遷移が前記現在スキャンされている変換係数の位置について想定する前記状態に依存して、前記予め決定された変換係数の位置(112)に先行する、それを含むおよびそれに続くすべての前記変換係数の位置に対して、前記現在スキャンされている変換係数の位置についての前記予め決定された第1のフラグタイプのフラグ(92)を復号するためのコンテキストを決定するように構成され、2)前記状態遷移においては、前記現在の変換係数の位置の前記第1のフラグタイプの前記フラグ(例えば、実施形態3:パス(レベル)がゼロを生じさせる)に依存して、前記スキャン順序において前記ぞれぞれの変換係数の位置に続く変換係数の位置について、前記現在の変換係数の位置について想定される前記状態遷移の前記状態の前記更新を実行するように構成される(例えば、実施形態3:第1の変形例)、先行する実施形態A8−A19のいずれかに記載の装置。 A22. The decoder 1) in the context-adaptive entropy decoding, the predetermined conversion factor position (112) depends on the state that the state transition assumes for the position of the conversion factor currently being scanned. Decrypts the predetermined first flag type flag (92) for the currently scanned conversion factor position for all said conversion factor positions preceding, including and subsequent to. 2) In the state transition, the flag of the first flag type at the position of the current conversion factor (eg, embodiment 3: path (level) is zero. With respect to the position of the conversion factor following the position of each of the conversion factors in the scan order, the said state of the state transition assumed for the position of the current conversion factor. The apparatus according to any of the preceding embodiments A8-A19 configured to perform the update (eg, Embodiment 3: First Modification).

Figure 2022500966
Figure 2022500966
Figure 2022500966
Figure 2022500966

B2.前記現在スキャンされている変換係数の位置がスキャン順序において前記予め決定された変換係数の位置に先行するか、または前記予め決定された変換係数の位置であるか、もしくは前記予め決定された変換係数の位置に続くか否かに依存して、前記現在スキャンされている変換係数の位置についての前記残余値を異なって復号するために、前記可変長符号をパラメータ化するように構成される、実施形態B1に記載の装置。 B2. Whether the position of the currently scanned conversion factor precedes the position of the predetermined conversion factor in the scanning order, or is the position of the predetermined conversion factor, or the position of the predetermined conversion factor. The variable length code is configured to be parameterized in order to differently decode the residual value for the position of the currently scanned conversion factor, depending on whether or not it follows the position of. The device according to embodiment B1.

B3.前記現在スキャンされている変換係数の位置が(スキャン順序において)前記予め決定された変換係数の位置に先行するか、または前記予め決定された変換係数の位置に等しい場合、前記現在スキャンされている変換係数の位置についての前記残余値を復号するために、それを予め決定された基準を満たす先行する変換係数の位置の前記量子化インデックスに徐々に変更することによって、および/または、前記現在スキャンされている変換係数の位置の近傍の変換係数の位置の前記量子化インデックスに依存して、前記可変長符号をパラメータ化するように構成される、実施形態B1またはB2に記載の装置。 B3. The currently scanned conversion factor is currently scanned if the position of the currently scanned conversion factor precedes (in the scanning order) the position of the predetermined conversion factor or is equal to the position of the predetermined conversion factor. To decode the residual value for the position of the conversion factor, by gradually changing it to the quantization index of the position of the preceding conversion factor that meets a predetermined criterion, and / or the current scan. The apparatus according to embodiment B1 or B2, wherein the variable length code is configured to be parameterized depending on the quantization index of the conversion coefficient position in the vicinity of the conversion coefficient position.

B4.前記現在スキャンされている変換係数の位置が、スキャン順序において前記予め決定された変換係数の位置の後に続く場合、前記現在スキャンされている変換係数の位置についての前記残余値を復号するために、前記現在スキャンされている変換係数の位置の近傍の変換係数の位置の前記量子化インデックスに依存して、および、前記状態遷移が前記現在スキャンされている変換係数の位置について想定する前記状態に依存して、前記可変長符号をパラメータ化するように構成される、実施形態B1またはB2またはB3に記載の装置。 B4. If the position of the currently scanned conversion factor follows the position of the predetermined conversion factor in the scanning order, to decode the residual value for the position of the currently scanned conversion factor. The state transition depends on the quantization index of the position of the conversion factor in the vicinity of the position of the currently scanned conversion factor, and the state transition depends on the state assumed for the position of the currently scanned conversion factor. The device according to embodiment B1 or B2 or B3, which is configured to parameterize the variable length code.

B5.前記デコーダは、a)現在の変換係数の位置について、状態遷移が前記現在の変換係数の位置について想定する状態に一意に基づいて、複数の再構成レベルセットから1つの再構成レベルのセットを選択し、前記量子化インデックスが前記再構成レベルのセットにおいて指し示す再構成レベルに前記量子化インデックスを逆量子化すること、および、b)前記現在の変換係数の位置についての前記量子化インデックスに依存して、前記スキャン順序において前記現在の変換係数の位置に続く変換係数の位置のために(この用語は現在、前記更新の意図された目的、または、効果を示すものであることに留意されたい)、前記現在の変換係数の位置(これは、従属量子化の間に現在スキャンされているものであることに留意されたい;“現在スキャンされている”ものは、パスの間に現在復号されているものを表すために使用される。)について想定される前記状態遷移の前記状態を更新すること、によって、前記状態遷移(例えば、トレリス線図を参照)を使用して、前記変換係数の位置の符号化されたセットの前記変換係数の位置の前記量子化インデックスを連続的に逆量子化する(すなわち、従属量子化の使用)ように構成される(実施形態1ないし4)、実施形態B1ないしB4のいずれかに記載の装置。 B5. The decoder selects one set of reconstruction levels from a plurality of reconstruction level sets a) for the position of the current conversion factor, based uniquely on the state that the state transition assumes for the position of the current conversion factor. Then, the quantization index dequantizes the quantization index to the reconstruction level pointed to in the set of reconstruction levels, and b) depends on the quantization index for the position of the current conversion factor. And because of the position of the conversion factor following the position of the current conversion factor in the scan order (note that the term currently indicates the intended purpose or effect of the update). Note that the position of the current conversion factor, said, which is currently being scanned during dependent quantization; what is "currently scanned" is currently being decoded during the path. By updating the state of the assumed state transition for (used to represent what is), the position of the conversion factor using the state transition (see, eg, trellis diagram). Embodiment B1 configured to continuously dequantize (ie, use dependent quantization) the quantization index at the position of the conversion factor of the encoded set of. Or the device according to any one of B4.

3.前記1つ以上のフラグタイプのセットのそれぞれについて、前記パスのシーケンスのうちの1つにおいて、前記それぞれのフラグタイプの前記フラグを復号するように、前記復号を実行するように構成される、実施形態A1−A22またはB1−B5のいずれかに記載の装置。 3. 3. Each of the set of one or more flag types is configured to perform the decoding in one of the sequences of the paths so as to decode the flags of the respective flag types. The device according to any one of embodiments A1-A22 or B1-B5.

4.前記可変長符号はゴロム・ライス符号である、先行する実施形態(例えば、実施形態1ないし4)のいずれかに記載の装置。 4. The device according to any of the preceding embodiments (eg, embodiments 1 to 4), wherein the variable length code is a Golomb rice code.

5.前記装置は、前記現在スキャンされている変換係数の位置についての前記残余値を復号するために、予め決定された基準を満たす先行する変換係数の位置の前記量子化インデックスにそれを徐々に変更すること、および/または、前記現在スキャンされている変換係数の位置の近傍の変換係数の位置の前記量子化インデックスに依存すること、によって、前記可変長符号をパラメータ化するように構成される(例えば、実施形態1ないし4,4.5.4における方法1および2)、先行する実施形態のいずれかに記載の装置。 5. The apparatus gradually changes it to the quantization index at the position of the preceding conversion factor that meets a predetermined criterion in order to decode the residual value for the position of the currently scanned conversion factor. And / or depending on the quantization index of the conversion factor position in the vicinity of the currently scanned conversion factor position, the variable length code is configured to be parameterized (eg,). , Methods 1 and 2) in embodiments 1 to 4,4.5.4, the apparatus according to any of the preceding embodiments.

6.スキャン順序において最初の非ゼロ量子化インデックスの前記位置と予め定義された変換係数の位置との間で、前記スキャン順序に従って拡張する変換係数の位置の前記符号化されたセットを決定し、前記データストリームに基づいて、前記最初の非ゼロ量子化インデックスの前記位置を特定するように構成される(例えば、実施形態1ないし4)、先行する実施形態のいずれかに記載の装置。 6. Between said position of the first non-zero quantization index in the scan order and the position of the predefined conversion factor, the coded set of positions of the conversion factor extending according to the scan order is determined and said data. The device according to any of the preceding embodiments configured to identify said position of the first non-zero quantized index based on the stream (eg, embodiments 1 to 4).

7.それぞれの非ゼロ量子化インデックスについて、符号ビットを等確率バイパスモードを使用して前記データストリームから復号するように構成される、先行する実施形態のいずれかに記載の装置。 7. The device according to any of the preceding embodiments configured to decode the sign bit from the data stream using an equal probability bypass mode for each nonzero quantization index.

10.予め決定された変換係数の位置のための前記第1のフラグタイプの前記フラグを、前記予め決定された変換係数の前記係数位置に依存してコンテキストを選択することによって、コンテキスト適応エントロピー復号を使用して復号するように構成される、先行する実施形態のいずれかに記載の装置。 10. Use context-adaptive entropy decoding by selecting the flag of the first flag type for a predetermined conversion factor position depending on the coefficient position of the predetermined conversion factor. The device according to any of the preceding embodiments, which is configured to decode.

11.a)前記予め決定された変換係数の位置のまわりのローカルテンプレート内の近傍の変換係数の位置のセットについて前記予め決定された変換係数の位置の予め決定されたフラグタイプの前記フラグの前に復号されたフラグのセットに基づいてローカルアクティビティを決定すること、および、b)前記ローカルアクティビティに依存してコンテキストを選択すること、によって、予め決定された変換係数の位置のための前記第1の予め決定されたフラグタイプの前記フラグをコンテキスト適応エントロピー復号を使用して復号するように構成される、先行する実施形態のいずれかに記載の装置。 11. a) Decoding before the flag of the predetermined flag type of the predetermined conversion factor position for a set of nearby conversion factor positions in the local template around the predetermined conversion factor position. The first pre-determined for the position of the pre-determined conversion factor by determining the local activity based on the set of flags set and b) selecting the context depending on the local activity. The device according to any of the preceding embodiments configured to decode said flag of a determined flag type using context-adaptive entropy decoding.

12.前記フラグのセットは、近傍の変換係数の位置の前記セットのために復号された前記予め決定された第1のフラグタイプの前記フラグと、前記予め決定された第2のフラグタイプの前記フラグと、前記予め決定された第3のフラグタイプの前記フラグとを含み(少なくとも;4のようにそれ以上になってもよい)、前記装置は、前記近傍の変換係数の位置のそれぞれについての加数の合計に基づいて前記アクティビティを計算するように構成され、前記加数は前記近傍の変換係数の位置のために復号された(少なくとも)前記予め決定された第1のフラグタイプの前記フラグと、前記予め決定された第2のフラグタイプの前記フラグと、前記予め決定された第3のフラグタイプの前記フラグとに基づいて決定される前記近傍の変換係数の位置についての前記量子化インデックスについての最小想定絶対値、または、最小想定絶対量子化レベルを示す、実施形態11に記載の装置。 12. The set of flags includes the flag of the predetermined first flag type decoded for the set of positions of conversion coefficients in the vicinity and the flag of the predetermined second flag type. , The flag of the predetermined third flag type (at least; may be more, such as 4), and the device adds to each of the positions of the conversion factors in the vicinity. The activity is calculated based on the sum of the above, and the addition is decoded (at least) for the position of the conversion factor in the vicinity of the flag of the predetermined first flag type. For the quantization index for the position of the conversion factor in the neighborhood determined based on the flag of the predetermined second flag type and the flag of the predetermined third flag type. The apparatus according to the eleventh embodiment, which indicates the minimum assumed absolute value or the minimum assumed absolute quantization level.

13.前記デコーダは、1)a)それぞれの変換係数の位置について、状態遷移が前記それぞれの変換係数の位置について想定する状態に一意に基づいて、複数の再構成レベルセットから1つの再構成レベルセットを選択し、前記量子化インデックスが前記再構成レベルのセットにおいて指し示す再構成レベルに前記量子化インデックスを逆量子化すること、および、b)前記現在の変換係数の位置の前記量子化インデックスに依存して、前記スキャン順序において前記現在の変換係数に続く変換係数の位置のために(この用語は現在、前記更新の意図された目的、または、効果を示すものであることに留意されたい)、前記現在の変換係数の位置(これは、従属量子化の間に現在スキャンされているものであることに留意されたい;“現在スキャンされている”ものは、パスの間に現在復号されているものを表すために使用される。)について想定される前記状態遷移の前記状態を更新すること、によって、前記スキャン順序に従った状態遷移(例えば、トレリス線図を参照)を使用して連続的に逆量子化する(すなわち、従属量子化の使用)ように構成され、2)予め決定された変換係数の位置に対する前記第1のフラグタイプの前記フラグを、前記状態遷移が前記予め決定された変換係数の位置について想定する前記状態、および/または、前記予め決定された変換係数の位置のために選択された再構成レベルの前記セットに依存してコンテキストを選択することによって、コンテキスト適応エントロピー復号を使用して復号するように構成される(例えば、実施形態1ないし4)、先行する実施形態のいずれかに記載の装置。 13. The decoder provides one reconstruction level set from a plurality of reconstruction level sets, 1) a) for each conversion coefficient position, based on the state that the state transition assumes for each conversion coefficient position. Select to inversely quantize the quantization index to the reconstruction level indicated by the reconstruction level set, and b) depend on the quantization index at the position of the current conversion factor. And because of the position of the conversion factor following the current conversion factor in the scan order (note that the term currently indicates the intended purpose or effect of the update). The position of the current conversion factor (note that this is what is currently being scanned during dependent quantization; what is "currently scanned" is what is currently being decoded during the path. By updating the state of the assumed state transition for (used to represent), the state transition according to the scan order (see, eg, trellis diagram) is continuously used. It is configured to be dequantized (ie, the use of dependent quantization), 2) said the flag of the first flag type with respect to the position of the predetermined conversion factor, and said the state transition is the predetermined transformation. Context-adaptive entropy decoding is performed by selecting the context depending on the assumed state for the position of the coefficients and / or the set of reconstruction levels selected for the position of the predetermined conversion factor. The device of any of the preceding embodiments configured to be used and decoded (eg, embodiments 1-4).

20.予め決定された変換係数の位置のための前記第2のフラグタイプの前記フラグを、前記予め決定された変換係数の係数位置に依存してコンテキストを選択することによって、コンテキスト適応エントロピー復号を使用して復号するように構成される、先行する実施形態のいずれかに記載の装置。 20. Context-adaptive entropy decoding is used by selecting the context of the flag of the second flag type for the position of the predetermined conversion factor depending on the coefficient position of the predetermined conversion factor. The device according to any of the preceding embodiments, which is configured to decode.

21.1)予め決定された変換係数の位置のまわりのローカルテンプレート内の近傍の変換係数の位置のセットについて、前記予め決定された変換係数の位置の前記第2の予め決定されたフラグタイプの前記フラグの前に復号されるフラグのセットに基づいて、ローカルアクティビティ、および/または、前記予め決定された変換係数の位置のまわりの前記ローカルテンプレート内の前記量子化インデックスがゼロではない変換係数の数を決定すること、および、2)前記ローカルアクティビティ、および/または、前記非ゼロ量子化インデックスの数に依存して、コンテキストを選択すること、によって、前記予め決定された変換係数の位置のための前記第2の予め決定されたフラグタイプの前記フラグを、コンテキスト適応エントロピー復号を使用して復号するように構成される、先行する実施形態のいずれかに記載の装置。 21.1) For a set of neighborhood conversion coefficient positions in a local template around a predetermined conversion coefficient position, the second predetermined flag type of the predetermined conversion coefficient position. Based on the set of flags decrypted before the flags, the quantization index in the local template around the position of the local activity and / or the predetermined conversion factor is a non-zero conversion factor. For the position of the predetermined conversion factor by determining the number and / or selecting the context depending on the number of the local activity and / or the non-zero quantization index. The apparatus according to any of the preceding embodiments configured to decode the flag of the second predetermined flag type of the above using context adaptive entropy decoding.

22.前記ローカルアクティビティと前記非ゼロ量子化インデックスの数との間の差に依存して前記コンテキストを選択するように構成される、実施形態21に記載の装置。 22. 21. The apparatus of embodiment 21, configured to select the context depending on the difference between the local activity and the number of non-zero quantized indexes.

23.前記フラグのセットは、近傍の変換係数の位置の前記セットのために復号された前記予め決定された第1のフラグタイプの前記フラグと、前記予め決定された第2のフラグタイプの前記フラグと、前記予め決定された第3のフラグタイプの前記フラグとを含み(例えば、第1のスキャンパスにおいて符号化される,実施形態12に関しても同様)、前記装置は、前記近傍の変換係数の位置のそれぞれについての加数の合計に基づいて前記アクティビティを計算するように構成され、前記加数は、前記近傍の変換係数の位置のために復号される前記予め決定された第1のフラグタイプの前記フラグと、前記予め決定された第2のフラグタイプの前記フラグと、前記予め決定された第3のフラグタイプの前記フラグとに基づいて(前記第1のパスにおいてより多くのフラグが送信された場合に、上記のフラグよりも多くのフラグを使用することができることに留意されたい)決定される前記近傍の変換係数の位置についての前記量子化インデックスの最小想定絶対値、または、最小想定絶対量子化インデックスを示す、実施形態20または21に記載の装置。 23. The set of flags includes the flag of the predetermined first flag type decoded for the set of positions of conversion coefficients in the vicinity and the flag of the predetermined second flag type. , The flag of the predetermined third flag type (eg, encoded in the first scan path, also for embodiment 12), the apparatus of which the apparatus is located in the vicinity of the conversion factor. The activity is calculated based on the sum of the additions for each of the above, and the addition is decoded for the position of the conversion factor in the vicinity of the predetermined first flag type. Based on the flag, the flag of the predetermined second flag type, and the flag of the predetermined third flag type (more flags are transmitted in the first pass). Note that more flags can be used than the above flags if 20 or 21. The apparatus of embodiment 20 or 21, indicating a quantization index.

33.予め決定された変換係数の位置のための前記第3のフラグタイプの前記フラグを、前記予め決定された変換係数の係数位置に依存してコンテキストを選択することによって、コンテキスト適応エントロピー復号を使用して復号するように構成される、先行する実施形態のいずれかに記載の装置。 33. Context-adaptive entropy decoding is used by selecting the context of the flag of the third flag type for the position of the predetermined conversion factor depending on the coefficient position of the predetermined conversion factor. The device according to any of the preceding embodiments, which is configured to decode.

31.1)前記予め決定された変換係数の位置のまわりのローカルテンプレート内の近傍の変換係数の位置のセットについての前記予め決定された変換係数の前記第2の予め決定されたフラグタイプの前記フラグの前に復号されたフラグのセットに基づいて、ローカルアクティビティ、および/または、前記予め決定された変換係数の位置のまわりの前記ローカルテンプレート内の、前記量子化インデックスがゼロではない変換係数の数を決定すること、および、2)前記ローカルアクティビティ、および/または、前記非ゼロ量子化インデックスの数に依存してコンテキストを選択すること、によって、予め決定された変換係数の位置のための前記第3の予め決定されたフラグタイプの前記フラグを、コンテキスト適応エントロピー復号を使用して復号するように構成される、先行する実施形態のいずれかに記載の装置。 31.1) The second predetermined flag type of said predetermined conversion factor for a set of nearby conversion factor positions in a local template around the predetermined conversion factor position. Based on the set of flags decoded before the flags, the quantization index of the non-zero conversion factor in the local template around the position of the local activity and / or the predetermined conversion factor. Said for a predetermined conversion factor position by determining the number and / or selecting the context depending on the number of the local activity and / or the non-zero quantization index. A device according to any of the preceding embodiments configured to decode said flag of a third predetermined flag type using context adaptive entropy decoding.

32.前記ローカルアクティビティと前記非ゼロ量子化インデックスの数との間の差に依存して前記コンテキストを選択するように構成される、実施形態31に記載の装置。 32. 31. The apparatus of embodiment 31, wherein the context is configured to depend on the difference between the local activity and the number of non-zero quantized indexes.

33.前記フラグのセットは、近傍の変換係数の位置の前記セットのために復号された前記予め決定された第1のフラグタイプの前記フラグと、前記予め決定された第2のフラグタイプの前記フラグと、前記予め決定された第3のフラグタイプの前記フラグとを含み(実施形態12および23の留意点を参照)、前記装置は、前記近傍の変換係数の位置のそれぞれについての加数の合計に基づいて前記アクティビティを計算するように構成され、前記加数は前記近傍の変換係数の位置のために復号された前記予め決定された第1のフラグタイプの前記フラグと、前記予め決定された第2のフラグタイプの前記フラグと、前記予め決定された第3のフラグタイプの前記フラグとに基づいて(実施形態12および23の留意点を参照)決定される前記近傍の変換係数の位置についての前記量子化インデックスについての最小想定絶対値、または、最小想定絶対量子化インデックスを示す、実施形態30または31に記載の装置。 33. The set of flags includes the flag of the predetermined first flag type decoded for the set of positions of conversion coefficients in the vicinity and the flag of the predetermined second flag type. Including said flag of the predetermined third flag type (see notes of embodiments 12 and 23), the device is added to the sum of the additions for each of the positions of the conversion factors in the vicinity. The activity is configured to be calculated based on the flag of the predetermined first flag type decoded for the position of the conversion factor in the neighborhood and the predetermined first flag. Regarding the position of the conversion factor in the vicinity determined based on the flag of the flag type 2 and the flag of the predetermined third flag type (see notes in embodiments 12 and 23). The apparatus according to embodiment 30 or 31, which indicates the minimum assumed absolute value or the minimum assumed absolute quantization index for the quantization index.

C1.変換係数ブロックを復号するためのデコーダであって、1)前記変換係数ブロックが分割されたサブブロックのうちの少なくとも1つのセットのそれぞれについて、前記それぞれのサブブロックが、量子化インデックスの絶対値が予め決定された非ゼロ閾値よりも大きい変換係数を含むか否かを示すサブブロック重大フラグを復号し、また、2)前記量子化インデックスの前記絶対値が前記予め決定された非ゼロ閾値よりも大きい変換係数が少なくとも1つの存在することを前記サブブロック重大フラグが示すそれぞれのサブブロック内では、a)前記それぞれのサブブロック内の前記変換係数のそれぞれについて、前記それぞれの変換係数の値ドメインを2つの部分に帰納的に二分割し、前記それぞれの変換係数の量子化インデックスが前記2つの部分のうちのどちらに存在するかを示す1つ以上のフラグのシーケンスを連続的に復号するとともに、前記値ドメインが単に1つの値または絶対的な意味で等しい値しか含まなくなるとすぐに前記シーケンスの復号を停止すること、および、前記値ドメインが前記絶対的な意味で異なる値を依然として1つ以上含む場合、前記値ドメインにおける前記それぞれの変換係数の前記量子化インデックスの前記絶対値を示す残余値を連続的に復号することによって、ならびに、前記量子化インデックスの前記絶対値が前記予め決定された非ゼロ閾値よりも大きい変換係数が存在しないことを前記サブブロック重大フラグが示すそれぞれのサブブロック内では、b)前記それぞれのサブブロック内の前記変換係数のそれぞれについて、前記1つ以上のフラグの前記シーケンスを連続的に復号するとともに、前記値ドメインが前記非ゼロ閾値を超えない1つの値のみ、単に1つの値または単に絶対的な意味で等しい値しか含まなくなるとすぐに前記シーケンスの復号を停止することによって、前記変換係数ブロックの変換係数を復号するように構成される、デコーダ。 C1. A decoder for decoding a conversion factor block: 1) For each of at least one set of subblocks in which the conversion factor block is divided, each of the subblocks has an absolute value of the quantization index. Decoding the subblock critical flag indicating whether it contains a conversion factor greater than the predetermined non-zero threshold, and 2) the absolute value of the quantization index is greater than the predetermined non-zero threshold. Within each subblock indicated by the subblock severity flag that there is at least one large conversion factor, a) for each of the conversion factors in each of the subblocks, the value domain of the respective conversion factor. It is inductively divided into two parts, and continuously decodes a sequence of one or more flags indicating which of the two parts the quantization index of each conversion coefficient is located in, and continuously decodes the sequence. Stop decoding the sequence as soon as the value domain contains only one value or values that are absolutely equal, and the value domain still contains one or more values that differ in the absolute sense. When included, the absolute value of the quantization index in the value domain is determined in advance by continuously decoding the residual value indicating the absolute value of the quantization index of each of the conversion coefficients. Within each subblock indicated by the subblock critical flag that no conversion factor greater than the non-zero threshold exists, b) for each of the conversion factors within each of the subblocks, of the one or more flags. Decoding the sequence as soon as the value domain contains only one value that does not exceed the non-zero threshold, just one value or simply an absolutely equal value, while continuously decoding the sequence. A decoder configured to decode the conversion factor of the conversion factor block by stopping.

C2.前記シーケンスフラグの第1のフラグは、前記第1のフラグが復号される前記変換係数がゼロであるか否かを示す有意フラグである、実施形態C1に記載の装置。 C2. The apparatus according to embodiment C1, wherein the first flag of the sequence flag is a significant flag indicating whether or not the conversion coefficient from which the first flag is decoded is zero.

C3.前記予め決定された非ゼロ閾値は1であり、かつ、前記装置は、前記量子化インデックスの前記絶対値が1より大きい変換係数が存在しないことを前記サブブロック重大フラグが示すそれぞれのサブブロック内では、前記それぞれのサブブロック内の前記変換係数のそれぞれについて、前記第1のフラグを連続的に復号するように構成される、実施形態C2に記載の装置。 C3. The predetermined non-zero threshold is 1 and the device is within each subblock indicated by the subblock critical flag that there is no conversion factor for which the absolute value of the quantization index is greater than 1. The apparatus according to embodiment C2, wherein the first flag is continuously decoded for each of the conversion coefficients in each of the subblocks.

C4.1)前記変換係数ブロックが分割された前記サブブロックのうちの少なくとも1つの別のセットのそれぞれについて、前記それぞれのサブブロックがゼロに等しくない変換係数を含むか否かを示す別のサブブロック重大フラグを復号し、2)前記サブブロック重大フラグが復号され、ゼロに等しくない少なくとも1つの変換係数を含むことを前記別のサブブロック重大フラグが示す前記サブブロックをなすサブブロックの前記セットを決定し、3)非ゼロ変換係数が存在しないことを前記別のサブブロック重大フラグが示すそれぞれのサブブロック内では、前記変換係数ブロックの変換係数が、すべてゼロであると推定するように構成される、先行する実施形態C1−C3のいずれかに記載の装置。 C4.1) For each of at least one other set of the sub-blocks in which the conversion factor blocks are divided, another sub-indicating whether each of the sub-blocks contains a conversion factor that is not equal to zero. Decoding the block critical flag, 2) said set of subblocks that make up the subblock indicated by said another subblock critical flag that the subblock critical flag is decoded and contains at least one conversion factor that is not equal to zero. 3) Within each subblock indicated by the other subblock critical flag that the non-zero conversion factor does not exist, the conversion factors of the conversion factor block are all estimated to be zero. The device according to any of the preceding embodiments C1-C3.

上記の説明では、ブロックベースのハイブリッドビデオ符号化のための変換係数レベル(量子化インデックス)の量子化およびエントロピー符号化の概念が提示されている。上記で概説した技術は、残差サンプルのブロックのロッシー符号化に適用されてもよい。残差サンプルは、サンプルのオリジナルブロックと予測信号のサンプルとの差を表すことができる(予測信号をイントラピクチャ予測またはインターピクチャ予測、もしくはインターピクチャおよびイントラピクチャ予測の組み合わせ、もしくは任意の他の手段によって得ることができる;特殊な場合には、予測信号はゼロに等しく設定されてもよい)。 The above description presents the concepts of conversion factor level (quantization index) quantization and entropy coding for block-based hybrid video coding. The techniques outlined above may be applied to Rossy coding of blocks of residual samples. The residual sample can represent the difference between the original block of the sample and the sample of the prediction signal (the prediction signal can be an intra-picture prediction or an inter-picture prediction, or a combination of inter-picture and intra-picture prediction, or any other means. Can be obtained by; in special cases, the prediction signal may be set equal to zero).

サンプルの残差ブロックは、信号変換を使用して変換されてもよい。典型的には、線形および分離可能な変換が使用される(線形は、変換が線形であるが、変換係数の追加の丸め処理を組み込むことができる)。しばしば、DCT−IIの整数近似またはDCT/DSTファミリーの他の変換の整数近似が使用される。異なる変換を水平方向または垂直方向に使用することができる。変換は、線形および分離可能な変換に限定されない。任意の他の変換(線形および非分離、または非線形)が使用されてもよい。信号変換の結果として、異なる信号空間において残差サンプルのオリジナルのブロックを表す変換係数のブロックが得られる。特殊な場合には、変換を識別変換に等しくすることができる(すなわち、変換係数のブロックを残差サンプルのブロックに等しくすることができる)。変換係数のブロックは、ロッシー符号化を使用して符号化される。デコーダ側では、再構成された変換係数のブロックが逆変換され、残差サンプルの再構成されたブロックが得られる。最後に、予測信号を加算することにより、画像サンプルの再構成されたブロックが得られる。 The sample residual block may be transformed using signal conversion. Typically, linear and separable transformations are used (linear is linear, but can incorporate additional rounding of transformation coefficients). Often, the integer approximation of DCT-II or the integer approximation of other transformations of the DCT / DST family is used. Different transformations can be used horizontally or vertically. Transformations are not limited to linear and separable transformations. Any other transformation (linear and non-separable, or non-linear) may be used. The result of the signal conversion is a block of conversion coefficients that represents the original block of the residual sample in different signal spaces. In special cases, the transformation can be equal to the discriminative transformation (ie, the block of transformation coefficients can be equal to the block of the residual sample). Blocks of conversion coefficients are coded using Rossy coding. On the decoder side, the blocks of the reconstructed conversion coefficients are inversely transformed to obtain the reconstructed blocks of the residual sample. Finally, by adding the prediction signals, a reconstructed block of the image sample is obtained.

特に、変換係数のブロックのロッシー符号化に適する、以下の態様は、上記で説明された実施形態において使用される:
●変換係数の従属スカラー量子化:
エンコーダ側では、変換係数のブロックは、変換係数レベル(すなわち、量子化インデックス)のブロックにマップされ、それは忠実度が低減された変換係数を表す。デコーダ側では、量子化インデックスは、再構成された変換係数(量子化のためにオリジナルの変換係数とは異なる)にマップされる。従来のスカラー量子化とは対照的に、変換係数は独立して量子化されない。代わりに、特定の変換係数についての再構成レベルの許容可能なセットは、他の変換係数に対して選択された量子化インデックスに依存する。
●変換係数レベル(量子化インデックス)のエントロピー符号化:
再構成された変換係数(従属スカラー量子化に対する)を表す変換係数レベルは、バイナリ算術符号化を使用してエントロピー符号化される。そのコンテキストでは、従属量子化の特性が、エントロピー符号化の効率を改善するために利用される。
In particular, the following embodiments, which are suitable for Rossy coding of blocks of conversion factors, are used in the embodiments described above:
● Dependent scalar quantization of conversion factor:
On the encoder side, the blocks of conversion factors are mapped to blocks at the conversion factor level (ie, the quantization index), which represent the conversion factors with reduced fidelity. On the decoder side, the quantization index is mapped to the reconstructed conversion factor (which is different from the original conversion factor due to quantization). In contrast to traditional scalar quantization, the conversion coefficients are not quantized independently. Instead, the acceptable set of reconstruction levels for a particular conversion factor depends on the quantization index selected for the other conversion factors.
● Entropy coding of conversion coefficient level (quantization index):
The conversion factor level, which represents the reconstructed conversion factor (for dependent scalar quantization), is entropy-coded using binary arithmetic coding. In that context, the properties of dependent quantization are utilized to improve the efficiency of entropy coding.

異なる実施形態および態様が上記で説明された。説明は、フラグ/残余表現、フラグおよび残余のパスへの分配、コンテキスト導出、コンテキスト適応的に符号化されたフラグの制限などのさまざまな態様に関連する。異なる部分に記載されたこれらの態様、特徴、機能、および詳細を、任意に、個別にまたは一緒に本明細書で説明される実施形態に導入することができる。
また、本明細書で説明される実施形態は、個別に使用することができ、他のチャプタにおける特徴、機能、および詳細のいずれかによって補足することもできる。
また、本明細書で説明される個々の態様は、個々にまたは組み合わせて使用され得ることに留意されたい。したがって、前記態様の他の1つに詳細を追加することなく、前記個々の態様の各々に詳細を追加することができる。
特に、実施形態は特許請求の範囲にも記載されている。特許請求の範囲に記載された実施形態は、任意に、本明細書に記載されるような特徴、機能および詳細のいずれかによって、個別におよび組み合わせて補足され得る。
本開示は、明示的または暗黙的に、ビデオエンコーダ(入力ビデオ信号の符号化された表現を提供するための装置)およびビデオデコーダ(ビデオ信号の符号化された表現に基づいてビデオ信号の復号された表現を提供するための装置)において使用可能な特徴を記載する。したがって、本明細書で説明される特徴のいずれも、ビデオエンコーダの文脈およびビデオデコーダの文脈において使用することができる。
さらに、方法に関連して本明細書で開示された特徴および機能は、(そのような機能を実行するように構成された)装置においても使用することもできる。さらに、装置に関して本明細書で開示された特徴および機能は、対応する方法においても使用することができる。言い換えると、本明細書に開示された方法を、装置に関して説明された特徴および機能のいずれかによって補足することができる。
また、本明細書に記載された特徴および機能のいずれも、“実装の選択肢”の段落で説明するように、ハードウェアまたはソフトウェアで、もしくはハードウェアおよびソフトウェアの組み合わせを用いて実装することができる。
Different embodiments and embodiments have been described above. The description relates to various aspects such as flag / residual representation, distribution of flags and residuals to paths, context derivation, and restrictions on flags adaptively encoded in context. These aspects, features, functions, and details described in different parts can optionally be introduced individually or together into the embodiments described herein.
The embodiments described herein can also be used individually and supplemented by any of the features, functions, and details in other chapters.
It should also be noted that the individual embodiments described herein may be used individually or in combination. Therefore, details can be added to each of the individual embodiments without adding details to the other one of the embodiments.
In particular, embodiments are also described in the claims. The embodiments described in the claims may optionally be supplemented individually and in combination by any of the features, functions and details as described herein.
The present disclosure, expressly or implicitly, a video encoder (a device for providing a coded representation of an input video signal) and a video decoder (a device for providing a coded representation of a video signal) and a video decoder (a device for decoding a video signal based on the coded representation of the video signal). The features that can be used in the device for providing the expression) are described. Accordingly, any of the features described herein can be used in the context of video encoders and video decoders.
In addition, the features and functions disclosed herein in relation to the method can also be used in devices (configured to perform such functions). In addition, the features and functions disclosed herein with respect to the device can also be used in the corresponding methods. In other words, the methods disclosed herein can be supplemented by any of the features and functions described with respect to the device.
Also, any of the features and features described herein can be implemented in hardware or software, or in a combination of hardware and software, as described in the "Implementation Options" paragraph. ..

いくつかの態様が装置の文脈において記載されてきたが、これらの態様は対応する方法の記述も表すことは明らかであり、ブロックまたはデバイスは方法ステップまたは方法ステップの機能に対応する。同様に、方法ステップの文脈において記載された態様は、対応する装置の対応するブロック、アイテムまたは機能の記述も表す。いくつかのまたはすべての方法ステップは、例えば、マイクロプロセッサ、プログラム可能なコンピュータまたは電子回路のようなハードウェア装置によって(または用いて)実行することができる。いくつかの実施形態において、1つ以上の最も重要な方法ステップは、このような装置によって実行することができる。 Although some embodiments have been described in the context of the device, it is clear that these embodiments also represent a description of the corresponding method, the block or device corresponding to the function of the method step or method step. Similarly, the embodiments described in the context of a method step also represent a description of the corresponding block, item or function of the corresponding device. Some or all method steps can be performed by (or with) hardware devices such as, for example, microprocessors, programmable computers or electronic circuits. In some embodiments, one or more of the most important method steps can be performed by such a device.

特定の実現要求に依存して、本発明の実施形態は、ハードウェアにおいてまたはソフトウェアにおいて実施することができる。実施は、その上に記憶された電子的に読取可能な制御信号を有し、それぞれの方法が実行されるようにプログラム可能なコンピュータシステムと協働する(または協働することができる)、デジタル記憶媒体、例えばフロッピー(登録商標)ディスク、DVD、ブルーレイ(登録商標)ディスク、CD、ROM、PROM、EPROM、EEPROMまたはフラッシュメモリを用いて実行することができる。それ故に、デジタル記憶媒体は、コンピュータ読取可能とすることができる。 Depending on the particular implementation requirements, embodiments of the invention can be implemented in hardware or in software. The implementation has an electronically readable control signal stored on it and works (or can) with a computer system programmable to perform each method, digitally. It can be executed using a storage medium such as a floppy (registered trademark) disk, DVD, Blu-ray (registered trademark) disk, CD, ROM, PROM, EPROM, EPROM or flash memory. Therefore, the digital storage medium can be made computer readable.

本発明に係るいくつかの実施形態は、本願明細書に記載された方法の1つが実行されるように、プログラム可能なコンピュータシステムと協働することができる電子的に読取可能な制御信号を有するデータキャリアを備える。 Some embodiments of the present invention have electronically readable control signals that can work with a programmable computer system so that one of the methods described herein is performed. Equipped with a data carrier.

一般に、本発明の実施形態は、コンピュータプログラム製品がコンピュータ上で動作するとき、方法の1つを実行するように動作可能であるプログラムコードによるコンピュータプログラム製品として実施することができる。プログラムコードは、例えば機械読取可能なキャリアに記憶することができる。 In general, embodiments of the present invention can be implemented as a computer program product with program code capable of operating to perform one of the methods when the computer program product operates on a computer. The program code can be stored, for example, in a machine-readable carrier.

他の実施形態は、機械読取可能なキャリアに記憶された、本願明細書に記載された方法の1つを実行するコンピュータプログラムを備える。 Another embodiment comprises a computer program stored in a machine-readable carrier that performs one of the methods described herein.

言い換えれば、本発明の方法の一実施形態は、それ故に、コンピュータプログラムがコンピュータ上で動作するとき、本願明細書に記載された方法の1つを実行するプログラムコードを有するコンピュータプログラムである。 In other words, one embodiment of the method of the invention is therefore a computer program having program code that, when the computer program runs on a computer, performs one of the methods described herein.

本発明の方法の更なる実施形態は、それ故に、その上に記録され、本願明細書に記載された方法の1つを実行するコンピュータプログラムを備えるデータキャリア(またはデジタル記憶媒体またはコンピュータ読取可能媒体)である。データキャリア、デジタル記憶媒体または記録媒体は、通常は有形および/または不揮発性である。 A further embodiment of the method of the invention is therefore a data carrier (or digital storage medium or computer readable medium) comprising a computer program recorded on it and performing one of the methods described herein. ). Data carriers, digital storage media or recording media are usually tangible and / or non-volatile.

本発明の方法の更なる実施形態は、それ故に、本願明細書に記載された方法の1つを実行するコンピュータプログラムを表すデータストリームまたは信号のシーケンスである。データストリームまたは信号のシーケンスは、例えば、データ通信接続、例えばインターネットによって転送されるように構成することができる。 A further embodiment of the method of the invention is therefore a sequence of data streams or signals representing a computer program performing one of the methods described herein. A data stream or sequence of signals can be configured to be transferred, for example, by a data communication connection, such as the Internet.

更なる実施形態は、本願明細書に記載された方法の1つを実行するように構成されたまたは適合された処理手段、例えばコンピュータまたはプログラマブルロジックデバイスを備える。 Further embodiments include processing means configured or adapted to perform one of the methods described herein, such as a computer or programmable logic device.

更なる実施形態は、本願明細書に記載された方法の1つを実行するコンピュータプログラムがその上にインストールされたコンピュータを備える。 A further embodiment comprises a computer on which a computer program that performs one of the methods described herein is installed.

本発明に係る更なる実施形態は、本願明細書に記載された方法の1つを実行するコンピュータプログラムを、受信機に転送(例えば、電子的または光学的に)するように構成される装置またはシステムを備える。受信機は、例えば、コンピュータ、モバイルデバイス、メモリデバイスなどとすることができる。装置またはシステムは、例えば、コンピュータプログラムを受信機へ転送するファイルサーバを備えることができる。
いくつかの実施形態において、本願明細書に記載された方法のいくつかまたは全ての機能を実行するために、プログラマブルロジックデバイス(例えばフィールドプログラマブルゲートアレイ)を用いることができる。いくつかの実施形態において、フィールドプログラマブルゲートアレイは、本願明細書に記載された方法の1つを実行するために、マイクロプロセッサと協働することができる。一般に、方法は、好ましくはいかなるハードウェア装置によっても実行される。
A further embodiment of the invention is an apparatus configured to transfer (eg, electronically or optically) to a receiver a computer program that performs one of the methods described herein. Equipped with a system. The receiver can be, for example, a computer, a mobile device, a memory device, or the like. The device or system may include, for example, a file server that transfers a computer program to the receiver.
In some embodiments, programmable logic devices (eg, field programmable gate arrays) can be used to perform some or all of the functions of the methods described herein. In some embodiments, the field programmable gate array can work with a microprocessor to perform one of the methods described herein. In general, the method is preferably performed by any hardware device.

本明細書に記載の装置は、ハードウェア装置を使用して、またはコンピュータを使用して、またはハードウェア装置とコンピュータとの組み合わせを使用して実装されてもよい。 The devices described herein may be implemented using hardware devices, using computers, or using a combination of hardware devices and computers.

本明細書に記載の装置または本明細書に記載の装置の任意の構成要素は、ハードウェアおよび/またはソフトウェアで少なくとも部分的に実装されてもよい。 The devices described herein or any component of the devices described herein may be at least partially implemented in hardware and / or software.

本明細書に記載の方法は、ハードウェア装置を使用して、またはコンピュータを使用して、またはハードウェア装置とコンピュータとの組合せを使用して実行されてもよい。 The methods described herein may be performed using hardware equipment, using a computer, or using a combination of hardware equipment and a computer.

本明細書に記載の方法または本明細書に記載の装置の任意の構成要素は、ハードウェアおよび/またはソフトウェアによって少なくとも部分的に実行されてもよい。 The methods described herein or any component of the equipment described herein may be at least partially performed by hardware and / or software.

本明細書に記載された実施形態は、単に本発明の原理に対して説明したものである。本願明細書に記載された構成および詳細の修正および変更は、当業者にとって明らかであると理解される。それ故に、本発明は、間近に迫った特許請求の範囲のスコープのみによって制限され、本願明細書の実施形態の記載および説明の方法によって表された特定の詳細によって制限されないことが意図される。 The embodiments described herein are merely described to the principles of the invention. Modifications and changes to the configurations and details described herein will be apparent to those of skill in the art. Accordingly, it is intended that the invention is limited only by the scope of the imminent claims and not by the particular details represented by the methods of description and description of embodiments herein.

Claims (134)

変換係数のブロック(10)を復号するための装置であって、
前記ブロック(10)の変換係数の位置(12)をスキャン順序(62)に従ってスキャンするパスのシーケンス(60)において、
コンテキスト適応バイナリ算術復号を使用して、
それぞれが1つ以上のフラグタイプのセットのうちの1つであるフラグ(92,96,98,104)を、および、
可変長符号を使用して、
残余値を、
データストリームから復号して、
それぞれのフラグおよびそれぞれの残余値が現在スキャンされている変換係数の位置(50)についてそれぞれ復号されるようにする、および、
変換係数の位置の符号化されたセットのそれぞれの変換係数の位置について、前記1つ以上のフラグおよび1つの残余値のうちの少なくとも1つは連続して復号されて、現在スキャンされている変換係数の位置についての量子化インデックスの絶対値が存在する初期値ドメイン(90)を、前記現在スキャンされている変換係数の位置についての前記量子化インデックスの前記絶対値のみを含むように連続的に制限し、ここで、それぞれのフラグは、前記現在スキャンされている変換係数の位置についての前記量子化インデックスの前記絶対値の値ドメインを、前記現在スキャンされている変換係数の位置についての前記量子化インデックスの前記絶対値の前記値ドメインが二分割された第1のサブ部分または第2のサブ部分に制限し、前記現在スキャンされている変換係数の位置について残余値が復号された場合、前記残余値は、前記現在スキャンされている変換係数の位置について少なくとも1つのフラグが復号されているときには前記値ドメイン、または、前記現在スキャンされている変換係数の位置についてフラグが復号されていないときには前記初期値ドメイン(90)から、前記現在スキャンされている変換係数の位置についての前記量子化インデックスの絶対値を一意に示すように構成され、
前記装置は、
現在の変換係数の位置について、状態遷移が前記現在の変換係数の位置について想定する状態に一意に基づいて、複数の再構成レベルセット(73)から1つの再構成レベルのセットを選択し(72)、前記量子化インデックスが前記再構成レベルのセットにおいて指し示す再構成レベルに前記量子化インデックスを逆量子化する(74)こと、および、
前記現在の変換係数の位置の前記量子化インデックスに依存して、前記スキャン順序において前記現在の変換係数に続く変換係数の位置のために、前記現在の変換係数の位置について想定される前記状態遷移の前記状態を更新する(76)こと、
によって、前記スキャン順序に従った状態遷移を使用して、
連続的に逆量子化するように構成される、装置。
A device for decoding the block (10) of the conversion coefficient.
In the sequence of paths (60) that scans the position (12) of the conversion factor of the block (10) according to the scan order (62).
Using context-adaptive binary arithmetic decoding,
Flags (92, 96, 98, 104), each of which is one of a set of one or more flag types, and
Using variable length code,
Residual value,
Decrypt from the data stream,
Allow each flag and each residual value to be decoded for the position (50) of the conversion factor currently being scanned, and
For each conversion factor position in the coded set of conversion factor positions, at least one of the one or more flags and one residual value is consecutively decoded and the conversion currently being scanned. The initial value domain (90), where the absolute value of the quantization index for the position of the coefficient exists, is contiguous so as to include only the absolute value of the quantization index for the position of the currently scanned conversion factor. Here, each flag limits the value domain of the absolute value of the quantization index for the position of the currently scanned conversion factor and the quantum of the position of the currently scanned conversion factor. If the value domain of the absolute value of the index is limited to the first or second subpart divided into two and the residual value is decoded for the position of the currently scanned conversion factor. The residual value is the value domain when at least one flag has been decoded for the position of the currently scanned conversion factor, or said when the flag has not been decoded for the position of the currently scanned conversion factor. From the initial value domain (90), it is configured to uniquely indicate the absolute value of the quantization index for the position of the currently scanned conversion factor.
The device is
For the position of the current conversion factor, select one set of reconstruction levels from multiple reconstruction level sets (73) based on the state that the state transition assumes for the position of the current conversion factor (72). ), The quantization index is dequantized to the reconstruction level indicated by the set of reconstruction levels (74), and
The state transition assumed for the position of the current conversion factor due to the position of the conversion factor following the current conversion factor in the scan order, depending on the quantization index of the position of the current conversion factor. To update the above-mentioned state of (76),
By using state transitions according to the scan order,
A device configured to be continuously dequantized.
4つの異なった状態の間で、前記状態遷移の移行を実行するように構成される、請求項1に記載の装置。 The device of claim 1, wherein the state transition transition is configured to be performed between four different states. 前記状態遷移の前記状態を更新する際に、前記現在の変換係数の位置の前記量子化インデックス(80)に適用されるバイナリ関数(86)に依存して、第1の後続状態(841)および第2の後続状態(842)の間で決定することによって前記更新を実行するように構成され、ここで、前記第1の後続状態および前記第2の後続状態は前記現在の変換係数の位置の前記状態に依存する、請求項1または2に記載の装置。 The first subsequent state (84 1 ) depends on the binary function (86) applied to the quantized index (80) at the position of the current conversion factor in updating the state of the state transition. and is configured to perform the update by determining between a second subsequent state (84 2), wherein said first subsequent state and the second subsequent state said current transform coefficients The device of claim 1 or 2, which depends on said state of position. 前記バイナリ関数は前記パリティまたはゼロを生じさせる、請求項1ないし3のいずれかに記載の装置。 The device according to any one of claims 1 to 3, wherein the binary function produces said parity or zero. 前記複数(50)の再構成レベルセット(52)を予め決定された量子化ステップサイズによってパラメータ化し、前記データストリームから前記予め決定された量子化ステップサイズに関する情報を導出するように構成される、請求項1ないし4のいずれかに記載の装置。 The plurality (50) reconstruction level sets (52) are configured to be parameterized by a predetermined quantization step size to derive information about the predetermined quantization step size from the data stream. The device according to any one of claims 1 to 4. 前記複数(50)の再構成レベルセット(52)のそれぞれは、現在の変換係数の位置についての前記複数(50)の再構成レベルセット(52)に対して一定である予め決定された量子化ステップサイズの整数倍からなる、請求項1ないし5のいずれかに記載の装置。 Each of the plurality (50) reconstruction level sets (52) is a predetermined quantization that is constant with respect to the plurality (50) reconstruction level set (52) with respect to the position of the current conversion factor. The device according to any one of claims 1 to 5, which comprises an integral multiple of the step size. 前記複数(50)の再構成レベルセット(52)のうちの前記再構成レベルセット(52)の数は2であり、前記複数の再構成レベルセットは、
ゼロおよび予め決定された量子化ステップサイズの偶数倍を含む第1の再構成レベルセットと、
ゼロおよび予め決定された量子化ステップサイズの奇数倍を含む第2の再構成レベルセットと、
を含む、請求項1ないし6のいずれかに記載の装置。
The number of the reconstruction level sets (52) among the plurality of (50) reconstruction level sets (52) is 2, and the plurality of reconstruction level sets are.
With a first reconstruction level set containing zeros and even multiples of the predetermined quantization step size,
With a second reconstruction level set containing zeros and odd multiples of the predetermined quantization step size,
The apparatus according to any one of claims 1 to 6.
前記デコーダは、
前記パスのシーケンスのうちの第1のパスにおいて、
第1の変換係数の位置についての量子化インデックスの絶対値の前記値ドメインを制限するフラグが、スキャン順序(62)において前記第1の変換係数の位置に続く第2の変換係数の位置についての量子化インデックスの絶対値の前記値ドメインを制限するフラグの前に復号されるように、予め決定された第1のフラグタイプのフラグ(92)および予め決定された第2のフラグタイプのフラグ(96)を前記データストリームから復号し、ここで、前記予め決定された第2のフラグタイプのフラグの前記復号は、前記第1のパス(601)において、予め決定されたアボート基準が前記スキャン順序(62)においてはじめて満たされる予め決定された変換係数の位置(112)まで、および、それを含むように実行され、前記予め決定された第1のフラグタイプのフラグ(92)の前記復号は、前記スキャン順序(62)において前記予め決定された変換係数の位置(112)を超えて実行され、前記予め決定された第1のフラグタイプの前記フラグ(92)は前記現在スキャンされている変換係数の前記量子化インデックスがゼロであるか否かを示す、請求項1ないし7のいずれかに記載の装置。
The decoder is
In the first pass of the sequence of paths
The flag limiting the value domain of the absolute value of the quantization index for the position of the first conversion factor is the position of the second conversion factor following the position of the first conversion factor in scan order (62). A pre-determined first flag type flag (92) and a pre-determined second flag type flag (92) to be decoded before the flag limiting the value domain of the absolute value of the quantization index. 96) decodes from the data stream, wherein said decoding of the second flag type flag with a predetermined, wherein the first path (60 1), predetermined abort criteria the scan The decoding of the predetermined first flag type flag (92) performed to and to include the predetermined conversion factor position (112) that is satisfied for the first time in sequence (62). , The flag (92) of the predetermined first flag type executed beyond the predetermined conversion factor position (112) in the scan sequence (62) is the currently scanned conversion. The apparatus according to any one of claims 1 to 7, which indicates whether or not the quantization index of the coefficient is zero.
前記予め決定された第2のフラグタイプの前記フラグ(96)は前記現在スキャンされている変換係数についての前記量子化インデックスの前記パリティを示す、請求項8に記載の装置。 The apparatus of claim 8, wherein the flag (96) of the predetermined second flag type indicates the parity of the quantized index for the currently scanned conversion factor. 前記第1のパス(601)において、前記第1の予め決定されたフラグタイプの前記フラグ(92)が前記現在スキャンされている変換係数の前記量子化インデックスが非ゼロであることを示す変換係数の位置およびその後の変換係数の位置について排他的に、前記第2の予め決定されたフラグタイプの前記フラグ(96)を復号するように構成される、請求項8または9のいずれかに記載の装置。 In the first pass (60 1), conversion indicating that the quantization indices of transform coefficients, wherein the first predetermined flag type of the flag (92) is the currently scanned is nonzero 13. Equipment. 前記予め決定されたアボート基準は、前記第1のパス(601)において復号される前記フラグの数が予め決定された閾値を超えるか否かに関連する、請求項8に記載の装置。 It said predetermined abort criterion is related to whether more than a threshold number has been previously determined for the flag to be decoded in the first pass (60 1), Apparatus according to claim 8. 前記第1のパス(601)において、前記現在スキャンされている変換係数の位置についての前記量子化インデックスが、絶対値に関して、前記値ドメイン内の最小値であることを想定するか否かを示す第3の予め決定されたフラグタイプのフラグ(98)も復号するように構成される、請求項8ないし11に記載の装置。 In the first pass (60 1), wherein the quantization index for the position of the transform coefficients is currently being scanned, in terms of absolute value, whether it is assumed that the minimum value of the values in the domain The apparatus according to claim 8 to 11, wherein the flag (98) of the third predetermined flag type shown is also configured to be decoded. 前記第1のパス(601)において、前記現在スキャンされている変換係数についての前記量子化インデックスが非ゼロであることを前記第1の予め決定されたフラグタイプの前記フラグ(92)が示す変換係数の位置およびその後の変換係数の位置について排他的に、前記第3の予め決定されたフラグタイプの前記フラグを復号するように構成される、請求項12に記載の装置。 In the first pass (60 1), said first predetermined flag type of the flag (92) indicates that the quantization index for conversion coefficient the currently scanned is nonzero 12. The device of claim 12, configured to decode the flag of the third predetermined flag type exclusively with respect to the position of the conversion factor and the position of the conversion factor thereafter. 前記第1のパス(601)において、前記現在スキャンされている変換係数の位置についての前記量子化インデックスが非ゼロであることを前記第1の予め決定されたフラグタイプの前記フラグ(92)が示す変換係数の位置およびその後の変換係数の位置について、前記第2の予め決定されたフラグタイプの前記フラグ(96)の後に前記第3の予め決定されたフラグタイプの前記フラグ(98)を復号するように構成される、請求項13に記載の装置。 Wherein in the first pass (60 1), wherein the flag of which the said first predetermined flag type that quantization index is non-zero for the position of the transform coefficients is currently being scanned (92) With respect to the position of the conversion coefficient indicated by and the position of the conversion coefficient thereafter, the flag (98) of the third predetermined flag type is added after the flag (96) of the second predetermined flag type. 13. The device of claim 13, configured to decode. 前記第1のパス(601)において、前記現在スキャンされている変換係数の位置についての前記量子化インデックスが非ゼロであることを前記第1の予め決定されたフラグタイプの前記フラグ(92)が示す変換係数の位置およびその後の変換係数の位置について、前記第3の予め決定されたフラグタイプの前記フラグ(98)が1よりも大きい大きさを示す変換係数の位置について排他的に、前記第2の予め決定されたフラグタイプの前記フラグ(96)を復号するように構成される、請求項13に記載の装置。 Wherein in the first pass (60 1), wherein the flag of which the said first predetermined flag type that quantization index is non-zero for the position of the transform coefficients is currently being scanned (92) With respect to the position of the conversion coefficient indicated by and the position of the conversion coefficient thereafter, the position of the conversion coefficient indicating that the flag (98) of the third predetermined flag type is larger than 1 is exclusively described above. 13. The apparatus of claim 13, configured to decode the flag (96) of a second predetermined flag type. 前記第1のパス(601)に続く第2のパス(602)おいて、前記現在スキャンされている変換係数の位置についての前記量子化インデックスが、前記第1のパス(601)において復号されるフラグによって制限されるように、絶対値に関して、前記値ドメイン内の最小値であることを想定するか否かを示す第4の予め決定されたフラグタイプのフラグ(104)も復号するように構成される、請求項8ないし15のいずれかに記載の装置。 It said first path (60 1) followed by a second pass (60 2) Oite, wherein the quantization index for the position of the transform coefficients is currently being scanned, in the first pass (60 1) It also decodes a fourth predetermined flag type flag (104) indicating whether or not it is assumed to be the minimum value in the value domain with respect to the absolute value so as to be limited by the flag to be decoded. The apparatus according to any one of claims 8 to 15, which is configured as described above. 前記第2のパスに続く1つ以上の追加のパスにおいて、前記残余値を復号するように構成される、請求項16に記載の装置。 16. The apparatus of claim 16, wherein the residual value is configured to be decoded in one or more additional paths following the second path. 前記第1のパスに続く1つ以上のパス(603,604)において、前記残余値を復号するように構成される、請求項8ないし17に記載の装置。 In one or more passes following the first pass (60 3, 60 4), configured to decode the residual values, according to claims 8 to 17. 最後のパス(605)において、非ゼロ変換係数の符号を復号するように構成される、請求項8ないし18に記載の装置。 In the last pass (60 5), configured to decode the sign of non-zero transform coefficients, according to claims 8 to 18. 前記装置は、
前記状態遷移において、
前記現在の変換係数の位置が、スキャン順序において前記予め決定された変換係数の位置(112)に先行する、または、前記予め決定された変換係数の位置(112)に等しい場合には、
前記現在の変換係数の位置の前記第2のフラグタイプの前記フラグ(96)に依存して、
前記現在の変換係数の位置が、スキャン順序において前記予め決定された変換係数の位置(112)に続く場合には、
前記現在の変換係数の位置の前記第1のフラグタイプの前記フラグ(92)に依存して、
前記状態遷移の前記状態の前記更新を実行するように構成され、
前記コンテキスト適応エントロピー復号において、前記状態遷移が前記現在のスキャンされている変換係数の位置について想定する前記状態に依存して、前記予め決定された変換係数の位置(112)に先行する、それを含むおよびそれに続くすべての前記変換係数の位置に対して、前記現在のスキャンされている変換係数についての前記予め決定された第1のフラグタイプのフラグを復号するためのコンテキストを決定するように構成される、請求項8ないし19のいずれかに記載の装置。
The device is
In the state transition
If the position of the current conversion factor precedes the position of the predetermined conversion factor (112) in the scan order or is equal to the position of the predetermined conversion factor (112).
Depending on the flag (96) of the second flag type at the position of the current conversion factor,
If the current conversion factor position follows the predetermined conversion factor position (112) in the scan order,
Depending on the flag (92) of the first flag type at the position of the current conversion factor,
It is configured to perform the update of the state of the state transition.
In the context-adaptive entropy decoding, the state transition precedes the predetermined conversion factor position (112), depending on the state assumed for the position of the currently scanned conversion factor. Configured to determine the context for decoding the flag of the predetermined first flag type for the currently scanned conversion factor for the position of the containing and subsequent conversion factors. The device according to any one of claims 8 to 19.
前記装置は、
前記コンテキスト適応エントロピー復号において、前記予め決定された変換係数の位置(112)に先行するおよびそれを含む前記変換係数の位置については前記状態遷移が前記現在スキャンされている変換係数の位置について想定する前記状態に依存して、ならびに、前記予め決定された変換係数の位置(112)に続く前記変換係数の位置については前記状態遷移が前記現在スキャンされている変換係数の位置について想定する前記状態とは独立して、前記現在スキャンされている変換係数の位置についての前記予め決定された第1のフラグタイプのフラグ(92)を復号するためのコンテキストを決定するように構成される、請求項8ないし19のいずれかに記載の装置。
The device is
In the context-adaptive entropy decoding, the position of the conversion coefficient preceding and including the predetermined conversion coefficient position (112) is assumed to be the position of the conversion coefficient whose state transition is currently scanned. Depends on the state, and for the position of the conversion factor following the predetermined position of the conversion factor (112), the state transition is assumed for the position of the conversion factor currently being scanned. 8 is independently configured to determine the context for decoding the predetermined first flag type flag (92) with respect to the position of the currently scanned conversion factor. The device according to any one of 19.
前記デコーダは、
前記コンテキスト適応エントロピー復号においては、前記状態遷移が前記現在スキャンされている変換係数の位置について想定する前記状態に依存して、前記予め決定された変換係数の位置(112)に先行する、それを含むおよびそれに続くすべての前記変換係数の位置に対して、前記現在スキャンされている変換係数の位置についての前記予め決定された第1のフラグタイプのフラグ(92)を復号するためのコンテキストを決定するように構成され、
前記状態遷移においては、前記現在の変換係数の位置の前記第1のフラグタイプの前記フラグ(92)に依存して、前記スキャン順序において前記ぞれぞれの変換係数の位置に続く変換係数の位置について、前記現在の変換係数の位置について想定される前記状態遷移の前記状態の前記更新を実行するように構成される、請求項8ないし19のいずれかに記載の装置。
The decoder is
In the context-adaptive entropy decoding, the state transition precedes the predetermined conversion factor position (112), depending on the state assumed for the position of the currently scanned conversion factor. Determines the context for decoding the predetermined first flag type flag (92) for the position of the currently scanned conversion factor for the position of the conversion factor including and thereafter. Configured to
In the state transition, depending on the flag (92) of the first flag type at the position of the current conversion coefficient, the conversion coefficient following the position of each conversion coefficient in the scan order. The apparatus according to any one of claims 8 to 19, configured to perform the update of the state of the state transition assumed for the position of the current conversion factor with respect to the position.
変換係数のブロックを復号するための装置であって、
前記変換係数の位置をスキャン順序に従ってスキャンするパスのシーケンス(601−605)において、
コンテキスト適応バイナリ算術復号を使用して、
それぞれが1つ以上のフラグタイプのセットのうちの1つであるフラグ(92,96,98,104)を、および、
可変長符号(前記可変長符号語のビンはバイナリ算術デコーダの非適応バイパスモードで復号される)を使用して、
残余値を、
前記データストリームから復号して、
それぞれのフラグおよびそれぞれの残余値が現在スキャンされている変換係数の位置(50)についてそれぞれ復号されるようにする、および、
変換係数の位置の符号化されたセットのそれぞれの変換係数の位置について、前記1つ以上のフラグおよび1つの残余値のうちの少なくとも1つは連続して復号されて、現在スキャンされている変換係数の位置(50)についての量子化インデックスの絶対値が存在する初期値ドメイン(90)を、前記現在スキャンされている変換係数の位置についての前記量子化インデックスの前記絶対値のみを含むように連続的に制限し、ここで、それぞれのフラグは、前記現在スキャンされている変換係数の位置についての前記量子化インデックスの前記絶対値の値ドメインを、前記現在スキャンされている変換係数の位置についての前記量子化インデックスの前記絶対値の前記値ドメインが二分割された第1のサブ部分または第2のサブ部分に制限し、前記現在スキャンされている変換係数の位置について残余値が復号された場合、前記残余値は、前記現在スキャンされている変換係数の位置について少なくとも1つのフラグが復号されているときには前記値ドメイン、または、前記現在スキャンされている変換係数の位置についてフラグが復号されていないときには前記初期値ドメインから、前記現在スキャンされている変換係数の位置についての前記量子化インデックスの絶対値を一意に示すように構成され、
前記装置は、
前記パスのシーケンスのうちの第1のパス(601)において、
前記データストリームから、予め決定された第1のフラグタイプのフラグ(92)を、前記第1のパス(601)において、予め決定されたアボート基準が前記スキャン順序(62)においてはじめて満たされる、予め決定された変換係数の位置(112)まで(および、それを含んで)復号するように構成され、前記予め決定された第1のフラグタイプのフラグ(92)は、前記現在スキャンされている変換係数の位置(50)についての前記量子化インデックスがゼロか否かを示し、
前記予め決定された変換係数の位置(112)まで(および、それを含んで)の変換係数の位置についての前記フラグのみを復号し、前記パスのシーケンスの別のパス(603,4)において、スキャン順序(62)で前記予め決定された変換係数の位置(112)以降(および、それを除いて)の前記変換係数の位置の符号化されたセットのそれぞれについて、前記残余値のうちの1つを復号して、後者が前記初期値ドメイン(90)のうちの前記それぞれの変換係数の位置についての前記量子化インデックスの前記絶対値を一意に示すように構成される、装置。
A device for decoding blocks of conversion factors,
In sequence (60 1 -60 5) of the path to be scanned in the scan order positions of the transform coefficients,
Using context-adaptive binary arithmetic decoding,
Flags (92, 96, 98, 104), each of which is one of a set of one or more flag types, and
Using variable-length code (the variable-length codeword bin is decoded in the non-adaptive bypass mode of the binary arithmetic decoder),
Residual value,
Decrypt from the data stream
Allow each flag and each residual value to be decoded for the position (50) of the conversion factor currently being scanned, and
For each conversion factor position in the coded set of conversion factor positions, at least one of the one or more flags and one residual value is consecutively decoded and the conversion currently being scanned. The initial value domain (90), where the absolute value of the quantization index for the position of the coefficient (50) is present, should include only the absolute value of the quantization index for the position of the currently scanned conversion factor. Continuously limiting, where each flag is the absolute value domain of the quantization index for the position of the currently scanned conversion factor, for the position of the currently scanned conversion factor. The value domain of the absolute value of the quantization index was limited to the first or second subpart divided into two, and the residual value was decoded for the position of the currently scanned conversion factor. If, the residual value is flagged for the value domain or for the position of the currently scanned conversion factor when at least one flag has been decoded for the position of the currently scanned conversion factor. If not, it is configured to uniquely indicate the absolute value of the quantization index for the position of the currently scanned conversion factor from the initial value domain.
The device is
In a first pass (60 1) of the sequence of the path,
Wherein from the data stream, the first flag type flag with a predetermined (92), in said first path (60 1), the abort criterion which is previously determined is satisfied for the first time in the scan order (62), The flag (92) of the predetermined first flag type is configured to decode up to (and include) the position of the predetermined conversion factor (112), and the flag (92) of the predetermined first flag type is currently being scanned. Indicates whether or not the quantization index for the position (50) of the conversion factor is zero.
Decoding only the flag for the position of the conversion factor up to (and including) the predetermined conversion factor position (112) and in another path (60 3,4 ) of the sequence of the path. Of the residual values, for each of the coded sets of the conversion coefficient positions after (and excluding) the predetermined conversion coefficient positions (112) in the scan order (62). An apparatus configured to decode one so that the latter uniquely indicates the absolute value of the quantized index with respect to the position of each of the conversion factors in the initial value domain (90).
前記デコーダは、
現在の変換係数の位置について、状態遷移が前記現在の変換係数の位置について想定する状態に一意に基づいて、複数の再構成レベルセット(73)から1つの再構成レベルのセットを選択し(72)、前記量子化インデックスが前記再構成レベルのセットにおいて指し示す再構成レベルに前記量子化インデックスを逆量子化する(74)こと、および、
前記現在の変換係数の位置の前記量子化インデックスに依存して、前記スキャン順序において前記現在の変換係数に続く変換係数の位置のために、前記現在の変換係数の位置について想定される前記状態遷移の前記状態を更新する(76)こと、
によって、前記スキャン順序に従った状態遷移を使用して連続的に逆量子化するように構成される、請求項23に記載の装置。
The decoder is
For the position of the current conversion factor, select one set of reconstruction levels from multiple reconstruction level sets (73) based on the state that the state transition assumes for the position of the current conversion factor (72). ), The quantization index is dequantized to the reconstruction level indicated by the set of reconstruction levels (74), and
The state transition assumed for the position of the current conversion factor due to the position of the conversion factor following the current conversion factor in the scan order, depending on the quantization index of the position of the current conversion factor. To update the above-mentioned state of (76),
23. The apparatus of claim 23, configured to continuously dequantize using state transitions according to said scan order.
4つの異なった状態の間で、前記状態遷移の移行を実行するように構成される、請求項24に記載の装置。 24. The device of claim 24, configured to perform the transition of said state transition between four different states. 前記状態遷移の前記状態を更新する際に、前記現在の変換係数の位置の前記量子化インデックス(80)に適用されるバイナリ関数(86)に依存して、第1の後続状態(841)および第2の後続状態(842)の間で決定することによって前記更新を実行するように構成され、ここで、前記第1の後続状態および前記第2の後続状態は前記現在の変換係数の位置の前記状態に依存する、請求項24または25に記載の装置。 The first subsequent state (84 1 ) depends on the binary function (86) applied to the quantized index (80) at the position of the current conversion factor in updating the state of the state transition. and is configured to perform the update by determining between a second subsequent state (84 2), wherein said first subsequent state and the second subsequent state said current transform coefficients 25. The device of claim 24 or 25, which depends on said state of position. 前記バイナリ関数は前記パリティまたはゼロを生じさせる、請求項24ないし26のいずれかに記載の装置。 25. The apparatus of any of claims 24 to 26, wherein the binary function yields the parity or zero. 前記複数(50)の再構成レベルセット(52)を予め決定された量子化ステップサイズによってパラメータ化し、前記データストリームから前記予め決定された量子化ステップサイズに関する情報を導出するように構成される、請求項24ないし27のいずれかに記載の装置。 The plurality (50) reconstruction level sets (52) are configured to be parameterized by a predetermined quantization step size to derive information about the predetermined quantization step size from the data stream. The device according to any one of claims 24 to 27. 前記複数(50)の再構成レベルセット(52)のそれぞれは、現在の変換係数の位置についての前記複数(50)の再構成レベルセット(52)に対して一定である予め決定された量子化ステップサイズの整数倍からなる、請求項24ないし28のいずれかに記載の装置。 Each of the plurality (50) reconstruction level sets (52) is a predetermined quantization that is constant with respect to the plurality (50) reconstruction level set (52) with respect to the position of the current conversion factor. The device according to any one of claims 24 to 28, which comprises an integral multiple of the step size. 前記複数(50)の再構成レベルセット(52)のうちの前記再構成レベルセット(52)の数は2であり、前記複数の再構成レベルセットは、
ゼロおよび予め決定された量子化ステップサイズの偶数倍を含む第1の再構成レベルセットと、
ゼロおよび予め決定された量子化ステップサイズの奇数倍を含む第2の再構成レベルセットと、
を含む、請求項24ないし29のいずれかに記載の装置。
The number of the reconstruction level sets (52) among the plurality of (50) reconstruction level sets (52) is 2, and the plurality of reconstruction level sets are.
With a first reconstruction level set containing zeros and even multiples of the predetermined quantization step size,
With a second reconstruction level set containing zeros and odd multiples of the predetermined quantization step size,
24. The apparatus according to any one of claims 24 to 29.
前記予め決定されたアボート基準は、前記第1のパス(601)において復号される前記フラグの数が予め決定された閾値を超えるか否かに関連する、請求項23ないし30のいずれかに記載の装置。 Abort criteria said predetermined is related to whether more than a threshold number has been previously determined for the flag to be decoded in the first pass (60 1), in any one of claims 23 to 30 The device described. 前記第1のパス(601)において、前記現在スキャンされている変換係数の位置についての前記量子化インデックスが、絶対値に関して、前記値ドメイン内の最小値であることを想定するか否かを示す第3の予め決定されたフラグタイプのフラグ(98)も復号するように構成される、請求項23ないし31のいずれかの記載の装置。 In the first pass (60 1), wherein the quantization index for the position of the transform coefficients is currently being scanned, in terms of absolute value, whether it is assumed that the minimum value of the values in the domain The device according to any one of claims 23 to 31, wherein the flag (98) of the third predetermined flag type shown is also configured to be decoded. 前記第1のパス(601)において、前記現在スキャンされている変換係数についての前記量子化インデックスが非ゼロであることを前記第1の予め決定されたフラグタイプの前記フラグ(92)が示す変換係数の位置およびその後の変換係数の位置について排他的に、前記第3の予め決定されたフラグタイプの前記フラグを復号するように構成される、請求項32に記載の装置。 In the first pass (60 1), said first predetermined flag type of the flag (92) indicates that the quantization index for conversion coefficient the currently scanned is nonzero 32. The apparatus of claim 32, configured to decode the flag of the third predetermined flag type exclusively for the position of the conversion factor and the position of the conversion factor thereafter. 前記第1のパス(601)において、前記現在スキャンされている変換係数についての前記量子化インデックスが非ゼロであることを前記第1の予め決定されたフラグタイプの前記フラグ(92)が示す変換係数の位置およびその後の変換係数の位置について、第2の予め決定されたフラグタイプのフラグ(96)の後に前記第3の予め決定されたフラグタイプの前記フラグ(98)を復号するように構成され、前記第2の予め決定されたフラグタイプの前記フラグは前記現在スキャンされている変換係数の前記パリティを示す、請求項33に記載の装置。 In the first pass (60 1), said first predetermined flag type of the flag (92) indicates that the quantization index for conversion coefficient the currently scanned is nonzero For the position of the conversion factor and the position of the conversion factor thereafter, the flag (98) of the third predetermined flag type is decoded after the flag (96) of the second predetermined flag type. 33. The apparatus of claim 33, wherein said flag of the second predetermined flag type configured indicates said parity of the currently scanned conversion factor. 前記第1のパスにおいて(601)、前記現在スキャンされている変換係数の位置についての前記量子化インデックスが非ゼロであることを前記第1の予め決定されたフラグタイプの前記フラグ(92)が示す変換係数の位置およびその後の変換係数の位置について、前記第3の予め決定されたフラグタイプの前記フラグ(98)が1よりも大きい大きさを示す変換係数の位置について排他的に、前記現在スキャンされている変換係数の前記パリティを示す前記第2の予め決定されたフラグタイプの前記フラグ(96)を復号するように構成される、請求項33に記載の装置。 Wherein in the first pass (60 1), the flag of which the first predetermined flag type that the quantization index is non-zero for the position of the transform coefficients the currently scanned (92) With respect to the position of the conversion coefficient indicated by and the position of the conversion coefficient thereafter, the position of the conversion coefficient indicating that the flag (98) of the third predetermined flag type is larger than 1 is exclusively described above. 33. The apparatus of claim 33, configured to decode the flag (96) of the second predetermined flag type indicating the parity of the conversion factor currently being scanned. 前記第1のパス(601)に続く第2のパス(602)おいて、前記現在スキャンされている変換係数の位置についての前記量子化インデックスが、前記第1のパス(601)において復号されるフラグによって制限されるように、絶対値に関して、前記値ドメイン内の最小値であることを想定するか否かを示す第4の予め決定されたフラグタイプのフラグ(104)も復号するように構成される、請求項23ないし35のいずれかに記載の装置。 It said first path (60 1) followed by a second pass (60 2) Oite, wherein the quantization index for the position of the transform coefficients is currently being scanned, in the first pass (60 1) It also decodes a fourth predetermined flag type flag (104) indicating whether or not it is assumed to be the minimum value in the value domain with respect to the absolute value so as to be limited by the flag to be decoded. 23. The apparatus according to any one of claims 23 to 35. 非適応バイパスモードにおいて前記可変長符号のビンを復号するように構成される、請求項1ないし36のいずれかに記載の装置。 The apparatus according to any one of claims 1 to 36, which is configured to decode the variable length code bin in a non-adaptive bypass mode. 前記現在スキャンされている変換係数の位置がスキャン順序において前記予め決定された変換係数の位置に先行するか、または前記予め決定された変換係数の位置であるか、もしくは前記予め決定された変換係数の位置に続くか否かに依存して、前記現在スキャンされている変換係数の位置についての前記残余値を異なって復号するために、可変長符号の予め定義されたセットから前記可変長符号を選択するように構成される、請求項1ないし37のいずれかに記載の装置。 Whether the position of the currently scanned conversion factor precedes the position of the predetermined conversion factor in the scanning order, or is the position of the predetermined conversion factor, or the position of the predetermined conversion factor. The variable length code is derived from a predefined set of variable length codes in order to differently decode the residual value for the position of the currently scanned conversion factor, depending on whether or not it follows the position of. The device according to any one of claims 1 to 37, which is configured to be selected. 前記現在スキャンされている変換係数の位置が、前記予め決定された変換係数の位置(112)に先行するか、または前記予め決定された変換係数の位置(112)に等しい場合、
前記現在スキャンされている変換係数の位置についての前記残余値を復号するために、
選択された可変長符号を示す前記パラメータを、予め決定された基準を満たす先行する変換係数の位置の前記量子化インデックスに徐々に変更することによって、および/または、
前記現在スキャンされている変換係数の位置の近傍の変換係数の位置の前記量子化インデックスに依存して、
可変長符号の予め定義されたセットから前記可変長符号を選択するように構成される、請求項1ないし38のいずれかに記載の装置。
If the position of the currently scanned conversion factor precedes the position of the predetermined conversion factor (112) or is equal to the position of the predetermined conversion factor (112).
To decode the residual value for the position of the currently scanned conversion factor.
By gradually changing the parameter indicating the selected variable length code to the quantized index at the position of the preceding conversion factor that meets a predetermined criterion, and / or.
Depending on the quantization index of the conversion factor position near the currently scanned conversion factor position,
The apparatus according to any one of claims 1 to 38, wherein the variable length code is configured to select the variable length code from a predefined set of variable length codes.
前記現在スキャンされている変換係数の位置が、スキャン順序において前記予め決定された変換係数の位置の後に続く場合、
前記現在スキャンされている変換係数の位置についての前記残余値を復号するために、
前記現在スキャンされている変換係数の位置の近傍の変換係数の位置の前記量子化インデックスに依存して、および、
前記状態遷移が前記現在スキャンされている変換係数の位置について想定する前記状態に依存して、
可変長符号の予め定義されパラメータ化されたセットから前記可変長符号を選択するように構成される、請求項1ないし39のいずれかに記載の装置。
If the currently scanned conversion factor position follows the predetermined conversion factor position in the scan order.
To decode the residual value for the position of the currently scanned conversion factor.
Depending on the quantization index of the conversion factor position near the currently scanned conversion factor position, and.
Depending on the state in which the state transition assumes for the position of the currently scanned conversion factor,
The apparatus according to any one of claims 1 to 39, wherein the variable length code is configured to select the variable length code from a predefined and parameterized set of variable length codes.
前記デコーダは、
現在の変換係数の位置について、状態遷移が前記現在の変換係数の位置について想定する状態に一意に基づいて、複数の再構成レベルセットから1つの再構成レベルのセットを選択し、前記量子化インデックスが前記再構成レベルのセットにおいて指し示す再構成レベルに前記量子化インデックスを逆量子化すること、および、
前記現在の変換係数の位置についての前記量子化インデックスに依存して、前記スキャン順序において前記現在の変換係数の位置に続く変換係数の位置のために、前記現在の変換係数の位置について想定される前記状態遷移の前記状態を更新すること、
によって、前記スキャン順序に従った前記状態遷移を使用して連続的に逆量子化するように構成される、請求項23ないし40のいずれかに記載の装置。
The decoder is
For the position of the current conversion factor, one set of reconstruction levels is selected from multiple reconstruction level sets based on the state that the state transition assumes for the position of the current conversion factor, and the quantized index. To dequantize the quantization index to the reconstruction level indicated by in the set of reconstruction levels, and
Depends on the quantization index for the position of the current conversion factor, it is assumed for the position of the current conversion factor due to the position of the conversion factor following the position of the current conversion factor in the scan order. Updating the state of the state transition,
23. 40. The apparatus of any of claims 23-40, configured to continuously dequantize using said state transitions according to said scan order.
前記1つ以上のフラグタイプのセットのそれぞれについて、
前記パスのシーケンスのうちの1つにおいて、前記それぞれのフラグタイプの前記フラグを復号するように、
前記復号を実行するように構成される、請求項1ないし41のいずれかに記載の装置。
For each of the above sets of one or more flag types,
To decode the flag of each of the flag types in one of the sequences of the paths.
The device according to any one of claims 1 to 41, which is configured to perform the decoding.
前記可変長符号は可変長符号の予め定義されたセットから選択され、単一のパラメータが1つの可変長符号を一意に識別する、請求項1ないし42のいずれかに記載の装置。 The apparatus according to any one of claims 1 to 42, wherein the variable length code is selected from a predefined set of variable length codes and a single parameter uniquely identifies one variable length code. 前記可変長符号の予め定義されたセットはゴロム・ライス符号のセットである、請求項43に記載の装置。 43. The apparatus of claim 43, wherein the predefined set of variable length codes is a set of Golomb rice codes. 前記装置は、前記現在スキャンされている変換係数の位置についての前記残余値を復号するために、
選択された可変長符号を示す前記パラメータを、予め決定された基準を満たす先行する変換係数の位置の前記量子化インデックスに徐々に変更すること、および/または、
前記現在スキャンされている変換係数の位置の近傍の変換係数の位置の前記量子化インデックスに依存すること、
によって、可変長符号の予め定義されたセットから前記可変長符号を選択するように構成される、請求項1ないし44のいずれかに記載の装置。
The device deciphers the residual value for the position of the currently scanned conversion factor.
Gradually changing the parameter indicating the selected variable length code to the quantized index at the position of the preceding conversion factor that meets a predetermined criterion, and / or.
Dependence on the quantization index of the conversion coefficient position near the currently scanned conversion coefficient position,
The apparatus according to any one of claims 1 to 44, wherein the variable length code is configured to select the variable length code from a predefined set of variable length codes.
スキャン順序において最初の非ゼロ量子化インデックスの前記位置(64)と予め定義された変換係数の位置(66)との間で、前記スキャン順序に従って拡張する変換係数の位置の前記符号化されたセットを決定し、
前記データストリームに基づいて、前記最初の非ゼロ量子化インデックスの前記位置を特定するように構成される、請求項1ないし45のいずれかに記載の装置。
The encoded set of conversion factor positions that extend according to the scan order between said position (64) of the first nonzero quantization index in the scan order and the position of the predefined conversion factor (66). Decide,
The apparatus according to any one of claims 1 to 45, which is configured to identify the position of the first non-zero quantized index based on the data stream.
それぞれの非ゼロ量子化インデックスについて、符号ビットを等確率バイパスモードを使用して前記データストリームから復号するように構成される、請求項1ないし46のいずれかに記載の装置。 The apparatus according to any one of claims 1 to 46, wherein for each non-zero quantization index, the sign bit is configured to be decoded from the data stream using an equal probability bypass mode. 予め決定された変換係数の位置のための前記第1のフラグタイプの前記フラグ(92)を、
前記予め決定された変換係数の前記係数位置
に依存してコンテキストを選択することによって、コンテキスト適応エントロピー復号を使用して復号するように構成される、請求項1ないし47のいずれかに記載の装置。
The flag (92) of the first flag type for a predetermined conversion factor position.
The apparatus according to any one of claims 1 to 47, configured to decode using context-adaptive entropy decoding by selecting a context depending on the coefficient position of the predetermined conversion factor. ..
前記予め決定された変換係数の位置(50)のまわりのローカルテンプレート(52)内の近傍の変換係数の位置のセットについて前記予め決定された変換係数の位置の予め決定されたフラグタイプの前記フラグ(92)の前に復号されたフラグのセットに基づいてローカルアクティビティを決定すること、および、
前記ローカルアクティビティに依存してコンテキストを選択すること、
によって、予め決定された変換係数の位置のための前記第1の予め決定されたフラグタイプの前記フラグ(92)をコンテキスト適応エントロピー復号を使用して復号するように構成される、請求項1ないし48のいずれかに記載の装置。
The flag of the predetermined flag type of the predetermined conversion coefficient position for a set of neighborhood conversion coefficient positions in the local template (52) around the predetermined conversion coefficient position (50). Determining local activity based on the set of flags decrypted prior to (92), and
Choosing a context depending on the local activity,
1. The flag (92) of the first predetermined flag type for the position of the predetermined conversion factor is configured to be decoded using context-adaptive entropy decoding. The device according to any of 48.
前記フラグのセットは、近傍の変換係数の位置の前記セットのために復号された前記予め決定された第1のフラグタイプの前記フラグ(92)と、前記予め決定された第2のフラグタイプの前記フラグ(96)と、前記予め決定された第3のフラグタイプの前記フラグ(98)とを含み、前記装置は、前記近傍の変換係数の位置のそれぞれについての加数の合計に基づいて前記アクティビティを計算するように構成され、前記加数は、前記近傍の変換係数の位置のために復号された前記予め決定された第1のフラグタイプの前記フラグ(92)と、前記予め決定された第2のフラグタイプの前記フラグ(96)と、前記予め決定された第3のフラグタイプの前記フラグ(98)とに基づいて決定される、前記近傍の変換係数の位置についての前記量子化インデックスの最小想定絶対値、または最小想定絶対再構成レベルを示す、請求項49に記載の装置。 The set of flags includes the flag (92) of the predetermined first flag type decoded for the set of positions of conversion coefficients in the vicinity and the predetermined second flag type. The device comprises the flag (96) and the flag (98) of the predetermined third flag type, wherein the device is based on the sum of the additions for each of the positions of the conversion factors in the vicinity. Configured to calculate activity, the addition is predetermined with said flag (92) of the predetermined first flag type decoded for the position of the conversion factor in the neighborhood. The quantization index for the position of the conversion factor in the vicinity, determined based on the flag (96) of the second flag type and the flag (98) of the predetermined third flag type. 49. The apparatus of claim 49, which indicates the minimum assumed absolute value, or the minimum assumed absolute reconstruction level of. 前記デコーダは、
それぞれの変換係数の位置について、状態遷移が前記それぞれの変換係数の位置について想定する状態に一意に基づいて、複数の再構成レベルセットから1つの再構成レベルセットを選択し、前記量子化インデックスが前記再構成レベルのセットにおいて指し示す再構成レベルに前記量子化インデックスを逆量子化すること、および、
前記現在の変換係数の位置の前記量子化インデックスに依存して、前記スキャン順序において前記現在の変換係数に続く変換係数の位置のために、前記現在の変換係数の位置について想定される前記状態遷移の前記状態を更新すること、
によって、前記スキャン順序に従った状態遷移を使用して連続的に逆量子化するように構成され、
予め決定された変換係数の位置に対する前記第1のフラグタイプの前記フラグを、
前記状態遷移が前記予め決定された変換係数の位置について想定する前記状態、および/または、
前記予め決定された変換係数の位置のために選択された再構成レベルの前記セット
に依存してコンテキストを選択することによって、コンテキスト適応エントロピー復号を使用して復号するように構成される、請求項1ないし50のいずれかに記載の装置。
The decoder is
For the position of each conversion factor, one reconstruction level set is selected from multiple reconstruction level sets based on the state that the state transition assumes for the position of each conversion coefficient, and the quantization index is Dequantizing the quantization index to the reconstruction level pointed to in the reconstruction level set, and
The state transition assumed for the position of the current conversion factor due to the position of the conversion factor following the current conversion factor in the scan order, depending on the quantization index of the position of the current conversion factor. To update the above state of
Is configured to continuously dequantize using state transitions according to the scan order.
The flag of the first flag type with respect to the position of the predetermined conversion factor,
The state and / or the state in which the state transition assumes the position of the predetermined conversion factor.
Claimed to be configured to decode using context-adaptive entropy decoding by selecting a context depending on said set of reconstruction levels selected for the position of the predetermined transformation factor. The device according to any one of 1 to 50.
予め決定された変換係数の位置のための前記第2のフラグタイプの前記フラグ(92)を、
前記予め決定された変換係数の係数位置
に依存してコンテキストを選択することによって、コンテキスト適応エントロピー復号を使用して復号するように構成される、請求項1ないし51のいずれかに記載の装置。
The flag (92) of the second flag type for a predetermined conversion factor position,
The apparatus according to any one of claims 1 to 51, which is configured to decode using context-adaptive entropy decoding by selecting a context depending on the coefficient position of the predetermined conversion coefficient.
予め決定された変換係数の位置のまわりのローカルテンプレート(52)内の近傍の変換係数の位置のセットについて、前記予め決定された変換係数の位置の前記第2の予め決定されたフラグタイプの前記フラグの前に復号されるフラグのセットに基づいて、ローカルアクティビティ、および/または、前記予め決定された変換係数の位置のまわりの前記ローカルテンプレート(52)内の前記量子化インデックスがゼロではない変換係数の数を決定すること、および、
前記ローカルアクティビティ、および/または、前記非ゼロ量子化インデックスの数に依存して、コンテキストを選択すること、
によって、前記予め決定された変換係数の位置のための前記第2の予め決定されたフラグタイプの前記フラグ(96)を、コンテキスト適応エントロピー復号を使用して復号するように構成される、請求項1ないし52のいずれかに記載の装置。
The second predetermined flag type of the predetermined conversion coefficient position for a set of nearby conversion coefficient positions in the local template (52) around the predetermined conversion coefficient position. Based on the set of flags decrypted before the flags, the local activity and / or the non-zero quantized index in the local template (52) around the position of the predetermined conversion factor. Determining the number of coefficients and
Choosing a context depending on the number of the local activity and / or the non-zero quantization index,
The flag (96) of the second predetermined flag type for the position of the predetermined conversion factor is configured to be decoded using context-adaptive entropy decoding. The device according to any one of 1 to 52.
前記ローカルアクティビティと前記非ゼロ量子化インデックスの数との間の差に依存して前記コンテキストを選択するように構成される、請求項53に記載の装置。 53. The apparatus of claim 53, configured to select the context depending on the difference between the local activity and the number of non-zero quantized indexes. 前記フラグのセットは、近傍の変換係数の位置の前記セットのために復号された前記予め決定された第1のフラグタイプの前記フラグ(92)と、前記予め決定された第2のフラグタイプの前記フラグ(96)と、前記予め決定された第3のフラグタイプの前記フラグ(98)とを含み、前記装置は、前記近傍の変換係数の位置のそれぞれについての加数の合計に基づいて前記アクティビティを計算するように構成され、前記加数は、前記近傍の変換係数の位置のために復号された前記予め決定された第1のフラグタイプの前記フラグ(92)と、前記予め決定された第2のフラグタイプの前記フラグ(96)と、前記予め決定された第3のフラグタイプの前記フラグ(98)とに基づいて決定される前記近傍の変換係数の位置(51)についての前記量子化インデックスの最小想定絶対値、または、最小想定絶対再構成レベルを示す、請求項52または53に記載の装置。 The set of flags includes the flag (92) of the predetermined first flag type decoded for the set of positions of conversion coefficients in the vicinity and the predetermined second flag type. The device comprises the flag (96) and the flag (98) of the predetermined third flag type, wherein the device is based on the sum of the additions for each of the positions of the conversion factors in the vicinity. Configured to calculate activity, the addition is predetermined with said flag (92) of the predetermined first flag type decoded for the position of the conversion factor in the neighborhood. The quantum about the position (51) of the conversion factor in the neighborhood determined based on the flag (96) of the second flag type and the flag (98) of the predetermined third flag type. The device of claim 52 or 53, which indicates the minimum assumed absolute value of the index or the minimum assumed absolute reconstruction level. 予め決定された変換係数の位置のための前記第3のフラグタイプの前記フラグ(98)を、
前記予め決定された変換係数の係数位置
に依存してコンテキストを選択することによって、コンテキスト適応エントロピー復号を使用して復号するように構成される、請求項1ないし55のいずれかに記載の装置。
The flag (98) of the third flag type for a predetermined conversion factor position.
The apparatus according to any one of claims 1 to 55, which is configured to decode using context-adaptive entropy decoding by selecting a context depending on the coefficient position of the predetermined conversion coefficient.
前記予め決定された変換係数の位置のまわりのローカルテンプレート内の近傍の変換係数の位置のセットについての前記予め決定された変換係数の前記第3の予め決定されたフラグタイプの前記フラグの前に復号されたフラグのセットに基づいて、ローカルアクティビティ、および/または、前記予め決定された変換係数の位置のまわりの前記ローカルテンプレート内の、前記量子化インデックスがゼロではない変換係数の数を決定すること、および、
前記ローカルアクティビティ、および/または、前記非ゼロ量子化インデックスの数に依存してコンテキストを選択すること、
によって、予め決定された変換係数の位置のための前記第3の予め決定されたフラグタイプの前記フラグ(98)を、コンテキスト適応エントロピー復号を使用して復号するように構成される、請求項1ないし56のいずれかに記載の装置。
Before the flag of the third predetermined flag type of the predetermined conversion factor for a set of neighborhood conversion factor positions in the local template around the predetermined conversion factor position. Based on the set of decoded flags, determine the number of conversion coefficients with a non-zero quantization index in the local template around the location of the local activity and / or the predetermined conversion factor. That, and
Choosing a context depending on the number of the local activity and / or the non-zero quantization index,
1. The flag (98) of the third predetermined flag type for the position of the predetermined conversion factor is configured to be decoded using context-adaptive entropy decoding. The device according to any one of 56 to 56.
前記ローカルアクティビティと前記非ゼロ量子化インデックスの数との間の差に依存して前記コンテキストを選択するように構成される、請求項57に記載の装置。 58. The device of claim 57, configured to select the context depending on the difference between the local activity and the number of non-zero quantized indexes. 前記フラグのセットは、近傍の変換係数の位置の前記セットのために復号された前記予め決定された第1のフラグタイプの前記フラグと、前記予め決定された第2のフラグタイプの前記フラグと、前記予め決定された第3のフラグタイプの前記フラグとを含み、前記装置は、前記近傍の変換係数の位置のそれぞれについての加数の合計に基づいて前記アクティビティを計算するように構成され、前記加数は前記近傍の変換係数の位置のために復号された前記予め決定された第1のフラグタイプの前記フラグと、前記予め決定された第2のフラグタイプの前記フラグと、前記予め決定された第3のフラグタイプの前記フラグとに基づいて決定される前記近傍の変換係数の位置についての前記量子化インデックスについての最小想定絶対値、または、最小想定絶対再構成レベルを示す、請求項57または58に記載の装置。 The set of flags includes the flag of the predetermined first flag type decoded for the set of positions of conversion coefficients in the vicinity and the flag of the predetermined second flag type. , The device is configured to calculate the activity based on the sum of the additions for each of the positions of the conversion factors in the vicinity, including said flag of the predetermined third flag type. The addition is determined by the flag of the predetermined first flag type decoded for the position of the conversion factor in the vicinity, the flag of the predetermined second flag type, and the predetermined flag. A claim that indicates the minimum assumed absolute value for the quantization index or the minimum assumed absolute reconstruction level for the position of the conversion factor in the neighborhood determined based on the flag of the third flag type. 57 or 58. 変換係数ブロック(10)を復号するためのデコーダであって、
前記変換係数ブロック(10)が分割された前記サブブロック(14)のうちの少なくとも1つのセットのそれぞれについて、前記それぞれのサブブロック(14)が、前記量子化インデックスの前記絶対値が予め決定された非ゼロ閾値よりも大きい変換係数(12)を含むか否かを示すサブブロック重大フラグを復号し、また、
前記量子化インデックスの前記絶対値が前記予め決定された非ゼロ閾値よりも大きい変換係数が少なくとも1つの存在することを前記サブブロック重大フラグが示すそれぞれのサブブロック(14)内では、
前記それぞれのサブブロック内の前記変換係数のそれぞれについて、
前記それぞれの変換係数の値ドメインを2つの部分に帰納的に二分割し、前記それぞれの変換係数の量子化インデックスが前記2つの部分のうちのどちらに存在するかを示す1つ以上のフラグのシーケンスを連続的に復号するとともに、前記値ドメインが単に1つの値または絶対的な意味で等しい値しか含まなくなるとすぐに前記シーケンスの復号を停止すること、および、
前記値ドメインが前記絶対的な意味で異なる値を依然として1つ以上含む場合、前記値ドメインにおける前記それぞれの変換係数の前記量子化インデックスの前記絶対値を示す残余値を連続的に復号することによって、ならびに、
前記量子化インデックスの前記絶対値が前記予め決定された非ゼロ閾値よりも大きい変換係数が存在しないことを前記サブブロック重大フラグが示すそれぞれのサブブロック内では、
前記それぞれのサブブロック内の前記変換係数のそれぞれについて、
前記1つ以上のフラグの前記シーケンスを連続的に復号するとともに、前記値ドメインが前記非ゼロ閾値を超えない1つの値のみ、単に1つの値または単に絶対的な意味で等しい値しか含まなくなるとすぐに前記シーケンスの復号を停止することによって、
前記変換係数ブロックの変換係数を復号するように構成される、デコーダ。
A decoder for decoding the conversion coefficient block (10).
For each of at least one set of the sub-blocks (14) into which the conversion factor block (10) is divided, the absolute value of the quantization index is predetermined for each of the sub-blocks (14). It also decodes the subblock critical flag indicating whether it contains a conversion factor (12) greater than the non-zero threshold.
Within each subblock (14) indicated by the subblock severity flag that there is at least one conversion factor whose absolute value of the quantized index is greater than the predetermined non-zero threshold.
For each of the conversion factors in each of the subblocks
The value domain of each of the conversion coefficients is inductively divided into two parts, and one or more flags indicating which of the two parts the quantized index of each conversion coefficient is located in. Decoding the sequence continuously, and stopping decoding the sequence as soon as the value domain contains only one value or an absolutely equal value, and
If the value domain still contains one or more values that differ in the absolute sense, by continuously decoding the residual value indicating the absolute value of the quantized index of each of the conversion coefficients in the value domain. , As well as
Within each subblock indicated by the subblock severity flag that there is no conversion factor whose absolute value of the quantized index is greater than the predetermined non-zero threshold.
For each of the conversion factors in each of the subblocks
When the sequence of one or more flags is continuously decoded and the value domain contains only one value that does not exceed the non-zero threshold, only one value or simply an absolutely equal value. By immediately stopping decoding of the sequence
A decoder configured to decode the conversion factor of the conversion factor block.
前記フラグのシーケンスの第1のフラグは、前記第1のフラグが復号される前記変換係数がゼロであるか否かを示す有意フラグである、請求項60に記載の装置。 60. The apparatus of claim 60, wherein the first flag in the sequence of flags is a significant flag indicating whether or not the conversion factor from which the first flag is decoded is zero. 前記予め決定された非ゼロ閾値は1であり、かつ、
前記装置は、
前記量子化インデックスの前記絶対値が1より大きい変換係数が存在しないことを前記サブブロック重大フラグが示すそれぞれのサブブロック内では、
前記それぞれのサブブロック内の前記変換係数のそれぞれについて、
前記第1のフラグ
を連続的に復号するように構成される、請求項61に記載の装置。
The predetermined non-zero threshold is 1 and
The device is
Within each subblock indicated by the subblock severity flag that there is no conversion factor for which the absolute value of the quantized index is greater than 1.
For each of the conversion factors in each of the subblocks
16. The apparatus of claim 61, configured to continuously decode the first flag.
前記変換係数ブロックが分割された前記サブブロックのうちの少なくとも1つの別のセットのそれぞれについて、前記それぞれのサブブロックがゼロに等しくない変換係数を含むか否かを示す別のサブブロック重大フラグを復号し、
前記第1のサブブロック重大フラグが復号され、ゼロに等しくない少なくとも1つの変換係数を含むことを前記別のサブブロック重大フラグが示す前記サブブロックをなすサブブロックの前記セットを決定し、
非ゼロ変換係数が存在しないことを前記別のサブブロック重大フラグが示すそれぞれのサブブロック内では、
前記変換係数ブロックの変換係数が、すべてゼロである
と推定するように構成される、請求項60ないし62のいずれかに記載の装置。
For each of at least one other set of the subblocks in which the conversion factor blocks are divided, another subblock critical flag indicating whether each of the subblocks contains a conversion factor that is not equal to zero. Decrypt and
Determining the set of subblocks that make up the subblock indicated by the other subblock critical flag that the first subblock critical flag is decoded and contains at least one conversion factor that is not equal to zero.
Within each subblock indicated by the other subblock critical flag that there is no nonzero conversion factor
The apparatus according to any one of claims 60 to 62, wherein the conversion coefficients of the conversion coefficient block are configured to be estimated to be all zero.
変換係数のブロック(10)を符号化するための装置であって、
前記ブロック(10)の変換係数の位置(12)をスキャン順序(62)に従ってスキャンするパスのシーケンス(60)において、
コンテキスト適応バイナリ算術符号化を使用して、
それぞれが1つ以上のフラグタイプのセットのうちの1つであるフラグ(92,96,98,104)を、および、
可変長符号を使用して、
残余値を、
データストリームに符号化して、
それぞれのフラグおよびそれぞれの残余値が現在スキャンされている変換係数の位置(50)についてそれぞれ符号化され、且つ、
変換係数の位置の符号化されたセットのそれぞれの変換係数の位置について、前記1つ以上のフラグおよび1つの残余値のうちの少なくとも1つが連続して符号化されて、現在スキャンされている変換係数の位置についての量子化インデックスの絶対値が存在する初期値ドメイン(90)を、前記現在スキャンされている変換係数の位置についての前記量子化インデックスの前記絶対値のみを含むように連続的に制限し、ここで、それぞれのフラグは、前記現在スキャンされている変換係数の位置についての前記量子化インデックスの前記絶対値の値ドメインを、前記現在スキャンされている変換係数の位置についての前記量子化インデックスの前記絶対値の値ドメインが二分割された第1のサブ部分または第2のサブ部分に制限し、前記現在スキャンされている変換係数の位置に対して前記残余値が符号化された場合、前記残余値は、前記現在スキャンされている変換係数の位置について少なくとも1つのフラグが符号化されているときには前記値ドメイン、または、前記現在スキャンされている変換係数の位置についてフラグが符号化されていないときには前記初期値ドメイン(90)から、前記現在スキャンされている変換係数の位置についての前記量子化インデックスの絶対値を一意に示すように構成され、
前記装置は、
現在の変換係数の位置について、状態遷移が前記現在の変換係数の位置について想定する状態に一意に基づいて、複数の再構成レベルセット(73)から1つの再構成レベルセットを選択し(72)、選択された前記再構成レベルのセットから再構成レベルを一意に示す量子化インデックスに前記現在の変換係数の位置についての前記変換係数を逆量子化する(74)こと、および、
前記現在の変換係数の位置の前記量子化インデックスに依存して、前記スキャン順序において前記現在の変換係数に続く変換係数の位置のために、前記現在の変換係数の位置について想定される前記状態遷移の前記状態を更新する(76)こと、
によって、前記スキャン順序に従った状態遷移を使用して、
連続して逆量子化するように構成される、装置。
A device for encoding a block (10) of conversion coefficients.
In the sequence of paths (60) that scans the position (12) of the conversion factor of the block (10) according to the scan order (62).
Using context-adaptive binary arithmetic coding,
Flags (92, 96, 98, 104), each of which is one of a set of one or more flag types, and
Using variable length code,
Residual value,
Encoded into a data stream,
Each flag and each residual value is coded for the position (50) of the conversion factor currently being scanned, and
For each conversion factor position in the coded set of conversion factor positions, at least one of the one or more flags and one residual value is consecutively encoded and is currently being scanned. The initial value domain (90), where the absolute value of the quantization index for the position of the coefficient exists, is contiguous so as to include only the absolute value of the quantization index for the position of the currently scanned conversion factor. Here, each flag limits the value domain of the absolute value of the quantization index for the position of the currently scanned conversion factor and the quantum of the position of the currently scanned conversion factor. The absolute value domain of the conversion index was restricted to the first or second subpart divided into two, and the residual value was encoded for the position of the currently scanned conversion factor. If the residual value is encoded for the value domain when at least one flag is encoded for the position of the currently scanned conversion factor, or for the position of the currently scanned conversion factor. When not, the initial value domain (90) is configured to uniquely indicate the absolute value of the quantization index for the position of the currently scanned conversion factor.
The device is
For the position of the current conversion factor, one reconstruction level set is selected from the plurality of reconstruction level sets (73) based on the state that the state transition assumes for the position of the current conversion factor (72). The conversion factor for the position of the current conversion factor is inversely quantized from the selected set of reconstruction levels into a quantization index that uniquely indicates the reconstruction level (74).
The state transition assumed for the position of the current conversion factor due to the position of the conversion factor following the current conversion factor in the scan order, depending on the quantization index of the position of the current conversion factor. To update the above-mentioned state of (76),
By using state transitions according to the scan order,
A device configured to be continuously dequantized.
4つの異なった状態の間で、前記状態遷移の移行を実行するように構成される、請求項64に記載の装置。 64. The apparatus of claim 64, configured to perform the transition of said state transition between four different states. 前記状態遷移の前記状態を更新する際に、前記現在の変換係数の位置の前記量子化インデックス(80)に適用されるバイナリ関数(86)に依存して、第1の後続状態(841)および第2の後続状態(842)の間で決定することによって前記更新を実行するように構成され、ここで、前記第1の後続状態および前記第2の後続状態は前記現在の変換係数の位置の前記状態に依存する、請求項63または65に記載の装置。 The first subsequent state (84 1 ) depends on the binary function (86) applied to the quantized index (80) at the position of the current conversion factor in updating the state of the state transition. and is configured to perform the update by determining between a second subsequent state (84 2), wherein said first subsequent state and the second subsequent state said current transform coefficients The device of claim 63 or 65, which depends on said state of position. 前記バイナリ関数は前記パリティまたはゼロを生じさせる、請求項63ないし66のいずれかに記載の装置。 The device of any of claims 63-66, wherein the binary function yields the parity or zero. 前記複数(50)の再構成レベルセット(52)を予め決定された量子化ステップサイズによってパラメータ化し、前記データストリームに前記予め決定された量子化ステップサイズに関する情報を書き込むように構成される、請求項63ないし67のいずれかに記載の装置。 A claim configured to parameterize the plurality (50) reconstruction level sets (52) with a predetermined quantization step size and write information about the predetermined quantization step size to the data stream. Item 6. The apparatus according to any one of items 63 to 67. 前記複数(50)の再構成レベルセット(52)のそれぞれは、現在の変換係数の位置についての前記複数(50)の再構成レベルセット(52)に対して一定である予め決定された量子化ステップサイズの整数倍からなる、請求項63ないし68のいずれかに記載の装置。 Each of the plurality (50) reconstruction level sets (52) is a predetermined quantization that is constant with respect to the plurality (50) reconstruction level set (52) with respect to the position of the current conversion factor. The apparatus according to any one of claims 63 to 68, which comprises an integral multiple of the step size. 前記複数(50)の再構成レベルセット(52)のうちの前記再構成レベルセット(52)の数は2であり、前記複数の再構成レベルセットは、
ゼロおよび予め決定された量子化ステップサイズの偶数倍を含む第1の再構成レベルセットと、
ゼロおよび予め決定された量子化ステップサイズの奇数倍を含む第2の再構成レベルセットと、
を含む、請求項63ないし69のいずれかに記載の装置。
The number of the reconstruction level sets (52) among the plurality of (50) reconstruction level sets (52) is 2, and the plurality of reconstruction level sets are.
With a first reconstruction level set containing zeros and even multiples of the predetermined quantization step size,
With a second reconstruction level set containing zeros and odd multiples of the predetermined quantization step size,
The device according to any one of claims 63 to 69.
前記エンコーダは、
前記パスのシーケンスのうちの第1のパスにおいて、
第1の変換係数の位置についての量子化インデックスの絶対値の前記値ドメインを制限するフラグが、スキャン順序(62)において前記第1の変換係数の位置に続く第2の変換係数の位置についての量子化インデックスの絶対値の前記値ドメインを制限するフラグの前に符号化されるように、予め決定された第1のフラグタイプのフラグおよび予め決定された第2のフラグタイプのフラグを前記データストリームに符号化し、ここで、前記予め決定された第2のフラグタイプのフラグの前記符号化は、前記第1のパス(601)において、予め決定されたアボート基準が前記スキャン順序(62)においてはじめて満たされる予め決定された変換係数の位置(112)まで、および、それを含むように実行され、前記予め決定された第1のフラグタイプのフラグ(92)の前記符号化は、前記スキャン順序(62)において前記予め決定された変換係数の位置(112)を超えて実行され、前記予め決定された第1のフラグタイプの前記フラグ(92)は前記現在スキャンされている変換係数の前記量子化インデックスがゼロであるか否かを示す、請求項64ないし70のいずれかに記載の装置。
The encoder is
In the first pass of the sequence of paths
The flag limiting the value domain of the absolute value of the quantization index for the position of the first conversion factor is the position of the second conversion factor following the position of the first conversion factor in scan order (62). The data includes a predetermined first flag type flag and a predetermined second flag type flag to be encoded before the flag limiting the value domain of the absolute value of the quantization index. encoded in the stream, wherein the encoding of the second flag type flag said predetermined, the first pass in (60 1), the abort criterion which is previously determined the scan order (62) The coding of the predetermined first flag type flag (92) performed to and to include the predetermined conversion factor position (112) that is satisfied for the first time in the scan. The flag (92) of the predetermined first flag type is the said flag (92) of the currently scanned conversion factor executed beyond the position (112) of the predetermined conversion factor in sequence (62). The apparatus according to any one of claims 64 to 70, which indicates whether or not the quantization index is zero.
前記予め決定された第2のフラグタイプの前記フラグ(96)は前記現在スキャンされている変換係数についての前記量子化インデックスの前記パリティを示す、請求項71に記載の装置。 17. The apparatus of claim 71, wherein the flag (96) of the predetermined second flag type indicates the parity of the quantized index for the currently scanned conversion factor. 前記第1のパス(601)において、前記第1の予め決定されたフラグタイプの前記フラグ(92)が前記現在スキャンされている変換係数の前記量子化インデックスが非ゼロであることを示す変換係数の位置およびその後の変換係数の位置について排他的に、前記第2の予め決定されたフラグタイプの前記フラグ(96)を符号化するように構成される、請求項71または72のいずれかに記載の装置。 In the first pass (60 1), conversion indicating that the quantization indices of transform coefficients, wherein the first predetermined flag type of the flag (92) is the currently scanned is nonzero One of claims 71 or 72 configured to encode said flag (96) of the second predetermined flag type exclusively with respect to the position of the coefficient and the position of the subsequent conversion factor. The device described. 前記予め決定されたアボート基準は、前記第1のパス(601)において符号化される前記フラグの数が予め決定された閾値を超えるか否かに関連する、請求項71に記載の装置。 17. The apparatus of claim 71, wherein the predetermined abort criteria relates to whether the number of the flags encoded in the first pass (601) exceeds a predetermined threshold. 前記第1のパス(601)において、前記現在スキャンされている変換係数の位置についての前記量子化インデックスが、絶対値に関して、前記値ドメイン内の最小値であることを想定するか否かを示す第3の予め決定されたフラグタイプのフラグ(98)も符号化するように構成される、請求項71ないし74に記載の装置。 In the first pass (60 1), wherein the quantization index for the position of the transform coefficients is currently being scanned, in terms of absolute value, whether it is assumed that the minimum value of the values in the domain 17. The apparatus of claim 71-74, wherein the flag (98) of the third predetermined flag type shown is also configured to encode. 前記第1のパス(601)において、前記現在スキャンされている変換係数についての前記量子化インデックスが非ゼロであることを前記第1の予め決定されたフラグタイプの前記フラグ(92)が示す変換係数の位置およびその後の変換係数の位置について排他的に、前記第3の予め決定されたフラグタイプの前記フラグを符号化するように構成される、請求項75に記載の装置。 In the first pass (60 1), said first predetermined flag type of the flag (92) indicates that the quantization index for conversion coefficient the currently scanned is nonzero 25. The apparatus of claim 75, configured to encode the flag of the third predetermined flag type exclusively with respect to the position of the conversion factor and the position of the conversion factor thereafter. 前記第1のパス(601)において、前記現在スキャンされている変換係数の位置についての前記量子化インデックスが非ゼロであることを前記第1の予め決定されたフラグタイプの前記フラグ(92)が示す変換係数の位置およびその後の変換係数の位置について、前記第2の予め決定されたフラグタイプの前記フラグ(96)の後に前記第3の予め決定されたフラグタイプの前記フラグ(98)を符号化するように構成される、請求項76に記載の装置。 Wherein in the first pass (60 1), wherein the flag of which the said first predetermined flag type that quantization index is non-zero for the position of the transform coefficients is currently being scanned (92) With respect to the position of the conversion coefficient indicated by and the position of the conversion coefficient thereafter, the flag (98) of the third predetermined flag type is added after the flag (96) of the second predetermined flag type. 36. The device of claim 76, configured to encode. 前記第1のパス(601)において、前記現在スキャンされている変換係数の位置についての前記量子化インデックスが非ゼロであることを前記第1の予め決定されたフラグタイプの前記フラグ(92)が示す変換係数の位置およびその後の変換係数の位置について、前記第3の予め決定されたフラグタイプの前記フラグ(98)が1よりも大きい大きさを示す変換係数の位置について排他的に、前記第2の予め決定されたフラグタイプの前記フラグ(96)を符号化するように構成される、請求項76に記載の装置。 Wherein in the first pass (60 1), wherein the flag of which the said first predetermined flag type that quantization index is non-zero for the position of the transform coefficients is currently being scanned (92) With respect to the position of the conversion coefficient indicated by and the position of the conversion coefficient thereafter, the position of the conversion coefficient indicating that the flag (98) of the third predetermined flag type is larger than 1 is exclusively described above. 27. The apparatus of claim 76, configured to encode said flag (96) of a second predetermined flag type. 前記第1のパス(601)に続く第2のパス(602)おいて、前記現在スキャンされている変換係数の位置についての前記量子化インデックスが、前記値ドメイン内の最小値であることを前記第1のパス(601)において符号化されるフラグによって制限されるように、絶対値に関して、想定するか否かを示す第4の予め決定されたフラグタイプのフラグ(104)も符号化するように構成される、請求項71ないし78のいずれかに記載の装置。 Said first path (60 1) followed by a second pass (60 2) Oite that, the quantization index for the position of the transform coefficients the currently scanned, the minimum value of the values in the domain the as limited by the flag being encoded in the first pass (60 1), in terms of absolute value, the fourth predetermined flag type flags indicating whether to assume (104) the sign The device according to any one of claims 71 to 78, which is configured to be the same. 前記第2のパスに続く1つ以上の追加のパスにおいて、前記残余値を符号化するように構成される、請求項79に記載の装置。 39. The device of claim 79, configured to encode the residual value in one or more additional paths following the second path. 前記第1のパスに続く1つ以上のパス(603,604)において、前記残余値を符号化するように構成される、請求項71ないし78に記載の装置。 In one or more passes following the first pass (60 3, 60 4), wherein configured to encode the residual value, according to claim 71 to 78. 最後のパスにおいて、非ゼロ変換係数の符号(605)を符号化するように構成される、請求項71ないし81に記載の装置。 At the end of the path, and the reference numeral (60 5) of non-zero transform coefficients to encode, according to claim 71 to 81. 前記エンコーダは、
前記状態遷移において、
前記現在の変換係数の位置が、スキャン順序において前記予め決定された変換係数の位置(112)に先行する、または、前記予め決定された変換係数の位置(112)に等しい場合には、
前記現在の変換係数の位置の前記第2のフラグタイプの前記フラグ(96)に依存して、
前記現在の変換係数の位置が、スキャン順序において前記予め決定された変換係数の位置(112)に続く場合には、
前記現在の変換係数の位置の前記第1のフラグタイプの前記フラグ(92)に依存して、
前記状態遷移の前記状態の前記更新を実行するように構成され、
前記コンテキスト適応エントロピー符号化において、前記状態遷移が前記現在のスキャンされている変換係数の位置について想定する前記状態に依存して、前記予め決定された変換係数の位置(112)に先行する、それを含むおよびそれに続くすべての前記変換係数の位置に対して、前記現在のスキャンされている変換係数についての前記予め決定された第1のフラグタイプのフラグを符号化するためのコンテキストを決定するように構成される、請求項71ないし82のいずれかに記載の装置。
The encoder is
In the state transition
If the position of the current conversion factor precedes the position of the predetermined conversion factor (112) in the scan order or is equal to the position of the predetermined conversion factor (112).
Depending on the flag (96) of the second flag type at the position of the current conversion factor,
If the current conversion factor position follows the predetermined conversion factor position (112) in the scan order,
Depending on the flag (92) of the first flag type at the position of the current conversion factor,
It is configured to perform the update of the state of the state transition.
In the context-adaptive entropy coding, the state transition precedes the predetermined conversion factor position (112), depending on the state assumed for the position of the currently scanned conversion factor. To determine the context for encoding the flag of the predetermined first flag type for the currently scanned conversion factor for the position of the conversion factor including and thereafter. The apparatus according to any one of claims 71 to 82.
前記装置は、
前記コンテキスト適応エントロピー符号化において、前記予め決定された変換係数の位置(112)に先行するおよびそれを含む前記変換係数の位置については前記状態遷移が前記現在スキャンされている変換係数の位置について想定する前記状態に依存して、ならびに、前記予め決定された変換係数の位置(112)に続く前記変換係数の位置については前記状態遷移が前記現在スキャンされている変換係数の位置について想定する前記状態とは独立して、前記現在スキャンされている変換係数の位置についての前記予め決定された第1のフラグタイプのフラグ(92)を符号化するためのコンテキストを決定するように構成される、請求項71ないし82のいずれかに記載の装置。
The device is
In the context-adaptive entropy coding, the position of the conversion factor preceding and including the predetermined conversion factor position (112) is assumed to be the position of the conversion factor whose state transition is currently scanned. Depends on said state, and for the position of the conversion factor following the predetermined position of the conversion factor (112), said state that the state transition assumes for the position of the conversion factor currently being scanned. Independently of the claims, it is configured to determine the context for encoding the flag (92) of the predetermined first flag type with respect to the position of the currently scanned conversion factor. Item 7. The apparatus according to any one of Items 71 to 82.
前記エンコーダは、
前記コンテキスト適応エントロピー符号化においては、前記状態遷移が前記現在スキャンされている変換係数の位置について想定する前記状態に依存して、前記予め決定された変換係数の位置(112)に先行する、それを含むおよびそれに続くすべての前記変換係数の位置に対して、前記現在スキャンされている変換係数の位置についての前記予め決定された第1のフラグタイプのフラグ(92)を符号化するためのコンテキストを決定するように構成され、
前記状態遷移においては、前記現在の変換係数の位置の前記第1のフラグタイプの前記フラグ(92)に依存して、前記スキャン順序において前記ぞれぞれの変換係数の位置に続く変換係数の位置について、前記現在の変換係数の位置について想定される前記状態遷移の前記状態の前記更新を実行するように構成される、請求項71ないし82のいずれかに記載の装置。
The encoder is
In the context-adaptive entropy coding, the state transition precedes the predetermined conversion factor position (112), depending on the state assumed for the position of the currently scanned conversion factor. Context for encoding the predetermined first flag type flag (92) for the currently scanned conversion factor position for and for all subsequent conversion factor positions. Is configured to determine
In the state transition, depending on the flag (92) of the first flag type at the position of the current conversion coefficient, the conversion coefficient following the position of each conversion coefficient in the scan order. 23. The apparatus of any of claims 71-82, configured to perform said update of said state of said state transition assumed for the position of said current conversion factor with respect to position.
変換係数のブロックを符号化するための装置であって、
前記変換係数の位置をスキャン順序に従ってスキャンするパスのシーケンス(601−605)において、
コンテキスト適応バイナリ算術符号化を使用して、
それぞれが1つ以上のフラグタイプのセットのうちの1つであるフラグ(92,96,98,104)を、および、
可変長符号を使用して、
残余値を、
前記データストリームから符号化して、
それぞれのフラグおよびそれぞれの残余値が現在スキャンされている変換係数の位置(50)についてそれぞれ符号化され、且つ、
変換係数の位置の符号化されたセットのそれぞれの変換係数の位置について、前記1つ以上のフラグおよび1つの残余値のうちの少なくとも1つは連続して符号化されて、現在スキャンされている変換係数の位置(50)についての量子化インデックスの絶対値が存在する初期値ドメイン(90)を、前記現在スキャンされている変換係数の位置についての前記量子化インデックスの前記絶対値のみを含むように連続的に制限し、ここで、それぞれのフラグは前記現在スキャンされている変換係数の位置についての前記量子化インデックスの前記絶対値の値ドメインを、前記現在スキャンされている変換係数の位置についての前記量子化インデックスの前記絶対値の前記値ドメインが二分割された第1のサブ部分または第2のサブ部分に制限し、前記現在スキャンされている変換係数の位置について残余値が符号化される場合、前記残余値は、前記現在スキャンされている変換係数の位置について少なくとも1つのフラグが符号化されているときには前記値ドメイン、または、前記現在スキャンされている変換係数の位置についてフラグが符号化されていないときには前記初期値ドメインから、前記現在スキャンされている変換係数の位置についての前記量子化インデックスの絶対値を一意に示すように構成され、
前記装置は、
前記パスのシーケンスのうちの第1のパス(601)において、
予め決定された第1のフラグタイプのフラグ(92)を、前記第1のパス(601)において、予め決定されたアボート基準が前記スキャン順序(62)においてはじめて満たされる、予め決定された変換係数の位置(112)まで前記データストリームに符号化するように構成され、前記予め決定された第1のフラグタイプのフラグ(92)は、前記現在スキャンされている変換係数の位置(50)についての前記量子化インデックスがゼロか否かを示し、
前記予め決定された変換係数の位置(112)まで(および、それを含んで)の変換係数の位置についての前記フラグのみを符号化し、前記パスのシーケンスの別のパス(603,4)において、スキャン順序(62)で前記予め決定された変換係数の位置以降の前記変換係数の位置の符号化されたセットのそれぞれについて、前記残余値のうちの1つを符号化して、後者が前記初期値ドメイン(90)のうちの前記それぞれの変換係数の位置についての前記量子化インデックスの前記絶対値を一意に示すように構成される、装置。
A device for encoding blocks of conversion coefficients,
In sequence (60 1 -60 5) of the path to be scanned in the scan order positions of the transform coefficients,
Using context-adaptive binary arithmetic coding,
Flags (92, 96, 98, 104), each of which is one of a set of one or more flag types, and
Using variable length code,
Residual value,
Encoded from the data stream
Each flag and each residual value is coded for the position (50) of the conversion factor currently being scanned, and
At least one of the one or more flags and one residual value is continuously encoded and currently scanned for the position of each conversion factor in the coded set of conversion factor positions. The initial value domain (90) where the absolute value of the quantization index for the position of the conversion factor (50) is present should include only the absolute value of the quantization index for the position of the conversion factor currently being scanned. Each flag is continuously limited to the absolute value domain of the quantization index for the position of the currently scanned conversion factor, for the position of the currently scanned conversion factor. The value domain of the absolute value of the quantization index is limited to the first or second subpart divided into two, and the residual value is encoded for the position of the currently scanned conversion factor. If so, the residual value is flagged for the value domain when at least one flag is encoded for the position of the currently scanned conversion factor, or for the position of the currently scanned conversion factor. When not, it is configured to uniquely indicate the absolute value of the quantization index for the position of the currently scanned conversion factor from the initial value domain.
The device is
In a first pass (60 1) of the sequence of the path,
Predetermined first flag type flag (92) converting, in said first path (60 1), the predetermined abort criterion is met for the first time in the scan order (62), which is predetermined The flag (92) of the predetermined first flag type is configured to encode to the data stream up to the coefficient position (112) with respect to the currently scanned conversion coefficient position (50). Indicates whether the quantization index of is zero or not.
Only the flag for the position of the conversion factor up to (and including) the predetermined conversion factor position (112) is encoded and in another path (60 3,4 ) of the sequence of the path. , One of the residual values is encoded for each of the coded sets of the conversion coefficient positions after the predetermined conversion coefficient position in the scan order (62), the latter being the initial. A device configured to uniquely indicate the absolute value of the quantization index for the position of each of the conversion coefficients in the value domain (90).
前記装置は、
現在の変換係数の位置について、状態遷移が前記現在の変換係数の位置について想定する状態に一意に基づいて、複数の再構成レベルセット(73)から1つの再構成レベルセットを選択し(72)、前記量子化インデックスが前記再構成レベルのセットにおいて指し示す再構成レベルに前記量子化インデックスを逆量子化する(74)こと、および、
前記現在の変換係数の位置の前記量子化インデックスに依存して、前記スキャン順序において前記現在の変換係数に続く変換係数の位置のために、前記現在の変換係数の位置について想定される前記状態遷移の前記状態を更新する(76)こと、
によって、前記スキャン順序に従った状態遷移を使用して、
連続して逆量子化するように構成される、請求項86に記載の装置。
The device is
For the position of the current conversion factor, one reconstruction level set is selected from the plurality of reconstruction level sets (73) based on the state that the state transition assumes for the position of the current conversion factor (72). To dequantize the quantization index to the reconstruction level indicated by the quantization index in the set of reconstruction levels (74), and.
The state transition assumed for the position of the current conversion factor due to the position of the conversion factor following the current conversion factor in the scan order, depending on the quantization index of the position of the current conversion factor. To update the above-mentioned state of (76),
By using state transitions according to the scan order,
The apparatus of claim 86, configured to be continuously dequantized.
4つの異なった状態の間で、前記状態遷移の移行を実行するように構成される、請求項87に記載の装置。 87. The apparatus of claim 87, configured to perform the transition of said state transition between four different states. 前記状態遷移の前記状態を更新する際に、前記現在の変換係数の位置の前記量子化インデックス(80)に適用されるバイナリ関数(86)に依存して、第1の後続状態(841)および第2の後続状態(842)の間で決定することによって前記更新を実行するように構成され、ここで、前記第1の後続状態および前記第2の後続状態は前記現在の変換係数の位置の前記状態に依存する、請求項87または88に記載の装置。 The first subsequent state (84 1 ) depends on the binary function (86) applied to the quantized index (80) at the position of the current conversion factor in updating the state of the state transition. and is configured to perform the update by determining between a second subsequent state (84 2), wherein said first subsequent state and the second subsequent state said current transform coefficients 8. The device of claim 87 or 88, which depends on said state of position. 前記バイナリ関数は前記パリティまたはゼロを生じさせる、請求項87ないし89のいずれかに記載の装置。 The device of any of claims 87-89, wherein the binary function yields the parity or zero. 前記複数(50)の再構成レベルセット(52)を予め決定された量子化ステップサイズによってパラメータ化し、前記データストリームから前記予め決定された量子化ステップサイズに関する情報を導出するように構成される、請求項87ないし90のいずれかに記載の装置。 The plurality (50) reconstruction level sets (52) are configured to be parameterized by a predetermined quantization step size to derive information about the predetermined quantization step size from the data stream. The device according to any one of claims 87 to 90. 前記複数(50)の再構成レベルセット(52)のそれぞれは、現在の変換係数の位置についての前記複数(50)の再構成レベルセット(52)に対して一定である予め決定された量子化ステップサイズの整数倍からなる、請求項87ないし91のいずれかに記載の装置。 Each of the plurality (50) reconstruction level sets (52) is a predetermined quantization that is constant with respect to the plurality (50) reconstruction level set (52) with respect to the position of the current conversion factor. The apparatus according to any one of claims 87 to 91, which comprises an integral multiple of the step size. 前記複数(50)の再構成レベルセット(52)のうちの前記再構成レベルセット(52)の数は2であり、前記複数の再構成レベルセットは、
ゼロおよび予め決定された量子化ステップサイズの偶数倍を含む第1の再構成レベルセットと、
ゼロおよび予め決定された量子化ステップサイズの奇数倍を含む第2の再構成レベルセットと、
を含む、請求項87ないし92のいずれかに記載の装置。
The number of the reconstruction level sets (52) among the plurality of (50) reconstruction level sets (52) is 2, and the plurality of reconstruction level sets are.
With a first reconstruction level set containing zeros and even multiples of the predetermined quantization step size,
With a second reconstruction level set containing zeros and odd multiples of the predetermined quantization step size,
The apparatus according to any one of claims 87 to 92.
前記予め決定されたアボート基準は、前記第1のパス(601)において符号化される前記フラグの数が予め決定された閾値を超えるか否かに関連する、請求項86に記載の装置。 46. The apparatus of claim 86, wherein the predetermined abort criteria relates to whether the number of the flags encoded in the first pass (601) exceeds a predetermined threshold. 前記第1のパス(601)において、前記現在スキャンされている変換係数の位置についての前記量子化インデックスが、絶対値に関して、前記値ドメイン内の最小値であることを想定するか否かを示す第3の予め決定されたフラグタイプのフラグ(98)も符号化するように構成される、請求項86ないし94に記載の装置。 In the first pass (60 1), wherein the quantization index for the position of the transform coefficients is currently being scanned, in terms of absolute value, whether it is assumed that the minimum value of the values in the domain 46. The apparatus of claim 86-94, wherein the flag (98) of the third predetermined flag type shown is also configured to encode. 前記第1のパス(601)において、前記現在スキャンされている変換係数についての前記量子化インデックスが非ゼロであることを前記第1の予め決定されたフラグタイプの前記フラグ(92)が示す変換係数の位置およびその後の変換係数の位置について排他的に、前記第3の予め決定されたフラグタイプの前記フラグを符号化するように構成される、請求項95に記載の装置。 In the first pass (60 1), said first predetermined flag type of the flag (92) indicates that the quantization index for conversion coefficient the currently scanned is nonzero 95. The apparatus of claim 95, configured to encode the flag of the third predetermined flag type exclusively with respect to the position of the conversion factor and the position of the conversion factor thereafter. 前記第1のパス(601)において、前記現在スキャンされている変換係数の位置についての前記量子化インデックスが非ゼロであることを前記第1の予め決定されたフラグタイプの前記フラグ(92)が示す変換係数の位置およびその後の変換係数の位置について、前記第2の予め決定されたフラグタイプの前記フラグ(96)の後に前記第3の予め決定されたフラグタイプの前記フラグ(98)を符号化するように構成され、前記第2の予め決定されたフラグタイプの前記フラグは前記現在スキャンされている変換係数の前記パリティを示す、請求項96に記載の装置。 Wherein in the first pass (60 1), wherein the flag of which the said first predetermined flag type that quantization index is non-zero for the position of the transform coefficients is currently being scanned (92) With respect to the position of the conversion coefficient indicated by and the position of the conversion coefficient thereafter, the flag (98) of the third predetermined flag type is added after the flag (96) of the second predetermined flag type. 9. The apparatus of claim 96, wherein said flag of the second predetermined flag type, configured to encode, indicates said parity of the currently scanned conversion factor. 前記第1のパス(601)において、前記現在スキャンされている変換係数の位置についての前記量子化インデックスが非ゼロであることを前記第1の予め決定されたフラグタイプの前記フラグ(92)が示す変換係数の位置およびその後の変換係数の位置について、前記第3の予め決定されたフラグタイプの前記フラグ(98)が1よりも大きい大きさを示す変換係数の位置について排他的に、前記現在スキャンされている変換係数の前記パリティを示す前記第2の予め決定されたフラグタイプの前記フラグ(96)を符号化するように構成される、請求項96に記載の装置。 Wherein in the first pass (60 1), wherein the flag of which the said first predetermined flag type that quantization index is non-zero for the position of the transform coefficients is currently being scanned (92) With respect to the position of the conversion coefficient indicated by and the position of the conversion coefficient thereafter, the position of the conversion coefficient indicating that the flag (98) of the third predetermined flag type is larger than 1 is exclusively described above. 19. The apparatus of claim 96, configured to encode the flag (96) of the second predetermined flag type indicating the parity of the conversion factor currently being scanned. 前記第1のパス(601)に続く第2のパス(602)おいて、前記現在スキャンされている変換係数の位置についての前記量子化インデックスが、前記第1のパス(601)において符号化されるフラグによって制限されるように、絶対値に関して、前記値ドメイン内の最小値であることを想定するか否かを示す第4の予め決定されたフラグタイプのフラグ(104)も符号化するように構成される、請求項86ないし98のいずれかに記載の装置。 It said first path (60 1) followed by a second pass (60 2) Oite, wherein the quantization index for the position of the transform coefficients is currently being scanned, in the first pass (60 1) A fourth predetermined flag type flag (104) indicating whether or not to assume the minimum value in the value domain with respect to the absolute value is also coded so as to be limited by the encoded flag. The apparatus according to any one of claims 86 to 98, which is configured to be the same. 非適応バイパスモードにおいて前記可変長符号のビンを符号化するように構成される、請求項1ないし99のいずれかに記載の装置。 The apparatus according to any one of claims 1 to 99, configured to encode the variable length code bin in a non-adaptive bypass mode. 前記現在スキャンされている変換係数の位置がスキャン順序において前記予め決定された変換係数の位置に先行するか、または前記予め決定された変換係数の位置であるか、もしくは前記予め決定された変換係数の位置に続くか否かに依存して、前記現在スキャンされている変換係数の位置についての前記残余値を異なって符号化するために、可変長符号の予め定義されパラメータ化されたセットから前記可変長符号を選択するように構成される、請求項86または94に記載の装置。 Whether the position of the currently scanned conversion factor precedes the position of the predetermined conversion factor in the scanning order, or is the position of the predetermined conversion factor, or the position of the predetermined conversion factor. From a predefined and parameterized set of variable length codes to differently encode the residual value for the position of the currently scanned conversion factor, depending on whether or not it follows the position of. 46. The device of claim 86 or 94, configured to select a variable length code. 前記現在スキャンされている変換係数の位置が、前記予め決定された変換係数の位置(112)に先行するか、または前記予め決定された変換係数の位置(112)に等しい場合、
前記現在スキャンされている変換係数の位置についての前記残余値を符号化するために、
選択された可変長符号を示す前記パラメータを、予め決定された基準を満たす先行する変換係数の位置の前記量子化インデックスに徐々に変更することによって、および/または、
前記現在スキャンされている変換係数の位置の近傍の変換係数の位置の前記量子化インデックスに依存して、
可変長符号の予め定義されパラメータ化されたセットから前記可変長符号を選択するように構成される、請求項86または94または101のいずれかに記載の装置。
If the position of the currently scanned conversion factor precedes the position of the predetermined conversion factor (112) or is equal to the position of the predetermined conversion factor (112).
To encode the residual value for the position of the currently scanned conversion factor.
By gradually changing the parameter indicating the selected variable length code to the quantized index at the position of the preceding conversion factor that meets a predetermined criterion, and / or.
Depending on the quantization index of the conversion factor position near the currently scanned conversion factor position,
The device of any of claims 86 or 94 or 101, configured to select said variable length code from a predefined and parameterized set of variable length code.
前記現在スキャンされている変換係数の位置が、スキャン順序において前記予め決定された変換係数の位置の後に続く場合、
前記現在スキャンされている変換係数の位置についての前記残余値を符号化するために、
前記現在スキャンされている変換係数の位置の近傍の変換係数の位置の前記量子化インデックスに依存して、および、
前記状態遷移が前記現在スキャンされている変換係数の位置について想定する前記状態に依存して、
可変長符号の予め定義されパラメータ化されたセットから前記可変長符号を選択するように構成される、請求項86または94または101または102のいずれかに記載の装置。
If the currently scanned conversion factor position follows the predetermined conversion factor position in the scan order.
To encode the residual value for the position of the currently scanned conversion factor.
Depending on the quantization index of the conversion factor position near the currently scanned conversion factor position, and.
Depending on the state in which the state transition assumes for the position of the currently scanned conversion factor,
The device of any of claims 86 or 94 or 101 or 102, configured to select said variable length code from a predefined and parameterized set of variable length code.
前記装置は、
現在の変換係数の位置について、状態遷移が前記現在の変換係数の位置について想定する状態に一意に基づいて、複数の再構成レベルセットから1つの再構成レベルセットを選択し、選択された前記再構成レベルのセットから再構成レベルを一意に示す量子化インデックスに前記現在の変換係数の位置についての前記変換係数を逆量子化すること、および、
前記現在の変換係数の位置についての前記量子化インデックスに依存して、前記スキャン順序において前記現在の変換係数に続く変換係数の位置のために、前記現在の変換係数の位置について想定される前記状態遷移の前記状態を更新すること、
によって、前記スキャン順序に従った状態遷移を使用して、
連続して逆量子化するように構成される、請求項86ないし103のいずれかに記載の装置。
The device is
For the position of the current conversion factor, one reconstruction level set is selected from multiple reconstruction level sets and the selected rearrangement is selected based on the state that the state transition assumes for the current conversion factor position. To dequantize the conversion factor for the position of the current conversion factor into a quantization index that uniquely indicates the reconstruction level from the set of construction levels, and
The state assumed for the position of the current conversion factor due to the position of the conversion factor following the current conversion factor in the scan order, depending on the quantization index for the position of the current conversion factor. Updating the said state of the transition,
By using state transitions according to the scan order,
The apparatus according to any one of claims 86 to 103, which is configured to be continuously dequantized.
前記1つ以上のフラグタイプのセットのそれぞれについて、
前記パスのシーケンスのうちの1つにおいて、前記それぞれのフラグタイプの前記フラグを符号化するように、
前記符号化を実行するように構成される、請求項64ないし85または86ないし104のいずれかに記載の装置。
For each of the above sets of one or more flag types,
To encode the flag of each of the flag types in one of the sequences of the paths.
The device according to any one of claims 64 to 85 or 86 to 104, configured to perform the coding.
前記可変長符号は可変長符号の予め定義されパラメータ化されたセットから選択され、単一のパラメータが1つの可変長符号を一意に識別する、請求項1ないし105のいずれかに記載の装置。 The apparatus according to any one of claims 1 to 105, wherein the variable length code is selected from a predefined and parameterized set of variable length codes, wherein a single parameter uniquely identifies one variable length code. 前記可変長符号の予め定義されたセットはゴロム・ライス符号のセットである、請求項106に記載の装置。 The device of claim 106, wherein the predefined set of variable length codes is a set of Golomb rice codes. 前記装置は、前記現在スキャンされている変換係数の位置についての前記残余値を符号化するために、
選択された可変長符号を示す前記パラメータを、予め決定された基準を満たす先行する変換係数の位置の前記量子化インデックスに徐々に変更すること、および/または、
前記現在スキャンされている変換係数の位置の近傍の変換係数の位置の前記量子化インデックスに依存すること、
によって、可変長符号の予め定義されたセットから前記可変長符号を選択するように構成される、請求項1ないし107のいずれかに記載の装置。
The device encodes the residual value for the position of the currently scanned conversion factor.
Gradually changing the parameter indicating the selected variable length code to the quantized index at the position of the preceding conversion factor that meets a predetermined criterion, and / or.
Dependence on the quantization index of the conversion coefficient position near the currently scanned conversion coefficient position,
The apparatus according to any one of claims 1 to 107, wherein the variable length code is configured to select the variable length code from a predefined set of variable length codes.
スキャン順序において最初の非ゼロ量子化インデックスの前記位置(64)と予め定義された変換係数の位置(66)との間で、前記スキャン順序に従って拡張する変換係数の位置の前記符号化されたセットを決定し、
前記データストリームに、前記最初の非ゼロ量子化インデックスの前記位置を符号化するように構成される、請求項1ないし108のいずれかに記載の装置。
The encoded set of conversion factor positions that extend according to the scan order between said position (64) of the first nonzero quantization index in the scan order and the position of the predefined conversion factor (66). Decide,
The apparatus according to any one of claims 1 to 108, wherein the data stream is configured to encode said position of the first non-zero quantized index.
それぞれの非ゼロ量子化インデックスについて、符号ビットを等確率バイパスモードを使用して前記データストリームに符号化するように構成される、請求項1ないし109のいずれかに記載の装置。 The apparatus according to any one of claims 1 to 109, wherein for each non-zero quantization index, the sign bit is configured to encode the sign bit into the data stream using an equal probability bypass mode. 予め決定された変換係数の位置のための前記第1のフラグタイプの前記フラグ(92)を、
前記予め決定された変換係数の前記係数位置
に依存してコンテキストを選択することによって、コンテキスト適応エントロピー符号化を使用して符号化するように構成される、請求項1ないし110のいずれかに記載の装置。
The flag (92) of the first flag type for a predetermined conversion factor position.
13. Equipment.
前記予め決定された変換係数の位置(50)のまわりのローカルテンプレート(52)内の近傍の変換係数の位置のセットについて前記予め決定された変換係数の位置の予め決定されたフラグタイプの前記フラグ(92)の前に符号化されたフラグのセットに基づいてローカルアクティビティを決定すること、および、
前記ローカルアクティビティに依存してコンテキストを選択すること、
によって、予め決定された変換係数の位置のための前記第1の予め決定されたフラグタイプの前記フラグ(92)をコンテキスト適応エントロピー符号化を使用して符号化するように構成される、請求項1ないし111のいずれかに記載の装置。
The flag of the predetermined flag type of the predetermined conversion coefficient position for a set of neighborhood conversion coefficient positions in the local template (52) around the predetermined conversion coefficient position (50). Determining local activity based on the set of flags encoded prior to (92), and
Choosing a context depending on the local activity,
The flag (92) of the first predetermined flag type for the position of the predetermined conversion factor is configured to be encoded using context-adaptive entropy coding. The device according to any one of 1 to 111.
前記フラグのセットは、近傍の変換係数の位置の前記セットのために符号化された前記予め決定された第1のフラグタイプの前記フラグ(92)と、前記予め決定された第2のフラグタイプの前記フラグ(96)と、前記予め決定された第3のフラグタイプの前記フラグ(98)とを含み、前記装置は、前記近傍の変換係数の位置のそれぞれについての加数の合計に基づいて前記アクティビティを計算するように構成され、前記加数は、前記近傍の変換係数の位置のために符号化された前記予め決定された第1のフラグタイプの前記フラグ(92)と、前記予め決定された第2のフラグタイプの前記フラグ(96)と、前記予め決定された第3のフラグタイプの前記フラグ(98)とに基づいて決定される、前記近傍の変換係数の位置についての前記量子化インデックスの最小想定絶対値、または最小想定絶対再構成レベルを示す、請求項112に記載の装置。 The set of flags is the flag (92) of the predetermined first flag type encoded for the set of positions of conversion coefficients in the vicinity and the predetermined second flag type. The flag (96) and the flag (98) of the predetermined third flag type are included, and the device is based on the sum of the additions for each of the positions of the conversion factors in the vicinity. The addition is configured to calculate the activity and is predetermined with the flag (92) of the predetermined first flag type encoded for the position of the conversion factor in the neighborhood. The quantum with respect to the position of the conversion factor in the vicinity, determined based on the flag (96) of the second flag type and the flag (98) of the predetermined third flag type. 12. The device of claim 112, which indicates the minimum assumed absolute value of the index, or the minimum assumed absolute reconstruction level. 前記エンコーダは、
それぞれの変換係数の位置について、状態遷移が前記それぞれの変換係数の位置について想定する状態に一意に基づいて、複数の再構成レベルセットから1つの再構成レベルセットを選択し、選択された前記再構成レベルのセットから再構成レベルを一意に示す量子化インデックスに前記現在の変換係数の位置についての前記変換係数を逆量子化すること、および、
前記現在の変換係数の位置の前記量子化インデックスに依存して、前記スキャン順序において前記現在の変換係数に続く変換係数の位置のために、前記現在の変換係数の位置について想定される前記状態遷移の前記状態を更新すること、
によって、前記スキャン順序に従った状態遷移を使用して連続的に逆量子化するように構成され、
予め決定された変換係数の位置に対する前記第1のフラグタイプの前記フラグを、
前記状態遷移が前記予め決定された変換係数の位置について想定する前記状態、および/または、
前記予め決定された変換係数の位置のために選択された再構成レベルの前記セット
に依存してコンテキストを選択することによって、コンテキスト適応エントロピー符号化を使用して符号化するように構成される、請求項1ないし113のいずれかに記載の装置。
The encoder is
For each transformation coefficient position, one reconstruction level set is selected from multiple reconstruction level sets and the selected reconstruction is selected based on the state that the state transition assumes for each transformation coefficient position. To dequantize the conversion factor for the position of the current conversion factor into a quantization index that uniquely indicates the reconstruction level from the set of construction levels, and
The state transition assumed for the position of the current conversion factor due to the position of the conversion factor following the current conversion factor in the scan order, depending on the quantization index of the position of the current conversion factor. To update the above state of
Is configured to continuously dequantize using state transitions according to the scan order.
The flag of the first flag type with respect to the position of the predetermined conversion factor,
The state and / or the state in which the state transition assumes the position of the predetermined conversion factor.
Configured to encode using context-adaptive entropy coding by selecting a context depending on said set of reconstruction levels selected for the position of the predetermined transformation factor. The device according to any one of claims 1 to 113.
予め決定された変換係数の位置のための前記第2のフラグタイプの前記フラグ(92)を、
前記予め決定された変換係数の係数位置
に依存してコンテキストを選択することによって、コンテキスト適応エントロピー符号化を使用して符号化するように構成される、請求項1ないし114のいずれかに記載の装置。
The flag (92) of the second flag type for a predetermined conversion factor position,
13. Device.
予め決定された変換係数の位置のまわりのローカルテンプレート(52)内の近傍の変換係数の位置のセットについて、前記予め決定された変換係数の位置の前記第2の予め決定されたフラグタイプの前記フラグの前に符号化されたフラグのセットに基づいて、ローカルアクティビティ、および/または、前記予め決定された変換係数の位置のまわりの前記ローカルテンプレート(52)内の前記量子化インデックスがゼロではない変換係数の数を決定すること、および、
前記ローカルアクティビティ、および/または、前記非ゼロ量子化インデックスの数に依存して、コンテキストを選択すること、
によって、前記予め決定された変換係数の位置のための前記第2の予め決定されたフラグタイプの前記フラグ(96)を、コンテキスト適応エントロピー符号化を使用して符号化するように構成される、請求項1ないし115のいずれかに記載の装置。
The second predetermined flag type of the predetermined conversion coefficient position for a set of nearby conversion coefficient positions in the local template (52) around the predetermined conversion coefficient position. Based on the set of flags encoded before the flags, the local activity and / or the quantization index in the local template (52) around the position of the predetermined conversion factor is not zero. Determining the number of conversion coefficients, and
Choosing a context depending on the number of the local activity and / or the non-zero quantization index,
Is configured to encode the flag (96) of the second predetermined flag type for the position of the predetermined conversion factor using context-adaptive entropy coding. The device according to any one of claims 1 to 115.
前記ローカルアクティビティと前記非ゼロ量子化インデックスの数との間の差に依存して前記コンテキストを選択するように構成される、請求項116に記載の装置。 11. The device of claim 116, configured to select the context depending on the difference between the local activity and the number of non-zero quantized indexes. 前記フラグのセットは、近傍の変換係数の位置の前記セットのために符号化された前記予め決定された第1のフラグタイプの前記フラグ(92)と、前記予め決定された第2のフラグタイプの前記フラグ(96)と、前記予め決定された第3のフラグタイプの前記フラグ(98)とを含み、前記装置は、前記近傍の変換係数の位置のそれぞれについての加数の合計に基づいて前記アクティビティを計算するように構成され、前記加数は、前記近傍の変換係数の位置のために符号化された前記予め決定された第1のフラグタイプの前記フラグ(92)と、前記予め決定された第2のフラグタイプの前記フラグ(96)と、前記予め決定された第3のフラグタイプの前記フラグ(98)とに基づいて決定される前記近傍の変換係数の位置(51)についての前記量子化インデックスの最小想定絶対値、または、最小想定絶対再構成レベルを示す、請求項115または116に記載の装置。 The set of flags is the flag (92) of the predetermined first flag type encoded for the set of positions of conversion coefficients in the vicinity and the predetermined second flag type. The flag (96) and the flag (98) of the predetermined third flag type are included, and the device is based on the sum of the additions for each of the positions of the conversion factors in the vicinity. The addition is configured to calculate the activity and is predetermined with the flag (92) of the predetermined first flag type encoded for the position of the conversion factor in the neighborhood. Regarding the position (51) of the conversion coefficient in the vicinity determined based on the flag (96) of the second flag type and the flag (98) of the predetermined third flag type. The apparatus according to claim 115 or 116, which indicates the minimum assumed absolute value of the quantization index or the minimum assumed absolute reconstruction level. 予め決定された変換係数の位置のための前記第3のフラグタイプの前記フラグ(98)を、
前記予め決定された変換係数の係数位置
に依存してコンテキストを選択することによって、コンテキスト適応エントロピー符号化を使用して符号化するように構成される、請求項1ないし118のいずれかに記載の装置。
The flag (98) of the third flag type for a predetermined conversion factor position.
13. Device.
予め決定された変換係数の位置のまわりのローカルテンプレート内の近傍の変換係数の位置のセットについて、前記予め決定された変換係数の位置の前記第3の予め決定されたフラグタイプの前記フラグの前に符号化されたフラグのセットに基づいて、ローカルアクティビティ、および/または、前記予め決定された変換係数の位置のまわりの前記ローカルテンプレート内の前記量子化インデックスがゼロではない変換係数の数を決定すること、および、
前記ローカルアクティビティ、および/または、前記非ゼロ量子化インデックスの数に依存して、コンテキストを選択すること、
によって、前記予め決定された変換係数の位置のための前記第3の予め決定されたフラグタイプの前記フラグ(98)を、コンテキスト適応エントロピー符号化を使用して符号化するように構成される、請求項1ないし119のいずれかに記載の装置。
Before the flag of the third predetermined flag type of the predetermined conversion coefficient position for a set of nearby conversion coefficient positions in the local template around the predetermined conversion coefficient position. Determines the number of conversion coefficients whose quantization index is non-zero in the local template around the location of the local activity and / or the predetermined conversion factor based on a set of flags encoded by. To do and
Choosing a context depending on the number of the local activity and / or the non-zero quantization index,
Is configured to encode the flag (98) of the third predetermined flag type for the position of the predetermined conversion factor using context-adaptive entropy coding. The device according to any one of claims 1 to 119.
前記ローカルアクティビティと前記非ゼロ量子化インデックスの数との間の差に依存して前記コンテキストを選択するように構成される、請求項120に記載の装置。 120. The apparatus of claim 120, configured to select the context depending on the difference between the local activity and the number of non-zero quantized indexes. 前記フラグのセットは、近傍の変換係数の位置の前記セットのために符号化された前記予め決定された第1のフラグタイプの前記フラグと、前記予め決定された第2のフラグタイプの前記フラグと、前記予め決定された第3のフラグタイプの前記フラグとを含み、前記装置は、前記近傍の変換係数の位置のそれぞれについての加数の合計に基づいて前記アクティビティを計算するように構成され、前記加数は、前記近傍の変換係数の位置のために符号化された前記予め決定された第1のフラグタイプの前記フラグと、前記予め決定された第2のフラグタイプの前記フラグと、前記予め決定された第3のフラグタイプの前記フラグとに基づいて決定される前記近傍の変換係数の位置についての前記量子化インデックスの最小想定絶対値、または、最小想定絶対再構成レベルを示す、請求項119または120に記載の装置。 The set of flags is the flag of the predetermined first flag type encoded for the set of positions of the conversion coefficients in the vicinity and the flag of the predetermined second flag type. And the flag of the predetermined third flag type, the device is configured to calculate the activity based on the sum of the additions for each of the positions of the conversion coefficients in the neighborhood. , The addition is the flag of the predetermined first flag type encoded for the position of the conversion factor in the neighborhood and the flag of the predetermined second flag type. Indicates the minimum assumed absolute value of the quantization index or the minimum assumed absolute reconstruction level for the position of the conversion factor in the neighborhood determined based on the flag of the predetermined third flag type. The device according to claim 119 or 120. 変換係数ブロック(10)を符号化するためのエンコーダであって、
前記変換係数ブロック(10)が分割された前記サブブロック(14)のうちの少なくとも1つのセットのそれぞれについて、前記それぞれのサブブロック(14)が、前記量子化インデックスの前記絶対値が予め決定された非ゼロ閾値よりも大きい変換係数(12)を含むか否かを示すサブブロック重大フラグを符号化し、また、
前記量子化インデックスの前記絶対値が前記予め決定された非ゼロ閾値よりも大きい変換係数が少なくとも1つ存在することを前記サブブロック重大フラグが示すそれぞれのサブブロック(14)内では、
前記それぞれのサブブロック内の前記変換係数のそれぞれについて、
前記それぞれの変換係数の値ドメインを2つの部分に帰納的に二分割し、前記それぞれの変換係数の量子化インデックスが前記2つの部分のうちのどちらに存在するかを示す1つ以上のフラグのシーケンスを連続的に符号化するとともに、前記値ドメインが単に1つの値または絶対的な意味で等しい値しか含まなくなるとすぐに前記シーケンスの符号化を停止すること、および、
前記値ドメインが前記絶対的な意味で異なる値を依然として1つ以上含む場合、前記値ドメインにおける前記それぞれの変換係数の前記量子化インデックスの前記絶対値を示す残余値を連続的に符号化すること、ならびに、
前記量子化インデックスの前記絶対値が前記予め決定された非ゼロ閾値よりも大きい変換係数が存在しないことを前記サブブロック重大フラグが示すそれぞれのサブブロック内では、
前記それぞれのサブブロック内の前記変換係数のそれぞれについて、
前記1つ以上のフラグの前記シーケンスを連続的に符号化するとともに、前記値ドメインが前記非ゼロ閾値を超えない1つの値のみ、単に1つの値または単に絶対的な意味で等しい値しか含まなくなるとすぐに前記シーケンスの符号化を停止することによって、
前記変換係数ブロックの変換係数を符号化するように構成される、エンコーダ。
An encoder for encoding the conversion coefficient block (10).
For each of at least one set of the sub-blocks (14) into which the conversion factor block (10) is divided, the absolute value of the quantization index is predetermined for each of the sub-blocks (14). It also encodes a subblock critical flag indicating whether it contains a conversion factor (12) greater than the non-zero threshold.
Within each subblock (14) indicated by the subblock severity flag that there is at least one conversion factor whose absolute value of the quantized index is greater than the predetermined non-zero threshold.
For each of the conversion factors in each of the subblocks
The value domain of each of the conversion coefficients is inductively divided into two parts, and one or more flags indicating which of the two parts the quantized index of each conversion coefficient is located in. Encoding the sequence continuously, and stopping the encoding of the sequence as soon as the value domain contains only one value or a value that is absolutely equal, and
If the value domain still contains one or more values that differ in the absolute sense, the residual value indicating the absolute value of the quantization index of each of the conversion coefficients in the value domain is continuously encoded. , As well as
Within each subblock indicated by the subblock severity flag that there is no conversion factor whose absolute value of the quantized index is greater than the predetermined non-zero threshold.
For each of the conversion factors in each of the subblocks
The sequence of one or more flags is continuously encoded, and the value domain contains only one value that does not exceed the non-zero threshold, only one value or simply an absolutely equal value. By stopping the coding of the sequence as soon as possible
An encoder configured to encode the conversion factor of the conversion factor block.
前記フラグのシーケンスの第1のフラグは、前記第1のフラグが符号化される前記変換係数がゼロであるか否かを示す有意フラグである、請求項123に記載の装置。 23. The apparatus of claim 123, wherein the first flag in the sequence of flags is a significant flag indicating whether or not the conversion factor in which the first flag is encoded is zero. 前記予め決定された非ゼロ閾値は1であり、かつ、
前記装置は、
前記量子化インデックスの前記絶対値が1より大きい変換係数が存在しないことを前記サブブロック重大フラグが示すそれぞれのサブブロック内では、
前記それぞれのサブブロック内の前記変換係数のそれぞれについて、
前記第1のフラグ
を連続的に符号化するように構成される、請求項124に記載の装置。
The predetermined non-zero threshold is 1 and
The device is
Within each subblock indicated by the subblock severity flag that there is no conversion factor for which the absolute value of the quantized index is greater than 1.
For each of the conversion factors in each of the subblocks
The device according to claim 124, which is configured to continuously encode the first flag.
前記変換係数ブロックが分割された前記サブブロックのうちの少なくとも1つの別のセットのそれぞれについて、前記それぞれのサブブロックがゼロに等しくない変換係数を含むか否かを示す別のサブブロック重大フラグを符号化し、
前記第1のサブブロック重大フラグが符号化され、ゼロに等しくない少なくとも1つの変換係数を含むことを前記別のサブブロック重大フラグが示す前記サブブロックをなすサブブロックの前記セットを決定し、
前記デコーダは、非ゼロ変換係数が存在しないことを前記別のサブブロック重大フラグが示すそれぞれのサブブロック内では、
前記変換係数ブロックの変換係数が、すべてゼロである
と推定することができるように構成される、請求項123ないし125のいずれかに記載の装置。
For each of at least one other set of the subblocks in which the conversion factor blocks are divided, another subblock critical flag indicating whether each of the subblocks contains a conversion factor that is not equal to zero. Encoded
Determining the set of subblocks that make up the subblock indicated by the other subblock critical flag that the first subblock critical flag is encoded and contains at least one conversion factor that is not equal to zero.
Within each subblock indicated by the other subblock critical flags, the decoder indicates that there is no nonzero conversion factor.
The apparatus according to any one of claims 123 to 125, wherein the conversion coefficients of the conversion coefficient block are configured so that they can be estimated to be all zero.
変換係数のブロック(10)を復号するための方法であって、
前記ブロック(10)の変換係数の位置(12)をスキャン順序(62)に従ってスキャンするパスのシーケンス(60)において、
コンテキスト適応バイナリ算術複号を使用して、
それぞれが1つ以上のフラグタイプのセットのうちの1つであるフラグ(92,96,98,104)を、および、
可変長符号を使用して、
残余値を、
データストリームから復号するステップであって、
それぞれのフラグおよびそれぞれの残余値が現在スキャンされている変換係数の位置(50)についてそれぞれ復号され、且つ、
変換係数の位置の符号化されたセットのそれぞれの変換係数の位置について、前記1つ以上のフラグおよび1つの残余値のうちの少なくとも1つは連続して復号されて、現在スキャンされている変換係数の位置についての量子化インデックスの絶対値が存在する初期値ドメイン(90)を、前記現在スキャンされている変換係数の位置についての前記量子化インデックスの前記絶対値のみを含むように連続的に制限し、ここで、それぞれのフラグは、前記現在スキャンされている変換係数の位置についての前記量子化インデックスの前記絶対値の値ドメインを、前記現在スキャンされている変換係数の位置についての前記量子化インデックスの前記絶対値の値ドメインが二分割された第1のサブ部分または第2のサブ部分に制限し、前記現在スキャンされている変換係数の位置について残余値が復号された場合、前記残余値は、前記現在スキャンされている変換係数の位置に対する少なくとも1つのフラグが復号されているときには前記値ドメイン、または、前記現在スキャンされている変換係数の位置に対するフラグが復号されていないときには前記初期値ドメイン(90)から、前記現在スキャンされている変換係数の位置についての前記量子化インデックスの絶対値を一意に示す、ステップを含み、
前記方法は、
現在の変換係数の位置について、状態遷移が前記現在の変換係数の位置について想定する状態に一意に基づいて、複数の再構成レベルセット(73)から1つの再構成レベルのセットを選択し(72)、前記量子化インデックスが前記再構成レベルのセットにおいて差し示す再構成レベルに前記量子化インデックスを逆量子化する(74)こと、および、
前記現在の変換係数の位置の前記量子化インデックスに依存して、前記スキャン順序において前記現在の変換係数に続く変換係数の位置のために、前記現在の変換係数の位置について想定された前記状態遷移の前記状態を更新する(76)こと、
によって、前記スキャン順序に従った状態遷移を使用して、
連続して逆量子化するステップを含む、方法。
It is a method for decoding the block (10) of the conversion coefficient.
In the sequence of paths (60) that scans the position (12) of the conversion factor of the block (10) according to the scan order (62).
Using the context-adaptive binary arithmetic compound,
Flags (92, 96, 98, 104), each of which is one of a set of one or more flag types, and
Using variable length code,
Residual value,
The step of decrypting from the data stream
Each flag and each residual value is decoded at the position (50) of the conversion factor currently being scanned, and
For each conversion factor position in the coded set of conversion factor positions, at least one of the one or more flags and one residual value is consecutively decoded and the conversion currently being scanned. The initial value domain (90), where the absolute value of the quantization index for the position of the coefficient exists, is contiguous so as to include only the absolute value of the quantization index for the position of the currently scanned conversion factor. Here, each flag limits the value domain of the absolute value of the quantization index for the position of the currently scanned conversion factor and the quantum of the position of the currently scanned conversion factor. If the absolute value domain of the index is limited to the first or second subpart divided into two and the residual value is decoded for the position of the currently scanned conversion factor, the residual. The value is the value domain when at least one flag for the position of the currently scanned conversion factor has been decoded, or said initial when the flag for the position of the currently scanned conversion factor has not been decoded. Includes a step from the value domain (90) that uniquely indicates the absolute value of the quantization index for the position of the currently scanned conversion factor.
The method is
For the position of the current conversion factor, select one set of reconstruction levels from multiple reconstruction level sets (73) based on the state that the state transition assumes for the position of the current conversion factor (72). ), The quantization index is dequantized to the reconstruction level indicated by the set of reconstruction levels (74), and
The state transition assumed for the position of the current conversion factor due to the position of the conversion factor following the current conversion factor in the scan order, depending on the quantization index of the position of the current conversion factor. To update the above-mentioned state of (76),
By using state transitions according to the scan order,
A method that includes steps of continuous dequantization.
変換係数のブロックを復号するための方法であって、
前記変換係数の位置をスキャン順序に従ってスキャンするパスのシーケンス(601−605)において、
コンテキスト適応バイナリ算術復号を使用して、
それぞれが1つ以上のフラグタイプのセットのうちの1つであるフラグ(92,96,98,104)を、および、
可変長符号(前記可変長符号語のビンがバイナリ算術デコーダの非適応バイパスモードで復号される)を使用して、
残余値を、
前記データストリームから復号するステップであって、
それぞれのフラグおよびそれぞれの残余値が現在スキャンされている変換係数の位置(50)についてそれぞれ復号され、且つ、
変換係数の位置の符号化されたセットのそれぞれの変換係数の位置について、前記1つ以上のフラグおよび1つの残余値のうちの少なくとも1つは連続して復号されて、現在スキャンされている変換係数の位置(50)についての量子化インデックスの絶対値が存在する初期値ドメイン(90)を、前記現在スキャンされている変換係数の位置についての前記量子化インデックスの前記絶対値のみを含むように連続的に制限し、ここで、それぞれのフラグは、前記現在スキャンされている変換係数の位置についての前記量子化インデックスの前記絶対値の値ドメインを、前記現在スキャンされている変換係数の位置についての前記量子化インデックスの前記絶対値の前記値ドメインが二分割された第1のサブ部分または第2のサブ部分に制限し、前記現在スキャンされている変換係数の位置について残余値が復号された場合、前記残余値は、前記現在スキャンされている変換係数の位置について少なくとも1つのフラグが復号されているときには前記値ドメイン、または、前記現在スキャンされている変換係数の位置についてフラグが復号されていないときには前記初期値ドメインから、前記現在スキャンされている変換係数の位置についての前記量子化インデックスの絶対値を一意に示すステップを含み、
前記方法は、
前記パスのシーケンスの第1のパス(601)において、
前記第1のパス(601)において、予め決定されたアボート基準が前記スキャン順序(62)においてはじめて満たされる、予め決定された変換係数の位置(112)まで(および、それを含んで)を予め決定された第1のフラグタイプのフラグ(92)を前記データストリームから復号するステップであって、前記予め決定された第1のフラグタイプのフラグ(92)は、前記現在スキャンされている変換係数の位置(50)についての前記量子化インデックスがゼロか否かを示すステップと、
前記予め決定された変換係数の位置(112)まで(および、それを含んで)変換係数の位置について前記フラグのみを復号し、前記パスのシーケンスの別のパス603,4)において、スキャン順序(62)の前記予め決定された変換係数の位置(112)以降(および、それを除いて)の前記変換係数の位置の符号化されたセットのそれぞれについて、前記残余値のうちの1つを復号して、後者が前記初期値ドメイン(90)のうちの前記それぞれの変換係数の位置についての前記量子化インデックスの前記絶対値を一意に示すようにするステップを含む、方法。
A method for decoding blocks of conversion factors,
In sequence (60 1 -60 5) of the path to be scanned in the scan order positions of the transform coefficients,
Using context-adaptive binary arithmetic decoding,
Flags (92, 96, 98, 104), each of which is one of a set of one or more flag types, and
Using variable-length code (the bin of the variable-length codeword is decoded in the non-adaptive bypass mode of the binary arithmetic decoder),
Residual value,
A step of decoding from the data stream.
Each flag and each residual value is decoded at the position (50) of the conversion factor currently being scanned, and
For each conversion factor position in the coded set of conversion factor positions, at least one of the one or more flags and one residual value is consecutively decoded and the conversion currently being scanned. The initial value domain (90), where the absolute value of the quantization index for the position of the coefficient (50) is present, should include only the absolute value of the quantization index for the position of the currently scanned conversion factor. Continuously limiting, where each flag is the absolute value domain of the quantization index for the position of the currently scanned conversion factor, for the position of the currently scanned conversion factor. The value domain of the absolute value of the quantization index was limited to the first or second subpart divided into two, and the residual value was decoded for the position of the currently scanned conversion factor. If, the residual value is flagged for the value domain or for the position of the currently scanned conversion factor when at least one flag has been decoded for the position of the currently scanned conversion factor. If not, it comprises a step from the initial value domain that uniquely indicates the absolute value of the quantization index for the position of the currently scanned conversion factor.
The method is
In a first pass (60 1) of the sequence of the path,
In the first pass (60 1), predetermined abort criterion is met for the first time in the scan order (62), the position of the predetermined conversion coefficient to (112) (and, contains it) A step of decoding a predetermined first flag type flag (92) from the data stream, wherein the predetermined first flag type flag (92) is the currently scanned conversion. A step indicating whether or not the quantization index for the position (50) of the coefficient is zero, and
Decoding only the flags up to (and including) the position of the conversion factor to (and including) the predetermined conversion factor position and scanning order in another path 60 3,4) of the sequence of said paths. For each of the coded sets of positions of the conversion coefficients after (and excluding) the predetermined conversion coefficient positions (112) of (62), one of the residual values. A method comprising decoding so that the latter uniquely indicates the absolute value of the quantized index with respect to the position of each of the conversion coefficients in the initial value domain (90).
変換係数ブロック(10)を復号するための方法であって、
前記変換係数ブロック(10)が分割された前記サブブロック(14)のうちの少なくとも1つのセットのそれぞれについて、前記それぞれのサブブロック(14)が、前記量子化インデックスの前記絶対値が予め決定された非ゼロ閾値よりも大きい変換係数(12)を含むか否かを示すサブブロック重大フラグを復号するステップと、
前記量子化インデックスの前記絶対値が前記予め決定された非ゼロ閾値よりも大きい変換係数が少なくとも1つ存在することを前記サブブロック重大フラグが示すそれぞれのサブブロック(14)内では、
前記それぞれのサブブロック内の前記変換係数のそれぞれについて、
前記それぞれの変換係数の値ドメインを2つの部分に帰納的に二分割し、前記それぞれの変換係数の量子化インデックスが前記2つの部分のうちのどちらに存在するかを示す1つ以上のフラグのシーケンスを連続的に復号するとともに、前記値ドメインが単に1つの値または絶対的な意味で等しい値しか含まなくなるとすぐに前記シーケンスの復号を停止すること、および、
前記値ドメインが前記絶対的な意味で異なる値を1つ以上依然として含む場合、前記値ドメインにおける前記それぞれの変換係数の前記量子化インデックスの前記絶対値を示す残余値を連続的に復号すること、ならびに、
前記量子化インデックスの前記絶対値が前記予め決定された非ゼロ閾値よりも大きい変換係数が存在しないことを前記サブブロック重大フラグが示すそれぞれのサブブロック内では、
前記それぞれのサブブロック内の前記変換係数のそれぞれについて、
前記1つ以上のフラグの前記シーケンスを連続的に復号するとともに、前記値ドメインが前記非ゼロ閾値を超えない1つの値のみ、単に1つの値または単に絶対的な意味で等しい値しか含まなくなるとすぐに前記シーケンスの復号を停止することによって、
前記変換係数ブロックの変換係数を復号するステップを含む、方法。
A method for decoding the conversion coefficient block (10).
For each of at least one set of the sub-blocks (14) into which the conversion factor block (10) is divided, the absolute value of the quantization index is predetermined for each of the sub-blocks (14). A step of decoding a subblock critical flag indicating whether or not it contains a conversion factor (12) greater than the non-zero threshold.
Within each subblock (14) indicated by the subblock severity flag that there is at least one conversion factor whose absolute value of the quantized index is greater than the predetermined non-zero threshold.
For each of the conversion factors in each of the subblocks
The value domain of each of the conversion coefficients is inductively divided into two parts, and one or more flags indicating which of the two parts the quantized index of each conversion coefficient is located in. Decoding the sequence continuously, and stopping decoding the sequence as soon as the value domain contains only one value or an absolutely equal value, and
If the value domain still contains one or more values that differ in the absolute sense, the residual value indicating the absolute value of the quantization index of each of the conversion coefficients in the value domain is continuously decoded. And,
Within each subblock indicated by the subblock severity flag that there is no conversion factor whose absolute value of the quantized index is greater than the predetermined non-zero threshold.
For each of the conversion factors in each of the subblocks
When the sequence of one or more flags is continuously decoded and the value domain contains only one value that does not exceed the non-zero threshold, only one value or simply an absolutely equal value. By immediately stopping decoding of the sequence
A method comprising decoding the conversion factor of the conversion factor block.
変換係数のブロック(10)を符号化するための方法であって、
前記ブロック(10)の変換係数の位置(12)をスキャン順序(62)に従ってスキャンするパスのシーケンス(60)において、
コンテキスト適応バイナリ算術符号化を使用して、
それぞれが1つ以上のフラグタイプのセットのうちの1つであるフラグ(92,96,98,104)を、および、
可変長符号を使用して、
残余値を、
データストリームから符号化するステップであって、
それぞれのフラグおよびそれぞれの残余値が現在スキャンされている変換係数の位置(50)についてそれぞれ符号化され、且つ、
変換係数の位置の符号化されたセットのそれぞれの変換係数の位置について、前記1つ以上のフラグおよび1つの残余値のうちの少なくとも1つは連続的に符号化されて、現在スキャンされている変換係数の位置についての量子化インデックスの絶対値が存在する初期値ドメイン(90)を、前記現在スキャンされている変換係数の位置についての前記量子化インデックスの前記絶対値のみを含むように連続的に制限し、ここで、それぞれのフラグは、前記現在スキャンされている変換係数の位置についての前記量子化インデックスの前記絶対値の値ドメインを、前記現在スキャンされている変換係数の位置についての前記量子化インデックスの前記絶対値の前記値ドメインが二分割された第1のサブ部分または第2のサブ部分に制限し、前記現在スキャンされている変換係数の位置について残余値が符号化された場合、前記残余値は、前記現在スキャンされている変換係数の位置について少なくとも1つのフラグが符号化されているときには前記値ドメイン、または、前記現在スキャンされている変換係数の位置についてフラグが符号化されていないときには前記初期値ドメイン(90)から、前記現在スキャンされている変換係数の位置についての前記量子化インデックスの絶対値を一意に示す、ステップを含み、
前記方法は、
現在の変換係数の位置について、状態遷移が前記現在の変換係数の位置について想定する状態に一意に基づいて、複数の再構成レベルセット(73)から1つの再構成レベルセットを選択し(72)、選択された前記再構成レベルのセットから再構成レベルを一意に示す量子化インデックスに前記現在の変換係数の位置についての前記変換係数を逆量子化する(74)こと、および、
前記現在の変換係数の位置の前記量子化インデックスに依存して、前記スキャン順序において前記現在の変換係数に続く変換係数の位置のために、前記現在の変換係数の位置について想定された前記状態遷移の前記状態を更新する(76)こと、
によって、前記スキャン順序に従った状態遷移を使用して、
連続して逆量子化するステップを含む、方法。
A method for encoding a block (10) of conversion coefficients.
In the sequence of paths (60) that scans the position (12) of the conversion factor of the block (10) according to the scan order (62).
Using context-adaptive binary arithmetic coding,
Flags (92, 96, 98, 104), each of which is one of a set of one or more flag types, and
Using variable length code,
Residual value,
A step to encode from a data stream
Each flag and each residual value is coded for the position (50) of the conversion factor currently being scanned, and
At least one of the one or more flags and one residual value is continuously encoded and currently scanned for each conversion factor position in the coded set of conversion factor positions. The initial value domain (90) in which the absolute value of the quantization index for the position of the conversion factor is present is continuous to include only the absolute value of the quantization index for the position of the conversion factor currently being scanned. Here, each flag limits the value domain of the absolute value of the quantization index to the position of the currently scanned conversion factor to the position of the currently scanned conversion factor. When the value domain of the absolute value of the quantization index is limited to the first or second subpart divided into two and the residual value is encoded for the position of the currently scanned conversion factor. , The residual value is flagged for the value domain when at least one flag is encoded for the position of the currently scanned conversion factor, or for the position of the currently scanned conversion factor. When not, it comprises a step from the initial value domain (90) that uniquely indicates the absolute value of the quantization index for the position of the currently scanned conversion factor.
The method is
For the position of the current conversion factor, one reconstruction level set is selected from the plurality of reconstruction level sets (73) based on the state that the state transition assumes for the position of the current conversion factor (72). The conversion factor for the position of the current conversion factor is inversely quantized from the selected set of reconstruction levels into a quantization index that uniquely indicates the reconstruction level (74).
The state transition assumed for the position of the current conversion factor due to the position of the conversion factor following the current conversion factor in the scan order, depending on the quantization index of the position of the current conversion factor. To update the above-mentioned state of (76),
By using state transitions according to the scan order,
A method involving steps of continuous dequantization.
変換係数のブロックを符号化するための方法であって、
前記変換係数の位置をスキャン順序に従ってスキャンするパスのシーケンス(601−605)において、
コンテキスト適応バイナリ算術符号化を使用して、
それぞれが1つ以上のフラグタイプのセットのうちの1つであるフラグ(92,96,98,104)を、および、
可変長符号を使用して、
残余値を、
前記データストリームから符号化するステップであって、
それぞれのフラグおよびそれぞれの残余値が現在スキャンされている変換係数の位置(50)についてそれぞれ符号化され、且つ、
変換係数の位置の符号化されたセットのそれぞれの変換係数の位置について、前記1つ以上のフラグおよび1つの残余値のうちの少なくとも1つは連続的に符号化されて、現在スキャンされている変換係数の位置(50)についての量子化インデックスの絶対値が存在する初期値ドメイン(90)を、前記現在スキャンされている変換係数の位置についての前記量子化インデックスの前記絶対値のみを含むように連続的に制限し、ここで、それぞれのフラグは、前記現在スキャンされている変換係数の位置についての前記量子化インデックスの前記絶対値の値ドメインを、前記現在スキャンされている変換係数の位置についての前記量子化インデックスの前記絶対値の前記値ドメインが二分割された第1のサブ部分または第2のサブ部分に制限し、前記現在スキャンされている変換係数の位置について残余値が符号化された場合、前記残余値は、前記現在スキャンされている変換係数の位置に対する少なくとも1つのフラグが符号化されているときには前記値ドメイン、または、前記現在スキャンされている変換係数の位置に対するフラグが符号化されていないときには前記初期値ドメインから、前記現在スキャンされている変換係数の位置についての前記量子化インデックスの絶対値を一意に示す、ステップを含み、
前記方法は、
前記パスのシーケンスの第1のパス(601)において、
予め決定された第1のフラグタイプのフラグ(92)を、前記第1のパス(601)において、予め決定されたアボート基準を前記スキャン順序(62)においてはじめて満たす、予め決定された変換係数の位置(112)まで前記データストリームに符号化するステップであって、前記予め決定された第1のフラグタイプのフラグ(92)は、前記現在スキャンされている変換係数の位置(50)についての前記量子化インデックスがゼロか否かを示す、ステップと、
前記予め決定された変換係数の位置(112)まで(および、それを含んで)変換係数の位置に対するフラグのみを符号化し、前記パスのシーケンスの別のパス(603,4)において、スキャン順序(62)で前記予め決定された変換係数の位置(112)以降の前記変換係数の位置の符号化されたセットのそれぞれについて、前記残余値のうちの1つを符号化して、後者が前記初期値ドメイン(90)のうちの前記それぞれの変換係数の位置について前記量子化インデックスの前記絶対値を一意に示すようにするステップを含む、方法。
A method for encoding blocks of conversion coefficients,
In sequence (60 1 -60 5) of the path to be scanned in the scan order positions of the transform coefficients,
Using context-adaptive binary arithmetic coding,
Flags (92, 96, 98, 104), each of which is one of a set of one or more flag types, and
Using variable length code,
Residual value,
A step of encoding from the data stream.
Each flag and each residual value is coded for the position (50) of the conversion factor currently being scanned, and
At least one of the one or more flags and one residual value is continuously encoded and currently scanned for each conversion factor position in the coded set of conversion factor positions. The initial value domain (90) where the absolute value of the quantization index for the position of the conversion factor (50) is present should include only the absolute value of the quantization index for the position of the conversion factor currently being scanned. Each flag is continuously limited to, where the value domain of the absolute value of the quantization index with respect to the position of the currently scanned conversion factor is the position of the currently scanned conversion factor. The value domain of the absolute value of the quantization index for is limited to the first or second subpart divided into two and the residual value is encoded for the position of the currently scanned conversion factor. If so, the residual value is flagged for the value domain when at least one flag for the position of the currently scanned conversion factor is encoded, or for the position of the currently scanned conversion factor. Includes a step that uniquely indicates the absolute value of the quantization index for the position of the currently scanned conversion factor from the initial value domain when unencoded.
The method is
In a first pass (60 1) of the sequence of the path,
The first flag type flag with a predetermined (92), wherein in the first pass (60 1), satisfies the first time predetermined abort criterion in the scan order (62), transform coefficients previously determined In the step of encoding to the data stream up to the position (112), the predetermined first flag type flag (92) is for the currently scanned conversion factor position (50). A step indicating whether or not the quantization index is zero,
Only the flag for the position of the conversion factor up to (and including) the predetermined conversion factor position (112) is encoded and the scan order in another path (60 3,4) of the sequence of said paths. For each of the coded sets of the conversion coefficient positions after the predetermined conversion coefficient position (112) in (62), one of the residual values is encoded, the latter being the initial. A method comprising the step of uniquely indicating the absolute value of the quantized index for the position of each of the conversion coefficients in the value domain (90).
変換係数ブロック(10)を符号化するための方法であって、
前記変換係数ブロック(10)が分割された前記サブブロック(14)のうちの少なくとも1つのセットのそれぞれについて、前記それぞれのサブブロック(14)が、前記量子化インデックスの前記絶対値が予め決定された非ゼロ閾値よりも大きい変換係数(12)を含むか否かを示すサブブロック重大フラグを符号化するステップ、また、
前記量子化インデックスの前記絶対値が前記予め決定された非ゼロ閾値よりも大きい変換係数が少なくとも1つ存在することを前記サブブロック重大フラグが示すそれぞれのサブブロック(14)内では、
前記それぞれのサブブロック内の前記変換係数のそれぞれについて、
前記それぞれの変換係数の値ドメインを2つの部分に帰納的に二分割し、前記それぞれの変換係数の量子化インデックスが前記2つの部分のうちのどちらに存在するかを示す1つ以上のフラグのシーケンスを連続的に符号化するとともに、前記値ドメインが単に1つの値または絶対的な意味で等しい値しか含まなくなるとすぐに前記シーケンスの符号化を停止すること、および、
前記値ドメインが前記絶対的な意味で異なる値を依然として1つ以上含む場合、前記値ドメインにおける前記それぞれの変換係数の前記量子化インデックスの前記絶対値を示す残余値を連続的に符号化すること、ならびに、
前記量子化インデックスの前記絶対値が前記予め決定された非ゼロ閾値よりも大きい変換係数が存在しないことを前記サブブロック重大フラグが示すそれぞれのサブブロック内では、
前記それぞれのサブブロック内の前記変換係数のそれぞれについて、
前記1つ以上のフラグの前記シーケンスを連続的に符号化するとともに、前記値ドメインが前記非ゼロ閾値を超えない1つの値のみ、単に1つの値または単に絶対的な意味で等しい値しか含まなくなるとすぐに前記シーケンスの符号化を停止することによって、
前記変換係数ブロックの変換係数を符号化するステップを含む、方法。
A method for encoding the conversion factor block (10).
For each of at least one set of the sub-blocks (14) into which the conversion factor block (10) is divided, the absolute value of the quantization index is predetermined for each of the sub-blocks (14). A step of encoding a subblock critical flag indicating whether or not it contains a conversion factor (12) greater than the non-zero threshold.
Within each subblock (14) indicated by the subblock severity flag that there is at least one conversion factor whose absolute value of the quantized index is greater than the predetermined non-zero threshold.
For each of the conversion factors in each of the subblocks
The value domain of each of the conversion coefficients is inductively divided into two parts, and one or more flags indicating which of the two parts the quantized index of each conversion coefficient is located in. Encoding the sequence continuously, and stopping the encoding of the sequence as soon as the value domain contains only one value or a value that is absolutely equal, and
If the value domain still contains one or more values that differ in the absolute sense, the residual value indicating the absolute value of the quantization index of each of the conversion coefficients in the value domain is continuously encoded. , As well as
Within each subblock indicated by the subblock severity flag that there is no conversion factor whose absolute value of the quantized index is greater than the predetermined non-zero threshold.
For each of the conversion factors in each of the subblocks
The sequence of one or more flags is continuously encoded, and the value domain contains only one value that does not exceed the non-zero threshold, only one value or simply an absolutely equal value. By stopping the coding of the sequence as soon as possible
A method comprising encoding the conversion factor of the conversion factor block.
請求項130ないし132のいずれかに記載の方法によって符号化されるデータストリーム。 A data stream encoded by the method according to any one of claims 130 to 132. コンピュータ上で動作しているときに、請求項127ないし132のいずれかに記載の方法を実行するためのプログラムコードを含むコンピュータプログラム。 A computer program comprising program code for performing the method according to any one of claims 127 to 132 while running on a computer.
JP2021516639A 2018-09-24 2019-09-24 Efficient coding of conversion factors used or suitable for combination with dependent scalar quantization Pending JP2022500966A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2023105222A JP2023123702A (en) 2018-09-24 2023-06-27 Efficient coding of transform coefficient using or suitable for combination with dependent scalar quantization

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
EP18196399.2 2018-09-24
EP18196399 2018-09-24
PCT/EP2019/075732 WO2020064745A1 (en) 2018-09-24 2019-09-24 Efficient coding of transform coefficients using or suitable for a combination with dependent scalar quantization

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2023105222A Division JP2023123702A (en) 2018-09-24 2023-06-27 Efficient coding of transform coefficient using or suitable for combination with dependent scalar quantization

Publications (1)

Publication Number Publication Date
JP2022500966A true JP2022500966A (en) 2022-01-04

Family

ID=63720488

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2021516639A Pending JP2022500966A (en) 2018-09-24 2019-09-24 Efficient coding of conversion factors used or suitable for combination with dependent scalar quantization
JP2023105222A Pending JP2023123702A (en) 2018-09-24 2023-06-27 Efficient coding of transform coefficient using or suitable for combination with dependent scalar quantization

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2023105222A Pending JP2023123702A (en) 2018-09-24 2023-06-27 Efficient coding of transform coefficient using or suitable for combination with dependent scalar quantization

Country Status (8)

Country Link
US (2) US11677950B2 (en)
EP (1) EP3857882A1 (en)
JP (2) JP2022500966A (en)
KR (3) KR20230170824A (en)
CN (2) CN113170132A (en)
BR (1) BR112021005558A2 (en)
MX (1) MX2021003343A (en)
WO (1) WO2020064745A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113170132A (en) * 2018-09-24 2021-07-23 弗劳恩霍夫应用研究促进协会 Efficient coding of transform coefficients using or adapted to a combination with dependent scalar quantization
US11523136B2 (en) * 2019-01-28 2022-12-06 Hfi Innovation Inc. Methods and apparatuses for coding transform blocks
US11496745B2 (en) * 2019-06-24 2022-11-08 Qualcomm Incorporated Binarization in transform skip residual coding
US11184642B2 (en) * 2019-08-02 2021-11-23 Mediatek Inc. Methods and apparatus for simplification of coding residual blocks
US20220086445A1 (en) * 2020-12-03 2022-03-17 Intel Corporation Methods, apparatus, and articles of manufacture for multi-symbol equiprobable mode entropy coding
WO2022165763A1 (en) * 2021-02-05 2022-08-11 Oppo广东移动通信有限公司 Encoding method, decoding method, encoder, decoder and electronic device
WO2022187026A2 (en) * 2021-02-25 2022-09-09 Innopeak Technology, Inc. Dependent quantization state transition method for video coding
EP4324201A1 (en) * 2021-04-26 2024-02-21 Innopeak Technology, Inc. Bypass alignment in video coding
CN115706797A (en) * 2021-08-05 2023-02-17 腾讯科技(深圳)有限公司 Multimedia data encoding method, apparatus, device and medium
WO2023132660A1 (en) * 2022-01-05 2023-07-13 주식회사 윌러스표준기술연구소 Video signal processing method using dependent quantization and device therefor
WO2024035762A1 (en) * 2022-08-09 2024-02-15 Innopeak Technology, Inc. Dynamic mesh geometry refinement component adaptive coding

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015507424A (en) * 2012-01-17 2015-03-05 クゥアルコム・インコーポレイテッドQualcomm Incorporated Throughput improvement for CABAC coefficient level coding

Family Cites Families (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5701480A (en) * 1991-10-17 1997-12-23 Digital Equipment Corporation Distributed multi-version commitment ordering protocols for guaranteeing serializability during transaction processing
US7120254B2 (en) 2000-10-30 2006-10-10 Geocodex Llc Cryptographic system and method for geolocking and securing digital information
EP1487113B1 (en) * 2002-05-02 2006-10-18 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Coding and decoding of transformation coefficients in image or video coders
JP5083867B2 (en) * 2007-03-02 2012-11-28 株式会社リコー Light source driving device, optical scanning device, and image forming apparatus
CA2751803A1 (en) * 2009-02-13 2010-08-19 Research In Motion Limited Modified entropy encoding for images and videos
US20110041148A1 (en) 2009-08-13 2011-02-17 At&T Intellectual Property I, L.P. Blackouts of pay per view multimedia content
WO2011128268A1 (en) * 2010-04-13 2011-10-20 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Probability interval partioning encoder and decoder
HUE051391T2 (en) * 2010-04-13 2021-03-01 Ge Video Compression Llc Coding of significance maps and transform coefficient blocks
CN106851320B (en) * 2010-11-04 2020-06-02 Ge视频压缩有限责任公司 Digital storage medium, method of decoding bit stream
US9491491B2 (en) * 2011-06-03 2016-11-08 Qualcomm Incorporated Run-mode based coefficient coding for video coding
MY167316A (en) * 2011-11-04 2018-08-16 Sharp Kk Arithmetic decoding device, image decoding device, arithmetic coding device, image coding device, and arithmetic decoding method
JP6480186B2 (en) 2012-01-19 2019-03-06 ヴィド スケール インコーポレイテッド Video coding quantization and dynamic range control system and method
PT2805419T (en) * 2012-01-20 2017-09-01 Ge Video Compression Llc Transform coefficient coding and decoding
US9036710B2 (en) * 2012-03-08 2015-05-19 Blackberry Limited Unified transform coefficient encoding and decoding
US9264706B2 (en) * 2012-04-11 2016-02-16 Qualcomm Incorporated Bypass bins for reference index coding in video coding
CA2807382A1 (en) * 2012-04-16 2013-10-16 Research In Motion Limited Modified contexts for level coding of video data
US9124872B2 (en) * 2012-04-16 2015-09-01 Qualcomm Incorporated Coefficient groups and coefficient coding for coefficient scans
US9307264B2 (en) * 2012-06-22 2016-04-05 Sharp Kabushiki Kaisha Arithmetic decoding device, arithmetic coding device, image decoding apparatus, and image coding apparatus
CN104272736B (en) * 2013-01-16 2018-04-17 黑莓有限公司 For the method and apparatus and its processor readable medium encoded/decoded to video
US9936200B2 (en) * 2013-04-12 2018-04-03 Qualcomm Incorporated Rice parameter update for coefficient level coding in video coding process
US10021419B2 (en) * 2013-07-12 2018-07-10 Qualcomm Incorported Rice parameter initialization for coefficient level coding in video coding process
EP2980793A1 (en) 2014-07-28 2016-02-03 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Encoder, decoder, system and methods for encoding and decoding
US9628803B2 (en) 2014-11-25 2017-04-18 Blackberry Limited Perceptual image and video coding
US11233998B2 (en) * 2015-05-29 2022-01-25 Qualcomm Incorporated Coding data using an enhanced context-adaptive binary arithmetic coding (CABAC) design
CN109076241B (en) * 2016-05-04 2023-06-23 微软技术许可有限责任公司 Intra picture prediction using non-adjacent reference lines of sample values
WO2017201574A1 (en) * 2016-05-23 2017-11-30 Newsouth Innovations Pty Limited A method and apparatus for image compression
US10587875B2 (en) * 2017-03-01 2020-03-10 Intel Corporation Coding tools for subjective quality improvements in video codecs
US10491914B2 (en) * 2018-03-29 2019-11-26 Tencent America LLC Transform information prediction
US11483575B2 (en) * 2018-08-24 2022-10-25 Hfi Innovation Inc. Coding transform coefficients with throughput constraints
US11336918B2 (en) * 2018-09-05 2022-05-17 Qualcomm Incorporated Regular coded bin reduction for coefficient coding
WO2020054713A1 (en) * 2018-09-11 2020-03-19 Sharp Kabushiki Kaisha Systems and methods for coding transform coefficient level values
KR20230175339A (en) * 2018-09-20 2023-12-29 엘지전자 주식회사 Transform coefficient level coding method and apparatus
CN113170132A (en) * 2018-09-24 2021-07-23 弗劳恩霍夫应用研究促进协会 Efficient coding of transform coefficients using or adapted to a combination with dependent scalar quantization
EP4022906A4 (en) * 2019-08-30 2022-11-09 Huawei Technologies Co., Ltd. Method and apparatus of high-level signaling for non-rectangular partitioning modes

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015507424A (en) * 2012-01-17 2015-03-05 クゥアルコム・インコーポレイテッドQualcomm Incorporated Throughput improvement for CABAC coefficient level coding

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
HEIKO SCHWARZ, ET AL.: "CE7: Transform Coefficient Coding and Dependent Quantization (Tests 7.1.2, 7.2.1)", JOINT VIDEO EXPERTS TEAM (JVET) OF ITU-T SG 16 WP 3 AND ISO/IEC JTC 1/SC 29/WG 11, vol. JVET-K0071, JPN6022020587, 11 July 2018 (2018-07-11), ISSN: 0005001245 *
HEIKO SCHWARZ, ET AL.: "Non-CE7: Alternative Entropy Coding for Dependent Quantization", JOINT VIDEO EXPERTS TEAM (JVET) OF ITU-T SG 16 WP 3 AND ISO/IEC JTC 1/SC 29/WG 11, vol. JVET-K0072-v2, JPN6022020586, 16 July 2018 (2018-07-16), ISSN: 0005001244 *
JIE DONG, ET AL.: "CE7-Related: TCQ with High Throughput Coefficient Coding", JOINT VIDEO EXPERTS TEAM (JVET) OF ITU-T SG 16 WP 3 AND ISO/IEC JTC 1/SC 29/WG 11 11TH MEETING, vol. JVET-K0319-v4, JPN6022020588, 15 July 2018 (2018-07-15), ISSN: 0005001246 *

Also Published As

Publication number Publication date
CN113170132A (en) 2021-07-23
US20210211673A1 (en) 2021-07-08
KR20210065155A (en) 2021-06-03
US11677950B2 (en) 2023-06-13
US20230379471A1 (en) 2023-11-23
KR102661759B1 (en) 2024-04-30
BR112021005558A2 (en) 2021-06-29
WO2020064745A1 (en) 2020-04-02
JP2023123702A (en) 2023-09-05
MX2021003343A (en) 2021-07-02
EP3857882A1 (en) 2021-08-04
KR20230170824A (en) 2023-12-19
KR20230106751A (en) 2023-07-13
CN117729332A (en) 2024-03-19
KR102613155B1 (en) 2023-12-13

Similar Documents

Publication Publication Date Title
KR102543505B1 (en) dependent quantization
JP2022500966A (en) Efficient coding of conversion factors used or suitable for combination with dependent scalar quantization
KR102662646B1 (en) Entropy coding of transform coefficients suitable for dependent scalar quantization
JP7245341B2 (en) Integrated transform type notification and transform type dependent transform factor level coding
JP2017507519A (en) Data encoding and decoding
TWI789668B (en) Determining a parametrization for context-adaptive binary arithmetic coding
US20220321886A1 (en) Decoder, Encoder and Method for Supporting Adaptive Dependent Quantization of Transform Coefficient Levels

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210525

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210525

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20220411

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220519

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220531

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20220829

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221027

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20230228

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230627

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20230704

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20230929