JP2021158546A - Image decoding device and image encoding device - Google Patents

Image decoding device and image encoding device Download PDF

Info

Publication number
JP2021158546A
JP2021158546A JP2020057428A JP2020057428A JP2021158546A JP 2021158546 A JP2021158546 A JP 2021158546A JP 2020057428 A JP2020057428 A JP 2020057428A JP 2020057428 A JP2020057428 A JP 2020057428A JP 2021158546 A JP2021158546 A JP 2021158546A
Authority
JP
Japan
Prior art keywords
flag
enabled
encoded
lossless
sps
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
JP2020057428A
Other languages
Japanese (ja)
Inventor
天洋 周
Tianyang Zhou
天洋 周
知宏 猪飼
Tomohiro Igai
知宏 猪飼
瑛一 佐々木
Eiichi Sasaki
瑛一 佐々木
友子 青野
Tomoko Aono
友子 青野
健 中條
Takeshi Nakajo
健 中條
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2020057428A priority Critical patent/JP2021158546A/en
Publication of JP2021158546A publication Critical patent/JP2021158546A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

To provide a video encoding device and a video decoding device that achieve efficient encoding and decoding even in lossless encoding.SOLUTION: The device sets a lossless flag in a sequence parameter set SPS or picture parameter set PPS and sets on/off flags for joint residual encoding, quantization, and loop filter, which are not used in lossless encoding, by referring to the lossless flag.SELECTED DRAWING: Figure 11

Description

本発明の実施形態は、画像復号装置及び画像符号化装置に関する。 Embodiments of the present invention relate to an image decoding device and an image coding device.

画像を効率的に伝送又は記録するために、画像を符号化することによって符号化データを生成する画像符号化装置、及び、当該符号化データを復号することによって復号画像を生成する画像復号装置が用いられている。 In order to efficiently transmit or record an image, an image coding device that generates coded data by encoding the image and an image decoding device that generates a decoded image by decoding the coded data It is used.

具体的な画像符号化方式としては、例えば、H.264/AVCやHEVC(High-Efficiency Video
Coding)方式等が挙げられる。
Specific image coding methods include, for example, H.264 / AVC and HEVC (High-Efficiency Video).
Coding) method and the like.

このような画像符号化方式においては、動画像を構成する画像(ピクチャ)は、画像を分割することにより得られるスライス、スライスを分割することにより得られる符号化ツリーユニット(CTU:Coding Tree Unit)、符号化ツリーユニットを分割することで得ら
れる符号化単位(符号化ユニット(Coding Unit:CU)と呼ばれることもある)、及び、
符号化単位を分割することより得られる変換ユニット(TU:Transform Unit)からなる階層構造により管理され、CU毎に符号化/復号される。
In such an image coding method, the image (picture) constituting the moving image is a slice obtained by dividing the image, or a coding tree unit (CTU) obtained by dividing the slice. , A coding unit obtained by dividing a coding tree unit (sometimes called a coding unit (CU)), and
It is managed by a hierarchical structure consisting of a transformation unit (TU: Transform Unit) obtained by dividing the coding unit, and is encoded / decoded for each CU.

また、このような画像符号化方式においては、通常、入力画像を符号化/復号することによって得られる局所復号画像に基づいて予測画像が生成され、当該予測画像を入力画像(原画像)から減算して得られる予測誤差(「差分画像」又は「残差画像」と呼ぶこともある)が符号化される。予測画像の生成方法としては、画面間予測(インター予測)、及び、画面内予測(イントラ予測)が挙げられる。 Further, in such an image coding method, a predicted image is usually generated based on a locally decoded image obtained by encoding / decoding an input image, and the predicted image is subtracted from the input image (original image). The resulting prediction error (sometimes referred to as a "difference image" or "residual image") is encoded. Examples of the method for generating a prediction image include inter-screen prediction (inter-screen prediction) and in-screen prediction (intra-prediction).

また、近年の画像符号化及び復号技術として非特許文献1が挙げられる。非特許文献1には、符号化効率を高めるため、予測誤差に関する量子化変換係数を逆量子化して算出される変換係数について、一部の変換係数の正または負の符号を符号化せず推定する技術である「Sign Hiding,SGH」が開示されている。また、異なるレベルを持つ2つの量子化器
を切り替えて量子化、逆量子化を行う「依存量子化(Dependent Quantization,DQ)」が開
示されている。また、画面をCTUブロックに分割した後、さらにCTUをマルチツリーMTT(QTBT, QTBTTT)と呼ばれる4分木、2分木、3分木などの複数のツリーにより再帰的に分割する技術が開示されている。
In addition, Non-Patent Document 1 is mentioned as a recent image coding and decoding technique. In Non-Patent Document 1, in order to improve the coding efficiency, the conversion coefficient calculated by dequantizing the quantization conversion coefficient related to the prediction error is estimated without encoding the positive or negative code of some conversion coefficients. "Sign Hiding, SGH", which is a technology to be used, is disclosed. Further, "Dependent Quantization (DQ)" is disclosed in which two quantizers having different levels are switched to perform quantization and dequantization. Further, a technique for dividing the screen into CTU blocks and then recursively dividing the CTU into a plurality of trees such as a quadtree, a binary tree, and a ternary tree called a multi-tree MTT (QTBT, QTBTTT) is disclosed. ing.

一方、医療や美術品等において映像を使用する用途では、符号化による劣化が全くない、あるいは、ほとんどない復号画像が必要とされる場合がある。このようなロスレス、あるいは、ニアロスレスを実現するために、符号化(復号)において、変換(逆変換)や量子化(逆量子化)を用いない技術が開示されている。 On the other hand, in applications where images are used in medical treatments, works of art, etc., there are cases where a decoded image with no or almost no deterioration due to coding is required. In order to realize such lossless or near lossless, a technique that does not use conversion (inverse transformation) or quantization (inverse quantization) in coding (decoding) is disclosed.

"Versatile Video Coding (Draft 8)", JVET-Q2001, Joint Video Exploration Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, 7-17 January 2020"Versatile Video Coding (Draft 8)", JVET-Q2001, Joint Video Exploration Team (JVET) of ITU-T SG 16 WP 3 and ISO / IEC JTC 1 / SC 29/WG 11, 7-17 January 2020

非特許文献1では、ロスレス符号化を使用する場合、いくつかのツールでは、ツールが
有効か無効かを示すフラグの通知が不必要な場合がある。不必要なフラグを通知するため、符号化効率が低下するという問題がある。
In Non-Patent Document 1, when lossless coding is used, some tools may not need to be notified of a flag indicating whether the tool is valid or invalid. Since unnecessary flags are notified, there is a problem that the coding efficiency is lowered.

また、非特許文献1では4分木、2分木、3分木を含む多様な分割方法が許されるため、ロスレス符号化時、大きな処理量により処理遅延が生じるという問題がある。 Further, since Non-Patent Document 1 allows various division methods including quadtrees, binary trees, and ternary trees, there is a problem that processing delay occurs due to a large amount of processing during lossless coding.

本発明は、前記の問題点に鑑みてなされたものであり、その目的は、ロスレス符号化においても、効率的な符号化・復号を実現する動画像符号化装置および動画像復号装置を実現することにある。 The present invention has been made in view of the above problems, and an object of the present invention is to realize a moving image coding device and a moving image decoding device that realize efficient coding / decoding even in lossless coding. There is.

シーケンスパラメータセットSPS、もしくはピクチャパラメータセットPPSにてロス
レスフラグを設定する。これにより、ロスレス符号化時には使用しないジョイント残差符号化、変換、量子化、および、ループフィルタのオンオフフラグを、ロスレスフラグを参照して設定する。
Set the lossless flag in the sequence parameter set SPS or the picture parameter set PPS. As a result, the joint residual coding, conversion, quantization, and loop filter on / off flags that are not used during lossless coding are set with reference to the lossless flags.

さらに、符号化側では、4分木、2分木、3分木分割において、分割可能な最大ブロック
サイズを制限する。
Further, on the coding side, the maximum block size that can be divided is limited in the quadtree, binary, and ternary division.

本発明の一態様によれば、ロスレス符号化においても、効率的な符号化・復号を実現することができるという効果を奏する。 According to one aspect of the present invention, even in lossless coding, there is an effect that efficient coding / decoding can be realized.

本実施形態に係る画像伝送システムの構成を示す概略図である。It is the schematic which shows the structure of the image transmission system which concerns on this embodiment. 本実施形態に係る動画像符号化装置を搭載した送信装置、及び、動画像復号装置を搭載した受信装置の構成について示した図である。PROD_Aは動画像符号化装置を搭載した送信装置を示しており、PROD_Bは動画像復号装置を搭載した受信装置を示している。It is a figure which showed the structure of the transmitting device equipped with the moving image coding device which concerns on this embodiment, and the receiving device equipped with moving image decoding device. PROD_A indicates a transmitting device equipped with a moving image coding device, and PROD_B indicates a receiving device equipped with a moving image decoding device. 本実施形態に係る動画像符号化装置を搭載した記録装置、及び、動画像復号装置を搭載した再生装置の構成について示した図である。PROD_Cは動画像符号化装置を搭載した記録装置を示しており、PROD_Dは動画像復号装置を搭載した再生装置を示している。It is a figure which showed the structure of the recording device which carried out the moving image coding device which concerns on this embodiment, and the reproduction device which carried out the moving image decoding device. PROD_C indicates a recording device equipped with a moving image coding device, and PROD_D indicates a playback device equipped with a moving image decoding device. 符号化ストリームのデータの階層構造を示す図である。It is a figure which shows the hierarchical structure of the data of a coded stream. CTUの分割例を示す図である。It is a figure which shows the division example of CTU. 動画像復号装置の構成を示す概略図である。It is the schematic which shows the structure of the moving image decoding apparatus. 動画像復号装置の概略的動作を説明するフローチャートである。It is a flowchart explaining the schematic operation of the moving image decoding apparatus. 本実施形態に係るシーケンスパラメータセットのシンタックス表である。It is a syntax table of the sequence parameter set which concerns on this embodiment. 本実施形態に係るシーケンスパラメータセットのシンタックス表である。It is a syntax table of the sequence parameter set which concerns on this embodiment. 本実施形態に係るシーケンスパラメータセットのシンタックス表である。It is a syntax table of the sequence parameter set which concerns on this embodiment. 本実施形態に係るスライスヘッダ、および、TUのシンタックス表である。It is a syntax table of the slice header and TU which concerns on this embodiment. 本実施形態に係るピクチャパラメータセットのシンタックス表である。It is a syntax table of the picture parameter set which concerns on this embodiment. 本実施形態に係るピクチャヘッダのシンタックス表である。It is a syntax table of the picture header which concerns on this embodiment. 本実施形態に係るスライスヘッダ、および、TUのシンタックス表である。It is a syntax table of the slice header and TU which concerns on this embodiment. 本発明の一実施形態に係るCT情報復号部の動作を説明するフローチャートである。It is a flowchart explaining the operation of the CT information decoding unit which concerns on one Embodiment of this invention. 動画像符号化装置の構成を示すブロック図である。It is a block diagram which shows the structure of the moving image coding apparatus.

〔実施形態1〕
以下、図面を参照しながら本発明の実施形態について説明する。
[Embodiment 1]
Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本実施形態に係る画像伝送システム1の構成を示す概略図である。 FIG. 1 is a schematic view showing a configuration of an image transmission system 1 according to the present embodiment.

画像伝送システム1は、符号化対象画像を符号化した符号化ストリームを伝送し、伝送された符号化ストリームを復号し画像を表示するシステムである。画像伝送システム1は、動画像符号化装置(画像符号化装置)11、ネットワーク21、動画像復号装置(画像復号装置)31、及び画像表示装置(画像表示装置)41を含んで構成される。 The image transmission system 1 is a system that transmits a coded stream in which a coded image is encoded, decodes the transmitted coded stream, and displays an image. The image transmission system 1 includes a moving image coding device (image coding device) 11, a network 21, a moving image decoding device (image decoding device) 31, and an image display device (image display device) 41.

動画像符号化装置11には画像Tが入力される。 The image T is input to the moving image coding device 11.

ネットワーク21は、動画像符号化装置11が生成した符号化ストリームTeを動画像復号装置31に伝送する。ネットワーク21は、インターネット(Internet)、広域ネットワーク(WAN:Wide Area Network)、小規模ネットワーク(LAN:Local Area Network)又はこれらの組み合わせである。ネットワーク21は、必ずしも双方向の通信網に限らず、地上デジタル放送、衛星放送等の放送波を伝送する一方向の通信網であってもよい。また、ネットワーク21は、DVD(Digital Versatile Disc:登録商標)、BD(Blue-ray Disc:登録商標)等の符号化ストリームTeを記録した記憶媒体で代替されてもよい。 The network 21 transmits the coded stream Te generated by the video coding device 11 to the video decoding device 31. The network 21 is an Internet (Internet), a wide area network (WAN: Wide Area Network), a small network (LAN: Local Area Network), or a combination thereof. The network 21 is not necessarily limited to a two-way communication network, but may be a one-way communication network that transmits broadcast waves such as terrestrial digital broadcasting and satellite broadcasting. Further, the network 21 may be replaced with a storage medium on which a coded stream Te such as a DVD (Digital Versatile Disc: registered trademark) or BD (Blue-ray Disc: registered trademark) is recorded.

動画像復号装置31は、ネットワーク21が伝送した符号化ストリームTeのそれぞれを復号し、復号した1又は複数の復号画像Tdを生成する。 The moving image decoding device 31 decodes each of the coded streams Te transmitted by the network 21 and generates one or a plurality of decoded images Td.

画像表示装置41は、動画像復号装置31が生成した1又は複数の復号画像Tdの全部又は一部を表示する。画像表示装置41は、例えば、液晶ディスプレイ、有機EL(Electro-luminescence)ディスプレイ等の表示デバイスを備える。ディスプレイの形態としては、据え置き、モバイル、HMD等が挙げられる。また、動画像復号装置31が高い処理能力を有する場合には、画質の高い画像を表示し、より低い処理能力しか有しない場合には、高い処理能力、表示能力を必要としない画像を表示する。 The image display device 41 displays all or a part of one or a plurality of decoded images Td generated by the moving image decoding device 31. The image display device 41 includes, for example, a display device such as a liquid crystal display or an organic EL (Electro-luminescence) display. Examples of the display form include stationary, mobile, and HMD. Further, when the moving image decoding device 31 has a high processing capacity, an image having a high image quality is displayed, and when the moving image decoding device 31 has a lower processing capacity, an image which does not require a high processing capacity and a display capacity is displayed. ..

<演算子>
本明細書で用いる演算子を以下に記載する。
<Operator>
The operators used herein are described below.

>>は右ビットシフト、<<は左ビットシフト、&はビットワイズAND、|はビットワイズOR
、|=はOR代入演算子であり、||は論理和を示す。
>> is right bit shift, << is left bit shift, & is bitwise AND, | is bitwise OR
, | = Is the OR assignment operator, and || indicates the OR.

x?y:zは、xが真(0以外)の場合にy、xが偽(0)の場合にzをとる3項演算子である。 x? y: z is a ternary operator that takes y when x is true (other than 0) and z when x is false (0).

Clip3(a,b,c)は、cをa以上b以下の値にクリップする関数であり、c<aの場合にはaを返
し、c>bの場合にはbを返し、その他の場合にはcを返す関数である(ただし、a<=b)。
Clip3 (a, b, c) is a function that clips c to a value greater than or equal to a and less than or equal to b. Is a function that returns c (where a <= b).

abs(a)はaの絶対値を返す関数である。 abs (a) is a function that returns the absolute value of a.

Int(a)はaの整数値を返す関数である。 Int (a) is a function that returns an integer value of a.

floor(a)はa以下の最小の整数を返す関数である。 floor (a) is a function that returns the smallest integer less than or equal to a.

ceil(a)はa以上の最大の整数を返す関数である。 ceil (a) is a function that returns the largest integer greater than or equal to a.

a/dはdによるaの除算(小数点以下切り捨て)を表す。 a / d represents the division of a by d (rounded down to the nearest whole number).

<符号化ストリームTeの構造>
本実施形態に係る動画像符号化装置11及び動画像復号装置31の詳細な説明に先立って、動画像符号化装置11によって生成され、動画像復号装置31によって復号される符号化ストリームTeのデータ構造について説明する。
<Structure of coded stream Te>
Prior to the detailed description of the moving image coding device 11 and the moving image decoding device 31 according to the present embodiment, the data of the coded stream Te generated by the moving image coding device 11 and decoded by the moving image decoding device 31. The structure will be described.

図4は、符号化ストリームTeにおけるデータの階層構造を示す図である。符号化ストリ
ームTeは、例示的に、シーケンス、及びシーケンスを構成する複数のピクチャを含む。図4には、それぞれ、シーケンスSEQを既定する符号化ビデオシーケンス、ピクチャPICTを規定する符号化ピクチャ、スライスSを規定する符号化スライス、スライスデータを規定す
る符号化スライスデータ、符号化スライスデータに含まれる符号化ツリーユニット、符号化ツリーユニットに含まれる符号化ユニットを示す図が示されている。
FIG. 4 is a diagram showing a hierarchical structure of data in the coded stream Te. The coded stream Te typically includes a sequence and a plurality of pictures that make up the sequence. In FIG. 4, the coded video sequence that defines the sequence SEQ, the coded picture that defines the picture PICT, the coded slice that defines the slice S, the coded slice data that defines the slice data, and the coded slice data, respectively. A diagram showing a coded tree unit included and a coded unit included in the coded tree unit is shown.

(符号化ビデオシーケンス)
符号化ビデオシーケンスでは、処理対象のシーケンスSEQを復号するために動画像復号
装置31が参照するデータの集合が規定されている。シーケンスSEQは、図4の符号化ビデオシーケンスに示すように、ビデオパラメータセット(Video Parameter Set)、シーケン
スパラメータセットSPS(Sequence Parameter Set)、ピクチャパラメータセットPPS(Picture Parameter Set)、ピクチャヘッダ(picture header)、ピクチャPICT、及び、付加拡張情報SEI(Supplemental Enhancement Information)を含んでいる。
(Coded video sequence)
The coded video sequence defines a set of data that the moving image decoding device 31 refers to in order to decode the sequence SEQ to be processed. As shown in the encoded video sequence of FIG. 4, the sequence SEQ includes a video parameter set (Video Parameter Set), a sequence parameter set SPS (Sequence Parameter Set), a picture parameter set PPS (Picture Parameter Set), and a picture header (picture header). ), Picture PICT, and Supplemental Enhancement Information (SEI).

ビデオパラメータセットVPSは、複数のレイヤから構成されている画像において、複数
の画像に共通する符号化パラメータの集合及び画像に含まれる複数のレイヤ及び個々のレイヤに関連する符号化パラメータの集合が規定されている。
The video parameter set VPS defines a set of coding parameters common to a plurality of images and a set of coding parameters related to a plurality of layers included in the image and each layer in an image composed of a plurality of layers. Has been done.

シーケンスパラメータセットSPSでは、対象シーケンスを復号するために動画像復号装
置31が参照する符号化パラメータの集合が規定されている。例えば、ピクチャの幅や高さが規定される。なお、SPSは複数存在してもよい。その場合、PPSから複数のSPSの何れか
を選択する。
The sequence parameter set SPS defines a set of coding parameters that the moving image decoding device 31 refers to in order to decode the target sequence. For example, the width and height of the picture are specified. There may be a plurality of SPS. In that case, select one of multiple SPSs from PPS.

ピクチャパラメータセットPPSでは、対象シーケンス内の各ピクチャを復号するために
動画像復号装置31が参照する符号化パラメータの集合が規定されている。例えば、ピクチャの復号に用いられる量子化幅の基準値(pic_init_qp_minus26)や重み付き予測の適用を示すフラグ(weighted_pred_flag)及びスケーリングリスト(量子化マトリックス)が含まれる。なお、PPSは複数存在してもよい。その場合、対象シーケンス内の各ピクチャから複数のPPSの何れかを選択する。
The picture parameter set PPS defines a set of coding parameters that the moving image decoding device 31 refers to in order to decode each picture in the target sequence. For example, a reference value of the quantization width used for decoding a picture (pic_init_qp_minus26), a flag indicating the application of weighted prediction (weighted_pred_flag), and a scaling list (quantization matrix) are included. There may be a plurality of PPSs. In that case, one of a plurality of PPSs is selected from each picture in the target sequence.

ピクチャヘッダPHでは、1枚の符号化ピクチャに含まれる全てのスライスに共通の符号化パラメータが定義される。例えばPOC(Picture Order Count)や分割に関する符号化パラメータが含まれる。 In the picture header PH, coding parameters common to all slices included in one coded picture are defined. For example, it includes coding parameters related to POC (Picture Order Count) and division.

(符号化ピクチャ)
符号化ピクチャでは、処理対象のピクチャPICTを復号するために動画像復号装置31が参照するデータの集合が規定されている。ピクチャPICTは、図4の符号化ピクチャに示すよ
うに、スライス0〜スライスNS-1を含む(NSはピクチャPICTに含まれるスライスの総数)
(Coded picture)
The coded picture defines a set of data referred to by the moving image decoding device 31 in order to decode the picture PICT to be processed. The picture PICT includes slices 0 to NS-1 as shown in the coded picture in FIG. 4 (NS is the total number of slices contained in the picture PICT).
..

なお、以下、スライス0〜スライスNS-1のそれぞれを区別する必要が無い場合、符号の
添え字を省略して記述することがある。また、以下に説明する符号化ストリームTeに含まれるデータであって、添え字を付している他のデータについても同様である。
In the following, when it is not necessary to distinguish between slice 0 and slice NS-1, the subscripts of the symbols may be omitted. The same applies to the data included in the coded stream Te described below and with subscripts.

(符号化スライス)
符号化スライスでは、処理対象のスライスSを復号するために動画像復号装置31が参照
するデータの集合が規定されている。スライスは、図4の符号化スライスに示すように、
スライスヘッダ、及び、スライスデータを含んでいる。
(Coded slice)
The coded slice defines a set of data referred to by the moving image decoding device 31 in order to decode the slice S to be processed. The slices are as shown in the coded slice of FIG.
Contains slice header and slice data.

スライスヘッダには、対象スライスの復号方法を決定するために動画像復号装置31が参照する符号化パラメータ群が含まれる。スライスタイプを指定するスライスタイプ指定情報(slice_type)は、スライスヘッダに含まれる符号化パラメータの一例である。 The slice header contains a group of coding parameters referred to by the moving image decoding device 31 to determine the decoding method of the target slice. The slice type specification information (slice_type) that specifies the slice type is an example of the coding parameter included in the slice header.

