WO2021086055A1 - 변환에 기반한 영상 코딩 방법 및 그 장치 - Google Patents
변환에 기반한 영상 코딩 방법 및 그 장치 Download PDFInfo
- Publication number
- WO2021086055A1 WO2021086055A1 PCT/KR2020/014914 KR2020014914W WO2021086055A1 WO 2021086055 A1 WO2021086055 A1 WO 2021086055A1 KR 2020014914 W KR2020014914 W KR 2020014914W WO 2021086055 A1 WO2021086055 A1 WO 2021086055A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- block
- transform
- lfnst
- intra prediction
- prediction mode
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 146
- OSWPMRLSEDHDFF-UHFFFAOYSA-N methyl salicylate Chemical compound COC(=O)C1=CC=CC=C1O OSWPMRLSEDHDFF-UHFFFAOYSA-N 0.000 claims abstract description 161
- 241000023320 Luma <angiosperm> Species 0.000 claims abstract description 155
- 239000011159 matrix material Substances 0.000 claims description 146
- 230000009466 transformation Effects 0.000 description 123
- 238000005192 partition Methods 0.000 description 89
- 239000013598 vector Substances 0.000 description 82
- 239000000523 sample Substances 0.000 description 46
- 230000011664 signaling Effects 0.000 description 42
- 238000006243 chemical reaction Methods 0.000 description 38
- 238000013139 quantization Methods 0.000 description 34
- 230000008569 process Effects 0.000 description 32
- 238000001914 filtration Methods 0.000 description 26
- 208000037170 Delayed Emergence from Anesthesia Diseases 0.000 description 24
- 238000010586 diagram Methods 0.000 description 24
- 230000009977 dual effect Effects 0.000 description 18
- 238000012545 processing Methods 0.000 description 17
- 230000002441 reversible effect Effects 0.000 description 16
- 239000013074 reference sample Substances 0.000 description 11
- 230000005540 biological transmission Effects 0.000 description 10
- 238000013507 mapping Methods 0.000 description 10
- 238000004364 calculation method Methods 0.000 description 7
- 230000001965 increasing effect Effects 0.000 description 7
- 230000002123 temporal effect Effects 0.000 description 7
- 230000000694 effects Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 230000002093 peripheral effect Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 230000014509 gene expression Effects 0.000 description 5
- 230000003044 adaptive effect Effects 0.000 description 4
- 230000006835 compression Effects 0.000 description 4
- 238000007906 compression Methods 0.000 description 4
- 230000009467 reduction Effects 0.000 description 4
- 238000005070 sampling Methods 0.000 description 3
- 230000001131 transforming effect Effects 0.000 description 3
- PXFBZOLANLWPMH-UHFFFAOYSA-N 16-Epiaffinine Natural products C1C(C2=CC=CC=C2N2)=C2C(=O)CC2C(=CC)CN(C)C1C2CO PXFBZOLANLWPMH-UHFFFAOYSA-N 0.000 description 2
- 238000012935 Averaging Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 2
- 230000002146 bilateral effect Effects 0.000 description 2
- 230000001419 dependent effect Effects 0.000 description 2
- 238000009795 derivation Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000003709 image segmentation Methods 0.000 description 2
- 230000001939 inductive effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000000926 separation method Methods 0.000 description 2
- 238000000844 transformation Methods 0.000 description 2
- 230000002730 additional effect Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000015556 catabolic process Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000006731 degradation reaction Methods 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 230000007717 exclusion Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 239000010454 slate Substances 0.000 description 1
- 239000004984 smart glass Substances 0.000 description 1
- 238000000638 solvent extraction Methods 0.000 description 1
- 230000002194 synthesizing effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 238000011426 transformation method Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/60—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
- H04N19/61—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/132—Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/70—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/103—Selection of coding mode or of prediction mode
- H04N19/11—Selection of coding mode or of prediction mode among a plurality of spatial predictive coding modes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/12—Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/157—Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/157—Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
- H04N19/159—Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/176—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/18—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a set of transform coefficients
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/186—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a colour or a chrominance component
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/593—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
Definitions
- This document relates to an image coding technology, and more particularly, to a transform-based image coding method and an apparatus therefor in an image coding system.
- the image/video data becomes high-resolution and high-quality, the amount of information or bits to be transmitted increases relative to that of the existing image/video data. Therefore, the image data can be transmitted using a medium such as an existing wired/wireless broadband line or an existing storage medium. In the case of storing video/video data by using it, the transmission cost and storage cost increase.
- VR Virtual Reality
- AR Artificial Realtiy
- a high-efficiency video/video compression technique is required to effectively compress, transmit, store, and reproduce information of high-resolution, high-quality video/video having various characteristics as described above.
- the technical problem of this document is to provide a method and apparatus for increasing image coding efficiency.
- Another technical problem of this document is to provide a method and apparatus for increasing the efficiency of LFNST index coding.
- Another technical problem of this document is to provide a method and apparatus for increasing the efficiency of the second-order transformation through coding of an LFNST index.
- Another technical problem of this document is to provide an image coding method and apparatus for deriving an LFNST transform set by borrowing an intra mode of a luma block in the CCLM mode.
- a method for decoding an image performed by a decoding apparatus includes the steps of deriving an intra prediction mode of a chroma block as a cross-component linear model (CCLM) mode; Updating the intra prediction mode of the chroma block based on an intra prediction mode of a luma block corresponding to the chroma block; Determining an LFNST set including LFNST matrices based on the updated intra prediction mode, wherein the updated intra prediction mode is derived as an intra prediction mode corresponding to a specific location in the luma block, and the specific location May be set based on the color format of the chroma block.
- CCLM cross-component linear model
- the specific position may be a center position of the luma block.
- the specific position is set to ((xTbY + (nTbW * SubWidthC) / 2), (yTbY + (nTbH * SubHeightC) / 2)), and xTbY and yTbY represent the upper left coordinate of the luma block, and nTbW and nTbH are Represents the width and height of the chroma block, and SubWidthC and SubHeightC may be variables corresponding to the color format.
- SubWidthC and SubHeightC may be 2 and SubHeightC may be 1.
- the updated intra prediction mode may be an intra planner mode.
- the updated intra prediction mode may be an intra DC mode.
- the updated intra prediction mode may be an intra DC mode.
- a video encoding method performed by an encoding device includes the steps of deriving an intra prediction mode for a chroma block as a cross-component linear model (CCLM) mode; Deriving prediction samples for the chroma block based on the CCLM mode; Deriving residual samples for the chroma block based on the prediction sample; Updating the intra prediction mode of the chroma block based on an intra prediction mode of a luma block corresponding to the chroma block; Determining an LFNST set including LFNST matrices based on the updated intra prediction mode; Deriving modified transform coefficients for the chroma block based on the residual samples and the LFNST matrix, wherein the updated intra prediction mode is derived as an intra prediction mode corresponding to a specific position in the luma block.
- the specific position may be set based on the color format of the chroma block.
- a digital storage medium in which encoded image information generated according to an image encoding method performed by an encoding apparatus and image data including a bitstream are stored may be provided.
- a digital storage medium in which image data including a bitstream and encoded image information causing the decoding apparatus to perform the image decoding method may be provided.
- the efficiency of LFNST index coding can be improved.
- the efficiency of quadratic transformation can be improved through coding of the LFNST index.
- Another technical problem of this document is to provide an image coding method and apparatus for deriving an LFNST transform set by borrowing an intra mode of a luma block in a CCLM mode.
- FIG. 1 is a diagram schematically illustrating a configuration of a video/video encoding apparatus to which the present document can be applied.
- FIG. 2 is a diagram schematically illustrating a configuration of a video/video decoding apparatus to which the present document can be applied.
- FIG. 3 schematically shows a multiple transformation technique according to an embodiment of the present document.
- 4 exemplarily shows intra directional modes of 65 prediction directions.
- FIG. 5 is a diagram for explaining an RST according to an embodiment of the present document.
- FIG. 6 is a diagram illustrating a sequence of arranging output data of a forward linear transformation into a one-dimensional vector, according to an example.
- FIG. 7 is a diagram illustrating a sequence of arranging output data of a forward quadratic transformation into 2D blocks according to an example.
- FIG. 8 is a diagram illustrating a block shape to which LFNST is applied.
- FIG. 9 is a diagram illustrating an arrangement of output data of forward LFNST according to an example.
- 10 is a diagram illustrating zero-out in a block to which 4x4 LFNST is applied according to an example.
- 11 is a diagram illustrating zero-out in a block to which 8x8 LFNST is applied according to an example.
- FIG. 12 is a diagram for describing a CCLM that can be applied when deriving an intra prediction mode of a chroma block according to an embodiment.
- FIG. 13 is a diagram for describing a method of decoding an image according to an example.
- FIG. 14 is a diagram for describing a method of encoding an image according to an example.
- 16 exemplarily shows a structure diagram of a content streaming system to which this document is applied.
- each of the components in the drawings described in the present document is independently illustrated for convenience of description of different characteristic functions, and does not mean that each component is implemented as separate hardware or separate software.
- two or more of the configurations may be combined to form one configuration, or one configuration may be divided into a plurality of configurations.
- Embodiments in which each configuration is integrated and/or separated are also included in the scope of the rights of this document, unless departing from the essence of this document.
- VVC Very Video Coding
- HEVC High Efficiency Video Coding
- EMC essential video coding
- video may mean a set of images over time.
- a picture generally refers to a unit representing one image in a specific time period, and a slice/tile is a unit constituting a part of a picture in coding.
- a slice/tile may include one or more coding tree units (CTU).
- One picture may be composed of one or more slices/tiles.
- One picture may be composed of one or more tile groups.
- One tile group may include one or more tiles.
- a pixel or pel may mean a minimum unit constituting one picture (or image).
- sample' may be used as a term corresponding to a pixel.
- a sample may generally represent a pixel or a value of a pixel, may represent only a pixel/pixel value of a luma component, or may represent only a pixel/pixel value of a chroma component.
- the sample may mean a pixel value in the spatial domain, and when such a pixel value is converted to the frequency domain, it may mean a transform coefficient in the frequency domain.
- a unit may represent a basic unit of image processing.
- the unit may include at least one of a specific area of a picture and information related to the corresponding area.
- One unit may include one luma block and two chroma (ex. cb, cr) blocks.
- the unit may be used interchangeably with terms such as a block or an area depending on the case.
- the MxN block may include samples (or sample arrays) consisting of M columns and N rows, or a set (or array) of transform coefficients.
- At least one of A and B may mean “only A”, “only B” or “both A and B”.
- the expression “at least one of A or B” or “at least one of A and/or B” means “at least one It can be interpreted the same as “at least one of A and B”.
- At least one of A, B and C means “only A”, “only B”, “only C”, or “A, B and C It can mean any combination of A, B and C”. Also, “at least one of A, B or C” or “at least one of A, B and/or C” means It can mean “at least one of A, B and C”.
- parentheses used in the present specification may mean “for example”. Specifically, when indicated as “prediction (intra prediction)”, “intra prediction” may be proposed as an example of “prediction”. In other words, “prediction” in the present specification is not limited to “intra prediction”, and “intra prediction” may be suggested as an example of “prediction”. In addition, even when indicated as “prediction (ie, intra prediction)”, “intra prediction” may be proposed as an example of “prediction”.
- the video encoding device may include an image encoding device.
- the encoding apparatus 100 includes an image partitioner 110, a predictor 120, a residual processor 130, an entropy encoder 140, and It may be configured to include an adder 150, a filter 160, and a memory 170.
- the prediction unit 120 may include an inter prediction unit 121 and an intra prediction unit 122.
- the residual processing unit 130 may include a transform unit 132, a quantizer 133, a dequantizer 134, and an inverse transformer 135.
- the residual processing unit 130 may further include a subtractor 131.
- the addition unit 150 may be referred to as a reconstructor or a recontructged block generator.
- the image segmentation unit 110, the prediction unit 120, the residual processing unit 130, the entropy encoding unit 140, the addition unit 150, and the filtering unit 160 described above may include one or more hardware components (for example, it may be configured by an encoder chipset or a processor).
- the memory 170 may include a decoded picture buffer (DPB), and may be configured by a digital storage medium.
- the hardware component may further include the memory 170 as an internal/external component.
- the image segmentation unit 110 may divide an input image (or picture, frame) input to the encoding apparatus 100 into one or more processing units.
- the processing unit may be referred to as a coding unit (CU).
- the coding unit is recursively divided according to the QTBTTT (Quad-tree binary-tree ternary-tree) structure from a coding tree unit (CTU) or a largest coding unit (LCU).
- QTBTTT Quad-tree binary-tree ternary-tree
- CTU coding tree unit
- LCU largest coding unit
- one coding unit may be divided into a plurality of coding units of a deeper depth based on a quad tree structure, a binary tree structure, and/or a ternary structure.
- a quad tree structure may be applied first, and a binary tree structure and/or a ternary structure may be applied later.
- the binary tree structure may be applied first.
- the coding procedure according to this document may be performed based on the final coding unit that is no longer divided. In this case, based on the coding efficiency according to the image characteristics, the maximum coding unit can be directly used as the final coding unit, or if necessary, the coding unit is recursively divided into coding units of lower depth to be optimal. A coding unit of the size of may be used as the final coding unit.
- the coding procedure may include a procedure such as prediction, transformation, and restoration, which will be described later.
- the processing unit may further include a prediction unit (PU) or a transform unit (TU).
- the prediction unit and the transform unit may be divided or partitioned from the above-described final coding unit, respectively.
- the prediction unit may be a unit of sample prediction
- the transform unit may be a unit for inducing a transform coefficient and/or a unit for inducing a residual signal from the transform coefficient.
- the unit may be used interchangeably with terms such as a block or an area depending on the case.
- the MxN block may represent a set of samples or transform coefficients consisting of M columns and N rows.
- a sample may represent a pixel or a value of a pixel, may represent only a pixel/pixel value of a luminance component, or may represent only a pixel/pixel value of a saturation component.
- Sample may be used as a term corresponding to one picture (or image) as a pixel or pel.
- the encoding apparatus 100 subtracts the prediction signal (predicted block, prediction sample array) output from the inter prediction unit 121 or the intra prediction unit 122 from the input video signal (original block, original sample array) to make a residual.
- a signal residual signal, residual block, residual sample array
- a unit that subtracts the prediction signal (prediction block, prediction sample array) from the input video signal (original block, original sample array) in the encoding apparatus 100 may be referred to as a subtraction unit 131.
- the prediction unit may perform prediction on a block to be processed (hereinafter referred to as a current block) and generate a predicted block including prediction samples for the current block.
- the prediction unit may determine whether intra prediction or inter prediction is applied in units of a current block or CU.
- the prediction unit may generate various information related to prediction, such as prediction mode information, as described later in the description of each prediction mode, and transmit it to the entropy encoding unit 140.
- the information on prediction may be encoded by the entropy encoding unit 140 and output in the form of a bitstream.
- the intra prediction unit 122 may predict the current block by referring to samples in the current picture.
- the referenced samples may be located in the vicinity of the current block or may be located away from each other according to the prediction mode.
- prediction modes may include a plurality of non-directional modes and a plurality of directional modes.
- the non-directional mode may include, for example, a DC mode and a planar mode (Planar mode).
- the directional mode may include, for example, 33 directional prediction modes or 65 directional prediction modes according to the degree of detail of the prediction direction. However, this is an example, and more or less directional prediction modes may be used depending on the setting.
- the intra prediction unit 122 may determine a prediction mode applied to the current block by using the prediction mode applied to the neighboring block.
- the inter prediction unit 121 may derive a predicted block for the current block based on a reference block (reference sample array) specified by a motion vector on the reference picture.
- motion information may be predicted in units of blocks, subblocks, or samples based on a correlation between motion information between a neighboring block and a current block.
- the motion information may include a motion vector and a reference picture index.
- the motion information may further include inter prediction direction (L0 prediction, L1 prediction, Bi prediction, etc.) information.
- the neighboring block may include a spatial neighboring block existing in the current picture and a temporal neighboring block existing in the reference picture.
- the reference picture including the reference block and the reference picture including the temporal neighboring block may be the same or different.
- the temporal neighboring block may be referred to as a collocated reference block, a collocated CU (colCU), and the like, and a reference picture including the temporal neighboring block may be referred to as a collocated picture (colPic).
- the inter prediction unit 121 constructs a motion information candidate list based on neighboring blocks, and provides information indicating which candidate is used to derive a motion vector and/or a reference picture index of the current block. Can be generated. Inter prediction may be performed based on various prediction modes.
- the inter prediction unit 121 may use motion information of a neighboring block as motion information of a current block.
- a residual signal may not be transmitted.
- MVP motion vector prediction
- the motion vector of the current block is determined by using a motion vector of a neighboring block as a motion vector predictor and signaling a motion vector difference. I can instruct.
- the prediction unit 120 may generate a prediction signal based on various prediction methods to be described later.
- the prediction unit may apply intra prediction or inter prediction to predict one block, as well as simultaneously apply intra prediction and inter prediction. This can be called combined inter and intra prediction (CIIP).
- the prediction unit may be based on an intra block copy (IBC) prediction mode or a palette mode for prediction of a block.
- the IBC prediction mode or the palette mode may be used for content image/video coding such as a game, such as, for example, screen content coding (SCC).
- SCC screen content coding
- IBC basically performs prediction in the current picture, but can be performed similarly to inter prediction in that it derives a reference block in the current picture. That is, the IBC may use at least one of the inter prediction techniques described in this document.
- the palette mode can be viewed as an example of intra coding or intra prediction. When the palette mode is applied, a sample value in a picture may be signaled based on information about a palette table and a palette index.
- the prediction signal generated through the prediction unit may be used to generate a reconstructed signal or may be used to generate a residual signal.
- the transform unit 132 may generate transform coefficients by applying a transform technique to the residual signal.
- the transformation technique uses at least one of DCT (Discrete Cosine Transform), DST (Discrete Sine Transform), KLT (Karhunen-Loeve Transform), GBT (Graph-Based Transform), or CNT (Conditionally Non-linear Transform).
- DCT Discrete Cosine Transform
- DST Discrete Sine Transform
- KLT Kerhunen-Loeve Transform
- GBT Graph-Based Transform
- CNT Conditionally Non-linear Transform
- CNT refers to a transformation obtained based on generating a prediction signal using all previously reconstructed pixels.
- the conversion process may be applied to a pixel block having the same size of a square, or may be applied to a block having a variable size other than a square.
- the quantization unit 133 quantizes the transform coefficients and transmits it to the entropy encoding unit 140, and the entropy encoding unit 140 encodes the quantized signal (information on quantized transform coefficients) and outputs it as a bitstream. have.
- Information about the quantized transform coefficients may be called residual information.
- the quantization unit 133 may rearrange the quantized transform coefficients in a block form into a one-dimensional vector form based on a coefficient scan order, and the quantized transform coefficients in the form of the one-dimensional vector It is also possible to generate information about transform coefficients.
- the entropy encoding unit 140 may perform various encoding methods such as exponential Golomb, context-adaptive variable length coding (CAVLC), context-adaptive binary arithmetic coding (CABAC), and the like.
- the entropy encoding unit 140 may encode information necessary for video/image restoration (eg, values of syntax elements) together or separately in addition to the quantized transform coefficients.
- the encoded information (eg, encoded video/video information) may be transmitted or stored in a bitstream form in units of network abstraction layer (NAL) units.
- the video/video information may further include information on various parameter sets, such as an adaptation parameter set (APS), a picture parameter set (PPS), a sequence parameter set (SPS), or a video parameter set (VPS).
- the video/video information may further include general constraint information.
- information and/or syntax elements transmitted/signaled from the encoding device to the decoding device may be included in the video/video information.
- the video/video information may be encoded through the above-described encoding procedure and included in the bitstream.
- the bitstream may be transmitted through a network or may be stored in a digital storage medium.
- the network may include a broadcasting network and/or a communication network
- the digital storage medium may include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, and SSD.
- a transmission unit for transmitting and/or a storage unit (not shown) for storing may be configured as an internal/external element of the encoding apparatus 100, or the transmission unit It may be included in the entropy encoding unit 140.
- the quantized transform coefficients output from the quantization unit 133 may be used to generate a prediction signal.
- a residual signal residual block or residual samples
- the addition unit 155 adds the reconstructed residual signal to the prediction signal output from the inter prediction unit 121 or the intra prediction unit 122 to obtain a reconstructed signal (restored picture, reconstructed block, reconstructed sample array). Can be created.
- the predicted block may be used as a reconstructed block.
- the addition unit 150 may be referred to as a restoration unit or a restoration block generation unit.
- the generated reconstructed signal may be used for intra prediction of the next processing target block in the current picture, and may be used for inter prediction of the next picture through filtering as described later.
- LMCS luma mapping with chroma scaling
- the filtering unit 160 may improve subjective/objective image quality by applying filtering to the reconstructed signal.
- the filtering unit 160 may apply various filtering methods to the reconstructed picture to generate a modified reconstructed picture, and the modified reconstructed picture may be converted to the memory 170, specifically, the DPB of the memory 170. Can be saved on.
- the various filtering methods may include, for example, deblocking filtering, sample adaptive offset, adaptive loop filter, bilateral filter, and the like.
- the filtering unit 160 may generate a variety of filtering information and transmit it to the entropy encoding unit 140 as described later in the description of each filtering method.
- the filtering information may be encoded by the entropy encoding unit 140 and output in the form of a bitstream.
- the modified reconstructed picture transmitted to the memory 170 may be used as a reference picture in the inter prediction unit 121.
- the encoding device may avoid prediction mismatch between the encoding device 100 and the decoding device, and may improve encoding efficiency.
- the memory 170 DPB may store the modified reconstructed picture to be used as a reference picture in the inter prediction unit 121.
- the memory 170 may store motion information of a block from which motion information in a current picture is derived (or encoded) and/or motion information of blocks in a picture that have already been reconstructed.
- the stored motion information may be transmitted to the inter prediction unit 121 in order to be used as motion information of a spatial neighboring block or motion information of a temporal neighboring block.
- the memory 170 may store reconstructed samples of reconstructed blocks in the current picture, and may be transmitted to the intra prediction unit 122.
- FIG. 2 is a diagram schematically illustrating a configuration of a video/video decoding apparatus applicable to embodiments of the present document.
- the decoding apparatus 200 includes an entropy decoder 210, a residual processor 220, a predictor 230, an adder 240, and a filtering unit. It may be configured to include (filter, 250) and memory (memory) 260.
- the prediction unit 230 may include an inter prediction unit 231 and an intra prediction unit 232.
- the residual processing unit 220 may include a dequantizer 221 and an inverse transformer 221.
- the entropy decoding unit 210, the residual processing unit 220, the prediction unit 230, the addition unit 240, and the filtering unit 250 described above are one hardware component (for example, a decoder chipset or a processor). ) Can be configured.
- the memory 260 may include a decoded picture buffer (DPB), and may be configured by a digital storage medium.
- the hardware component may further include the memory 260 as an internal/external component.
- the decoding apparatus 200 may reconstruct an image in response to a process in which the video/image information is processed by the encoding device of FIG. 1. For example, the decoding apparatus 200 may derive units/blocks based on block division related information obtained from the bitstream.
- the decoding device 200 may perform decoding using a processing unit applied by the encoding device.
- the processing unit of decoding may be, for example, a coding unit, and the coding unit may be divided from a coding tree unit or a maximum coding unit along a quad tree structure, a binary tree structure and/or a ternary tree structure.
- One or more transform units may be derived from the coding unit.
- the reconstructed image signal decoded and output through the decoding device 200 may be reproduced through the playback device.
- the decoding apparatus 200 may receive a signal output from the encoding apparatus of FIG. 1 in the form of a bitstream, and the received signal may be decoded through the entropy decoding unit 210.
- the entropy decoding unit 210 may parse the bitstream to derive information (eg, video/video information) necessary for image restoration (or picture restoration).
- the video/video information may further include information on various parameter sets, such as an adaptation parameter set (APS), a picture parameter set (PPS), a sequence parameter set (SPS), or a video parameter set (VPS).
- the video/video information may further include general constraint information.
- the decoding apparatus may further decode the picture based on the information on the parameter set and/or the general restriction information.
- Signaled/received information and/or syntax elements described later in this document may be decoded through the decoding procedure and obtained from the bitstream.
- the entropy decoding unit 210 decodes information in a bitstream based on a coding method such as exponential Golomb coding, CAVLC, or CABAC, and a value of a syntax element required for image restoration, a quantized value of a transform coefficient related to a residual. Can be printed.
- the CABAC entropy decoding method receives a bin corresponding to each syntax element in a bitstream, and includes information about the syntax element to be decoded and information on the decoding information of the block to be decoded and the neighboring block or symbol/bin information decoded in a previous step.
- a context model is determined using the context model, and a symbol corresponding to the value of each syntax element can be generated by performing arithmetic decoding of the bin by predicting the probability of occurrence of a bin according to the determined context model. have.
- the CABAC entropy decoding method may update the context model using information of the decoded symbol/bin for the context model of the next symbol/bin after the context model is determined.
- the entropy decoding unit 210 Among the information decoded by the entropy decoding unit 210, information about prediction is provided to the prediction unit (inter prediction unit 232 and intra prediction unit 231), and the register on which entropy decoding is performed by the entropy decoding unit 210 Dual values, that is, quantized transform coefficients and related parameter information may be input to the residual processing unit 220.
- the residual processing unit 220 may derive a residual signal (residual block, residual samples, residual sample array).
- information about filtering among information decoded by the entropy decoding unit 210 may be provided to the filtering unit 250.
- a receiving unit for receiving a signal output from the encoding device may be further configured as an inner/outer element of the decoding device 200, or the receiving unit may be a component of the entropy decoding unit 210.
- the decoding apparatus according to this document may be referred to as a video/video/picture decoding apparatus, and the decoding apparatus can be divided into an information decoder (video/video/picture information decoder) and a sample decoder (video/video/picture sample decoder). May be.
- the information decoder may include the entropy decoding unit 210, and the sample decoder includes the inverse quantization unit 221, an inverse transform unit 222, an addition unit 240, a filtering unit 250, and a memory 260. ), an inter prediction unit 232 and an intra prediction unit 231 may be included.
- the inverse quantization unit 221 may inverse quantize the quantized transform coefficients and output transform coefficients.
- the inverse quantization unit 221 may rearrange the quantized transform coefficients into a two-dimensional block shape. In this case, the rearrangement may be performed based on the coefficient scan order performed by the encoding device.
- the inverse quantization unit 221 may perform inverse quantization on quantized transform coefficients using a quantization parameter (eg, quantization step size information) and obtain transform coefficients.
- a quantization parameter eg, quantization step size information
- the inverse transform unit 222 obtains a residual signal (residual block, residual sample array) by inverse transforming the transform coefficients.
- the prediction unit may perform prediction on the current block and generate a predicted block including prediction samples for the current block.
- the prediction unit may determine whether intra prediction or inter prediction is applied to the current block based on the prediction information output from the entropy decoding unit 210, and may determine a specific intra/inter prediction mode.
- the prediction unit 220 may generate a prediction signal based on various prediction methods to be described later.
- the prediction unit may apply intra prediction or inter prediction to predict one block, as well as simultaneously apply intra prediction and inter prediction. This can be called combined inter and intra prediction (CIIP).
- the prediction unit may be based on an intra block copy (IBC) prediction mode or a palette mode for prediction of a block.
- the IBC prediction mode or the palette mode may be used for content image/video coding such as a game, such as, for example, screen content coding (SCC).
- SCC screen content coding
- IBC basically performs prediction in the current picture, but can be performed similarly to inter prediction in that it derives a reference block in the current picture. That is, the IBC may use at least one of the inter prediction techniques described in this document.
- the palette mode can be viewed as an example of intra coding or intra prediction. When the palette mode is applied, information on a palette table and a palette index may be included in the video/video information and signaled.
- the intra prediction unit 231 may predict the current block by referring to samples in the current picture.
- the referenced samples may be located in the vicinity of the current block or may be located away from each other according to the prediction mode.
- prediction modes may include a plurality of non-directional modes and a plurality of directional modes.
- the intra prediction unit 231 may determine a prediction mode applied to the current block by using the prediction mode applied to the neighboring block.
- the inter prediction unit 232 may derive a predicted block for the current block based on a reference block (reference sample array) specified by a motion vector on the reference picture.
- motion information may be predicted in units of blocks, subblocks, or samples based on a correlation between motion information between a neighboring block and a current block.
- the motion information may include a motion vector and a reference picture index.
- the motion information may further include inter prediction direction (L0 prediction, L1 prediction, Bi prediction, etc.) information.
- the neighboring block may include a spatial neighboring block existing in the current picture and a temporal neighboring block existing in the reference picture.
- the inter prediction unit 232 may construct a motion information candidate list based on neighboring blocks, and derive a motion vector and/or a reference picture index of the current block based on the received candidate selection information. Inter prediction may be performed based on various prediction modes, and the information on the prediction may include information indicating a mode of inter prediction for the current block.
- the addition unit 240 is reconstructed by adding the obtained residual signal to the prediction signal (predicted block, prediction sample array) output from the prediction unit (including the inter prediction unit 232 and/or intra prediction unit 231).
- a signal (restored picture, reconstructed block, reconstructed sample array) can be generated.
- the predicted block may be used as a reconstructed block.
- the addition unit 240 may be referred to as a restoration unit or a restoration block generation unit.
- the generated reconstructed signal may be used for intra prediction of the next processing target block in the current picture, may be output through filtering as described later, or may be used for inter prediction of the next picture.
- LMCS luma mapping with chroma scaling
- the filtering unit 250 may improve subjective/objective image quality by applying filtering to the reconstructed signal.
- the filtering unit 250 may generate a modified reconstructed picture by applying various filtering methods to the reconstructed picture, and the modified reconstructed picture may be converted to the memory 260, specifically, the DPB of the memory 260. Can be transferred to.
- the various filtering methods may include, for example, deblocking filtering, sample adaptive offset, adaptive loop filter, bilateral filter, and the like.
- the (modified) reconstructed picture stored in the DPB of the memory 260 may be used as a reference picture in the inter prediction unit 232.
- the memory 260 may store motion information of a block from which motion information in a current picture is derived (or decoded) and/or motion information of blocks in a picture that have already been reconstructed.
- the stored motion information may be transmitted to the inter prediction unit 232 in order to be used as motion information of a spatial neighboring block or motion information of a temporal neighboring block.
- the memory 260 may store reconstructed samples of reconstructed blocks in the current picture, and may be transmitted to the intra prediction unit 231.
- the embodiments described in the filtering unit 160, the inter prediction unit 121, and the intra prediction unit 122 of the encoding apparatus 100 are respectively a filtering unit 250 and an inter prediction unit of the decoding apparatus 200.
- the same or corresponding to the unit 232 and the intra prediction unit 231 may be applied.
- a predicted block including prediction samples for a current block which is a block to be coded
- the predicted block includes prediction samples in the spatial domain (or pixel domain).
- the predicted block is derived equally from the encoding device and the decoding device, and the encoding device signals information about the residual between the original block and the predicted block (residual information), not the original sample value of the original block, to the decoding device.
- Image coding efficiency can be improved.
- the decoding apparatus may derive a residual block including residual samples based on the residual information, and generate a reconstructed block including reconstructed samples by adding the residual block and the predicted block, and reconstruct including the reconstructed blocks. You can create pictures.
- the residual information may be generated through transformation and quantization procedures.
- the encoding apparatus derives a residual block between an original block and a predicted block, performs a transformation procedure on residual samples (residual sample array) included in the residual block to derive transform coefficients, and transforms
- residual samples residual sample array
- transforms By performing a quantization procedure on the coefficients to derive quantized transform coefficients, related residual information may be signaled to a decoding apparatus (via a bitstream).
- the residual information may include information such as value information of quantized transform coefficients, position information, a transform technique, a transform kernel, and a quantization parameter.
- the decoding apparatus may perform an inverse quantization/inverse transform procedure based on the residual information and derive residual samples (or residual blocks).
- the decoding apparatus may generate a reconstructed picture based on the predicted block and the residual block.
- the encoding apparatus may also inverse quantize/inverse transform quantized transform coefficients for reference for inter prediction of a picture to derive a residual block, and generate a reconstructed picture based on the inverse quantization/inverse transformation of the quantized transform coefficients.
- the transform unit may correspond to the transform unit in the encoding apparatus of FIG. 1 described above, and the inverse transform unit may correspond to the inverse transform unit in the encoding apparatus of FIG. 1 or the inverse transform unit in the decoding apparatus of FIG. 2. .
- the transform unit may derive (first-order) transform coefficients by performing a first-order transform based on residual samples (residual sample array) in the residual block (S310).
- This primary transform may be referred to as a core transform.
- the first-order transform may be based on multiple transform selection (MTS), and when multiple transforms are applied as the first-order transform, it may be referred to as a multiple core transform.
- MTS multiple transform selection
- the multiple core transformation may represent a method of additionally using Discrete Cosine Transform (DST) type 2, Discrete Sine Transform (DST) type 7, DCT type 8, and/or DST type 1. That is, the multi-core transform is based on a plurality of transform kernels selected from among the DCT type 2, the DST type 7, the DCT type 8, and the DST type 1, based on the residual signal (or residual block) in the spatial domain in the frequency domain. It may represent a transform method of transforming into transform coefficients (or first-order transform coefficients) of.
- the first-order transform coefficients may be referred to as temporary transform coefficients from the viewpoint of the transform unit.
- transformation coefficients can be generated by applying a transformation from a spatial domain to a frequency domain for a residual signal (or a residual block) based on DCT type 2.
- Transform to may be applied to generate transform coefficients (or first-order transform coefficients).
- DCT type 2, DST type 7, DCT type 8, and DST type 1 may be referred to as a transform type, a transform kernel, or a transform core.
- a vertical transformation kernel and a horizontal transformation kernel for a target block may be selected among the transformation kernels, and a vertical transformation for the target block is performed based on the vertical transformation kernel, and the Horizontal transformation may be performed on the target block based on the horizontal transformation kernel.
- the horizontal transformation may represent transformation of horizontal components of the target block
- the vertical transformation may represent transformation of vertical components of the target block.
- the vertical transform kernel/horizontal transform kernel may be adaptively determined based on a prediction mode and/or a transform index of a target block (CU or subblock) including a residual block.
- mapping relationship can be set. For example, if the horizontal direction conversion kernel is represented by trTypeHor and the vertical direction conversion kernel is represented by trTypeVer, the value of trTypeHor or trTypeVer is set to DCT2, the value of trTypeHor or trTypeVer is set to DST7, and the value of trTypeHor or trTypeVer is 2 May be set to DCT8.
- MTS index information may be encoded and signaled to a decoding device to indicate any one of a plurality of transform kernel sets. For example, if the MTS index is 0, it indicates that both the trTypeHor and trTypeVer values are 0, if the MTS index is 1, it indicates that both the trTypeHor and trTypeVer values are 1, and if the MTS index is 2, the trTypeHor value is 2 and the trTypeVer value Is 1, if the MTS index is 3, the trTypeHor value is 1 and the trTypeVer value is 2, and if the MTS index is 4, it may indicate that both the trTypeHor and trTypeVer values are 2.
- a conversion kernel set according to MTS index information is shown in a table as follows.
- the transform unit may derive modified (second-order) transform coefficients by performing a second-order transform based on the (first-order) transform coefficients (S320).
- the first-order transform is a transform from a spatial domain to a frequency domain
- the second-order transform refers to transforming into a more compressive expression using a correlation existing between (first-order) transform coefficients.
- the second-order transform may include a non-separable transform.
- the second transform may be referred to as a non-separable secondary transform (NSST) or a mode-dependent non-separable secondary transform (MDNSST).
- the non-separated quadratic transform is a second-order transform of the (first-order) transform coefficients derived through the first-order transform based on a non-separable transform matrix, and then modified transform coefficients for a residual signal. It may represent a transform that produces (or quadratic transform coefficients).
- a transform may be applied at once without separating vertical transform and horizontal transform (or independently applying horizontal and vertical transform) to the (first-order) transform coefficients.
- the non-separated quadratic transform is not separately applied in the vertical direction and the horizontal direction for the (first-order) transform coefficients, and, for example, the two-dimensional signals (transform coefficients) are in a specific direction (e.g., row priority).
- modified transform coefficients or quadratic transform coefficients
- the conversion method can be indicated.
- the row priority order is to arrange the first row, the second row, ..., the Nth row for the MxN block in a row
- the column priority order is the first column, the second column for the MxN block.
- the non-separated quadratic transform may be applied to a top-left region of a block (hereinafter, referred to as a transform coefficient block) composed of (first-order) transform coefficients.
- a transform coefficient block composed of (first-order) transform coefficients.
- an 8 ⁇ 8 non-separated quadratic transform may be applied to an upper left 8 ⁇ 8 area of the transform coefficient block.
- the width (W) and the height (H) of the transform coefficient block are 4 or more, and the width (W) or the height (H) of the transform coefficient block is less than 8
- 4 ⁇ 4 non-separated secondary A transform can be applied to the upper left min(8,W) ⁇ min(8,H) area of the transform coefficient block.
- the embodiment is not limited thereto, and for example, even if only the condition that the width (W) or the height (H) of the transform coefficient block is 4 or more is satisfied, the 4 ⁇ 4 non-separated quadratic transform is the upper left corner of the transform coefficient block. It can also be applied to the region min(8,W) ⁇ min(8,H).
- non-separated quadratic transformation may be performed as follows.
- the 4 ⁇ 4 input block X can be represented as follows.
- a vector can be represented as follows.
- the vector Rearranges the two-dimensional block of X in Equation 1 into a one-dimensional vector according to the row-first order.
- the second-order non-separated transform can be calculated as follows.
- T denotes a 16 ⁇ 16 (non-separated) transform matrix
- a 16 ⁇ 1 transform coefficient vector through Equation 3 above Can be derived, and the above Can be re-organized into 4 ⁇ 4 blocks through a scan order (horizontal, vertical, diagonal, etc.).
- the above-described calculation is an example, and in order to reduce the computational complexity of the non-separated quadratic transform, HyGT (Hypercube-Givens Transform) or the like may be used for the calculation of the non-separated quadratic transform.
- a transformation kernel (or transformation core, transformation type) may be selected in a mode dependent manner.
- the mode may include an intra prediction mode and/or an inter prediction mode.
- the non-separated quadratic transform may be performed based on an 8 ⁇ 8 transform or a 4 ⁇ 4 transform determined based on the width (W) and height (H) of the transform coefficient block.
- the 8x8 transform refers to a transform that can be applied to an 8x8 area included in a corresponding transform coefficient block when both W and H are equal to or greater than 8, and the 8x8 area may be an upper left 8x8 area inside the corresponding transform coefficient block.
- the 4x4 transform refers to a transform that can be applied to a 4x4 area included in the corresponding transform coefficient block when both W and H are equal to or greater than 4, and the 4x4 area may be the upper left 4x4 area inside the corresponding transform coefficient block.
- an 8x8 transform kernel matrix may be a 64x64/16x64 matrix
- a 4x4 transform kernel matrix may be a 16x16/8x16 matrix.
- two non-separated quadratic transform kernels may be configured per transform set for non-separated quadratic transform for both 8 ⁇ 8 transform and 4 ⁇ 4 transform, and the transform set is There can be four. That is, four transform sets may be configured for an 8 ⁇ 8 transform, and four transform sets may be configured for a 4 ⁇ 4 transform. In this case, four transform sets for an 8 ⁇ 8 transform may include two 8 ⁇ 8 transform kernels, and in this case, four transform sets for a 4 ⁇ 4 transform include two 4 ⁇ 4 transform kernels each. Can be included.
- the size of the transform that is, the size of the region to which the transform is applied, may be a size other than 8 ⁇ 8 or 4 ⁇ 4 as an example, the number of sets is n, and the number of transform kernels in each set is k It could be a dog.
- the transform set may be referred to as an NSST set or an LFNST set. Selection of a specific set among the transform sets may be performed, for example, based on an intra prediction mode of a current block (CU or subblock).
- LFNST Low-Frequency Non-Separable Transform
- LFNST Low-Frequency Non-Separable Transform
- the intra prediction mode is two non-directinoal or non-angular intra prediction modes and 65 directional or angular intra prediction modes.
- the non-directional intra prediction modes may include a planar intra prediction mode 0 and a DC intra prediction mode 1, and the directional intra prediction modes may include 65 intra prediction modes 2 to 66. .
- the intra prediction mode 67 may be further used, and the intra prediction mode 67 may represent a linear model (LM) mode.
- LM linear model
- 4 exemplarily shows intra-directional modes of 65 prediction directions.
- an intra prediction mode having horizontal directionality and an intra prediction mode having vertical directionality can be distinguished based on an intra prediction mode 34 having a downward-right diagonal prediction direction.
- H and V in FIG. 4 denote horizontal and vertical directions, respectively, and numbers from -32 to 32 denote displacements of 1/32 units on a sample grid position. This may represent an offset to the mode index value.
- Intra prediction modes 2 to 33 have horizontal directionality
- intra prediction modes 34 to 66 have vertical directionality.
- the 34th intra prediction mode can be considered to be neither horizontal nor vertical, strictly speaking, but it can be classified as belonging to horizontal directionality from the viewpoint of determining a transform set of a quadratic transform.
- Intra prediction mode 18 and intra prediction mode 50 represent horizontal intra prediction mode and vertical intra prediction mode, respectively, and intra prediction mode 2 has a left reference pixel and is up-right direction. As the prediction mode is predicted, it may be referred to as an upward-right diagonal intra prediction mode.
- the 34th intra prediction mode may be referred to as a right-downward diagonal intra prediction mode
- the 66th intra prediction mode may be referred to as a left-downward diagonal intra prediction mode.
- mapping of four transform sets according to an intra prediction mode may be represented, for example, as shown in the following table.
- one of four transform sets may be mapped to any one of 0 to 3, that is, four according to the intra prediction mode.
- one of k transformation kernels in the specific set may be selected through a non-separated quadratic transformation index.
- the encoding device may derive a non-separated quadratic transformation index indicating a specific transformation kernel based on a rate-distortion (RD) check, and may signal the non-separated quadratic transformation index to the decoding device.
- the decoding apparatus may select one of k transform kernels in a specific set based on the non-separated quadratic transform index.
- the lfnst index value 0 may refer to the first non-separated quadratic transformation kernel
- the lfnst index value 1 may refer to the second non-separated quadratic transformation kernel
- the lfnst index value 2 may refer to the third non-separated quadratic transformation kernel.
- the lfnst index value 0 may indicate that the first non-separated quadratic transformation is not applied to the target block
- the lfnst index values 1 to 3 may indicate the three transformation kernels.
- the transform unit may perform the non-separated quadratic transform based on the selected transform kernels and obtain modified (quaternary) transform coefficients.
- the modified transform coefficients may be derived as quantized transform coefficients through a quantization unit as described above, and may be encoded and transmitted to a signaling and inverse quantization/inverse transform unit in an encoding apparatus and signaling to a decoding apparatus.
- the (first-order) transform coefficients that are the output of the first-order (separate) transform may be derived as quantized transform coefficients through the quantization unit as described above, and are encoded. It may be transmitted to a decoding device to an inverse quantization/inverse transform unit in a signaling and encoding device.
- the inverse transform unit may perform a series of procedures in the reverse order of the procedure performed by the above-described transform unit.
- the inverse transform unit receives (inverse quantized) transform coefficients, performs a second-order (inverse) transform to derive (first-order) transform coefficients (S350), and first-order (inverse) with respect to the (first-order) transform coefficients.
- a residual block (residual samples) may be obtained by performing transformation (S360).
- the first-order transform coefficients may be referred to as modified transform coefficients from the standpoint of the inverse transform unit.
- the encoding apparatus and the decoding apparatus may generate a reconstructed block based on the residual block and the predicted block, and generate a reconstructed picture based on the residual block and the predicted block.
- the decoding apparatus may further include a second-order inverse transform determining unit (or an element determining whether to apply a second-order inverse transform) and a second-order inverse transform determining unit (or a second-order inverse transform determining element).
- Whether to apply the second-order inverse transform may determine whether to apply the second-order inverse transform.
- the second-order inverse transform may be NSST, RST, or LFNST, and the application of the second-order inverse transform may determine whether to apply the second-order inverse transform based on the second-order transform flag parsed from the bitstream.
- the determining unit whether to apply the second-order inverse transform may determine whether to apply the second-order inverse transform based on a transform coefficient of the residual block.
- the second-order inverse transform determiner may determine a second-order inverse transform.
- the second-order inverse transform determiner may determine a second-order inverse transform applied to the current block based on the LFNST (NSST or RST) transform set specified according to the intra prediction mode.
- the method for determining the second-order transformation may be determined depending on the method for determining the first-order transformation.
- Various combinations of the first-order transform and the second-order transform may be determined according to the intra prediction mode.
- the inverse quadratic transform determiner may determine a region to which the inverse quadratic transform is applied based on the size of the current block.
- a residual block (residual samples) may be obtained by receiving the (inverse quantized) transform coefficients and performing the first-order (separation) inverse transform.
- the encoding apparatus and the decoding apparatus may generate a reconstructed block based on the residual block and the predicted block, and generate a reconstructed picture based on the residual block and the predicted block.
- a reduced secondary transform (RST) with a reduced size of a transform matrix (kernel) can be applied from the concept of NSST in order to reduce the amount of computation and memory required for the non-separated quadratic transform.
- the transform kernel, the transform matrix, and the coefficients constituting the transform kernel matrix described in this document may be represented by 8 bits. This may be one condition to be implemented in the decoding device and the encoding device, and it is possible to reduce the amount of memory required for storing the conversion kernel while accompanied by a performance degradation that can be reasonably accommodated compared to the existing 9-bit or 10-bit. .
- a small multiplier can be used, and it can be more suitable for a single instruction multiple data (SIMD) instruction used for optimal software implementation.
- RST may mean a transformation performed on residual samples for a target block based on a transform matrix whose size is reduced according to a simplification factor.
- the amount of computation required for transformation may be reduced due to a reduction in the size of the transformation matrix. That is, the RST can be used to solve an issue of computational complexity that occurs during transformation or non-separation transformation of a large block.
- RST may be referred to in various terms such as reduced transform, reduced transform, reduced transform, reduced secondary transform, reduction transform, simplified transform, simple transform, and the like, and the name to which the RST may be referred to is not limited to the listed examples.
- RST since RST is mainly performed in a low frequency region including a non-zero coefficient in a transform block, it may be referred to as a low-frequency non-separable transform (LFNST).
- LFNST low-frequency non-separable transform
- the conversion index may be referred to as an LFNST index.
- the inverse transform unit 135 of the encoding device 100 and the inverse transform unit 222 of the decoding device 200 are transformed based on the inverse RST of the transform coefficients.
- the inverse first-order transform means the inverse transform of the first-order transform applied to the residual.
- deriving a transform coefficient based on a transform may mean deriving a transform coefficient by applying a corresponding transform.
- FIG. 5 is a diagram for explaining an RST according to an embodiment of the present document.
- target block may mean a current block, a residual block, or a transform block on which coding is performed.
- a reduced transformation matrix may be determined by mapping an N dimensional vector to an R dimensional vector located in a different space, where R is less than N.
- N may mean the square of the length of one side of the block to which the transform is applied or the total number of transform coefficients corresponding to the block to which the transform is applied
- the simplification factor may mean an R/N value.
- the simplification factor may be referred to in various terms such as a reduced factor, a reduction factor, a reduced factor, a reduction factor, a simplified factor, and a simple factor.
- R may be referred to as a reduced coefficient, but in some cases, the simplified factor may mean R.
- the simplification factor may mean an N/R value.
- the simplification factor or the simplification factor may be signaled through a bitstream, but the embodiment is not limited thereto.
- a predefined value for the simplification factor or simplification coefficient may be stored in each encoding device 100 and the decoding device 200, and in this case, the simplification factor or the simplification factor may not be signaled separately.
- the size of the simplified transform matrix according to an embodiment is RxN, which is smaller than the size NxN of a conventional transform matrix, and may be defined as in Equation 4 below.
- the matrix T in the Reduced Transform block shown in FIG. 5A may mean the matrix T RxN of Equation 4. As shown in FIG. 5A, when the simplified transform matrix T RxN is multiplied with respect to residual samples for the target block, transform coefficients for the target block may be derived.
- the RST according to FIG. 5A is It can be expressed as a matrix operation such as Equation 5.
- memory and multiplication operations can be reduced to approximately 1/4 by a simplification factor.
- a matrix operation can be understood as an operation to obtain a column vector by multiplying a matrix and a column vector by placing a matrix on the left side of the column vector.
- r 1 to r 64 may represent residual samples for a target block, and more specifically, may be transform coefficients generated by applying a first-order transform.
- the transform coefficients c i for the target block may be derived, and the derivation process of c i may be the same as in Equation 6.
- the size of the normal transform matrix is 64x64 (NxN), but the size of the simplified transform matrix is reduced to 16x64 (RxN).
- Memory usage can be reduced by an R/N ratio.
- the use of the simplified transform matrix can reduce the number of multiplication operations by an R/N ratio (RxN).
- the transform unit 132 of the encoding apparatus 100 may derive transform coefficients for the target block by performing a first-order transform and an RST-based second-order transform on residual samples for the target block. These transform coefficients may be transmitted to the inverse transform unit of the decoding apparatus 200, and the inverse transform unit 222 of the decoding apparatus 200 derives the modified transform coefficients based on the inverse reduced secondary transform (RST) of the transform coefficients. Then, residual samples for the target block may be derived based on the inverse linear transform of the modified transform coefficients.
- RST inverse reduced secondary transform
- the size of the inverse RST matrix TNxR is NxR, which is smaller than the size NxN of a conventional inverse transform matrix, and is in a transpose relationship with the simplified transform matrix TRxN shown in Equation 4.
- the matrix T t in the Transform block may mean the inverse RST matrix T RxN T (the superscript T means transpose).
- T means transpose
- modified transform coefficients for the target block or residual samples for the target block may be derived.
- Station RxN RST matrix T T may be expressed as (T RxN) T NxR.
- modified transform coefficients for the target block may be derived by multiplying transform coefficients for the target block by the inverse RST matrix T RxN T.
- an inverse RST may be applied as an inverse linear transformation, and in this case, residual samples for the target block may be derived when transform coefficients for the target block are multiplied by the inverse RST matrix TRxNT.
- the RST according to (b) of FIG. 5 is It can be expressed as a matrix operation such as Equation 7 of.
- Equation 7 c 1 to c 16 may represent transform coefficients for the target block.
- r i representing modified transform coefficients for the target block or residual samples for the target block may be derived, and the derivation process of r i may be the same as in Equation 8.
- r 1 to r N representing the modified transform coefficients for the target block or residual samples for the target block may be derived.
- the size of a typical inverse transform matrix is 64x64 (NxN)
- the size of the simplified inverse transform matrix is reduced to 64x16 (NxR).
- Memory usage can be reduced by R/N ratio.
- the use of the simplified inverse transform matrix can reduce the number of multiplication operations by an R/N ratio (NxR).
- the transformation set configuration shown in Table 2 can be applied. That is, the 8x8 RST may be applied according to the transform set in Table 2. Since one transform set is composed of two or three transforms (kernels) according to an intra prediction mode, it may be configured to select one of a maximum of four transforms including a case where a quadratic transform is not applied. When the quadratic transformation is not applied, the transformation can be regarded as the identity matrix applied.
- transformation index may be designated by signaling a syntax element called an lfnst index for each transform coefficient block. That is, for an 8x8 upper left block through a transform index, 8x8 RST may be designated in the RST configuration, or 8x8 lfnst may be designated when LFNST is applied.
- 8x8 lfnst and 8x8 RST refer to transforms that can be applied to the 8x8 area included in the corresponding transform coefficient block when both W and H of the target block to be transformed are equal to or greater than 8, and the corresponding 8x8 area is the corresponding transform coefficient block. It may be an upper left 8x8 area inside.
- 4x4 lfnst and 4x4 RST refer to transforms that can be applied to the 4x4 area included in the corresponding transform coefficient block when both W and H of the target block are equal to or greater than 4, and the 4x4 area is It may be the upper left 4x4 area.
- a maximum of 16 x 48 conversion kernels is selected by selecting only 48 data, not a 16 x 64 conversion kernel matrix, for 64 data constituting an 8 x 8 area.
- Matrix can be applied.
- “maximum” means that the maximum value of m is 16 for an m x 48 transform kernel matrix capable of generating m coefficients. That is, when RST is performed by applying an m x 48 transform kernel matrix (m ⁇ 16) to an 8 x 8 region, it is possible to generate m coefficients by receiving 48 data. When m is 16, 48 data are input and 16 coefficients are generated.
- a 16 ⁇ 1 vector may be generated by sequentially multiplying a 16 ⁇ 48 matrix and a 48 ⁇ 1 vector.
- 48 x 1 vectors can be formed by appropriately arranging 48 pieces of data constituting an 8 x 8 area.
- a 48x1 vector may be constructed based on 48 pieces of data constituting an area excluding a 4x4 area at the bottom right of an 8x8 area.
- the transposed matrix of the above-described transform kernel matrix may be used for the inverse transform of the decoding process. That is, when inverse RST or LFNST is performed as an inverse transformation process performed by the decoding apparatus, the input coefficient data to which the inverse RST is applied is composed of a 1-D vector according to a predetermined arrangement order, and the corresponding inverse RST matrix is added to the 1-D vector.
- the modified coefficient vectors obtained by multiplying from the left may be arranged in a 2D block according to a predetermined arrangement order.
- ⁇ transform coefficients corresponding to the upper left of the 8x8 region among the transform coefficients of the 8x8 region are input in the form of a one-dimensional array according to the scanning order.
- the nx1 vector can be interpreted in the same meaning as the nx1 matrix, it may be expressed as an nx1 column vector.
- * means a matrix multiplication operation. When such a matrix operation is performed, 48 modified transform coefficients may be derived, and 48 modified transform coefficients may be arranged in the upper left, upper right, and lower left regions excluding the lower right region of the 8x8 region.
- the inverse transform unit 135 of the encoding device 100 and the inverse transform unit 222 of the decoding device 200 are transformed based on the inverse RST of the transform coefficients.
- the inverse first-order transform means the inverse transform of the first-order transform applied to the residual.
- deriving a transform coefficient based on a transform may mean deriving a transform coefficient by applying a corresponding transform.
- the LFNST may include forward transformation by an encoding device and inverse transformation by a decoding device.
- the encoding apparatus applies a primary (core) transform and then receives a result (or a part of the result) as an input, and applies a secondary transform.
- Equation 9 x and y are inputs and outputs of a quadratic transformation, respectively, and G is a matrix representing a quadratic transformation, and transform basis vectors are composed of column vectors.
- G is a matrix representing a quadratic transformation
- transform basis vectors are composed of column vectors.
- the dimensions of the matrix G are [48 x 16 ], [48 x 8 ], [16 x 16 ], and [16 x 8 ], and the [48 x 8] and [16 x 8] matrices are respectively
- This is a partial matrix obtained by sampling 8 transform basis vectors from the left of the [48 x 16] matrix and the [16 x 16] matrix.
- the dimensions of the matrix G T are [16 x 48 ], [8 x 48 ], [16 x 16 ], and [8 x 16 ], and [8 x 48] and [8 x 16]
- the matrix is a partial matrix obtained by sampling 8 transform basis vectors from the top of the [16 x 48] matrix and the [16 x 16] matrix, respectively.
- a [48 x 1] vector or a [16 x 1] vector can be used as an input x
- a [16 x 1] vector or a [8 x 1] vector can be used as an output y.
- 2D data that is the output of the forward transform is properly arranged to form a [48 x 1] vector or a [16 x 1] vector as input x. We need to construct a dimensional vector.
- FIG. 6 is a diagram illustrating a sequence of arranging output data of a forward linear transformation into a one-dimensional vector, according to an example.
- Figures 6 (a) and (b) on the left shows a sequence for creating a [48 x 1] vector
- Figure 6 (a) and (b) on the right shows a [16 x 1] vector Indicate the order.
- a one-dimensional vector x may be obtained by sequentially arranging 2D data in the order shown in FIGS. 6A and 6B.
- the arrangement direction of the output data of the forward linear transformation may be determined according to the intra prediction mode of the current block. For example, if the intra prediction mode of the current block is in the horizontal direction based on the diagonal direction, the output data of the forward first order transformation may be arranged in the order of FIG. 6A, and the intra prediction mode of the current block is in the diagonal direction. In the vertical direction based on, the output data of the forward first-order transformation may be arranged in the order of (b) of FIG. 6.
- an arrangement order different from the ordering of FIGS. 6A and 6B may be applied, and the same as when the arrangement order of FIGS. 6A and 6B is applied.
- the column vectors of matrix G can be rearranged according to the corresponding arrangement order. That is, the column vectors of G can be rearranged so that each element constituting the x vector is always multiplied by the same transformed basis vector.
- Equation 9 Since the output y derived through Equation 9 is a one-dimensional vector, if a configuration that processes the result of a forward quadratic transformation as an input, for example, a configuration that performs quantization or residual coding, requires two-dimensional data as input data. Then, the output y vector of Equation 9 must be properly arranged as 2D data.
- FIG. 7 is a diagram illustrating a sequence of arranging output data of a forward quadratic transformation into 2D blocks according to an example.
- LFNST it may be placed in a 2D block according to a predetermined scan order.
- 7A shows that when the output y is a [16 x 1] vector, output values are arranged in a diagonal scan order at 16 positions of a 2D block.
- 7B shows that when the output y is a [8 x 1] vector, output values are arranged in the diagonal scan order at eight positions of the 2D block and the remaining eight positions are filled with zeros.
- X in (b) of FIG. 7 indicates that it is filled with zeros.
- the output vector y since the order in which the output vector y is processed by a configuration that performs quantization or residual coding may be performed according to a preset order, the output vector y may not be arranged in the 2D block as shown in FIG. 7. .
- data coding may be performed in units of 2D blocks (e.g., 4x4) such as CG (Coefficient Group), and in this case, data is arranged according to a specific order as in the diagonal scan order of FIG. Can be.
- the decoding apparatus may construct a 1D input vector y by arranging 2D data outputted through an inverse quantization process or the like for inverse transformation according to a preset scan order.
- the input vector y may be output as an input vector x by the following equation.
- the output vector x can be derived by multiplying the input vector y, which is a [16 x 1] vector or a [8 x 1] vector, by a G matrix.
- the output vector x may be a [48 x 1] vector or a [16 x 1] vector.
- the output vector x is arranged in a two-dimensional block according to the order shown in FIG. 6 to be arranged as two-dimensional data, and the two-dimensional data becomes input data (or part of the input data) of the reverse first-order transformation.
- the reverse quadratic transform is generally opposite to the forward quadratic transform process, and in the case of the inverse transform, the reverse quadratic transform is applied first, and then the backward linear transform is applied, unlike in the forward direction.
- one of eight [48 x 16] matrices and eight [16 x 16] matrices may be selected as the transform matrix G. Whether a [48 x 16] matrix or a [16 x 16] matrix is applied depends on the size and shape of the block.
- each transform set may be composed of two matrices. Which of the four transform sets to use is determined according to the intra prediction mode, and more specifically, the transform set is determined based on the value of the extended intra prediction mode by considering the wide angle intra prediction mode (Wide Angle Intra Prediction, WAIP). do. Which of the two matrices constituting the selected transform set is selected is derived through index signaling. More specifically, as the transmitted index value, 0, 1, and 2 are possible, 0 indicates that LFNST is not applied, and 1 and 2 are two transforms constituting a transform set selected based on the intra prediction mode value. Any one of the matrices can be indicated.
- WAIP Wide Angle Intra Prediction
- FIG. 8 is a diagram illustrating a block shape to which LFNST is applied.
- Figure 8 (a) shows 4 x 4 blocks, (b) shows 4 x 8 and 8 x 4 blocks, (c) shows 4 x N or N x 4 blocks in which N is 16 or more, and (d) shows 8 An x 8 block, (e) represents an M x N block in which M ⁇ 8, N ⁇ 8, and N>8 or M>8.
- blocks with thick borders indicate areas to which LFNST is applied.
- LFNST is applied to the top-left 4x4 area, and for the block of FIG. 8C, the two upper left 4x4 areas are continuously arranged.
- Each LFNST is applied.
- LFNST is applied in units of 4x4 regions, these LFNSTs will be referred to as “4x4 LFNST” below.
- a [16 x 16] or [16 x 8] matrix may be applied.
- a [16 x 8] matrix is applied to the 4x4 block (4x4 TU or 4x4 CU) of FIG. 8(a), and [16 x 8] for the blocks in (b) and (c) of FIG. 8 16]
- the matrix is applied. This is to set the computational complexity for the worst case to 8 multiplications per sample.
- LFNST is applied to the upper left 8x8 area, and this LFNST is hereinafter referred to as “8x8 LFNST”.
- a [48 x 16] or [48 x 8] matrix may be applied.
- a [48 x 1] vector (x vector in Equation 9) is input as input data, so all sample values in the upper left 8x8 area are not used as input values for forward LFNST. That is, as shown in the left order of FIG. 6(a) or the left order of FIG. 6(b), the 4x4 block at the bottom-right is left as it is, and samples belonging to the remaining 3 4x4 blocks are included.
- [48 x 1] we can construct a vector.
- a [48 x 8] matrix may be applied to an 8x8 block (8x8 TU or 8x8 CU) in FIG. 8(d), and a [48 x 16] matrix may be applied to an 8x8 block in FIG. 8(e). This is also to set the computational complexity for the worst case to 8 multiplications per sample.
- the corresponding forward LFNST (4x4 LFNST or 8x8 LFNST) is applied according to the block shape, 8 or 16 output data (y vector in Equation 9, [8 x 1] or [16 x 1] vector) are created.
- the number of output data is equal to or less than the number of input data due to the characteristics of the matrix GT.
- FIG. 9 is a diagram illustrating an arrangement of output data of forward LFNST according to an example, and illustrates a block in which output data of forward LFNST is arranged according to a block shape.
- the shaded area at the upper left of the block shown in FIG. 9 corresponds to the area where the output data of the forward direction LFNST is located, the location indicated by 0 indicates the samples filled with a value of 0, and the remaining area is changed by forward LFNST. Indicates the area that is not available. In an area that is not changed by LFNST, the output data of the forward primary transform remains unchanged.
- the output data of the forward LFNST may not fill the upper left 4x4 block.
- a [16 x 8] matrix and a [48 x 8] matrix are applied to the block indicated by a thick line or a partial area inside the block, respectively, as the output of the forward LFNST [8 x 1 ] A vector is created. That is, only 8 output data may be filled as shown in FIGS. 9A and 9D according to the scan order shown in FIG. 7B, and 0 may be filled for the remaining 8 positions.
- two 4x4 blocks adjacent to the upper left 4x4 block and the lower left 4x4 blocks are also filled with 0 values as shown in FIG. 9(d).
- the LFNST index is basically signaled to designate whether to apply LFNST and a transformation matrix to be applied. As shown in FIG. 9, when LFNST is applied, since the number of output data of the forward LFNST may be equal to or less than the number of input data, a region filled with a zero value occurs as follows.
- the encoding device uses non-zero data ( It is possible to know whether there is an effective coefficient). Accordingly, the encoding device may determine whether to perform signaling for the LFNST index based on whether non-zero data exists, and the decoding device may determine whether to parse the LFNST index. If non-zero data does not exist in the areas designated in 1) and 2) above, LFNST index signaling is performed.
- the following simplification methods may be applied.
- the number of output data for forward LFNST may be limited to a maximum of 16.
- 4x4 LFNST may be applied to two 4x4 regions adjacent to the upper left, and at this time, up to 32 LFNST output data may be generated. If the number of output data for the forward LFNST is limited to a maximum of 16, 4x4 LFNST is applied to only one 4x4 area existing in the upper left corner even for a 4xN/Nx4 (N ⁇ 16) block (TU or CU). LFNST can be applied only once for all blocks. This can simplify the implementation of image coding.
- zero-out may be additionally applied to a region to which LFNST is not applied.
- zero-out may mean filling the values of all positions belonging to a specific area with a value of 0. That is, zero-out can be applied to a region that is not changed due to LFNST and maintains the result of the forward first-order transformation.
- zero-out can be classified into two types ((ii)-(A) and (ii)-(B)) as follows.
- FIG. 10 is a diagram illustrating zero-out in a block to which 4x4 LFNST is applied according to an example.
- a block to which 4x4 LFNST is applied that is, a region to which LFNST is not applied to the blocks of FIGS. 9A, 9B, and 9C may be all filled with zeros.
- FIG. 10D shows that, according to an example, when the maximum value of the number of output data of the forward LFNST is limited to 16, zero-out is performed for the remaining blocks to which 4x4 LFNST is not applied.
- FIG. 11 is a diagram illustrating zero-out in a block to which 8x8 LFNST is applied according to an example.
- the blocks to which the 8x8 LFNST is applied that is, the areas to which the LFNST is not applied to the blocks of (d) and (e) of FIG. 9 may be all filled with 0s.
- non-zero data is added to the area filled with 0 values in Fig. 9(d) and (e), and up to the area additionally filled with 0 in Fig. After checking whether there is presence or not, signaling for the LFNST index can be performed only when non-zero data does not exist.
- the area in which non-zero output data can exist is limited to the inside of the upper left 4x4 area.
- the eighth position in the scan order is the last position in which non-zero data can exist
- the 16th position in the scan order is the last position in which non-zero data can exist.
- the amount of computation required for the entire conversion process can be reduced, thereby reducing the power consumption required to perform the conversion.
- a second-order transformation such as LFNST increases the total delay time involved in performing the transformation because the amount of calculation is added to the existing first-order transformation.
- an increase in delay time due to quadratic transformation during encoding leads to an increase in delay time until reconstruction, thereby increasing the overall delay time of intra prediction encoding.
- the delay time for performing the first-order conversion can be significantly reduced when applying LFNST, so the delay time for the entire conversion is maintained as it is or rather reduced, making the encoding device simpler. Can be implemented.
- ISP Intelligent Sub-Paritions
- coding refers to performing intra prediction coding by dividing a block to be currently coded in a horizontal direction or a vertical direction.
- a reconstructed block is generated by performing encoding/decoding in units of divided blocks, and the reconstructed block may be used as a reference block of the next divided block.
- one coding block may be divided into two or four sub-blocks to be coded, and in the ISP, one sub-block is a reconstructed pixel value of an adjacent left or adjacent upper sub-block.
- Intra prediction is performed with reference.
- “coding” used may be used as a concept including both coding performed by the encoding device and decoding performed by the decoding device.
- the ISP divides a block predicted by luma intra into 2 or 4 sub-partitions in the vertical direction or the horizontal direction according to the size of the block. For example, the minimum block size that an ISP can apply is 4 x 8 or 8 x 4. If the block size is larger than 4 x 8 or 8 x 4, the block is divided into 4 sub-partitions.
- sub-blocks are sequentially coded according to the division type, for example, horizontally or vertically, left to right, or top to bottom, and inverse transform and intra prediction for one sub-block are performed.
- coding for the next sub-block may be performed.
- a reconstructed pixel of an already coded coding block is referred to as in a conventional intra prediction method.
- the reconstructed pixels of the adjacent coding block that have already been coded as in the conventional intra prediction method are deduced to derive the reference pixels adjacent to the corresponding side. See.
- all sub-blocks may be coded with the same intra prediction mode, and a flag indicating whether to use ISP coding and a flag indicating in which direction (horizontal or vertical) to be divided may be signaled.
- the number of sub-blocks can be adjusted to 2 or 4, and if the size (width x height) of one sub-block is less than 16, division into the sub-block is not allowed, or ISP coding It can be restricted not to apply itself.
- one coding unit is divided into 2 or 4 partition blocks, i.e., sub-blocks, and predicted, and the same intra prediction mode is applied to the divided 2 or 4 partition blocks. .
- Mx(N/4) blocks When it is divided, it is divided into Mx(N/4) blocks) and in the vertical direction (when the MxN coding unit is divided in the vertical direction, if it is divided into two, it is divided into (M/2)xN blocks and divided into four) (Divided into (M/4)xN blocks) are all possible.
- partition blocks are coded in an order from top to bottom, and when partitioned in a vertical direction, partition blocks are coded in an order from left to right.
- the currently coded partition block may be predicted by referring to reconstructed pixel values of the upper (left) partition block in the case of horizontal (vertical) division.
- Transformation may be applied in units of partition blocks to the residual signal generated by the ISP prediction method.
- MTS Multiple Transform Selection
- DST-7/DCT-8 as well as the existing DCT-2
- LNNST forward Low Frequency Non-Separable Transform
- LFNST may be applied to partition blocks divided by applying the ISP prediction mode, and the same intra prediction mode is applied to the divided partition blocks as described above. Accordingly, when selecting the LFNST set derived based on the intra prediction mode, the derived LFNST set can be applied to all partition blocks. That is, since the same intra prediction mode is applied to all partition blocks, the same LFNST set may be applied to all partition blocks.
- LFNST may be applied only to a transform block having a horizontal and vertical length of 4 or more. Accordingly, when the horizontal or vertical length of the partition block divided according to the ISP prediction method is less than 4, LFNST is not applied and the LFNST index is not signaled. In addition, when LFNST is applied to each partition block, the corresponding partition block can be regarded as one transform block. Of course, if the ISP prediction method is not applied, LFNST may be applied to the coding block.
- LFNST when the length of one side of the partition block is 4, LFNST is applied only to the upper left 4x4 area, and when the length of all sides of the partition block, that is, the width and height is 8 or more, the upper left 8x8 area and the lower right 4x4 inside the area LFNST can be applied to the remaining 48 coefficients excluding the region.
- each partition block is 4x4 or 8x8, only 8 transform coefficients may be output after applying the forward LFNST. That is, if the partition block is 4x4, an 8x16 matrix may be applied as a transform matrix, and if the partition block is 8x8, an 8x48 matrix may be applied as a transform matrix.
- LFNST index signaling is performed in units of coding units. Accordingly, in the case of ISP prediction mode and applying LFNST to all partition blocks, the same LFNST index value may be applied to the corresponding partition blocks. That is, once the LFNST index value is transmitted at the coding unit level, the corresponding LFNST index may be applied to all partition blocks inside the coding unit. As described above, the LFNST index value may have 0, 1, 2 values, 0 indicates a case where LFNST is not applied, and 1 and 2 are two transform matrices present in one LFNST set when LFNST is applied. Points to.
- the LFNST set is determined by the intra prediction mode, and in the ISP prediction mode, all partition blocks in the coding unit are predicted by the same intra prediction mode, so the partition blocks may refer to the same LFNST set.
- LFNST index signaling is still performed in units of coding units, but in the case of the ISP prediction mode, it is not uniformly determined whether to apply LFNST to all partition blocks, and for each partition block through a separate condition. It is possible to determine whether to apply the LFNST index value signaled at the coding unit level or not to apply the LFNST.
- a separate condition may be signaled in the form of a flag for each partition block through the bitstream, and if the flag value is 1, the LFNST index value signaled at the coding unit level is applied, and if the flag value is 0, LFNST is not applied. May not.
- the application of LFNST can be restricted to keep the number of multiplications per sample (or per coefficient, per position) below a certain value.
- the number of multiplications per sample (or per coefficient, per position) can be kept to 8 or less by applying LFNST as follows.
- the partition block is a 4x4 block, instead of a 16x16 matrix, an 8x16 matrix that samples the top 8 rows from a 16x16 matrix in the forward direction can be applied, and a 16x8 matrix that samples the left 8 columns from a 16x16 matrix in the reverse direction can be applied.
- an 8x48 matrix obtained by sampling the top 8 rows from a 16x48 matrix is applied instead of a 16x48 matrix in the forward direction, and a 48x8 matrix sampled from the left 8 columns from a 48x16 matrix instead of a 48x16 matrix in the reverse direction. Can be applied.
- 16 coefficients generated after applying a 16x16 matrix to only the upper left 4x4 block when performing forward transformation are arranged in the upper left 4x4 area, and the other areas may be filled with 0 values.
- 16 coefficients located in the upper left 4x4 block may be arranged in a scanning order to form an input vector, and then 16x16 matrices may be multiplied to generate 16 output data.
- the generated output data is disposed in the upper left 4x4 area, and the rest area except for the upper left 4x4 area may be filled with zeros.
- an 8xN or Nx8 (N> 8) block 16 generated after applying a 16x48 matrix to only the ROI area inside the upper left 8x8 block (remaining areas excluding the upper left 8x8 block to the lower right 4x4 block) when performing forward conversion.
- the coefficients are arranged in the upper left 4x4 area, and all other areas may be filled with a value of 0.
- an input vector is formed by arranging 16 coefficients located in the upper left 4x4 block according to the scanning order, and then 48 output data may be generated by multiplying a 48x16 matrix.
- the generated output data may be filled in the ROI area, and all other areas may be filled with a value of 0.
- Another example is the number of multiplications per sample (or per coefficient, per position) based on the ISP coding unit size, not the size of the ISP partition block in order to keep the number of multiplications per sample (or per coefficient, per position) below a certain value. Can be kept to 8 or less. If there is only one block among the ISP partition blocks that satisfies the condition to which LFNST is applied, the complexity calculation for the worst case of LFNST may be applied based on the size of the corresponding coding unit rather than the size of the partition block.
- the other 2 partitions Blocks can be set to generate 16 transform coefficients instead of 8 each (based on the encoder).
- the LFNST index may have values of 0, 1, and 2, and 0 indicates that LFNST is not applied, and 1 and 2 indicate any one of two LFNST kernel matrices included in the selected LFNST set.
- LFNST is applied based on the LFNST kernel matrix selected by the LFNST index. The following describes how the LFNST index is transmitted in the current VVC standard.
- the LFNST index may be transmitted once per coding unit (CU), and in the case of a dual-tree, individual LFNST indexes may be signaled for each luma block and chroma block.
- the LFNST index value is set to a default value of 0 (infer).
- the case where the LFNST index value is inferred to be 0 is as follows.
- the horizontal or vertical length of the luma block of the coding unit exceeds the size of the maximum luma transform that can be transformed, for example, when the maximum luma transform size that can be transformed is 64, the luma block of the coding block is If the size is equal to 128x16, LFNST cannot be applied.
- the size of the maximum luma transform is exceeded for each of the coding units for the luma component and the coding units for the chroma component. That is, whether the luma block exceeds the maximum luma transform size that can be transformed is checked, and for the chroma block, the horizontal/vertical length of the corresponding luma block for the color format and the maximum luma transform size that can be transformed are exceeded. Whether or not it is checked. For example, when the color format is 4:2:0, the horizontal/vertical length of the corresponding luma block is twice the corresponding chroma block, and the transform size of the corresponding luma block is twice the corresponding chroma block. As another example, when the color format is 4:4:4, the horizontal/vertical length and the transform size of the corresponding luma block are the same as the corresponding chroma block.
- a 64-length conversion or a 32-length conversion means a conversion applied to a width or length having a length of 64 or 32, respectively, and “conversion size” may mean a corresponding length of 64 or 32.
- the LFNST index can be transmitted only when both the horizontal length and the vertical length of the coding unit are 4 or more.
- the LFNST index can be signaled only when both the horizontal length and the vertical length of the corresponding component (ie, luma or chroma component) are 4 or more.
- the LFNST index may be signaled when both the horizontal length and the vertical length of the luma component are 4 or more.
- the last non-zero coefficient position is not the DC position (the upper-left position of the block)
- the dual-tree type luma block the last non-zero coefficient position is not the DC position
- LFNST Transfer the index.
- the LNFST index is transmitted if at least one of the last non-zero coefficient position for Cb and the last non-zero coefficient position for Cr is not a DC position.
- the LFNST index is transmitted.
- the position of the last non-zero coefficient for the corresponding transform block is not checked to determine whether the LFNST index is signaled. That is, when the CBF value is 0, since transformation is not applied to the corresponding block, the position of the last non-zero coefficient may not be considered when checking the condition for LFNST index signaling.
- LFNST transform coefficients may exist in eight positions from the DC position according to the transform coefficient scanning order in the VVC standard, and all remaining positions are filled with zeros.
- LFNST transform coefficients may exist at 16 positions from the DC position according to the transform coefficient scanning order in the VVC standard, and all remaining positions are filled with zeros.
- LFNST index signaling can be omitted.
- the ISP mode may be applied only to a luma block or may be applied to both a luma block and a chroma block.
- a corresponding coding unit is divided into two or four partition blocks to be predicted, and a transform may be applied to the corresponding partition blocks, respectively. Therefore, when determining the condition for signaling the LFNST index in units of coding units, it is necessary to take into account the fact that LFNST can be applied to each of the corresponding partition blocks.
- the ISP prediction mode is applied only to a specific component (eg, a luma block)
- the LFNST index must be signaled in consideration of the fact that only the corresponding component is divided into partition blocks. LFNST index signaling methods available in ISP mode are summarized as follows.
- the LFNST index may be transmitted once per coding unit (CU), and in the case of a dual-tree, individual LFNST indexes may be signaled for each luma block and chroma block.
- the LFNST index value is set to a default value of 0 (infer).
- the case where the LFNST index value is inferred to be 0 is as follows.
- the horizontal or vertical length of the luma block of the coding unit exceeds the size of the maximum luma transform that can be transformed, for example, when the maximum luma transform size that can be transformed is 64, the luma block of the coding block is If the size is equal to 128x16, LFNST cannot be applied.
- LFNST index signaling may be omitted and the LFNST index value may be inferred as 0.
- the maximum transform block size is exceeded for each of the coding unit or partition block for the luma component and the coding unit or partition block for the chroma component. That is, if the horizontal and vertical lengths of the coding unit or partition block for luma are compared with the maximum luma transform size, respectively, if any one is greater than the maximum luma transform size, LFNST is not applied, and in the case of the coding unit or partition block for chroma, the color The horizontal/vertical length of the corresponding luma block for the format and the size of the maximum luma transform capable of maximum conversion are compared.
- the horizontal/vertical length of the corresponding luma block is twice the corresponding chroma block
- the transform size of the corresponding luma block is twice the corresponding chroma block.
- the horizontal/vertical length and the transform size of the corresponding luma block are the same as the corresponding chroma block.
- the LFNST index can be transmitted only when both the horizontal and vertical lengths of the partition block are 4 or more.
- the LFNST index is only used when the size of the partition block is equal to or greater than the 2xM (1xM) or Mx2 (Mx1) block. Can be transmitted.
- the PxQ block is equal to or greater than the RxS block, it means that P ⁇ R and Q ⁇ S.
- the LFNST index can be transmitted only when the partition block is equal to or larger than the minimum size applicable to the LFNST.
- the LFNST index can be signaled only when the partition block for the luma or chroma component is equal to or larger than the minimum size to which LFNST is applicable.
- the LFNST index can be signaled only when the partition block for the luma component is equal to or larger than the minimum size applicable to the LFNST.
- an MxN block when an MxN block is greater than or equal to a KxL block, it means that M is greater than or equal to K and N is greater than or equal to L. That the MxN block is greater than the KxL block means that M is greater than or equal to K and N is greater than or equal to L, and M is greater than K or N is greater than L.
- an MxN block is less than or equal to a KxL block, it means that M is less than or equal to K and N is less than or equal to L, and that an MxN block is less than or equal to a KxL block means that M is less than or equal to K and N is less than L. It is equal to or equal to, meaning that M is less than K or N is less than L.
- LFNST can be transmitted. If it is a dual tree type and is a chroma block, all partition blocks for Cb (if ISP mode is not applied to the chroma component, the number of partition blocks is considered to be one), the position of the last non-zero coefficient and all partitions for Cr.
- the LNFST index can be transmitted if at least one of the positions of the last non-zero coefficients is not a DC position (if the ISP mode is not applied to the chroma component, the number of partition blocks is considered to be one).
- the position of the last non-zero coefficient for the corresponding partition block is not checked in order to determine whether the LFNST index is signaled. That is, when the CBF value is 0, the transform is not applied to the corresponding block. Therefore, when checking the condition for LFNST index signaling, the position of the last non-zero coefficient for the corresponding partition block is not considered.
- each partition block is For a partition block, if the CBF value for Cb is 0 and the CBF value for Cr is 1, only the position of the last non-zero coefficient for Cr is checked to determine whether to signal the corresponding LFNST index. 3) In the case of a single tree type, the luma component For all partition blocks of the, Cb and Cr components, the position of the last non-zero coefficient may be checked only for blocks having a CBF value of 1 to determine whether to signal the LFNST index.
- image information may be configured so that the position of the last non-zero coefficient is not checked, and an embodiment of this is as follows.
- LFNST index signaling may be allowed without checking the position of the last non-zero coefficient for both the luma block and the chroma block. That is, even if the position of the last non-zero coefficient for all partition blocks is the DC position or the corresponding CBF value is 0, the corresponding LFNST index signaling can be allowed.
- the check for the position of the last non-zero coefficient may be omitted for only the luma block, and in the case of the chroma block, the position of the last non-zero coefficient in the above-described scheme may be checked.
- LFNST index signaling is allowed without checking the position of the last non-zero coefficient.
- the last non-zero It is possible to determine whether to signal the corresponding LFNST index by checking whether there is a DC position relative to the position of the coefficient.
- the method i or ii may be applied. That is, in the case of ISP mode and applying number i to the single tree type, the check for the position of the last non-zero coefficient for both the luma block and the chroma block may be omitted, and LFNST index signaling may be allowed.
- ii is applied to omit the check for the position of the last non-zero coefficient for the partition blocks for the luma component, and the partition blocks for the chroma component (if ISP is not applied for the chroma component, the partition block
- the number may be considered to be 1), it is possible to determine whether to signal the corresponding LFNST index by performing a check on the position of the last non-zero coefficient in the above-described manner.
- E. LFNST index signaling can be omitted when it is confirmed that a transform coefficient exists in a location other than a location where the LFNST transform coefficient can exist even for one of all partition blocks.
- LFNST transform coefficients may exist in eight positions from the DC position according to the transform coefficient scanning order in the VVC standard, and all remaining positions are filled with zeros.
- LFNST transform coefficients may exist at 16 positions from the DC position according to the transform coefficient scanning order in the VVC standard, and all remaining positions are filled with zeros. You lose.
- LFNST index signaling can be omitted.
- the length condition is independently viewed for the horizontal direction and the vertical direction, and DST-7 is applied instead of DCT-2 without signaling for the MTS index. It is determined whether the horizontal or vertical length is greater than or equal to 4 and less than or equal to 16, and a first-order transformation kernel is determined according to the determination result. Accordingly, in the case where LFNST can be applied while in the ISP mode, the following conversion combination configuration is possible.
- the first-order conversion decision condition when the ISP included in the current VVC standard can be followed.
- each of the horizontal and vertical directions independently checks whether the length condition (a condition equal to or greater than 4 and equal to or less than 16) is satisfied, and if it is satisfied, DST-7 is used instead of DCT-2 for first-order transformation. If applicable and not satisfied, DCT-2 can be applied.
- DCT-2 can be applied to both horizontal and vertical directions.
- the conditions for determining the first-order conversion when the ISP included in the current VVC standard can be followed. In other words, it checks whether the length condition (a condition equal to or greater than 4 and equal to or less than 16) is satisfied independently for the horizontal and vertical directions, and if it is satisfied, DST-7 is applied instead of DCT-2, and if not, DCT-2 can be applied.
- the length condition a condition equal to or greater than 4 and equal to or less than 16
- the LFNST index may be configured to be transmitted for each partition block rather than for each coding unit.
- LFNST index signaling scheme it is considered that only one partition block exists in the unit in which the LFNST index is transmitted, and whether to signal the LFNST index may be determined.
- the following describes the signaling order of the LFNST index and the MTS index.
- the LFNST index signaled in residual coding may be coded after the coding position for the last non-zero coefficient position, and the MTS index may be coded immediately after the LFNST index.
- the LFNST index may be signaled for each conversion unit.
- the LFNST index may be coded after coding for the last significant coefficient position, and the MTS index may be coded after the LFNST index.
- the syntax of residual coding according to an example is as follows.
- log2TbWidth, log2TbHeight The log value of base-2 and zero-out for the width and height of the current transform block are reflected and reduced to the upper left area where non-zero coefficients can exist. I can.
- sps_lfnst_enabled_flag A flag indicating whether LFNST is applicable. If the flag value is 0, it indicates that LFNST is not applicable, and if the flag value is 1, it indicates that LFNST is applicable. It is defined in the Sequence Parameter Set (SPS).
- CuPredMode[ chType ][ x0 ][ y0 ] The prediction mode corresponding to the variable chType and (x0, y0) position, chType can have values 0 and 1, 0 represents the luma component, and 1 represents the chroma component. .
- the (x0, y0) position represents the position on the picture, and as CuPredMode[chType][x0][y0] values, MODE_INTRA (intra prediction) and MODE_INTER (inter prediction) are possible.
- intra_mip_flag[ x0 ][ y0 ] The contents of the (x0, y0) location are the same as in step 4 above.
- the intra_mip_flag is a flag indicating whether a matrix-based intra prediction (MIP) prediction mode is applied. If the flag value is 0, it indicates that MIP is not applicable, and if the flag value is 1, it indicates that the MIP is applied.
- MIP matrix-based intra prediction
- cIdx A value of 0 represents luma, and a value of 1 and 2 represent chroma components Cb and Cr, respectively.
- treeType indicates single-tree and dual-tree (SINGLE_TREE: single tree, DUAL_TREE_LUMA: dual tree for luma components, DUAL_TREE_CHROMA: dual tree for chroma components)
- lastSubBlock indicates a position in the scan order of a sub-block (Coefficient Group (CG)) where the last non-zero coefficient is located. 0 indicates a sub-block including a DC component, and if greater than 0, it is not a sub-block including a DC component.
- CG Coefficient Group
- lastScanPos This indicates where the last significant coefficient is in the scan order within one sub-block. If one sub-block consists of 16 positions, values from 0 to 15 are possible.
- LFNST index syntax element to be parsed. If it is not parsed, it is inferred as a value of 0. That is, the default value is set to 0 and indicates that LFNST is not applied.
- LastSignificantCoeffX, LastSignificantCoeffY The last significant coefficient represents the x-coordinate and y-coordinate located in the transform block. The x-coordinate starts at 0 and increases from left to right, and the y-coordinate starts at 0 and increases from top to bottom. If the values of both variables are 0, it means that the last significant coefficient is located in DC.
- cu_sbt_flag Flag indicating whether subblock transformation (SBT) included in the current VVC standard is applicable. If the flag value is 0, it indicates that SBT is not applicable, and if the flag value is 1, SBT is applied. To be.
- sps_explicit_mts_inter_enabled_flag Flags indicating whether explicit MTS has been applied to the inter CU and intra CU, respectively. If the flag value is 0, it indicates that MTS is not applicable to the inter CU or intra CU, and if 1 is applicable. Indicates that.
- tu_mts_idx[ x0 ][ y0 ] This is an MTS index syntax element to be parsed. If it is not parsed, it is inferred as a value of 0. That is, the default value is set to 0, indicating that DCT-2 is applied to both the horizontal and vertical directions.
- the LFNST index is signaled.
- the LFNST index is signaled only when the last significant coefficient exists at positions 0 to 7 in the upper left sub-block.
- the LFNST index is signaled independently of each of the luma and the chroma, and in the case of the chroma, the LFNST index may be signaled by applying the last significant coefficient position condition only to the Cb component.
- the LFNST index may be signaled by applying the last significant coefficient position condition to the Cr component.
- log2ZoTbWidth and log2ZoTbHeight each mean a logarithmic value of which the base of the width and height of the upper left area where the last significant coefficient can exist by zero-out is 2 (base-2).
- log2ZoTbWidth and log2ZoTbHeight values can be updated in two places. The first is before the MTS index or LFNST index value is parsed, and the second is after the MTS index is parsed.
- log2ZoTbWidth and log2ZoTbHeight can be set regardless of the MTS index value.
- log2ZoTbWidth and log2ZoTbHeight are set when the MTS index value is greater than 0 (DST-7/DCT-8 combination).
- DST-7/DCT-8 is independently applied to each of the horizontal and vertical directions in the first-order transformation, up to 16 effective coefficients may exist for each row or column for each direction. That is, after applying DST-7/DCT-8 having a length of 32 or more, up to 16 transform coefficients may be derived for each row or column from the left or the top. Therefore, for a 2D block, when DST-7/DCT-8 is applied in both the horizontal and vertical directions, effective coefficients may exist only up to the upper left 16x16 region.
- DST-7/DCT-8 when DST-7/DCT-8 is applied to one side and DCT-2 is applied to the horizontal and vertical directions, there may be 16 effective coefficients in the former direction, and 32 in the latter direction. There can be two effective coefficients. For example, if it is a 64x8 transform block and DCT-2 is applied in the horizontal direction and DST-7 is applied in the vertical direction (this may occur in a situation where the implicit MTS is applied), there may be an effective coefficient in the upper left 32x8 area. have.
- log2ZoTbWidth and log2ZoTbHeight are updated in two places, that is, before MTS index parsing, the ranges of last_sig_coeff_x_prefix and last_sig_coeff_y_prefix can be determined by log2ZoTbWidth and log2ZoTbHeight as shown in the table below.
- the maximum values of last_sig_coeff_x_prefix and last_sig_coeff_y_prefix can be set by reflecting log2ZoTbWidth and log2ZoTbHeight values in the binarization process for last_sig_coeff_x_prefix and last_sig_coeff_y_prefix.
- the specification text may be configured as shown in Table 6.
- Table 6 The description of the variables listed in Table 6 is the same as in Table 3.
- the LFNST index or/and the MTS index may be signaled at the coding unit level.
- the LFNST index can have three values, 0, 1, and 2, where 0 indicates that LFNST is not applied, and 1 and 2 are the first candidate and the first of the two LFNST kernel candidates included in the selected LFNST set, respectively. Indicate the second candidate.
- the LFNST index is coded through truncated unary binarization, and values 0, 1, and 2 may be coded as empty strings 0, 10, and 11, respectively.
- LFNST may be applied only when DCT-2 is applied in both the horizontal direction and the vertical direction as a first-order transformation. Therefore, if the MTS index is signaled after LFNST index signaling, the MTS index can be signaled only when the LFNST index value is 0. If the LFNST index is not 0, the MTS index is not signaled and both the horizontal and vertical directions are DCT. First-order transformation can be performed by applying -2.
- MTS index values can have values of 0, 1, 2, 3, 4, and 0, 1, 2, 3, 4 are DCT-2/DCT-2, DST-7/DST for horizontal and vertical directions, respectively. -7, DCT-8/DST-7, DST-7/DCT-8, DCT-8/DCT-8 can be indicated to be applied. Further, the MTS index may be coded through truncated unary binarization, and the 0, 1, 2, 3, and 4 values may be coded as empty strings 0, 10, 110, 1110, and 1111, respectively.
- LFNST index may be represented as shown in the table below.
- the LFNST index may be signaled in the second half of the coding unit syntax table.
- variable LfnstDcOnly and the variable LfnstZeroOutSigCoeffFlag in Table 7 may be set as shown in Table 10 below.
- variable LfnstDcOnly is 1 if all of the last significant coefficients are located at the DC position (upper left position) for transform blocks with a value of 1 for the CBF (Coded Block Flag, 1 if there is at least one valid coefficient in the block, otherwise 0). If not, it is zero. More specifically, in the case of dual-tree luma, the position of the last significant coefficient is checked for one luma transform block, and in the case of dual-tree chroma, the position of the last significant coefficient is checked for both the transform block for Cb and the transform block for Cr. do. In the case of a single tree, the position of the last significant coefficient can be checked for the transform block for luma, Cb, and Cr.
- variable LfnstZeroOutSigCoeffFlag is 0 if there is an effective coefficient at the zero-out position when LFNST is applied, otherwise it is 1.
- Lfnst_idx[x0][y0] included in Table 7 and the following table indicates the LFNST index for the corresponding coding unit
- tu_mts_idx[x0][y0] indicates the MTS index for the corresponding coding unit.
- a coding unit syntax table may be configured as shown in Table 8.
- transform_skip_flag[x0][y0] indicates whether the coding unit is coded in a transform skip mode in which transform is omitted, and the flag is signaled before the MTS index and LFNST index. That is, since lfnst_idx[x0][y0] is signaled before signaling the value of tu_mtx_idx[x0][y0], only the condition for the transform_skip_flag[x0][y0] value can be checked.
- tu_cbf_luma[x0][y0] is a flag indicating whether an effective coefficient exists for the luma component
- cbWidth and cbHeight represent the width and height of the coding unit for the luma component, respectively.
- tu_mts_idx[ x0 ][ y0] is signaled when both the width and height of the coding unit for the luma component are 32 or less, that is, whether MTS is applied is determined by the width and height of the coding unit for the luma component. do.
- transform block tiling when transform block tiling occurs (e.g., when the maximum transform size is set to 32, a 64x64 coding unit is divided into four 32x32 transform blocks and is coded) the size of each transform block
- the MTS index may be signaled based on. For example, when the width and height of a transform block are both 32 or less, the same MTS index value is applied to all transform blocks in a coding unit, so that the same first-order transform may be applied.
- the value of tu_cbf_luma[ x0 ][ y0] in Table 8 is the CBF value for the upper left transform block, or if the CBF value is 1 for all transform blocks, even one transform block. I can.
- LFNST when the ISP mode is applied to the current block, LFNST may be applied.
- Table 8 may be changed as shown in Table 9.
- the MTS index coding part is the same as in Table 8.
- log2ZoTbWidth and log2ZoTbHeight each represent the base-2 log value of the width and height of the upper left area remaining after zero-out is performed
- tu_mts_idx[ The part that checks the value of x0 ][y0] may be omitted.
- Binarization for last_sig_coeff_x_prefix and last_sig_coeff_y_prefix in Table 10 may be determined based on log2ZoTbWidth and log2ZoTbHeight as shown in Table 5.
- a condition for checking sps_mts_enable_flag may be added when determining log2ZoTbWidth and log2ZoTbHeight in residual coding.
- a coding unit syntax table, a transform unit syntax table, and a residual coding syntax table are as follows.
- the MTS index moves from the transform unit level to the syntax of the coding unit level, and is signaled after LFNST index signaling.
- the restriction condition that does not allow LFNST has been removed.
- LFNST can be applied to all intra prediction blocks.
- both the MTS index and the LFNST index are conditionally signaled at the last part of the coding unit level.
- MtsZeroOutSigCoeffFlag is initially set to 1, and this value can be changed in the residual coding of Table 13.
- the variable MtsZeroOutSigCoeffFlag is changed from 1 to 0 if there is a significant coefficient in the region (LastSignificantCoeffX> 15
- the technical feature may be implemented with another conditional syntax. For example, after MTS is performed, a variable indicating whether an effective coefficient exists in an area other than the DC area of the current block can be derived, and if the variable indicates that an effective coefficient exists in an area other than the DC area, MTS index can be signaled. That is, the existence of the effective coefficient in the region excluding the DC region of the current block indicates that the value of tu_cbf_luma[x0][y0] is 1, and in this case, the MTS index can be signaled.
- variable MtsDcOnly The variable can be expressed as MtsDcOnly, and the variable MtsDcOnly is initially set to 1 at the coding unit level, and then the value is changed to 0 when the residual coding level indicates that an effective coefficient exists in a region other than the DC region of the current block. Can be.
- image information may be configured such that the MTS index is signaled.
- the variable MtsDcOnly maintains an initial value of 1.
- the video information may be configured so that the MTS index is not signaled. That is, the MTS index is not parsed and signaled.
- the decoding apparatus may determine the color index (cIdx) of the transform coefficient to derive the variable MtsZeroOutSigCoeffFlag of Table 13.
- the color index (cIdx) is 0, it means the luma component.
- the variable MtsZeroOutSigCoeffFlag is a variable indicating whether zero-out has been performed when MTS is applied, and indicates whether a transform coefficient exists in an area other than the upper left 16X16 area in which the last significant coefficient can exist due to zero-out after MTS is performed. .
- a non-zero-out region in which a non-zero transform coefficient may exist may be set depending on whether zero-out accompanying MTS has been performed. Even in this case, a color index (cIdx When) is 0, the non-zero-out area may be set as the upper left 16X16 area of the current block.
- Table 11 shows a variable LfnstZeroOutSigCoeffFlag that can indicate that zero-out has been performed when LFNST is applied.
- the variable LfnstZeroOutSigCoeffFlag indicates whether a valid coefficient exists in the second region excluding the first region at the top left of the current block. This value is initially set to 1, and if there is a valid coefficient in the second region, the value is 0. Can be changed to.
- the LFNST index can be parsed only when the initially set variable LfnstZeroOutSigCoeffFlag value is maintained as 1.
- FIG. 12 is a diagram for describing a CCLM that can be applied when deriving an intra prediction mode of a chroma block according to an embodiment.
- the “reference sample template” may mean a set of reference samples around the current chroma block for predicting the current chroma block.
- the reference sample template may be predefined, and information on the reference sample template may be signaled from the encoding device 100 to the decoding device 200.
- a set of samples shaded with one line around a 4x4 block, which is a current chroma block, represents a reference sample template. It can be seen from FIG. 12 that the reference sample template is composed of one line of reference samples, while the reference sample area in the luma region corresponding to the reference sample template is composed of two lines.
- CCLM is a method of predicting a pixel value of a chroma image from a pixel value of a reconstructed luminance image, and is based on a characteristic having a high correlation between a luminance image and a chroma image.
- CCLM prediction of Cb and Cr chroma images may be based on the following equation.
- Pred c (i,j) denotes the predicted Cb or Cr chroma image
- Rec L '(i,j) denotes the reconstructed luminance image adjusted to the chroma block size
- (i,j) denotes the coordinates of the pixel. it means.
- the chroma image Pred c (i) can be used in consideration of all surrounding pixels in addition to Rec L (2i,2j).
- the Rec L '(i,j) may be represented as a downsampled luma sample.
- Rec L '(i,j) may be derived using six neighboring pixels as shown in the following equation.
- ⁇ and ⁇ denote cross-correlation between the template around the Cb or Cr chroma block and the template around the luminance block as shown in the shaded area of FIG. 12 and the difference between the average value, for example, as shown in Equation 13 below. same.
- L(n) is a peripheral reference sample and/or left peripheral samples of the luma block corresponding to the current chroma image
- C(n) is a peripheral reference sample and/or left peripheral sample of the current chroma block to which the current encoding is applied.
- Means, and (i,j) means the pixel position.
- L(n) may represent down-sampled upper peripheral samples and/or left peripheral samples of the current luma block.
- N may represent the number of total pixel pairs (pair, luminance, and chroma) values used in the CCLM parameter calculation, and a value that is twice the smaller of the width and height of the current chroma block. Can be indicated.
- pictures may be divided into a sequence of coding tree units (CTUs).
- the CTU may correspond to a coding tree block (CTB).
- CTU may include a coding tree block of luma samples and a coding tree block of corresponding chroma samples.
- the tree type may be classified into a single tree (SINGLE_TREE) or a dual tree (DUAL_TREE) according to whether a luma block and a chroma block corresponding to each have a separate partitioning structure. If the chroma block has the same partition structure as the luma block, it can be represented as a single tree, and if the chroma component block has a different partition structure from the luma component block, it can be represented as a dual tree.
- the intra prediction mode value (predModeIntra value) of the luma transform block may be used to determine the LFNST set later.
- variable nTbW and the variable nTbH input as input values of the transformation process represent the width and height of the current transform block. If the current block is a luma transform block, the variable nTbW and the variable nTbH are luma transform. It represents the width and height of the block, and if the current block is a chroma transform block, the variable nTbW and the variable nTbH represent the width and height of the chroma transform block.
- variable nTbW and the variable nTbH in the italicized part of Table 14 represent the width and height of the chroma transform block that does not reflect the color format, and do not accurately indicate the reference position of the luma transform block corresponding to the chroma transform block. I can't. Therefore, the italic part of Table 14 can be modified as shown in the table below.
- nTbW and nTbH were changed to (nTbW * SubWidthC) / 2 and (nTbH * SubHeightC) / 2, respectively.
- xTbY and yTbY each represent a position in the current picture for the luma (the top-left sample of the current luma transform block relative to the top left luma sample of the current picture), and nTbW and nTbH are the transform blocks currently being coded.
- a variable nTbW specifying the width of the current transform block
- nTbH specifying the height of the current transform block).
- nTbW and nTbH are respectively the width and height of the chroma transform block. Therefore, if the currently coded transform block is a chroma transform block (cIdx> 0), when obtaining a reference position for a collocated luma transform block, refer to the corresponding luma transform block with the width and height of the corresponding luma transform block. You have to find a location.
- SubWidthC and SubHeightC in Table 15 are values set according to a color format (eg, 4:2:0, 4:2:2, 4:4:4), and more specifically, each of the luma component and the chroma component Since it represents the ratio of the width and the height (see Table 16 below), (nTbW * SubWidthC) and (nTbH * SubHeightC) for the chroma transform block will be values for the width and height for the co-located luma transform block, respectively. I can.
- the values of xTbY + (nTbW * SubWidthC) / 2 and yTbY + (nTbH * SubHeightC) / 2 indicate the center position value inside the co-located luma transform block based on the upper left position of the current picture. It can refer to a co-located luma transform block.
- the predModeIntra variable indicates an intra prediction mode value
- the values of the predModeIntra variable of INTRA_LT_CCLM, INTRA_L_CCLM, and INTRA_T_CCLM indicate that the current transform block is a transform block for chroma.
- INTRA_LT_CCLM, INTRA_L_CCLM, and INTRA_T_CCLM correspond to mode values of 81, 82, and 83, respectively, of intra prediction mode values.
- the reference position in the co-located luma transform block must be obtained using the xTbY + (nTbW * SubWidthC) / 2 values and the yTbY + (nTbH * SubHeightC) / 2 values.
- the value of the predModeIntra variable is intra_mip_flag[ xTbY + (nTbW * SubWidthC) / 2 ][ yTbY + (nTbH * SubHeightC) / 2] variables and CuPredMode[ 0 ][ xTbY + (nTbW * SubWidthC) / 2 ][ The value is updated by considering the yTbY + (nTbH * SubHeightC) / 2] variables together.
- the variable intra_mip_flag is a variable indicating whether the current transform block (or coding unit) is coded using the Matrix-based Intra Prediction (MIP) method, and intra_mip_flag[ x ][ y] is the upper left position in the current picture as (0, 0).
- MIP Matrix-based Intra Prediction
- intra_mip_flag[ x ][ y] is the upper left position in the current picture as (0, 0).
- MIP Matrix-based Intra Prediction
- the predModeIntra value is set to the planner mode. Set (INTRA_PLANAR).
- the value of the variable is (xTbY + (nTbW * SubWidthC) / 2, yTbY + (nTbH * SubHeightC) / 2) represents the prediction mode value corresponding to the coordinates.
- the prediction mode values may have MODE_INTRA, MODE_IBC, MODE_PLT, and MODE_INTER values, and represent intra prediction mode, IBC (Intra Block Copy) prediction mode, PLT (Palette) coding mode, and inter prediction mode, respectively.
- variable predModeIntra value is set to DC mode. If not in the above two cases, the variable predModeIntra value is IntraPredModeY[ xTbY + (nTbW * SubWidthC) / 2 ][ yTbY + (nTbH * SubHeightC) / 2] (Intra prediction corresponding to the center position inside the same position luma transform block Mode value).
- variable predModeIntra value may be updated once more based on the predModeIntra value updated in Table 15 in consideration of wide angle intra prediction as shown in the following table.
- predModeIntra nTbW
- nTbH updated variable predModeIntra values in Table 15 and nTbW and nTbH referenced in Table 15, respectively.
- nCbW and nCbH each indicate the width and height of the coding block corresponding to the corresponding transform block
- the IntraSubPartitionsSplitType variable indicates whether the ISP mode is applied, and the IntraSubPartitionsSplitType is ISP_NO_SPLIT, the coding unit was not divided due to the ISP. (I.e., ISP mode is not applied). If the variable IntraSubPartitionsSplitType value is not ISP_NO_SPLIT, ISP mode is applied to indicate that the coding unit is divided into 2 or 4 partition blocks.
- cIdx is an index indicating a color component.
- the predModeIntra value output through the mapping process of Table 17 is updated in consideration of whether the wide-angle intra prediction (WAIP) mode is applied.
- WAIP wide-angle intra prediction
- the predModeIntra value updated through Table 17 may be determined by the LFNST set through a mapping relationship as shown in the following table.
- LfnstTrSetIdx represents an index indicating an LFNST set, and has a value ranging from 0 to 3, so it can be confirmed that a total of 4 LFNST sets are configured.
- Each LFNST set may consist of two transform kernels, that is, LFNST kernels (the corresponding transform kernel may be a 16x16 matrix or a 16x48 matrix in the forward direction depending on the region to which LFNST is applied), among the two transform kernels.
- Which conversion kernel is applied can be specified through signaling of the LFNST index.
- whether to apply LFNST can also be designated through the LFNST index.
- the LFNST index can have a value of 0, 1, and 2, and 0 indicates that LFNST is not applied, and 1 and 2 respectively indicate corresponding two conversion kernels.
- FIG. 13 is a flowchart illustrating an operation of a video decoding apparatus according to an embodiment of the present document.
- FIG. 13 Each step disclosed in FIG. 13 is based on some of the contents described above in FIGS. 3 to 12. Accordingly, detailed descriptions overlapping with those described above in FIGS. 2 to 12 will be omitted or simplified.
- the decoding apparatus 200 may obtain intra prediction mode information and LFNST index from the bitstream (S1310).
- the intra prediction mode information is mpm indicating one of the mpm candidates in the most probable mode (MPM) list derived based on the intra prediction mode of the neighboring block (eg, left and/or upper neighboring block) of the current block and additional candidate modes. Remaining intra prediction mode information indicating one of the index or the remaining intra prediction modes not included in the mpm candidates may be included.
- MPM most probable mode
- the intra mode information may include flag information sps_cclm_enabled_flag indicating whether CCLM is applied to the current block, and intra_chroma_pred_mode information about an intra prediction mode for a chroma component.
- the LFNST index information is received as syntax information, and the syntax information is received as a binarized empty string including 0s and 1s.
- the syntax element of the LFNST index may indicate whether an inverse LFNST or an inverse non-separated transform is applied, and any one of a transform kernel matrix included in the transform set, and the transform set includes two transform kernel matrices. In this case, there may be three values of the syntax element of the conversion index.
- the syntax element value for the LFNST index is 0 indicating a case where inverse LFNST is not applied to the target block, 1 indicating the first transformation kernel matrix among transformation kernel matrices, and two of the transformation kernel matrices. It may include 2 indicating the th transform kernel matrix.
- the decoding apparatus 200 may decode information about quantized transform coefficients for the current block from the bitstream, and quantize the target block based on information about quantized transform coefficients for the current block.
- Transform coefficients can be derived.
- Information on quantized transform coefficients for the target block may be included in a sequence parameter set (SPS) or a slice header, information on whether or not a simplified transform (RST) is applied, information on a simplification factor, At least one of information on the minimum transform size to which the simplified transform is applied, information on the maximum transform size to which the simplified transform is applied, the size of the simplified inverse transform, and information on a transform index indicating any one of transform kernel matrices included in the transform set It may include.
- SPS sequence parameter set
- RST simplified transform
- simplification factor At least one of information on the minimum transform size to which the simplified transform is applied, information on the maximum transform size to which the simplified transform is applied, the size of the simplified inverse transform, and information on a transform index indicating any one of transform kernel
- the decoding apparatus 200 may derive transform coefficients by performing inverse quantization on residual information for the current block, that is, quantized transform coefficients, and may arrange the derived transform coefficients in a predetermined scanning order.
- the derived transform coefficients may be arranged according to the reverse diagonal scan order in units of 4 ⁇ 4 blocks, and the transform coefficients in the 4 ⁇ 4 block may also be arranged according to the reverse diagonal scan order. That is, transform coefficients subjected to inverse quantization may be arranged according to a reverse scan order applied in a video codec such as in VVC or HEVC.
- the transform coefficient derived based on such residual information may be an inverse quantized transform coefficient as described above, or may be a quantized transform coefficient. That is, the transform coefficient may be data capable of checking whether the current block is non-zero data regardless of whether or not quantization is performed.
- the decoding apparatus may derive the intra prediction mode of the chroma block as the CCLM mode based on the intra prediction mode information (S1320).
- the decoding apparatus may receive information on the intra prediction mode of the current chroma block through the bitstream, and derive the CCLM mode as the intra prediction mode of the current chroma block based on the information on the intra prediction mode. I can.
- the CCLM mode may include an upper left-based CCLM mode, an upper-based CCLM mode, or a left-based CCLM mode.
- the decoding apparatus may derive a residual sample by applying LFNST as a non-separated transform or MTS as a separating transform, and these transforms indicate the LFNST kernel, that is, the LFNST index and the MTS kernel indicating the LFNST matrix, respectively. It may be performed based on the MTS index.
- an LFNST set must be determined, and the LFNST set has a mapping relationship with the intra prediction mode of the current block.
- the decoding apparatus may update the intra prediction mode of the chroma block based on the intra prediction mode of the luma block corresponding to the chroma block for inverse LFNST of the chroma block (S1330).
- the updated intra prediction mode may be derived as an intra prediction mode corresponding to a specific position in the luma block, and in this case, the specific position may be set based on the color format of the chroma block.
- the specific position may be the center position of the luma block, and may be expressed as ((xTbY + (nTbW * SubWidthC) / 2), (yTbY + (nTbH * SubHeightC) / 2)).
- xTbY and yTbY represent the upper left coordinate of the luma block, that is, the upper left position in the luma sample reference for the current transform block
- nTbW and nTbH represent the width and height of the chroma block
- SubWidthC and SubHeightC represent the color Corresponds to the variable corresponding to the format.
- IntraPredModeY[xTbY + (nTbW * SubWidthC) / 2 ][ yTbY + (nTbH * SubHeightC) / 2] indicates the intra prediction mode in the luma block for the corresponding position.
- SubWidthC and SubHeightC can be derived as shown in Table 16. That is, if the color format is 4:2:0, SubWidthC and SubHeighC are 2, and if the color format is 4:2:2, SubWidthC is 2 and SubHeightC is 1.
- the color format is reflected in a variable indicating the specific position.
- the decoding apparatus may set the updated intra prediction mode as the intra planner mode. .
- MIP matrix based intra prediction
- the MIP mode may be referred to as affine linear weighted intra prediction (ALWIP) or matrix weighted intra prediction (MWIP).
- AWIP affine linear weighted intra prediction
- MWIP matrix weighted intra prediction
- Prediction samples for the current block may be derived by further performing a horizontal/vertical interpolation procedure.
- the decoding apparatus may set the updated intra prediction mode to the intra DC mode.
- IBC intra block copy
- the IBC prediction mode or the palette mode may be used for content image/video coding such as a game, such as, for example, screen content coding (SCC).
- IBC basically performs prediction in the current picture, but can be performed similarly to inter prediction in that it derives a reference block in the current picture. That is, the IBC may use at least one of the inter prediction techniques described in this document.
- the palette mode can be viewed as an example of intra coding or intra prediction. When the palette mode is applied, a sample value in a picture may be signaled based on information about a palette table and a palette index.
- the intra prediction mode of the chroma block may be updated to a specific mode such as an intra planner mode or an intra DC mode.
- the intra prediction mode of the center position is not the MIP mode, the IBC mode, and the palette mode
- the intra prediction mode of the chroma block is updated to the intra prediction mode of the luma block with respect to the center position to reflect the correlation between the chroma block and the luma block. Can be.
- the decoding apparatus may determine an LFNST set including LFNST matrices based on the updated intra prediction mode (S1340), and derive transform coefficients for the chroma block based on the LFNST matrix derived from the LFNST set (S1350).
- Any one of the plurality of LFNST matrices may be selected from among the plurality based on the LFNST set and the LFNST index.
- the LFNST transform set is derived according to the intra prediction mode, and 81 to 83 representing the CCLM mode in the intra prediction mode are omitted.
- the intra mode value for the corresponding luma block is used and LFNST This is because it derives a set of transformations.
- any one of four LFNST sets may be determined according to an intra prediction mode of a current block, and in this case, an LFNST set to be applied to the current chroma block may also be determined.
- the decoding apparatus may derive modified transform coefficients for the current chroma block by applying the LFNST matrix to the inverse quantized transform coefficients and performing inverse RST, for example, inverse LFNST.
- the decoding apparatus may derive residual samples from the transform coefficients through first-order inverse transform (S1360).
- MTS can be used as a first-order inverse transformation.
- the decoding apparatus may generate reconstructed samples based on residual samples for the current block and prediction samples for the current block.
- the current block may be a current luma block or a current chroma block.
- FIG. 14 is a flowchart illustrating an operation of a video encoding apparatus according to an embodiment of the present document.
- FIG. 14 Each step disclosed in FIG. 14 is based on some of the contents described above in FIGS. 3 to 12. Accordingly, detailed descriptions overlapping with those described above in FIGS. 1 and 3 to 12 will be omitted or simplified.
- the encoding apparatus 100 may derive an intra prediction mode for a chroma block as a CCLM mode (S1410).
- the encoding apparatus may determine an intra prediction mode of the current chroma block based on a rate-distortion cost (RDO).
- the RD cost may be derived based on Sum of Absolute Difference (SAD).
- SAD Sum of Absolute Difference
- the encoding apparatus may determine the CCLM mode as the intra prediction mode of the current chroma block based on the RD cost.
- the CCLM mode may include an upper left-based CCLM mode, an upper-based CCLM mode, or a left-based CCLM mode.
- the encoding apparatus may encode information on the intra prediction mode of the current chroma block, and the information on the intra prediction mode may be signaled through a bitstream.
- the information related to prediction of the current chroma block may include information on the intra prediction mode.
- the encoding apparatus may derive prediction samples for the chroma block based on the CCLM mode (S1420).
- the encoding apparatus may derive residual samples for a chroma block based on the prediction samples (S1430).
- the encoding apparatus may derive transform coefficients for a chroma block based on a first-order transform for a residual sample.
- the first-order transform may be performed through a plurality of transform kernels, and in this case, a transform kernel may be selected based on an intra prediction mode.
- the encoding apparatus may update the intra prediction mode of the chroma block based on the intra prediction mode of the luma block corresponding to the chroma block (S1440).
- the encoding apparatus may update the CCLM mode for the chroma block based on the intra prediction mode of the luma block corresponding to the chroma block (When predModeIntra is equal to either INTRA_LT_CCLM, INTRA_L_CCLM, or INTRA_T_CCLM, predModeIntra. is derived as follow:).
- the updated intra prediction mode may be derived as an intra prediction mode corresponding to a specific position in the luma block, and in this case, the specific position may be set based on the color format of the chroma block.
- the specific position may be the center position of the luma block, and may be expressed as ((xTbY + (nTbW * SubWidthC) / 2), (yTbY + (nTbH * SubHeightC) / 2)).
- xTbY and yTbY represent the upper left coordinate of the luma block, that is, the upper left position in the luma sample reference for the current transform block
- nTbW and nTbH represent the width and height of the chroma block
- SubWidthC and SubHeightC represent the color Corresponds to the variable corresponding to the format.
- IntraPredModeY[xTbY + (nTbW * SubWidthC) / 2 ][ yTbY + (nTbH * SubHeightC) / 2] indicates the intra prediction mode in the luma block for the corresponding position.
- SubWidthC and SubHeightC can be derived as shown in Table 16. That is, if the color format is 4:2:0, SubWidthC and SubHeightC are 2, and if the color format is 4:2:2, SubWidthC is 2 and SubHeightC is 1.
- the color format is reflected in a variable indicating the specific position.
- the encoding device may set the updated intra prediction mode as the intra planner mode. .
- MIP matrix based intra prediction
- the MIP mode may be referred to as affine linear weighted intra prediction (ALWIP) or matrix weighted intra prediction (MWIP).
- AWIP affine linear weighted intra prediction
- MWIP matrix weighted intra prediction
- Prediction samples for the current block may be derived by further performing a horizontal/vertical interpolation procedure.
- the encoding apparatus may set the updated intra prediction mode to the intra DC mode.
- IBC intra block copy
- the IBC prediction mode or the palette mode may be used for content image/video coding such as a game, such as, for example, screen content coding (SCC).
- IBC basically performs prediction in the current picture, but can be performed similarly to inter prediction in that it derives a reference block in the current picture. That is, the IBC may use at least one of the inter prediction techniques described in this document.
- the palette mode can be viewed as an example of intra coding or intra prediction. When the palette mode is applied, a sample value in a picture may be signaled based on information about a palette table and a palette index.
- the intra prediction mode of the chroma block may be updated to a specific mode such as an intra planner mode or an intra DC mode.
- the intra prediction mode of the center position is not the MIP mode, the IBC mode, and the palette mode
- the intra prediction mode of the chroma block is updated to the intra prediction mode of the luma block with respect to the center position to reflect the correlation between the chroma block and the luma block. Can be.
- the encoding apparatus may determine an LFNST set including LFNST matrices based on the updated intra prediction mode (S1450), and derive modified transform coefficients for the chroma block based on the residual samples and the LFNST matrix (S1460). ).
- the encoding device determines a transform set based on a mapping relationship according to an intra prediction mode applied to the current block, and performs LFNST, that is, non-separated transform, based on any one of two LFNST matrices included in the transform set. I can.
- a plurality of transform sets may be determined according to an intra prediction mode of a transform block to be transformed.
- the matrix applied to LFNST is in a transforce relationship with the matrix used for reverse LFNST.
- the LFNST matrix may be an amorphous matrix in which the number of rows is less than the number of columns.
- the encoding apparatus derives quantized transform coefficients by performing quantization based on the modified transform coefficients for the current chroma block, and provides information on the quantized transform coefficients, intra prediction mode information, and an LFNST index indicating the LFNST matrix.
- the included image information may be encoded and then output (S1470).
- the encoding apparatus 100 may generate information about quantized transform coefficients and encode information about the generated quantized transform coefficients.
- information on quantized transform coefficients includes information on whether LFNST is applied, information on a simplification factor, information on a minimum transform size to which LFNST is applied, and information on a maximum transform size to which LFNST is applied. It may include at least one of.
- the encoding apparatus may encode flag information sps_cclm_enabled_flag indicating whether CCLM is applied to the current block as intra mode information, and intra_chroma_pred_mode information about an intra prediction mode for a chroma component.
- Intra_chroma_pred_mode which is information on the CCLM mode, may indicate an upper left-based CCLM mode, an upper-based CCLM mode, or a left-based CCLM mode.
- At least one of quantization/inverse quantization and/or transform/inverse transformation may be omitted.
- the quantized transform coefficient may be referred to as a transform coefficient.
- the transform coefficient may be referred to as a coefficient or a residual coefficient, or may still be referred to as a transform coefficient for uniformity of expression.
- the quantized transform coefficient and the transform coefficient may be referred to as a transform coefficient and a scaled transform coefficient, respectively.
- the residual information may include information about the transform coefficient(s), and the information about the transform coefficient(s) may be signaled through a residual coding syntax.
- Transform coefficients may be derived based on the residual information (or information about the transform coefficient(s)), and scaled transform coefficients may be derived through an inverse transform (scaling) of the transform coefficients. Residual samples may be derived based on the inverse transform (transform) of the scaled transform coefficients. This may be applied/expressed in other parts of this document as well.
- the above-described method according to this document may be implemented in software form, and the encoding device and/or decoding device according to this document may perform image processing such as a TV, a computer, a smart phone, a set-top box, a display device, etc. Can be included in the device.
- the above-described method may be implemented as a module (process, function, etc.) that performs the above-described functions.
- Modules are stored in memory and can be executed by a processor.
- the memory may be inside or outside the processor, and may be connected to the processor through various well-known means.
- the processor may include an application-specific integrated circuit (ASIC), another chipset, a logic circuit, and/or a data processing device.
- the memory may include read-only memory (ROM), random access memory (RAM), flash memory, memory card, storage medium, and/or other storage device. That is, the embodiments described in this document may be implemented and performed on a processor, microprocessor, controller, or chip.
- the functional units shown in each drawing may be implemented and executed on a computer, a processor, a microprocessor, a controller, or a chip.
- decoding devices and encoding devices to which this document is applied include multimedia broadcast transmission/reception devices, mobile communication terminals, home cinema video devices, digital cinema video devices, surveillance cameras, video chat devices, real-time communication devices such as video communication, and mobile streaming.
- Devices storage media, camcorders, video-on-demand (VoD) service providers, OTT video (Over the top video) devices, Internet streaming service providers, three-dimensional (3D) video devices, video telephony video devices, and medical video devices, etc. It may be included, and may be used to process a video signal or a data signal.
- an OTT video (Over the top video) device may include a game console, a Blu-ray player, an Internet-connected TV, a home theater system, a smartphone, a tablet PC, and a digital video recorder (DVR).
- DVR digital video recorder
- the processing method to which this document is applied may be produced in the form of a program executed by a computer, and may be stored in a computer-readable recording medium.
- Multimedia data having a data structure according to this document can also be stored in a computer-readable recording medium.
- the computer-readable recording medium includes all kinds of storage devices and distributed storage devices in which computer-readable data is stored.
- the computer-readable recording medium is, for example, Blu-ray disk (BD), universal serial bus (USB), ROM, PROM, EPROM, EEPROM, RAM, CD-ROM, magnetic tape, floppy disk, and optical It may include a data storage device.
- the computer-readable recording medium includes media implemented in the form of a carrier wave (for example, transmission through the Internet).
- bitstream generated by the encoding method may be stored in a computer-readable recording medium or transmitted through a wired or wireless communication network.
- an embodiment of this document may be implemented as a computer program product using a program code, and the program code may be executed in a computer according to the embodiment of the present document.
- the program code may be stored on a carrier readable by a computer.
- a video/image coding system may include a source device and a reception device.
- the source device may transmit the encoded video/image information or data in a file or streaming form to the receiving device through a digital storage medium or a network.
- the source device may include a video source, an encoding device, and a transmission unit.
- the receiving device may include a receiving unit, a decoding device, and a renderer.
- the encoding device may be referred to as a video/image encoding device, and the decoding device may be referred to as a video/image decoding device.
- the transmitter may be included in the encoding device.
- the receiver may be included in the decoding device.
- the renderer may include a display unit, and the display unit may be configured as a separate device or an external component.
- the video source may acquire a video/image through a process of capturing, synthesizing, or generating a video/image.
- the video source may include a video/image capturing device and/or a video/image generating device.
- the video/image capture device may include, for example, one or more cameras, a video/image archive including previously captured video/images, and the like.
- the video/image generating device may include, for example, a computer, a tablet and a smartphone, and may (electronically) generate a video/image.
- a virtual video/image may be generated through a computer or the like, and in this case, a video/image capturing process may be substituted as a process of generating related data.
- the encoding device may encode the input video/video.
- the encoding apparatus may perform a series of procedures such as prediction, transformation, and quantization for compression and coding efficiency.
- the encoded data (encoded video/video information) may be output in the form of a bitstream.
- the transmission unit may transmit the encoded video/video information or data output in the form of a bitstream to the reception unit of the reception device through a digital storage medium or a network in a file or streaming format.
- Digital storage media may include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, and SSD.
- the transmission unit may include an element for generating a media file through a predetermined file format, and may include an element for transmission through a broadcast/communication network.
- the receiver may receive/extract the bitstream and transmit it to the decoding device.
- the decoding device may decode the video/image by performing a series of procedures such as inverse quantization, inverse transformation, and prediction corresponding to the operation of the encoding device.
- the renderer can render the decoded video/image.
- the rendered video/image may be displayed through the display unit.
- 16 exemplarily shows a structure diagram of a content streaming system to which this document is applied.
- the content streaming system to which this document is applied may largely include an encoding server, a streaming server, a web server, a media storage device, a user device, and a multimedia input device.
- the encoding server serves to generate a bitstream by compressing content input from multimedia input devices such as a smartphone, a camera, and a camcorder into digital data, and transmits it to the streaming server.
- multimedia input devices such as smart phones, cameras, camcorders, etc. directly generate bitstreams
- the encoding server may be omitted.
- the bitstream may be generated by an encoding method or a bitstream generation method to which this document is applied, and the streaming server may temporarily store the bitstream while transmitting or receiving the bitstream.
- the streaming server transmits multimedia data to a user device based on a user request through a web server, and the web server serves as an intermediary informing the user of what kind of service is available.
- the web server transmits it to the streaming server, and the streaming server transmits multimedia data to the user.
- the content streaming system may include a separate control server, and in this case, the control server serves to control a command/response between devices in the content streaming system.
- the streaming server may receive content from a media storage and/or encoding server. For example, when content is received from the encoding server, the content may be received in real time. In this case, in order to provide a smooth streaming service, the streaming server may store the bitstream for a predetermined time.
- Examples of the user device include a mobile phone, a smart phone, a laptop computer, a digital broadcasting terminal, a personal digital assistant (PDA), a portable multimedia player (PMP), a navigation system, a slate PC, and Tablet PC, ultrabook, wearable device, e.g., smartwatch, smart glass, head mounted display (HMD), digital TV, desktop computer , Digital signage, etc.
- PDA personal digital assistant
- PMP portable multimedia player
- Tablet PC tablet
- ultrabook ultrabook
- wearable device e.g., smartwatch, smart glass, head mounted display (HMD), digital TV, desktop computer , Digital signage, etc.
- HMD head mounted display
- Each server in the content streaming system may be operated as a distributed server, and in this case, data received from each server may be distributedly processed.
- the claims set forth herein may be combined in a variety of ways.
- the technical features of the method claims of the present specification may be combined to be implemented as a device, and the technical features of the device claims of the present specification may be combined to be implemented by a method.
- the technical characteristics of the method claim of the present specification and the technical characteristics of the device claim may be combined to be implemented as a device, and the technical characteristics of the method claim of the present specification and the technical characteristics of the device claim may be combined to be implemented by a method.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Discrete Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
Claims (15)
- 디코딩 장치에 의하여 수행되는 영상 디코딩 방법에 있어서,비트스트림으로부터 인트라 예측 모드 정보 및 LFNST 인덱스를 획득하는 단계와;상기 인트라 예측 모드 정보를 기반으로 크로마 블록의 인트라 예측 모드를 CCLM(cross-component linear model) 모드로 도출하는 단계와;상기 크로마 블록의 상기 인트라 예측 모드를 상기 크로마 블록에 대응하는 루마 블록의 인트라 예측 모드에 기초하여 갱신하는 단계와;상기 갱신된 인트라 예측 모드를 기반으로 LFNST 매트릭스들을 포함하는 LFNST 세트를 결정하는 단계와;상기 LFNST 인덱스 및 상기 LFNST 세트로부터 도출된 LFNST 매트릭스를 기반으로 상기 크로마 블록에 대한 변환 계수들을 도출하는 단계와;상기 변환 계수들을 기반으로 상기 크로마 블록에 대한 레지듀얼 샘플들을 도출하는 단계를 포함하되,갱신된 인트라 예측 모드는 상기 루마 블록 내 특정 위치에 대응하는 인트라 예측 모드로 도출되고,상기 특정 위치는 상기 크로마 블록의 컬러 포맷에 기초하여 설정되는 것을 특징으로 하는 영상 디코딩 방법.
- 제1항에 있어서,상기 특정 위치는 상기 루마 블록의 중심 위치인 것을 특징으로 하는 영상 디코딩 방법.
- 제2항에 있어서,상기 특정 위치는 ((xTbY + ( nTbW * SubWidthC ) / 2), (yTbY + ( nTbH * SubHeightC ) / 2))로 설정되고,xTbY 및 yTbY 는 상기 루마 블록의 좌상단 좌표를 나타내고,nTbW 및 nTbH는 상기 크로마 블록의 폭 및 높이를 나타내고,SubWidthC 및 SubHeightC는 상기 컬러 포맷에 대응되는 변수인 것을 특징으로 하는 영상 디코딩 방법.
- 제3항에 있어서,상기 컬러 포맷이 4:2:0이면, SubWidthC 및 SubHeightC는 2이고,상기 컬러 포맷이 4:2:2이면, SubWidthC는 2이고, SubHeightC는 1인 것을 특징으로 하는 영상 디코딩 방법.
- 제1항에 있어서,상기 특정 위치에 대응하는 인트라 예측 모드가 MIP 모드이면, 상기 갱신된 인트라 예측 모드는 인트라 플래너 모드인 것을 특징으로 하는 영상 디코딩 방법.
- 제1항에 있어서,상기 특정 위치에 대응하는 인트라 예측 모드가 IBC 모드이면, 상기 갱신된 인트라 예측 모드는 인트라 DC 모드인 것을 특징으로 하는 영상 디코딩 방법.
- 제1항에 있어서,상기 특정 위치에 대응하는 인트라 예측 모드가 팔레트 모드이면, 상기 갱신된 인트라 예측 모드는 인트라 DC 모드인 것을 특징으로 하는 영상 디코딩 방법.
- 영상 인코딩 장치에 의하여 수행되는 영상 인코딩 방법에 있어서,크로마 블록에 대한 인트라 예측 모드를 CCLM(cross-component linear model) 모드로 도출하는 단계와;상기 CCLM 모드에 기초하여 상기 크로마 블록에 대한 예측 샘플들을 도출하는 단계와;상기 예측 샘플에 기초하여 상기 크로마 블록에 대한 레지듀얼 샘플들을 도출하는 단계;상기 크로마 블록의 상기 인트라 예측 모드를 상기 크로마 블록에 대응하는 루마 블록의 인트라 예측 모드에 기초하여 갱신하는 단계와;상기 갱신된 인트라 예측 모드를 기반으로 LFNST 매트릭스들을 포함하는 LFNST 세트를 결정하는 단계와;상기 레지듀얼 샘플들 및 상기 LFNST 매트릭스를 기반으로 상기 크로마 블록에 대한 수정된 변환 계수들을 도출하는 단계를 포함하되,상기 갱신된 인트라 예측 모드는 상기 루마 블록 내 특정 위치에 대응하는 인트라 예측 모드로 도출되고,상기 특정 위치는 상기 크로마 블록의 컬러 포맷에 기초하여 설정되는 것을 특징으로 하는 영상 인코딩 방법.
- 제8항에 있어서,상기 특정 위치는 상기 루마 블록의 중심 위치인 것을 특징으로 하는 영상 인코딩 방법.
- 제9항에 있어서,상기 특정 위치는 ((xTbY + ( nTbW * SubWidthC ) / 2), (yTbY + ( nTbH * SubHeightC ) / 2))로 설정되고,xTbY 및 yTbY 는 상기 루마 블록의 좌상단 좌표를 나타내고,nTbW 및 nTbH는 상기 크로마 블록의 폭 및 높이를 나타내고,SubWidthC 및 SubHeightC는 상기 컬러 포맷에 대응되는 변수인 것을 특징으로 하는 영상 인코딩 방법.
- 제10항에 있어서,상기 컬러 포맷이 4:2:0이면, SubWidthC 및 SubHeightC는 2이고,상기 컬러 포맷이 4:2:2이면, SubWidthC는 2이고, SubHeightC는 1인 것을 특징으로 하는 영상 인코딩 방법.
- 제8항에 있어서,상기 특정 위치에 대응하는 인트라 예측 모드가 MIP 모드이면, 상기 갱신된 인트라 예측 모드는 인트라 플래너 모드인 것을 특징으로 하는 영상 인코딩 방법.
- 제8항에 있어서,상기 특정 위치에 대응하는 인트라 예측 모드가 IBC 모드이면, 상기 갱신된 인트라 예측 모드는 인트라 DC 모드인 것을 특징으로 하는 영상 인코딩 방법.
- 제8항에 있어서,상기 특정 위치에 대응하는 인트라 예측 모드가 팔레트 모드이면, 상기 갱신된 인트라 예측 모드는 인트라 DC 모드인 것을 특징으로 하는 영상 인코딩 방법.
- 영상 디코딩 방법을 수행하도록 야기하는 지시 정보가 저장된 컴퓨터 판독 가능한 디지털 저장 매체로서, 상기 영상 디코딩 방법은,비트스트림으로부터 인트라 예측 모드 정보 및 LFNST 인덱스를 획득하는 단계와;상기 인트라 예측 모드 정보를 기반으로 크로마 블록의 인트라 예측 모드를 CCLM(cross-component linear model) 모드로 도출하는 단계와;상기 크로마 블록의 상기 인트라 예측 모드를 상기 크로마 블록에 대응하는 루마 블록의 인트라 예측 모드에 기초하여 갱신하는 단계와;상기 갱신된 인트라 예측 모드를 기반으로 LFNST 매트릭스들을 포함하는 LFNST 세트를 결정하는 단계와;상기 LFNST 인덱스 및 상기 LFNST 세트로부터 도출된 LFNST 매트릭스를 기반으로 상기 크로마 블록에 대한 변환 계수들을 도출하는 단계와;상기 변환 계수들을 기반으로 상기 크로마 블록에 대한 레지듀얼 샘플들을 도출하는 단계를 포함하되,상기 갱신된 인트라 예측 모드는 상기 루마 블록 내 특정 위치에 대응하는 인트라 예측 모드로 도출되고,상기 특정 위치는 상기 크로마 블록의 컬러 포맷에 기초하여 설정되는 것을 특징으로 하는 디지털 저장 매체.
Priority Applications (16)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410320120.3A CN118175338A (zh) | 2019-10-29 | 2020-10-29 | 图像解码和编码设备及发送用于图像信息的数据的设备 |
CN202410320109.7A CN118175337A (zh) | 2019-10-29 | 2020-10-29 | 图像解码和编码设备及发送用于图像信息的数据的设备 |
KR1020237014791A KR20230062685A (ko) | 2019-10-29 | 2020-10-29 | 변환에 기반한 영상 코딩 방법 및 그 장치 |
AU2020376686A AU2020376686B2 (en) | 2019-10-29 | 2020-10-29 | Method for transform-based image coding and apparatus therefor |
EP20882386.4A EP4054196A4 (en) | 2019-10-29 | 2020-10-29 | TRANSFORM-BASED IMAGE CODING METHOD AND RELATED APPARATUS |
CA3159068A CA3159068A1 (en) | 2019-10-29 | 2020-10-29 | Method for low-frequency non-separable transform-based image coding and apparatus therefor |
CN202410320106.3A CN118175336A (zh) | 2019-10-29 | 2020-10-29 | 图像解码和编码方法、发送数据的方法及存储介质 |
CN202410320104.4A CN118175335A (zh) | 2019-10-29 | 2020-10-29 | 图像解码和编码方法、发送数据的方法及存储介质 |
BR112022007946A BR112022007946A2 (pt) | 2019-10-29 | 2020-10-29 | Método para codificação de imagem com base em transformada e aparelho para o mesmo |
MX2022005103A MX2022005103A (es) | 2019-10-29 | 2020-10-29 | Método de codificación de imágenes a base de transformación y aparato para el mismo. |
JP2022525491A JP7223208B2 (ja) | 2019-10-29 | 2020-10-29 | 変換に基づく映像コーディング方法及びその装置 |
KR1020227011605A KR102529117B1 (ko) | 2019-10-29 | 2020-10-29 | 변환에 기반한 영상 코딩 방법 및 그 장치 |
CN202080089152.7A CN114846798B (zh) | 2019-10-29 | 2020-10-29 | 用于基于变换的图像编码的方法及其设备 |
US17/729,400 US11758142B2 (en) | 2019-10-29 | 2022-04-26 | Method for transform-based image coding and apparatus therefor |
AU2023203790A AU2023203790A1 (en) | 2019-10-29 | 2023-06-16 | Method for transform-based image coding and apparatus therefor |
US18/360,351 US20230379473A1 (en) | 2019-10-29 | 2023-07-27 | Method for transform-based image coding and apparatus therefor |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US201962927667P | 2019-10-29 | 2019-10-29 | |
US62/927,667 | 2019-10-29 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US17/729,400 Continuation US11758142B2 (en) | 2019-10-29 | 2022-04-26 | Method for transform-based image coding and apparatus therefor |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021086055A1 true WO2021086055A1 (ko) | 2021-05-06 |
Family
ID=75716066
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/KR2020/014914 WO2021086055A1 (ko) | 2019-10-29 | 2020-10-29 | 변환에 기반한 영상 코딩 방법 및 그 장치 |
Country Status (10)
Country | Link |
---|---|
US (2) | US11758142B2 (ko) |
EP (1) | EP4054196A4 (ko) |
JP (3) | JP7223208B2 (ko) |
KR (2) | KR20230062685A (ko) |
CN (5) | CN118175338A (ko) |
AU (2) | AU2020376686B2 (ko) |
BR (1) | BR112022007946A2 (ko) |
CA (1) | CA3159068A1 (ko) |
MX (1) | MX2022005103A (ko) |
WO (1) | WO2021086055A1 (ko) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024053963A1 (ko) * | 2022-09-05 | 2024-03-14 | 현대자동차주식회사 | 영상 부호화/복호화 방법, 장치 및 비트스트림을 저장한 기록 매체 |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20220377334A1 (en) * | 2019-09-16 | 2022-11-24 | lnterDigital VC Holdings France, SAS | Secondary transform for fast video encoder |
WO2021054799A1 (ko) * | 2019-09-21 | 2021-03-25 | 엘지전자 주식회사 | 변환에 기반한 영상 코딩 방법 및 그 장치 |
WO2023219290A1 (ko) * | 2022-05-13 | 2023-11-16 | 현대자동차주식회사 | 크로마 성분별 인트라 예측모드의 부호화를 위한 방법 및 장치 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150264396A1 (en) * | 2014-03-17 | 2015-09-17 | Mediatek Singapore Pte. Ltd. | Method of Video Coding Using Symmetric Intra Block Copy |
KR20170068466A (ko) * | 2014-10-07 | 2017-06-19 | 퀄컴 인코포레이티드 | 인트라 bc 및 인터 단일화 |
US20180103260A1 (en) * | 2015-06-03 | 2018-04-12 | Mediatek Inc. | Method and Apparatus for Resource Sharing between Intra Block Copy Mode and Inter Prediction Mode in Video Coding Systems |
WO2018064948A1 (en) * | 2016-10-04 | 2018-04-12 | Mediatek Inc. | Method and apparatus for intra chroma coding in image and video coding |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP4199515A1 (en) * | 2016-05-27 | 2023-06-21 | SHARP Kabushiki Kaisha | Systems and methods for varying quantization parameters |
US11039147B2 (en) * | 2016-05-28 | 2021-06-15 | Mediatek Inc. | Method and apparatus of palette mode coding for colour video data |
US11025903B2 (en) * | 2017-01-13 | 2021-06-01 | Qualcomm Incorporated | Coding video data using derived chroma mode |
EP3588952B1 (en) * | 2017-03-21 | 2021-04-28 | LG Electronics Inc. | Transform method in image coding system and apparatus for same |
WO2018174357A1 (ko) | 2017-03-22 | 2018-09-27 | 엘지전자 주식회사 | 영상 코딩 시스템에서 영상 디코딩 방법 및 장치 |
EP3737093A4 (en) * | 2017-11-28 | 2022-02-09 | Electronics and Telecommunications Research Institute | METHOD AND DEVICE FOR CODING/DECODING IMAGES AND RECORDING MEDIA STORED WITH A BITSTREAM |
US11310517B2 (en) * | 2017-12-07 | 2022-04-19 | Electronics And Telecommunications Research Institute | Method and apparatus for encoding and decoding using selective information sharing between channels |
EP3707898B1 (en) * | 2018-07-13 | 2021-03-17 | Telefonaktiebolaget LM Ericsson (publ) | Transform selection in a video encoder and/or video decoder |
CN118381918A (zh) * | 2018-09-19 | 2024-07-23 | 韩国电子通信研究院 | 用于帧内预测模式编码/解码的方法和记录介质 |
WO2020228673A1 (en) * | 2019-05-10 | 2020-11-19 | Beijing Bytedance Network Technology Co., Ltd. | Conditional use of reduced secondary transform for video processing |
JP7422858B2 (ja) * | 2019-08-03 | 2024-01-26 | 北京字節跳動網絡技術有限公司 | ビデオ処理方法、装置、記憶媒体及び記憶方法 |
-
2020
- 2020-10-29 BR BR112022007946A patent/BR112022007946A2/pt unknown
- 2020-10-29 CN CN202410320120.3A patent/CN118175338A/zh active Pending
- 2020-10-29 EP EP20882386.4A patent/EP4054196A4/en active Pending
- 2020-10-29 JP JP2022525491A patent/JP7223208B2/ja active Active
- 2020-10-29 KR KR1020237014791A patent/KR20230062685A/ko active Application Filing
- 2020-10-29 KR KR1020227011605A patent/KR102529117B1/ko active IP Right Grant
- 2020-10-29 WO PCT/KR2020/014914 patent/WO2021086055A1/ko unknown
- 2020-10-29 CN CN202410320109.7A patent/CN118175337A/zh active Pending
- 2020-10-29 MX MX2022005103A patent/MX2022005103A/es unknown
- 2020-10-29 CN CN202410320104.4A patent/CN118175335A/zh active Pending
- 2020-10-29 CN CN202080089152.7A patent/CN114846798B/zh active Active
- 2020-10-29 CA CA3159068A patent/CA3159068A1/en active Pending
- 2020-10-29 CN CN202410320106.3A patent/CN118175336A/zh active Pending
- 2020-10-29 AU AU2020376686A patent/AU2020376686B2/en active Active
-
2022
- 2022-04-26 US US17/729,400 patent/US11758142B2/en active Active
-
2023
- 2023-02-03 JP JP2023015146A patent/JP7408856B2/ja active Active
- 2023-06-16 AU AU2023203790A patent/AU2023203790A1/en active Pending
- 2023-07-27 US US18/360,351 patent/US20230379473A1/en active Pending
- 2023-12-20 JP JP2023214457A patent/JP2024026419A/ja active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150264396A1 (en) * | 2014-03-17 | 2015-09-17 | Mediatek Singapore Pte. Ltd. | Method of Video Coding Using Symmetric Intra Block Copy |
KR20170068466A (ko) * | 2014-10-07 | 2017-06-19 | 퀄컴 인코포레이티드 | 인트라 bc 및 인터 단일화 |
US20180103260A1 (en) * | 2015-06-03 | 2018-04-12 | Mediatek Inc. | Method and Apparatus for Resource Sharing between Intra Block Copy Mode and Inter Prediction Mode in Video Coding Systems |
WO2018064948A1 (en) * | 2016-10-04 | 2018-04-12 | Mediatek Inc. | Method and apparatus for intra chroma coding in image and video coding |
Non-Patent Citations (2)
Title |
---|
See also references of EP4054196A4 * |
Z ZHANG, SJÖBERG R, YU R: "Non-CE6: On LFNST transform set selection for a CCLM coded block", JOINT VIDEO EXPERTS TEAM (JVET) OF ITU-T SG 16 WP 3 AND ISO/IEC JTC 1/SC 29/WG 11 15TH MEETING: GOTHENBURG, SE, 3–12 JULY 2019, JVET-O0219-V1, 24 June 2019 (2019-06-24), pages 1 - 4, XP055638157 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024053963A1 (ko) * | 2022-09-05 | 2024-03-14 | 현대자동차주식회사 | 영상 부호화/복호화 방법, 장치 및 비트스트림을 저장한 기록 매체 |
Also Published As
Publication number | Publication date |
---|---|
KR20220057613A (ko) | 2022-05-09 |
CN114846798B (zh) | 2024-04-05 |
CN118175335A (zh) | 2024-06-11 |
KR20230062685A (ko) | 2023-05-09 |
MX2022005103A (es) | 2022-07-11 |
US11758142B2 (en) | 2023-09-12 |
JP2024026419A (ja) | 2024-02-28 |
AU2020376686A1 (en) | 2022-06-16 |
JP2023041899A (ja) | 2023-03-24 |
CN114846798A (zh) | 2022-08-02 |
CN118175338A (zh) | 2024-06-11 |
CN118175336A (zh) | 2024-06-11 |
BR112022007946A2 (pt) | 2022-07-12 |
US20220264101A1 (en) | 2022-08-18 |
JP2022546634A (ja) | 2022-11-04 |
JP7223208B2 (ja) | 2023-02-15 |
KR102529117B1 (ko) | 2023-05-04 |
US20230379473A1 (en) | 2023-11-23 |
JP7408856B2 (ja) | 2024-01-05 |
EP4054196A1 (en) | 2022-09-07 |
CN118175337A (zh) | 2024-06-11 |
CA3159068A1 (en) | 2021-05-06 |
AU2023203790A1 (en) | 2023-07-13 |
AU2020376686B2 (en) | 2023-03-16 |
EP4054196A4 (en) | 2023-12-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021054796A1 (ko) | 변환에 기반한 영상 코딩 방법 및 그 장치 | |
WO2021206445A1 (ko) | 변환에 기반한 영상 코딩 방법 및 그 장치 | |
WO2021066598A1 (ko) | 변환에 기반한 영상 코딩 방법 및 그 장치 | |
WO2021096172A1 (ko) | 변환에 기반한 영상 코딩 방법 및 그 장치 | |
WO2021096290A1 (ko) | 변환에 기반한 영상 코딩 방법 및 그 장치 | |
WO2021086055A1 (ko) | 변환에 기반한 영상 코딩 방법 및 그 장치 | |
WO2020242183A1 (ko) | 광각 인트라 예측 및 변환에 기반한 영상 코딩 방법 및 그 장치 | |
WO2021096295A1 (ko) | 변환에 기반한 영상 코딩 방법 및 그 장치 | |
WO2021054798A1 (ko) | 변환에 기반한 영상 코딩 방법 및 그 장치 | |
WO2021060905A1 (ko) | 변환에 기반한 영상 코딩 방법 및 그 장치 | |
WO2021096293A1 (ko) | 변환에 기반한 영상 코딩 방법 및 그 장치 | |
WO2021096174A1 (ko) | 변환에 기반한 영상 코딩 방법 및 그 장치 | |
WO2021167421A1 (ko) | 변환에 기반한 영상 코딩 방법 및 그 장치 | |
WO2021201649A1 (ko) | 변환에 기반한 영상 코딩 방법 및 그 장치 | |
WO2021086061A1 (ko) | 변환에 기반한 영상 코딩 방법 및 그 장치 | |
WO2021054783A1 (ko) | 변환에 기반한 영상 코딩 방법 및 그 장치 | |
WO2021054787A1 (ko) | 변환에 기반한 영상 코딩 방법 및 그 장치 | |
WO2021071282A1 (ko) | 변환에 기반한 영상 코딩 방법 및 그 장치 | |
WO2021010680A1 (ko) | 변환에 기반한 영상 코딩 방법 및 그 장치 | |
WO2021025530A1 (ko) | 변환에 기반한 영상 코딩 방법 및 그 장치 | |
WO2020256482A1 (ko) | 변환에 기반한 영상 코딩 방법 및 그 장치 | |
WO2021086064A1 (ko) | 변환에 기반한 영상 코딩 방법 및 그 장치 | |
WO2021194199A1 (ko) | 변환에 기반한 영상 코딩 방법 및 그 장치 | |
WO2021086056A1 (ko) | 변환에 기반한 영상 코딩 방법 및 그 장치 | |
WO2021086149A1 (ko) | 변환에 기반한 영상 코딩 방법 및 그 장치 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20882386 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 20227011605 Country of ref document: KR Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 3159068 Country of ref document: CA |
|
ENP | Entry into the national phase |
Ref document number: 2022525491 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
REG | Reference to national code |
Ref country code: BR Ref legal event code: B01A Ref document number: 112022007946 Country of ref document: BR |
|
ENP | Entry into the national phase |
Ref document number: 2020882386 Country of ref document: EP Effective date: 20220530 |
|
ENP | Entry into the national phase |
Ref document number: 2020376686 Country of ref document: AU Date of ref document: 20201029 Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 112022007946 Country of ref document: BR Kind code of ref document: A2 Effective date: 20220426 |