WO2020171632A1 - Mpm 리스트 기반 인트라 예측 방법 및 장치 - Google Patents
Mpm 리스트 기반 인트라 예측 방법 및 장치 Download PDFInfo
- Publication number
- WO2020171632A1 WO2020171632A1 PCT/KR2020/002486 KR2020002486W WO2020171632A1 WO 2020171632 A1 WO2020171632 A1 WO 2020171632A1 KR 2020002486 W KR2020002486 W KR 2020002486W WO 2020171632 A1 WO2020171632 A1 WO 2020171632A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- intra prediction
- mode
- current block
- mpm
- mpm list
- Prior art date
Links
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/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/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/105—Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for 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/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/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/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/189—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding
- H04N19/196—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding being specially adapted for the computation of encoding parameters, e.g. by averaging previously computed encoding parameters
-
- 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/46—Embedding additional information in the video signal during the compression process
-
- 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
-
- 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
Definitions
- This document relates to a video coding technology, and more particularly, to a video coding method and apparatus for using intra prediction based on a Most Probable Mode (MPM) list.
- MPM Most Probable Mode
- 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 and 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 an efficient intra prediction method and apparatus.
- Another technical problem of this document is to provide an image coding method and apparatus for deriving an MPM list.
- Another technical problem of this document is to provide an image coding method and apparatus for deriving a unified MPM list for general intra prediction, multiple reference line intra prediction, and sub-partition intra prediction.
- an image decoding method performed by a decoding apparatus includes obtaining Most Probable Mode (MPM) index information and reference line index information from a bitstream, constructing an MPM list including candidate intra prediction modes for intra prediction of a current block, the MPM index information Deriving an intra prediction mode for the current block from among the candidate intra prediction modes included in the MPM list based on the intra prediction mode, generating prediction samples for the current block based on the intra prediction mode, and the prediction And generating reconstructed samples for the current block based on samples, and configuring the MPM list includes a value of the reference line index information indicating a reference line used for intra prediction of the current block. Based on a non-zero case, a DC mode is derived as one of the candidate intra prediction modes and is included in the MPM list.
- MPM Most Probable Mode
- a video encoding method performed by an encoding device comprises generating reference line index information indicating a reference line used for intra prediction of a current block, and configuring a Most Probable Mode (MPM) list including candidate intra prediction modes for intra prediction of the current block.
- Deriving an intra prediction mode for the current block from among the candidate intra prediction modes included in the MPM list, generating MPM index information indicating the intra prediction mode for the current block, and the Encoding video information including MPM index information and reference line index information, and configuring the MPM list comprises: DC mode based on a case where a value of the reference line index information is not 0. It is characterized in that it is derived as one of the candidate intra prediction modes and included in the MPM list.
- a digital storage medium storing encoded image information that causes the decoding apparatus to perform an image decoding method as a computer-readable digital storage medium.
- the video decoding method includes: obtaining Most Probable Mode (MPM) index information and reference line index information from a bitstream, constructing an MPM list including candidate intra prediction modes for intra prediction of a current block, the MPM Deriving an intra prediction mode for the current block from among the candidate intra prediction modes included in the MPM list based on index information, generating prediction samples for the current block based on the intra prediction mode, And generating reconstructed samples for the current block based on the prediction samples, and configuring the MPM list comprises: the reference line index information indicating a reference line used for intra prediction of the current block
- the DC mode is derived as one of the candidate intra prediction modes and is included in the MPM list based on a case where the value of is not 0.
- the intra prediction structure can be simplified by constructing a unified MPM list for general intra prediction, multiple reference line intra prediction, and sub-partition intra prediction, and the intra prediction mode can be efficiently coded to improve coding efficiency.
- I can.
- FIG. 1 schematically shows an example of a video/image coding system that can be applied to embodiments of this document.
- FIG. 2 is a diagram schematically illustrating a configuration of a video/video encoding apparatus applicable to embodiments of the present document.
- FIG. 3 is a diagram schematically illustrating a configuration of a video/video decoding apparatus applicable to embodiments of the present document.
- FIG. 4 shows an example of a video encoding method based on schematic intra prediction to which embodiments of the present document are applicable
- FIG. 5 schematically shows an intra prediction unit in an encoding device.
- FIG. 6 shows an example of an image decoding method based on schematic intra prediction to which embodiments of the present document are applicable
- FIG. 7 schematically shows an intra prediction unit in a decoding apparatus.
- FIG. 8 shows an example of an MPM mode-based intra prediction method in an encoding apparatus to which the embodiments of this document are applicable.
- FIG. 9 shows an example of an MPM mode-based intra prediction method in a decoding apparatus to which the embodiments of this document are applicable.
- FIG 10 shows an example of intra prediction modes to which embodiments of the present document are applicable.
- FIG 11 shows an example of reference sample lines for intra prediction using multiple reference lines.
- ISP 12 shows an example of sub-partitions divided according to an intra sub-partition (ISP).
- ISP intra sub-partition
- FIG. 13 is a diagram for explaining an embodiment of a method for generating a unified MPM list according to this document.
- FIG. 14 is a diagram for explaining another embodiment of a method for generating a unified MPM list according to this document.
- 15 is a flowchart schematically illustrating an encoding method that can be performed by an encoding apparatus according to an embodiment of the present document.
- 16 is a flowchart schematically illustrating a decoding method that can be performed by a decoding apparatus according to an embodiment of the present document.
- FIG 17 shows an example of a content streaming system to which embodiments disclosed in this document can be applied.
- each of the components in the drawings described in this 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.
- a or B may mean “only A”, “only B” or “both A and B”.
- a or B (A or B) may be interpreted as “A and/or B (A and/or B)”.
- A, B or C (A, B or C) means “only A”, “only B”, “only C”, or "any and all combinations of A, B and C ( It can mean any combination of A, B and C)”.
- a forward slash (/) or comma (comma) used in this document may mean “and/or”.
- A/B can mean “A and/or B”. Accordingly, “A/B” may mean “only A”, “only B”, or “both A and B”.
- A, B, C may mean "A, B or C”.
- 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 A and B (at least one of A and B)" can be interpreted the same.
- At least one of A, B and C means “only A”, “only B”, “only C", or "A, B and C May mean any combination of A, B and C”.
- at least one of A, B or C (at least one of A, B or C) or “at least one of A, B and/or C (at least one of A, B and/or C)” It can mean “at least one of A, B and C”.
- parentheses used in this document 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 this document is not limited to “intra prediction”, and “intra prediction” may be suggested as an example of “prediction”. In addition, even when displayed as “prediction (ie, intra prediction)", “intra prediction” may be proposed as an example of "prediction”.
- VVC versatile video coding
- EVC essential video coding
- AV1 AOMedia Video 1
- AVS2 2nd generation of audio video coding standard
- next-generation video/ It can be applied to a method disclosed in an image coding standard (ex. H.267 or H.268, etc.).
- 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).
- CTU coding tree units
- One picture may be composed of one or more slices/tiles.
- One picture may consist of one or more tile groups.
- One tile group may include one or more tiles.
- a brick may represent a rectangular region of CTU rows within a tile in a picture.
- a tile may be partitioned into multiple bricks, each of which consisting of one or more CTU rows within the tile. ).
- a tile that is not partitioned into multiple bricks may be also referred to as a brick.
- a brick scan may represent a specific sequential ordering of CTUs partitioning a picture
- the CTUs may be arranged in a CTU raster scan within a brick
- bricks in a tile may be sequentially arranged in a raster scan of the bricks of the tile.
- tiles in a picture may be sequentially aligned by raster scan of the tiles of the picture
- a brick scan is a specific sequential ordering of CTUs partitioning a picture in which the CTUs are ordered consecutively in CTU raster scan in a brick.
- bricks within a tile are ordered consecutively in a raster scan of the bricks of the tile
- tiles in a picture are ordered consecutively in a raster scan of the tiles of the picture).
- a tile is a rectangular region of CTUs within a particular tile column and a particular tile row in a picture.
- the tile column is a rectangular region of CTUs, the rectangular region has a height equal to the height of the picture, and the width may be specified by syntax elements in a picture parameter set (The tile column is a rectangular region of CTUs having a height equal to the height of the picture and a width specified by syntax elements in the picture parameter set).
- the tile row is a rectangular region of CTUs, the rectangular region has a width specified by syntax elements in a picture parameter set, and a height may be the same as the height of the picture (The tile row is a rectangular region of CTUs having a height specified by syntax elements in the picture parameter set and a width equal to the width of the picture).
- a tile scan may represent a specific sequential ordering of CTUs that partition a picture, the CTUs may be sequentially arranged in a CTU raster scan in a tile, and tiles in a picture may be sequentially arranged in a raster scan of the tiles of the picture.
- a tile scan is a specific sequential ordering of CTUs partitioning a picture in which the CTUs are ordered consecutively in CTU raster scan in a tile whereas tiles in a picture are ordered consecutively in a raster scan of the tiles of the picture).
- a slice may include an integer number of bricks of a picture, and the integer number of bricks may be included in one NAL unit (A slice includes an integer number of bricks of a picture that may be exclusively contained in a single NAL unit).
- a slice may consist of either a number of complete tiles or only a consecutive sequence of complete bricks of one tile. ).
- Tile groups and slices can be used interchangeably in this document.
- the tile group/tile group header may be referred to as a slice/slice header.
- 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.
- FIG. 1 schematically shows an example of a video/image coding system that can be applied to embodiments of this document.
- a video/image coding system may include a first device (a source device) and a second device (a receiving 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 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 receiving device through a digital storage medium or a network in a file or streaming form.
- 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/video.
- the rendered video/image may be displayed through the display unit.
- FIG. 2 is a diagram schematically illustrating a configuration of a video/video encoding apparatus applicable to embodiments of the present document.
- the video encoding device may include an image encoding device.
- the encoding device 200 includes an image partitioner 210, a predictor 220, a residual processor 230, an entropy encoder 240, and It may be configured to include an adder 250, a filter 260, and a memory 270.
- the prediction unit 220 may include an inter prediction unit 221 and an intra prediction unit 222.
- the residual processing unit 230 may include a transform unit 232, a quantizer 233, an inverse quantizer 234, and an inverse transformer 235.
- the residual processing unit 230 may further include a subtractor 231.
- the addition unit 250 may be referred to as a reconstructor or a recontructged block generator.
- the image segmentation unit 210, the prediction unit 220, the residual processing unit 230, the entropy encoding unit 240, the addition unit 250, and the filtering unit 260 described above may include one or more hardware components (for example, it may be configured by an encoder chipset or a processor).
- the memory 270 may include a decoded picture buffer (DPB), and may be configured by a digital storage medium.
- the hardware component may further include the memory 270 as an internal/external component.
- the image segmentation unit 210 may divide an input image (or picture, frame) input to the encoding apparatus 200 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 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.
- a sample may be used as a term corresponding to one picture (or image) as a pixel or pel.
- the encoding apparatus 200 subtracts the prediction signal (predicted block, prediction sample array) output from the inter prediction unit 221 or the intra prediction unit 222 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 image signal (original block, original sample array) in the encoder 200 may be referred to as a subtraction unit 231.
- 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 the 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 240.
- the information on prediction may be encoded by the entropy encoding unit 240 and output in the form of a bitstream.
- the intra prediction unit 222 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 apart 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 a detailed degree 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 222 may determine a prediction mode applied to the current block by using the prediction mode applied to the neighboring block.
- the inter prediction unit 221 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 called a collocated reference block, a co-located 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 221 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 221 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 calculated by using the motion vector of the neighboring block as a motion vector predictor and signaling a motion vector difference. I can instruct.
- 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 for prediction of 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 to predict a block.
- IBC intra block copy
- the IBC prediction mode or the palette mode may be used for content image/video coding such as a game, 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
- the prediction signal generated by the prediction unit may be used to generate a reconstructed signal or may be used to generate a residual signal.
- the transform unit 232 may generate transform coefficients by applying a transform technique to the residual signal.
- the transformation technique is DCT (Discrete Cosine Transform), DST (Discrete Sine Transform), KLT ( ), GBT (Graph-Based Transform), or CNT (Conditionally Non-linear Transform) may include at least one.
- GBT refers to the transformation obtained from this graph when the relationship information between pixels is expressed in a graph.
- 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 of variable size other than a square.
- the quantization unit 233 quantizes the transform coefficients and transmits it to the entropy encoding unit 240, and the entropy encoding unit 240 encodes the quantized signal (information on quantized transform coefficients) and outputs it as a bitstream. have.
- the information on the quantized transform coefficients may be called residual information.
- the quantization unit 233 may rearrange the quantized transform coefficients in the form of blocks 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 240 may perform various encoding methods such as exponential Golomb, context-adaptive variable length coding (CAVLC), and context-adaptive binary arithmetic coding (CABAC).
- the entropy encoding unit 240 may encode together or separately information necessary for video/image reconstruction (eg, values of syntax elements) in addition to quantized transform coefficients.
- the encoded information (eg, encoded video/video information) may be transmitted or stored in a bitstream format 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 200, or the transmission unit It may be included in the entropy encoding unit 240.
- the quantized transform coefficients output from the quantization unit 233 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 221 or the intra prediction unit 222 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 250 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 260 may improve subjective/objective image quality by applying filtering to the reconstructed signal.
- the filtering unit 260 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 270, specifically, the DPB of the memory 270. 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 260 may generate a variety of filtering information and transmit it to the entropy encoding unit 240 as described later in the description of each filtering method.
- the filtering information may be encoded by the entropy encoding unit 240 and output in the form of a bitstream.
- the modified reconstructed picture transmitted to the memory 270 may be used as a reference picture in the inter prediction unit 221.
- the encoding device may avoid prediction mismatch between the encoding device 100 and the decoding device, and may improve encoding efficiency.
- the memory 270 DPB may store the modified reconstructed picture for use as a reference picture in the inter prediction unit 221.
- the memory 270 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 transferred to the inter prediction unit 221 in order to be used as motion information of spatial neighboring blocks or motion information of temporal neighboring blocks.
- the memory 270 may store reconstructed samples of reconstructed blocks in the current picture, and may be transmitted to the intra prediction unit 222.
- FIG. 3 is a diagram schematically illustrating a configuration of a video/video decoding apparatus applicable to embodiments of the present document.
- the decoding apparatus 300 includes an entropy decoder 310, a residual processor 320, a predictor 330, an adder 340, and a filtering unit. It may be configured to include (filter, 350) and memory (memoery) 360.
- the prediction unit 330 may include an inter prediction unit 331 and an intra prediction unit 332.
- the residual processing unit 320 may include a dequantizer 321 and an inverse transformer 321.
- the entropy decoding unit 310, the residual processing unit 320, the prediction unit 330, the addition unit 340, and the filtering unit 350 described above are one hardware component (for example, a decoder chipset or a processor). ) Can be configured.
- the memory 360 may include a decoded picture buffer (DPB), and may be configured by a digital storage medium.
- the hardware component may further include the memory 360 as an internal/external component.
- the decoding apparatus 300 may reconstruct an image in response to a process in which the video/image information is processed by the encoding apparatus of FIG. 2. For example, the decoding apparatus 300 may derive units/blocks based on block division related information obtained from the bitstream.
- the decoding device 300 may perform decoding using a processing unit applied in 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 300 may be reproduced through the playback device.
- the decoding apparatus 300 may receive a signal output from the encoding apparatus of FIG. 2 in the form of a bitstream, and the received signal may be decoded through the entropy decoding unit 310.
- the entropy decoding unit 310 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 310 decodes information in the 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 on a syntax element to be decoded and information on a neighboring and decoding target block or information on a symbol/bin 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.
- 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.
- information about prediction is provided to a prediction unit (inter prediction unit 332 and intra prediction unit 331), and entropy decoding is performed by the entropy decoding unit 310.
- the dual value that is, quantized transform coefficients and related parameter information may be input to the residual processing unit 320.
- the residual processing unit 320 may derive a residual signal (a residual block, residual samples, and a residual sample array).
- information about filtering among information decoded by the entropy decoding unit 310 may be provided to the filtering unit 350.
- a receiver (not shown) for receiving a signal output from the encoding device may be further configured as an inner/outer element of the decoding device 300, or the receiver may be a component of the entropy decoding unit 310.
- the decoding apparatus may be called 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 310, and the sample decoder includes the inverse quantization unit 321, an inverse transform unit 322, an addition unit 340, a filtering unit 350, and a memory 360. ), an inter prediction unit 332 and an intra prediction unit 331 may be included.
- the inverse quantization unit 321 may inverse quantize the quantized transform coefficients and output transform coefficients.
- the inverse quantization unit 321 may rearrange the quantized transform coefficients in 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 321 may perform inverse quantization on quantized transform coefficients by using a quantization parameter (for example, quantization step size information) and obtain transform coefficients.
- a quantization parameter for example, quantization step size information
- the inverse transform unit 322 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 information about the prediction output from the entropy decoding unit 310, and may determine a specific intra/inter prediction mode.
- the prediction unit 320 may generate a prediction signal based on various prediction methods to be described later.
- the prediction unit may apply intra prediction or inter prediction for prediction of 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 to predict a block.
- IBC intra block copy
- the IBC prediction mode or the palette mode may be used for content image/video coding such as a game, 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 about a palette table and a palette index may be included in the video/video information and signale
- the intra prediction unit 331 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 apart 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 331 may determine a prediction mode applied to the current block by using the prediction mode applied to the neighboring block.
- the inter prediction unit 332 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 332 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 about the prediction may include information indicating a mode of inter prediction for the current block.
- the addition unit 340 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 332 and/or the intra prediction unit 331). Signals (restored pictures, reconstructed blocks, reconstructed sample arrays) can be generated. When there is no residual for a block to be processed, such as when the skip mode is applied, the predicted block may be used as a reconstructed block.
- the addition unit 340 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 350 may improve subjective/objective image quality by applying filtering to the reconstructed signal.
- the filtering unit 350 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 360, specifically, the DPB of the memory 360. 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 360 may be used as a reference picture in the inter prediction unit 332.
- the memory 360 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 332 in order to be used as motion information of spatial neighboring blocks or motion information of temporal neighboring blocks.
- the memory 360 may store reconstructed samples of reconstructed blocks in the current picture, and may be transmitted to the intra prediction unit 331.
- the embodiments described in the filtering unit 260, the inter prediction unit 221, and the intra prediction unit 222 of the encoding apparatus 200 are respectively the filtering unit 350 and the inter prediction of the decoding apparatus 300.
- the same or corresponding to the unit 332 and the intra prediction unit 331 may be applied.
- a predicted block including prediction samples for a current block as a coding target block may be generated.
- 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, 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 a picture.
- 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, quantized transform coefficients may be derived, and related residual information may be signaled to a decoding apparatus (through 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 this.
- a correlation between samples may be used, and a difference between the original block and the prediction block, that is, a residual may be obtained. Since the above-described transformation and quantization can be applied to the residual, spatial redundancy can be removed through this.
- an encoding method and a decoding method using intra prediction will be described in detail.
- Intra prediction refers to prediction of generating prediction samples for a current block based on reference samples outside the current block in a picture including the current block (hereinafter, referred to as the current picture).
- reference samples outside the current block may refer to samples located around the current block.
- the neighboring reference samples of the current block are samples adjacent to the left boundary of the current block and a total of 2xnH neighboring to the bottom-left. 2 samples, a sample adjacent to the top boundary of the current block, and a total of 2xnW samples adjacent to the top-right side, and 1 sample adjacent to the top-left side of the current block can do.
- the peripheral reference samples of the current block may include a plurality of columns of upper peripheral samples and a plurality of rows of left peripheral samples.
- the neighboring reference samples of the current block are a total of nH samples adjacent to the right boundary of the current block of size nWxnH, a total of nW samples adjacent to the bottom boundary of the current block, and the lower right side of the current block ( It may include one sample adjacent to the bottom-right).
- the decoding apparatus may configure neighboring reference samples to be used for prediction by substituting available samples with available samples.
- surrounding reference samples to be used for prediction may be configured through interpolation of available samples.
- prediction samples can be derived based on an average or interpolation of neighboring reference samples of the current block, and (ii) prediction among neighboring reference samples of the current block
- a prediction sample may be derived based on a reference sample present in a specific (prediction) direction for the sample.
- it can be applied when the intra prediction mode is a non-directional mode or a non-angular mode
- it can be applied when the intra prediction mode is a directional or angular mode.
- a prediction sample may be generated.
- LIP linear interpolation intra prediction
- chroma prediction samples may be generated based on luma samples using a linear model. This case may be referred to as LM mode.
- a temporary prediction sample of the current block is derived based on the filtered surrounding reference samples, and at least one reference sample derived according to the intra prediction mode among existing surrounding reference samples, that is, unfiltered surrounding reference samples, and A prediction sample of the current block may be derived by weighted summation of the temporary prediction sample.
- the above case may be referred to as PDPC (Position dependent intra prediction).
- a reference sample line with the highest prediction accuracy is selected among the neighboring multi-reference sample lines of the current block, and a prediction sample is derived from the reference sample located in the prediction direction from the line, and the used reference sample line is decoded.
- Intra prediction coding may be performed by instructing (signaling) the device. The above-described case may be referred to as multi-reference line (MRL) intra prediction or MRL-based intra prediction.
- MRL multi-reference line
- the current block is divided into vertical or horizontal subpartitions, and intra prediction is performed based on the same intra prediction mode, but neighboring reference samples may be derived and used in units of subpartitions. That is, in this case, the intra prediction mode for the current block is equally applied to the subpartitions, but by deriving and using neighboring reference samples in units of subpartitions, intra prediction performance may be improved in some cases.
- This prediction method may be referred to as intra sub-partitions (ISP) or ISP-based intra prediction.
- the above-described intra prediction methods may be referred to as an intra prediction type in distinction from the intra prediction mode.
- the intra prediction type may be referred to in various terms such as an intra prediction technique or an additional intra prediction mode.
- the intra prediction type (or additional intra prediction mode, etc.) may include at least one of the aforementioned LIP, PDPC, MRL, and ISP.
- a general intra prediction method excluding specific intra prediction types such as LIP, PDPC, MRL, and ISP may be referred to as a normal intra prediction type.
- the normal intra prediction type may be generally applied when the specific intra prediction type as described above is not applied, and prediction may be performed based on the aforementioned intra prediction mode. Meanwhile, post-processing filtering may be performed on the derived prediction samples as necessary.
- FIG. 4 shows an example of a video encoding method based on schematic intra prediction to which embodiments of the present document are applicable
- FIG. 5 schematically shows an intra prediction unit in an encoding device.
- the intra prediction unit in the encoding apparatus of FIG. 5 may be applied to the same or corresponding to the intra prediction unit 222 of the encoding apparatus 200 of FIG. 2 described above.
- S400 may be performed by the intra prediction unit 222 of the encoding device, and S410 may be performed by the residual processing unit 230 of the encoding device. Specifically, S410 may be performed by the subtraction unit 231 of the encoding device.
- the prediction information may be derived by the intra prediction unit 222 and encoded by the entropy encoding unit 240.
- the residual information may be derived by the residual processing unit 230 and encoded by the entropy encoding unit 240.
- the residual information is information about residual samples.
- the residual information may include information about quantized transform coefficients for residual samples.
- the residual samples are derived as transform coefficients through the transform unit 232 of the encoding apparatus, and the transform coefficients may be derived as quantized transform coefficients through the quantization unit 233.
- Information about the quantized transform coefficients may be encoded by the entropy encoding unit 240 through a residual coding procedure.
- the encoding device performs intra prediction on the current block (S400).
- the encoding apparatus may derive an intra prediction mode/type for the current block, derive neighboring reference samples of the current block, and generate prediction samples in the current block based on the intra prediction mode/type and neighboring reference samples.
- the procedure of determining the intra prediction mode/type, deriving neighboring reference samples, and generating prediction samples may be simultaneously performed, or one procedure may be performed before the other procedure.
- the intra prediction unit 222 of the encoding apparatus may include an intra prediction mode/type determination unit 222-1, a reference sample derivation unit 222-2, and a prediction sample derivation unit 222-3.
- the intra prediction mode/type determination unit 222-1 determines an intra prediction mode/type for the current block
- the reference sample derivation unit 222-2 derives neighboring reference samples of the current block
- the prediction sample The derivation unit 222-3 may derive prediction samples of the current block.
- the intra prediction unit 222 may further include a prediction sample filter unit (not shown).
- the encoding apparatus may determine a mode/type applied to the current block from among a plurality of intra prediction modes/types.
- the encoding apparatus may compare RD costs for intra prediction modes/types and determine an optimal intra prediction mode/type for the current block.
- the encoding apparatus may perform a prediction sample filtering procedure.
- Predictive sample filtering may be referred to as post filtering. Some or all of the prediction samples may be filtered by the prediction sample filtering procedure. In some cases, the prediction sample filtering procedure may be omitted.
- the encoding apparatus generates residual samples for the current block based on the (filtered) prediction samples (S410).
- the encoding apparatus may compare prediction samples from original samples of a current block based on a phase and derive residual samples.
- the encoding apparatus may encode video information including information about intra prediction (prediction information) and residual information about residual samples (S420).
- the prediction information may include intra prediction mode information and intra prediction type information.
- the residual information may include a residual coding syntax.
- the encoding apparatus may transform/quantize the residual samples to derive quantized transform coefficients.
- the residual information may include information on the quantized transform coefficients.
- the encoding device may output the encoded image information in the form of a bitstream.
- the output bitstream may be delivered to a decoding device through a storage medium or a network.
- the encoding apparatus may generate a reconstructed picture (including reconstructed samples and a reconstructed block). To this end, the encoding apparatus may derive (modified) residual samples by performing inverse quantization/inverse transformation on the quantized transform coefficients again. The reason why the residual samples are transformed/quantized and then inverse quantized/inverse transformed is performed again to derive residual samples that are the same as the residual samples derived from the decoding apparatus as described above.
- the encoding apparatus may generate a reconstructed block including reconstructed samples for the current block based on the prediction samples and (modified) residual samples. A reconstructed picture for the current picture may be generated based on the reconstructed block. As described above, an in-loop filtering procedure or the like may be further applied to the reconstructed picture.
- FIG. 6 shows an example of an image decoding method based on schematic intra prediction to which embodiments of the present document are applicable
- FIG. 7 schematically shows an intra prediction unit in a decoding apparatus.
- the intra prediction unit in the decoding apparatus of FIG. 7 may be applied to the same or corresponding to the intra prediction unit 331 of the decoding apparatus 300 of FIG. 3 described above.
- the decoding apparatus may perform an operation corresponding to the operation performed by the encoding apparatus described above.
- S600 to S620 may be performed by the intra prediction unit 331 of the decoding apparatus, and the prediction information of S600 and the residual information of S630 may be obtained from the bitstream by the entropy decoding unit 310 of the decoding apparatus.
- the residual processing unit 320 of the decoding apparatus may derive residual samples for the current block based on the residual information.
- the inverse quantization unit 321 of the residual processing unit 320 derives transform coefficients by performing inverse quantization based on the quantized transform coefficients derived based on the residual information
- the inverse transform unit of the residual processing unit ( 322) may derive residual samples for the current block by performing inverse transform on the transform coefficients.
- S640 may be performed by the addition unit 340 or the restoration unit of the decoding device.
- the decoding apparatus may derive an intra prediction mode/type for the current block based on the received prediction information (intra prediction mode/type information) (S600).
- the decoding apparatus may derive neighboring reference samples of the current block (S610).
- the decoding apparatus generates prediction samples in the current block based on the intra prediction mode/type and surrounding reference samples (S620).
- the decoding apparatus may perform a prediction sample filtering procedure. Predictive sample filtering may be referred to as post filtering. Some or all of the prediction samples may be filtered by the prediction sample filtering procedure. In some cases, the prediction sample filtering procedure may be omitted.
- the decoding apparatus generates residual samples for the current block based on the received residual information (S630).
- the decoding apparatus may generate reconstructed samples for the current block based on the prediction samples and the residual samples, and derive a reconstructed block including the reconstructed samples (S640).
- a reconstructed picture for the current picture may be generated based on the reconstructed block. As described above, an in-loop filtering procedure or the like may be further applied to the reconstructed picture.
- the intra prediction unit 331 of the decoding apparatus may include an intra prediction mode/type determiner 331-1, a reference sample derivation unit 331-2, and a prediction sample derivation unit 331-3,
- the intra prediction mode/type determination unit 331-1 determines an intra prediction mode/type for the current block based on the intra prediction mode/type information obtained from the entropy decoding unit 310, and a reference sample derivation unit 331 -2) derives neighboring reference samples of the current block, and the prediction sample derivation unit 331-3 may derive prediction samples of the current block.
- the intra prediction unit 331 may further include a prediction sample filter unit (not shown).
- the intra prediction mode information may include flag information (ex. intra_luma_mpm_flag) indicating whether, for example, the most probable mode (MPM) is applied to the current block or the remaining mode is applied.
- the prediction mode information may further include index information (ex. intra_luma_mpm_idx) indicating one of intra prediction mode candidates (MPM candidates).
- Intra prediction mode candidates (MPM candidates) may be composed of an MPM candidate list or an MPM list.
- the intra prediction mode information may further include remaining mode information (ex. intra_luma_mpm_remainder) indicating one of the remaining intra prediction modes excluding intra prediction mode candidates (MPM candidates). have.
- the decoding apparatus may determine the intra prediction mode of the current block based on the intra prediction mode information.
- the intra prediction type information may be implemented in various forms.
- the intra prediction type information may include intra prediction type index information indicating one of the intra prediction types.
- the intra prediction type information includes reference sample line information (ex. intra_luma_ref_idx) indicating whether the MRL is applied to the current block and the number of reference sample lines used when the MRL is applied, and whether the ISP is applied to the current block.
- ISP flag information indicating (ex. intra_subpartitions_mode_flag), ISP type information indicating the split type of subpartitions when the ISP is applied (ex.
- intra_subpartitions_split_flag flag information indicating whether PDCP is applied, or a flag indicating whether LIP is applied It may include at least one of information.
- the intra prediction type information may include a MIP flag indicating whether MIP is applied to the current block.
- the above-described intra prediction mode information and/or intra prediction type information may be encoded/decoded through the coding method described in this document.
- the above-described intra prediction mode information and/or intra prediction type information may be encoded/decoded through entropy coding (ex. CABAC, CAVLC) coding based on truncated (rice) binary code.
- an intra prediction mode applied to the current block may be determined using an intra prediction mode of a neighboring block.
- the decoding apparatus receives one of the mpm candidates in the most probable mode (mpm) list derived based on the intra prediction mode of the neighboring block (ex. left and/or upper neighboring block) of the current block and additional candidate modes.
- the selected mpm index may be selected, or one of the remaining intra prediction modes that are not included in the mpm candidates (and planner mode) may be selected based on the remaining intra prediction mode information.
- the mpm list may be configured to include or not include the planner mode as a candidate.
- the mpm list when the mpm list includes the planner mode as candidates, the mpm list may have 6 candidates, and when the mpm list does not include the planner mode as candidates, the mpm list may have 5 candidates.
- a not planar flag (ex. intra_luma_not_planar_flag) indicating whether the intra prediction mode of the current block is not the planar mode may be signaled.
- the mpm flag may be signaled first, and the mpm index and not planner flag may be signaled when the value of the mpm flag is 1.
- the mpm index may be signaled when the value of the not planner flag is 1.
- the fact that the mpm list is configured not to include the planar mode as a candidate is that the planar mode is always considered as mpm, rather than that the planner mode is not mpm, so whether it is a planar mode by signaling a not planar flag. This is to check first.
- intra prediction mode applied to the current block is among mpm candidates (and planner mode) or in the remaining mode may be indicated based on an mpm flag (ex. intra_luma_mpm_flag).
- a value of 1 of the mpm flag may indicate that an intra prediction mode for the current block is within mpm candidates (and planner mode), and a value of 0 of the mpm flag indicates that the intra prediction mode for the current block is within mpm candidates (and planner mode). Can indicate none.
- a not planar flag (ex.
- intra_luma_not_planar_flag 0 may indicate that an intra prediction mode for the current block is a planar mode
- a not planar flag value of 1 may indicate that an intra prediction mode for the current block is not a planar mode.
- the mpm index may be signaled in the form of an mpm_idx or intra_luma_mpm_idx syntax element, and the remaining intra prediction mode information may be signaled in the form of a rem_intra_luma_pred_mode or intra_luma_mpm_remainder syntax element.
- the remaining intra prediction mode information may indicate one of the remaining intra prediction modes, which are not included in mpm candidates (and planner mode) among all intra prediction modes, in the order of prediction mode numbers.
- the intra prediction mode may be an intra prediction mode for a luma component (sample).
- the intra prediction mode information includes at least one of mpm flag (ex. intra_luma_mpm_flag), not planar flag (ex. intra_luma_not_planar_flag), mpm index (ex. mpm_idx or intra_luma_mpm_idx), and remainder intra prediction mode information (rem_intra_luma_pred_mode). can do.
- the mpm list may be referred to as various terms such as an mpm candidate list, a candidate mode list (candModeList), and a candidate intra prediction mode list.
- the encoder can use the intra prediction mode of the neighboring block to encode the intra prediction mode of the current block.
- the encoder/decoder can construct a list of most probable modes (MPM) for the current block.
- the MPM list may also be referred to as an MPM candidate list.
- MPM may mean a mode used to improve coding efficiency in consideration of similarity between a current block and a neighboring block during intra prediction mode coding.
- FIG. 8 shows an example of an MPM mode-based intra prediction method in an encoding apparatus to which the embodiments of this document are applicable.
- the encoding apparatus configures an MPM list for a current block (S800).
- the MPM list may include candidate intra prediction modes (MPM candidates) that are likely to be applied to the current block.
- the MPM list may include intra prediction modes of neighboring blocks, or may further include specific intra prediction modes according to a predetermined method. A detailed MPM list construction method will be described later.
- the encoding device determines an intra prediction mode of the current block (S810).
- the encoding apparatus may perform prediction based on various intra prediction modes, and may determine an optimal intra prediction mode based on the RDO (rate-distortion optimization) based thereon.
- the encoding apparatus may determine the optimal intra prediction mode using only the MPM candidates and planar mode configured in the MPM list, or the optimal intra prediction mode by further using the remaining intra prediction modes as well as the MPM candidates and planar mode configured in the MPM list. It is also possible to determine the prediction mode.
- the encoding apparatus only uses the MPM candidates and the planar mode.
- An optimal intra prediction mode may be determined by considering prediction mode candidates. That is, in this case, the intra prediction mode for the current block may be determined only among the MPM candidates and the planar mode, and in this case, the mpm flag may not be encoded/signaled. In this case, the decoding apparatus may estimate that the mpm flag is 1 without separately signaling the mpm flag.
- the encoding apparatus when the intra prediction mode of the current block is not a planner mode but one of MPM candidates in the MPM list, the encoding apparatus generates an mpm index (mpm idx) indicating one of the MPM candidates. If the intra prediction mode of the current block is not in the MPM list, remaining intra prediction mode information indicating the same mode as the intra prediction mode of the current block among the remaining intra prediction modes not included in the MPM list (and planner mode) Create
- the encoding device may encode the intra prediction mode information and output it in the form of a bitstream (S820).
- the intra prediction mode information may include the above-described mpm flag, not planar flag, mpm index, and/or remaining intra prediction mode information.
- the mpm index and the remaining intra prediction mode information are not signaled at the same time when indicating an intra prediction mode for one block with an alternative relationship. That is, an mpm flag value of 1 and a not planar flag or an mpm index are signaled together, or an mpm flag value of 0 and information about a remaining intra prediction mode are signaled together.
- the mpm flag may not be signaled and only the not planar flag and/or mpm index may be signaled. That is, in this case, the intra prediction mode information may include only the not planar flag and/or mpm index.
- FIG. 9 shows an example of an MPM mode-based intra prediction method in a decoding apparatus to which the embodiments of this document are applicable.
- the decoding apparatus of FIG. 9 may determine an intra prediction mode in response to intra prediction mode information determined and signaled by the encoding apparatus of FIG. 8.
- the decoding apparatus acquires intra prediction mode information from a bitstream (S900).
- the intra prediction mode information may include at least one of an mpm flag, a not planar flag, an mpm index, and a remaining intra prediction mode.
- the decoding apparatus constructs an MPM list (S910).
- the MPM list is configured in the same way as the MPM list configured in the encoding device. That is, the MPM list may include intra prediction modes of neighboring blocks, or may further include specific intra prediction modes according to a predetermined method. A detailed MPM list construction method will be described later.
- S910 is shown to be performed after S900, this is an example, and S910 may be performed before S900 or at the same time.
- the decoding apparatus determines an intra prediction mode of the current block based on the MPM list and intra prediction mode information (S920).
- the decoding apparatus when the value of the mpm flag is 1, the decoding apparatus derives the planar mode as the intra prediction mode of the current block (based on the not planar flag), or intra prediction of the candidate indicated by the mpm index among MPM candidates in the MPM list. It can be derived by mode.
- the MPM candidates may indicate only candidates included in the MPM list, or may include not only candidates included in the MPM list, but also a planner mode applicable when the value of the mpm flag is 1.
- the decoding apparatus derives an intra prediction mode indicated by the remanufacturing intra prediction mode information from among the remaining intra prediction modes not included in the MPM list and the planner mode as the intra prediction mode of the current block. can do.
- the decoding device selects the candidate indicated by the mpm index in the planner mode or the MPM list without checking the mpm flag. It can also be derived as an intra prediction mode of.
- the intra prediction mode may include non-directional (or non-angular) intra prediction modes and directional (or angular) intra prediction modes.
- non-directional prediction mode including two non-directional prediction modes and 33 directional prediction modes is used.
- the non-directional prediction mode may include a 0th planar intra prediction mode and a 1st DC intra prediction mode, and the directional prediction mode may include 2nd to 34th intra prediction modes.
- the planar intra prediction mode may be referred to as a planner mode
- the DC intra prediction mode may be referred to as a DC mode.
- the intra prediction mode may include two non-directional intra prediction modes and 65 directional intra prediction modes.
- the non-directional intra prediction modes may include a planar intra prediction mode of No. 0 and a DC intra prediction mode of No. 1, and the directional intra prediction modes may include intra prediction modes 2 to 66.
- the extended directional intra prediction modes can be applied to blocks of all sizes, and can be applied to both a luma component and a chroma component. However, this is an example, and the embodiments of this document may be applied even when the number of intra prediction modes is different.
- intra prediction mode 67 may be further used, and intra prediction mode 67 may represent a linear model (LM) mode.
- LM linear model
- FIG 10 shows an example of intra prediction modes to which embodiments of the present document are applicable.
- 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 an upward left diagonal prediction direction.
- H and V in FIG. 10 denote horizontal and vertical directions, respectively, and numbers from -32 to 32 denote displacements of 1/32 units on a sample grid position.
- Intra prediction modes 2 to 33 have horizontal directionality, and intra prediction modes 34 to 66 have vertical directionality.
- the 18th intra prediction mode and the 50th intra prediction mode represent a horizontal intra prediction mode and a vertical intra prediction mode, respectively, and the 2nd intra prediction mode is a left-down diagonal intra prediction mode,
- the 34th intra prediction mode may be referred to as an upward left diagonal intra prediction mode, and the 66th intra prediction mode may be referred to as an upward right diagonal intra prediction mode.
- intra prediction an MRL using multiple reference lines may be used.
- intra prediction may be performed using neighboring samples located in a sample line separated by one to three sample distances from the upper side and/or the left side of the current block as reference samples.
- FIG. 11 shows an example of reference sample lines for intra prediction using multiple reference lines.
- the block unit of FIG. 11 may refer to a current block.
- the intra prediction is for predicting reference samples adjacent to the current block (or reference samples of the reference line first closest to the current block, that is, reference samples located at a 0 sample distance from the current block) for prediction. Can be used as reference samples.
- multiple reference line (MRL) intra prediction is a method of using reference samples located at a K sample distance (K is an integer greater than or equal to 1) from left and upper boundaries of a current block. You may have more options for reference samples and more accurate prediction performance than intra prediction using reference samples that are first adjacent to the block (ie, located at a 0 sample distance).
- the reference sample of the current block may be referred to as a neighboring sample of the current block or a reference line sample of the current block, and the reference line sample may be referred to as a sample on the reference line.
- positions of neighboring reference samples located at 0, 1, 2, and 3 sample distances from the current block may be referred to as reference lines 0, 1, 2, and 3, respectively.
- the reference line may be referred to as a reference sample line, a reference sample row, a reference sample column, or the like, or may be simply referred to as a line, a row, or a column.
- Reference lines 0, 1, 2, and 3 may be located in an order close to the current block.
- multiple reference line intra prediction may be performed based on reference lines 1 and 2.
- multiple reference line intra prediction may be performed based on reference lines 1 and 3.
- the multi-reference line intra prediction of this document is not necessarily limited by these examples.
- multi-reference line (MRL)-based intra prediction may signal reference line information indicating which reference line is used.
- the reference line information may be signaled in the form of an intra_luma_ref_idx syntax element.
- intra_luma_ref_idx When the value of intra_luma_ref_idx is 0, it may indicate that intra prediction is performed using reference samples first closest to the current block (ie, located at a 0 sample distance).
- intra_luma_ref_idx When the value of intra_luma_ref_idx is 1, it may indicate that intra prediction is performed using reference samples second closest to the current block (ie, located at a distance of 1 sample).
- intra_luma_ref_idx When the value of intra_luma_ref_idx is 2, it may indicate that intra prediction is performed using reference samples that are the third or fourth closest to the current block (ie, located at a distance of 2 or 3 samples).
- intra prediction a block to be currently coded (encoded/decoded) is regarded as one coding unit, and coding/decoding can be performed without partitioning.
- intra prediction may be performed by dividing a block to be currently coded into subpartitions.
- This intra prediction method may be referred to as intra sub-partitions (ISP) or ISP-based intra prediction. That is, the ISP method may perform intra prediction by dividing a block to be currently coded in a horizontal direction or a vertical direction. In this case, a reconstructed block is generated by encoding/decoding in units of divided blocks, and the reconstructed block may be used as a reference block of the next divided block.
- ISP intra sub-partition
- Table 1 shows the number of sub-partitions according to the block size when the intra sub-partition (ISP) mode is applied to the current block.
- ISP 12 shows an example of sub-partitions divided according to an intra sub-partition (ISP).
- ISP intra sub-partition
- FIG. 12(a) shows an example in which a current block (original HxW partition, that is, a CU of HxW size) is divided in a horizontal direction and a vertical direction when a 4x8 or 8x4 block.
- original HxW partition that is, a CU of HxW size
- a 4x8 block or an 8x4 block may be partitioned in a horizontal direction or a vertical direction.
- partitioned in a horizontal direction it can be divided into two sub-partition blocks having a size of (H/2)xW, and when partitioned in a vertical direction, it is divided into two sub-partition blocks having a size of Hx(W/2).
- H/2xW size of (H/2)xW
- partitioned in a vertical direction it is divided into two sub-partition blocks having a size of Hx(W/2).
- FIG. 12B shows an example in which a current block (original HxW partition, that is, a CU of HxW size) is divided in horizontal and vertical directions when the remaining blocks except for 4x4, 4x8, and 8x4 blocks.
- original HxW partition that is, a CU of HxW size
- HxW blocks excluding 4x4, 4x8, and 8x4 blocks may be partitioned in a horizontal direction or a vertical direction.
- it when partitioned in the horizontal direction, it can be divided into 4 sub-partition blocks having a size of (H/4)xW, and when partitioned in the vertical direction, it is divided into 4 sub-partition blocks having a size of Hx(W/4). Can be divided.
- an MPM list is generated according to each partitioning method (horizontal partitioning and vertical partitioning) to reduce coding complexity, and a suitable prediction mode among the prediction modes in the generated MPM list is rate-distorted (rate distortion optimization, RDO). ) To create the optimal mode by comparing it from the viewpoint.
- RDO rate distortion optimization
- the intra sub-partition method cannot be used. That is, the intra sub-partition method can be applied only when the 0-th reference line is used (that is, when the value of intra_luma_ref_idx is 0).
- the above-described intra sub-partition method is used, the above-described PDPC cannot be used.
- intra sub-partitions_mode_flag intra sub-partitions_mode_flag
- intra_subpartitions_split_flag information on whether it is horizontal or vertical
- the intra prediction mode for the current block is equally applied to the sub-partitions, and the intra prediction performance can be improved by deriving and using neighboring reference samples for each sub-partition. That is, when the intra sub-partition method is applied, a residual sample processing procedure is performed in units of sub-partitions.
- intra prediction samples are derived for each sub-partition, and a residual signal (residual samples) for a corresponding sub-partition is added thereto to obtain reconstructed samples.
- the residual signal (residual samples) may be derived through an inverse quantization/inverse transform procedure or the like based on residual information (quantized transform coefficient information or residual coding syntax) in the above-described bitstream.
- prediction samples for the first sub-partition and residual samples are derived, and reconstructed samples for the first sub-partition may be derived based on this.
- some of the reconstructed samples (ex. left or upper peripheral reference samples of the second subpartition) in the first subpartition are peripheral reference samples for the second subpartition.
- prediction samples for the second subpartition and residual samples are derived, and reconstructed samples for the second subpartition may be derived based on this.
- some of the reconstructed samples (ex. left or upper peripheral reference samples of the third subpartition) are peripheral references to the third subpartition. Can be used as samples. The same can be applied to the remaining subpartitions.
- a multi-reference line (MRL)-based intra prediction method, a sub-partition (ISP)-based intra prediction method, or the like may be applied, or general intra prediction excluding specific intra prediction methods such as MRL and ISP.
- the method can be applied.
- general intra prediction that is not a specific intra prediction type e.g., MRL, ISP
- MRL multi-reference line intra prediction
- multi-reference line intra prediction is performed by planar mode
- DC Intra prediction encoding/decoding is performed using 65 intra prediction modes excluding a DC mode.
- intra prediction encoding/decoding is performed using 66 intra prediction modes excluding a DC mode. Since the three intra predictions (conventional intra prediction, multiple reference line intra prediction, and sub-partition intra prediction) all perform intra prediction encoding/decoding using different numbers of intra prediction modes, an MPM list for each prediction They all have different methods of creation.
- an MPM list including 6 MPM candidates is constructed by using all 67 intra prediction modes. Since multi-reference line intra prediction does not use a planar mode and a DC mode, an MPM list including 6 MPM candidates is constructed using 65 intra prediction modes excluding the planar mode and the DC mode. Since sub-partition intra prediction does not use the DC mode, an MPM list including 6 MPM candidates is constructed by using 66 intra prediction modes excluding the DC mode. In this case, in the case of sub-partition intra prediction, the MPM list is constructed in different ways according to horizontal and vertical partitioning. As such, an MPM list including six MPM candidates is constructed using different methods for intra prediction.
- a unified MPM list generation method can be used. Accordingly, in this document, we propose a method for constructing an MPM list used in general intra prediction, multiple reference line intra prediction, and sub-partition intra prediction in one unified method.
- an MPM list for general intra prediction, multiple reference line intra prediction, and sub-partition intra prediction may be generated.
- a specific prediction mode eg, DC mode
- a specific intra prediction type ie, general intra prediction, multiple reference line intra prediction, sub-partition intra prediction.
- an MPM list for general intra prediction, multiple reference line intra prediction, and sub-partition intra prediction may be generated.
- the encoding/decoding structure of intra prediction can be simplified, and the efficiency of intra-mode encoding/decoding can be increased to increase the video encoding/decoding efficiency. have.
- FIG. 13 is a diagram for explaining an embodiment of a method for generating a unified MPM list according to this document.
- a unified MPM list in consideration of a specific prediction mode (eg, planar mode, DC mode) that is not used according to a specific intra prediction type (ie, general intra prediction, multiple reference line intra prediction, sub-partition intra prediction) How to configure it will be described.
- a specific prediction mode eg, planar mode, DC mode
- a specific intra prediction type ie, general intra prediction, multiple reference line intra prediction, sub-partition intra prediction
- a method of generating an MPM list including six MPM candidates used in general intra prediction may be equally applied to a method of generating an MPM list of multi-reference line intra prediction and sub-partition intra prediction.
- the MPM list generation method used in general intra prediction may be an existing MPM list generation method, or an improved method of an existing MPM list generation method.
- the MPM list used in general intra prediction may be configured according to the method of FIGS. 8 and 9 described above.
- the general intra prediction generates an MPM list in consideration of all 67 intra prediction modes, and thus includes a planar mode and a DC mode.
- each MPM list may be generated in consideration of this.
- an MPM list including 6 MPM candidates used in general intra prediction may be temporarily generated.
- the MPM list temporarily generated first is referred to as a temporary MPM list.
- the temporary MPM list is an MPM list (or an MPM list improved through various improvement methods) including 6 MPM candidates used in general intra prediction, and may be configured according to the methods of FIGS. 8 and 9 described above. have.
- the method of constructing a temporary MPM list can be applied equally to the generation of an MPM list for multi-reference line intra prediction and sub-partition intra prediction. Accordingly, a temporary MPM list including six MPM candidates that are the same for general intra prediction, multiple reference line intra prediction, and sub-partition intra prediction may be generated.
- the planar mode and the DC mode may not be used for multi-reference line intra prediction, and the DC mode may not be used for sub-partition intra prediction.
- a specific mode that is not used in each prediction method may be removed from the temporary MPM list created in the same manner, and an appropriate MPM list may be reconstructed according to the corresponding prediction method.
- a temporary MPM list for each of general intra prediction, multiple reference line intra prediction, and sub-partition intra prediction may be generated.
- each temporary MPM list includes the same 6 MPM candidates.
- the planar mode of the MPM index 0 and the DC mode of the MPM index in the temporary MPM list as shown in FIG. 13B are used. Remove and rearrange MPM candidates in the temporary MPM list. Accordingly, an MPM list including four MPM candidates can be finally generated.
- the DC mode of the second MPM index from the temporary MPM list can be removed and the MPM candidates in the temporary MPM list can be rearranged as shown in FIG. 13(c). have. Accordingly, an MPM list including five MPM candidates can be finally generated.
- FIG. 14 is a diagram for explaining another embodiment of a method for generating a unified MPM list according to this document.
- a specific prediction mode eg, DC mode
- a specific intra prediction type ie, general intra prediction, multiple reference line intra prediction, and sub-partition intra prediction
- a unified MPM list is constructed in consideration of this.
- a DC mode is additionally used in multi-reference line intra prediction
- a method of constructing a unified MPM list will be described.
- a method of generating an MPM list including six MPM candidates used in general intra prediction may be equally applied to a method of generating an MPM list of multi-reference line intra prediction and sub-partition intra prediction.
- the MPM list generation method used in general intra prediction may be an existing MPM list generation method, or an improved method of an existing MPM list generation method.
- the MPM list used in general intra prediction may be configured according to the method of FIGS. 8 and 9 described above.
- each MPM list may be generated in consideration of this.
- an MPM list including 6 MPM candidates used in general intra prediction may be temporarily generated.
- the MPM list temporarily generated first is referred to as a temporary MPM list.
- the temporary MPM list is an MPM list (or an MPM list improved through various improvement methods) including 6 MPM candidates used in general intra prediction, and may be configured according to the methods of FIGS. 8 and 9 described above. have.
- the method of constructing a temporary MPM list can be applied equally to the generation of an MPM list for multi-reference line intra prediction and sub-partition intra prediction. Accordingly, a temporary MPM list including six MPM candidates that are the same for general intra prediction, multiple reference line intra prediction, and sub-partition intra prediction may be generated.
- the DC mode in the case of multi-reference line intra prediction, the DC mode may be used and the planar mode may not be used, and in the case of sub-partition intra prediction, the DC mode may not be used.
- a specific mode that is not used in each prediction method may be removed from the temporary MPM list created in the same manner, and an appropriate MPM list may be reconstructed according to the corresponding prediction method.
- a temporary MPM list for each of general intra prediction, multiple reference line intra prediction, and sub-partition intra prediction may be generated.
- each temporary MPM list includes the same 6 MPM candidates.
- the planner mode of the 0th MPM index from the temporary MPM list is removed and the temporary MPM It is possible to rearrange the MPM candidates in the list. Accordingly, an MPM list including five MPM candidates can be finally generated.
- the DC mode of the second MPM index from the temporary MPM list can be removed and the MPM candidates in the temporary MPM list can be rearranged as shown in FIG. 14(c). have. Accordingly, an MPM list including five MPM candidates can be finally generated.
- FIG. 13 and 14 illustrate an example of generating an MPM list
- the basic concept of the proposed method is to generate an MPM list including a plurality of (6) MPM candidates in general intra prediction, and then use it as a multi-reference line intra prediction. The same is used for both prediction and sub-partition intra prediction.
- MPM candidates may be configured in consideration of this. If there is a specific mode (eg, planar mode, DC mode, etc.) not used in each prediction method in the MPM list, the MPM list for each prediction method may be constructed by removing it and rearranging the MPM candidates.
- an MPM list (ie, a temporary MPM list) including a plurality of (6) MPM candidates for each prediction method
- a specific mode not used in each prediction method eg, It has been described that the MPM list is finally formed by removing the planner mode, DC mode, etc.
- the process of generating the temporary MPM list may be omitted.
- an MPM list suitable for the prediction method is generated by excluding specific modes (e.g., planner mode, DC mode, etc.) not used in each prediction method. Configurable.
- the planar mode is included in the six MPM candidates, when the planar mode is not used such as multi-reference line intra prediction, 5 MPM candidates excluding this are derived, and an MPM list including the 5 MPM candidates is Can be configured.
- the above-described embodiments are only examples to help understand the basic concept of the method for generating a unified MPM list proposed in this document.
- the basic concept of the method proposed in this document is to generate a unified MPM list without distinction between general intra prediction, multiple reference line intra prediction, and sub-partition intra prediction in generating an MPM list.
- the MPM list generated by general intra prediction can be used in the same manner for multi-reference line intra prediction and sub-partition intra prediction.
- an MPM list suitable for each intra prediction may be finally configured in consideration of an intra prediction mode that is not used in each of the multiple reference line intra prediction and the sub-partition intra prediction.
- the encoding/decoding structure of intra prediction can be simplified.
- 15 is a flowchart schematically illustrating an encoding method that can be performed by an encoding apparatus according to an embodiment of the present document.
- the method disclosed in FIG. 15 may be performed by the encoding apparatus 200 disclosed in FIG. 2. Specifically, steps S1500 to S1530 of FIG. 15 may be performed by the prediction unit 220 (specifically, the intra prediction unit 222) disclosed in FIG. 2, and step S1540 of FIG. 15 is an entropy encoding unit disclosed in FIG. 2. It can be done by 240.
- the method disclosed in FIG. 15 may include the embodiments described above in this document. Accordingly, in FIG. 15, detailed descriptions of content overlapping with the above-described embodiments will be omitted or simplified.
- the encoding apparatus may generate reference line index information indicating a reference line used for intra prediction of a current block (S1500).
- the reference line index information indicates a reference line used for intra prediction based on multiple reference lines (MRL) as described above, and neighboring reference samples located at 0, 1, 2, and 3 sample distances from the current block. It may be indicative information.
- the reference line index information may be expressed in the form of the aforementioned intra_luma_ref_idx syntax element, and may be an index value indicating any one of reference lines 0, 1, 2, and 3 based on the value of intra_luma_ref_idx.
- reference line index information eg, intra_luma_ref_idx
- intra_luma_ref_idx when the value of reference line index information (eg, intra_luma_ref_idx) is 0, it indicates that intra prediction is performed using samples of the reference line (reference line 0 in FIG. 11) closest to the current block, and reference line index
- intra_luma_ref_idx when the value of information (eg, intra_luma_ref_idx) is not 0 (i.e., 1 to 3), intra prediction using samples of the second to fourth reference lines (reference lines 1 to 3 in FIG.
- reference line index information eg, intra_luma_ref_idx
- MRL multi-reference line
- the encoding device may determine whether to perform intra prediction by applying multiple reference lines to the current block, generate reference line index information based on the determination, and signal this to the decoding device. .
- the encoding apparatus may configure a Most Probable Mode (MPM) list including candidate intra prediction modes (MPM candidate modes) for intra prediction of the current block (S1510).
- MPM Most Probable Mode
- the encoding apparatus may configure an MPM list based on whether a specific intra prediction method (eg, multiple reference line intra prediction, sub-partition intra prediction, etc.) is applied.
- a specific intra prediction method eg, multiple reference line intra prediction, sub-partition intra prediction, etc.
- the process of configuring the MPM list may be applied to the above-described embodiments, which has been described in detail with reference to FIGS. 13 and 14.
- the encoding apparatus may generate an MPM list based on whether multi-reference line intra prediction is applied. For example, the encoding apparatus derives the DC mode as one of the candidate intra prediction modes based on a case in which intra prediction is performed by applying multiple reference lines to the current block, that is, the value of the reference line index information is not 0. , It can be included in the MPM list.
- the planar mode when intra prediction is performed by applying multiple reference lines, the planar mode may not be available. Accordingly, the encoding apparatus may not use the planner mode as the intra prediction mode of the current block based on the case where the value of the reference line index information is not 0. For example, the encoding apparatus may configure a temporary MPM list for intra prediction of multiple reference lines. In this case, when a planner mode is included among candidate intra prediction modes in the temporary MPM list, the encoding apparatus may remove the planner mode from the temporary MPM list and reconstruct it into an MPM list.
- the process of configuring the temporary MPM list may be omitted depending on the MPM list implementation method. For example, if the value of the reference line index information is not 0, the planner mode is not used.
- the planner mode is not used as an intra prediction mode, and then six candidate intra prediction modes are performed. From the prediction modes, five candidate intra prediction modes (including the DC mode) excluding the planar mode may be derived and configured as an MPM list. Therefore, it can be implemented without an intermediate process of configuring a temporary MPM list according to an algorithm method for implementing the MPM list.
- the encoding apparatus may generate and signal information indicating whether the planar mode is used as the intra prediction mode of the current block.
- planner flag information may be used as information indicating whether the planner mode is used as the intra prediction mode of the current block.
- the planner flag information may be the above-described not planar flag (eg, intra_luma_not_planar_flag).
- the value of planner flag information ie, not planner flag
- the current block It may indicate that the planar mode is used as the intra prediction mode of.
- the encoding device may not signal planner flag information (ie, not planner flag) based on a case where the value of the reference line index information is not 0.
- planner flag information i.e., not planner flag
- the value of planner flag information is the intra prediction mode of the current block and is derived to a value of 1 indicating that the planner mode is not used Can be. That is, as described above, if the value of the reference line index information is not 0, the planar mode is not used as the intra prediction mode of the current block, and thus the value is set to 1 without signaling planner flag information (ie, not planner flag).
- the number of bits can be saved by deriving to.
- the encoding apparatus may generate an MPM list based on sub-partition mode information indicating whether sub-partition intra prediction is used for the current block.
- the sub-partition mode information may use the above-described intra_subpartitions_mode_flag syntax element, and when the value of intra_subpartitions_mode_flag is 1, it indicates that sub-partition intra prediction is used for the current block, and when the value of intra_subpartitions_mode_flag is 0, the current block is For this, it may indicate that sub-partition intra prediction is not used.
- the DC mode may not be available.
- the encoding device may not use the DC mode as the intra prediction mode of the current block.
- the encoding apparatus may construct a temporary MPM list for sub-partition intra prediction.
- the encoding apparatus may remove the DC mode from the temporary MPM list and reconstruct it into an MPM list.
- the process of configuring the temporary MPM list may be omitted depending on the MPM list implementation method.
- an MPM list including five candidate intra prediction modes can be finally configured by not including the DC mode in the candidate intra prediction modes. have. Therefore, it can be implemented without an intermediate process of constructing a temporary MPM list.
- the encoding device may generate sub-partition mode information and signal this to the decoding device.
- the encoding apparatus determines whether to perform sub-partition intra prediction when multiple reference lines are not applied (that is, when intra prediction is performed using samples of the reference line closest to the current block), and Sub-partition mode information may be generated based on the determination.
- the encoding device may not use the DC mode as the intra prediction mode of the current block. That is, in this case, the encoding apparatus may generate an MPM list by not including the DC mode in candidate intra prediction modes.
- the encoding apparatus may derive an intra prediction mode for the current block from among candidate intra prediction modes included in the MPM list (S1520).
- the encoding apparatus may derive an intra prediction mode having an optimal rate-distortion (RD) cost by performing various intra prediction modes for a current block, and determine this as an intra prediction mode of the current block.
- the encoding apparatus may derive an optimal intra prediction mode for the current block based on intra prediction modes including two non-directional intra prediction modes and 65 intra-directional prediction modes.
- the encoding apparatus may determine an optimal intra prediction mode using only MPM candidates configured in the MPM list.
- the encoding apparatus may derive an optimal intra prediction mode for the current block by using the MPM candidate intra prediction modes included in the MPM list. That is, in this case, the intra prediction mode for the current block may be determined only among candidate intra prediction modes including the DC mode in the MPM list.
- the encoding device may not encode/signal the MPM flag information when the value of the reference line index information is not 0.
- the MPM flag information may be derived as 1.
- the MPM flag information may be expressed in the form of an intra_luma_mpm_flag syntax element.
- intra_luma_mpm_flag when the value of intra_luma_mpm_flag is 1, it indicates that the intra prediction mode of the current block is selected from among MPM candidate intra prediction modes, and when the value of intra_luma_mpm_flag is 0, the intra prediction mode of the current block is among the MPM candidate intra prediction modes. May indicate not being selected.
- the encoding apparatus may generate MPM index information indicating an intra prediction mode for the current block (S1530).
- the encoding apparatus when the value of the reference line index information is not 0 and the value of the MPM flag information is derived as 1, the encoding apparatus generates an index value indicating one of the candidate intra prediction modes in the MPM list to generate the MPM. It can be encoded as index information. That is, when the value of the reference line index information is not 0 and the value of the MPM flag information is derived as 1, the MPM index information may be encoded/signaled.
- the encoding apparatus may encode image information including MPM index information and reference line index information (S1540).
- the encoding apparatus includes reference line index information determined based on whether to apply intra prediction based on multiple reference lines as described above, and an MPM indicating an intra prediction mode of a current block derived based on the MPM list.
- Image information including index information may be encoded and output in the form of a bitstream.
- the encoding apparatus may encode the video information by including sub-partition mode information determined based on whether to apply sub-partition intra prediction to the current block.
- the encoding device may generate prediction samples of the current block based on the intra prediction mode of the current block.
- the encoding apparatus may derive at least one neighboring reference sample from among neighboring reference samples of the current block based on the intra prediction mode, and may generate prediction samples based on the neighboring reference samples.
- the surrounding reference samples may be derived based on reference line index information, and may include, for example, surrounding reference samples included in a reference line indicated by the reference line index information.
- the encoding apparatus may derive residual samples for the current block based on the prediction samples of the current block and the original samples of the current block.
- the encoding apparatus may generate residual information for the current block based on the residual samples, and may encode image information including the residual information.
- the residual information may include information such as value information, position information, a transform technique, a transform kernel, and a quantization parameter of quantized transform coefficients derived by performing transform and quantization on residual samples.
- the encoding apparatus may encode the video information including the intra prediction mode information (MPM index information, reference line index information, etc.) and/or the residual information of the current block described above and output it as a bitstream.
- MPM index information MPM index information, reference line index information, etc.
- the bitstream may be transmitted to a decoding device through a network or 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.
- the process of generating the prediction samples for the current block described above may be performed by the intra prediction unit 222 of the encoding apparatus 200 disclosed in FIG. 2, and the process of deriving the residual samples is the encoding apparatus disclosed in FIG. 2. It may be performed by the subtraction unit 231 of 200, and the process of generating and encoding residual information is performed by the residual processing unit 230 and the entropy encoding unit 240 of the encoding apparatus 200 disclosed in FIG. 2. Can be done by
- 16 is a flowchart schematically illustrating a decoding method that can be performed by a decoding apparatus according to an embodiment of the present document.
- the method disclosed in FIG. 16 may be performed by the decoding apparatus 300 disclosed in FIG. 3. Specifically, steps S1600 to S1630 of FIG. 16 may be performed by the entropy decoding unit 310 and/or the prediction unit 330 (specifically, the intra prediction unit 331) disclosed in FIG. 3, and the steps of FIG. S1640 may be performed by the addition unit 340 disclosed in FIG. 3.
- the method disclosed in FIG. 16 may include the embodiments described above in this document. Accordingly, in FIG. 16, detailed descriptions of contents overlapping with the above-described embodiments will be omitted or simplified.
- the decoding apparatus may obtain Most Probable Mode (MPM) index information and reference line index information from a bitstream (S1600).
- MPM Most Probable Mode
- the reference line index information indicates a reference line used for intra prediction based on multiple reference lines (MRL) as described above, and neighboring reference samples located at 0, 1, 2, and 3 sample distances from the current block. It may be indicative information.
- the reference line index information may be expressed in the form of the aforementioned intra_luma_ref_idx syntax element, and may be an index value indicating any one of reference lines 0, 1, 2, and 3 based on the value of intra_luma_ref_idx.
- reference line index information eg, intra_luma_ref_idx
- intra_luma_ref_idx when the value of reference line index information (eg, intra_luma_ref_idx) is 0, it indicates that intra prediction is performed using samples of the reference line (reference line 0 in FIG. 11) closest to the current block, and reference line index
- intra_luma_ref_idx when the value of information (eg, intra_luma_ref_idx) is not 0 (i.e., 1 to 3), intra prediction using samples of the second to fourth reference lines (reference lines 1 to 3 in FIG.
- reference line index information eg, intra_luma_ref_idx
- MRL multi-reference line
- the decoding apparatus may obtain reference line index information (eg, intra_luma_ref_idx) syntax element from the bitstream and parse (decode) it.
- the decoding apparatus may obtain a value of reference line index information (eg, intra_luma_ref_idx) as a result of the parsing, and determine whether multi reference line intra prediction is applied based on this value.
- the decoding apparatus may obtain MPM index information indicating an intra prediction mode for a current block from among candidate intra prediction modes in the MPM list from the bitstream, and parse (decode) it. That is, the decoding apparatus may derive the intra prediction mode of the current block from the MPM list based on the MPM index information.
- the decoding apparatus may configure an MPM list including candidate intra prediction modes for intra prediction of the current block (S1610).
- the decoding apparatus may configure an MPM list based on whether a specific intra prediction method (eg, multiple reference line intra prediction, sub-partition intra prediction, etc.) is applied.
- a specific intra prediction method eg, multiple reference line intra prediction, sub-partition intra prediction, etc.
- the process of configuring the MPM list may be applied to the above-described embodiments, which has been described in detail with reference to FIGS. 13 and 14.
- the decoding apparatus may determine whether multi reference line intra prediction is applied based on reference line index information, and accordingly, may generate an MPM list. For example, the decoding apparatus derives the DC mode as one of the candidate intra prediction modes based on a case in which intra prediction is performed by applying multiple reference lines to the current block, that is, the value of the reference line index information is not 0. , It can be included in the MPM list.
- the decoding apparatus may not use the planar mode as the intra prediction mode of the current block based on the case where the value of the reference line index information is not 0.
- the decoding apparatus may construct a temporary MPM list for intra prediction of multiple reference lines.
- the decoding apparatus may remove the planner mode from the temporary MPM list and reconstruct it into an MPM list.
- the process of configuring the temporary MPM list may be omitted depending on the MPM list implementation method. For example, if the value of the reference line index information is not 0, the planner mode is not used.
- the planner mode is not used as an intra prediction mode, and then six candidate intra prediction modes are performed. From the prediction modes, five candidate intra prediction modes (including the DC mode) excluding the planar mode may be derived and configured as an MPM list. Therefore, it can be implemented without an intermediate process of configuring a temporary MPM list according to an algorithm method for implementing the MPM list.
- the decoding apparatus may obtain information indicating whether the planar mode is used as the intra prediction mode of the current block from the bitstream.
- planar flag information may be used as information indicating whether the planar mode is used as the intra prediction mode of the current block.
- the planner flag information may be the above-described not planar flag (eg, intra_luma_not_planar_flag).
- the value of planner flag information ie, not planner flag
- the current block It may indicate that the planar mode is used as the intra prediction mode of.
- planner flag information when the value of the reference line index information is not 0, planner flag information (ie, not planner flag) may not be signaled. In this case, since the decoding device cannot obtain planner flag information (ie, not planner flag) from the bitstream, based on the case where the value of the reference line index information is not 0, planner flag information (ie, not planner flag) The value of can be derived to 1. When the value of planar flag information (ie, not planner flag) is derived as 1, it may indicate that the planar mode is not used as the intra prediction mode of the current block.
- the value of the reference line index information is not 0, since the planar mode is not used as the intra prediction mode of the current block, the value of the reference line index information (i.e., not planner flag) is not signaled. It can be derived to 1 and thus the number of bits can be saved.
- the decoding apparatus may generate an MPM list based on sub-partition mode information indicating whether sub-partition intra prediction is used for the current block.
- the sub-partition mode information may use the above-described intra_subpartitions_mode_flag syntax element, and when the value of intra_subpartitions_mode_flag is 1, it indicates that sub-partition intra prediction is used for the current block, and when the value of intra_subpartitions_mode_flag is 0, the current block is For this, it may indicate that sub-partition intra prediction is not used.
- the DC mode may not be available.
- the decoding apparatus may construct a temporary MPM list for sub-partition intra prediction.
- the decoding apparatus may remove the DC mode from the temporary MPM list and reconstruct it into an MPM list.
- the process of configuring the temporary MPM list may be omitted depending on the MPM list implementation method.
- an MPM list including five candidate intra prediction modes can be finally configured by not including the DC mode in the candidate intra prediction modes. have. Therefore, it can be implemented without an intermediate process of constructing a temporary MPM list.
- the decoding apparatus may obtain sub-partition mode information from the bitstream. In other words, the decoding apparatus indicates whether to perform sub-partition intra prediction only when multiple reference lines are not applied (that is, when intra prediction is performed using samples of the reference line closest to the current block). Partition information can be obtained and decoded.
- the decoding apparatus may not use the DC mode as the intra prediction mode of the current block. That is, in this case, the decoding apparatus may generate an MPM list by not including the DC mode in candidate intra prediction modes.
- the decoding apparatus may derive an intra prediction mode for the current block from among candidate intra prediction modes included in the MPM list based on the MPM index information (S1620).
- the decoding apparatus may obtain intra prediction mode information for the current block from the bitstream.
- the intra prediction mode information is information for indicating the intra prediction mode of the current block, and may include MPM flag information, MPM index information, remaining mode information, and the like.
- the MPM flag information may not be signaled from the encoding device.
- the decoding apparatus may derive the value of the MPM flag information to 1.
- the MPM flag information may be signaled in the form of an intra_luma_mpm_flag syntax element. For example, when the value of intra_luma_mpm_flag is 1, it indicates that the intra prediction mode of the current block is selected from among MPM candidate intra prediction modes, and when the value of intra_luma_mpm_flag is 0, the intra prediction mode of the current block is among the MPM candidate intra prediction modes. May indicate not being selected.
- the MPM index information may be signaled from the encoding device. That is, the decoding apparatus may acquire and decode MPM index information from the bitstream.
- the MPM index information includes an index value indicating an intra prediction mode for a current block among candidate intra prediction modes included in the MPM list, and may be expressed in the form of, for example, an intra_luma_mpm_idx syntax element.
- the decoding apparatus acquires and decodes the MPM index information, and based on this, derives the intra prediction mode of the current block from the MPM list. can do.
- the decoding apparatus may generate prediction samples for the current block based on the intra prediction mode of the current block (S1630).
- the decoding apparatus may derive at least one neighboring reference sample from among neighboring reference samples of the current block based on the intra prediction mode derived as described above, and generate prediction samples based on the neighboring reference samples.
- the surrounding reference samples may be derived based on reference line index information, and may include, for example, surrounding reference samples included in a reference line indicated by the reference line index information.
- the decoding apparatus may generate reconstructed samples for the current block based on the prediction samples (S1640).
- the decoding apparatus may directly use prediction samples as reconstructed samples according to a prediction mode, or may generate reconstructed samples by adding residual samples to the prediction samples.
- the decoding apparatus may receive information about the residual for the current block.
- the information on the residual may include transform coefficients on the residual samples.
- the decoding apparatus may derive residual samples (or residual sample array) for the current block based on the residual information.
- the decoding apparatus may generate reconstructed samples based on prediction samples and residual samples, and may derive a reconstructed block or a reconstructed picture based on the reconstructed samples. Thereafter, as described above, the decoding apparatus may apply an in-loop filtering procedure such as deblocking filtering and/or SAO procedure to the reconstructed picture in order to improve subjective/objective image quality as needed.
- the above-described method according to this document may be implemented in a software form, and the encoding device and/or decoding device according to this document performs image processing such as a TV, computer, smartphone, set-top box, display device, etc. Can be included in the device.
- the above-described method may be implemented as a module (process, function, etc.) performing the above-described functions.
- the modules are stored in memory and can be executed by the processor.
- the memory may be inside or outside the processor, and may be connected to the processor by 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 illustrated in each drawing may be implemented and executed on a computer, processor, microprocessor, controller, or chip. In this case, information for implementation (ex. information on instructions) or an algorithm may be stored in a digital storage medium.
- decoding devices and encoding devices to which this document is applied include multimedia broadcasting 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 communications, 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, virtual reality (VR) devices, AR (argumente) reality) devices, video telephony video devices, transportation means terminals (ex.vehicle (including autonomous vehicles) terminals, airplane terminals, ship terminals, etc.) and medical video devices, and can be used to process video signals or data signals.
- 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 the present 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 the 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 includes, 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).
- the 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 this document.
- the program code may be stored on a carrier readable by a computer.
- FIG 17 shows an example of a content streaming system to which embodiments disclosed in this document can be applied.
- a content streaming system applied to embodiments of the present document 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 smartphones, cameras, camcorders, etc. into digital data, and transmits it to the streaming server.
- multimedia input devices such as smartphones, 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 applied to the embodiments of the present document, 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 for notifying the user of a service.
- 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 commands/responses 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, for example, smartwatch, smart glass, head mounted display (HMD)), digital TV, desktop There may be computers, digital signage, etc.
- PDA personal digital assistant
- PMP portable multimedia player
- HMD head mounted display
- TV desktop
- desktop There may be computers, digital signage, etc.
- 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 in this document may be combined in a variety of ways.
- the technical features of the method claims of this document may be combined to be implemented as a device, and the technical features of the device claims of this document may be combined to be implemented as a method.
- the technical features of the method claim of this document and the technical features of the device claim may be combined to be implemented as a device, and the technical features of the method claim of this document and the technical features of the device claim may be combined to be implemented by a method.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Theoretical Computer Science (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
Claims (17)
- 디코딩 장치에 의하여 수행되는 영상 디코딩 방법에 있어서,비트스트림으로부터 MPM(Most Probable Mode) 인덱스 정보 및 참조 라인 인덱스 정보를 획득하는 단계;현재 블록의 인트라 예측을 위한 후보 인트라 예측 모드들을 포함하는 MPM 리스트를 구성하는 단계;상기 MPM 인덱스 정보를 기반으로 상기 MPM 리스트에 포함된 상기 후보 인트라 예측 모드들 중에서 상기 현재 블록에 대한 인트라 예측 모드를 도출하는 단계;상기 인트라 예측 모드를 기반으로 상기 현재 블록에 대한 예측 샘플들을 생성하는 단계; 및상기 예측 샘플들을 기반으로 상기 현재 블록에 대한 복원 샘플들을 생성하는 단계를 포함하며,상기 MPM 리스트를 구성하는 단계는,상기 현재 블록의 인트라 예측을 위해 사용되는 참조 라인을 나타내는 상기 참조 라인 인덱스 정보의 값이 0이 아닌 경우를 기반으로, DC 모드를 상기 후보 인트라 예측 모드들 중 하나로 도출하여 상기 MPM 리스트에 포함시키는 것을 특징으로 하는 영상 디코딩 방법.
- 제1항에 있어서,상기 참조 라인 인덱스 정보의 값이 0이 아닌 경우를 기반으로, 플래너 모드는 상기 현재 블록의 상기 인트라 예측 모드로 사용되지 않는 것을 특징으로 하는 영상 디코딩 방법.
- 제2항에 있어서,상기 참조 라인 인덱스 정보의 값이 0이 아닌 경우, 상기 현재 블록의 상기 인트라 예측 모드로 상기 플래너 모드를 사용하는지 여부를 나타내는 플래너 플래그 정보는 시그널링되지 않으며,상기 플래너 플래그 정보는 상기 현재 블록의 상기 인트라 예측 모드로 상기 플래너 모드를 사용하지 않는 것으로 나타내는 1의 값으로 유도되는 것을 특징으로 하는 영상 디코딩 방법.
- 제2항에 있어서,임시 MPM 리스트를 구성하는 단계를 더 포함하되,상기 MPM 리스트를 구성하는 단계는,상기 플래너 모드가 상기 임시 MPM 리스트 내의 후보 인트라 예측 모드들 중에 포함된 경우, 상기 플래너 모드를 제거하여 상기 MPM 리스트를 재구성하는 것을 특징으로 하는 영상 디코딩 방법.
- 제1항에 있어서,상기 현재 블록에 대해 서브 파티션 인트라 예측이 사용되는지 여부를 나타내는 서브 파티션 모드 정보를 기반으로, 상기 DC 모드는 상기 현재 블록의 상기 인트라 예측 모드로 사용되지 않는 것을 특징으로 하는 영상 디코딩 방법.
- 제5항에 있어서,상기 참조 라인 인덱스 정보의 값이 0인 경우, 상기 서브 파티션 모드 정보를 획득하는 단계를 포함하며,상기 서브 파티션 모드 정보가 상기 현재 블록에 대해 서브 파티션 인트라 예측이 사용되는 것으로 나타내는 경우, 상기 DC 모드는 상기 현재 블록의 상기 인트라 예측 모드로 사용되지 않는 것을 특징으로 하는 영상 디코딩 방법.
- 제5항에 있어서,임시 MPM 리스트를 구성하는 단계를 더 포함하되,상기 MPM 리스트를 구성하는 단계는,상기 DC 모드가 상기 임시 MPM 리스트 내의 후보 인트라 예측 모드들 중에 포함된 경우, 상기 DC 모드를 제거하여 상기 MPM 리스트를 재구성하는 것을 특징으로 하는 영상 디코딩 방법.
- 제1항에 있어서,상기 참조 라인 인덱스 정보의 값이 0인 경우는 상기 현재 블록에 첫번째로 가까운 참조 라인의 샘플들을 사용하여 인트라 예측을 수행함을 나타내고,상기 참조 라인 인덱스 정보의 값이 0이 아닌 경우는 상기 현재 블록에 두번째 내지 네번째로 가까운 참조 라인 중 하나의 참조 라인을 사용하여 인트라 예측을 수행함을 나타내는 것을 특징으로 하는 영상 디코딩 방법.
- 제1항에 있어서,상기 MPM 리스트 내의 상기 후보 인트라 예측 모드들의 개수는 5개인 것을 특징으로 하는 영상 디코딩 방법.
- 인코딩 장치에 의하여 수행되는 영상 인코딩 방법에 있어서,현재 블록의 인트라 예측을 위해 사용되는 참조 라인을 나타내는 참조 라인 인덱스 정보를 생성하는 단계;상기 현재 블록의 인트라 예측을 위한 후보 인트라 예측 모드들을 포함하는 MPM(Most Probable Mode) 리스트를 구성하는 단계;상기 MPM 리스트에 포함된 상기 후보 인트라 예측 모드들 중에서 상기 현재 블록에 대한 인트라 예측 모드를 도출하는 단계;상기 현재 블록에 대한 상기 인트라 예측 모드를 지시하는 MPM 인덱스 정보를 생성하는 단계; 및상기 MPM 인덱스 정보 및 상기 참조 라인 인덱스 정보를 포함하는 영상 정보를 인코딩하는 단계를 포함하며,상기 MPM 리스트를 구성하는 단계는,상기 참조 라인 인덱스 정보의 값이 0이 아닌 경우를 기반으로, DC 모드를 상기 후보 인트라 예측 모드들 중 하나로 도출하여 상기 MPM 리스트에 포함시키는 것을 특징으로 하는 영상 인코딩 방법.
- 제10항에 있어서,상기 참조 라인 인덱스 정보의 값이 0이 아닌 경우를 기반으로, 플래너 모드는 상기 현재 블록의 상기 인트라 예측 모드로 사용되지 않는 것을 특징으로 하는 영상 인코딩 방법.
- 제11항에 있어서,상기 참조 라인 인덱스 정보의 값이 0이 아닌 경우, 상기 현재 블록의 상기 인트라 예측 모드로 상기 플래너 모드를 사용하는지 여부를 나타내는 플래너 플래그 정보는 시그널링되지 않으며,상기 플래너 플래그 정보는 상기 현재 블록의 상기 인트라 예측 모드로 상기 플래너 모드를 사용하지 않는 것으로 나타내는 1의 값으로 유도되는 것을 특징으로 하는 영상 인코딩 방법.
- 제11항에 있어서,임시 MPM 리스트를 구성하는 단계를 더 포함하되,상기 MPM 리스트를 구성하는 단계는,상기 플래너 모드가 상기 임시 MPM 리스트 내의 후보 인트라 예측 모드들 중에 포함된 경우, 상기 플래너 모드를 제거하여 상기 MPM 리스트를 재구성하는 것을 특징으로 하는 영상 인코딩 방법.
- 제10항에 있어서,상기 현재 블록에 대해 서브 파티션 인트라 예측이 사용되는지 여부를 나타내는 서브 파티션 모드 정보를 기반으로, 상기 DC 모드는 상기 현재 블록의 상기 인트라 예측 모드로 사용되지 않는 것을 특징으로 하는 영상 인코딩 방법.
- 제14항에 있어서,상기 참조 라인 인덱스 정보의 값이 0인 경우, 상기 서브 파티션 모드 정보를 생성하는 단계를 포함하며,상기 서브 파티션 모드 정보가 상기 현재 블록에 대해 서브 파티션 인트라 예측이 사용되는 것으로 나타내는 경우, 상기 DC 모드는 상기 현재 블록의 상기 인트라 예측 모드로 사용되지 않는 것을 특징으로 하는 영상 인코딩 방법.
- 제14항에 있어서,임시 MPM 리스트를 구성하는 단계를 더 포함하되,상기 MPM 리스트를 구성하는 단계는,상기 DC 모드가 상기 임시 MPM 리스트 내의 후보 인트라 예측 모드들 중에 포함된 경우, 상기 DC 모드를 제거하여 상기 MPM 리스트를 재구성하는 것을 특징으로 하는 영상 인코딩 방법.
- 컴퓨터 판독 가능한 디지털 저장 매체로서, 디코딩 장치에 의하여 영상 디코딩 방법을 수행하도록 야기하는 인코딩된 영상 정보가 저장된 디지털 저장 매체에 있어서,상기 영상 디코딩 방법은,비트스트림으로부터 MPM(Most Probable Mode) 인덱스 정보 및 참조 라인 인덱스 정보를 획득하는 단계;현재 블록의 인트라 예측을 위한 후보 인트라 예측 모드들을 포함하는 MPM 리스트를 구성하는 단계;상기 MPM 인덱스 정보를 기반으로 상기 MPM 리스트에 포함된 상기 후보 인트라 예측 모드들 중에서 상기 현재 블록에 대한 인트라 예측 모드를 도출하는 단계;상기 인트라 예측 모드를 기반으로 상기 현재 블록에 대한 예측 샘플들을 생성하는 단계; 및상기 예측 샘플들을 기반으로 상기 현재 블록에 대한 복원 샘플들을 생성하는 단계를 포함하며,상기 MPM 리스트를 구성하는 단계는,상기 현재 블록의 인트라 예측을 위해 사용되는 참조 라인을 나타내는 상기 참조 라인 인덱스 정보의 값이 0이 아닌 경우를 기반으로, DC 모드를 상기 후보 인트라 예측 모드들 중 하나로 도출하여 상기 MPM 리스트에 포함시키는 것을 특징으로 하는 디지털 저장 매체.
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202080019653.8A CN113574871A (zh) | 2019-02-20 | 2020-02-20 | 基于mpm列表的帧内预测方法和装置 |
JP2021549140A JP2022521913A (ja) | 2019-02-20 | 2020-02-20 | Mpmリストに基づくイントラ予測方法及び装置 |
US17/431,025 US20220132102A1 (en) | 2019-02-20 | 2020-02-20 | Mpm list-based intra prediction method and device |
EP20758727.0A EP3917141A4 (en) | 2019-02-20 | 2020-02-20 | METHOD AND DEVICE FOR INTRA PREDICTION BASED ON A MPM LIST |
KR1020217026100A KR20210118113A (ko) | 2019-02-20 | 2020-02-20 | Mpm 리스트 기반 인트라 예측 방법 및 장치 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US201962808287P | 2019-02-20 | 2019-02-20 | |
US62/808,287 | 2019-02-20 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020171632A1 true WO2020171632A1 (ko) | 2020-08-27 |
Family
ID=72144375
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/KR2020/002486 WO2020171632A1 (ko) | 2019-02-20 | 2020-02-20 | Mpm 리스트 기반 인트라 예측 방법 및 장치 |
Country Status (6)
Country | Link |
---|---|
US (1) | US20220132102A1 (ko) |
EP (1) | EP3917141A4 (ko) |
JP (1) | JP2022521913A (ko) |
KR (1) | KR20210118113A (ko) |
CN (1) | CN113574871A (ko) |
WO (1) | WO2020171632A1 (ko) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2022526304A (ja) * | 2019-03-21 | 2022-05-24 | ホアウェイ・テクノロジーズ・カンパニー・リミテッド | イントラ予測のための方法および装置 |
JP2022528049A (ja) * | 2019-03-23 | 2022-06-08 | 華為技術有限公司 | イントラ予測のためのエンコーダ、デコーダおよび対応する方法 |
WO2022211877A1 (en) | 2021-03-31 | 2022-10-06 | Tencent America LLC | Harmonized design between multiple reference line intra prediction and transform partitioning |
EP4193597A4 (en) * | 2021-09-15 | 2024-02-07 | Tencent America LLC | PROPAGATION OF INTRA IBC BLOCK PREDICTION MODE INFORMATION USING A BLOCK VECTOR |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3821626A4 (en) * | 2018-08-09 | 2021-08-04 | Huawei Technologies Co., Ltd. | HISTORY-BASED INTRA MODE CODING PROCESS AND APPARATUS |
KR20210126765A (ko) * | 2019-03-23 | 2021-10-20 | 엘지전자 주식회사 | 영상 코딩 시스템에서의 인트라 예측 기반 영상 코딩 |
CN116546193A (zh) * | 2021-11-11 | 2023-08-04 | 杭州海康威视数字技术股份有限公司 | 图像解码方法、编码方法及装置 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20180008797A (ko) * | 2015-06-15 | 2018-01-24 | 엘지전자 주식회사 | 인트라 예측 모드 기반 영상 처리 방법 및 이를 위한 장치 |
US20180332284A1 (en) * | 2017-05-09 | 2018-11-15 | Futurewei Technologies, Inc. | Intra-Prediction With Multiple Reference Lines |
KR20180123674A (ko) * | 2016-04-06 | 2018-11-19 | 주식회사 케이티 | 비디오 신호 처리 방법 및 장치 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20180040319A (ko) * | 2016-10-12 | 2018-04-20 | 가온미디어 주식회사 | 영상 처리 방법, 그를 이용한 영상 복호화 및 부호화 방법 |
KR20180039324A (ko) * | 2016-10-10 | 2018-04-18 | 디지털인사이트 주식회사 | 정방형 또는 직방형 블록의 화면 내 예측모드 정보 추출 방법 및 장치 |
EP3811623A4 (en) * | 2018-10-09 | 2021-04-28 | Huawei Technologies Co., Ltd. | IMAGE AND VIDEO CODING DEVICES AND METHODS |
US11178396B2 (en) * | 2018-11-14 | 2021-11-16 | Tencent America LLC | Constrained intra prediction and unified most probable mode list generation |
-
2020
- 2020-02-20 JP JP2021549140A patent/JP2022521913A/ja active Pending
- 2020-02-20 WO PCT/KR2020/002486 patent/WO2020171632A1/ko unknown
- 2020-02-20 KR KR1020217026100A patent/KR20210118113A/ko unknown
- 2020-02-20 US US17/431,025 patent/US20220132102A1/en active Pending
- 2020-02-20 CN CN202080019653.8A patent/CN113574871A/zh active Pending
- 2020-02-20 EP EP20758727.0A patent/EP3917141A4/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20180008797A (ko) * | 2015-06-15 | 2018-01-24 | 엘지전자 주식회사 | 인트라 예측 모드 기반 영상 처리 방법 및 이를 위한 장치 |
KR20180123674A (ko) * | 2016-04-06 | 2018-11-19 | 주식회사 케이티 | 비디오 신호 처리 방법 및 장치 |
US20180332284A1 (en) * | 2017-05-09 | 2018-11-15 | Futurewei Technologies, Inc. | Intra-Prediction With Multiple Reference Lines |
Non-Patent Citations (3)
Title |
---|
B. BROSS (FRAUNHOFER), H. SCHWARZ (FRAUNHOFER), D. MARPE (FRAUNHOFER), T. WIEGAND (HHI): "CE3: Multiple reference line intra prediction (Test 5.4.1, 5.4.2, 5.4.3 and 5.4.4", 11. JVET MEETING; 20180711 - 20180718; LJUBLJANA; (THE JOINT VIDEO EXPLORATION TEAM OF ISO/IEC JTC1/SC29/WG11 AND ITU-T SG.16 ), 2 July 2018 (2018-07-02), Ljubljana, SI, pages 1 - 8, XP030198648 * |
B. BROSS (FRAUNHOFER), P. KEYDEL (FRAUNHOFER), H. SCHWARZ (FRAUNHOFER), D. MARPE (FRAUNHOFER), T. WIEGAND (HHI), L. ZHAO (TENCENT): "CE3: Multiple reference line intra prediction (Test 1.1.1, 1.1.2, 1.1.3 and 1.1.4)", 12. JVET MEETING; 20181003 - 20181012; MACAO; (THE JOINT VIDEO EXPLORATION TEAM OF ISO/IEC JTC1/SC29/WG11 AND ITU-T SG.16 ), 25 September 2018 (2018-09-25), Macao, CN, pages 1 - 6, XP030193818 * |
See also references of EP3917141A4 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2022526304A (ja) * | 2019-03-21 | 2022-05-24 | ホアウェイ・テクノロジーズ・カンパニー・リミテッド | イントラ予測のための方法および装置 |
JP7314300B2 (ja) | 2019-03-21 | 2023-07-25 | ホアウェイ・テクノロジーズ・カンパニー・リミテッド | イントラ予測のための方法および装置 |
JP2022528049A (ja) * | 2019-03-23 | 2022-06-08 | 華為技術有限公司 | イントラ予測のためのエンコーダ、デコーダおよび対応する方法 |
JP7303322B2 (ja) | 2019-03-23 | 2023-07-04 | 華為技術有限公司 | イントラ予測のためのエンコーダ、デコーダおよび対応する方法 |
WO2022211877A1 (en) | 2021-03-31 | 2022-10-06 | Tencent America LLC | Harmonized design between multiple reference line intra prediction and transform partitioning |
EP4118824A4 (en) * | 2021-03-31 | 2023-06-28 | Tencent America LLC | Harmonized design between multiple reference line intra prediction and transform partitioning |
EP4193597A4 (en) * | 2021-09-15 | 2024-02-07 | Tencent America LLC | PROPAGATION OF INTRA IBC BLOCK PREDICTION MODE INFORMATION USING A BLOCK VECTOR |
Also Published As
Publication number | Publication date |
---|---|
KR20210118113A (ko) | 2021-09-29 |
CN113574871A (zh) | 2021-10-29 |
JP2022521913A (ja) | 2022-04-13 |
EP3917141A4 (en) | 2022-03-30 |
EP3917141A1 (en) | 2021-12-01 |
US20220132102A1 (en) | 2022-04-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020071830A1 (ko) | 히스토리 기반 움직임 정보를 이용한 영상 코딩 방법 및 그 장치 | |
WO2020171632A1 (ko) | Mpm 리스트 기반 인트라 예측 방법 및 장치 | |
WO2019190181A1 (ko) | 인트라 예측 기반 영상/비디오 코딩 방법 및 그 장치 | |
WO2020256389A1 (ko) | Bdpcm 기반 영상 디코딩 방법 및 그 장치 | |
WO2020197236A1 (ko) | 서브 픽처 핸들링 구조 기반 영상 또는 비디오 코딩 | |
WO2020145775A1 (ko) | Mrl 기반 인트라 예측을 수행하는 영상 코딩 방법 및 장치 | |
WO2020091213A1 (ko) | 영상 코딩 시스템에서 인트라 예측 방법 및 장치 | |
WO2020256344A1 (ko) | 영상 코딩에서 변환 커널 세트를 나타내는 정보의 시그널링 | |
WO2020145604A1 (ko) | Mpm 리스트를 사용하는 인트라 예측 기반 영상 코딩 방법 및 장치 | |
WO2020251319A1 (ko) | Sbtmvp를 이용한 인터 예측 기반 영상 또는 비디오 코딩 | |
WO2021137597A1 (ko) | Ols에 대한 dpb 파라미터를 사용하는 영상 디코딩 방법 및 그 장치 | |
WO2020149630A1 (ko) | 영상 코딩 시스템에서 cclm 예측 기반 영상 디코딩 방법 및 그 장치 | |
WO2021040400A1 (ko) | 팔레트 모드 기반 영상 또는 비디오 코딩 | |
WO2020235960A1 (ko) | Bdpcm 에 대한 영상 디코딩 방법 및 그 장치 | |
WO2020256346A1 (ko) | 변환 커널 세트에 관한 정보에 대한 코딩 | |
WO2020145620A1 (ko) | Mpm 리스트를 사용하는 인트라 예측 기반 영상 코딩 방법 및 장치 | |
WO2020256506A1 (ko) | 다중 참조 라인 인트라 예측을 이용한 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법 | |
WO2020180100A1 (ko) | 인트라 블록 코딩 기반 비디오 또는 영상 코딩 | |
WO2020184821A1 (ko) | Mpm 리스트를 구성하는 방법 및 장치 | |
WO2021091256A1 (ko) | 영상/비디오 코딩 방법 및 장치 | |
WO2021133060A1 (ko) | 서브픽처 기반 영상 코딩 장치 및 방법 | |
WO2021040398A1 (ko) | 팔레트 이스케이프 코딩 기반 영상 또는 비디오 코딩 | |
WO2020251270A1 (ko) | 서브블록 단위의 시간적 움직임 정보 기반 영상 또는 비디오 코딩 | |
WO2020197031A1 (ko) | 영상 코딩 시스템에서 다중 참조 라인 기반의 인트라 예측 방법 및 장치 | |
WO2021091252A1 (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: 20758727 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 20217026100 Country of ref document: KR Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 2021549140 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 2020758727 Country of ref document: EP Effective date: 20210823 |