スライスタイプ指定情報により指定可能なスライスタイプとしては、(1)符号化の際にイントラ予測のみを用いるIスライス、(2)符号化の際に単方向予測、又は、イントラ予測を用いるPスライス、(3)符号化の際に単方向予測、双方向予測、又は、イントラ予測を用いるBスライス等が挙げられる。なお、インター予測は、単予測、双予測に限定されず、より多くの参照ピクチャを用いて予測画像を生成してもよい。以下、P、Bスライスと呼ぶ場合には、インター予測を用いることができるブロックを含むスライスを指す。 The slice types that can be specified by the slice type specification information include (1) I slices that use only intra-prediction during coding, and (2) P-slices that use unidirectional prediction or intra-prediction during coding. (3) B-slices that use unidirectional prediction, bidirectional prediction, or intra prediction at the time of coding can be mentioned. Note that the inter-prediction is not limited to single prediction and bi-prediction, and a prediction image may be generated using more reference pictures. Hereinafter, when referred to as P and B slices, they refer to slices containing blocks for which inter-prediction can be used.

なお、スライスヘッダは、ピクチャパラメータセットPPSへの参照(pic_parameter_set_id)を含んでいてもよい。 The slice header may include a reference (pic_parameter_set_id) to the picture parameter set PPS.

(符号化スライスデータ)
符号化スライスデータでは、処理対象のスライスデータを復号するために動画像復号装置31が参照するデータの集合が規定されている。スライスデータは、図4の符号化スライ
スヘッダに示すように、CTUを含んでいる。CTUは、スライスを構成する固定サイズ(例えば64x64)のブロックであり、最大符号化単位(LCU:Largest Coding Unit)と呼ぶこともある。
(Coded slice data)
The coded slice data defines a set of data referred to by the moving image decoding device 31 in order to decode the slice data to be processed. The slice data contains a CTU, as shown in the coded slice header of FIG. A CTU is a fixed-size (for example, 64x64) block that constitutes a slice, and is sometimes called a maximum coding unit (LCU).

(符号化ツリーユニット)
図4の符号化ツリーユニットには、処理対象のCTUを復号するために動画像復号装置31が参照するデータの集合が規定されている。CTUは、再帰的な4分木分割(QT(Quad Tree)
分割)、2分木分割(BT(Binary Tree)分割)あるいは3分木分割(TT(Ternary Tree)
分割)により符号化処理の基本的な単位である符号化ユニットCUに分割される。BT分割とTT分割を合わせてマルチツリー分割(MT(Multi Tree)分割)と呼ぶ。再帰的な4分木分
割により得られる木構造のノードのことを符号化ノード(Coding Node)と称する。4分木、2分木、及び3分木の中間ノードは、符号化ノードであり、CTU自身も最上位の符号化ノードとして規定される。
(Coded tree unit)
The coded tree unit of FIG. 4 defines a set of data referred to by the moving image decoding device 31 in order to decode the CTU to be processed. CTU is a recursive quadtree division (QT (Quad Tree))
Division), binary tree division (BT (Binary Tree) division) or ternary tree division (TT (Ternary Tree))
It is divided into the coding unit CU, which is the basic unit of the coding process. The BT division and the TT division are collectively called a multi-tree division (MT (Multi Tree) division). A tree-structured node obtained by recursive quadtree division is called a coding node. The intermediate nodes of quadtrees, binary trees, and ternary trees are coded nodes, and the CTU itself is also defined as the highest level coded node.

CTは、CT情報として、QT分割を行うか否かを示す分割フラグを含む。図5に分割の例を
示す。
The CT includes a division flag indicating whether or not to perform QT division as CT information. Figure 5 shows an example of division.

CUは符号化ノードの末端ノードであり、これ以上分割されない。CUは、符号化処理の基本的な単位となる。 The CU is the terminal node of the coding node and is not divided any further. The CU is the basic unit of coding processing.

(符号化ユニット)
図4の符号化ユニットに示すように、処理対象の符号化ユニットを復号するために動画
像復号装置31が参照するデータの集合が規定されている。具体的には、CUは、CUヘッダCUH、予測パラメータ、変換パラメータ、量子化変換係数等から構成される。CUヘッダでは予測モード等が規定される。
(Code-coding unit)
As shown in the coding unit of FIG. 4, a set of data referred to by the moving image decoding device 31 for decoding the coding unit to be processed is defined. Specifically, the CU is composed of a CU header CUH, a prediction parameter, a conversion parameter, a quantization conversion coefficient, and the like. The CU header defines the prediction mode and so on.

予測処理は、CU単位で行われる場合と、CUをさらに分割したサブCU単位で行われる場合
がある。CUとサブCUのサイズが等しい場合には、CU中のサブCUは1つである。CUがサブCU
のサイズよりも大きい場合、CUは、サブCUに分割される。例えばCUが8x8、サブCUが4x4の場合、CUは水平2分割、垂直2分割からなる、4つのサブCUに分割される。
The prediction process may be performed in CU units or in sub-CU units that are further divided CUs. If the size of the CU and the sub CU are equal, there is only one sub CU in the CU. CU is a sub CU
If it is larger than the size of, the CU is divided into sub-CUs. For example, if the CU is 8x8 and the sub CU is 4x4, the CU is divided into 4 sub CUs consisting of 2 horizontal divisions and 2 vertical divisions.

予測の種類(予測モードCuPredMode)は、イントラ予測(MODE_INTRA)と、インター予測(MODE_INTER)の2つを少なくとも備える。さらにイントラブロツクコピー予測(MODE_IBC)
を備えても良い。イントラ予測、イントラブロツクコピー予測は、同一ピクチャ内の予測であり、インター予測は、互いに異なるピクチャ間(例えば、表示時刻間、レイヤ画像間)で行われる予測処理を指す。
There are at least two types of prediction (prediction mode CuPredMode): intra prediction (MODE_INTRA) and inter prediction (MODE_INTER). Intrablock copy prediction (MODE_IBC)
May be provided. Intra-prediction and intra-block copy prediction are predictions within the same picture, and inter-prediction refers to prediction processing performed between different pictures (for example, between display times and between layer images).

変換・量子化処理はCU単位で行われるが、量子化変換係数は4x4等のサブブロック単位
でエントロピー符号化してもよい。
The conversion / quantization process is performed in CU units, but the quantization conversion coefficient may be entropy-coded in subblock units such as 4x4.

予測画像は、ブロックに付随する予測パラメータによって導出される。 The prediction image is derived by the prediction parameters associated with the block.

(動画像復号装置の構成)
本実施形態に係る動画像復号装置31(図6)の構成について説明する。
(Configuration of moving image decoding device)
The configuration of the moving image decoding device 31 (FIG. 6) according to the present embodiment will be described.

動画像復号装置31は、エントロピー復号部301、パラメータ復号部(予測画像復号装置
)302、ループフィルタ305、参照ピクチャメモリ306、予測パラメータメモリ307、予測画像生成部(予測画像生成装置)308、逆量子化・逆変換部311、及び加算部312を含んで構
成される。なお、後述の動画像符号化装置11に合わせ、動画像復号装置31にループフィルタ305が含まれない構成もある。
The moving image decoding device 31 includes an entropy decoding unit 301, a parameter decoding unit (predicted image decoding device) 302, a loop filter 305, a reference picture memory 306, a predicted parameter memory 307, a predicted image generator (predicted image generator) 308, and a reverse. It is composed of a quantization / inverse conversion unit 311 and an addition unit 312. In addition, there is also a configuration in which the loop filter 305 is not included in the moving image decoding device 31 in accordance with the moving image coding device 11 described later.

パラメータ復号部302は、さらに、ヘッダ復号部3020、CT情報復号部3021、及びCU復号
部3022(予測モード復号部)を備えており、CU復号部3022はTU復号部3024を備えている。これらを総称して復号モジュールと呼んでもよい。ヘッダ復号部3020は、符号化データからVPS、SPS、PPS、PH等のパラメータセット情報、スライスヘッダ(スライス情報)を復
号する。CT情報復号部3021は、符号化データからCTを復号する。CU復号部3022は符号化データからCUを復号する。TU復号部3024は、符号化データからQP更新情報(量子化補正値)と量子化変換係数(residual_coding)を復号する。
The parameter decoding unit 302 further includes a header decoding unit 3020, a CT information decoding unit 3021, and a CU decoding unit 3022 (prediction mode decoding unit), and the CU decoding unit 3022 includes a TU decoding unit 3024. These may be generically called a decoding module. The header decoding unit 3020 decodes the parameter set information such as VPS, SPS, PPS, and PH, and the slice header (slice information) from the encoded data. The CT information decoding unit 3021 decodes the CT from the coded data. The CU decoding unit 3022 decodes the CU from the coded data. The TU decoding unit 3024 decodes the QP update information (quantization correction value) and the quantization conversion coefficient (residual_coding) from the encoded data.

TU復号部3024は、TUに予測誤差が含まれている場合に、符号化データからQP更新情報と量子化変換係数を復号する。変換を用いる通常の予測誤差の導出(RRC:Regular Residual Coding)と、変換を用いない変換スキップモードでの予測誤差の導出(TSRC:Transform Skip Residual Coding)とで、異なる処理を実施する。QP更新情報は、量子化パラメータQPの予測値である量子化パラメータ予測値qPpredからの差分値である。 The TU decoding unit 3024 decodes the QP update information and the quantization conversion coefficient from the coded data when the TU contains a prediction error. Different processes are performed for the derivation of the normal prediction error using transformation (RRC: Regular Residual Coding) and the derivation of the prediction error in the transformation skip mode without transformation (TSRC: Transform Skip Residual Coding). The QP update information is a difference value from the quantization parameter prediction value qPpred, which is the prediction value of the quantization parameter QP.

また、以降では処理の単位としてCTU、CUを使用した例を記載するが、この例に限らず
、サブCU単位で処理をしてもよい。あるいはCTU、CUをブロック、サブCUをサブブロック
と読み替え、ブロックあるいはサブブロック単位の処理としてもよい。
In the following, an example in which CTU and CU are used as the processing unit will be described, but the processing is not limited to this example, and processing may be performed in sub-CU units. Alternatively, CTU and CU may be read as blocks, sub-CUs may be read as sub-blocks, and processing may be performed in units of blocks or sub-blocks.

エントロピー復号部301は、外部から入力された符号化ストリームTeに対してエントロ
ピー復号を行って、個々の符号(シンタックス要素)をパースする。エントロピー符号化には、シンタックス要素の種類や周囲の状況に応じて適応的に選択したコンテキスト(確率モデル)を用いてシンタックス要素を可変長符号化する方式と、予め定められた表、あるいは計算式を用いてシンタックス要素を可変長符号化する方式がある。前者の例としてCABAC(Context Adaptive Binary Arithmetic Coding)が挙げられる。パースされた符号には、予測画像を生成するための予測情報及び、差分画像を生成するための予測誤差等がある。
The entropy decoding unit 301 performs entropy decoding on the coded stream Te input from the outside, and parses each code (syntax element). For entropy coding, a method of variable-length coding of syntax elements using a context (probability model) adaptively selected according to the type of syntax element and the surrounding situation, a predetermined table, or There is a method of variable-length coding the syntax element using a calculation formula. CABAC (Context Adaptive Binary Arithmetic Coding) is an example of the former. The parsed code includes prediction information for generating a prediction image, prediction error for generating a difference image, and the like.

エントロピー復号部301は、パースした符号をパラメータ復号部302に出力する。パースした符号とは、例えば、予測モードCuPredModeである。どの符号をパースするかの制御は、パラメータ復号部302の指示に基づいて行われる。 The entropy decoding unit 301 outputs the parsed code to the parameter decoding unit 302. The parsed code is, for example, the prediction mode CuPredMode. The control of which code is parsed is performed based on the instruction of the parameter decoding unit 302.

(基本フロー)
図7は動画像復号装置31の概略的動作を説明するフローチャートである。
(Basic flow)
FIG. 7 is a flowchart illustrating the schematic operation of the moving image decoding device 31.

(S1100:パラメータセット情報復号)ヘッダ復号部3020は、符号化データからVPS、SPS、PPS等のパラメータセット情報を復号する。 (S1100: Decoding parameter set information) The header decoding unit 3020 decodes parameter set information such as VPS, SPS, and PPS from the encoded data.

(S1200:スライス情報復号)ヘッダ復号部3020は、符号化データからスライスヘッダ
(スライス情報)を復号する。
(S1200: Decoding of slice information) The header decoding unit 3020 decodes the slice header (slice information) from the coded data.

以下、動画像復号装置31は、対象ピクチャに含まれる各CTUについて、S1300からS5000
の処理を繰り返すことにより各CTUの復号画像を導出する。
Hereinafter, the moving image decoding device 31 sets S1300 to S5000 for each CTU included in the target picture.
The decoded image of each CTU is derived by repeating the process of.

(S1300:CTU情報復号)CT情報復号部3021は、符号化データからCTUを復号する。 (S1300: CTU information decoding) The CT information decoding unit 3021 decodes the CTU from the encoded data.

(S1400:CT情報復号)CT情報復号部3021は、符号化データからCTを復号する。 (S1400: CT information decoding) The CT information decoding unit 3021 decodes the CT from the encoded data.

(S1500:CU復号)CU復号部3022はS1510、S1520を実施して、符号化データからCUを復
号する。
(S1500: CU decoding) The CU decoding unit 3022 executes S1510 and S1520 to decode the CU from the coded data.

(S1510:CU情報復号)CU復号部3022は、符号化データからCU情報、予測情報、TU分割
フラグsplit_transform_flag、CU残差フラグcbf_cb、cbf_cr、cbf_luma等を復号する。
(S1510: CU information decoding) The CU decoding unit 3022 decodes CU information, prediction information, TU division flag split_transform_flag, CU residual flag cbf_cb, cbf_cr, cbf_luma, etc. from the encoded data.

(S1520:TU情報復号)TU復号部3024は、TUに予測誤差が含まれている場合に、符号化
データからQP更新情報と量子化変換係数を復号する。
(S1520: TU information decoding) The TU decoding unit 3024 decodes the QP update information and the quantization conversion coefficient from the coded data when the TU contains a prediction error.

(S2000:予測画像生成)予測画像生成部308は、対象CUに含まれる各ブロックについて、予測情報に基づいて予測画像を生成する。 (S2000: Prediction image generation) The prediction image generation unit 308 generates a prediction image based on the prediction information for each block included in the target CU.

(S3000:逆量子化・逆変換)逆量子化・逆変換部311は、対象CUに含まれる各TUについて、逆量子化・逆変換処理を実行する。 (S3000: Inverse quantization / inverse transformation) The inverse quantization / inverse transformation unit 311 executes the inverse quantization / inverse transformation processing for each TU included in the target CU.

(S4000:復号画像生成)加算部312は、予測画像生成部308より供給される予測画像と
、逆量子化・逆変換部311より供給される予測誤差とを加算することによって、対象CUの
復号画像を生成する。
(S4000: Decoded image generation) The addition unit 312 decodes the target CU by adding the prediction image supplied by the prediction image generation unit 308 and the prediction error supplied by the inverse quantization / inverse conversion unit 311. Generate an image.

(S5000:ループフィルタ)ループフィルタ305は、復号画像にデブロッキングフィルタ、SAO(Sample Adaptive Filter)、ALF(AdaptiveLoopFilter)等のループフィルタをかけ、復号画像を生成する。
(SPSのロスレス制御フラグ)
本発明では、SPSで符号化データがロスレスモードか否かを示すロスレスフラグ(第1
のフラグ)が通知される。ロスレスモードを示す符号化データから復号される画像は、ロスレス、つまり、原画を完全に再現することを意味する。また、ロスレスモードとは、量子化処理、変換処理、および、ループフィルタ処理(第1の処理)が実施されないモードである。ロスレスモードでは、さらに所定の予測処理の一部(第2の処理)を利用不可にしてもよい。
(S5000: Loop filter) The loop filter 305 applies a loop filter such as a deblocking filter, SAO (Sample Adaptive Filter), and ALF (Adaptive Loop Filter) to the decoded image to generate a decoded image.
(SPS lossless control flag)
In the present invention, a lossless flag (first) indicating whether or not the coded data in SPS is in lossless mode.
Flag) is notified. The image decoded from the coded data indicating the lossless mode is lossless, that is, it means that the original image is completely reproduced. The lossless mode is a mode in which the quantization process, the conversion process, and the loop filter process (first process) are not performed. In the lossless mode, a part of the predetermined prediction process (second process) may be further disabled.

ロスレスフラグがロスレスモードであることを示す場合(sps_lossless_mode_enabled_flag==1)、画像復号装置のヘッダ復号部3020は、ループフィルタと変換、量子化の利用可
能性を示すフラグ(第1の処理に含まれるツールの利用可能性を示す第2のフラグ)を復号せず、予め定められた値をセットする。上記以外(ロスレスフラグがロスレスモードであることを示さない場合(sps_lossless_mode_enabled_flag==0))、ヘッダ復号部3020は
、上記第2のフラグを復号してもよい。
When the lossless flag indicates that it is in lossless mode (sps_lossless_mode_enabled_flag == 1), the header decoding unit 3020 of the image decoding device includes a loop filter and a flag indicating the availability of conversion and quantization (included in the first process). The second flag indicating the availability of the tool) is not decoded, but a predetermined value is set. Other than the above (when the lossless flag does not indicate that it is in the lossless mode (sps_lossless_mode_enabled_flag == 0)), the header decoding unit 3020 may decode the second flag.

動画像符号化装置のヘッダ符号化部1110は、ロスレスフラグがロスレスモードであることを示す場合、上記第2のフラグを符号化しない。それ以外の場合、ヘッダ復号部3020は、ループフィルタ、変換、量子化を利用しないことを示す予め定められた値を第2のフラグに設定する。 The header coding unit 1110 of the moving image coding device does not encode the second flag when indicating that the lossless flag is in the lossless mode. Otherwise, the header decoding unit 3020 sets a predetermined value in the second flag indicating that the loop filter, transformation, and quantization are not used.

さらに、ロスレスフラグがロスレスモードであることを示す場合、所定の予測処理の利用可能性を示すフラグ(第2の処理に含まれるツールの利用可能性を示す第4のフラグ)は通知されず、画像復号装置のヘッダ復号部3020は予め定められた値をセットする。上記以外(ロスレスフラグがロスレスモードであることを示さない場合)、ヘッダ復号部3020は第4のフラグを復号してもよい。 Further, when the lossless flag indicates that the lossless mode is set, the flag indicating the availability of the predetermined prediction process (the fourth flag indicating the availability of the tool included in the second process) is not notified. The header decoding unit 3020 of the image decoding device sets a predetermined value. Other than the above (when the lossless flag does not indicate that the lossless mode is set), the header decoding unit 3020 may decode the fourth flag.

動画像符号化装置のヘッダ符号化部1110は、ロスレスフラグがロスレスモードであることを示す場合、上記第2のフラグを符号化せずしない。それ以外の場合、ヘッダ符号化部1110は、ループフィルタと変換、量子化の利用可能性を利用しないことを示す値を第2の
フラグに設定する。
The header coding unit 1110 of the moving image coding device does not encode the second flag when indicating that the lossless flag is in the lossless mode. Otherwise, the header coding unit 1110 sets the second flag to a value indicating that it does not utilize the loop filter and the availability of transformation and quantization.

SPSの一例を図8a〜図8cに示す。sps_lossless_mode_enabled_flagはロスレスモードか
否かを示すロスレスフラグ(第1のフラグ)である。sps_lossless_mode_enabled_flag=1は、ロスレスモードであることを示す。sps_lossless_mode_enabled_flag=0は、ロスレスモードでないかもしれないことを示す。図では、sps_lossless_mode_enabled_flagが1の
場合、量子化とループフィルタ(第1の処理)にかかわる第2のフラグ(loop_filter_across_subpic_enabled_flag、sps_joint_cbcr_enabled_flag、same_qp_table_for_chroma
、sps_sao_enabled_flag、sps_alf_enabled_flag、sps_max_luma_transform_size_64_flag、sps_transform_skip_enabled_flag、log2_transform_skip_max_size_minus2、sps_mts_enabled_flag、sps_sbt_enabled_flag、sps_lmcs_enabled_flag、sps_lfnst_enabled_flag、sps_ladf_enabled_flag、sps_scaling_list_enabled_flag、sps_dep_quant_enabled_flag)、および、所定の予測処理(第2の処理)にかかわる第4のフラグ(sps_sbtmvp_enabled_flag、sps_bdof_enabled_flag、sps_smvd_enabled_flag、sps_dmvr_enabled_flag、sps_mmvd_enabled_flag、sps_isp_enabled_flag、sps_mrl_enabled_flag、sps_mip_enabled_flag、sps_affine_enabled_flag、sps_affine_prof_enabled_flag、sps_ciip_enabled_flag、sps_gpm_enabled_flag)は通知されない。一方、sps_lossless_mode_enabled_flagが0の場合、第2のフラグおよび第4のフラグは通知される。
An example of SPS is shown in FIGS. 8a to 8c. sps_lossless_mode_enabled_flag is a lossless flag (first flag) indicating whether or not the mode is lossless mode. sps_lossless_mode_enabled_flag = 1 indicates that it is in lossless mode. sps_lossless_mode_enabled_flag = 0 indicates that it may not be in lossless mode. In the figure, when sps_lossless_mode_enabled_flag is 1, the second flags related to quantization and loop filter (first process) (loop_filter_across_subpic_enabled_flag, sps_joint_cbcr_enabled_flag, same_qp_table_for_chroma)
, Sps_sao_enabled_flag, sps_alf_enabled_flag, sps_max_luma_transform_size_64_flag, sps_transform_skip_enabled_flag, log2_transform_skip_max_size_minus2, sps_mts_enabled_flag, sps_sbt_enabled_flag, sps_lmcs_enabled_flag, sps_lfnst_enabled_flag, sps_ladf_enabled_flag, sps_scaling_list_enabled_flag, sps_dep_quant_enabled_flag), and, fourth flag (Sps_sbtmvp_enabled_flag according to predetermined prediction processing (second processing), sps_bdof_enabled_flag, sps_smvd_enabled_flag , Sps_dmvr_enabled_flag, sps_mmvd_enabled_flag, sps_isp_enabled_flag, sps_mrl_enabled_flag, sps_mip_enabled_flag, sps_affine_enabled_flag, sps_affine_prof_enabled_flag, sps_ciip_enabled_flag, sps_gpm_enabled_flag) On the other hand, when sps_lossless_mode_enabled_flag is 0, the second flag and the fourth flag are notified.

より具体的にはsps_lossless_mode_enabled_flag=1の場合、ループフィルタの利用可能性を示す以下のフラグを符号化、復号せずに0に設定してもよい。
loop_filter_across_subpic_enabled_flag
sps_sao_enabled_flag
sps_alf_enabled_flag
sps_ladf_enabled_flag
また、sps_lossless_mode_enabled_flag=1の場合、ジョイント色差残差予測の利用可能性を示す以下のフラグを符号化、復号せずに0に設定してもよい。
sps_joint_cbcr_enabled_flag
また、sps_lossless_mode_enabled_flag=1の場合、変換の利用可能性を示す以下のフラグを符号化、復号せずに0に設定してもよい。
sps_mts_enabled_flag
sps_sbt_enabled_flag
sps_lfnst_enabled_flag
また、sps_lossless_mode_enabled_flag=1の場合、量子化マトリックス、LMCSの利用可能性を示す以下のフラグを符号化、復号せずに0に設定してもよい。
sps_scaling_list_enabled_flag
sps_lmcs_enabled_flag
また、sps_lossless_mode_enabled_flag=1の場合、量子化の利用可能性を示す以下のフラグを符号化、復号せずに0に設定してもよい。
sps_dep_quant_enabled_flag
上記により、ロスレスを実現するのに障害となる処理を全てオフとすることができる効果がある。
More specifically, when sps_lossless_mode_enabled_flag = 1, the following flags indicating the availability of the loop filter may be set to 0 without encoding or decoding.
loop_filter_across_subpic_enabled_flag
sps_sao_enabled_flag
sps_alf_enabled_flag
sps_ladf_enabled_flag
Further, when sps_lossless_mode_enabled_flag = 1, the following flags indicating the availability of joint color difference residual prediction may be set to 0 without encoding or decoding.
sps_joint_cbcr_enabled_flag
Further, when sps_lossless_mode_enabled_flag = 1, the following flags indicating the availability of conversion may be set to 0 without encoding or decoding.
sps_mts_enabled_flag
sps_sbt_enabled_flag
sps_lfnst_enabled_flag
Further, when sps_lossless_mode_enabled_flag = 1, the following flags indicating the availability of the quantization matrix and LMCS may be set to 0 without encoding or decoding.
sps_scaling_list_enabled_flag
sps_lmcs_enabled_flag
Further, when sps_lossless_mode_enabled_flag = 1, the following flags indicating the availability of quantization may be set to 0 without encoding or decoding.
sps_dep_quant_enabled_flag
From the above, there is an effect that all the processes that hinder the realization of losslessness can be turned off.

さらに、sps_lossless_mode_enabled_flag=1の場合、変換スキップの利用可能性を示す以下のフラグを符号化、復号せずに利用可能であることを示す値(1)に設定してもよい

sps_transform_skip_enabled_flag
さらに、sps_lossless_mode_enabled_flag=1の場合、最大TUサイズを示す以下のフラグ(シンタックス要素)を符号化、復号せずに、変換スキップが利用可能な最大TUサイズとなるように0に設定してもよい。
sps_max_luma_transform_size_64_flag
さらに、sps_lossless_mode_enabled_flag=1の場合、変換スキップのサイズを示す以下のフラグ(シンタックス要素)を符号化、復号せずに、最大サイズを示す3に設定しても
よい。
log2_transform_skip_max_size_minus2
上記により、ロスレスの実現に必要な変換スキップを有効とし、すべての変換ユニット(TU)で変換スキップが利用できるように、TUサイズと変換スキップサイズを設定することができる効果がある。
Further, when sps_lossless_mode_enabled_flag = 1, the following flag indicating the availability of conversion skip may be set to the value (1) indicating that it can be used without encoding or decoding.
sps_transform_skip_enabled_flag
Furthermore, when sps_lossless_mode_enabled_flag = 1, the following flags (syntax elements) indicating the maximum TU size may be set to 0 so that the conversion skip becomes the maximum available TU size without encoding or decoding. ..
sps_max_luma_transform_size_64_flag
Further, when sps_lossless_mode_enabled_flag = 1, the following flag (syntax element) indicating the size of conversion skip may be set to 3 indicating the maximum size without encoding or decoding.
log2_transform_skip_max_size_minus2
From the above, there is an effect that the conversion skip required for the realization of losslessness is enabled, and the TU size and the conversion skip size can be set so that the conversion skip can be used in all conversion units (TUs).

また、sps_lossless_mode_enabled_flag=1の場合、ジョイント色差残差予測の利用可能性を示す以下のフラグを符号化、復号せずに1に設定してもよい。
same_qp_table_for_chroma
(第1の処理と第2のフラグの説明)
第1の処理は、ループフィルタ、量子化、変換の処理であり、第2のフラグは、第1の処理の利用可能性にかかわる。ループフィルタ処理は、デブロッキングフィルタ処理(DBF, DF)、サンプル適応オフセット処理(SAO)、適応ループフィルタ処理(ALF)、バイラテラルフィルタなどであってもよい。量子化処理は、変換係数の量子化、変換を行わず残差係数のスケーリングのみを行う処理(変換スキップ)であってもよい。量子化変換係数の予測復号処理(ジョイント符号化)であってもよい。量子化パラメータを変更する処理(色差量子化マッピングテーブルの処理)であってもよい。
Further, when sps_lossless_mode_enabled_flag = 1, the following flags indicating the availability of joint color difference residual prediction may be set to 1 without encoding or decoding.
same_qp_table_for_chroma
(Explanation of the first process and the second flag)
The first process is a loop filter, quantization, and transformation process, and the second flag relates to the availability of the first process. The loop filtering may be deblocking filtering (DBF, DF), sample adaptive offset processing (SAO), adaptive loop filtering (ALF), bilateral filter, or the like. The quantization process may be a process (conversion skip) in which the conversion coefficient is not quantized and the conversion is not performed and only the residual coefficient is scaled. It may be a predictive decoding process (joint coding) of the quantization conversion coefficient. It may be a process of changing the quantization parameter (process of the color difference quantization mapping table).

あるいは、変換処理の利用可能性に関わるフラグであってもよい。例えば、変換を追加で行うセカンダリ変換LFNSTであってもよい。複数の変換基底を切り替えて変換する処理(MTS)であってもよい。インター予測において、TUを2つのサブブロックに分割し、片方のサブブロックのみを変換する処理(SBT)であってもよい。 Alternatively, it may be a flag related to the availability of conversion processing. For example, it may be a secondary conversion LFNST that additionally performs conversion. It may be a process (MTS) of switching and converting a plurality of conversion bases. In the inter-prediction, the TU may be divided into two sub-blocks and only one sub-block may be converted (SBT).

第2のフラグは、下記のループフィルタ、量子化、変換、変換スキップのフラグや変換サイズのシンタックス要素であってもよい。sps_lossless_mode_enabled_flag=1の場合、
第2のフラグは符号化データに存在しなくてもよい。各々のフラグ(シンタックス要素)が存在しない場合には予め定められた値を設定する。第2のフラグの各々の意味と、これらが通知されない場合にセットされる予め定められた値について以下に記す。
The second flag may be the following loop filter, quantization, conversion, conversion skip flag, or conversion size syntax element. If sps_lossless_mode_enabled_flag = 1,
The second flag does not have to be present in the coded data. If each flag (syntax element) does not exist, a predetermined value is set. The meaning of each of the second flags and the predetermined values set when they are not notified are described below.

(ループフィルタのフラグ)
loop_filter_across_subpic_enabled_flag[i]=1は、このCLVS(coded layer video sequence)内の各ピクチャでは、i番目のサブピクチャの境界を横切ってループフィルタ処理が実施されることを示す。loop_filter_across_subpic_enabled_flag[i]=0は、このCLVS内
の各ピクチャでは、i番目のサブピクチャの境界を横切ってループフィルタ処理が実施さ
れないことを示す。sps_lossless_mode_enabled_flag=1の場合など、上記フラグが存在しない場合、loop_filter_across_subpic_enabled_pic_flag[i]の値は1-sps_independent_subpics_flagにセットされる。また、上記フラグが存在しない場合、sps_lossless_mode_enabled_flag=1であれば、loop_filter_across_subpic_enabled_pic_flag[i]に0を設定し
、そうでなければ(sps_lossless_mode_enabled_flag=0)、1-sps_independent_subpics_flagを設定してもよい。
(Loop filter flag)
loop_filter_across_subpic_enabled_flag [i] = 1 indicates that each picture in this CLVS (coded layer video sequence) is subjected to loop filtering across the boundary of the i-th sub-picture. loop_filter_across_subpic_enabled_flag [i] = 0 indicates that each picture in this CLVS is not loop filtered across the boundary of the i-th sub-picture. If the above flag does not exist, such as when sps_lossless_mode_enabled_flag = 1, the value of loop_filter_across_subpic_enabled_pic_flag [i] is set to 1-sps_independent_subpics_flag. If the above flag does not exist, loop_filter_across_subpic_enabled_pic_flag [i] may be set to 0 if sps_lossless_mode_enabled_flag = 1, otherwise (sps_lossless_mode_enabled_flag = 0), 1-sps_independent_subpics_flag may be set.

なお、CLVSは、同じ値のnuh_layer_idをもつ予測ブロックのシーケンスである。このシーケンスは、復号順で、IRAPピクチャのPUから始まりIRAPまたは非IRAPのPUが後に続く。 CLVS is a sequence of prediction blocks having the same value of nuh_layer_id. This sequence begins with the PU of the IRAP picture and is followed by the PU of the IRAP or non-IRAP in the decoding order.

sps_sao_enabled_flag=1は、SAO処理がデブロッキングフィルタ処理後の再生ピクチャ
に適用されることを示す。sps_sao_enabled_flag=0は、SAO処理がデブロッキングフィル
タ処理後の再生ピクチャに適用されないことを示す。存在しない場合、sps_sao_enabled_flagは0にセットされる。
sps_sao_enabled_flag = 1 indicates that SAO processing is applied to the reproduced picture after deblocking filtering. sps_sao_enabled_flag = 0 indicates that SAO processing is not applied to the replayed picture after deblocking filtering. If it does not exist, sps_sao_enabled_flag is set to 0.

sps_alf_enabled_flag=0は、ALFが利用不可であることを示す。sps_alf_enabled_flag=1は、ALFが利用可能であることを示す。sps_lossless_mode_enabled_flag=1の場合には、このフラグは符号化データに存在しなくてもよく、0にセットされる。 sps_alf_enabled_flag = 0 indicates that ALF is not available. sps_alf_enabled_flag = 1 indicates that ALF is available. If sps_lossless_mode_enabled_flag = 1, this flag does not have to be present in the coded data and is set to 0.

(量子化のフラグ)
sps_joint_cbcr_enabled_flag=0は、色差の予測誤差のジョイント符号化が利用不可で
あることを示す。sps_joint_cbcr_enabled_flag=1は、色差の予測誤差のジョイント符号
化が利用可能であることを示す。存在しない場合、sps_joint_cbcr_enabled_flagの値は0にセットされる。
(Quantization flag)
sps_joint_cbcr_enabled_flag = 0 indicates that the joint coding of the color difference prediction error is not available. sps_joint_cbcr_enabled_flag = 1 indicates that joint coding of color difference prediction errors is available. If it does not exist, the value of sps_joint_cbcr_enabled_flag is set to 0.

なお、色差の予測誤差のジョイント符号化は、2つの色差成分の予測誤差を1つの絶対値と符号として符号化あるいは復号する処理である。符号化された1つの絶対値と符号(
±)から、CbおよびCrの予測誤差を各々算出する。
The joint coding of the color difference prediction error is a process of coding or decoding the prediction errors of the two color difference components as one absolute value and a code. One encoded absolute value and sign (
From ±), calculate the prediction errors for Cb and Cr, respectively.

same_qp_table_for_chroma=1は、1つの色差量子化マッピングテーブルが通知され、CbおよびCrの予測誤差、さらに、sps_joint_cbcr_enabled_flag=1ならばCbとCrのジョイン
ト符号化の予測誤差にも適用されることを示す。
The same_qp_table_for_chroma = 1 indicates that one color difference quantization mapping table is notified and is applied to the prediction error of Cb and Cr, and further, if sps_joint_cbcr_enabled_flag = 1, it is applied to the prediction error of the joint coding of Cb and Cr.

same_qp_table_for_chroma=0は、Cb、Cr用に2つの量子化マッピングテーブル、sps_joint_cbcr_enabled_flag=1ならばCbとCrのジョイント符号化用にさらに1つの量子化マッピングテーブルが通知されることを示す。存在しない場合、same_qp_table_for_chromaの値は1にセットされる。 same_qp_table_for_chroma = 0 indicates that two quantization mapping tables are notified for Cb and Cr, and if sps_joint_cbcr_enabled_flag = 1, one more quantization mapping table is notified for joint coding of Cb and Cr. If it does not exist, the value of same_qp_table_for_chroma is set to 1.

sps_lmcs_enabled_flag=1は、このCLVSでLMCS(luma mapping with chroma scaling)
が使われることを示す。sps_lmcs_enabled_flag=0は、このCLVSでLMCSが使われないこと
を示す。存在しない場合、sps_lmcs_enabled_flagは0にセットされる。
sps_lmcs_enabled_flag = 1 is LMCS (luma mapping with chroma scaling) in this CLVS
Indicates that is used. sps_lmcs_enabled_flag = 0 indicates that LMCS is not used in this CLVS. If it does not exist, sps_lmcs_enabled_flag is set to 0.

なお、LMCSは、輝度成分ベースの線形モデルを導出し、参照画像の画素値のヒストグラムを変更するループフィルタ処理であって、輝度値をベースに色差の予測誤差をスケーリングする量子化処理でもある。 LMCS is a loop filter process that derives a linear model based on the luminance component and changes the histogram of the pixel values of the reference image, and is also a quantization process that scales the prediction error of the color difference based on the luminance value.

sps_ladf_enabled_flag=1は、LADFのシンタックス要素がこのSPSに存在することを示す。sps_ladf_enabled_flag=0は、LADFのシンタックス要素がこのSPSに存在しないことを示す。存在しない場合、sps_ladf_enabled_flagは0にセットされる。 sps_ladf_enabled_flag = 1 indicates that the LADF syntax element is present in this SPS. sps_ladf_enabled_flag = 0 indicates that the LADF syntax element does not exist in this SPS. If it does not exist, sps_ladf_enabled_flag is set to 0.

なお、LADFはデブロッキングフィルタで使用する輝度の量子化値を補正する処理である。 LADF is a process for correcting the quantization value of the luminance used in the deblocking filter.

sps_scaling_list_enabled_flag=1は、変換係数の(逆)量子化(スケーリング)処理に
スケーリングリストが使われることを示す。sps_scaling_list_enabled_flag=0は、変換
係数の量子化処理にスケーリングリストが使われないことを示す。存在しない場合、sps_scaling_list_enabled_flagは0にセットされる。
sps_scaling_list_enabled_flag = 1 indicates that the scaling list is used for the (inverse) quantization process of the conversion factors. sps_scaling_list_enabled_flag = 0 indicates that the scaling list is not used for the conversion coefficient quantization process. If it does not exist, sps_scaling_list_enabled_flag is set to 0.

sps_dep_quant_enabled_fla=0は、このSPSを参照するピクチャにおいて、依存量子化が利用不可であることを示す。sps_dep_quant_enabled_fla=1は、このSPSを参照するピクチャにおいて、依存量子化が利用可能かもしれないことを示す。存在しない場合、sps_dep_quant_enabled_flagは0にセットされる。 sps_dep_quant_enabled_fla = 0 indicates that dependent quantization is not available in the pictures that reference this SPS. sps_dep_quant_enabled_fla = 1 indicates that dependent quantization may be available in pictures that reference this SPS. If it does not exist, sps_dep_quant_enabled_flag is set to 0.

なお、依存量子化は、異なるレベルを持つ2つの量子化器を切り替えて量子化、逆量子化する処理である。 The dependent quantization is a process of switching between two quantizers having different levels to quantize and dequantize.

(変換のフラグ)
sps_mts_enabled_flag=1は、sps_explicit_mts_intra_enabled_flagとsps_explicit_mts_inter_enabled_flagがSPSに存在することを示す。sps_mts_enabled_flag=0は、sps_explicit_mts_intra_enabled_flagとsps_explicit_mts_inter_enabled_flagがSPSに存在しないことを示す。存在しない場合、sps_mts_enabled_flagは0にセットされる。
(Conversion flag)
sps_mts_enabled_flag = 1 indicates that sps_explicit_mts_intra_enabled_flag and sps_explicit_mts_inter_enabled_flag are present in the SPS. sps_mts_enabled_flag = 0 indicates that sps_explicit_mts_intra_enabled_flag and sps_explicit_mts_inter_enabled_flag do not exist in SPS. If it does not exist, sps_mts_enabled_flag is set to 0.

なお、MTS(Multiple transform selection)は複数の変換基底を切り替えて変換する
処理である。
Note that MTS (Multiple transform selection) is a process of switching and transforming a plurality of transformation bases.

sps_lfnst_enabled_flag=1は、lfnst_idxがイントラ予測のCUに存在するかもしれない
ことを示す。sps_lfnst_enabled_flag=0は、lfnst_idxがイントラ予測のCUに存在しない
ことを示す。存在しない場合、sps_lfnst_enabled_flagは0にセットされる。
sps_lfnst_enabled_flag = 1 indicates that lfnst_idx may be present in the intra-prediction CU. sps_lfnst_enabled_flag = 0 indicates that lfnst_idx does not exist in the intra-prediction CU. If it does not exist, sps_lfnst_enabled_flag is set to 0.

なお、LFNSTは非分離型の直交変換を適用する処理である。 LFNST is a process that applies a non-separable orthogonal transformation.

sps_sbt_enabled_flag=0は、SBT(subblock transform for inter-predicted CUs)が
利用不可であることを示す。sps_sbt_enabled_flag=1は、SBTが利用可能であることを示
す。存在しない場合、sps_sbt_enabled_flagは0にセットされる。
sps_sbt_enabled_flag = 0 indicates that SBT (subblock transform for inter-predicted CUs) is not available. sps_sbt_enabled_flag = 1 indicates that SBT is available. If it does not exist, sps_sbt_enabled_flag is set to 0.

なお、SBTは、インター予測において、TUを2つのサブブロックに分割し、片方のサブ
ブロックのみを変換する処理である。
Note that SBT is a process of dividing the TU into two sub-blocks and converting only one of the sub-blocks in the inter-prediction.

(変換スキップのフラグ)
sps_transform_skip_enabled_flag=1は、transform_skip_flagがTUのシンタックスに含まれているかもしれないことを示す。sps_transform_skip_enabled_flag=0は、transform
_skip_flagがTUのシンタックスに含まれてないことを示す。存在しない場合、sps_transform_skip_enabled_flagは1にセットされる。
(Conversion skip flag)
sps_transform_skip_enabled_flag = 1 indicates that transform_skip_flag may be included in the TU syntax. sps_transform_skip_enabled_flag = 0 means transform
Indicates that _skip_flag is not included in the TU syntax. If it does not exist, sps_transform_skip_enabled_flag is set to 1.

(変換サイズのフラグ)
sps_max_luma_transform_size_64_flag=1は、変換処理において、輝度画素の最大TUサイズは64であることを示す。sps_max_luma_transform_size_64_flag=0は、変換処理に
おいて、輝度サンプルの最大TUサイズは32であることを示す。具体的に、輝度画素の最大変換ブロックサイズの対数値は以下の式により導出される。
MaxTbLog2SizeY = sps_max_luma_transform_size_64_flag ? 6 : 5
log2_transform_skip_max_size_minus2は、sps_transform_skip_enabled_flag=1の時、Transform Skip(TS)処理の最大ブロックサイズの対数値マイナス2を示す。具体的に、TS処理の最大ブロックサイズは以下の式により導出される。
MaxTsSize = 1 << (log2_transform_skip_max_size_minus2 + 2)
変換ブロックの最大サイズの値がTSブロックの最大サイズの値より大きい時、TS処理を適用できない変換ブロックが発生する。従って、SPSのロスレスフラグsps_lossless_mode_enabled_flagが1の場合、sps_max_luma_transform_size_64_flag=0、log2_transform_skip_max_size_minus2=3にする。以上により、ロスレス符号化する場合、変換ブロックとTSブロックの最大サイズはともに32であり、変換ブロックに対しTS処理を適用することができる。
(Conversion size flag)
sps_max_luma_transform_size_64_flag = 1 indicates that the maximum TU size of the luminance pixel is 64 in the conversion process. sps_max_luma_transform_size_64_flag = 0 indicates that the maximum TU size of the luminance sample is 32 in the transformation process. Specifically, the logarithmic value of the maximum conversion block size of the luminance pixel is derived by the following equation.
MaxTbLog2SizeY = sps_max_luma_transform_size_64_flag? 6: 5
log2_transform_skip_max_size_minus2 indicates the logarithmic minus 2 of the maximum block size of Transform Skip (TS) processing when sps_transform_skip_enabled_flag = 1. Specifically, the maximum block size of TS processing is derived by the following formula.
MaxTsSize = 1 << (log2_transform_skip_max_size_minus2 + 2)
When the value of the maximum size of the conversion block is larger than the value of the maximum size of the TS block, a conversion block to which TS processing cannot be applied occurs. Therefore, when the lossless flag sps_lossless_mode_enabled_flag of SPS is 1, sps_max_luma_transform_size_64_flag = 0 and log2_transform_skip_max_size_minus2 = 3 are set. From the above, in the case of lossless coding, the maximum size of both the conversion block and the TS block is 32, and the TS processing can be applied to the conversion block.

(第4のフラグと第2の処理の説明)
第4のフラグは、所定の予測処理にかかわる第2の処理の利用可能性にかかわる。第2の処理は、例えば以下であってもよい。サブブロックベースの時間方向の動きベクトル予測(SBTMVP)であってもよい。双予測において、L0およびL1の参照ピクチャインデックスとL1の差分動きベクトルを通知せず、導出する処理(SMVD)であってもよい。マージモードにおいて、動きベクトルをリファインメンとする処理(MMVD)であってもよい。2枚の動き補償画像から予測画像を導出する際に、勾配画像を利用して補正する処理(BDOF)であってもよい。双予測において、動きベクトルをリファインメントする処理(DMVR)であってもよい。予測ブロックを垂直あるいは水平方向のいずれかに、2または4分割した単位でイントラ予測する処理(ISP)であってもよい。隣接ブロックから複数ラインを参照してイントラ予測する処理(MRL)であってもよい。インター予測において、TUを2つのサブブロックに分割し、片方のサブブロックのみを変換する処理(SBT)であってもよい。マトリックスベースのイントラ予測(MIP)であってもよい。アフィンモデルベースの動き補償(affine)であってもよい。アフィンモデルベースの動き補償における、オプティカルフローによる予測のリファインメントであってもよい。イントラ予測画像とインター予測画像の重みづけにより予測画像を生成する処理(CIIP)であってもよい。矩形でない形状の動き補償画像(GPM)であってもよい。
(Explanation of the fourth flag and the second process)
The fourth flag relates to the availability of a second process relating to the predetermined prediction process. The second process may be, for example, as follows. It may be a subblock-based motion vector prediction (SBTMVP) in the time direction. In the bi-prediction, it may be a process (SMVD) of deriving the reference picture indexes of L0 and L1 and the differential motion vector of L1 without notifying them. In the merge mode, it may be a process (MMVD) in which the motion vector is refined. When deriving the predicted image from the two motion compensation images, it may be a process (BDOF) of correcting by using the gradient image. In bi-prediction, it may be a process of refining a motion vector (DMVR). Intra-prediction processing (ISP) may be performed in which the prediction block is divided into two or four in either the vertical or horizontal direction. It may be a process (MRL) of intra-predicting by referring to a plurality of lines from adjacent blocks. In the inter-prediction, the TU may be divided into two sub-blocks and only one sub-block may be converted (SBT). It may be a matrix-based intra-prediction (MIP). It may be an affine model-based motion compensation. It may be a refinement of the prediction by optical flow in the affine model-based motion compensation. It may be a process (CIIP) of generating a predicted image by weighting an intra-predicted image and an inter-predicted image. It may be a motion compensation image (GPM) having a non-rectangular shape.

sps_lossless_mode_enabled_flag=1の場合には第4のフラグ(シンタックス要素)は符号化データに存在しなくてよい。各々のフラグが存在しない場合には予め定められた値を設定する。第4のフラグの各々の意味と、これらが通知されない場合にセットされる予め定められた値について以下に記す。 When sps_lossless_mode_enabled_flag = 1, the fourth flag (syntax element) does not have to exist in the coded data. If each flag does not exist, a predetermined value is set. The meaning of each of the fourth flags and the predetermined values set when they are not notified are described below.

sps_sbtmvp_enabled_flag=1は、このCLVSにおいて、非イントラスライスを少なくとも
1つ含むピクチャの復号に、サブブロックベースの時間方向の動きベクトル予測が使用されるかもしれないことを示す。sps_sbtmvp_enabled_flag=0は、このCLVSにおいて、サブ
ブロックベースの時間方向の動きベクトル予測が使用されないことを示す。存在しない場合、sps_stmvp_enabled_flagは0にセットされる。存在しない場合、sps_sbtmvp_enabled_flagは0にセットされる。
sps_sbtmvp_enabled_flag = 1 indicates that in this CLVS, subblock-based temporal motion vector prediction may be used to decode pictures containing at least one non-intraslice. sps_sbtmvp_enabled_flag = 0 indicates that subblock-based temporal motion vector prediction is not used in this CLVS. If it does not exist, sps_stmvp_enabled_flag is set to 0. If it does not exist, sps_sbtmvp_enabled_flag is set to 0.

sps_bdof_enabled_flag=0は、BDOF(bi-directional optical flow inter prediction
)が利用不可であることを示す。sps_bdof_enabled_flag=1は、BDOFが利用可能であるこ
とを示す。存在しない場合、sps_bdof_enabled_flagは0にセットされる。
sps_bdof_enabled_flag = 0 means BDOF (bi-directional optical flow inter prediction)
) Indicates that it is not available. sps_bdof_enabled_flag = 1 indicates that BDOF is available. If it does not exist, sps_bdof_enabled_flag is set to 0.

sps_smvd_enabled_flag=1は、SMVD(symmetric motion vector difference)が動きベ
クトルの復号に使用されることを示す。sps_smvd_enabled_flag=0は、SMVDが動きベクト
ルの復号に使用されないことを示す。存在しない場合、sps_smvd_enabled_flagは0にセットされる。
sps_smvd_enabled_flag = 1 indicates that SMVD (symmetric motion vector difference) is used to decode the motion vector. sps_smvd_enabled_flag = 0 indicates that SMVD is not used to decode motion vectors. If it does not exist, sps_smvd_enabled_flag is set to 0.

sps_dmvr_enabled_flag=1は、DMVR(decoder motion vector refinement based inter bi-prediction)が利用可能であることを示す。sps_dmvr_enabled_flag=0は、DMVRが利用不可であることを示す。存在しない場合、sps_dmvr_enabled_flagは0にセットされる。 sps_dmvr_enabled_flag = 1 indicates that DMVR (decoder motion vector refinement based inter bi-prediction) is available. sps_dmvr_enabled_flag = 0 indicates that DMVR is not available. If it does not exist, sps_dmvr_enabled_flag is set to 0.

sps_mmvd_enabled_flag=1は、MMVD(merge mode with motion vector difference)が
利用可能であることを示す。sps_mmvd_enabled_flag=0は、MMVDが利用不可であることを
示す。存在しない場合、sps_mmvd_enabled_flagは0にセットされる。
sps_mmvd_enabled_flag = 1 indicates that MMVD (merge mode with motion vector difference) is available. sps_mmvd_enabled_flag = 0 indicates that MMVD is not available. If it does not exist, sps_mmvd_enabled_flag is set to 0.

sps_isp_enabled_flag=1は、ISP(specifies that intra prediction with subpartitions)が利用可能であることを示す。sps_isp_enabled_flag=0は、ISPが利用不可であることを示す。存在しない場合、sps_isp_enabled_flagは0にセットされる。 sps_isp_enabled_flag = 1 indicates that ISP (specifies that intraprediction with subpartitions) is available. sps_isp_enabled_flag = 0 indicates that the ISP is unavailable. If it does not exist, sps_isp_enabled_flag is set to 0.

sps_mrl_enabled_flag=1は、MRL(intra prediction with multiple reference lines
)が利用可能であることを示す。sps_mrl_enabled_flag=0は、MRLが利用不可であること
を示す。存在しない場合、sps_mrl_enabled_flagは0にセットされる。
sps_mrl_enabled_flag = 1 is MRL (intra prediction with multiple reference lines)
) Is available. sps_mrl_enabled_flag = 0 indicates that MRL is not available. If it does not exist, sps_mrl_enabled_flag is set to 0.

sps_mip_enabled_flag=1は、マトリックスベースのイントラ予測(MIP)が利用可能であ
ることを示す。sps_mip_enabled_flag=0は、マトリックスベースのイントラ予測が利用不可であることを示す。存在しない場合、sps_mip_enabled_flagは0にセットされる。
sps_mip_enabled_flag = 1 indicates that matrix-based intra-prediction (MIP) is available. sps_mip_enabled_flag = 0 indicates that matrix-based intra-prediction is not available. If it does not exist, sps_mip_enabled_flag is set to 0.

sps_affine_enabled_flagは、アフィンモデルベースの動き補償が使われるか否かを示
すフラグである。sps_affine_enabled_flag=0は、このCLVSにおいて、アフィンモデルベ
ースの動き補償が使われないことを示す。sps_affine_enabled_flag=1は、このCLVSにお
いて、アフィンモデルベースの動き補償が使われることを示す。存在しない場合、sps_afine_enabled_flagは0にセットされる。
sps_affine_enabled_flag is a flag indicating whether or not affine model-based motion compensation is used. sps_affine_enabled_flag = 0 indicates that affine model-based motion compensation is not used in this CLVS. sps_affine_enabled_flag = 1 indicates that affine model-based motion compensation is used in this CLVS. If it does not exist, sps_afine_enabled_flag is set to 0.

sps_affine_prof_enabled_flag、アフィンモデルベースの動き補償において、オプティカルフローによる予測のリファインメントが使われるか否かを示すフラグである。sps_affine_prof_enabled_flag=0は、アフィンモデルベースの動き補償がオプティカルフローによってリファインメントされないことを示す。sps_affine_prof_enabled_flag=1は、アフィンモデルベースの動き補償がオプティカルフローによってリファインメントされることを示す。存在しない場合、sps_afine_prof_enabled_flagは0にセットされる。 sps_affine_prof_enabled_flag, a flag that indicates whether or not optical flow prediction refinement is used in affine model-based motion compensation. sps_affine_prof_enabled_flag = 0 indicates that affine model-based motion compensation is not refined by optical flow. sps_affine_prof_enabled_flag = 1 indicates that affine model-based motion compensation is refined by optical flow. If it does not exist, sps_afine_prof_enabled_flag is set to 0.

sps_ciip_enabled_flagは、ciip_flagがインター予測のCUに存在するかもしれないことを示すフラグである。sps_ciip_enabled_flag=0は、ciip_flagがインター予測のCUに存在しないことを示す。存在しない場合、sps_ciip_enabled_flagは0にセットされる。 sps_ciip_enabled_flag is a flag that indicates that ciip_flag may be present in the inter-prediction CU. sps_ciip_enabled_flag = 0 indicates that ciip_flag does not exist in the inter-predicted CU. If it does not exist, sps_ciip_enabled_flag is set to 0.

なお、CIIPは、イントラ予測画像とインター予測画像の重みづけにより予測画像を生成する処理である。 CIIP is a process of generating a prediction image by weighting an intra prediction image and an inter prediction image.

sps_gpm_enabled_flagは、矩形でない形状の動き補償画像を用いることができるか否か
を示すフラグである。sps_gpm_enabled_flag=0は、このCLVSで非矩形の動き補償画像を使うことができないことを示す。sps_gpm_enabled_flag=1は、このCLVSで非矩形の動き補償画像を使うことができることを示す。存在しない場合、sps_gpm_enabled_flagは0にセッ
トされる。
sps_gpm_enabled_flag is a flag indicating whether or not a motion compensation image having a non-rectangular shape can be used. sps_gpm_enabled_flag = 0 indicates that non-rectangular motion compensation images cannot be used with this CLVS. sps_gpm_enabled_flag = 1 indicates that this CLVS can use non-rectangular motion compensation images. If it does not exist, sps_gpm_enabled_flag is set to 0.

スライスヘッダの一例を図9(a)に示す。sps_lossless_mode_enabled_flagが0かつ、sps_transform_skip_enabled_flagが1に設定された場合sps_transform_skip_enabled_flagが1の場合、スライスヘッダでslice_ts_residual_coding_disabled_flagを復号する。 An example of the slice header is shown in Fig. 9 (a). When sps_lossless_mode_enabled_flag is 0 and sps_transform_skip_enabled_flag is set to 1 When sps_transform_skip_enabled_flag is 1, slice_ts_residual_coding_disabled_flag is decrypted in the slice header.

slice_ts_residual_coding_disabled_flag=1は、このスライスにおいて、変換スキップブロックの予測残差のパースに、変換を用いる通常の予測誤差のシンタックス(residual_coding)が使われることを示す。slice_ts_residual_coding_disabled_flag=0は、この
スライスにおいて、変換スキップブロックの予測残差のパースに、変換を用いない予測誤差のシンタックス(residual_ts_coding)が使われることを示す。存在しない場合、sps_lossless_mode_enabled_flagが1の場合には、slice_ts_residual_coding_disabled_flag
は1にセットし、sps_lossless_mode_enabled_flagが0の場合には、slice_ts_residual_coding_disabled_flagを0にセットする。
slice_ts_residual_coding_disabled_flag = 1 indicates that in this slice, the normal prediction error syntax (residual_coding) that uses transformation is used to parse the prediction residuals of the transformation skip block. slice_ts_residual_coding_disabled_flag = 0 indicates that in this slice, the syntax of prediction error without conversion (residual_ts_coding) is used to parse the prediction residuals of the conversion skip block. If it does not exist, if sps_lossless_mode_enabled_flag is 1, slice_ts_residual_coding_disabled_flag
Is set to 1, and if sps_lossless_mode_enabled_flag is 0, slice_ts_residual_coding_disabled_flag is set to 0.

上記によってロスレスフラグが1の場合には、slice_ts_residual_coding_disabled_flagを符号化せずに、効率的に復号することができるという効果がある。 According to the above, when the lossless flag is 1, there is an effect that the slice_ts_residual_coding_disabled_flag can be efficiently decoded without being encoded.

(第3のフラグ)
ループフィルタと量子化に関する情報を通知する位置を指定するフラグ(sao_info_in_ph_flag、alf_info_in_ph_flag、qp_delta_info_in_ph_flag)を説明する。以下では、これらのフラグを第3のフラグと称す。sps_lossless_mode_enabled_flagが1の場合、第3のフラグを通知せず、所定の値に設定する。第3のフラグの各々の意味と通知されない場合にセットされる予め定められた値について以下に記す。
(Third flag)
Flags (sao_info_in_ph_flag, alf_info_in_ph_flag, qp_delta_info_in_ph_flag) that specify the loop filter and the position to notify information about quantization will be described. Hereinafter, these flags will be referred to as a third flag. If sps_lossless_mode_enabled_flag is 1, the third flag is not notified and set to the specified value. The meaning of each of the third flags and the predetermined values set when not notified are described below.

sao_info_in_ph_flag=1は、SAO情報がピクチャヘッダに存在し、スライスヘッダに存在しないことを示す。sao_info_in_ph_flag=0は、SAO情報がピクチャヘッダに存在せず、このPPSを参照するスライスヘッダに存在するかもしれないことを示す。存在しない場合、sao_info_in_ph_flagは0にセットされる。 sao_info_in_ph_flag = 1 indicates that SAO information is present in the picture header and not in the slice header. sao_info_in_ph_flag = 0 indicates that SAO information does not exist in the picture header and may exist in the slice header that references this PPS. If it does not exist, sao_info_in_ph_flag is set to 0.

alf_info_in_ph_flag=1は、ALF情報がピクチャヘッダに存在し、スライスヘッダに存在しないことを示す。alf_info_in_ph_flag=0は、ALF情報がピクチャヘッダに存在せず、このPPSを参照するスライスヘッダに存在するかもしれないことを示す。存在しない場合、alf_info_in_ph_flagは0にセットされる。 alf_info_in_ph_flag = 1 indicates that the ALF information is present in the picture header and not in the slice header. alf_info_in_ph_flag = 0 indicates that the ALF information does not exist in the picture header and may exist in the slice header that references this PPS. If it does not exist, alf_info_in_ph_flag is set to 0.

qp_delta_info_in_ph_flag=1は、量子化パラメータの差分情報がピクチャヘッダに存在し、スライスヘッダに存在しないことを示す。qp_delta_info_in_ph_flag=0は、量子化パラメータの差分情報がピクチャヘッダに存在せず、このPPSを参照するスライスヘッダに
存在するかもしれないことを示す。存在しない場合、qp_delta_info_in_ph_flagは0にセ
ットされる。
qp_delta_info_in_ph_flag = 1 indicates that the difference information of the quantization parameter exists in the picture header and not in the slice header. qp_delta_info_in_ph_flag = 0 indicates that the difference information of the quantization parameter does not exist in the picture header and may exist in the slice header that references this PPS. If it does not exist, qp_delta_info_in_ph_flag is set to 0.

なお、図8a〜図8cではsps_lossless_mode_enabled_flagを参照して、第2のフラグおよび第3のフラグの通知、非通知を切り替えたが、第2のフラグの通知、非通知のみを切り替えてもよい。 In FIGS. 8a to 8c, the notification and non-notification of the second flag and the third flag are switched with reference to sps_lossless_mode_enabled_flag, but only the notification and non-notification of the second flag may be switched.

ヘッダ復号部3020は、SPSにおいて、sps_lossless_mode_enabled_flagを復号する。ヘ
ッダ復号部3020は、sps_lossless_mode_enabled_flagが1の場合、スライスヘッダで上記
フラグを復号せず、予め定められた値をセットする。ヘッダ復号部3020は、sps_lossless_mode_enabled_flagが0の場合、SPS、および、スライスヘッダで上記フラグを復号する。
The header decoding unit 3020 decodes sps_lossless_mode_enabled_flag in SPS. When sps_lossless_mode_enabled_flag is 1, the header decoding unit 3020 does not decode the above flag in the slice header and sets a predetermined value. When sps_lossless_mode_enabled_flag is 0, the header decoding unit 3020 decodes the above flag in the SPS and the slice header.

以上により、ロスレス符号化する場合、有効か無効かを示すフラグの通知が不必要なツールにおいて、フラグを通知せず、画像復号装置が予め定められた値を設定する。従って、不必要なフラグを通知しないため、符号化効率が向上するという効果がある。 As described above, in the case of lossless coding, in a tool that does not require notification of a flag indicating whether it is valid or invalid, the image decoding device sets a predetermined value without notifying the flag. Therefore, since unnecessary flags are not notified, there is an effect that the coding efficiency is improved.

(SPSのロスレスフラグの別の構成)
SPSのロスレスフラグsps_lossless_mode_enabled_flagが1の場合、PPSで通知されるル
ープフィルタと量子化の利用可能性に関わる第6のフラグ(loop_filter_across_tiles_enabled_flag、loop_filter_across_slices_enabled_flag、cu_qp_delta_enabled_flag、pps_chroma_tool_offsets_present_flag、deblocking_filter_control_present_flag)の
値の範囲を制限する構成であってもよい。この構成の動画像復号装置31のヘッダ復号部3020が復号する符号化データはsps_lossless_mode_enabled_flagが1の場合、以下の値でなくてはならない。
(Another configuration of SPS lossless flag)
Lossless flag of SPS When sps_lossless_mode_enabled_flag is 1, the loop filter notified by PPS and the sixth flag related to the availability of quantization (loop_filter_across_tiles_enabled_flag, loop_filter_across_slices_enabled_flag, cu_qp_delta_enabled_flag, cu_qp_delta_enabled_flag, cu_qp_delta_enabled_flag, cu_qp_delta_enabled_flag, cu_qp_delta_enabled_flag, cu_qp_delta_enabled_flag There may be. When the sps_lossless_mode_enabled_flag is 1, the coded data decoded by the header decoding unit 3020 of the moving image decoding device 31 having this configuration must have the following values.

loop_filter_across_tiles_enabled_flag = 0
loop_filter_across_slices_enabled_flag = 0
cu_qp_delta_enabled_flag = 0
pps_chroma_tool_offsets_present_flag = 0
deblocking_filter_control_present_flag = 1
sps_max_luma_transform_size_64_flag = 0
log2_transform_skip_max_size_minus2 = 3
なお、deblocking_filter_control_present_flagは、デブロッキングフィルタを有効にするフラグdeblocking_filter_enabled_flag、あるいは、デブロッキングフィルタを禁止するフラグdeblocking_filter_disabled_flagであってもよい。
loop_filter_across_tiles_enabled_flag = 0
loop_filter_across_slices_enabled_flag = 0
cu_qp_delta_enabled_flag = 0
pps_chroma_tool_offsets_present_flag = 0
deblocking_filter_control_present_flag = 1
sps_max_luma_transform_size_64_flag = 0
log2_transform_skip_max_size_minus2 = 3
Note that the deblocking_filter_control_present_flag may be the flag deblocking_filter_enabled_flag that enables the deblocking filter or the flag deblocking_filter_disabled_flag that disables the deblocking filter.

deblocking_filter_enabled_flag = 0
deblocking_filter_disabled_flag = 1
この構成では、ヘッダ復号部3020は、sps_lossless_mode_enabled_flagの値にかかわらず、第6のフラグを通知する。しかしながら、第6のフラグは、sps_lossless_mode_enabled_flag=1の場合、上記所定の値でなければならない。
deblocking_filter_enabled_flag = 0
deblocking_filter_disabled_flag = 1
In this configuration, the header decoding unit 3020 notifies the sixth flag regardless of the value of sps_lossless_mode_enabled_flag. However, the sixth flag must have the above-mentioned predetermined value when sps_lossless_mode_enabled_flag = 1.

上記の構成では、sps_lossless_mode_enabled_flagに応じて、関連するツールの利用可能性が制限される。同時に、PPSの復号がSPSのフラグの値に依存しない、つまり、SPSの
復号とは独立にPPSを復号できるという効果を奏する。
In the above configuration, the availability of related tools is limited depending on the sps_lossless_mode_enabled_flag. At the same time, the PPS decoding does not depend on the value of the SPS flag, that is, the PPS can be decoded independently of the SPS decoding.

(PPSのロスレス制御フラグ)
以下の構成では、PPSでロスレスフラグを通知する構成を説明する。
(PPS lossless control flag)
In the following configuration, a configuration for notifying the lossless flag by PPS will be described.

PPSの一例を図10に示す。pps_lossless_mode_enabled_flagはPPSで通知されるロスレスモードか否かを示すフラグ(第5のフラグ)である。pps_lossless_mode_enabled_flag=1は、ロスレスモードであることを示す。pps_lossless_mode_enabled_flag=0は、ロスレスモードでないことを示す。 An example of PPS is shown in FIG. pps_lossless_mode_enabled_flag is a flag (fifth flag) indicating whether or not the mode is lossless mode notified by PPS. pps_lossless_mode_enabled_flag = 1 indicates that it is in lossless mode. pps_lossless_mode_enabled_flag = 0 indicates that it is not in lossless mode.

PPSの一例を図10に示す。pps_lossless_mode_enabled_flagが1の場合、PPSで伝送され
るループフィルタと量子化の利用可能性に関わる第6のフラグ(loop_filter_across_tiles_enabled_flag、loop_filter_across_slices_enabled_flag、cu_qp_delta_enabled_flag、pps_chroma_tool_offsets_present_flag、deblocking_filter_control_present_flag
、qp_delta_info_in_ph_flag)は通知されない。一方、pps_lossless_mode_enabled_flag
が0の場合、第6のフラグは通知される。つまり、つまり、動画像符号化装置のヘッダ符
号化部1110は、pps_lossless_mode_enabled_flagが1の場合、上記第6のフラグを符号化
せず、動画像復号装置のヘッダ復号部3020は、上記第6のフラグを復号しない。
An example of PPS is shown in FIG. When pps_lossless_mode_enabled_flag is 1, the sixth flags related to the availability of loop filters and quantizations transmitted by PPS (loop_filter_across_tiles_enabled_flag, loop_filter_across_slices_enabled_flag, cu_qp_delta_enabled_flag, pps_chroma_tool_offsets_present_flag, deblocking
, Qp_delta_info_in_ph_flag) is not notified. On the other hand, pps_lossless_mode_enabled_flag
If is 0, the sixth flag is notified. That is, the header coding unit 1110 of the moving image encoding device does not encode the sixth flag when pps_lossless_mode_enabled_flag is 1, and the header decoding unit 3020 of the moving image decoding device does not encode the sixth flag. Do not decode.

ヘッダ復号部3020は、PPSにおいて、pps_lossless_mode_enabled_flagを復号する。ヘ
ッダ復号部3020は、pps_lossless_mode_enabled_flagが1の場合、PPS、および、スライスヘッダで後述のフラグ(第6〜第10のフラグ)を復号せず、予め定められた値をセットしてもよい。ヘッダ復号部3020は、pps_lossless_mode_enabled_flagが0の場合、PPS、および、スライスヘッダで上記フラグを復号する。
The header decoding unit 3020 decodes pps_lossless_mode_enabled_flag in PPS. When the pps_lossless_mode_enabled_flag is 1, the header decoding unit 3020 may set a predetermined value without decoding the flags (sixth to tenth flags) described later in the PPS and the slice header. When pps_lossless_mode_enabled_flag is 0, the header decoding unit 3020 decodes the above flag in the PPS and the slice header.

第6のフラグは、下記のループフィルタ、量子化、変換、変換スキップのフラグや変換サイズのシンタックス要素であってもよい。sps_lossless_mode_enabled_flag=1の場合には第2のフラグは符号化データに存在しなくてよい。各々のフラグ(シンタックス要素)が存在しない場合には予め定められた値を設定する。第6のフラグの各々の意味と、これらが通知されない場合にセットされる予め定められた値について以下に記す。 The sixth flag may be the following loop filter, quantization, conversion, conversion skip flag, or conversion size syntax element. If sps_lossless_mode_enabled_flag = 1, the second flag does not have to be present in the coded data. If each flag (syntax element) does not exist, a predetermined value is set. The meaning of each of the sixth flags and the predetermined values set when they are not notified are described below.

loop_filter_across_tiles_enabled_flag=1は、このPPSを参照するピクチャでは、タイル境界を横切ってループフィルタ処理が実施されることを示す。loop_filter_across_tiles_enabled_flag=0は、このPPSを参照するピクチャでは、タイルの境界を横切ってループフィルタ処理が実施されないことを示す。ループフィルタはデブロッキングフィルタ、画素適応オフセット(SAO)、適応ループフィルタ(ALF)を含む。存在しない場合、loop_filter_across_tiles_enabled_pic_flagの値は1にセットされる。 loop_filter_across_tiles_enabled_flag = 1 indicates that loop filtering is performed across tile boundaries in pictures that reference this PPS. loop_filter_across_tiles_enabled_flag = 0 indicates that no loop filtering is performed across tile boundaries in pictures that reference this PPS. Loop filters include deblocking filters, pixel adaptive offsets (SAOs), and adaptive loop filters (ALFs). If it does not exist, the value of loop_filter_across_tiles_enabled_pic_flag is set to 1.

loop_filter_across_slices_enabled_flag=1は、このPPSを参照するピクチャでは、タ
イル境界を横切ってループフィルタ処理が実施されることを示す。loop_filter_across_slices_enabled_flag=0は、このPPSを参照するピクチャでは、タイルの境界を横切ってル
ープフィルタ処理が実施されないことを示す。ループフィルタはデブロッキングフィルタ、画素適応オフセット(SAO)、適応ループフィルタ(ALF)を含む。存在しない場合、loop_filter_across_slices_enabled_pic_flagの値は0にセットされる。
loop_filter_across_slices_enabled_flag = 1 indicates that loop filtering is performed across tile boundaries in pictures that reference this PPS. loop_filter_across_slices_enabled_flag = 0 indicates that no loop filtering is performed across tile boundaries in pictures that reference this PPS. Loop filters include deblocking filters, pixel adaptive offsets (SAOs), and adaptive loop filters (ALFs). If it does not exist, the value of loop_filter_across_slices_enabled_pic_flag is set to 0.

cu_qp_delta_enabled_flag=1は、このPPSを参照するピクチャヘッダで、量子化パラメ
ータの予測が利用可能であることを示すフラグである。cu_qp_delta_enabled_flag=0は、このPPSを参照するピクチャヘッダで、量子化パラメータの予測が利用不可であることを
示すフラグである。存在しない場合、pps_qp_delta_enabled_flagは0にセットされる。
cu_qp_delta_enabled_flag = 1 is a picture header that refers to this PPS and is a flag that indicates that the prediction of the quantization parameter is available. cu_qp_delta_enabled_flag = 0 is a picture header that refers to this PPS and is a flag indicating that the prediction of the quantization parameter is not available. If it does not exist, pps_qp_delta_enabled_flag is set to 0.

pps_chroma_tool_offsets_present_flag=1は、色差の量子化値に関するパラメータがこのPPSに存在することを示すフラグである。pps_chroma_tool_offsets_present_flag=0は
、色差の量子化値に関するパラメータがこのPPSに存在しないことを示すフラグである。
存在しない場合、pps_qp_delta_enabled_flagは0にセットされる。
pps_chroma_tool_offsets_present_flag = 1 is a flag indicating that the parameter related to the quantization value of the color difference exists in this PPS. pps_chroma_tool_offsets_present_flag = 0 is a flag indicating that the parameter related to the quantization value of the color difference does not exist in this PPS.
If it does not exist, pps_qp_delta_enabled_flag is set to 0.

deblocking_filter_control_present_flag=1は、デブロッキングフィルタのパラメータがこのPPSに存在することを示す。deblocking_filter_control_present_flag=0は、デブ
ロッキングフィルタのパラメータがこのPPSに存在しないことを示す。存在しない場合、deblocking_filter_control_present_flagは0にセットされる。
deblocking_filter_control_present_flag = 1 indicates that the deblocking filter parameters are present in this PPS. deblocking_filter_control_present_flag = 0 indicates that the deblocking filter parameter does not exist in this PPS. If it does not exist, deblocking_filter_control_present_flag is set to 0.

PPSのフラグでロスレスモードであることが判別できる場合、PPSで符号化されるループフィルタや量子化にかかわる上記の情報は利用されないため通知しない。 If it can be determined from the PPS flag that it is in lossless mode, the above information related to the loop filter encoded by PPS and quantization is not used, so no notification is given.

また、ロスレスで用いられる変換スキップでは量子化されないので、量子化パラメータにかかわる情報(cu_qp_delta_enabled_flag、pps_chroma_tool_offsets_present_flag、
qp_delta_info_in_ph_flag)を通知しない。
Also, since it is not quantized by the conversion skip used in lossless, information related to the quantization parameter (cu_qp_delta_enabled_flag, pps_chroma_tool_offsets_present_flag,
qp_delta_info_in_ph_flag) is not notified.

また、pps_lossless_mode_enabled_flagが1の場合、PPSで通知されるループフィルタの情報を符号化する位置を指定する第3のフラグ(sao_info_in_ph_flag、alf_info_in_ph_flag)は通知されない。一方、pps_lossless_mode_enabled_flagが0の場合、PPSの第3のフラグは通知される。 When pps_lossless_mode_enabled_flag is 1, the third flags (sao_info_in_ph_flag, alf_info_in_ph_flag) that specify the position to encode the loop filter information notified by PPS are not notified. On the other hand, if pps_lossless_mode_enabled_flag is 0, the third flag of PPS is notified.

以下、PHで通知されるループフィルタと量子化、変換の利用可能性に関わるフラグを説明する。以下ではこれらのフラグを第9のフラグと称す。 The loop filter notified by PH and the flags related to the availability of quantization and conversion will be described below. Hereinafter, these flags will be referred to as the ninth flag.

ロスレスフラグが1(pps_lossless_mode_enabled_flagが1)の場合、図11に示す第9
のフラグ(ph_lmcs_enabled_flag、ph_dep_quant_enabled_flag)は通知されない。一方
、pps_lossless_mode_enabled_flagが0の場合、第9のフラグは通知される。つまり、動
画像符号化装置のヘッダ符号化部1110は、pps_lossless_mode_enabled_flagが1の場合、
上記第9のフラグを符号化せず、動画像復号装置のヘッダ復号部3020は、上記第9のフラグを復号しない。pps_lossless_mode_enabled_flagではなくsps_lossless_mode_enabled_flagとして上記処理を行ってもよい。
When the lossless flag is 1 (pps_lossless_mode_enabled_flag is 1), the ninth shown in FIG.
Flags (ph_lmcs_enabled_flag, ph_dep_quant_enabled_flag) are not notified. On the other hand, if pps_lossless_mode_enabled_flag is 0, the ninth flag is notified. That is, when the header coding unit 1110 of the moving image coding device has pps_lossless_mode_enabled_flag of 1,
The ninth flag is not encoded, and the header decoding unit 3020 of the moving image decoding device does not decode the ninth flag. The above processing may be performed as sps_lossless_mode_enabled_flag instead of pps_lossless_mode_enabled_flag.

pps_lossless_mode_enabled_flagが1の場合、第9のフラグは符号化データに存在しなくてよい。以下、第9のフラグと存在しない場合にセットされる予め定められた値を説明する。 If pps_lossless_mode_enabled_flag is 1, the ninth flag does not have to be present in the coded data. Hereinafter, the ninth flag and a predetermined value set when the flag does not exist will be described.

ph_lmcs_enabled_flag=1は、LMCS(luma mapping with chroma scaling)が現ピクチャで使われることを示す。ph_lmcs_enabled_flag=0は、現ピクチャでLMCSが使われないことを示す。存在しない場合、ph_lmcs_enabled_flagは0にセットされる。 ph_lmcs_enabled_flag = 1 indicates that LMCS (luma mapping with chroma scaling) is used in the current picture. ph_lmcs_enabled_flag = 0 indicates that LMCS is not used in the current picture. If it does not exist, ph_lmcs_enabled_flag is set to 0.

ph_dep_quant_enabled_flag=0は、現ピクチャにおいて、依存量子化が利用不可である
ことを示す。ph_dep_quant_enabled_flag=1は、現ピクチャにおいて、依存量子化が利用
可能かもしれないことを示す。存在しない場合、ph_dep_quant_enabled_flagは0にセットされる。
ph_dep_quant_enabled_flag = 0 indicates that dependent quantization is not available in the current picture. ph_dep_quant_enabled_flag = 1 indicates that dependent quantization may be available in the current picture. If it does not exist, ph_dep_quant_enabled_flag is set to 0.

また、前記輝度画素の最大変換ブロックサイズの対数値は以下の式により導出される。MaxTbLog2SizeY = pps_lossless_mode_enabled_flag ? 5 : (sps_max_luma_transform_size_64_flag ? 6 : 5)
そして、TS処理の最大ブロックサイズの対数値は以下の式により導出される。
log2_transform_skip_max_size_minus2 = pps_lossless_mode_enabled_flag ? 3 : log2_transform_skip_max_size_minus2
MaxTsSize =1 << (log2_transform_skip_max_size_minus2 + 2)
変換ブロックの最大サイズの値がTSブロックの最大サイズの値より大きい時、TS処理を適用できない変換ブロックが発生する。従って、PPSのロスレスフラグpps_lossless_mode_enabled_flagが1の場合、SPSのフラグの値に関わらず、MaxTbLog2SizeY=5、log2_transform_skip_max_size_minus2=3に設定する。以上により、ロスレス符号化する場合、変換ブロックにTS処理を適用することができる。
Further, the logarithmic value of the maximum conversion block size of the luminance pixel is derived by the following equation. MaxTbLog2SizeY = pps_lossless_mode_enabled_flag? 5: (sps_max_luma_transform_size_64_flag? 6: 5)
Then, the logarithmic value of the maximum block size of TS processing is derived by the following equation.
log2_transform_skip_max_size_minus2 = pps_lossless_mode_enabled_flag? 3: log2_transform_skip_max_size_minus2
MaxTsSize = 1 << (log2_transform_skip_max_size_minus2 + 2)
When the value of the maximum size of the conversion block is larger than the value of the maximum size of the TS block, a conversion block to which TS processing cannot be applied occurs. Therefore, when the lossless flag pps_lossless_mode_enabled_flag of PPS is 1, MaxTbLog2SizeY = 5 and log2_transform_skip_max_size_minus2 = 3 are set regardless of the value of the SPS flag. From the above, in the case of lossless coding, TS processing can be applied to the conversion block.

さらに、ロスレスモードでは、一部の予測ツールは、ほとんど効果がないにもかかわらず、処理量を増加させるのでオフとしてもよい。具体的には、pps_lossless_mode_enabled_flagが1の場合、PHで通知される所定の予測処理の利用可能性に関わる第8のフラグ(ph_disable_dmvr_flag、ph_disable_bdof_flag、ph_disable_prof_flag)は通知されない
。一方、pps_lossless_mode_enabled_flagが0の場合、第8のフラグは通知される。つま
り、動画像符号化装置のヘッダ符号化部1110は、pps_lossless_mode_enabled_flagが1の
場合、上記第8のフラグを通知せず、動画像復号装置のヘッダ復号部3020は、上記第8のフラグを復号しない。
上記第8のフラグは以下を含んでいてもよい。
In addition, in lossless mode, some prediction tools may be turned off as they increase the amount of processing, even though they have little effect. Specifically, when pps_lossless_mode_enabled_flag is 1, the eighth flag (ph_disable_dmvr_flag, ph_disable_bdof_flag, ph_disable_prof_flag) related to the availability of the predetermined prediction process notified by PH is not notified. On the other hand, if pps_lossless_mode_enabled_flag is 0, the eighth flag is notified. That is, when the pps_lossless_mode_enabled_flag is 1, the header coding unit 1110 of the moving image encoding device does not notify the eighth flag, and the header decoding unit 3020 of the moving image decoding device does not decode the eighth flag. ..
The eighth flag may include:

DMVRのオンオフフラグph_disable_dmvr_flag
BDOFのオンオフフラグph_disable_bdof_flag
PROFのオンオフフラグph_disable_prof_flag
以下、予測にかかわる第8のフラグを説明する。
DMVR on / off flag ph_disable_dmvr_flag
BDOF on / off flag ph_disable_bdof_flag
PROF on / off flag ph_disable_prof_flag
Hereinafter, the eighth flag related to the prediction will be described.

ph_disable_dmvr_flag=1は、DMVR(decoder motion vector refinement based inter bi-prediction)が現ピクチャで利用不可であることを示す。ph_disable_dmvr_flag=0は、DMVRが利用可能であることを示す。存在しない場合、ph_disable_dmvr_flagは0にセットされる。 ph_disable_dmvr_flag = 1 indicates that DMVR (decoder motion vector refinement based inter bi-prediction) is not available in the current picture. ph_disable_dmvr_flag = 0 indicates that DMVR is available. If it does not exist, ph_disable_dmvr_flag is set to 0.

ph_disable_bdof_flag=1は、BDOF(bi-directional optical flow inter prediction)が現ピクチャで利用不可であることを示す。ph_disable_bdof_flag=0は、DMVRが利用可能であることを示す。存在しない場合、ph_disable_bdof_flagは0にセットされる。 ph_disable_bdof_flag = 1 indicates that BDOF (bi-directional optical flow interprediction) is not available in the current picture. ph_disable_bdof_flag = 0 indicates that DMVR is available. If it does not exist, ph_disable_bdof_flag is set to 0.

ph_disable_prof_flag=1は、PROF(Prediction Refinement with Optical Flow)が現
ピクチャで利用不可であることを示す。ph_disable_prof_flag=0は、DMVRが利用可能であることを示す。存在しない場合、ph_disable_prof_flagは0にセットされる。
ph_disable_prof_flag = 1 indicates that PROF (Prediction Refinement with Optical Flow) is not available in the current picture. ph_disable_prof_flag = 0 indicates that DMVR is available. If it does not exist, ph_disable_prof_flag is set to 0.

また、pps_lossless_mode_enabled_flagが1の場合、PPSで値を0に設定した第2のフラ
グ参照する第3のフラグも通知されず、所定の値に設定される。第3のフラグは、例えば、sao_info_in_ph_flagやalf_info_in_ph_flagである。
Further, when pps_lossless_mode_enabled_flag is 1, the third flag that refers to the second flag whose value is set to 0 in PPS is not notified and is set to a predetermined value. The third flag is, for example, sao_info_in_ph_flag or alf_info_in_ph_flag.

スライスヘッダの一例を図12(a)に示す。pps_lossless_mode_enabled_flagが0かつsps_transform_skip_enabled_flagが1の場合、slice_ts_residual_coding_disabled_flagを復号する。存在しない場合、pps_lossless_mode_enabled_flagが1の場合には、slice_ts_residual_coding_disabled_flagを1に設定する。sps_lossless_mode_enabled_flagが0の場
合には、slice_ts_residual_coding_disabled_flagを0に設定する。
An example of the slice header is shown in FIG. 12 (a). If pps_lossless_mode_enabled_flag is 0 and sps_transform_skip_enabled_flag is 1, slice_ts_residual_coding_disabled_flag is decrypted. If it does not exist and pps_lossless_mode_enabled_flag is 1, set slice_ts_residual_coding_disabled_flag to 1. If sps_lossless_mode_enabled_flag is 0, set slice_ts_residual_coding_disabled_flag to 0.

上記によってロスレスフラグが1の場合には、slice_ts_residual_coding_disabled_flagを符号化せずに、効率的な復号処理ができるという効果がある。 According to the above, when the lossless flag is 1, there is an effect that efficient decoding processing can be performed without encoding slice_ts_residual_coding_disabled_flag.

ロスレスフラグが1(pps_lossless_mode_enabled_flag=1)の場合、第1の処理の利用可能性に関するスライスヘッダのフラグ(slice_sao_luma_flagとslice_alf_enabled_flag)は通知されず0に設定される。ロスレスフラグは、sps_lossless_mode_enabled_flagであってもよい。 When the lossless flag is 1 (pps_lossless_mode_enabled_flag = 1), the slice header flags (slice_sao_luma_flag and slice_alf_enabled_flag) regarding the availability of the first process are not notified and are set to 0. The lossless flag may be sps_lossless_mode_enabled_flag.

slice_sao_luma_flag=1は、SAO情報がスライスヘッダに存在することを示す。slice_sao_luma_flag=0は、SAO情報がスライスヘッダに存在しないことを示す。 slice_sao_luma_flag = 1 indicates that SAO information exists in the slice header. slice_sao_luma_flag = 0 indicates that SAO information does not exist in the slice header.

slice_alf_enabled_flag=1は、ALF情報が、スライスヘッダに存在することを示す。slice_alf_enabled_flag=0は、スライスヘッダに存在しないことを示す。 slice_alf_enabled_flag = 1 indicates that ALF information exists in the slice header. slice_alf_enabled_flag = 0 indicates that it does not exist in the slice header.

(SPSのロスレスフラグとPPSのロスレスフラグ)
SPSレベルのロスレスフラグsps_lossless_mode_enabled_flagを備える構成と、PPSレベルのロスレスフラグpps_lossless_mode_enabled_flagを備える構成は排他的なものではない。
(SPS lossless flag and PPS lossless flag)
A configuration with an SPS-level lossless flag sps_lossless_mode_enabled_flag and a configuration with a PPS-level lossless flag pps_lossless_mode_enabled_flag are not exclusive.

つまり、SPSでsps_lossless_mode_enabled_flagを通知し、PPSでpps_lossless_mode_enabled_flagを通知する構成であってもよい。この場合、sps_lossless_mode_enabled_flagが1の場合、pps_lossless_mode_enabled_flagは常に1でなくてはならない。sps_lossless_mode_enabled_flagが0の場合、pps_lossless_mode_enabled_flagの値は制限されない。 That is, the configuration may be such that SPS notifies sps_lossless_mode_enabled_flag and PPS notifies pps_lossless_mode_enabled_flag. In this case, if sps_lossless_mode_enabled_flag is 1, then pps_lossless_mode_enabled_flag must always be 1. If sps_lossless_mode_enabled_flag is 0, the value of pps_lossless_mode_enabled_flag is unrestricted.

上記の構成では、適切な範囲でロスレスとなる符号化データを実現することができる。つまり、SPSを参照するシーケンスレベル全体でロスレスを実現することもできるし、PPSを参照するピクチャレベルでロスレスを実現することもできる。
(符号化ツリーユニットのBT、TT分割サイズ制限)
(CT情報復号の処理)
以下、CT情報復号の処理を、図13を参照して説明する。図13は、本発明の一実施形態に係るCT情報復号部の動作を説明するフローチャートである。
With the above configuration, it is possible to realize coded data that is lossless within an appropriate range. In other words, lossless can be realized at the entire sequence level that refers to SPS, or lossless can be realized at the picture level that refers to PPS.
(BT, TT division size limit of coded tree unit)
(Processing of CT information decoding)
Hereinafter, the CT information decoding process will be described with reference to FIG. FIG. 13 is a flowchart illustrating the operation of the CT information decoding unit according to the embodiment of the present invention.

図13は、本発明の一実施形態に係るCT情報復号部3021の動作を説明するフローチャートである。 FIG. 13 is a flowchart illustrating the operation of the CT information decoding unit 3021 according to the embodiment of the present invention.

CT情報復号部3021は符号化データからCT情報を復号し、再帰的に符号化ツリーCT(coding_tree)を復号する。具体的には、CT情報復号部3021はQT情報を復号し、対象CT coding_tree(x0,y0,cbWidth,cbHeight,cqtDepth,mttDepth)を復号する。なお、(x0,y0)は対象CTの左上座標、cbWidth、cbHeightはCTの幅と高さ、cqtDepth、mttDepthはQTおよびBT/TTの階層である。 The CT information decoding unit 3021 decodes the CT information from the coded data and recursively decodes the coding tree CT (coding_tree). Specifically, the CT information decoding unit 3021 decodes the QT information and decodes the target CT coding_tree (x0, y0, cbWidth, cbHeight, cqtDepth, mttDepth). Note that (x0, y0) is the upper left coordinate of the target CT, cbWidth and cbHeight are the width and height of the CT, and cqtDepth and mttDepth are the layers of QT and BT / TT.

(S1411)CT情報復号部3021は復号したCT情報にQT分割フラグ(split_cu_flag)があるか否かを判定する。QT分割フラグはQT分割するか否かを示すフラグである。QT分割フラグがある場合にはS1421に遷移し、それ以外の場合にはS1422に遷移する。 (S1411) The CT information decoding unit 3021 determines whether or not the decoded CT information has a QT split flag (split_cu_flag). The QT division flag is a flag indicating whether or not to perform QT division. If there is a QT split flag, it transitions to S1421, otherwise it transitions to S1422.

(S1421)CT情報復号部3021はQT分割フラグを復号する。 (S1421) The CT information decoding unit 3021 decodes the QT division flag.

(S1422)CT情報復号部3021は、それ以外の場合には、split_cu_flagの復号を省略し、split_cu_flagに所定の値をセットする。 (S1422) In other cases, the CT information decoding unit 3021 omits decoding of split_cu_flag and sets a predetermined value in split_cu_flag.

(S1450)split_cu_flagが0以外である場合にはS1451に遷移し、それ以外の場合にはS1471に遷移する。 (S1450) If split_cu_flag is other than 0, it transitions to S1451, otherwise it transitions to S1471.

(S1451)CT情報復号部3021はQT分割を行う。具体的には、CT情報復号部3021は、図5のQTで示される4つのCT復号するに分割する。 (S1451) The CT information decoding unit 3021 performs QT division. Specifically, the CT information decoding unit 3021 divides into four CT decodings shown by QT in FIG.

そして、CT情報復号部3021は、cqtDepthとcbWidth、cbHeightを更新し、下位のCTにお
いても、S1411から開始されるQT情報復号を継続する。
QT分割終了後、CT情報復号部3021は符号化データからCT情報を復号し、再帰的にBTあるいはTT分割を実施する。
Then, the CT information decoding unit 3021 updates cqtDepth, cbWidth, and cbHeight, and continues the QT information decoding started from S1411 even in the lower CT.
After the QT division is completed, the CT information decoding unit 3021 decodes the CT information from the coded data and recursively performs the BT or TT division.

(S1471)CT情報復号部3021は、CT情報にMT分割フラグ(mtt_split_cu_vertical_flag
、mtt_split_cu_binary_flag)があるか否かを判定する。MT分割フラグがある場合にはS1481に遷移する。それ以外の場合にはS1482に遷移する。mtt_split_cu_vertical_flagは、MT分割の方向を示すフラグである。mtt_split_cu_binary_flagは、MT分割が2分木であるか3分木であるかを示すフラグである。
(S1471) The CT information decoding unit 3021 adds the MT split flag (mtt_split_cu_vertical_flag) to the CT information.
, Mtt_split_cu_binary_flag). If there is an MT division flag, it transitions to S1481. In other cases, it transitions to S1482. mtt_split_cu_vertical_flag is a flag indicating the direction of MT division. mtt_split_cu_binary_flag is a flag indicating whether the MT division is a binary tree or a ternary tree.

(S1481)CT情報復号部3021はMT分割フラグを復号する。 (S1481) The CT information decoding unit 3021 decodes the MT division flag.

(S1482)CT情報復号部3021は符号化データからMT分割フラグsplit_mt_flagを復号せず、所定の値に設定する。 (S1482) The CT information decoding unit 3021 does not decode the MT division flag split_mt_flag from the coded data and sets it to a predetermined value.

(S1490)CT情報復号部3021は、MT分割フラグsplit_mt_flagが0以外の場合には、S1491に遷移する。それ以外の場合には、CT情報復号部3021は対象CTを分割せず、処理を終了する(CUの復号に移行する)。 (S1490) The CT information decoding unit 3021 transitions to S1491 when the MT split flag split_mt_flag is other than 0. In other cases, the CT information decoding unit 3021 does not divide the target CT and ends the process (shifts to decoding the CU).

(S1491)CT情報復号部3021はMT分割を行う。mtt_split_cu_vertical_flagとmtt_split_cu_binary_flagを参照して、図5のBT(垂直分割)、BT(水平分割)、TT(垂直分割)、TT(水
平分割)のいづれかの分割を実施する。
(S1491) CT information decoding unit 3021 performs MT division. With reference to mtt_split_cu_vertical_flag and mtt_split_cu_binary_flag, one of BT (vertical division), BT (horizontal division), TT (vertical division), and TT (horizontal division) in Fig. 5 is performed.

そして、CT情報復号部3021は、mttDepthとcbWidth、cbHeightを更新し、下位のCTにお
いても、S1471から開始されるBT/TT情報復号を継続する。
Then, the CT information decoding unit 3021 updates mttDepth, cbWidth, and cbHeight, and continues BT / TT information decoding starting from S1471 even in the lower CT.

また、CT情報復号部3021は、QT分割もBT/TT分割も行われない場合には、CU復号部3022
でCUを復号する。
In addition, the CT information decoding unit 3021 uses the CU decoding unit 3022 when neither QT division nor BT / TT division is performed.
Decrypt the CU with.

第1のフラグ(sps_lossless_mode_enabled_flag)もしくは第5のフラグ(pps_lossless_mode_enabled_flag)が1の場合、BTの最大分割サイズMaxBtSizeY、TTの最大分割サイズMaxTtSizeYを所定の固定値TS_TH0(例えば8)以下に設定する。 When the first flag (sps_lossless_mode_enabled_flag) or the fifth flag (pps_lossless_mode_enabled_flag) is 1, the maximum division size MaxBtSizeY of BT and the maximum division size MaxTtSizeY of TT are set to a predetermined fixed value TS_TH0 (for example, 8) or less.

具体的に、CT情報復号部3021(及びCU情報符号化部)は以下の式より、MaxBtSizeY、MaxTtSizeYを導出する。 Specifically, the CT information decoding unit 3021 (and the CU information encoding unit) derives MaxBtSizeY and MaxTtSizeY from the following equations.

イントラスライス、かつ、第1フラグが1の場合:
MaxBtSizeY = Min(TS_TH0, 1 << (MinQtLog2SizeY + ph_log2_diff_max_bt_min_qt_intra_slice_luma)
MaxTtSizeY = Min(TS_TH0, 1 << (MinQtLog2SizeY + ph_log2_diff_max_tt_min_qt_intra_slice_luma)
もしくは、イントラスライス、かつ、第5のフラグが1の場合:
MaxBtSizeY = Min(TS_TH0, 1 << (MinQtLog2SizeY + ph_log2_diff_max_bt_min_qt_intra_slice_luma)
MaxTtSizeY = Min(TS_TH0, 1 << (MinQtLog2SizeY + ph_log2_diff_max_tt_min_qt_intra_slice_luma)
インタースライス、かつ、第1フラグが1の場合:
MaxBtSizeY = Min(TS_TH0, 1 << (MinQtLog2SizeY + ph_log2_diff_max_bt_min_qt_inter_slice)
MaxTtSizeY = Min(TS_TH0, 1 << (MinQtLog2SizeY + ph_log2_diff_max_tt_min_qt_inter_slice)
もしくは、インタースライス、かつ、第5のフラグが1の場合:
MaxBtSizeY = Min(TS_TH0, 1 << (MinQtLog2SizeY + ph_log2_diff_max_bt_min_qt_inter_slice)
MaxTtSizeY = Min(TS_TH0, 1 << (MinQtLog2SizeY + ph_log2_diff_max_tt_min_qt_inter_slice)
ここで、MinQtLog2SizeYはQT分割の最小ブロックサイズの対数値である。ph_log2_diff_max_bt_min_qt_inter_sliceは、イントラスライスにおいて、QT分割の最小ブロックサイズの対数値とブロックの最小サイズの対数値との差である。ph_log2_diff_max_tt_min_qt_inter_sliceはインタースライスにおいて、QT分割の最小ブロックサイズの対数値とブロックの最小サイズの対数値との差である。
Intra slice and when the first flag is 1:
MaxBtSizeY = Min (TS_TH0, 1 << (MinQtLog2SizeY + ph_log2_diff_max_bt_min_qt_intra_slice_luma)
MaxTtSizeY = Min (TS_TH0, 1 << (MinQtLog2SizeY + ph_log2_diff_max_tt_min_qt_intra_slice_luma)
Or, if it is an intra slice and the fifth flag is 1.
MaxBtSizeY = Min (TS_TH0, 1 << (MinQtLog2SizeY + ph_log2_diff_max_bt_min_qt_intra_slice_luma)
MaxTtSizeY = Min (TS_TH0, 1 << (MinQtLog2SizeY + ph_log2_diff_max_tt_min_qt_intra_slice_luma)
When interslicing and the first flag is 1:
MaxBtSizeY = Min (TS_TH0, 1 << (MinQtLog2SizeY + ph_log2_diff_max_bt_min_qt_inter_slice)
MaxTtSizeY = Min (TS_TH0, 1 << (MinQtLog2SizeY + ph_log2_diff_max_tt_min_qt_inter_slice)
Or, if it is intersliced and the fifth flag is 1.
MaxBtSizeY = Min (TS_TH0, 1 << (MinQtLog2SizeY + ph_log2_diff_max_bt_min_qt_inter_slice)
MaxTtSizeY = Min (TS_TH0, 1 << (MinQtLog2SizeY + ph_log2_diff_max_tt_min_qt_inter_slice)
Here, MinQtLog2SizeY is the logarithmic value of the minimum block size of the QT division. ph_log2_diff_max_bt_min_qt_inter_slice is the difference between the logarithm of the minimum block size of the QT division and the logarithm of the minimum block size in the intraslice. ph_log2_diff_max_tt_min_qt_inter_slice is the difference between the logarithm of the minimum block size of the QT division and the logarithm of the minimum block size in the interslice.

また、以下のように、MaxBtSizeYとMaxTtSizeYを導出してもよい。 Further, MaxBtSizeY and MaxTtSizeY may be derived as follows.

イントラスライスの場合:
MaxBtSizeY = (sps_lossless_mode_enabled_flag)? TS_TH0 : 1 << (MinQtLog2SizeY +
ph_log2_diff_max_bt_min_qt_intra_slice_luma)
MaxTtSizeY = (sps_lossless_mode_enabled_flag)? TS_TH0 : 1 << (MinQtLog2SizeY +
ph_log2_diff_max_tt_min_qt_intra_slice_luma)
もしくは、
MaxBtSizeY = (pps_lossless_mode_enabled_flag)? TS_TH0 : 1 << (MinQtLog2SizeY +
ph_log2_diff_max_bt_min_qt_intra_slice_luma)
MaxTtSizeY = (pps_lossless_mode_enabled_flag)? TS_TH0 : 1 << (MinQtLog2SizeY +
ph_log2_diff_max_tt_min_qt_intra_slice_luma)
インタースライスの場合:
MaxBtSizeY = (sps_lossless_mode_enabled_flag)? TS_TH0 : 1 << (MinQtLog2SizeY +
ph_log2_diff_max_bt_min_qt_inter_slice)
MaxTtSizeY = (sps_lossless_mode_enabled_flag)? TS_TH0 : 1 << (MinQtLog2SizeY +
ph_log2_diff_max_tt_min_qt_inter_slice)
もしくは、
MaxBtSizeY = (pps_lossless_mode_enabled_flag)? TS_TH0 : 1 << (MinQtLog2SizeY +
ph_log2_diff_max_bt_min_qt_inter_slice)
MaxTtSizeY = (pps_lossless_mode_enabled_flag)? TS_TH0 : 1 << (MinQtLog2SizeY +
ph_log2_diff_max_tt_min_qt_inter_slice)
上記構成の動画像復号装置によれば、BT分割及びTT分割が所定の固定値以下のブロックサイズでのみ生じるため、BT分割及びTT分割の分割階層および組み合わせ数が制限される。分割数が制限されることにより動画像復号装置の処理の複雑度や処理遅延が低減される効果を奏する。
For intra slices:
MaxBtSizeY = (sps_lossless_mode_enabled_flag)? TS_TH0: 1 << (MinQtLog2SizeY +
ph_log2_diff_max_bt_min_qt_intra_slice_luma)
MaxTtSizeY = (sps_lossless_mode_enabled_flag)? TS_TH0: 1 << (MinQtLog2SizeY +
ph_log2_diff_max_tt_min_qt_intra_slice_luma)
or,
MaxBtSizeY = (pps_lossless_mode_enabled_flag)? TS_TH0: 1 << (MinQtLog2SizeY +
ph_log2_diff_max_bt_min_qt_intra_slice_luma)
MaxTtSizeY = (pps_lossless_mode_enabled_flag)? TS_TH0: 1 << (MinQtLog2SizeY +
ph_log2_diff_max_tt_min_qt_intra_slice_luma)
For interslicing:
MaxBtSizeY = (sps_lossless_mode_enabled_flag)? TS_TH0: 1 << (MinQtLog2SizeY +
ph_log2_diff_max_bt_min_qt_inter_slice)
MaxTtSizeY = (sps_lossless_mode_enabled_flag)? TS_TH0: 1 << (MinQtLog2SizeY +
ph_log2_diff_max_tt_min_qt_inter_slice)
or,
MaxBtSizeY = (pps_lossless_mode_enabled_flag)? TS_TH0: 1 << (MinQtLog2SizeY +
ph_log2_diff_max_bt_min_qt_inter_slice)
MaxTtSizeY = (pps_lossless_mode_enabled_flag)? TS_TH0: 1 << (MinQtLog2SizeY +
ph_log2_diff_max_tt_min_qt_inter_slice)
According to the moving image decoding apparatus having the above configuration, since the BT division and the TT division occur only in the block size of a predetermined fixed value or less, the division hierarchy and the number of combinations of the BT division and the TT division are limited. By limiting the number of divisions, the processing complexity and processing delay of the moving image decoding device can be reduced.

(動画像符号化装置の構成)
次に、本実施形態に係る動画像符号化装置11の構成について説明する。図14は、本実施形態に係る動画像符号化装置11の構成を示すブロック図である。動画像符号化装置11は、予測画像生成部101、減算部102、変換・量子化部103、逆量子化・逆変換部105、加算部106、ループフィルタ107、予測パラメータメモリ(予測パラメータ記憶部、フレームメモリ)108、参照ピクチャメモリ(参照画像記憶部、フレームメモリ)109、符号化パラメータ決定部110、パラメータ符号化部111、エントロピー符号化部104を含んで構成される。
(Configuration of moving image coding device)
Next, the configuration of the moving image coding device 11 according to the present embodiment will be described. FIG. 14 is a block diagram showing the configuration of the moving image coding device 11 according to the present embodiment. The moving image coding device 11 includes a prediction image generation unit 101, a subtraction unit 102, a conversion / quantization unit 103, an inverse quantization / inverse conversion unit 105, an addition unit 106, a loop filter 107, and a prediction parameter memory (prediction parameter storage unit). , Frame memory) 108, reference picture memory (reference image storage unit, frame memory) 109, coding parameter determination unit 110, parameter coding unit 111, and entropy coding unit 104.

予測画像生成部101は画像Tの各ピクチャを分割した領域であるCU毎に予測画像を生成する。 The prediction image generation unit 101 generates a prediction image for each CU, which is a region in which each picture of the image T is divided.

減算部102は、予測画像生成部101から入力されたブロックの予測画像の画素値を、画像Tの画素値から減算して予測誤差を生成する。減算部102は予測誤差を変換・量子化部103
に出力する。
The subtraction unit 102 subtracts the pixel value of the predicted image of the block input from the prediction image generation unit 101 from the pixel value of the image T to generate a prediction error. The subtraction unit 102 converts the prediction error and the quantization unit 103.
Output to.

変換・量子化部103は、減算部102から入力された予測誤差に対し、周波数変換によって変換係数を算出し、量子化によって量子化変換係数を導出する。変換・量子化部103は、
量子化変換係数をエントロピー符号化部104及び逆量子化・逆変換部105に出力する。
The conversion / quantization unit 103 calculates the conversion coefficient by frequency conversion with respect to the prediction error input from the subtraction unit 102, and derives the quantization conversion coefficient by quantization. The conversion / quantization unit 103
The quantization conversion coefficient is output to the entropy coding unit 104 and the inverse quantization / inverse conversion unit 105.

逆量子化・逆変換部105は、動画像復号装置31における逆量子化・逆変換部311(図6)
と同じである。算出した予測誤差は加算部106に出力される。
The inverse quantization / inverse transformation unit 105 is the inverse quantization / inverse transformation unit 311 (FIG. 6) in the moving image decoding device 31.
Is the same as. The calculated prediction error is output to the addition unit 106.

エントロピー符号化部104には、変換・量子化部103から量子化変換係数が入力され、パラメータ符号化部111から符号化パラメータが入力される。符号化パラメータは、例えば
、予測モードを示すpredModeである。predModeはイントラ予測を示すMODE_INTRA、インター予測を示すMODE_INTERのいずれでもよいし、MODE_INTRA、MODE_INTER、MODE_IBCであってもよい。
A quantization conversion coefficient is input to the entropy coding unit 104 from the conversion / quantization unit 103, and a coding parameter is input from the parameter coding unit 111. The coding parameter is, for example, predMode indicating the prediction mode. The predMode may be either MODE_INTRA indicating an intra-prediction or MODE_INTER indicating an inter-prediction, or may be MODE_INTRA, MODE_INTER, or MODE_IBC.

エントロピー符号化部104は、分割情報、予測パラメータ、量子化変換係数等をエント
ロピー符号化して符号化ストリームTeを生成し、出力する。
The entropy coding unit 104 entropy-codes the division information, the prediction parameters, the quantization conversion coefficient, and the like to generate a coded stream Te, and outputs the coded stream Te.

パラメータ符号化部111は、図示しないヘッダ符号化部1110、CT情報符号化部1111、CU
符号化部1112(予測モード符号化部)、及びインター予測パラメータ符号化部112とイン
トラ予測パラメータ符号化部113を備えている。CU符号化部1112はさらにTU符号化部1114
を備えている。
The parameter coding unit 111 includes a header coding unit 1110 (not shown), a CT information coding unit 1111 and a CU.
It includes a coding unit 1112 (prediction mode coding unit), an inter prediction parameter coding unit 112, and an intra prediction parameter coding unit 113. The CU coding unit 1112 further includes the TU coding unit 1114.
It has.

以下、各モジュールの概略動作を説明する。パラメータ符号化部111はヘッダ情報、分
割情報、予測情報、量子化変換係数等のパラメータの符号化処理を行う。
The outline operation of each module will be described below. The parameter coding unit 111 performs parameter coding processing such as header information, division information, prediction information, and quantization conversion coefficient.

CT情報符号化部1111は、ロスレス符号化では、SPSでsps_lossless_mode_enabled_flag
を符号化する。また、CTU以下の階層において、QT、MT(BT、TT)分割情報等を符号化す
る。
(符号化ツリーユニットの分割サイズ制限)
ロスレス符号化では、CT情報符号化部1111は、BT、TT分割の最大ツリーサイズを示すMaxBtSizeYとMaxTtSizeYを8に設定する。つまり、ロスレス符号化では、BT、TTとして分割できる最大ブロックサイズは8x8以下に設定される。これにより、分割情報を決定するために必要な探索の分割デプスと種類の組み合わせが減り、符号化処理において複雑度や処理遅延が軽減する効果がある。
The CT information coding unit 1111 uses sps_lossless_mode_enabled_flag in SPS for lossless coding.
Is encoded. In addition, QT, MT (BT, TT) division information, etc. are encoded in the hierarchy below the CTU.
(Limited division size of coded tree unit)
In lossless coding, the CT information coding unit 1111 sets MaxBtSizeY and MaxTtSizeY, which indicate the maximum tree size of BT and TT division, to 8. That is, in lossless coding, the maximum block size that can be divided as BT and TT is set to 8x8 or less. This reduces the number of combinations of search division depths and types required to determine the division information, and has the effect of reducing complexity and processing delay in the coding process.

上記処理のために、CT情報符号化部1111は、最大ツリーサイズを符号化してもよい。例えば、ロスレス符号化では、ph_log2_diff_max_bt_min_qt_intra_slice_luma=0、ph_log2_diff_max_bt_min_qt_inter_slice=0としてもよい。ここで、ph_log2_diff_max_bt_min_qt_intra_slice_lumaは、イントラスライスの輝度成分において、BT分割可能なブロックの最大サイズ(幅あるいは高さ)とCUの最小サイズとの、差分の2の対数表現を規定する。ph_log2_diff_max_bt_min_qt_inter_sliceは、インタースライスにおいて、BT分割可能なブロックの最大サイズ(幅あるいは高さ)とCUの最小サイズとの、差分の2の対数表現を規定する。 For the above processing, the CT information coding unit 1111 may encode the maximum tree size. For example, in lossless coding, ph_log2_diff_max_bt_min_qt_intra_slice_luma = 0 and ph_log2_diff_max_bt_min_qt_inter_slice = 0 may be set. Here, ph_log2_diff_max_bt_min_qt_intra_slice_luma defines a binary representation of the difference between the maximum size (width or height) of the BT-dividable block and the minimum size of the CU in the luminance component of the intra slice. ph_log2_diff_max_bt_min_qt_inter_slice defines a binary representation of the difference between the maximum size (width or height) of a BT-dividable block and the minimum size of a CU in an interslice.

MaxBtSizeY = 1 << (MinQtLog2SizeY + ph_log2_diff_max_bt_min_qt_intra_slice_luma)
MaxBtSizeY = 1 << (MinQtLog2SizeY + ph_log2_diff_max_bt_min_qt_inter_slice)
あるいは、復号側と同様に設定してもよい。
MaxBtSizeY = 1 << (MinQtLog2SizeY + ph_log2_diff_max_bt_min_qt_intra_slice_luma)
MaxBtSizeY = 1 << (MinQtLog2SizeY + ph_log2_diff_max_bt_min_qt_inter_slice)
Alternatively, it may be set in the same manner as on the decoding side.

MaxBtSizeY = sps_lossless_mode_enabled_flag? 8 : 1 << (MinQtLog2SizeY + ph_log2_diff_max_bt_min_qt_intra_slice_luma)
MaxBtSizeY = sps_lossless_mode_enabled_flag? 8 : 1 << (MinQtLog2SizeY + ph_log2_diff_max_bt_min_qt_inter_slice)
CU符号化部1112はCU情報、予測情報、TU分割フラグ、CU残差フラグ等を符号化する。
MaxBtSizeY = sps_lossless_mode_enabled_flag? 8: 1 << (MinQtLog2SizeY + ph_log2_diff_max_bt_min_qt_intra_slice_luma)
MaxBtSizeY = sps_lossless_mode_enabled_flag? 8: 1 << (MinQtLog2SizeY + ph_log2_diff_max_bt_min_qt_inter_slice)
The CU coding unit 1112 encodes CU information, prediction information, a TU division flag, a CU residual flag, and the like.

TU符号化部1114は、TUに予測誤差が含まれている場合に、QP更新情報と量子化変換係数を符号化する。 The TU coding unit 1114 encodes the QP update information and the quantization conversion coefficient when the TU contains a prediction error.

CT情報符号化部1111、CU符号化部1112は、インター予測パラメータ、イントラ予測パラメータ、量子化変換係数等のシンタックス要素をエントロピー符号化部104に供給する。 The CT information coding unit 1111 and the CU coding unit 1112 supply the entropy coding unit 104 with syntax elements such as inter-prediction parameters, intra-prediction parameters, and quantization conversion coefficients.

加算部106は、予測画像生成部101から入力されたブロックの予測画像の画素値と逆量子化・逆変換部105から入力された予測誤差を画素毎に加算して復号画像を生成する。加算
部106は生成した復号画像を参照ピクチャメモリ109に記憶する。
The addition unit 106 adds the pixel value of the prediction image of the block input from the prediction image generation unit 101 and the prediction error input from the inverse quantization / inverse conversion unit 105 for each pixel to generate a decoded image. The addition unit 106 stores the generated decoded image in the reference picture memory 109.

ループフィルタ107は加算部106が生成した復号画像に対し、デブロッキングフィルタ、SAO、ALFを施す。なお、ループフィルタ107は、必ずしも上記3種類のフィルタを含まな
くてもよく、例えばデブロッキングフィルタのみの構成であってもよい。
The loop filter 107 applies a deblocking filter, SAO, and ALF to the decoded image generated by the addition unit 106. The loop filter 107 does not necessarily have to include the above three types of filters, and may have, for example, a configuration of only a deblocking filter.

SAOは、サンプル単位で分類結果に応じたオフセットを加算するフィルタであり、ALFは、通知したフィルタ係数と参照画像(もしくは参照画像と対象画素との差異)の積和を用いるフィルタである。 SAO is a filter that adds an offset according to the classification result for each sample, and ALF is a filter that uses the sum of products of the notified filter coefficient and the reference image (or the difference between the reference image and the target pixel).

予測パラメータメモリ108は、符号化パラメータ決定部110が生成した予測パラメータを、対象ピクチャ及びCU毎に予め定めた位置に記憶する。 The prediction parameter memory 108 stores the prediction parameters generated by the coding parameter determination unit 110 at predetermined positions for each target picture and CU.

参照ピクチャメモリ109は、ループフィルタ107が生成した復号画像を対象ピクチャ及びCU毎に予め定めた位置に記憶する。 The reference picture memory 109 stores the decoded image generated by the loop filter 107 at a predetermined position for each target picture and CU.

符号化パラメータ決定部110は、符号化パラメータの複数のセットのうち、1つのセットを選択する。符号化パラメータとは、上述したQT、BTあるいはTT分割情報、予測パラメータ、あるいはこれらに関連して生成される符号化の対象となるパラメータである。予測画像生成部101は、これらの符号化パラメータを用いて予測画像を生成する。 The coding parameter determination unit 110 selects one set from the plurality of sets of coding parameters. The coding parameter is the above-mentioned QT, BT or TT division information, prediction parameter, or a parameter to be coded generated in connection with these. The prediction image generation unit 101 generates a prediction image using these coding parameters.

符号化パラメータ決定部110は、複数のセットの各々について情報量の大きさと符号化
誤差を示すRDコスト値を算出する。符号化パラメータ決定部110は、算出したコスト値が
最小となる符号化パラメータのセットを選択する。これにより、エントロピー符号化部104は、選択した符号化パラメータのセットを符号化ストリームTeとして出力する。符号化パラメータ決定部110は決定した符号化パラメータを予測パラメータメモリ108に記憶する。
The coding parameter determination unit 110 calculates an RD cost value indicating the magnitude of the amount of information and the coding error for each of the plurality of sets. The coding parameter determination unit 110 selects the set of coding parameters that minimizes the calculated cost value. As a result, the entropy coding unit 104 outputs the selected set of coding parameters as the coding stream Te. The coding parameter determination unit 110 stores the determined coding parameter in the prediction parameter memory 108.

なお、上述した実施形態における動画像符号化装置11、動画像復号装置31の一部、例えば、エントロピー復号部301、パラメータ復号部302、ループフィルタ305、予測画像生成
部308、逆量子化・逆変換部311、加算部312、予測画像生成部101、減算部102、変換・量
子化部103、エントロピー符号化部104、逆量子化・逆変換部105、ループフィルタ107、符号化パラメータ決定部110、パラメータ符号化部111をコンピュータで実現するようにしてもよい。その場合、この制御機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することによって実現してもよい。なお、ここでいう「コンピュータシステム」とは、動画像符号化装置11、動画像復号装置31の何れかに内蔵されたコンピュータシステムであって、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD-ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含んでもよい。また上記プログラムは、前述した機能の一部を実現するためのものであってもよく、さらに前述した機能をコンピュータシステムに既に記録されているプログラムとの組み合わせで実現できるものであってもよい。
A part of the moving image coding device 11 and the moving image decoding device 31 in the above-described embodiment, for example, the entropy decoding unit 301, the parameter decoding unit 302, the loop filter 305, the prediction image generation unit 308, and the inverse quantization / reverse. Conversion unit 311, Addition unit 312, Prediction image generation unit 101, Subtraction unit 102, Conversion / quantization unit 103, Entropy coding unit 104, Inverse quantization / inverse conversion unit 105, Loop filter 107, Coding parameter determination unit 110 , The parameter coding unit 111 may be realized by a computer. In that case, the program for realizing this control function may be recorded on a computer-readable recording medium, and the program recorded on the recording medium may be read by the computer system and executed. The "computer system" referred to here is a computer system built in any of the moving image coding device 11 and the moving image decoding device 31, and includes hardware such as an OS and peripheral devices. Further, the "computer-readable recording medium" refers to a portable medium such as a flexible disk, a magneto-optical disk, a ROM, or a CD-ROM, or a storage device such as a hard disk built in a computer system. Furthermore, a "computer-readable recording medium" is a medium that dynamically holds a program for a short period of time, such as a communication line when a program is transmitted via a network such as the Internet or a communication line such as a telephone line. In that case, a program may be held for a certain period of time, such as a volatile memory inside a computer system serving as a server or a client. Further, the above-mentioned program may be a program for realizing a part of the above-mentioned functions, and may be a program for realizing the above-mentioned functions in combination with a program already recorded in the computer system.

また、上述した実施形態における動画像符号化装置11、動画像復号装置31の一部、又は全部を、LSI(Large Scale Integration)等の集積回路として実現してもよい。動画像符号化装置11、動画像復号装置31の各機能ブロックは個別にプロセッサ化してもよいし、一部、又は全部を集積してプロセッサ化してもよい。また、集積回路化の手法はLSIに限らず専用回路、又は汎用プロセッサで実現してもよい。また、半導体技術の進歩によりLSIに代替する集積回路化の技術が出現した場合、当該技術による集積回路を用いてもよい。 Further, a part or all of the moving image coding device 11 and the moving image decoding device 31 in the above-described embodiment may be realized as an integrated circuit such as an LSI (Large Scale Integration). Each functional block of the moving image coding device 11 and the moving image decoding device 31 may be individually converted into a processor, or a part or all of them may be integrated into a processor. Further, the method of making an integrated circuit is not limited to the LSI, and may be realized by a dedicated circuit or a general-purpose processor. Further, when an integrated circuit technology that replaces an LSI appears due to advances in semiconductor technology, an integrated circuit based on this technology may be used.

以上、図面を参照してこの発明の一実施形態について詳しく説明してきたが、具体的な構成は上述のものに限られることはなく、この発明の要旨を逸脱しない範囲内において様々な設計変更等をすることが可能である。 Although one embodiment of the present invention has been described in detail with reference to the drawings, the specific configuration is not limited to the above, and various design changes and the like are made without departing from the gist of the present invention. It is possible to do.

〔応用例〕
上述した動画像符号化装置11及び動画像復号装置31は、動画像の送信、受信、記録、再生を行う各種装置に搭載して利用することができる。なお、動画像は、カメラ等により撮像された自然動画像であってもよいし、コンピュータ等により生成された人工動画像(CG及びGUIを含む)であってもよい。
[Application example]
The moving image coding device 11 and the moving image decoding device 31 described above can be mounted on and used in various devices that transmit, receive, record, and reproduce moving images. The moving image may be a natural moving image captured by a camera or the like, or an artificial moving image (including CG and GUI) generated by a computer or the like.

まず、上述した動画像符号化装置11及び動画像復号装置31を、動画像の送信及び受信に利用できることを、図2を参照して説明する。 First, it will be described with reference to FIG. 2 that the moving image coding device 11 and the moving image decoding device 31 described above can be used for transmitting and receiving moving images.

図2には、動画像符号化装置11を搭載した送信装置PROD_Aの構成を示したブロック図が
示されている。図に示すように、送信装置PROD_Aは、動画像を符号化することによって符号化データを得る符号化部PROD_A1と、符号化部PROD_A1が得た符号化データで搬送波を変調することによって変調信号を得る変調部PROD_A2と、変調部PROD_A2が得た変調信号を送信する送信部PROD_A3と、を備えている。上述した動画像符号化装置11は、この符号化部PROD_A1として利用される。
FIG. 2 shows a block diagram showing the configuration of the transmission device PROD_A equipped with the moving image coding device 11. As shown in the figure, the transmitter PROD_A has a coding unit PROD_A1 that obtains coded data by encoding a moving image, and a modulation signal by modulating a carrier with the coded data obtained by the coding unit PROD_A1. It includes a modulation unit PROD_A2 to obtain and a transmission unit PROD_A3 to transmit the modulation signal obtained by the modulation unit PROD_A2. The moving image coding device 11 described above is used as the coding unit PROD_A1.

送信装置PROD_Aは、符号化部PROD_A1に入力する動画像の供給源として、動画像を撮像
するカメラPROD_A4、動画像を記録した記録媒体PROD_A5、動画像を外部から入力するための入力端子PROD_A6、及び、画像を生成又は加工する画像処理部A7を更に備えていてもよ
い。図においては、これら全てを送信装置PROD_Aが備えた構成を例示しているが、一部を省略しても構わない。
The transmitter PROD_A has a camera PROD_A4 for capturing a moving image, a recording medium PROD_A5 for recording a moving image, an input terminal PROD_A6 for inputting a moving image from the outside, and a moving image as a source of the moving image to be input to the coding unit PROD_A1. , An image processing unit A7 for generating or processing an image may be further provided. In the figure, the configuration in which the transmitter PROD_A is provided with all of these is illustrated, but some of them may be omitted.

なお、記録媒体PROD_A5は、符号化されていない動画像を記録したものであってもよい
し、伝送用の符号化方式とは異なる記録用の符号化方式で符号化された動画像を記録したものであってもよい。後者の場合、記録媒体PROD_A5と符号化部PROD_A1との間に、記録媒体PROD_A5から読み出した符号化データを記録用の符号化方式に従って復号する復号部(
不図示)を介在させるとよい。
The recording medium PROD_A5 may be a recording of an unencoded moving image, or a moving image encoded by a recording coding method different from the transmission coding method. It may be a thing. In the latter case, a decoding unit (decoding unit) that decodes the coded data read from the recording medium PROD_A5 between the recording medium PROD_A5 and the coding unit PROD_A1 according to the coding method for recording.
It is advisable to intervene (not shown).

また、図2には、動画像復号装置31を搭載した受信装置PROD_Bの構成を示したブロック
図が示されている。図に示すように、受信装置PROD_Bは、変調信号を受信する受信部PROD_B1と、受信部PROD_B1が受信した変調信号を復調することによって符号化データを得る復調部PROD_B2と、復調部PROD_B2が得た符号化データを復号することによって動画像を得る復号部PROD_B3と、を備えている。上述した動画像復号装置31は、この復号部PROD_B3として利用される。
Further, FIG. 2 shows a block diagram showing the configuration of the receiving device PROD_B equipped with the moving image decoding device 31. As shown in the figure, the receiving device PROD_B is obtained by a receiving unit PROD_B1 that receives a modulated signal, a demodulating unit PROD_B2 that obtains coded data by demodulating the modulated signal received by the receiving unit PROD_B1, and a demodulating unit PROD_B2. It includes a decoding unit PROD_B3 that obtains a moving image by decoding the encoded data. The moving image decoding device 31 described above is used as the decoding unit PROD_B3.

受信装置PROD_Bは、復号部PROD_B3が出力する動画像の供給先として、動画像を表示す
るディスプレイPROD_B4、動画像を記録するための記録媒体PROD_B5、及び、動画像を外部に出力するための出力端子PROD_B6を更に備えていてもよい。図においては、これら全て
を受信装置PROD_Bが備えた構成を例示しているが、一部を省略しても構わない。
The receiving device PROD_B is a display PROD_B4 for displaying the moving image, a recording medium PROD_B5 for recording the moving image, and an output terminal for outputting the moving image to the outside as a supply destination of the moving image output by the decoding unit PROD_B3. It may also have PROD_B6. In the figure, the configuration in which the receiving device PROD_B is provided with all of these is illustrated, but some of them may be omitted.

なお、記録媒体PROD_B5は、符号化されていない動画像を記録するためのものであって
もよいし、伝送用の符号化方式とは異なる記録用の符号化方式で符号化されたものであってもよい。後者の場合、復号部PROD_B3と記録媒体PROD_B5との間に、復号部PROD_B3から
取得した動画像を記録用の符号化方式に従って符号化する符号化部(不図示)を介在させるとよい。
The recording medium PROD_B5 may be used for recording an unencoded moving image, or may be encoded by a recording coding method different from the transmission coding method. You may. In the latter case, a coding unit (not shown) that encodes the moving image acquired from the decoding unit PROD_B3 according to the recording coding method may be interposed between the decoding unit PROD_B3 and the recording medium PROD_B5.

なお、変調信号を伝送する伝送媒体は、無線であってもよいし、有線であってもよい。また、変調信号を伝送する伝送態様は、放送(ここでは、送信先が予め特定されていない送信態様を指す)であってもよいし、通信(ここでは、送信先が予め特定されている送信態様を指す)であってもよい。すなわち、変調信号の伝送は、無線放送、有線放送、無線通信、及び有線通信の何れによって実現してもよい。 The transmission medium for transmitting the modulated signal may be wireless or wired. Further, the transmission mode for transmitting the modulated signal may be broadcasting (here, a transmission mode in which the destination is not specified in advance) or communication (here, transmission in which the destination is specified in advance). Refers to an aspect). That is, the transmission of the modulated signal may be realized by any of wireless broadcasting, wired broadcasting, wireless communication, and wired communication.

例えば、地上デジタル放送の放送局(放送設備等)/受信局(テレビジョン受像機等)は、変調信号を無線放送で送受信する送信装置PROD_A/受信装置PROD_Bの一例である。また、ケーブルテレビ放送の放送局(放送設備等)/受信局(テレビジョン受像機等)は、変調信号を有線放送で送受信する送信装置PROD_A/受信装置PROD_Bの一例である。 For example, a broadcasting station (broadcasting equipment, etc.) / receiving station (television receiver, etc.) of terrestrial digital broadcasting is an example of a transmitting device PROD_A / receiving device PROD_B that transmits and receives modulated signals by wireless broadcasting. Further, a broadcasting station (broadcasting equipment, etc.) / receiving station (television receiver, etc.) of cable television broadcasting is an example of a transmitting device PROD_A / receiving device PROD_B that transmits and receives modulated signals by wired broadcasting.

また、インターネットを用いたVOD(Video On Demand)サービスや動画共有サービス等のサーバ(ワークステーション等)/クライアント(テレビジョン受像機、パーソナルコンピュータ、スマートフォン等)は、変調信号を通信で送受信する送信装置PROD_A/受信装置PROD_Bの一例である(通常、LANにおいては伝送媒体として無線又は有線の何れかが用いられ、WANにおいては伝送媒体として有線が用いられる)。ここで、パーソナルコンピュータには、デスクトップ型PC、ラップトップ型PC、及びタブレット型PCが含まれる。また、スマートフォンには、多機能携帯電話端末も含まれる。 In addition, servers (workstations, etc.) / clients (television receivers, personal computers, smartphones, etc.) for VOD (Video On Demand) services and video sharing services using the Internet are transmitters that send and receive modulated signals via communication. This is an example of PROD_A / receiver PROD_B (usually, in LAN, either wireless or wired is used as a transmission medium, and in WAN, wired is used as a transmission medium). Here, personal computers include desktop PCs, laptop PCs, and tablet PCs. Smartphones also include multifunctional mobile phone terminals.

なお、動画共有サービスのクライアントは、サーバからダウンロードした符号化データを復号してディスプレイに表示する機能に加え、カメラで撮像した動画像を符号化してサーバにアップロードする機能を有している。すなわち、動画共有サービスのクライアントは、送信装置PROD_A及び受信装置PROD_Bの双方として機能する。 The client of the video sharing service has a function of decoding the encoded data downloaded from the server and displaying it on the display, as well as a function of encoding the moving image captured by the camera and uploading it to the server. That is, the client of the video sharing service functions as both the transmitting device PROD_A and the receiving device PROD_B.

次に、上述した動画像符号化装置11及び動画像復号装置31を、動画像の記録及び再生に利用できることを、図3を参照して説明する。 Next, it will be described with reference to FIG. 3 that the moving image coding device 11 and the moving image decoding device 31 described above can be used for recording and reproducing a moving image.

図3には、上述した動画像符号化装置11を搭載した記録装置PROD_Cの構成を示したブロ
ック図が示されている。図に示すように、記録装置PROD_Cは、動画像を符号化することによって符号化データを得る符号化部PROD_C1と、符号化部PROD_C1が得た符号化データを記録媒体PROD_Mに書き込む書込部PROD_C2と、を備えている。上述した動画像符号化装置11
は、この符号化部PROD_C1として利用される。
FIG. 3 shows a block diagram showing the configuration of the recording device PROD_C equipped with the moving image coding device 11 described above. As shown in the figure, the recording device PROD_C has a coding unit PROD_C1 that obtains coded data by encoding a moving image and a writing unit PROD_C2 that writes the coded data obtained by the coding unit PROD_C1 to the recording medium PROD_M. And have. The above-mentioned moving image coding device 11
Is used as this coding unit PROD_C1.

なお、記録媒体PROD_Mは、(1)HDD(Hard Disk Drive)やSSD(Solid State Drive)等のように、記録装置PROD_Cに内蔵されるタイプのものであってもよいし、(2)SDメモリカードやUSB(Universal Serial Bus)フラッシュメモリ等のように、記録装置PROD_Cに
接続されるタイプのものであってもよいし、(3)DVD(Digital Versatile Disc:登録商標)やBD(Blu-ray Disc:登録商標)等のように、記録装置PROD_Cに内蔵されたドライブ
装置(不図示)に装填されるものであってもよい。
The recording medium PROD_M may be of a type built in the recording device PROD_C, such as (1) HDD (Hard Disk Drive) or SSD (Solid State Drive), or (2) SD memory. It may be of a type that is connected to the recording device PROD_C, such as a card or USB (Universal Serial Bus) flash memory, or (3) DVD (Digital Versatile Disc: registered trademark) or BD (Blu-ray). It may be loaded into a drive device (not shown) built in the recording device PROD_C, such as Disc (registered trademark).

また、記録装置PROD_Cは、符号化部PROD_C1に入力する動画像の供給源として、動画像
を撮像するカメラPROD_C3、動画像を外部から入力するための入力端子PROD_C4、動画像を受信するための受信部PROD_C5、及び、画像を生成又は加工する画像処理部PROD_C6を更に備えていてもよい。図においては、これら全てを記録装置PROD_Cが備えた構成を例示しているが、一部を省略しても構わない。
Further, the recording device PROD_C has a camera PROD_C3 that captures a moving image, an input terminal PROD_C4 for inputting a moving image from the outside, and a reception for receiving the moving image as a source of the moving image to be input to the coding unit PROD_C1. The unit PROD_C5 and the image processing unit PROD_C6 for generating or processing an image may be further provided. In the figure, the configuration in which the recording device PROD_C is provided with all of these is illustrated, but some of them may be omitted.

なお、受信部PROD_C5は、符号化されていない動画像を受信するものであってもよいし
、記録用の符号化方式とは異なる伝送用の符号化方式で符号化された符号化データを受信するものであってもよい。後者の場合、受信部PROD_C5と符号化部PROD_C1との間に、伝送用の符号化方式で符号化された符号化データを復号する伝送用復号部(不図示)を介在させるとよい。
The receiving unit PROD_C5 may receive an unencoded moving image, or receives coded data encoded by a transmission coding method different from the recording coding method. It may be something to do. In the latter case, it is preferable to interpose a transmission decoding unit (not shown) for decoding the coded data encoded by the transmission coding method between the receiving unit PROD_C5 and the coding unit PROD_C1.

このような記録装置PROD_Cとしては、例えば、DVDレコーダ、BDレコーダ、HDD(Hard Disk Drive)レコーダ等が挙げられる(この場合、入力端子PROD_C4又は受信部PROD_C5が
動画像の主な供給源となる)。また、カムコーダ(この場合、カメラPROD_C3が動画像の
主な供給源となる)、パーソナルコンピュータ(この場合、受信部PROD_C5又は画像処理
部C6が動画像の主な供給源となる)、スマートフォン(この場合、カメラPROD_C3又は受
信部PROD_C5が動画像の主な供給源となる)等も、このような記録装置PROD_Cの一例であ
る。
Examples of such a recording device PROD_C include a DVD recorder, a BD recorder, an HDD (Hard Disk Drive) recorder, and the like (in this case, the input terminal PROD_C4 or the receiving unit PROD_C5 is the main source of moving images). .. In addition, a camcorder (in this case, the camera PROD_C3 is the main source of moving images), a personal computer (in this case, the receiving unit PROD_C5 or the image processing unit C6 is the main source of moving images), and a smartphone (this In this case, the camera PROD_C3 or the receiving unit PROD_C5 is the main source of moving images), etc. are also examples of such a recording device PROD_C.

また、図3には、上述した動画像復号装置31を搭載した再生装置PROD_Dの構成を示した
ブロック図が示されている。図に示すように、再生装置PROD_Dは、記録媒体PROD_Mに書き込まれた符号化データを読み出す読出部PROD_D1と、読出部PROD_D1が読み出した符号化データを復号することによって動画像を得る復号部PROD_D2と、を備えている。上述した動画像復号装置31は、この復号部PROD_D2として利用される。
Further, FIG. 3 shows a block diagram showing the configuration of the reproduction device PROD_D equipped with the above-mentioned moving image decoding device 31. As shown in the figure, the playback device PROD_D includes a reading unit PROD_D1 that reads the coded data written in the recording medium PROD_M, and a decoding unit PROD_D2 that obtains a moving image by decoding the coded data read by the reading unit PROD_D1. , Is equipped. The moving image decoding device 31 described above is used as the decoding unit PROD_D2.

なお、記録媒体PROD_Mは、(1)HDDやSSD等のように、再生装置PROD_Dに内蔵されるタイプのものであってもよいし、(2)SDメモリカードやUSBフラッシュメモリ等のように
、再生装置PROD_Dに接続されるタイプのものであってもよいし、(3)DVDやBD等のよう
に、再生装置PROD_Dに内蔵されたドライブ装置(不図示)に装填されるものであってもよい。
The recording medium PROD_M may be of a type built in the playback device PROD_D, such as (1) HDD or SSD, or (2) such as an SD memory card or USB flash memory. It may be of a type connected to the playback device PROD_D, or may be loaded into a drive device (not shown) built in the playback device PROD_D, such as (3) DVD or BD. good.

また、再生装置PROD_Dは、復号部PROD_D2が出力する動画像の供給先として、動画像を
表示するディスプレイPROD_D3、動画像を外部に出力するための出力端子PROD_D4、及び、動画像を送信する送信部PROD_D5を更に備えていてもよい。図においては、これら全てを
再生装置PROD_Dが備えた構成を例示しているが、一部を省略しても構わない。
Further, the playback device PROD_D has a display PROD_D3 for displaying the moving image, an output terminal PROD_D4 for outputting the moving image to the outside, and a transmitting unit for transmitting the moving image as a supply destination of the moving image output by the decoding unit PROD_D2. It may also have PROD_D5. In the figure, the configuration in which the playback device PROD_D is provided with all of these is illustrated, but some of them may be omitted.

なお、送信部PROD_D5は、符号化されていない動画像を送信するものであってもよいし
、記録用の符号化方式とは異なる伝送用の符号化方式で符号化された符号化データを送信するものであってもよい。後者の場合、復号部PROD_D2と送信部PROD_D5との間に、動画像を伝送用の符号化方式で符号化する符号化部(不図示)を介在させるとよい。
The transmission unit PROD_D5 may transmit an unencoded moving image, or transmits coded data encoded by a transmission coding method different from the recording coding method. It may be something to do. In the latter case, it is preferable to interpose a coding unit (not shown) that encodes the moving image by a coding method for transmission between the decoding unit PROD_D2 and the transmitting unit PROD_D5.

このような再生装置PROD_Dとしては、例えば、DVDプレイヤ、BDプレイヤ、HDDプレイヤ等が挙げられる(この場合、テレビジョン受像機等が接続される出力端子PROD_D4が動画
像の主な供給先となる)。また、テレビジョン受像機(この場合、ディスプレイPROD_D3
が動画像の主な供給先となる)、デジタルサイネージ(電子看板や電子掲示板等とも称され、ディスプレイPROD_D3又は送信部PROD_D5が動画像の主な供給先となる)、デスクトップ型PC(この場合、出力端子PROD_D4又は送信部PROD_D5が動画像の主な供給先となる)、ラップトップ型又はタブレット型PC(この場合、ディスプレイPROD_D3又は送信部PROD_D5
が動画像の主な供給先となる)、スマートフォン(この場合、ディスプレイPROD_D3又は
送信部PROD_D5が動画像の主な供給先となる)等も、このような再生装置PROD_Dの一例で
ある。
Examples of such a playback device PROD_D include a DVD player, a BD player, an HDD player, and the like (in this case, the output terminal PROD_D4 to which a television receiver or the like is connected is the main supply destination of moving images). .. Also, the television receiver (in this case, display PROD_D3)
Is the main supply destination for moving images), digital signage (also called electronic signage or electronic bulletin board, and the display PROD_D3 or transmitter PROD_D5 is the main supply destination for moving images), desktop PC (in this case, Output terminal PROD_D4 or transmitter PROD_D5 is the main source of moving images), laptop or tablet PC (in this case, display PROD_D3 or transmitter PROD_D5)
Is the main supply destination for moving images), smartphones (in this case, the display PROD_D3 or the transmitter PROD_D5 is the main supply destination for moving images), and the like are also examples of such a playback device PROD_D.

(ハードウェア的実現及びソフトウェア的実現)
また、上述した動画像復号装置31及び動画像符号化装置11の各ブロックは、集積回路(ICチップ)上に形成された論理回路によってハードウェア的に実現してもよいし、CPU(Central Processing Unit)を用いてソフトウェア的に実現してもよい。
(Hardware realization and software realization)
Further, each block of the moving image decoding device 31 and the moving image coding device 11 described above may be realized in hardware by a logic circuit formed on an integrated circuit (IC chip), or may be realized by hardware, or a CPU (Central Processing). It may be realized by software using Unit).

後者の場合、上記各装置は、各機能を実現するプログラムの命令を実行するCPU、上記
プログラムを格納したROM(Read Only Memory)、上記プログラムを展開するRAM(Random
Access Memory)、上記プログラム及び各種データを格納するメモリ等の記憶装置(記録媒体)等を備えている。そして、本発明の実施形態の目的は、上述した機能を実現するソフトウェアである上記各装置の制御プログラムのプログラムコード(実行形式プログラム、中間コードプログラム、ソースプログラム)をコンピュータで読み取り可能に記録した記録媒体を、上記各装置に供給し、そのコンピュータ(又はCPUやMPU)が記録媒体に記録されているプログラムコードを読み出し実行することによっても、達成可能である。
In the latter case, each of the above devices is a CPU that executes instructions of a program that realizes each function, a ROM (Read Only Memory) that stores the above program, and a RAM (Random) that expands the above program.
Access Memory), a storage device (recording medium) such as a memory for storing the above program and various data. Then, an object of the embodiment of the present invention is a record in which the program code (execution format program, intermediate code program, source program) of the control program of each of the above devices, which is software for realizing the above-mentioned functions, is recorded so as to be readable by a computer. It can also be achieved by supplying the medium to each of the above devices and having the computer (or CPU or MPU) read and execute the program code recorded on the recording medium.

上記記録媒体としては、例えば、磁気テープやカセットテープ等のテープ類、フロッピー(登録商標)ディスク/ハードディスク等の磁気ディスクやCD-ROM(Compact Disc Read-Only Memory)/MOディスク(Magneto-Optical disc)/MD(Mini Disc)/DVD(Digital Versatile Disc:登録商標)/CD-R(CD Recordable)/ブルーレイディスク(Blu-ray
Disc:登録商標)等の光ディスクを含むディスク類、ICカード(メモリカードを含む)
/光カード等のカード類、マスクROM/EPROM(Erasable Programmable Read-Only Memory)/EEPROM(Electrically Erasable and Programmable Read-Only Memory:登録商標)
/フラッシュROM等の半導体メモリ類、あるいはPLD(Programmable logic device)やFPGA(Field Programmable Gate Array)等の論理回路類等を用いることができる。
Examples of the recording medium include tapes such as magnetic tapes and cassette tapes, magnetic discs such as floppy (registered trademark) discs / hard disks, and CD-ROMs (Compact Disc Read-Only Memory) / MO discs (Magneto-Optical discs). ) / MD (Mini Disc) / DVD (Digital Versatile Disc: registered trademark) / CD-R (CD Recordable) / Blu-ray disc (Blu-ray)
Discs including optical discs such as Disc: registered trademark), IC cards (including memory cards)
/ Cards such as optical cards, mask ROM / EPROM (Erasable Programmable Read-Only Memory) / EEPROM (Electrically Erasable and Programmable Read-Only Memory: registered trademark)
/ Semiconductor memories such as flash ROM, or logic circuits such as PLD (Programmable logic device) and FPGA (Field Programmable Gate Array) can be used.

また、上記各装置を通信ネットワークと接続可能に構成し、上記プログラムコードを通信ネットワークを介して供給してもよい。この通信ネットワークは、プログラムコードを伝送可能であればよく、特に限定されない。例えば、インターネット、イントラネット、エキストラネット、LAN(Local Area Network)、ISDN(Integrated Services Digital Network)、VAN(Value-Added Network)、CATV(Community Antenna television/Cable Television)通信網、仮想専用網(Virtual Private Network)、電話回線網、移動体通信網、衛星通信網等が利用可能である。また、この通信ネットワークを構成する伝送媒体も、プログラムコードを伝送可能な媒体であればよく、特定の構成又は種類のものに限定されない。例えば、IEEE(Institute of Electrical and Electronic Engineers)1394、USB、電力線搬送、ケーブルTV回線、電話線、ADSL(Asymmetric Digital Subscriber Line)回線等の有線でも、IrDA(Infrared Data Association)やリモコンのような赤外線、BlueTooth(登録商標)、IEEE802.11無線、HDR(High Data Rate)、NFC(Near Field Communication)、DLNA(Digital Living Network Alliance:登録商標)、携帯電話網、衛星回線、地上デジタル放送網等の無線でも利用可能である。なお、本発明の実施形態は、上記プログラムコードが電子的な伝送で具現化された、搬送波に埋め込まれたコンピュータデータ信号の形態でも実現され得る。 Further, each of the above devices may be configured to be connectable to a communication network, and the above program code may be supplied via the communication network. This communication network is not particularly limited as long as it can transmit the program code. For example, Internet, Intranet, Extranet, LAN (Local Area Network), ISDN (Integrated Services Digital Network), VAN (Value-Added Network), CATV (Community Antenna television / Cable Television) communication network, Virtual Private network (Virtual Private) Network), telephone line network, mobile communication network, satellite communication network, etc. can be used. Further, the transmission medium constituting this communication network may be any medium as long as it can transmit the program code, and is not limited to a specific configuration or type. For example, even wired such as IEEE (Institute of Electrical and Electronic Engineers) 1394, USB, power line carrier, cable TV line, telephone line, ADSL (Asymmetric Digital Subscriber Line) line, infrared data such as IrDA (Infrared Data Association) and remote control , BlueTooth (registered trademark), IEEE802.11 wireless, HDR (High Data Rate), NFC (Near Field Communication), DLNA (Digital Living Network Alliance: registered trademark), mobile phone network, satellite line, terrestrial digital broadcasting network, etc. It is also available wirelessly. The embodiment of the present invention can also be realized in the form of a computer data signal embedded in a carrier wave, in which the program code is embodied by electronic transmission.

本発明の実施形態は上述した実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能である。すなわち、請求項に示した範囲で適宜変更した技術的手段を組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。 The embodiment of the present invention is not limited to the above-described embodiment, and various modifications can be made within the scope of the claims. That is, an embodiment obtained by combining technical means appropriately modified within the scope of the claims is also included in the technical scope of the present invention.

本発明の実施形態は、画像データが符号化された符号化データを復号する動画像復号装置、及び、画像データが符号化された符号化データを生成する動画像符号化装置に好適に適用することができる。また、動画像符号化装置によって生成され、動画像復号装置によって参照される符号化データのデータ構造に好適に適用することができる。 The embodiment of the present invention is suitably applied to a moving image decoding device that decodes encoded data in which image data is encoded, and a moving image coding device that generates encoded data in which image data is encoded. be able to. Further, it can be suitably applied to the data structure of the coded data generated by the moving image coding device and referenced by the moving image decoding device.

31 動画像復号装置
301 エントロピー復号部
302 パラメータ復号部
3020 ヘッダ復号部
308 予測画像生成部
311 逆量子化・逆変換部
312 加算部
11 動画像符号化装置
101 予測画像生成部
102 減算部
103 変換・量子化部
104 エントロピー符号化部
105 逆量子化・逆変換部
107 ループフィルタ
110 符号化パラメータ決定部
111 パラメータ符号化部
1110 ヘッダ符号化部
1111 CT情報符号化部
1112 CU符号化部(予測モード符号化部)
1114 TU符号化部
31 Video decoding device
301 Entropy Decryptor
302 Parameter decoder
3020 Header decoder
308 Prediction image generator
311 Inverse quantization / inverse transformation
312 Addition part
11 Video coding device
101 Predictive image generator
102 Subtraction section
103 Transformation / Quantization Department
104 Entropy coding unit
105 Inverse quantization / inverse transformation
107 Loop filter
110 Coding parameter determination unit
111 Parameter coding section
1110 Header coding section
1111 CT information coding unit
1112 CU coding unit (prediction mode coding unit)
1114 TU coding section

Claims (11)

シーケンスパラメータセットSPSにて、ロスレス符号化を示す第1のフラグを復号する
ヘッダ復号部を備え、
ヘッダ復号部は、第1のフラグがロスレス符号化モードで符号化されていることを示す場合、ループフィルタと変換、量子化の利用可能性に関わる第2のフラグを復号せず、予め定められた値をセットし、第1のフラグがロスレス符号化モードで符号化されていないことを示す場合、上記第2のフラグを復号することを特徴とする動画像復号装置。
The sequence parameter set SPS is provided with a header decoding unit that decodes the first flag indicating lossless coding.
When the header decoding unit indicates that the first flag is encoded in the lossless coding mode, the header decoding unit does not decode the loop filter and the second flag related to the availability of conversion and quantization, and is predetermined. A moving image decoding apparatus, characterized in that the second flag is decoded when the first flag is not encoded in the lossless coding mode.
上記ヘッダ復号部は、第1のフラグがロスレス符号化モードで符号化されていることを示す場合、所定の予測処理(第2の処理)に含まれるツールの利用可能性を示す第4のフラグを復号せず、予め定められた値をセットし、第1のフラグが、ロスレス符号化モードで符号化されていないことを示す場合、第4のフラグを復号することを特徴とする請求項1に記載の動画像復号装置。 When the header decoding unit indicates that the first flag is encoded in the lossless coding mode, the header decoding unit indicates that the tool included in the predetermined prediction process (second process) is available. 1 is characterized in that the fourth flag is decoded when a predetermined value is set without decoding and the first flag indicates that the first flag is not encoded in the lossless coding mode. The moving image decoding device according to. 上記ヘッダ復号部は、第1のフラグがロスレス符号化モードで符号化されていることを示す場合、所定の予測処理(第2の処理)に含まれるツールの利用可能性を示す第3のフラグを復号せず、予め定められた値をセットし、第1のフラグが、ロスレス符号化モードで符号化されていないことを示す場合、第3のフラグを復号することを特徴とする請求項1に記載の動画像復号装置。 When the header decoding unit indicates that the first flag is encoded in the lossless coding mode, the header decoding unit indicates that the tool included in the predetermined prediction process (second process) is available. 1 is characterized in that the third flag is decoded when a predetermined value is set without decoding and the first flag indicates that the first flag is not encoded in the lossless coding mode. The moving image decoding device according to. シーケンスパラメータセットSPSにて、ロスレス符号化を示す第1のフラグを符号化す
るヘッダ符号化部を備え、
ヘッダ符号化部は、第1のフラグが、この符号化データがロスレス符号化モードで符号化されていることを示す場合、第2のフラグを符号化せず、予め定められた値をセットし、第1のフラグが、この符号化データがロスレス符号化モードで符号化されていないことを示す場合、第2のフラグを符号化することを特徴とする動画像符号化装置。
The sequence parameter set SPS includes a header coding unit that encodes the first flag indicating lossless coding.
When the first flag indicates that the coded data is encoded in the lossless coding mode, the header coding unit does not encode the second flag and sets a predetermined value. , A moving image coding apparatus, characterized in that the second flag is encoded when the first flag indicates that the encoded data is not encoded in the lossless coding mode.
上記ヘッダ符号化部は、第1のフラグが、この符号化データがロスレス符号化モードで符号化されていることを示す場合、第3及び第4のフラグを符号化せず、予め定められた値をセットし、第1のフラグが、この符号化データがロスレス符号化モードで符号化されていないことを示す場合、第4のフラグを符号化することを特徴とする請求項4に記載の動画像符号化装置。 When the first flag indicates that the coded data is encoded in the lossless coding mode, the header coding unit does not encode the third and fourth flags and is predetermined. The fourth aspect of claim 4, characterized in that a fourth flag is encoded when a value is set and the first flag indicates that the encoded data is not encoded in lossless encoding mode. Video encoding device. 上記ヘッダ符号化部は、第1のフラグが、この符号化データがロスレス符号化モードで符号化されていることを示す場合、第3のフラグを符号化せず、予め定められた値をセットし、第1のフラグが、この符号化データがロスレス符号化モードで符号化されていないことを示す場合、第3のフラグを符号化することを特徴とする請求項4に記載の動画像符号化装置。 When the first flag indicates that the coded data is encoded in the lossless coding mode, the header coding unit does not encode the third flag and sets a predetermined value. The moving image code according to claim 4, wherein the first flag encodes the third flag when the first flag indicates that the coded data is not encoded in the lossless coding mode. Chemical equipment. ピクチャパラメータセットPPSにて、ロスレス符号化を示す第5のフラグを復号するヘ
ッダ復号部を備え、
ヘッダ復号部は、上記第5のフラグがロスレス符号化モードで符号化されていることを示す場合、ループフィルタと量子化の利用可能性を示すPPSの第6のフラグとループフィ
ルタと量子化の利用可能性を示すPHの第9のフラグを復号せず、予め定められた値をセットし、上記第5のフラグがロスレス符号化モードで符号化されていないことを示す場合、上記第6のフラグを復号することを特徴とする動画像復号装置。
The picture parameter set PPS is provided with a header decoding unit that decodes the fifth flag indicating lossless coding.
When the header decoding unit indicates that the fifth flag is encoded in the lossless coding mode, the sixth flag of PPS, which indicates the availability of the loop filter and the quantization, and the loop filter and the quantization, indicate that the fifth flag is encoded. When the ninth flag of PH indicating availability is not decoded and a predetermined value is set to indicate that the fifth flag is not encoded in the lossless coding mode, the sixth flag is set. A moving image decoding device characterized by decoding a flag.
上記ヘッダ復号部は、上記第5のフラグが、この符号化データがロスレス符号化モードで符号化されていることを示す場合、第7、第8、第10のフラグを復号せず、予め定め
られた値をセットし、第5のフラグが、この符号化データがロスレス符号化モードで符号化されていないことを示す場合、第7、第8、第10のフラグを復号することを特徴とする請求項7に記載の動画像復号装置。
When the fifth flag indicates that the coded data is encoded in the lossless coding mode, the header decoding unit does not decode the seventh, eighth, and tenth flags, and determines in advance. When the set value is set and the fifth flag indicates that the coded data is not encoded in the lossless coding mode, the seventh, eighth, and tenth flags are decoded. The moving image decoding device according to claim 7.
ピクチャパラメータセットPPSにて、ロスレス符号化を示す第5のフラグを符号化する
ヘッダ符号化部を備え、
ヘッダ符号化部は、第5のフラグがロスレス符号化モードで符号化されていることを示す場合、ループフィルタと量子化の利用可能性を示すPPSのフラグ(第6のフラグ)とル
ープフィルタと量子化の利用可能性を示すPHのフラグ(第9のフラグ)を符号化せず、予め定められた値をセットし、第5のフラグがロスレス符号化モードで符号化されていないことを示す場合、第6のフラグと第9のフラグを符号化することを特徴とする動画像符号化装置。
The picture parameter set PPS includes a header coding unit that encodes a fifth flag indicating lossless coding.
When the header coding unit indicates that the fifth flag is encoded in the lossless coding mode, the loop filter, the PPS flag (sixth flag) indicating the availability of quantization, and the loop filter are used. The PH flag (9th flag) indicating the availability of quantization is not encoded, a predetermined value is set, and the 5th flag is not encoded in the lossless coding mode. In the case of a moving image coding device, the sixth flag and the ninth flag are encoded.
上記ヘッダ符号化部は、第5のフラグがロスレス符号化モードで符号化されていることを示す場合、第7、第8、第10のフラグを符号化せず、予め定められた値をセットし、第5のフラグが、この符号化データがロスレス符号化モードで符号化されていないことを示す場合、第7、第8、第10のフラグを符号化することを特徴とする請求項9に記載の動画像符号化装置。 When indicating that the fifth flag is encoded in the lossless coding mode, the header coding unit does not encode the seventh, eighth, and tenth flags, but sets a predetermined value. 9; The moving image encoding device according to. 画像を矩形の符号化ツリーユニット(CTU)に分割して処理する画像復号装置において、
上記ロスレス符号化モードで符号化されていることを示す場合、情報復号部は、最大BT、TT分割サイズを8以下と導出することを特徴とする動画像復号装置。
In an image decoding device that divides an image into rectangular coded tree units (CTUs) and processes them.
When indicating that the information is encoded in the lossless coding mode, the information decoding unit is a moving image decoding device characterized by deriving a maximum BT and TT division size of 8 or less.
JP2020057428A 2020-03-27 2020-03-27 Image decoding device and image encoding device Pending JP2021158546A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020057428A JP2021158546A (en) 2020-03-27 2020-03-27 Image decoding device and image encoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020057428A JP2021158546A (en) 2020-03-27 2020-03-27 Image decoding device and image encoding device

Publications (1)

Publication Number Publication Date
JP2021158546A true JP2021158546A (en) 2021-10-07

Family

ID=77918857

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020057428A Pending JP2021158546A (en) 2020-03-27 2020-03-27 Image decoding device and image encoding device

Country Status (1)

Country Link
JP (1) JP2021158546A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024007090A1 (en) * 2022-07-04 2024-01-11 嘉兴尚坤科技有限公司 Ultra-high-definition video data encoding/decoding processing method, and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024007090A1 (en) * 2022-07-04 2024-01-11 嘉兴尚坤科技有限公司 Ultra-high-definition video data encoding/decoding processing method, and system

Similar Documents

Publication Publication Date Title
JP7469904B2 (en) Image decoding device, image encoding device, image decoding method, and image encoding method
JP2021002780A (en) Video decoding device and video coding device
US11818363B2 (en) Video decoding apparatus and video coding apparatus
JP2021034980A (en) Image encoding device and image decoding device
JP2022024208A (en) Moving image decoding device and moving image encoding device
WO2020241858A1 (en) Image decoding device
WO2020184366A1 (en) Image decoding device
JP2021150703A (en) Image decoding device and image encoding device
JP2021158546A (en) Image decoding device and image encoding device
WO2021246284A1 (en) Moving image decoding device and moving image encoding device
JP2021034966A (en) Dynamic image encoding device and dynamic image decoding device
JP2021034848A (en) Image decoding device
JP2021034849A (en) Moving image decoding apparatus and moving image encoding apparatus
JP2021034887A (en) Image decoding device and image encoding device
JP2021136609A (en) Image decoding device and image encoding device
JP7444570B2 (en) Video decoding device, video encoding device, video decoding method, and video encoding method
US20230262224A1 (en) Moving image decoding method using chrominance format and intra-frame prediction mode
JP7425568B2 (en) Video decoding device, video encoding device, video decoding method, and video encoding method
JP2020195013A (en) Image decoding device and image encoding device
JP2021013110A (en) Image decoding device and image encoding device
JP2020205483A (en) Image decoding device and image encoding device
JP2021048556A (en) Image decoding device and image coding device
JP2021153214A (en) Dynamic image encoder and dynamic image decoder
JP2021061470A (en) Image decoding device and image coding device
JP2021125798A (en) Video encoding device, decoding device

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20221207