WO2020209478A1 - Method and device for partitioning picture into plurality of tiles - Google Patents

Method and device for partitioning picture into plurality of tiles Download PDF

Info

Publication number
WO2020209478A1
WO2020209478A1 PCT/KR2019/017999 KR2019017999W WO2020209478A1 WO 2020209478 A1 WO2020209478 A1 WO 2020209478A1 KR 2019017999 W KR2019017999 W KR 2019017999W WO 2020209478 A1 WO2020209478 A1 WO 2020209478A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
tile
height
width
unit
Prior art date
Application number
PCT/KR2019/017999
Other languages
French (fr)
Korean (ko)
Inventor
파루리시탈
김승환
Original Assignee
엘지전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Publication of WO2020209478A1 publication Critical patent/WO2020209478A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/119Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/132Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods 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/176Methods 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards

Definitions

  • the present disclosure relates to image coding technology, and more particularly, to a method and apparatus for dividing a picture into a plurality of tiles in an image coding system.
  • VR Virtual Reality
  • AR Artificial Realtiy
  • high-efficiency video/video compression technology is required in order to effectively compress, transmit, store, and reproduce information of high-resolution, high-quality video/video having various characteristics as described above.
  • Another technical problem of the present disclosure is to provide a method and apparatus for signaling partitioning information.
  • Another technical problem of the present disclosure is to provide a picture partitioning method and apparatus based on signaled information.
  • Another technical problem of the present disclosure is to provide a method and an apparatus for dividing a current picture based on dividing information for the current picture.
  • Another technical problem of the present disclosure is the width of each of length parsing skip tiles in which information about a width and a height is not parsed among a plurality of tiles constituting a current picture ( Or height), based on the last width (or height) of the signaled widths (or heights).
  • a method of decoding an image performed by a decoding apparatus includes receiving a bitstream including partition information for a current picture and prediction information for a current block included in the current picture, a plurality of tiles The number of width parsing columns in which information about a width is parsed among a plurality of columns for deriving the first partitioning structure based on the first partitioning structure of the current picture based on) Information, information on the last width indicating the last parsed width among the widths of the width parsing columns, and the height among a plurality of rows for deriving the first split structure
  • the above including information on the number of height parsing rows for which information is parsed, and information on a last height indicating a height parsed last among heights of the height parsing rows.
  • Deriving based on the split information for a current picture deriving prediction samples for the current block based on the prediction information for the current block included in one of the plurality of tiles, and Including the step of restoring the current picture based on the prediction samples, wherein the width of each of width parsing skip columns in which information about the width is not parsed among the plurality of columns is the last width
  • the height of each of height parsing skip rows in which information about the height is not parsed among the plurality of rows is determined to be the last height.
  • a decoding apparatus for performing image decoding.
  • the decoding apparatus receives a bitstream including split information on a current picture and prediction information on a current block included in the current picture, and generates a first split structure of the current picture based on a plurality of tiles, the Information on the number of width parsing columns from which information about the width is parsed among a plurality of columns for deriving the first partition structure, and the last parsed among the widths of the width parsing columns Information on the last width indicating the width, information on the number of height parsing rows from which height information among a plurality of rows for deriving the first partition structure is parsed And an entropy decoding unit for deriving based on the division information for the current picture including information on a last height indicating a height parsed last among heights of the height parsing rows, the plurality of A prediction unit for deriving prediction samples for the current block based on the prediction information for the current block included in one of tiles of, and an
  • a video encoding method performed by an encoding device includes the steps of dividing a current picture into a plurality of tiles, width parsing columns in which information about a width among a plurality of columns for deriving the plurality of tiles is parsed based on the plurality of tiles (information on the number of width parsing columns), information on the last width indicating the width parsed last among the widths of the width parsing columns, among a plurality of rows for deriving the plurality of tiles Information on the number of height parsing rows for which information about height is parsed, and a last height indicating the height parsed last among the heights of the height parsing rows.
  • an encoding apparatus for performing image encoding.
  • the encoding apparatus may divide a current picture into a plurality of tiles, and based on the plurality of tiles, width parsing columns in which information about a width among a plurality of columns for deriving the plurality of tiles is parsed (information on the number of width parsing columns), information on the last width indicating the width parsed last among the widths of the width parsing columns, among a plurality of rows for deriving the plurality of tiles Information on the number of height parsing rows for which information about height is parsed, and a last height indicating the height parsed last among the heights of the height parsing rows.
  • An image segmentation unit that generates split information for the current picture including information, derives prediction samples for a current block included in one tile among the plurality of tiles, and calculates prediction samples for the current block based on the prediction samples.
  • a prediction unit that generates prediction information for the current picture, and an entropy encoding unit that encodes image information including split information on the current picture and prediction information on the current block, wherein information on the width among the plurality of columns is parsed.
  • the width of each of the width parsing skip columns is the same as the last width, and the height parsing skip rows from which information about the height is not parsed among the plurality of rows. All the heights are the same as the last height.
  • a storage medium readable by a decoder that stores information on instructions that cause a video decoding apparatus to perform decoding methods according to some embodiments.
  • a storage medium readable by a decoder that stores information on instructions that cause a video decoding apparatus to perform the decoding method according to the embodiment.
  • the decoding method according to the embodiment includes: receiving a bitstream including partition information on a current picture and prediction information on a current block included in the current picture, a plurality of tiles Width parsing columns in which information about a width among a plurality of columns for deriving the first partitioning structure is parsed from a first partitioning structure of the current picture based on a plurality of tiles ( information on the number of width parsing columns), information on a last width representing the last parsed width among the widths of the width parsing columns, a plurality of rows for deriving the first split structure In the information on the number of height parsing rows in which information about the height is parsed, and the last height indicating the height parsed last among the heights of the height parsing rows Deriving based on the split information for the current picture including information about the
  • a width (or height) of each of length parsing skip tiles in which information about a width and a height is not parsed among a plurality of tiles constituting a current picture is signaled.
  • FIG. 1 schematically shows an example of a video/video coding system to which the present disclosure can be applied.
  • FIG. 2 is a diagram schematically illustrating a configuration of a video/video encoding apparatus to which the present disclosure can be applied.
  • FIG. 3 is a diagram schematically illustrating a configuration of a video/video decoding apparatus to which the present disclosure can be applied.
  • FIG. 4 is a flowchart illustrating a picture encoding procedure based on a tile and/or a tile group according to an embodiment.
  • FIG. 5 is a flowchart illustrating a picture decoding procedure based on a tile and/or a tile group according to an embodiment.
  • FIG. 6 is a diagram illustrating an example of dividing a picture into tiles.
  • FIG. 7 is a block diagram illustrating a configuration of an encoding device according to an embodiment.
  • FIG. 8 is a flowchart illustrating a configuration of a decoding apparatus according to an embodiment.
  • FIG. 9 is a diagram illustrating an example of a tile and a tile group unit constituting a current picture.
  • FIG. 10 is a diagram schematically illustrating an example of a signaling structure of tile group information.
  • FIG. 11 is a flowchart illustrating an operation of an encoding device according to an embodiment.
  • FIG. 12 is a block diagram illustrating a configuration of an encoding device according to another embodiment.
  • FIG. 13 is a flowchart illustrating an operation of a decoding apparatus according to an embodiment.
  • FIG. 14 is a block diagram illustrating a configuration of a decoding apparatus according to another embodiment.
  • a method of decoding an image performed by a decoding apparatus includes receiving a bitstream including partition information for a current picture and prediction information for a current block included in the current picture, a plurality of tiles The number of width parsing columns in which information about a width is parsed among a plurality of columns for deriving the first partitioning structure based on the first partitioning structure of the current picture based on) Information, information on the last width indicating the last parsed width among the widths of the width parsing columns, and the height among a plurality of rows for deriving the first split structure
  • the above including information on the number of height parsing rows for which information is parsed, and information on a last height indicating a height parsed last among heights of the height parsing rows.
  • Deriving based on the split information for a current picture deriving prediction samples for the current block based on the prediction information for the current block included in one of the plurality of tiles, and Including the step of restoring the current picture based on the prediction samples, wherein the width of each of width parsing skip columns in which information about the width is not parsed among the plurality of columns is the last width
  • the height of each of height parsing skip rows in which information about the height is not parsed among the plurality of rows is determined to be the last height.
  • each of the components in the drawings described in the present disclosure 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 present disclosure unless departing from the essence of the disclosure.
  • 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.
  • 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/video coding system to which the present disclosure can be applied.
  • 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 a video/image.
  • the video source may include a video/image capturing device and/or a video/image generating device.
  • the video/image capture device may include, for example, one or more cameras, a video/image archive including previously captured video/images, and the like.
  • the video/image generating device may include, for example, a computer, a tablet and a smartphone, and may (electronically) generate a video/image.
  • a virtual video/image may be generated through a computer or the like, and in this case, a video/image capturing process may be substituted as a process of generating related data.
  • the encoding device may encode the input video/video.
  • the encoding apparatus may perform a series of procedures such as prediction, transformation, and quantization for compression and coding efficiency.
  • the encoded data (encoded video/video information) may be output in the form of a bitstream.
  • the transmission unit may transmit the encoded video/video information or data output in the form of a bitstream to the reception unit of the 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.
  • 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 the present disclosure 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 correlation between motion information between neighboring blocks and the 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 through 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 uses at least one of DCT (Discrete Cosine Transform), DST (Discrete Sine Transform), KLT (Karhunen-Loeve Transform), GBT (Graph-Based Transform), or CNT (Conditionally Non-linear Transform).
  • DCT Discrete Cosine Transform
  • DST Discrete Sine Transform
  • KLT Kerhunen-Loeve Transform
  • GBT Graph-Based Transform
  • CNT Conditionally Non-linear Transform
  • CNT refers to a transformation obtained based on generating a prediction signal using all previously reconstructed pixels.
  • the conversion process may be applied to a pixel block having the same size of a square, or may be applied to a block 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 to which the present disclosure can be applied.
  • 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 device of FIG. 3. 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. 3 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 decoding information on a block to be decoded and a neighbor or 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 correlation between motion information between neighboring blocks and the 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 260 to be used as motion information of a spatial neighboring block or motion information of a temporal neighboring block.
  • 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 100 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 decodes information (residual information) about the residual between the original block and the predicted block, not the original sample value of the original block itself.
  • Video coding efficiency can be improved by signaling to the device.
  • the decoding apparatus may derive a residual block including residual samples based on the residual information, and generate a reconstructed block including reconstructed samples by summing the residual block and the predicted block. A reconstructed picture to be included can be generated.
  • the residual information may be generated through transformation and quantization procedures.
  • the encoding apparatus derives a residual block between the original block and the predicted block, and derives transform coefficients by performing a transformation procedure on residual samples (residual sample array) included in the residual block. And, by performing a quantization procedure on the transform coefficients, quantized transform coefficients may be derived, and related residual information may be signaled to a decoding apparatus (via a bitstream).
  • the residual information may include information such as value information of the 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.
  • FIG. 4 is a flowchart illustrating a picture encoding procedure based on a tile and/or a tile group according to an embodiment.
  • tile may mean a set of CTUs in a specific tile column and a rectangular region in a specific tile row in a picture.
  • the tile may represent a set of bricks or a set of slices.
  • slice may mean a set of an integer number of bricks in a picture included in a single NAL unit.
  • a slice may represent a set of tiles.
  • rick may represent CTU rows of a rectangular area included in a tile or slice in a picture.
  • the meanings of the tile, slice, and brick may be used interchangeably.
  • the tiles, slices, and bricks are only for distinguishing units that divide the current picture, such as a first division unit, a second division unit, and a third division unit. It will be readily understood that there is no need to be interpreted strictly as limiting by definition.
  • picture partitioning (S400) and generation of information on a tile/tile group (S410) may be performed by the image segmentation unit 210 of the encoding device, and a video including information on a tile/tile group /Encoding of image information (S420) may be performed by the entropy encoding unit 240 of the encoding device.
  • the encoding apparatus may perform picture partitioning to encode an input picture (S400).
  • the picture may include one or more tiles/tile groups.
  • the encoding device may partition a picture into various types in consideration of the image characteristics and coding efficiency of the picture, and may generate information indicating a partitioning type having an optimal coding efficiency and signal the information to the decoding device.
  • the encoding apparatus may determine a tile/tile group applied to the picture and generate information on the tile/tile group (S410).
  • the information on the tile/tile group may include information indicating the structure of the tile/tile group for the picture.
  • the information on the tile/tile group may be signaled through various parameter sets and/or tile group headers, as described later. A specific example will be described later.
  • the encoding apparatus may encode video/video information including information on the tile/tile group and output it in the form of a bitstream (S420).
  • the bitstream may be delivered to a decoding device through a digital storage medium or a network.
  • the video/video information may include HLS and/or tile group header syntax described in this document.
  • the video/video information may further include the above-described prediction information, residual information, (in-loop) filtering information, and the like.
  • the encoding apparatus may reconstruct the current picture, apply in-loop filtering, encode the parameter related to the in-loop filtering, and output a bitstream format.
  • the information on the tile/tile group may further include information on a brick, as described later.
  • FIG. 5 is a flowchart illustrating a picture decoding procedure based on a tile and/or a tile group according to an embodiment.
  • obtaining information on a tile/tile group from a bitstream (S500), deriving a tile/tile group within a picture (S510), and performing picture decoding based on a tile/tile group ( S520) may be performed by the entropy decoding unit 310 of the decoding device, and the step of encoding video/video information including information on a tile/tile group (S530) may be performed by a sample decoder of the decoding device.
  • the decoding apparatus may obtain information on a tile/tile group from the received bitstream (S500).
  • Information on the tile/tile group may be obtained through various parameter sets and/or tile group headers, as described later. A specific example will be described later.
  • the information on the tile/tile group may further include information on a brick, as described later.
  • the decoding apparatus may derive a tile/tile group in a current picture based on the information on the tile/tile group (S510). In addition, the decoding apparatus may derive the brick.
  • the decoding apparatus may decode the current picture based on the tile/tile group (S520). For example, the decoding apparatus may derive a brick/CTU/CU located in the tile, and based on this, perform inter/intra prediction, residual processing, reconstruction block (picture) generation, and/or in-loop filtering procedure. have. In addition, in this case, for example, the decoding device may initialize the context model/information on a tile/tile group basis. In addition, the decoding apparatus may process the neighboring block or the neighboring sample as not available when the neighboring block or neighboring sample referenced during inter/intra prediction is located in a tile different from the current tile in which the current block is located.
  • FIG. 6 is a diagram illustrating an example of dividing a picture into tiles.
  • number_tile_rows_minus1 may be replaced with various terms such as num_exp_tile_rows_minus1
  • number_tile_columns_minus1 may be replaced with various terms such as num_exp_tile_columns_minus1
  • the "last withth” may be replaced with last_width, LastWidth, etc.
  • "" can be replaced with various terms such as last_height, LastHeight, etc., in interpreting a specific term or sentence used to define specific information or concept in this specification throughout the specification, the interpretation should not be limited to the name, and the above The term needs to be interpreted by paying attention to various actions, functions, and effects according to the content to be expressed.
  • tiles may mean areas within a picture defined by a set of vertical and/or horizontal boundaries that divide the picture into a plurality of rectangles.
  • FIG. 6 illustrates an example in which one picture 600 is divided into a plurality of tiles based on a plurality of column boundaries 610 and row boundaries 620.
  • the first 32 maximum coding units or Coding Tree Units (CTUs)
  • CTUs Coding Tree Units
  • each tile may include an integer number of CTUs processed in a raster scan order within each tile.
  • a plurality of tiles in a picture, including each tile may also be processed in a raster scan order in the picture.
  • the tiles may be grouped to form tile groups, and tiles within a single tile group may be raster scanned. Dividing a picture into tiles may be defined based on a syntax and semantics of a picture parameter set (PPS).
  • PPS picture parameter set
  • the information derived from the PPS about the tiles may be used to check (or read) the following. First, it may be checked whether one tile exists or one or more tiles exist in a picture, and if one or more tiles are present, it may be checked whether the one or more tiles are uniformly distributed, and the tiles The dimension can be checked, and it can be checked whether the loop filter is enabled.
  • the PPS may first signal the syntax element single_tile_in_pic_flag.
  • the single_tile_in_pic_flag may indicate whether only one tile in a picture exists or whether there are a plurality of tiles in a picture.
  • the decoding apparatus may parse information on the number of tile rows and tile columns using syntax elements num_tile_columns_minus1 and num_tile_rows_minus1.
  • the syntax elements num_tile_columns_minus1 and num_tile_rows_minus1 may specify a process of dividing a picture into tile rows and columns.
  • the heights of tile rows and widths of tile columns can be represented in terms of CTBs (ie, in CTB units).
  • an additional flag may be parsed to check whether tiles within a picture are uniformly spaced.
  • the number of CTBs per tile may be explicitly signaled for the boundaries of each tile row and column (that is, the number of CTBs in each tile row and in each tile column). The number of CTBs can be signaled). If the tiles are uniformly spaced, the tiles may have the same width and height.
  • another flag (eg, the syntax element loop_filter_across_tiles_enabled_flag) may be parsed to determine whether a loop filter is enabled for the tile boundaries.
  • Table 1 below summarizes and shows examples of main information about tiles that can be derived by parsing the PPS. Table 1 may indicate the PPS RBSP syntax.
  • Examples of semantics for syntax elements described in Table 1 may be, for example, as Table 2 below.
  • single_tile_in_pic_flag 1 specifies that there is only one tile in each picture referring to the PPS.
  • single_tile_in_pic_flag 0 specifies that there is more than one tile in each picture referring to the PPS. It is a requirement of bitstream conformance that the value of single_tile_in_pic_flag shall be the same for all PPSs that are activated within a CVS.
  • num_tile_columns_minus1 plus 1 specifies the number of tile columns partitioning the picture. num_tile_columns_minus1 shall be in the range of 0 to PicWidthInCtbsY-1, inclusive.
  • num_tile_columns_minus1 When not present, the value of num_tile_columns_minus1 is inferred to be equal to 0. num_tile_rows_minus1 plus 1 specifies the number of tile rows partitioning the picture. num_tile_rows_minus1 shall be in the range of 0 to PicHeightInCtbsY-1, inclusive. When not present, the value of num_tile_rows_minus1 is inferred to be equal to 0.
  • the variable NumTilesInPic is set equal to ( num_tile_columns_minus1 + 1 ) * ( num_tile_rows_minus1 + 1 ).When single_tile_in_pic_flag is equal to 0, NumTilesInPic shall be greater than 1.
  • uniform_tile_spacing_flag 1 specifies that tile column boundaries and likewise tile row boundaries are distributed uniformly across the picture.
  • uniform_tile_spacing_flag 0 specifies that tile column boundaries and likewise tile row boundaries are not distributed uniformly across the picture but signalled explicitly using the syntax elements tile_column_width_minus1[ i ] and tile_row_height_minus1[ i ].
  • tile_column_width_minus1[ i ] plus 1 specifies the width of the i-th tile column in units of CTBs.
  • loop_filter_across_tiles_enabled_flag 1 specifies that in-loop filtering operations may be performed across tile boundaries in pictures referring to the PPS.
  • loop_filter_across_tiles_enabled_flag 0 specifies that in-loop filtering operations are not performed across tile boundaries in pictures referring to the PPS.
  • the in-loop filtering operations include the deblocking filter, sample adaptive offset filter, and adaptive loop filter operations. When not present, the value of loop_filter_across_tiles_enabled_flag is inferred to be equal to 1.
  • FIG. 7 is a block diagram illustrating a configuration of an encoding device according to an embodiment
  • FIG. 8 is a flowchart illustrating a configuration of a decoding device according to an embodiment.
  • the encoding apparatus 700 illustrated in FIG. 7 includes a partitioning module 710 and an encoding module 720.
  • the partitioning module 710 may perform the same and/or similar operations as the image segmentation unit 210 of the encoding apparatus shown in FIG. 2, and the encoding module 720 may perform the entropy of the encoding apparatus shown in FIG. 2.
  • the same and/or similar operations as the encoding unit 240 may be performed.
  • the input video may be segmented in the partitioning module 710 and then encoded in the encoding module 720. After being encoded, the encoded video may be output from the encoding device 700.
  • the decoding apparatus 800 illustrated in FIG. 8 includes a decoding module 810 and a deblocking filter 820.
  • the decoding module 810 may perform the same and/or similar operations as the entropy decoding unit 310 of the decoding apparatus shown in FIG. 3, and the deblocking filter 820 The same and/or similar operations as the filtering unit 350 may be performed.
  • the decoding module 810 may derive information on tiles by decoding the input received from the encoding device 700.
  • a processing unit may be determined based on the decoded information, and the deblocking filter 820 may process the processing unit by applying an in-loop deblocking filter.
  • In-loop filtering can be applied to remove coding artifacts generated during the partitioning process.
  • the in-loop filtering operation may include an adaptive loop filter (ALF), a deblocking filter (DF), a sample adaptive offset (SAO), and the like. Thereafter, the decoded picture may be output.
  • ALF adaptive loop filter
  • DF deblocking filter
  • SAO sample adaptive offset
  • ae(v) context-adaptive arithmetic entropy-coded syntax element.
  • b(8) byte having any pattern of bit string (8 bits).
  • the parsing process for this descriptor is specified by the return value of the function read_bits( 8 ).
  • f(n) fixed-pattern bit string using n bits written (from left to right) with the left bit first.
  • the parsing process for this descriptor is specified by the return value of the function read_bits( n ).
  • i(n) signed integer using n bits.
  • the parsing process for this descriptor is specified by the return value of the function read_bits( n ) interpreted as a two's complement integer representation with most significant bit written first.
  • se(v) signed integer 0-th order Exp-Golomb-coded syntax element with the left bit first.
  • the parsing process for this descriptor is specified with the order k equal to 0.
  • st(v) null-terminated string encoded as universal coded character set (UCS) transmission format-8 (UTF-8) characters as specified in ISO/IEC 10646.
  • UCS universal coded character set
  • UTF-8 transmission format-8
  • the parsing process is specified as follows: st(v) begins at a byte-aligned position in the bitstream and reads and returns a series of bytes from the bitstream, beginning at the current position and continuing up to but not including the next byte-aligned byte that is equal to 0x00, and advances the bitstream pointer by ( StringLength + 1 ) * 8 bit positions, where stringLength is equal to the number of bytes returned.NOTE -
  • the st(v) syntax descriptor is only used in this Specification when the current position in the bitstream is a byte-aligned position.
  • tb(v) truncated binary using up to maxVal bits with maxVal defined in the semantics of the symtax element.
  • tu(v) truncated unary using up to maxVal bits with maxVal defined in the semantics of the symtax element.
  • u(n) unsigned integer using n bits.
  • ue(v) unsigned integer 0-th order Exp-Golomb-coded syntax element with the left bit first.
  • the parsing process for this descriptor is specified with the order k equal to 0.
  • uek(v) unsigned integer k-th order Exp-Golomb-coded syntax element with the left bit first.
  • the parsing process for this descriptor is specified with the order k defined in the semantics of the symtax element.
  • FIG. 9 is a diagram illustrating an example of a tile and a tile group unit constituting a current picture.
  • tiles can be grouped to form tile groups.
  • 9 illustrates an example in which one picture is divided into tiles and tile groups.
  • the picture includes 9 tiles and 3 tile groups.
  • Each tile group can be independently coded.
  • FIG. 10 is a diagram schematically illustrating an example of a signaling structure of tile group information.
  • Each tile group in the Coded Video Sequence may include a tile group header.
  • Tile groups may have a similar meaning to a slice group. Each tile group can be independently coded.
  • a tile group may include one or more tiles.
  • the tile group header may refer to the PPS, and the PPS may sequentially refer to a Sequence Parameter Set (SPS).
  • SPS Sequence Parameter Set
  • a tile group header may have a PPS index of a PPS referenced by the tile group header.
  • the PPS may sequentially refer to the SPS.
  • the tile group header may be determined for the following information. First, if there are more than one tile per picture, the tile group address and the number of tiles in the tile group may be determined. Next, a tile group type may be determined such as intra/predictive/bi-directional. Next, a picture order count (POC) of Lease Significant Bits (LSB) may be determined. Next, when more than one tile exists in one picture, an offset length and an entry point to the tile may be determined.
  • POC picture order count
  • LSB Lease Significant Bits
  • Table 4 below shows an example of the syntax of the tile group header.
  • tile_group_header( ) Descriptor tile_group_pic_parameter_set_id ue(v) if( NumTilesInPic> 1) ⁇ tile_group_address u(v) num_tiles_in_tile_group_minus1 ue(v) ⁇ tile_group_type ue(v) tile_group_pic_order_cnt_lsb u(v) if( partition_constraints_override_enabled_flag) ⁇ partition_constraints_override_flag ue(v) ...
  • tile_group_pic_parameter_set_id and tile_group_pic_order_cnt_lsb shall be the same in all tile group headers of a coded picture.
  • tile_group_pic_parameter_set_id specifies the value of pps_pic_parameter_set_id for the PPS in use.
  • the value of tile_group_pic_parameter_set_id shall be in the range of 0 to 63, inclusive.
  • TemporalId of the current picture shall be greater than or equal to the value of TemporalId of the PPS that has pps_pic_parameter_set_id equal to tile_group_pic_parameter_set_id.
  • tile_group_address specifies the tile address of the first tile in the tile group, where tile address is the tile ID.
  • the length of tile_group_address is Ceil( Log2 (NumTilesInPic)) bits.
  • the value of tile_group_address shall be in the range of 0 to NumTilesInPic-1, inclusive, and the value of tile_group_address shall not be equal to the value of tile_group_address of any other coded tile group NAL unit of the same coded picture. When tile_group_address is not present it is inferred to be equal to 0.
  • num_tiles_in_tile_group_minus1 plus 1 specifies the number of tiles in the tile group.
  • the value of num_tiles_in_tile_group_minus1 shall be in the range of 0 to NumTilesInPic-1, inclusive. When not present, the value of num_tiles_in_tile_group_minus1 is inferred to be equal to 0.
  • tile_group_type specifies the coding type of the tile group according to Table 5.
  • P tile group 2 I (I tile group)
  • tile_group_type shall be equal to 2.
  • tile_group_pic_order_cnt_lsb specifies the picture order count modulo MaxPicOrderCntLsb for the current picture.
  • the length of the tile_group_pic_order_cnt_lsb syntax element is log2_max_pic_order_cnt_lsb_minus4 + 4 bits.
  • the value of the tile_group_pic_order_cnt_lsb shall be in the range of 0 to MaxPicOrderCntLsb-1, inclusive.
  • offset_len_minus1 plus 1 specifies the length, in bits, of the entry_point_offset_minus1[ i] syntax elements.
  • the value of offset_len_minus1 shall be in the range of 0 to 31, inclusive.
  • entry_point_offset_minus1[ i] plus 1 specifies the i-th entry point offset in bytes, and is represented by offset_len_minus1 plus 1 bits.
  • the tile group data that follow the tile group header consists of num_tiles_in_tile_group_minus1 +1 subsets, with subset index values ranging from 0 to num_tiles_in_tile_group_minus1, inclusive.
  • the first byte of the tile group data is considered byte 0.When present, emulation prevention bytes that appear in the tile group data portion of the coded tile group NAL unit are counted as part of the tile group data for purposes of subset identification.
  • Subset 0 consists of bytes 0 to entry_point_offset_minus1[ 0 ], inclusive, of the coded tile group data, subset k, with k in the range of 1 to num_tiles_in_tile_group_minus1-1, inclusive, consists of bytes firstByte[ k] to lastByte[ k] , inclusive, of the coded tile group data with firstByte[ k] and lastByte[ k] defined as:
  • the last subset (with subset index equal to num_tiles_in_tile_group_minus1) consists of the remaining bytes of the coded tile group data.
  • Each subset shall consist of all coded bits of all CTUs in the tile group that are within the same tile.
  • the tile group may include a tile group header and tile group data.
  • tile group address is known, individual positions of each CTU in the tile group may be mapped and decoded.
  • Table 6 below shows an example of the syntax of tile group data.
  • tile_group_data( ) tile_group_data( ) ⁇
  • CtbAddrInRs CtbAddrTsToRs[ ctbAddrInTs ] coding_tree_unit( ) ⁇ end_of_tile_one_bit /* equal to 1 */ ae(v) if( i ⁇ num_tiles_in_tile_group_minus1) byte_alignment( ) ⁇ ⁇
  • the following shows an example of English semantics for the syntax of the tile group data.
  • ColWidth[ i] for i ranging from 0 to num_tile_columns_minus1, inclusive, specifying the width of the i-th tile column in units of CTBs, is derived as follows:
  • ColWidth[ i] ((i + 1) * PicWidthInCtbsY) / (num_tile_columns_minus1 + 1)-
  • ColWidth[ num_tile_columns_minus1] PicWidthInCtbsY
  • ColWidth[ i] tile_column_width_minus1[ i] + 1
  • ColWidth[ num_tile_columns_minus1] - ColWidth[ i]
  • RowHeight[ j] for j ranging from 0 to num_tile_rows_minus1, inclusive, specifying the height of the j-th tile row in units of CTBs, is derived as follows:
  • RowHeight[ j] ((j + 1) * PicHeightInCtbsY) / (num_tile_rows_minus1 + 1)-
  • RowHeight[ j] tile_row_height_minus1[ j] + 1
  • RowHeight[ num_tile_rows_minus1] - RowHeight[ j]
  • ColBd[ i + 1] ColBd[ i] + ColWidth[ i]
  • RowBd[ j] for j ranging from 0 to num_tile_rows_minus1 + 1, inclusive, specifying the location of the j-th tile row boundary in units of CTBs, is derived as follows:
  • RowBd[ j + 1] RowBd[ j] + RowHeight[ j]
  • tbX ctbAddrRs% PicWidthInCtbsY
  • tbY ctbAddrRs / PicWidthInCtbsY
  • tileX i
  • TileId[ ctbAddrTs] for ctbAddrTs ranging from 0 to PicSizeInCtbsY-1, inclusive, specifying the conversion from a CTB address in tile scan to a tile ID is derived as follows:
  • TileId[ CtbAddrRsToTs[ y * PicWidthInCtbsY+ x]] tileIdx
  • tileStartFlag 0
  • TileId[ ctbAddrTs + 1] ! TileId[ ctbAddrTs]
  • RowHeightInLumaSamples[ j ] specifying the height of the j-th tile row in units of luma samples, are set equal to RowHeight[ j] ⁇ CtbLog2SizeY for j ranging from 0 to num_tile_rows_minus1, inclusive.
  • Implementations running on multi-core CPUs may require that the source picture be divided into tiles and tile groups. Each tile group can be processed in parallel on a separate core.
  • the parallel processing can be beneficial for high resolution real-time encoding of videos. Additionally, the parallel processing may reduce information sharing between tile groups, thereby reducing memory constraints. Since tiles can be distributed to different threads during parallel processing, parallel architectures can benefit from this partitioning mechanism.
  • a maximum transmission unit (MTU) size matching will be examined.
  • Coded pictures transmitted through a network may be subject to fragmentation when the coded pictures are larger than the MTU size.
  • IP Internet Protocol
  • Packet fragmentation may lead to loss of error resiliency. Dividing the picture into tiles and packing each tile/tile group into separate packets to mitigate the effects of packet fragmentation can give confidence that the packet is smaller than the MTU size.
  • Error resilience may be motivated by the requirements of some applications that apply Unequal Error Protection (UEP) to coded tile groups.
  • UDP Unequal Error Protection
  • explicit uniform signaling for picture partitioning may be proposed.
  • explicit signaling of information on tile columns and tile rows may be proposed for uniform spacing.
  • Table 7 below shows an example of partially extracted syntax of the PPS level
  • Table 8 below shows an example of semantics for the partially extracted syntax.
  • single_tile_in_pic_flag 1 specifies that there is only one tile in each picture referring to the PPS.
  • single_tile_in_pic_flag 0 specifies that there is more than one tile in each picture referring to the PPS.NOTE - In absence of further brick splitting within a tile, the whole tile is referred to as a brick. When a picture contains only a single tile without further brick splitting, it is referred to as a single brick.It is a requirement of bitstream conformance that the value of single_tile_in_pic_flag shall be the same for all PPSs that are activated within a CVS.
  • uniform_tile_spacing_flag 1 specifies that tile column boundaries and likewise tile row boundaries are distributed uniformly across the picture and signalled using the syntax elements tile_cols_width_minus1 and tile_rows_height_minus1.
  • uniform_tile_spacing_flag 0 specifies that tile column boundaries and likewise tile row boundaries may or may not be distributed uniformly across the picture and signalled using the syntax elements num_tile_columns_minus1 and num_tile_rows_minus1 and a list of syntax element pairs tile_column_width_minus1[ i 1] and tile_row_minus1.
  • the value of uniform_tile_spacing_flag is inferred to be equal to 1.
  • tile_cols_width_minus1 plus 1 specifies the width of the tile columns excluding the right-most tile column of the picture in units of CTBs when uniform_tile_spacing_flag is equal to 1.
  • the value of tile_cols_width_minus1 shall be in the range of 0 to PicWidthInCtbsY-1, inclusive.
  • tile_rows_height_minus1 plus 1 specifies the height of the tile rows excluding the bottom tile row of the picture in units of CTBs when uniform_tile_spacing_flag is equal to 1.
  • the value of tile_rows_height_minus1 shall be in the range of 0 to PicHeightInCtbsY-1, inclusive.
  • num_tile_columns_minus1 plus 1 specifies the number of tile columns partitioning the picture when uniform_tile_spacing_flag is equal to 0.
  • the value of num_tile_columns_minus1 shall be in the range of 0 to PicWidthInCtbsY-1, inclusive. If single_tile_in_pic_flag is equal to 1, the value of num_tile_columns_minus1 is inferred to be equal to 0.Otherwise, when uniform_tile_spacing_flag is equal to 1, the value of num_tile_columns_minus1 is inferred.
  • num_tile_rows_minus1 plus 1 specifies the number of tile rows partitioning the picture when uniform_tile_spacing_flag is equal to 0.
  • the value of num_tile_rows_minus1 shall be in the range of 0 to PicHeightInCtbsY-1, inclusive.
  • a syntax element uniform_tile_spacing_flag indicating whether tiles having the same width and height are derived by uniformly dividing the picture may be parsed.
  • the syntax element uniform_tile_spacing_flag may be used to indicate whether tiles within a picture are uniformly divided.
  • the syntax element uniform_tile_spacing_flag is enabled, the width of the tile column and the height of the tile row may be explicitly parsed. That is, the syntax element tile_cols_width_minus1 indicating the width of the tile column and the syntax element tile_rows_height_minus1 indicating the height of the tile row may be explicitly signaled and/or parsed.
  • syntax elements num_tile_columns_minus1 and num_tile_rows_minus1 may be signaled and/or parsed.
  • the syntax element num_tile_columns_minus1 may indicate the number of explicitly signaled tile columns when dividing a picture into a plurality of tiles based on widths of explicitly signaled tile columns.
  • the syntax element num_tile_columns_minus1 determines the number of explicitly signaled tile columns in dividing a partial region in a picture into a plurality of tiles based on the widths of tile columns for the explicitly signaled partial region. It can also be indicated.
  • syntax element num_tile_columns_minus1 represents the number of tile columns whose width is signaled to divide a partial region in a picture into a plurality of tiles
  • syntax element num_tile_columns_minus1 may be expressed as a syntax element num_exp_tile_columns_minus1.
  • syntax element num_tile_rows_minus1 may indicate the number of explicitly signaled tile rows when dividing a picture into a plurality of tiles based on the heights of explicitly signaled tile rows.
  • syntax element num_tile_rows_minus1 determines the number of explicitly signaled tile rows in dividing a partial region in a picture into a plurality of tiles based on the heights of tile rows for the explicitly signaled partial region. It can also be indicated.
  • syntax element num_tile_rows_minus1 represents the number of tile columns whose height is signaled in order to divide a partial region in a picture into a plurality of tiles
  • syntax element num_tile_rows_minus1 may be expressed as a syntax element num_exp_tile_rows_minus1.
  • the num_exp_tile_columns_minus1 (or num_tile_columns_minus1) is information on the number of width parsing columns in which information about a width is parsed among a plurality of tile columns for deriving a tile division structure in a current picture. May represent an example of, and num_exp_tile_rows_minus1 (or num_tile_rows_minus1) is based on the number of height parsing rows in which information about height is parsed among a plurality of rows for deriving a tile division structure in the current picture. It may represent an example of information about.
  • Information on the last width indicating the last parsed width among the widths of the width parsing columns may be expressed as tile_column_width_minus1 [num_exp_tile_columns_minus1] + 1 or tile_column_width_minus1 [num_tile_columns_minus1] + 1 based on Table 6.
  • Information on the last height indicating the last parsed height among the heights of the height parsed rows may be expressed as tile_row_height_minus1 [num_exp_tile_rows_minus1] + 1 or tile_row_height_minus1 [num_tile_rows_minus1] + 1 based on Table 6.
  • the width of each of the width parsing skip columns in which the information on the width is not parsed among the plurality of columns is the last width (for example, the tile_column_width_minus1 [num_exp_tile_columns_minus1] + 1) or It is determined as tile_column_width_minus1 [num_tile_columns_minus1] + 1), and the height of each of height parsing skip rows in which information about the height is not parsed among the plurality of rows is the last height (for example, the tile_row_height_minus1 [ It may be determined as num_exp_tile_rows_minus1] + 1 or tile_row_height_minus1 [num_tile_rows_minus1] + 1).
  • uniform spacing may be applied to the widths of the width parsing skip columns and the heights of the height parsing skip rows.
  • a tile splitting structure may be derived based on uniform spacing in some or all of the regions in the current picture.
  • tile_column_width_minus1[num_exp_tile_columns_minus1] representing the last withth represents the width of the uniform tile column (uniformTileColWidth). You can see that (uniformTileRowHeight) is displayed.
  • the process of dividing the picture into bricks may be performed.
  • a brick splitting process may be started based on brick_splitting_present_flag indicating whether one or more tiles of pictures referring to the PPS can be split into two or more bricks.
  • a flag indicating whether the tile can be divided into bricks may be parsed. If the tile can be divided into bricks, it can be determined whether the tile can be uniformly divided.
  • the uniform_brick_spacking_flag can be parsed, and when the uniform_brick_spacking_flag is enabled, the height of the brick row can be explicitly parsed. If the tiles are not uniformly divided, the height of each brick row may be parsed for each brick.
  • single_brick_per_slice_flag may be parsed.
  • single_brick_per_slice_flag may indicate whether each slice referring to the PPS includes one brick. If each slice does not include one brick, the rectangular slice flag may be parsed. If the value of rect_slice_flag is 1 (or true) and a plurality of bricks exist in one slice, num_slices_in_pic_minus1 indicating the number of slices in a picture may be parsed. Next, for each slice in the picture, a difference between the index of the upper left brick and the index number and a delta corresponding to the difference may be parsed.
  • syntax representing the brick structure may be shown in Table 10 below, and an example of the semantics for the syntax representing the brick structure may be shown in Table 11 below.
  • brick_splitting_present_flag 1 specifies that one or more tiles of pictures referring to the PPS may be divided into two or more bricks.
  • brick_splitting_present_flag 0 specifies that no tiles of pictures referring to the PPS are divided into two or more bricks.
  • brick_split_flag[ i ] 1 specifies that the i-th tile is divided into two or more bricks.
  • brick_split_flag[ i ] 0 specifies that the i-th tile is not divided into two or more bricks. When not present, the value of brick_split_flag[ i ] is inferred to be equal to 0.
  • uniform_brick_spacing_flag[ i ] 1 specifies that brick row boundaries are distributed uniformly across the i-th tile and signalled using the syntax element brick_rows_height_minus1[ i ].
  • uniform_brick_spacing_flag[ i ] 0 specifies that brick row boundaries may or may not be distributed uniformly across i-th tile and signalled using the syntax element num_brick_rows_minus1[ i ] and a list of syntax elements brick_row_height_minus1[ ji ][ i ].
  • the value of uniform_brick_spacing_flag[ i ] is inferred to be equal to 1.
  • brick_rows_height_minus1[ i ] plus 1 specifies the height of the brick rows excluding the bottom brick row in the i-th tile in units of CTBs when uniform_brick_spacing_flag[ i ] is equal to 1.
  • the value of brick_rows_height_minus1 shall be in the range of 0 to RowHeight[ i ]-2, inclusive.
  • num_brick_rows_minus1[ i ] plus 1 specifies the number of brick rows partitioning the i-th tile when uniform_brick_spacing_flag[ i ] is equal to 0.
  • the value of num_brick_rows_minus1[ i ] shall be in the range of 1 -1, inclusive.
  • brick_split_flag[ i ] If brick_split_flag[ i ] is equal to 0, the value of num_brick_rows_minus1[ i ] is inferred to be equal to 0. Otherwise, when uniform_brick_spacing_flag[ i ] is equal to 1, the value of num_brick_rows_minus1[ i ] is inferi_rows.
  • brick_row_height_minus1[ i ][ j ] plus 1 specifies the height of the j-th brick row in the i-th tile in units of CTBs when uniform_tile_spacing_flag is equal to 0.
  • uniform_tile_spacing_flag is equal to 1
  • the values of num_tile_columns_minus1 and num_tile_rows_minus1 are inferred, and, for each i ranging from 0 to NumTilesInPic - 1, inclusive
  • uniform_brick_spacing_flag[ i ] is equal to 1
  • the value of the value of num_brick is equal to 1
  • the value of num_brick by num_brick raster and brick scanning conversion process - the list RowHeight[ j ] for j ranging from 0 to num_tile_rows_minus1, inclusive, specifying the height of the j-th tile row in units of CTBs,- the list C
  • single_brick_per_slice_flag 1 specifies that each slice that refers to this PPS includes one brick.
  • single_brick_per_slice_flag 0 specifies that a slice that refers to this PPS may include more than one brick.
  • the value of single_brick_per_slice_flag is inferred to be equal to 1.
  • rect_slice_flag 0 specifies that bricks within each slice are in raster scan order and the slice information is not signalled in PPS.
  • rect_slice_flag 1 specifies that bricks within each slice cover a rectangular region of the picture and the slice information is signalled in the PPS.
  • num_slices_in_pic_minus1 plus 1 specifies the number of slices in each picture referring to the PPS.
  • the value of num_slices_in_pic_minus1 shall be in the range of 0 to NumBricksInPic - 1, inclusive.
  • the value of num_slices_in_pic_minus1 is inferred to be equal to NumBricksInPic - 1.
  • top_left_brick_idx[ i ] specifies the brick index of the brick located at the top-left corner of the i-th slice.
  • the value of top_left_brick_idx[ i ] shall not be equal to the value of top_left_brick_idx[ j ] for any i not equal to j.
  • the value of top_left_brick_idx[ i ] is inferred to be equal to i.
  • the length of the top_left_brick_idx[ i ] syntax element is Ceil( Log2( NumBricksInPic ) bits.
  • bottom_right_brick_idx_delta[ i ] specifies the difference between the brick index of the brick located at the bottom-right corner of the i-th slice and top_left_brick_idx[ i ].
  • single_brick_per_slice_flag is equal to 1
  • the value of bottom_right_brick_idx_delta[ i ] is inferred to be equal to 0.
  • the length of the bottom_right_brick_idx_delta[ i ] syntax element is Ceil( Log2( ) is inferred to be equal to 0.
  • loop_filter_across_bricks_enabled_flag 0 specifies that in-loop filtering operations are not performed across brick boundaries in pictures referring to the PPS.
  • the in-loop filtering operations include the deblocking filter, sample adaptive offset filter, and adaptive loop filter operations.
  • loop_filter_across_bricks_enabled_flag is inferred to be equal to 1.
  • loop_filter_across_slices_enabled_flag 1 specifies that in-loop filtering operations may be performed across slice boundaries in pictures referring to the PPS.
  • loop_filter_across_slice_enabled_flag 0 specifies that in-loop filtering operations are not performed across slice boundaries in pictures referring to the PPS.
  • the in-loop filtering operations include the deblocking filter, sample adaptive offset filter, and adaptive loop filter operations.
  • the value of loop_filter_across_slices_enabled_flag is inferred to be equal to 0.
  • signalled_slice_id_flag 1 specifies that the slice ID for each slice is signalled.
  • signalled_slice_id_flag 0 specifies that slice IDs are not signalled.
  • signalled_slice_id_flag When rect_slice_flag is equal to 0, the value of signalled_slice_id_flag is inferred to be equal to 0.
  • signalled_slice_id_length_minus1 plus 1 specifies the number of bits used to represent the syntax element slice_id[ i ] when present, and the syntax element slice_address in slice headers.
  • the value of signalled_slice_id_length_minus1 shall be in the range of 0 to 15, inclusive.
  • the value of signalled_slice_id_length_minus1 is inferred to be equal to Ceil( Log2( num_slices_in_pic_minus1 + 1 ) ) - 1.
  • slice_id[ i ] specifies the slice ID of the i-th slice.
  • the length of the slice_id[ i ] syntax element is signalled_slice_id_length_minus1 + 1 bits.
  • the value of slice_id[ i ] is inferred to be equal to i, for each i in the range of 0 to num_slices_in_pic_minus1, inclusive.
  • the encoding device and/or the decoding device may provide the current picture based on split information (eg, PPS information in Table 10), based on a plurality of tiles.
  • split information eg, PPS information in Table 10
  • a first partitioning structure of a picture can be derived.
  • the encoding device and/or the decoding device may derive a second partition structure of the current picture based on a plurality of first partition units based on the partition information for the current picture.
  • the third partition structure of the current picture may be derived based on the partition information of the current picture and based on a plurality of second partition units.
  • one of the plurality of first divided units may be included in the one tile, may include the one tile, or be the same as the one tile.
  • One of the plurality of second dividing units may be included in the one tile, the one tile, the first dividing unit, or the first dividing unit , It may be the same as the one tile.
  • the partition information for the current picture may include a rectangular partition unit flag indicating whether the plurality of first partition units have a rectangular shape.
  • the rectangular division unit flag may include rect_slice_flag of Table 9 above.
  • the one first dividing unit may include at least one second dividing unit among the plurality of second dividing units.
  • the first partitioning unit may be a slice
  • the second partitioning unit may be a brick.
  • the encoding apparatus and/or the decoding apparatus parses information on the total number of the plurality of first division units in the current picture based on a determination that the value of the rectangular first division unit flag is 1
  • the information on the index delta value of the at least one second partitioning unit included in the one first partitioning unit may be parsed.
  • the index delta value may be bottom_right_brick_idx_delta in Table 9 above.
  • the first partitioning unit may represent the same unit as a slice, and the second partitioning unit may represent the same unit as a tile.
  • the first partitioning unit may represent the same unit as a slice, and the second partitioning unit may represent the same unit as a brick.
  • the first division unit may represent the same unit as a tile, and the second division unit may represent the same unit as a brick.
  • FIG. 11 is a flowchart illustrating an operation of an encoding device according to an embodiment
  • FIG. 12 is a block diagram illustrating a configuration of an encoding device according to an embodiment.
  • the encoding apparatus according to FIGS. 11 and 12 may perform operations corresponding to the decoding apparatus according to FIGS. 13 and 14. Accordingly, operations of the decoding apparatus to be described later in FIGS. 13 and 14 may be similarly applied to the encoding apparatus according to FIGS. 11 and 12.
  • Each step disclosed in FIG. 11 may be performed by the encoding apparatus 200 disclosed in FIG. 2. More specifically, S1100 and S1110 may be performed by the image segmentation unit 210 disclosed in FIG. 2, S1120 and S1130 may be performed by the prediction unit 220 disclosed in FIG. 2, and S1140 is shown in FIG. 2. It may be performed by the disclosed entropy encoding unit 240. In addition, operations according to S1100 to S1140 are based on some of the contents described above in FIGS. 4 to 10. Accordingly, detailed descriptions overlapping with those described above in FIGS. 2 and 4 to 10 will be omitted or simplified.
  • the encoding apparatus may include an image segmentation unit 210, a prediction unit 220, and an entropy encoding unit 240.
  • the encoding device may be implemented by more or less components than the components shown in FIG. 12.
  • the image segmentation unit 210, the prediction unit 220, and the entropy encoding unit 240 are each implemented as a separate chip, or at least two or more components are implemented through a single chip. It can also be implemented.
  • the encoding apparatus may divide the current picture into a plurality of tiles (S1100). More specifically, the image dividing unit 210 of the encoding device may divide the current picture into a plurality of tiles.
  • the encoding apparatus determines the number of width parsing columns in which information about a width is parsed among a plurality of columns for deriving the plurality of tiles.
  • Information information on a last width indicating a width to be parsed last among widths of the width parsing columns, information on a height among a plurality of rows for deriving the plurality of tiles.
  • the current picture including information on the number of height parsing rows to be parsed and a last height indicating a height parsed last among the heights of the height parsing rows Split information for may be generated (S1110).
  • the image segmentation unit 210 of the encoding apparatus includes information on the number of width parsing columns from which width information is parsed among a plurality of columns for deriving the plurality of tiles, based on the plurality of tiles, Information on the last withth representing the last parsed width among the widths of the width parsing columns, information on the number of height parsing rows from which height information among a plurality of rows for deriving the plurality of tiles is parsed, and the Split information for the current picture including information on the last height indicating the height parsed last among the heights of the height parsing rows may be generated.
  • the encoding apparatus may derive prediction samples for a current block included in one of the plurality of tiles (S1120). More specifically, the prediction unit 220 of the encoding apparatus may derive prediction samples for a current block included in one of the plurality of tiles.
  • the encoding apparatus may generate prediction information for the current block based on the prediction samples (S1130). More specifically, the prediction unit 220 of the encoding device may generate prediction information for the current block based on the prediction samples.
  • the encoding apparatus may encode image information including segmentation information on the current picture and prediction information on the current block (S1140). More specifically, image information including split information on the current picture and prediction information on the current block may be encoded.
  • the width of each of the width parsing skip columns in which the information about the width is not parsed among the plurality of columns is the same as the last with write, and the height of the plurality of rows is The height of each of height parsing skip rows for which information is not parsed may be the same as the last height.
  • the total number of the width parsing skip columns and the height parsing skip rows is a sum of the columns of the width parsing columns, the sum of the heights of the height parsing rows, and the last It can be derived based on withth and the last height.
  • the encoding apparatus may divide the current picture into a plurality of first segmentation units, and may divide the current picture into a plurality of second segmentation units.
  • one of the plurality of first split units is included in the one tile, includes the one tile, is the same as the one tile, and is the plurality of second split units.
  • One of the dividing units, one second dividing unit, is included in the one tile, included in the one tile, included in the first dividing unit, included in the first dividing unit, or included in the one tile Can be the same as
  • the one first division unit may include at least one second division unit among the plurality of second division units.
  • the encoding apparatus may encode information on the total number of the plurality of first partition units in the current picture, based on a determination that the plurality of first partition units are rectangular, and the one Information on the index delta value of the at least one second partitioning unit included in the first partitioning unit of may be encoded.
  • the first split unit may represent the same unit as a slice
  • the second split unit may represent the same unit as the one tile.
  • the split information for the current picture may be encoded at the PPS level.
  • the encoding device divides a current picture into a plurality of tiles (S1100), and derives the plurality of tiles based on the plurality of tiles.
  • the present disclosure it is possible to increase the efficiency of picture partitioning. Also, according to the present disclosure, it is possible to increase the efficiency of picture partitioning based on split information for a current picture.
  • FIG. 13 is a flowchart illustrating an operation of a decoding apparatus according to an embodiment
  • FIG. 14 is a block diagram showing a configuration of a decoding apparatus according to an embodiment.
  • Each step disclosed in FIG. 13 may be performed by the decoding apparatus 300 disclosed in FIG. 3. More specifically, S1300 and S1310 may be performed by the entropy decoding unit 310 disclosed in FIG. 3, S1320 may be performed by the prediction unit 330 disclosed in FIG. 3, and S1330 is the addition disclosed in FIG. 3. It may be performed by the unit 340. In addition, operations according to S1300 to S1330 are based on some of the contents described above in FIGS. 4 to 10. Accordingly, detailed descriptions overlapping with those described above in FIGS. 3 to 10 will be omitted or simplified.
  • the decoding apparatus may include an entropy decoding unit 310, a prediction unit 330, and an addition unit 340.
  • the decoding apparatus may be implemented by more or less components than those shown in FIG. 14.
  • the entropy decoding unit 310, the prediction unit 330, and the addition unit 340 are each implemented as a separate chip, or at least two or more components are implemented through a single chip. It could be.
  • the decoding apparatus may receive a bitstream including partition information on a current picture and prediction information on a current block included in the current picture (S1300). More specifically, the entropy decoding unit 310 of the decoding apparatus may receive a bitstream including split information on a current picture and prediction information on a current block included in the current picture.
  • the splitting information includes information for splitting the current picture into a plurality of tiles, information for splitting the current picture into a plurality of slices, or information for splitting the current picture into a plurality of bricks. It may include at least one.
  • the prediction information may include at least one of information on intra prediction for the current block, information on inter prediction, or information on Combined Inter Intra Prediction (CIIP).
  • the decoding apparatus may determine a first partitioning structure of the current picture based on a plurality of tiles, and a width of a plurality of columns for deriving the first partitioning structure (information on the number of width parsing columns for which information on width) is parsed, information on the last width indicating the last parsed width among the widths of the width parsing columns, At the end of the information on the number of height parsing rows from which information about the height is parsed among the plurality of rows for deriving the first partition structure, and heights of the height parsing rows It may be derived based on the segmentation information for the current picture including information on a last height indicating the height to be parsed (S1310).
  • the entropy decoding unit 310 of the decoding apparatus parses a first partition structure of the current picture based on a plurality of tiles, and information about a width among a plurality of columns for deriving the first partition structure.
  • Information on the number of width parsing columns, information on the last width representing the last parsed width among the widths of the width parsing columns, information on the height of a plurality of rows for deriving the first partition structure are parsed It may be derived based on the segmentation information for the current picture including information on the number of height parsed rows and information on a last height indicating a height parsed last among the heights of the height parsed rows.
  • the information on the number of width parsing columns may be expressed as num_tile_columns_minus1 or num_exp_tile_columns_minus1, and the information on the last withth may be indicated by tile_column_width_minus1[num_tile_columns_minus1] or tile_column_width_minus1[num_tile_columns_minus1] or tile_column_width_minus1] for the height parsing rows.
  • the information may be represented as num_tile_rows_minus1 or num_exp_tile_rows_minus1, and the information on the last withth may be represented as tile_row_height_minus1[num_tile_columns_minus1] or tile_row_height_minus1[num_exp_tile_columns_minus1].
  • the decoding apparatus may derive prediction samples for the current block based on the prediction information for the current block included in one of the plurality of tiles (S1320). More specifically, the prediction unit 330 of the decoding apparatus may derive prediction samples for the current block based on the prediction information for the current block included in one of the plurality of tiles.
  • the decoding apparatus may restore the current picture based on the predicted block (S1330). More specifically, the adder 340 of the decoding apparatus may restore the current picture based on the predicted block.
  • the width of each of the width parsing skip columns in which information about the width is not parsed among the plurality of columns is determined as the last with write, and the height of the plurality of rows is The height of each of height parsing skip rows for which information about information is not parsed may be determined as the last height.
  • the number of width parsing skip columns may be derived by subtracting the number of width parsing columns from the total number of other column columns, and the number of height parsing skip rows is the height from the total number of tile rows. It can be derived by subtracting the number of parsed rows.
  • the total number of the width parsing skip columns and the height parsing skip rows is a sum of the columns of the width parsing columns, the sum of the heights of the height parsing rows, and the last It can be derived based on withth and the last height.
  • the decoding apparatus may derive a second partition structure of the current picture based on a plurality of first partition units based on the partition information for the current picture, and the current picture
  • a third partition structure of the current picture may be derived based on a plurality of second partition units based on the partition information for the picture.
  • one of the plurality of first division units may be included in the one tile, the one tile, or the same as the one tile, and the plurality of second division units
  • One of the units, the second division unit is included in the one tile, the one tile, the first division unit, the first division unit, or the one tile and Can be the same
  • the first partitioning unit may be a slice
  • the second partitioning unit may be a brick.
  • the partition information for the current picture includes a rectangular first partition unit flag indicating whether the plurality of first partition units have a rectangular shape
  • the one first dividing unit may include at least one second dividing unit among the plurality of second dividing units.
  • the decoding apparatus may parse information on the total number of the plurality of first partition units in the current picture, based on a determination that the value of the rectangular first partition unit flag is 1, and the Information on the index delta value of the at least one second partitioning unit included in one first partitioning unit may be parsed.
  • the index delta value may represent bottom_right_brick_idx_delta in Table 9 above.
  • the rectangular first split unit flag may be represented by rect_slice_flag, and the total number of the plurality of first split units in the current picture The information may be represented by num_slices_in_pic_minus1.
  • the first split unit may represent the same unit as a slice, and the second split unit may represent the same unit as the one tile.
  • the first partitioning unit may represent the same unit as a slice, and the second partitioning unit may represent the same unit as a brick.
  • the first division unit may represent the same unit as a tile, and the second division unit may represent the same unit as a brick.
  • the split information for the current picture may be parsed at a picture parameter set (PPS) level.
  • PPS picture parameter set
  • the decoding apparatus includes partition information on a current picture and prediction information on a current block included in the current picture.
  • a first partitioning structure of the current picture based on a plurality of tiles is received (S1300) and a width among a plurality of columns for deriving the first partitioning structure
  • the current block is derived based on the split information for the current picture including information on the last height indicating the height parsed in (S1310), and included in one tile among the plurality of tiles
  • prediction samples for the current block may be derived (S1320)
  • the present disclosure it is possible to increase the efficiency of picture partitioning. Also, according to the present disclosure, it is possible to increase the efficiency of picture partitioning based on split information for a current picture.
  • the method according to the present disclosure described above may be implemented in the form of software, and the encoding device and/or the decoding device according to the present disclosure perform image processing such as a TV, a computer, a smart phone, a set-top box, a display device, etc. Can be included in the device.
  • the above-described method may be implemented as a module (process, function, etc.) performing the above-described function.
  • 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 the present disclosure 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.
  • the decoding device and encoding device to which the present disclosure is applied include a multimedia broadcast transmission/reception device, a mobile communication terminal, a home cinema video device, a digital cinema video device, a surveillance camera, a video chat device, a real-time communication device such as video communication, and mobile streaming.
  • 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).
  • OTT video Over the top video
  • DVR digital video recorder
  • the processing method to which the present disclosure is applied may be produced in the form of a program executed by a computer, and may be stored in a computer-readable recording medium.
  • Multimedia data having a data structure according to the present disclosure may 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 the present disclosure may be implemented as a computer program product using a program code, and the program code may be executed in a computer by an embodiment of the present disclosure.
  • the program code may be stored on a carrier readable by a computer.
  • a content streaming system to which the present disclosure is applied may largely include an encoding server, a streaming server, a web server, a media storage device, a user device, and a multimedia input device.
  • the encoding server serves to generate a bitstream by compressing content input from multimedia input devices such as 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 to which the present disclosure is applied, and the streaming server may temporarily store the bitstream while transmitting or receiving the bitstream.
  • the streaming server transmits multimedia data to a user device based on a user request through a web server, and the web server serves as an intermediary 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.

Abstract

A method by which a decoding device decodes an image, according to the present disclosure, comprises the steps of: receiving a bitstream including partitioning information about a current picture and prediction information about a current block included in the current picture; deriving a first partitioning structure, of the current picture, based on a plurality of tiles, on the basis of the partitioning information about the current picture, which includes information about the number of width parsing rows, information about a last width, information about the number of height parsing columns, and information about a last height; deriving prediction samples for the current block on the basis of the prediction information about the current block included in one of the plurality of tiles; and reconstructing the current picture on the basis of the prediction samples.

Description

픽처를 복수의 타일들로 분할하는 방법 및 장치Method and apparatus for dividing a picture into a plurality of tiles
본 개시는 영상 코딩 기술에 관한 것으로서 보다 상세하게는 영상 코딩 시스템에서 픽처(picture)를 복수의 타일(tile)들로 분할하는 방법 및 장치에 관한 것이다.The present disclosure relates to image coding technology, and more particularly, to a method and apparatus for dividing a picture into a plurality of tiles in an image coding system.
최근 4K 또는 8K 이상의 UHD(Ultra High Definition) 영상/비디오와 같은 고해상도, 고품질의 영상/비디오에 대한 수요가 다양한 분야에서 증가하고 있다. 영상/비디오 데이터가 고해상도, 고품질이 될수록 기존의 영상/비디오 데이터에 비해 상대적으로 전송되는 정보량 또는 비트량이 증가하기 때문에 기존의 유무선 광대역 회선과 같은 매체를 이용하여 영상 데이터를 전송하거나 기존의 저장 매체를 이용해 영상/비디오 데이터를 저장하는 경우, 전송 비용과 저장 비용이 증가된다. Recently, demand for high-resolution, high-quality video/video such as 4K or 8K or higher UHD (Ultra High Definition) video/video is increasing in various fields. As the video/video data becomes high-resolution and high-quality, the amount of information or bits to be transmitted increases relatively compared to the existing video/video data. When video/video data is stored by using it, the transmission cost and storage cost increase.
또한, 최근 VR(Virtual Reality), AR(Artificial Realtiy) 컨텐츠나 홀로그램 등의 실감 미디어(Immersive Media)에 대한 관심 및 수요가 증가하고 있으며, 게임 영상과 같이 현실 영상과 다른 영상 특성을 갖는 영상/비디오에 대한 방송이 증가하고 있다.In addition, interest and demand for immersive media such as VR (Virtual Reality) and AR (Artificial Realtiy) contents or holograms are increasing in recent years, and videos/videos having different image characteristics from real images such as game images. Broadcasting about is increasing.
이에 따라, 상기와 같은 다양한 특성을 갖는 고해상도 고품질의 영상/비디오의 정보를 효과적으로 압축하여 전송하거나 저장하고, 재생하기 위해 고효율의 영상/비디오 압축 기술이 요구된다.Accordingly, high-efficiency video/video compression technology is required in order to effectively compress, transmit, store, and reproduce information of high-resolution, high-quality video/video having various characteristics as described above.
본 개시의 기술적 과제는 영상 코딩 효율을 높이는 방법 및 장치를 제공함에 있다.It is an object of the present disclosure to provide a method and apparatus for increasing image coding efficiency.
본 개시의 다른 기술적 과제는 파티셔닝 정보를 시그널링하는 방법 및 장치를 제공함에 있다. Another technical problem of the present disclosure is to provide a method and apparatus for signaling partitioning information.
본 개시의 또 다른 기술적 과제는 시그널링된 정보에 기반한 픽처 파티셔닝 방법 및 장치를 제공함에 있다.Another technical problem of the present disclosure is to provide a picture partitioning method and apparatus based on signaled information.
본 개시의 또 다른 기술적 과제는 현재 픽처에 대한 분할 정보를 기반으로 현재 픽처를 분할하는 방법 및 장치를 제공함에 있다.Another technical problem of the present disclosure is to provide a method and an apparatus for dividing a current picture based on dividing information for the current picture.
본 개시의 또 다른 기술적 과제는, 현재 픽처를 구성하는 복수의 타일들 중 폭(width) 및 높이(height)에 대한 정보가 파싱되지 않는 길이 파싱 스킵 타일들(length parsing skip tiles) 각각의 폭(또는 높이)을, 시그널링 된 폭들(또는 높이들) 중 마지막 폭(또는 높이)을 기반으로 결정하는 방법 및 장치를 제공함에 있다.Another technical problem of the present disclosure is the width of each of length parsing skip tiles in which information about a width and a height is not parsed among a plurality of tiles constituting a current picture ( Or height), based on the last width (or height) of the signaled widths (or heights).
본 개시의 일 실시예에 따르면, 디코딩 장치에 의하여 수행되는 영상 디코딩 방법이 제공된다. 상기 방법은, 현재 픽처에 대한 분할 정보(partition information) 및 상기 현재 픽처에 포함된 현재 블록에 대한 예측 정보(prediction information)를 포함하는 비트스트림을 수신하는 단계, 복수의 타일들(a plurality of tiles)에 기반한 상기 현재 픽처의 제1 분할 구조(partitioning structure)를, 상기 제1 분할 구조를 도출하기 위한 복수의 열들 중 폭(width)에 대한 정보가 파싱되는 폭 파싱 열들(width parsing columns)의 개수에 대한 정보, 상기 폭 파싱 열들의 폭들(widths) 중 마지막에 파싱되는 폭을 나타내는 라스트 위드쓰(last width)에 대한 정보, 상기 제1 분할 구조를 도출하기 위한 복수의 행들 중 높이(height)에 대한 정보가 파싱되는 높이 파싱 행들(height parsing rows)의 개수에 대한 정보 및 상기 높이 파싱 행들의 높이들(heights) 중 마지막에 파싱되는 높이를 나타내는 라스트 하이트(last height)에 대한 정보를 포함하는 상기 현재 픽처에 대한 상기 분할 정보를 기반으로 도출하는 단계, 상기 복수의 타일들 중 하나의 타일에 포함된 상기 현재 블록에 대한 상기 예측 정보를 기반으로, 상기 현재 블록에 대한 예측 샘플들을 도출하는 단계 및 상기 예측 샘플들을 기반으로 상기 현재 픽처를 복원하는 단계를 포함하되, 상기 복수의 열들 중 상기 폭에 대한 정보가 파싱되지 않는 폭 파싱 스킵 열들(width parsing skip columns) 각각의 폭은 전부 상기 라스트 위드쓰로 결정되고, 상기 복수의 행들 중 상기 높이에 대한 정보가 파싱되지 않는 높이 파싱 스킵 행들(height parsing skip rows) 각각의 높이는 전부 상기 라스트 하이트로 결정되는 것을 특징으로 한다.According to an embodiment of the present disclosure, a method of decoding an image performed by a decoding apparatus is provided. The method includes receiving a bitstream including partition information for a current picture and prediction information for a current block included in the current picture, a plurality of tiles The number of width parsing columns in which information about a width is parsed among a plurality of columns for deriving the first partitioning structure based on the first partitioning structure of the current picture based on) Information, information on the last width indicating the last parsed width among the widths of the width parsing columns, and the height among a plurality of rows for deriving the first split structure The above including information on the number of height parsing rows for which information is parsed, and information on a last height indicating a height parsed last among heights of the height parsing rows. Deriving based on the split information for a current picture, deriving prediction samples for the current block based on the prediction information for the current block included in one of the plurality of tiles, and Including the step of restoring the current picture based on the prediction samples, wherein the width of each of width parsing skip columns in which information about the width is not parsed among the plurality of columns is the last width The height of each of height parsing skip rows in which information about the height is not parsed among the plurality of rows is determined to be the last height.
본 개시의 다른 일 실시예에 따르면, 영상 디코딩을 수행하는 디코딩 장치가 제공된다. 상기 디코딩 장치는, 현재 픽처에 대한 분할 정보 및 상기 현재 픽처에 포함된 현재 블록에 대한 예측 정보를 포함하는 비트스트림을 수신하고, 복수의 타일들에 기반한 상기 현재 픽처의 제1 분할 구조를, 상기 제1 분할 구조를 도출하기 위한 복수의 열들 중 폭(width)에 대한 정보가 파싱되는 폭 파싱 열들(width parsing columns)의 개수에 대한 정보, 상기 폭 파싱 열들의 폭들(widths) 중 마지막에 파싱되는 폭을 나타내는 라스트 위드쓰(last width)에 대한 정보, 상기 제1 분할 구조를 도출하기 위한 복수의 행들 중 높이(height)에 대한 정보가 파싱되는 높이 파싱 행들(height parsing rows)의 개수에 대한 정보 및 상기 높이 파싱 행들의 높이들(heights) 중 마지막에 파싱되는 높이를 나타내는 라스트 하이트(last height)에 대한 정보를 포함하는 상기 현재 픽처에 대한 상기 분할 정보를 기반으로 도출하는 엔트로피 디코딩부, 상기 복수의 타일들 중 하나의 타일에 포함된 상기 현재 블록에 대한 상기 예측 정보를 기반으로, 상기 현재 블록에 대한 예측 샘플들을 도출하는 예측부 및 상기 예측 샘플들을 기반으로 상기 현재 픽처를 복원하는 가산부를 포함하되, 상기 복수의 열들 중 상기 폭에 대한 정보가 파싱되지 않는 폭 파싱 스킵 열들(width parsing skip columns) 각각의 폭은 전부 상기 라스트 위드쓰로 결정되고, 상기 복수의 행들 중 상기 높이에 대한 정보가 파싱되지 않는 높이 파싱 스킵 행들(height parsing skip rows) 각각의 높이는 전부 상기 라스트 하이트로 결정되는 것을 특징으로 한다.According to another embodiment of the present disclosure, a decoding apparatus for performing image decoding is provided. The decoding apparatus receives a bitstream including split information on a current picture and prediction information on a current block included in the current picture, and generates a first split structure of the current picture based on a plurality of tiles, the Information on the number of width parsing columns from which information about the width is parsed among a plurality of columns for deriving the first partition structure, and the last parsed among the widths of the width parsing columns Information on the last width indicating the width, information on the number of height parsing rows from which height information among a plurality of rows for deriving the first partition structure is parsed And an entropy decoding unit for deriving based on the division information for the current picture including information on a last height indicating a height parsed last among heights of the height parsing rows, the plurality of A prediction unit for deriving prediction samples for the current block based on the prediction information for the current block included in one of tiles of, and an adder for reconstructing the current picture based on the prediction samples However, the width of each of the width parsing skip columns in which the information on the width is not parsed among the plurality of columns is determined as the last with write, and the information on the height among the plurality of rows is The height of each of height parsing skip rows that are not parsed is characterized in that all heights are determined as the last height.
본 개시의 또 다른 일 실시예에 따르면, 인코딩 장치에 의하여 수행되는 영상 인코딩 방법이 제공된다. 상기 방법은, 현재 픽처를 복수의 타일들로 분할하는 단계, 상기 복수의 타일들을 기반으로, 상기 복수의 타일들을 도출하기 위한 복수의 열들 중 폭(width)에 대한 정보가 파싱되는 폭 파싱 열들(width parsing columns)의 개수에 대한 정보, 상기 폭 파싱 열들의 폭들(widths) 중 마지막에 파싱되는 폭을 나타내는 라스트 위드쓰(last width)에 대한 정보, 상기 복수의 타일들을 도출하기 위한 복수의 행들 중 높이(height)에 대한 정보가 파싱되는 높이 파싱 행들(height parsing rows)의 개수에 대한 정보 및 상기 높이 파싱 행들의 높이들(heights) 중 마지막에 파싱되는 높이를 나타내는 라스트 하이트(last height)에 대한 정보를 포함하는 상기 현재 픽처에 대한 분할 정보를 생성하는 단계, 상기 복수의 타일들 중 하나의 타일에 포함된 현재 블록에 대한 예측 샘플들을 도출하는 단계, 상기 예측 샘플들을 기반으로 상기 현재 블록에 대한 예측 정보를 생성하는 단계 및 상기 현재 픽처에 대한 분할 정보 및 상기 현재 블록에 대한 예측 정보를 포함하는 영상 정보를 인코딩하는 단계를 포함하되, 상기 복수의 열들 중 상기 폭에 대한 정보가 파싱되지 않는 폭 파싱 스킵 열들(width parsing skip columns) 각각의 폭은 전부 상기 라스트 위드쓰와 같고, 상기 복수의 행들 중 상기 높이에 대한 정보가 파싱되지 않는 높이 파싱 스킵 행들(height parsing skip rows) 각각의 높이는 전부 상기 라스트 하이트와 같은 것을 특징으로 한다.According to another embodiment of the present disclosure, a video encoding method performed by an encoding device is provided. The method includes the steps of dividing a current picture into a plurality of tiles, width parsing columns in which information about a width among a plurality of columns for deriving the plurality of tiles is parsed based on the plurality of tiles ( information on the number of width parsing columns), information on the last width indicating the width parsed last among the widths of the width parsing columns, among a plurality of rows for deriving the plurality of tiles Information on the number of height parsing rows for which information about height is parsed, and a last height indicating the height parsed last among the heights of the height parsing rows. Generating split information for the current picture including information, deriving prediction samples for a current block included in one tile among the plurality of tiles, and for the current block based on the prediction samples Generating prediction information and encoding image information including split information on the current picture and prediction information on the current block, wherein information on the width among the plurality of columns is not parsed The width of each of the width parsing skip columns is the same as the last with write, and the height of each of the height parsing skip rows in which information about the height is not parsed among the plurality of rows is all the above. It features the same thing as the last height.
본 개시의 또 다른 일 실시예에 따르면, 영상 인코딩을 수행하는 인코딩 장치가 제공된다. 상기 인코딩 장치는, 현재 픽처를 복수의 타일들로 분할하고, 상기 복수의 타일들을 기반으로, 상기 복수의 타일들을 도출하기 위한 복수의 열들 중 폭(width)에 대한 정보가 파싱되는 폭 파싱 열들(width parsing columns)의 개수에 대한 정보, 상기 폭 파싱 열들의 폭들(widths) 중 마지막에 파싱되는 폭을 나타내는 라스트 위드쓰(last width)에 대한 정보, 상기 복수의 타일들을 도출하기 위한 복수의 행들 중 높이(height)에 대한 정보가 파싱되는 높이 파싱 행들(height parsing rows)의 개수에 대한 정보 및 상기 높이 파싱 행들의 높이들(heights) 중 마지막에 파싱되는 높이를 나타내는 라스트 하이트(last height)에 대한 정보를 포함하는 상기 현재 픽처에 대한 분할 정보를 생성하는 영상 분할부, 상기 복수의 타일들 중 하나의 타일에 포함된 현재 블록에 대한 예측 샘플들을 도출하고, 상기 예측 샘플들을 기반으로 상기 현재 블록에 대한 예측 정보를 생성하는 예측부 및 상기 현재 픽처에 대한 분할 정보 및 상기 현재 블록에 대한 예측 정보를 포함하는 영상 정보를 인코딩하는 엔트로피 인코딩부를 포함하되, 상기 복수의 열들 중 상기 폭에 대한 정보가 파싱되지 않는 폭 파싱 스킵 열들(width parsing skip columns) 각각의 폭은 전부 상기 라스트 위드쓰와 같고, 상기 복수의 행들 중 상기 높이에 대한 정보가 파싱되지 않는 높이 파싱 스킵 행들(height parsing skip rows) 각각의 높이는 전부 상기 라스트 하이트와 같은 것을 특징으로 한다.According to still another embodiment of the present disclosure, an encoding apparatus for performing image encoding is provided. The encoding apparatus may divide a current picture into a plurality of tiles, and based on the plurality of tiles, width parsing columns in which information about a width among a plurality of columns for deriving the plurality of tiles is parsed ( information on the number of width parsing columns), information on the last width indicating the width parsed last among the widths of the width parsing columns, among a plurality of rows for deriving the plurality of tiles Information on the number of height parsing rows for which information about height is parsed, and a last height indicating the height parsed last among the heights of the height parsing rows. An image segmentation unit that generates split information for the current picture including information, derives prediction samples for a current block included in one tile among the plurality of tiles, and calculates prediction samples for the current block based on the prediction samples. A prediction unit that generates prediction information for the current picture, and an entropy encoding unit that encodes image information including split information on the current picture and prediction information on the current block, wherein information on the width among the plurality of columns is parsed. The width of each of the width parsing skip columns is the same as the last width, and the height parsing skip rows from which information about the height is not parsed among the plurality of rows. All the heights are the same as the last height.
본 개시의 또 다른 일 실시예에 따르면, 비디오 디코딩 장치가 일부 실시예들에 따른 디코딩 방법들을 수행하도록 야기하는 지시들(instructions)에 대한 정보를 저장하는, 디코더로 판독 가능한 저장 매체가 제공된다.According to another embodiment of the present disclosure, there is provided a storage medium readable by a decoder that stores information on instructions that cause a video decoding apparatus to perform decoding methods according to some embodiments.
본 개시의 또 다른 일 실시예에 따르면, 비디오 디코딩 장치가 일 실시예에 따른 디코딩 방법을 수행하도록 야기하는 지시들에 대한 정보를 저장하는, 디코더로 판독 가능한 저장 매체가 제공된다. 상기 일 실시예에 따른 디코딩 방법은, 현재 픽처에 대한 분할 정보(partition information) 및 상기 현재 픽처에 포함된 현재 블록에 대한 예측 정보(prediction information)를 포함하는 비트스트림을 수신하는 단계, 복수의 타일들(a plurality of tiles)에 기반한 상기 현재 픽처의 제1 분할 구조(partitioning structure)를, 상기 제1 분할 구조를 도출하기 위한 복수의 열들 중 폭(width)에 대한 정보가 파싱되는 폭 파싱 열들(width parsing columns)의 개수에 대한 정보, 상기 폭 파싱 열들의 폭들(widths) 중 마지막에 파싱되는 폭을 나타내는 라스트 위드쓰(last width)에 대한 정보, 상기 제1 분할 구조를 도출하기 위한 복수의 행들 중 높이(height)에 대한 정보가 파싱되는 높이 파싱 행들(height parsing rows)의 개수에 대한 정보 및 상기 높이 파싱 행들의 높이들(heights) 중 마지막에 파싱되는 높이를 나타내는 라스트 하이트(last height)에 대한 정보를 포함하는 상기 현재 픽처에 대한 상기 분할 정보를 기반으로 도출하는 단계, 상기 복수의 타일들 중 하나의 타일에 포함된 상기 현재 블록에 대한 상기 예측 정보를 기반으로, 상기 현재 블록에 대한 예측 샘플들을 도출하는 단계 및 상기 예측 샘플들을 기반으로 상기 현재 픽처를 복원하는 단계를 포함하되, 상기 복수의 열들 중 상기 폭에 대한 정보가 파싱되지 않는 폭 파싱 스킵 열들(width parsing skip columns) 각각의 폭은 전부 상기 라스트 위드쓰로 결정되고, 상기 복수의 행들 중 상기 높이에 대한 정보가 파싱되지 않는 높이 파싱 스킵 행들(height parsing skip rows) 각각의 높이는 전부 상기 라스트 하이트로 결정되는 것을 특징으로 한다.According to another embodiment of the present disclosure, there is provided a storage medium readable by a decoder that stores information on instructions that cause a video decoding apparatus to perform the decoding method according to the embodiment. The decoding method according to the embodiment includes: receiving a bitstream including partition information on a current picture and prediction information on a current block included in the current picture, a plurality of tiles Width parsing columns in which information about a width among a plurality of columns for deriving the first partitioning structure is parsed from a first partitioning structure of the current picture based on a plurality of tiles ( information on the number of width parsing columns), information on a last width representing the last parsed width among the widths of the width parsing columns, a plurality of rows for deriving the first split structure In the information on the number of height parsing rows in which information about the height is parsed, and the last height indicating the height parsed last among the heights of the height parsing rows Deriving based on the split information for the current picture including information about the current picture, based on the prediction information for the current block included in one of the plurality of tiles, predicting the current block A step of deriving samples and restoring the current picture based on the predicted samples, wherein the width of each of width parsing skip columns from among the plurality of columns in which information about the width is not parsed Is determined as the last with write, and height parsing skip rows in which information about the height is not parsed among the plurality of rows are all determined as the last height.
본 개시에 따르면 전반적인 영상/비디오 압축 효율을 높일 수 있다.According to the present disclosure, it is possible to increase overall image/video compression efficiency.
본 개시에 따르면 픽처 파티셔닝의 효율을 높일 수 있다. According to the present disclosure, it is possible to increase the efficiency of picture partitioning.
본 개시에 따르면 현재 픽처에 대한 분할 정보를 기반으로 픽처 파티셔닝의 효율을 높일 수 있다.According to the present disclosure, it is possible to increase the efficiency of picture partitioning based on segmentation information for a current picture.
본 개시에 따르면 현재 픽처를 구성하는 복수의 타일들 중 폭(width) 및 높이(height)에 대한 정보가 파싱되지 않는 길이 파싱 스킵 타일들(length parsing skip tiles) 각각의 폭(또는 높이)을 시그널링 된 폭들(또는 높이들) 중 마지막 폭(또는 높이)을 기반으로 결정함으로써, 픽처 파티셔닝을 위한 시그널링의 효율을 높일 수 있다.According to the present disclosure, a width (or height) of each of length parsing skip tiles in which information about a width and a height is not parsed among a plurality of tiles constituting a current picture is signaled. By determining based on the last width (or height) of the set widths (or heights), it is possible to increase the efficiency of signaling for picture partitioning.
도 1은 본 개시가 적용될 수 있는 비디오/영상 코딩 시스템의 예를 개략적으로 나타낸다.1 schematically shows an example of a video/video coding system to which the present disclosure can be applied.
도 2는 본 개시가 적용될 수 있는 비디오/영상 인코딩 장치의 구성을 개략적으로 설명하는 도면이다. 2 is a diagram schematically illustrating a configuration of a video/video encoding apparatus to which the present disclosure can be applied.
도 3은 본 개시가 적용될 수 있는 비디오/영상 디코딩 장치의 구성을 개략적으로 설명하는 도면이다.3 is a diagram schematically illustrating a configuration of a video/video decoding apparatus to which the present disclosure can be applied.
도 4는 일 실시예에 따른 타일 및/또는 타일 그룹에 기반한 픽처 인코딩 절차를 도시하는 흐름도이다.4 is a flowchart illustrating a picture encoding procedure based on a tile and/or a tile group according to an embodiment.
도 5는 일 실시예에 따른 타일 및/또는 타일 그룹에 기반한 픽처 디코딩 절차를 도시하는 흐름도이다.5 is a flowchart illustrating a picture decoding procedure based on a tile and/or a tile group according to an embodiment.
도 6은 픽처를 타일 단위로 분할하는 일 예시를 도시하는 도면이다.6 is a diagram illustrating an example of dividing a picture into tiles.
도 7은 일 실시예에 따른 인코딩 장치의 구성을 도시하는 블록도이다.7 is a block diagram illustrating a configuration of an encoding device according to an embodiment.
도 8은 일 실시예에 따른 디코딩 장치의 구성을 도시하는 흐름도이다.8 is a flowchart illustrating a configuration of a decoding apparatus according to an embodiment.
도 9는 현재 픽처를 구성하는 타일 및 타일 그룹 단위의 일 예시를 도시하는 도면이다.9 is a diagram illustrating an example of a tile and a tile group unit constituting a current picture.
도 10은 타일 그룹 정보의 시그널링 구조의 일 예시를 개략적으로 도시하는 도면이다.10 is a diagram schematically illustrating an example of a signaling structure of tile group information.
도 11은 일 실시예에 따른 인코딩 장치의 동작을 도시하는 흐름도이다.11 is a flowchart illustrating an operation of an encoding device according to an embodiment.
도 12는 다른 일 실시예에 따른 인코딩 장치의 구성을 도시하는 블록도이다.12 is a block diagram illustrating a configuration of an encoding device according to another embodiment.
도 13은 일 실시예에 따른 디코딩 장치의 동작을 도시하는 흐름도이다.13 is a flowchart illustrating an operation of a decoding apparatus according to an embodiment.
도 14는 다른 일 실시예에 따른 디코딩 장치의 구성을 도시하는 블록도이다.14 is a block diagram illustrating a configuration of a decoding apparatus according to another embodiment.
도 15는 본 문서의 개시가 적용될 수 있는 컨텐츠 스트리밍 시스템의 예를 나타낸다.15 shows an example of a content streaming system to which the disclosure of this document can be applied.
본 개시의 일 실시예에 따르면, 디코딩 장치에 의하여 수행되는 영상 디코딩 방법이 제공된다. 상기 방법은, 현재 픽처에 대한 분할 정보(partition information) 및 상기 현재 픽처에 포함된 현재 블록에 대한 예측 정보(prediction information)를 포함하는 비트스트림을 수신하는 단계, 복수의 타일들(a plurality of tiles)에 기반한 상기 현재 픽처의 제1 분할 구조(partitioning structure)를, 상기 제1 분할 구조를 도출하기 위한 복수의 열들 중 폭(width)에 대한 정보가 파싱되는 폭 파싱 열들(width parsing columns)의 개수에 대한 정보, 상기 폭 파싱 열들의 폭들(widths) 중 마지막에 파싱되는 폭을 나타내는 라스트 위드쓰(last width)에 대한 정보, 상기 제1 분할 구조를 도출하기 위한 복수의 행들 중 높이(height)에 대한 정보가 파싱되는 높이 파싱 행들(height parsing rows)의 개수에 대한 정보 및 상기 높이 파싱 행들의 높이들(heights) 중 마지막에 파싱되는 높이를 나타내는 라스트 하이트(last height)에 대한 정보를 포함하는 상기 현재 픽처에 대한 상기 분할 정보를 기반으로 도출하는 단계, 상기 복수의 타일들 중 하나의 타일에 포함된 상기 현재 블록에 대한 상기 예측 정보를 기반으로, 상기 현재 블록에 대한 예측 샘플들을 도출하는 단계 및 상기 예측 샘플들을 기반으로 상기 현재 픽처를 복원하는 단계를 포함하되, 상기 복수의 열들 중 상기 폭에 대한 정보가 파싱되지 않는 폭 파싱 스킵 열들(width parsing skip columns) 각각의 폭은 전부 상기 라스트 위드쓰로 결정되고, 상기 복수의 행들 중 상기 높이에 대한 정보가 파싱되지 않는 높이 파싱 스킵 행들(height parsing skip rows) 각각의 높이는 전부 상기 라스트 하이트로 결정되는 것을 특징으로 한다.According to an embodiment of the present disclosure, a method of decoding an image performed by a decoding apparatus is provided. The method includes receiving a bitstream including partition information for a current picture and prediction information for a current block included in the current picture, a plurality of tiles The number of width parsing columns in which information about a width is parsed among a plurality of columns for deriving the first partitioning structure based on the first partitioning structure of the current picture based on) Information, information on the last width indicating the last parsed width among the widths of the width parsing columns, and the height among a plurality of rows for deriving the first split structure The above including information on the number of height parsing rows for which information is parsed, and information on a last height indicating a height parsed last among heights of the height parsing rows. Deriving based on the split information for a current picture, deriving prediction samples for the current block based on the prediction information for the current block included in one of the plurality of tiles, and Including the step of restoring the current picture based on the prediction samples, wherein the width of each of width parsing skip columns in which information about the width is not parsed among the plurality of columns is the last width The height of each of height parsing skip rows in which information about the height is not parsed among the plurality of rows is determined to be the last height.
본 개시는 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세하게 설명하고자 한다. 그러나, 이는 본 개시를 특정 실시예에 한정하려고 하는 것이 아니다. 본 명세서에서 상용하는 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 개시의 기술적 사상을 한정하려는 의도로 사용되는 것은 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 명세서에서 "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성 요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성 요소, 부품 도는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.In the present disclosure, various changes may be made and various embodiments may be provided, and specific embodiments will be illustrated in the drawings and described in detail. However, this is not intended to limit the present disclosure to specific embodiments. Terms commonly used in the present specification are used only to describe specific embodiments, and are not intended to limit the technical idea of the present disclosure. Singular expressions include plural expressions unless the context clearly indicates otherwise. In the present specification, terms such as "comprise" or "have" are intended to designate the presence of features, numbers, steps, actions, components, parts, or a combination thereof described in the specification, but one or more other features or It is to be understood that the presence or addition of numbers, steps, actions, components, parts or combinations thereof does not preclude the possibility of preliminary exclusion.
한편, 본 개시에서 설명되는 도면상의 각 구성들은 서로 다른 특징적인 기능들에 관한 설명의 편의를 위해 독립적으로 도시된 것으로서, 각 구성들이 서로 별개의 하드웨어나 별개의 소프트웨어로 구현된다는 것을 의미하지는 않는다. 예컨대, 각 구성 중 두 개 이상의 구성이 합쳐져 하나의 구성을 이룰 수도 있고, 하나의 구성이 복수의 구성으로 나뉘어질 수도 있다. 각 구성이 통합 및/또는 분리된 실시예도 본 개시의 본질에서 벗어나지 않는 한 본 개시의 권리범위에 포함된다.Meanwhile, each of the components in the drawings described in the present disclosure 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. For example, 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 present disclosure unless departing from the essence of the disclosure.
이 문서는 비디오/영상 코딩에 관한 것이다. 예를 들어 이 문서에서 개시된 방법/실시예는 VVC (versatile video coding) 표준, EVC (essential video coding) 표준, AV1 (AOMedia Video 1) 표준, AVS2 (2nd generation of audio video coding standard) 또는 차세대 비디오/영상 코딩 표준(ex. H.267 or H.268 등)에 개시되는 방법에 적용될 수 있다.This document is about video/image coding. For example, the method/embodiment disclosed in this document is a versatile video coding (VVC) standard, an essential video coding (EVC) standard, an AOMedia Video 1 (AV1) standard, a 2nd generation of audio video coding standard (AVS2), or a next-generation video/ It can be applied to a method disclosed in an image coding standard (ex. H.267 or H.268, etc.).
이 문서에서는 비디오/영상 코딩에 관한 다양한 실시예들을 제시하며, 다른 언급이 없는 한 상기 실시예들은 서로 조합되어 수행될 수도 있다. In this document, various embodiments related to video/image coding are presented, and the embodiments may be performed in combination with each other unless otherwise stated.
이 문서에서 비디오(video)는 시간의 흐름에 따른 일련의 영상(image)들의 집합을 의미할 수 있다. 픽처(picture)는 일반적으로 특정 시간대의 하나의 영상을 나타내는 단위를 의미하며, 슬라이스(slice)/타일(tile)는 코딩에 있어서 픽처의 일부를 구성하는 단위이다. 슬라이스/타일은 하나 이상의 CTU(coding tree unit)을 포함할 수 있다. 하나의 픽처는 하나 이상의 슬라이스/타일로 구성될 수 있다. 하나의 픽처는 하나 이상의 타일 그룹으로 구성될 수 있다. 하나의 타일 그룹은 하나 이상의 타일들을 포함할 수 있다. 브릭은 픽처 내 타일 이내의 CTU 행들의 사각 영역을 나타낼 수 있다(a brick may represent a rectangular region of CTU rows within a tile in a picture). 타일은 다수의 브릭들로 파티셔닝될 수 있고, 각 브릭은 상기 타일 내 하나 이상의 CTU 행들로 구성될 수 있다(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). 브릭 스캔은 픽처를 파티셔닝하는 CTU들의 특정한 순차적 오더링을 나타낼 수 있으며, 상기 CTU들은 브릭 내에서 CTU 래스터 스캔으로 정렬될 수 있고, 타일 내 브릭들은 상기 타일의 상기 브릭들의 래스터 스캔으로 연속적으로 정렬될 수 있고, 그리고 픽처 내 타일들은 상기 픽처의 상기 타일들의 래스터 스캔으로 연속적으로 정렬될 수 있다(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, and tiles in a picture are ordered consecutively in a raster scan of the tiles of the picture). 타일은 특정 타일 열 및 특정 타일 열 이내의 CTU들의 사각 영역이다(A tile is a rectangular region of CTUs within a particular tile column and a particular tile row in a picture). 상기 타일 열은 CTU들의 사각 영역이고, 상기 사각 영역은 상기 픽처의 높이와 동일한 높이를 갖고, 너비는 픽처 파라미터 세트 내의 신택스 요소들에 의하여 명시될 수 있다(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). 상기 타일 행은 CTU들의 사각 영역이고, 상기 사각 영역은 픽처 파라미터 세트 내의 신택스 요소들에 의하여 명시되는 너비를 갖고, 높이는 상기 픽처의 높이와 동일할 수 있다(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). 타일 스캔은 픽처를 파티셔닝하는 CTU들의 특정 순차적 오더링을 나타낼 수 있고, 상기 CTU들은 타일 내 CTU 래스터 스캔으로 연속적으로 정렬될 수 있고, 픽처 내 타일들은 상기 픽처의 상기 타일들의 래스터 스캔으로 연속적으로 정렬될 수 있다(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). 슬라이스는 픽처의 정수개의 브릭들을 포함할 수 있고, 상기 정수개의 브릭들은 하나의 NAL 유닛에 포함될 수 있다(A slice includes an integer number of bricks of a picture that may be exclusively contained in a single NAL unit). 슬라이스는 다수의 완전한 타일들로 구성될 수 있고, 또는 하나의 타일의 완전한 브릭들의 연속적인 시퀀스일 수도 있다(A slice may consists of either a number of complete tiles or only a consecutive sequence of complete bricks of one tile). 이 문서에서 타일 그룹과 슬라이스는 혼용될 수 있다. 예를 들어 본 문서에서 tile group/tile group header는 slice/slice header로 불리 수 있다. In this document, video may mean a set of images over time. A picture generally refers to a unit representing one image in a specific time period, and a slice/tile is a unit constituting a part of a picture in coding. A slice/tile may include one or more coding tree units (CTU). One picture may be composed of one or more slices/tiles. One picture may 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, and bricks in a tile may be sequentially arranged in a raster scan of the bricks of the tile. And, 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, and 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. For example, in this document, the tile group/tile group header may be referred to as a slice/slice header.
픽셀(pixel) 또는 펠(pel)은 하나의 픽처(또는 영상)을 구성하는 최소의 단위를 의미할 수 있다. 또한, 픽셀에 대응하는 용어로서 '샘플(sample)'이 사용될 수 있다. 샘플은 일반적으로 픽셀 또는 픽셀의 값을 나타낼 수 있으며, 루마(luma) 성분의 픽셀/픽셀값만을 나타낼 수도 있고, 크로마(chroma) 성분의 픽셀/픽셀 값만을 나타낼 수도 있다. A pixel or pel may mean a minimum unit constituting one picture (or image). In addition,'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.
유닛(unit)은 영상 처리의 기본 단위를 나타낼 수 있다. 유닛은 픽처의 특정 영역 및 해당 영역에 관련된 정보 중 적어도 하나를 포함할 수 있다. 하나의 유닛은 하나의 루마 블록 및 두개의 크로마(ex. cb, cr) 블록을 포함할 수 있다. 유닛은 경우에 따라서 블록(block) 또는 영역(area) 등의 용어와 혼용하여 사용될 수 있다. 일반적인 경우, MxN 블록은 M개의 열과 N개의 행으로 이루어진 샘플들(또는 샘플 어레이) 또는 변환 계수(transform coefficient)들의 집합(또는 어레이)을 포함할 수 있다.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. In general, the MxN block may include samples (or sample arrays) consisting of M columns and N rows, or a set (or array) of transform coefficients.
이하, 첨부한 도면들을 참조하여, 본 개시의 바람직한 실시예를 보다 상세하게 설명하고자 한다. 이하, 도면상의 동일한 구성 요소에 대해서는 동일한 참조 부호를 사용하고 동일한 구성 요소에 대해서 중복된 설명은 생략될 수 있다.Hereinafter, preferred embodiments of the present disclosure will be described in more detail with reference to the accompanying drawings. Hereinafter, the same reference numerals are used for the same constituent elements in the drawings, and duplicate descriptions for the same constituent elements may be omitted.
도 1은 본 개시가 적용될 수 있는 비디오/영상 코딩 시스템의 예를 개략적으로 나타낸다.1 schematically shows an example of a video/video coding system to which the present disclosure can be applied.
도 1을 참조하면, 비디오/영상 코딩 시스템은 제1 장치(소스 디바이스) 및 제2 장치(수신 디바이스)를 포함할 수 있다. 소스 디바이스는 인코딩된 비디오(video)/영상(image) 정보 또는 데이터를 파일 또는 스트리밍 형태로 디지털 저장매체 또는 네트워크를 통하여 수신 디바이스로 전달할 수 있다. Referring to FIG. 1, 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 a video/image. The video source may include a video/image capturing device and/or a video/image generating device. The video/image capture device may include, for example, one or more cameras, a video/image archive including previously captured video/images, and the like. The video/image generating device may include, for example, a computer, a tablet and a smartphone, and may (electronically) generate a video/image. For example, 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.
인코딩 장치는 입력 비디오/영상을 인코딩할 수 있다. 인코딩 장치는 압축 및 코딩 효율을 위하여 예측, 변환, 양자화 등 일련의 절차를 수행할 수 있다. 인코딩된 데이터(인코딩된 비디오/영상 정보)는 비트스트림(bitstream) 형태로 출력될 수 있다.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.
전송부는 비트스트림 형태로 출력된 인코딩된 비디오/영상 정보 또는 데이터를 파일 또는 스트리밍 형태로 디지털 저장매체 또는 네트워크를 통하여 수신 디바이스의 수신부로 전달할 수 있다. 디지털 저장 매체는 USB, SD, CD, DVD, 블루레이, HDD, SSD 등 다양한 저장 매체를 포함할 수 있다. 전송부는 미리 정해진 파일 포멧을 통하여 미디어 파일을 생성하기 위한 엘리먼트를 포함할 수 있고, 방송/통신 네트워크를 통한 전송을 위한 엘리먼트를 포함할 수 있다. 수신부는 상기 비트스트림을 수신/추출하여 디코딩 장치로 전달할 수 있다.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.
도 2는 본 개시가 적용될 수 있는 비디오/영상 인코딩 장치의 구성을 개략적으로 설명하는 도면이다. 이하 비디오 인코딩 장치라 함은 영상 인코딩 장치를 포함할 수 있다. 2 is a diagram schematically illustrating a configuration of a video/video encoding apparatus to which the present disclosure can be applied. Hereinafter, the video encoding device may include an image encoding device.
도 2를 참조하면, 인코딩 장치(200)는 영상 분할부(image partitioner, 210), 예측부(predictor, 220), 레지듀얼 처리부(residual processor, 230), 엔트로피 인코딩부(entropy encoder, 240), 가산부(adder, 250), 필터링부(filter, 260) 및 메모리(memory, 270)를 포함하여 구성될 수 있다. 예측부(220)는 인터 예측부(221) 및 인트라 예측부(222)를 포함할 수 있다. 레지듀얼 처리부(230)는 변환부(transformer, 232), 양자화부(quantizer 233), 역양자화부(dequantizer 234), 역변환부(inverse transformer, 235)를 포함할 수 있다. 레지듀얼 처리부(230)은 감산부(subtractor, 231)를 더 포함할 수 있다. 가산부(250)는 복원부(reconstructor) 또는 복원 블록 생성부(recontructged block generator)로 불릴 수 있다. 상술한 영상 분할부(210), 예측부(220), 레지듀얼 처리부(230), 엔트로피 인코딩부(240), 가산부(250) 및 필터링부(260)는 실시예에 따라 하나 이상의 하드웨어 컴포넌트(예를 들어 인코더 칩셋 또는 프로세서)에 의하여 구성될 수 있다. 또한 메모리(270)는 DPB(decoded picture buffer)를 포함할 수 있고, 디지털 저장 매체에 의하여 구성될 수도 있다. 상기 하드웨어 컴포넌트는 메모리(270)을 내/외부 컴포넌트로 더 포함할 수도 있다.2, 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). In addition, 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.
영상 분할부(210)는 인코딩 장치(200)에 입력된 입력 영상(또는, 픽쳐, 프레임)를 하나 이상의 처리 유닛(processing unit)으로 분할할 수 있다. 일 예로, 상기 처리 유닛은 코딩 유닛(coding unit, CU)이라고 불릴 수 있다. 이 경우 코딩 유닛은 코딩 트리 유닛(coding tree unit, CTU) 또는 최대 코딩 유닛(largest coding unit, LCU)으로부터 QTBTTT (Quad-tree binary-tree ternary-tree) 구조에 따라 재귀적으로(recursively) 분할될 수 있다. 예를 들어, 하나의 코딩 유닛은 쿼드 트리 구조, 바이너리 트리 구조, 및/또는 터너리 구조를 기반으로 하위(deeper) 뎁스의 복수의 코딩 유닛들로 분할될 수 있다. 이 경우 예를 들어 쿼드 트리 구조가 먼저 적용되고 바이너리 트리 구조 및/또는 터너리 구조가 나중에 적용될 수 있다. 또는 바이너리 트리 구조가 먼저 적용될 수도 있다. 더 이상 분할되지 않는 최종 코딩 유닛을 기반으로 본 개시에 따른 코딩 절차가 수행될 수 있다. 이 경우 영상 특성에 따른 코딩 효율 등을 기반으로, 최대 코딩 유닛이 바로 최종 코딩 유닛으로 사용될 수 있고, 또는 필요에 따라 코딩 유닛은 재귀적으로(recursively) 보다 하위 뎁스의 코딩 유닛들로 분할되어 최적의 사이즈의 코딩 유닛이 최종 코딩 유닛으로 사용될 수 있다. 여기서 코딩 절차라 함은 후술하는 예측, 변환, 및 복원 등의 절차를 포함할 수 있다. 다른 예로, 상기 처리 유닛은 예측 유닛(PU: Prediction Unit) 또는 변환 유닛(TU: Transform Unit)을 더 포함할 수 있다. 이 경우 상기 예측 유닛 및 상기 변환 유닛은 각각 상술한 최종 코딩 유닛으로부터 분할 또는 파티셔닝될 수 있다. 상기 예측 유닛은 샘플 예측의 단위일 수 있고, 상기 변환 유닛은 변환 계수를 유도하는 단위 및/또는 변환 계수로부터 레지듀얼 신호(residual signal)를 유도하는 단위일 수 있다. 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. For example, the processing unit may be referred to as a coding unit (CU). In this case, 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). I can. For example, 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. In this case, for example, a quad tree structure may be applied first, and a binary tree structure and/or a ternary structure may be applied later. Alternatively, the binary tree structure may be applied first. The coding procedure according to the present disclosure 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. Here, the coding procedure may include a procedure such as prediction, transformation, and restoration described later. As another example, the processing unit may further include a prediction unit (PU) or a transform unit (TU). In this case, 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, and 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.
유닛은 경우에 따라서 블록(block) 또는 영역(area) 등의 용어와 혼용하여 사용될 수 있다. 일반적인 경우, MxN 블록은 M개의 열과 N개의 행으로 이루어진 샘플들 또는 변환 계수(transform coefficient)들의 집합을 나타낼 수 있다. 샘플은 일반적으로 픽셀 또는 픽셀의 값을 나타낼 수 있으며, 휘도(luma) 성분의 픽셀/픽셀값만을 나타낼 수도 있고, 채도(chroma) 성분의 픽셀/픽셀 값만을 나타낼 수도 있다. 샘플은 하나의 픽처(또는 영상)을 픽셀(pixel) 또는 펠(pel)에 대응하는 용어로서 사용될 수 있다.The unit may be used interchangeably with terms such as a block or an area depending on the case. In general, the MxN block may represent a set of samples or transform coefficients consisting of M columns and N rows. In general, 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.
인코딩 장치(200)는 입력 영상 신호(원본 블록, 원본 샘플 어레이)에서 인터 예측부(221) 또는 인트라 예측부(222)로부터 출력된 예측 신호(예측된 블록, 예측 샘플 어레이)를 감산하여 레지듀얼 신호(residual signal, 잔여 블록, 잔여 샘플 어레이)를 생성할 수 있고, 생성된 레지듀얼 신호는 변환부(232)로 전송된다. 이 경우 도시된 바와 같이 인코더(200) 내에서 입력 영상 신호(원본 블록, 원본 샘플 어레이)에서 예측 신호(예측 블록, 예측 샘플 어레이)를 감산하는 유닛은 감산부(231)라고 불릴 수 있다. 예측부는 처리 대상 블록(이하, 현재 블록이라 함)에 대한 예측을 수행하고, 상기 현재 블록에 대한 예측 샘플들을 포함하는 예측된 블록(predicted block)을 생성할 수 있다. 예측부는 현재 블록 또는 CU 단위로 인트라 예측이 적용되는지 또는 인터 예측이 적용되는지 결정할 수 있다. 예측부는 각 예측모드에 대한 설명에서 후술하는 바와 같이 예측 모드 정보 등 예측에 관한 다양한 정보를 생성하여 엔트로피 인코딩부(240)로 전달할 수 있다. 예측에 관한 정보는 엔트로피 인코딩부(240)에서 인코딩되어 비트스트림 형태로 출력될 수 있다. 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) may be generated, and the generated residual signal is transmitted to the converter 232. In this case, as illustrated, 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.
인트라 예측부(222)는 현재 픽처 내의 샘플들을 참조하여 현재 블록을 예측할 수 있다. 상기 참조되는 샘플들은 예측 모드에 따라 상기 현재 블록의 주변(neighbor)에 위치할 수 있고, 또는 떨어져서 위치할 수도 있다. 인트라 예측에서 예측 모드들은 복수의 비방향성 모드와 복수의 방향성 모드를 포함할 수 있다. 비방향성 모드는 예를 들어 DC 모드 및 플래너 모드(Planar 모드)를 포함할 수 있다. 방향성 모드는 예측 방향의 세밀한 정도에 따라 예를 들어 33개의 방향성 예측 모드 또는 65개의 방향성 예측 모드를 포함할 수 있다. 다만, 이는 예시로서 설정에 따라 그 이상 또는 그 이하의 개수의 방향성 예측 모드들이 사용될 수 있다. 인트라 예측부(222)는 주변 블록에 적용된 예측 모드를 이용하여, 현재 블록에 적용되는 예측 모드를 결정할 수도 있다.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. In intra prediction, 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.
인터 예측부(221)는 참조 픽처 상에서 움직임 벡터에 의해 특정되는 참조 블록(참조 샘플 어레이)을 기반으로, 현재 블록에 대한 예측된 블록을 유도할 수 있다. 이때, 인터 예측 모드에서 전송되는 움직임 정보의 양을 줄이기 위해 주변 블록과 현재 블록 간의 움직임 정보의 상관성에 기초하여 움직임 정보를 블록, 서브블록 또는 샘플 단위로 예측할 수 있다. 상기 움직임 정보는 움직임 벡터 및 참조 픽처 인덱스를 포함할 수 있다. 상기 움직임 정보는 인터 예측 방향(L0 예측, L1 예측, Bi 예측 등) 정보를 더 포함할 수 있다. 인터 예측의 경우에, 주변 블록은 현재 픽처 내에 존재하는 공간적 주변 블록(spatial neighboring block)과 참조 픽처에 존재하는 시간적 주변 블록(temporal neighboring block)을 포함할 수 있다. 상기 참조 블록을 포함하는 참조 픽처와 상기 시간적 주변 블록을 포함하는 참조 픽처는 동일할 수도 있고, 다를 수도 있다. 상기 시간적 주변 블록은 동일 위치 참조 블록(collocated reference block), 동일 위치 CU(colCU) 등의 이름으로 불릴 수 있으며, 상기 시간적 주변 블록을 포함하는 참조 픽처는 동일 위치 픽처(collocated picture, colPic)라고 불릴 수도 있다. 예를 들어, 인터 예측부(221)는 주변 블록들을 기반으로 움직임 정보 후보 리스트를 구성하고, 상기 현재 블록의 움직임 벡터 및/또는 참조 픽처 인덱스를 도출하기 위하여 어떤 후보가 사용되는지를 지시하는 정보를 생성할 수 있다. 다양한 예측 모드를 기반으로 인터 예측이 수행될 수 있으며, 예를 들어 스킵 모드와 머지 모드의 경우에, 인터 예측부(221)는 주변 블록의 움직임 정보를 현재 블록의 움직임 정보로 이용할 수 있다. 스킵 모드의 경우, 머지 모드와 달리 레지듀얼 신호가 전송되지 않을 수 있다. 움직임 정보 예측(motion vector prediction, MVP) 모드의 경우, 주변 블록의 움직임 벡터를 움직임 벡터 예측자(motion vector predictor)로 이용하고, 움직임 벡터 차분(motion vector difference)을 시그널링함으로써 현재 블록의 움직임 벡터를 지시할 수 있다.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. In this case, in order to reduce the amount of motion information transmitted in the inter prediction mode, motion information may be predicted in units of blocks, subblocks, or samples based on correlation between motion information between neighboring blocks and the 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. In the case of inter prediction, 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). May be. For example, 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. For example, in the case of a skip mode and a merge mode, the inter prediction unit 221 may use motion information of a neighboring block as motion information of a current block. In the case of the skip mode, unlike the merge mode, a residual signal may not be transmitted. In the case of motion vector prediction (MVP) mode, 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.
예측부(220)는 후술하는 다양한 예측 방법을 기반으로 예측 신호를 생성할 수 있다. 예를 들어, 예측부는 하나의 블록에 대한 예측을 위하여 인트라 예측 또는 인터 예측을 적용할 수 있을 뿐 아니라, 인트라 예측과 인터 예측을 동시에 적용할 수 있다. 이는 combined inter and intra prediction (CIIP)라고 불릴 수 있다. 또한, 예측부는 블록에 대한 예측을 위하여 인트라 블록 카피(intra block copy, IBC) 예측 모드에 기반할 수도 있고 또는 팔레트 모드(palette mode)에 기반할 수도 있다. 상기 IBC 예측 모드 또는 팔레트 모드는 예를 들어 SCC(screen content coding) 등과 같이 게임 등의 컨텐츠 영상/동영상 코딩을 위하여 사용될 수 있다. IBC는 기본적으로 현재 픽처 내에서 예측을 수행하나 현재 픽처 내에서 참조 블록을 도출하는 점에서 인터 예측과 유사하게 수행될 수 있다. 즉, IBC는 본 문서에서 설명되는 인터 예측 기법들 중 적어도 하나를 이용할 수 있다. 팔레트 모드는 인트라 코딩 또는 인트라 예측의 일 예로 볼 수 있다. 팔레트 모드가 적용되는 경우 팔레트 테이블 및 팔레트 인덱스에 관한 정보를 기반으로 픽처 내 샘플 값을 시그널링할 수 있다. The prediction unit 220 may generate a prediction signal based on various prediction methods to be described later. For example, 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). In addition, the prediction unit may be based on an intra block copy (IBC) prediction mode or a palette mode to predict a block. 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). IBC basically performs prediction in the current picture, but can be performed similarly to inter prediction in that it derives a reference block in the current picture. That is, the IBC may use at least one of the inter prediction techniques described in this document. The palette mode can be viewed as an example of intra coding or intra prediction. When the palette mode is applied, a sample value in a picture may be signaled based on information about a palette table and a palette index.
상기 예측부 (인터 예측부(221) 및/또는 상기 인트라 예측부(222) 포함)를 통해 생성된 예측 신호는 복원 신호를 생성하기 위해 이용되거나 레지듀얼 신호를 생성하기 위해 이용될 수 있다. 변환부(232)는 레지듀얼 신호에 변환 기법을 적용하여 변환 계수들(transform coefficients)를 생성할 수 있다. 예를 들어, 변환 기법은 DCT(Discrete Cosine Transform), DST(Discrete Sine Transform), KLT(Karhunen-Loeve Transform), GBT(Graph-Based Transform), 또는 CNT(Conditionally Non-linear Transform) 중 적어도 하나를 포함할 수 있다. 여기서, GBT는 픽셀 간의 관계 정보를 그래프로 표현한다고 할 때 이 그래프로부터 얻어진 변환을 의미한다. CNT는 이전에 복원된 모든 픽셀(all previously reconstructed pixel)를 이용하여 예측 신호를 생성하고 그에 기초하여 획득되는 변환을 의미한다. 또한, 변환 과정은 정사각형의 동일한 크기를 갖는 픽셀 블록에 적용될 수도 있고, 정사각형이 아닌 가변 크기의 블록에도 적용될 수 있다.The prediction signal generated through the prediction unit (including the inter prediction unit 221 and/or the intra prediction unit 222) 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. For example, the transformation technique uses at least one of DCT (Discrete Cosine Transform), DST (Discrete Sine Transform), KLT (Karhunen-Loeve Transform), GBT (Graph-Based Transform), or CNT (Conditionally Non-linear Transform). Can include. Here, 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. In addition, 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.
양자화부(233)는 변환 계수들을 양자화하여 엔트로피 인코딩부(240)로 전송되고, 엔트로피 인코딩부(240)는 양자화된 신호(양자화된 변환 계수들에 관한 정보)를 인코딩하여 비트스트림으로 출력할 수 있다. 상기 양자화된 변환 계수들에 관한 정보는 레지듀얼 정보라고 불릴 수 있다. 양자화부(233)는 계수 스캔 순서(scan order)를 기반으로 블록 형태의 양자화된 변환 계수들을 1차원 벡터 형태로 재정렬할 수 있고, 상기 1차원 벡터 형태의 양자화된 변환 계수들을 기반으로 상기 양자화된 변환 계수들에 관한 정보를 생성할 수도 있다. 엔트로피 인코딩부(240)는 예를 들어 지수 골롬(exponential Golomb), CAVLC(context-adaptive variable length coding), CABAC(context-adaptive binary arithmetic coding) 등과 같은 다양한 인코딩 방법을 수행할 수 있다. 엔트로피 인코딩부(240)는 양자화된 변환 계수들 외 비디오/이미지 복원에 필요한 정보들(예컨대 신택스 요소들(syntax elements)의 값 등)을 함께 또는 별도로 인코딩할 수도 있다. 인코딩된 정보(ex. 인코딩된 비디오/영상 정보)는 비트스트림 형태로 NAL(network abstraction layer) 유닛 단위로 전송 또는 저장될 수 있다. 상기 비디오/영상 정보는 어댑테이션 파라미터 세트(APS), 픽처 파라미터 세트(PPS), 시퀀스 파라미터 세트(SPS) 또는 비디오 파라미터 세트(VPS) 등 다양한 파라미터 세트에 관한 정보를 더 포함할 수 있다. 또한 상기 비디오/영상 정보는 일반 제한 정보(general constraint information)을 더 포함할 수 있다. 본 문서에서 인코딩 장치에서 디코딩 장치로 전달/시그널링되는 정보 및/또는 신택스 요소들은 비디오/영상 정보에 포함될 수 있다. 상기 비디오/영상 정보는 상술한 인코딩 절차를 통하여 인코딩되어 상기 비트스트림에 포함될 수 있다. 상기 비트스트림은 네트워크를 통하여 전송될 수 있고, 또는 디지털 저장매체에 저장될 수 있다. 여기서 네트워크는 방송망 및/또는 통신망 등을 포함할 수 있고, 디지털 저장매체는 USB, SD, CD, DVD, 블루레이, HDD, SSD 등 다양한 저장매체를 포함할 수 있다. 엔트로피 인코딩부(240)로부터 출력된 신호는 전송하는 전송부(미도시) 및/또는 저장하는 저장부(미도시)가 인코딩 장치(200)의 내/외부 엘리먼트로서 구성될 수 있고, 또는 전송부는 엔트로피 인코딩부(240)에 포함될 수도 있다.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). In addition, the video/video information may further include general constraint information. In this document, 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. Here, the network may include a broadcasting network and/or a communication network, and the digital storage medium may include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, and SSD. For the signal output from the entropy encoding unit 240, a transmission unit (not shown) 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.
양자화부(233)로부터 출력된 양자화된 변환 계수들은 예측 신호를 생성하기 위해 이용될 수 있다. 예를 들어, 양자화된 변환 계수들에 역양자화부(234) 및 역변환부(235)를 통해 역양자화 및 역변환을 적용함으로써 레지듀얼 신호(레지듀얼 블록 or 레지듀얼 샘플들)를 복원할 수 있다. 가산부(155)는 복원된 레지듀얼 신호를 인터 예측부(221) 또는 인트라 예측부(222)로부터 출력된 예측 신호에 더함으로써 복원(reconstructed) 신호(복원 픽처, 복원 블록, 복원 샘플 어레이)가 생성될 수 있다. 스킵 모드가 적용된 경우와 같이 처리 대상 블록에 대한 레지듀얼이 없는 경우, 예측된 블록이 복원 블록으로 사용될 수 있다. 가산부(250)는 복원부 또는 복원 블록 생성부라고 불릴 수 있다. 생성된 복원 신호는 현재 픽처 내 다음 처리 대상 블록의 인트라 예측을 위하여 사용될 수 있고, 후술하는 바와 같이 필터링을 거쳐서 다음 픽처의 인터 예측을 위하여 사용될 수도 있다. The quantized transform coefficients output from the quantization unit 233 may be used to generate a prediction signal. For example, a residual signal (residual block or residual samples) may be restored by applying inverse quantization and inverse transform to the quantized transform coefficients through the inverse quantization unit 234 and the inverse transform unit 235. 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. 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 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)가 적용될 수도 있다.Meanwhile, luma mapping with chroma scaling (LMCS) may be applied during picture encoding and/or reconstruction.
필터링부(260)는 복원 신호에 필터링을 적용하여 주관적/객관적 화질을 향상시킬 수 있다. 예를 들어 필터링부(260)은 복원 픽처에 다양한 필터링 방법을 적용하여 수정된(modified) 복원 픽처를 생성할 수 있고, 상기 수정된 복원 픽처를 메모리(270), 구체적으로 메모리(270)의 DPB에 저장할 수 있다. 상기 다양한 필터링 방법은 예를 들어, 디블록킹 필터링, 샘플 적응적 오프셋(sample adaptive offset), 적응적 루프 필터(adaptive loop filter), 양방향 필터(bilateral filter) 등을 포함할 수 있다. 필터링부(260)은 각 필터링 방법에 대한 설명에서 후술하는 바와 같이 필터링에 관한 다양한 정보를 생성하여 엔트로피 인코딩부(240)로 전달할 수 있다. 필터링 관한 정보는 엔트로피 인코딩부(240)에서 인코딩되어 비트스트림 형태로 출력될 수 있다. The filtering unit 260 may improve subjective/objective image quality by applying filtering to the reconstructed signal. For example, 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.
메모리(270)에 전송된 수정된 복원 픽처는 인터 예측부(221)에서 참조 픽처로 사용될 수 있다. 인코딩 장치는 이를 통하여 인터 예측이 적용되는 경우, 인코딩 장치(100)와 디코딩 장치에서의 예측 미스매치를 피할 수 있고, 부호화 효율도 향상시킬 수 있다. The modified reconstructed picture transmitted to the memory 270 may be used as a reference picture in the inter prediction unit 221. When inter prediction is applied through this, the encoding device may avoid prediction mismatch between the encoding device 100 and the decoding device, and may improve encoding efficiency.
메모리(270) DPB는 수정된 복원 픽처를 인터 예측부(221)에서의 참조 픽처로 사용하기 위해 저장할 수 있다. 메모리(270)는 현재 픽처 내 움직임 정보가 도출된(또는 인코딩된) 블록의 움직임 정보 및/또는 이미 복원된 픽처 내 블록들의 움직임 정보를 저장할 수 있다. 상기 저장된 움직임 정보는 공간적 주변 블록의 움직임 정보 또는 시간적 주변 블록의 움직임 정보로 활용하기 위하여 인터 예측부(221)에 전달할 수 있다. 메모리(270)는 현재 픽처 내 복원된 블록들의 복원 샘플들을 저장할 수 있고, 인트라 예측부(222)에 전달할 수 있다.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.
도 3은 본 개시가 적용될 수 있는 비디오/영상 디코딩 장치의 구성을 개략적으로 설명하는 도면이다.3 is a diagram schematically illustrating a configuration of a video/video decoding apparatus to which the present disclosure can be applied.
도 3을 참조하면, 디코딩 장치(300)는 엔트로피 디코딩부(entropy decoder, 310), 레지듀얼 처리부(residual processor, 320), 예측부(predictor, 330), 가산부(adder, 340), 필터링부(filter, 350) 및 메모리(memoery, 360)를 포함하여 구성될 수 있다. 예측부(330)는 인터 예측부(331) 및 인트라 예측부(332)를 포함할 수 있다. 레지듀얼 처리부(320)는 역양자화부(dequantizer, 321) 및 역변환부(inverse transformer, 321)를 포함할 수 있다. 상술한 엔트로피 디코딩부(310), 레지듀얼 처리부(320), 예측부(330), 가산부(340) 및 필터링부(350)는 실시예에 따라 하나의 하드웨어 컴포넌트(예를 들어 디코더 칩셋 또는 프로세서)에 의하여 구성될 수 있다. 또한 메모리(360)는 DPB(decoded picture buffer)를 포함할 수 있고, 디지털 저장 매체에 의하여 구성될 수도 있다. 상기 하드웨어 컴포넌트는 메모리(360)을 내/외부 컴포넌트로 더 포함할 수도 있다.Referring to FIG. 3, 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. In addition, 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.
비디오/영상 정보를 포함하는 비트스트림이 입력되면, 디코딩 장치(300)는 도 3의 인코딩 장치에서 비디오/영상 정보가 처리된 프로세스에 대응하여 영상을 복원할 수 있다. 예를 들어, 디코딩 장치(300)는 상기 비트스트림으로부터 획득한 블록 분할 관련 정보를 기반으로 유닛들/블록들을 도출할 수 있다. 디코딩 장치(300)는 인코딩 장치에서 적용된 처리 유닛을 이용하여 디코딩을 수행할 수 있다. 따라서 디코딩의 처리 유닛은 예를 들어 코딩 유닛일 수 있고, 코딩 유닛은 코딩 트리 유닛 또는 최대 코딩 유닛으로부터 쿼드 트리 구조, 바이너리 트리 구조 및/또는 터너리 트리 구조를 따라서 분할될 수 있다. 코딩 유닛으로부터 하나 이상의 변환 유닛이 도출될 수 있다. 그리고, 디코딩 장치(300)를 통해 디코딩 및 출력된 복원 영상 신호는 재생 장치를 통해 재생될 수 있다.When a bitstream including video/image information is input, the decoding apparatus 300 may reconstruct an image in response to a process in which the video/image information is processed by the encoding device of FIG. 3. 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. Thus, 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. In addition, the reconstructed image signal decoded and output through the decoding device 300 may be reproduced through the playback device.
디코딩 장치(300)는 도 3의 인코딩 장치로부터 출력된 신호를 비트스트림 형태로 수신할 수 있고, 수신된 신호는 엔트로피 디코딩부(310)를 통해 디코딩될 수 있다. 예를 들어, 엔트로피 디코딩부(310)는 상기 비트스트림을 파싱하여 영상 복원(또는 픽처 복원)에 필요한 정보(ex. 비디오/영상 정보)를 도출할 수 있다. 상기 비디오/영상 정보는 어댑테이션 파라미터 세트(APS), 픽처 파라미터 세트(PPS), 시퀀스 파라미터 세트(SPS) 또는 비디오 파라미터 세트(VPS) 등 다양한 파라미터 세트에 관한 정보를 더 포함할 수 있다. 또한 상기 비디오/영상 정보는 일반 제한 정보(general constraint information)을 더 포함할 수 있다. 디코딩 장치는 상기 파라미터 세트에 관한 정보 및/또는 상기 일반 제한 정보를 더 기반으로 픽처를 디코딩할 수 있다. 본 문서에서 후술되는 시그널링/수신되는 정보 및/또는 신택스 요소들은 상기 디코딩 절차를 통하여 디코딩되어 상기 비트스트림으로부터 획득될 수 있다. 예컨대, 엔트로피 디코딩부(310)는 지수 골롬 부호화, CAVLC 또는 CABAC 등의 코딩 방법을 기초로 비트스트림 내 정보를 디코딩하고, 영상 복원에 필요한 신택스 엘리먼트의 값, 레지듀얼에 관한 변환 계수의 양자화된 값 들을 출력할 수 있다. 보다 상세하게, CABAC 엔트로피 디코딩 방법은, 비트스트림에서 각 신택스 요소에 해당하는 빈을 수신하고, 디코딩 대상 신택스 요소 정보와 주변 및 디코딩 대상 블록의 디코딩 정보 혹은 이전 단계에서 디코딩된 심볼/빈의 정보를 이용하여 문맥(context) 모델을 결정하고, 결정된 문맥 모델에 따라 빈(bin)의 발생 확률을 예측하여 빈의 산술 디코딩(arithmetic decoding)를 수행하여 각 신택스 요소의 값에 해당하는 심볼을 생성할 수 있다. 이때, CABAC 엔트로피 디코딩 방법은 문맥 모델 결정 후 다음 심볼/빈의 문맥 모델을 위해 디코딩된 심볼/빈의 정보를 이용하여 문맥 모델을 업데이트할 수 있다. 엔트로피 디코딩부(310)에서 디코딩된 정보 중 예측에 관한 정보는 예측부(인터 예측부(332) 및 인트라 예측부(331))로 제공되고, 엔트로피 디코딩부(310)에서 엔트로피 디코딩이 수행된 레지듀얼 값, 즉 양자화된 변환 계수들 및 관련 파라미터 정보는 레지듀얼 처리부(320)로 입력될 수 있다. 레지듀얼 처리부(320)는 레지듀얼 신호(레지듀얼 블록, 레지듀얼 샘플들, 레지듀얼 샘플 어레이)를 도출할 수 있다. 또한, 엔트로피 디코딩부(310)에서 디코딩된 정보 중 필터링에 관한 정보는 필터링부(350)으로 제공될 수 있다. 한편, 인코딩 장치로부터 출력된 신호를 수신하는 수신부(미도시)가 디코딩 장치(300)의 내/외부 엘리먼트로서 더 구성될 수 있고, 또는 수신부는 엔트로피 디코딩부(310)의 구성요소일 수도 있다. 한편, 본 문서에 따른 디코딩 장치는 비디오/영상/픽처 디코딩 장치라고 불릴 수 있고, 상기 디코딩 장치는 정보 디코더(비디오/영상/픽처 정보 디코더) 및 샘플 디코더(비디오/영상/픽처 샘플 디코더)로 구분할 수도 있다. 상기 정보 디코더는 상기 엔트로피 디코딩부(310)를 포함할 수 있고, 상기 샘플 디코더는 상기 역양자화부(321), 역변환부(322), 가산부(340), 필터링부(350), 메모리(360), 인터 예측부(332) 및 인트라 예측부(331) 중 적어도 하나를 포함할 수 있다.The decoding apparatus 300 may receive a signal output from the encoding apparatus of FIG. 3 in the form of a bitstream, and the received signal may be decoded through the entropy decoding unit 310. For example, 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). In addition, 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. For example, 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. In more detail, 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 decoding information on a block to be decoded and a neighbor or 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. have. In this case, 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. Among the information decoded by the entropy decoding unit 310, 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). In addition, information about filtering among information decoded by the entropy decoding unit 310 may be provided to the filtering unit 350. Meanwhile, 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. Meanwhile, the decoding apparatus according to this document 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.
역양자화부(321)에서는 양자화된 변환 계수들을 역양자화하여 변환 계수들을 출력할 수 있다. 역양자화부(321)는 양자화된 변환 계수들을 2차원의 블록 형태로 재정렬할 수 있다. 이 경우 상기 재정렬은 인코딩 장치에서 수행된 계수 스캔 순서를 기반하여 재정렬을 수행할 수 있다. 역양자화부(321)는 양자화 파라미터(예를 들어 양자화 스텝 사이즈 정보)를 이용하여 양자화된 변환 계수들에 대한 역양자화를 수행하고, 변환 계수들(transform coefficient)를 획득할 수 있다. 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.
역변환부(322)에서는 변환 계수들를 역변환하여 레지듀얼 신호(레지듀얼 블록, 레지듀얼 샘플 어레이)를 획득하게 된다. The inverse transform unit 322 obtains a residual signal (residual block, residual sample array) by inverse transforming the transform coefficients.
예측부는 현재 블록에 대한 예측을 수행하고, 상기 현재 블록에 대한 예측 샘플들을 포함하는 예측된 블록(predicted block)을 생성할 수 있다. 예측부는 엔트로피 디코딩부(310)로부터 출력된 상기 예측에 관한 정보를 기반으로 상기 현재 블록에 인트라 예측이 적용되는지 또는 인터 예측이 적용되는지 결정할 수 있고, 구체적인 인트라/인터 예측 모드를 결정할 수 있다. 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.
예측부(320)는 후술하는 다양한 예측 방법을 기반으로 예측 신호를 생성할 수 있다. 예를 들어, 예측부는 하나의 블록에 대한 예측을 위하여 인트라 예측 또는 인터 예측을 적용할 수 있을 뿐 아니라, 인트라 예측과 인터 예측을 동시에 적용할 수 있다. 이는 combined inter and intra prediction (CIIP)라고 불릴 수 있다. 또한, 예측부는 블록에 대한 예측을 위하여 인트라 블록 카피(intra block copy, IBC) 예측 모드에 기반할 수도 있고 또는 팔레트 모드(palette mode)에 기반할 수도 있다. 상기 IBC 예측 모드 또는 팔레트 모드는 예를 들어 SCC(screen content coding) 등과 같이 게임 등의 컨텐츠 영상/동영상 코딩을 위하여 사용될 수 있다. IBC는 기본적으로 현재 픽처 내에서 예측을 수행하나 현재 픽처 내에서 참조 블록을 도출하는 점에서 인터 예측과 유사하게 수행될 수 있다. 즉, IBC는 본 문서에서 설명되는 인터 예측 기법들 중 적어도 하나를 이용할 수 있다. 팔레트 모드는 인트라 코딩 또는 인트라 예측의 일 예로 볼 수 있다. 팔레트 모드가 적용되는 경우 팔레트 테이블 및 팔레트 인덱스에 관한 정보가 상기 비디오/영상 정보에 포함되어 시그널링될 수 있다. The prediction unit 320 may generate a prediction signal based on various prediction methods to be described later. For example, 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). In addition, the prediction unit may be based on an intra block copy (IBC) prediction mode or a palette mode to predict a block. 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). 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 signaled.
인트라 예측부(331)는 현재 픽처 내의 샘플들을 참조하여 현재 블록을 예측할 수 있다. 상기 참조되는 샘플들은 예측 모드에 따라 상기 현재 블록의 주변(neighbor)에 위치할 수 있고, 또는 떨어져서 위치할 수도 있다. 인트라 예측에서 예측 모드들은 복수의 비방향성 모드와 복수의 방향성 모드를 포함할 수 있다. 인트라 예측부(331)는 주변 블록에 적용된 예측 모드를 이용하여, 현재 블록에 적용되는 예측 모드를 결정할 수도 있다.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. In intra prediction, 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.
인터 예측부(332)는 참조 픽처 상에서 움직임 벡터에 의해 특정되는 참조 블록(참조 샘플 어레이)을 기반으로, 현재 블록에 대한 예측된 블록을 유도할 수 있다. 이때, 인터 예측 모드에서 전송되는 움직임 정보의 양을 줄이기 위해 주변 블록과 현재 블록 간의 움직임 정보의 상관성에 기초하여 움직임 정보를 블록, 서브블록 또는 샘플 단위로 예측할 수 있다. 상기 움직임 정보는 움직임 벡터 및 참조 픽처 인덱스를 포함할 수 있다. 상기 움직임 정보는 인터 예측 방향(L0 예측, L1 예측, Bi 예측 등) 정보를 더 포함할 수 있다. 인터 예측의 경우에, 주변 블록은 현재 픽처 내에 존재하는 공간적 주변 블록(spatial neighboring block)과 참조 픽처에 존재하는 시간적 주변 블록(temporal neighboring block)을 포함할 수 있다. 예를 들어, 인터 예측부(332)는 주변 블록들을 기반으로 움직임 정보 후보 리스트를 구성하고, 수신한 후보 선택 정보를 기반으로 상기 현재 블록의 움직임 벡터 및/또는 참조 픽처 인덱스를 도출할 수 있다. 다양한 예측 모드를 기반으로 인터 예측이 수행될 수 있으며, 상기 예측에 관한 정보는 상기 현재 블록에 대한 인터 예측의 모드를 지시하는 정보를 포함할 수 있다. 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. In this case, in order to reduce the amount of motion information transmitted in the inter prediction mode, motion information may be predicted in units of blocks, subblocks, or samples based on correlation between motion information between neighboring blocks and the 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. In the case of inter prediction, the neighboring block may include a spatial neighboring block existing in the current picture and a temporal neighboring block existing in the reference picture. For example, 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.
가산부(340)는 획득된 레지듀얼 신호를 예측부(인터 예측부(332) 및/또는 인트라 예측부(331) 포함)로부터 출력된 예측 신호(예측된 블록, 예측 샘플 어레이)에 더함으로써 복원 신호(복원 픽처, 복원 블록, 복원 샘플 어레이)를 생성할 수 있다. 스킵 모드가 적용된 경우와 같이 처리 대상 블록에 대한 레지듀얼이 없는 경우, 예측된 블록이 복원 블록으로 사용될 수 있다.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.
가산부(340)는 복원부 또는 복원 블록 생성부라고 불릴 수 있다. 생성된 복원 신호는 현재 픽처 내 다음 처리 대상 블록의 인트라 예측을 위하여 사용될 수 있고, 후술하는 바와 같이 필터링을 거쳐서 출력될 수도 있고 또는 다음 픽처의 인터 예측을 위하여 사용될 수도 있다. 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)가 적용될 수도 있다.Meanwhile, luma mapping with chroma scaling (LMCS) may be applied in the picture decoding process.
필터링부(350)는 복원 신호에 필터링을 적용하여 주관적/객관적 화질을 향상시킬 수 있다. 예를 들어 필터링부(350)는 복원 픽처에 다양한 필터링 방법을 적용하여 수정된(modified) 복원 픽처를 생성할 수 있고, 상기 수정된 복원 픽처를 메모리(360), 구체적으로 메모리(360)의 DPB에 전송할 수 있다. 상기 다양한 필터링 방법은 예를 들어, 디블록킹 필터링, 샘플 적응적 오프셋(sample adaptive offset), 적응적 루프 필터(adaptive loop filter), 양방향 필터(bilateral filter) 등을 포함할 수 있다. The filtering unit 350 may improve subjective/objective image quality by applying filtering to the reconstructed signal. For example, 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.
메모리(360)의 DPB에 저장된 (수정된) 복원 픽처는 인터 예측부(332)에서 참조 픽쳐로 사용될 수 있다. 메모리(360)는 현재 픽처 내 움직임 정보가 도출된(또는 디코딩된) 블록의 움직임 정보 및/또는 이미 복원된 픽처 내 블록들의 움직임 정보를 저장할 수 있다. 상기 저장된 움직임 정보는 공간적 주변 블록의 움직임 정보 또는 시간적 주변 블록의 움직임 정보로 활용하기 위하여 인터 예측부(260)에 전달할 수 있다. 메모리(360)는 현재 픽처 내 복원된 블록들의 복원 샘플들을 저장할 수 있고, 인트라 예측부(331)에 전달할 수 있다.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 260 to be used as motion information of a spatial neighboring block or motion information of a temporal neighboring block. The memory 360 may store reconstructed samples of reconstructed blocks in the current picture, and may be transmitted to the intra prediction unit 331.
본 명세서에서, 인코딩 장치(100)의 필터링부(260), 인터 예측부(221) 및 인트라 예측부(222)에서 설명된 실시예들은 각각 디코딩 장치(300)의 필터링부(350), 인터 예측부(332) 및 인트라 예측부(331)에도 동일 또는 대응되도록 적용될 수 있다.In this specification, the embodiments described in the filtering unit 260, the inter prediction unit 221, and the intra prediction unit 222 of the encoding apparatus 100 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.
상술한 바와 같이 비디오 코딩을 수행함에 있어 압축 효율을 높이기 위하여 예측을 수행한다. 이를 통하여 코딩 대상 블록인 현재 블록에 대한 예측 샘플들을 포함하는 예측된 블록을 생성할 수 있다. 여기서 상기 예측된 블록은 공간 도메인(또는 픽셀 도메인)에서의 예측 샘플들을 포함한다. 상기 예측된 블록은 인코딩 장치 및 디코딩 장치에서 동일하게 도출되며, 상기 인코딩 장치는 원본 블록의 원본 샘플 값 자체가 아닌 상기 원본 블록과 상기 예측된 블록 간의 레지듀얼에 대한 정보(레지듀얼 정보)를 디코딩 장치로 시그널링함으로써 영상 코딩 효율을 높일 수 있다. 디코딩 장치는 상기 레지듀얼 정보를 기반으로 레지듀얼 샘플들을 포함하는 레지듀얼 블록을 도출하고, 상기 레지듀얼 블록과 상기 예측된 블록을 합하여 복원 샘플들을 포함하는 복원 블록을 생성할 수 있고, 복원 블록들을 포함하는 복원 픽처를 생성할 수 있다. As described above, prediction is performed to increase compression efficiency in performing video coding. Through this, a predicted block including prediction samples for a current block as a coding target block may be generated. Here, 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 decodes information (residual information) about the residual between the original block and the predicted block, not the original sample value of the original block itself. Video coding efficiency can be improved by signaling to the device. The decoding apparatus may derive a residual block including residual samples based on the residual information, and generate a reconstructed block including reconstructed samples by summing the residual block and the predicted block. A reconstructed picture to be included can be generated.
상기 레지듀얼 정보는 변환 및 양자화 절차를 통하여 생성될 수 있다. 예를 들어, 인코딩 장치는 상기 원본 블록과 상기 예측된 블록 간의 레지듀얼 블록을 도출하고, 상기 레지듀얼 블록에 포함된 레지듀얼 샘플들(레지듀얼 샘플 어레이)에 변환 절차를 수행하여 변환 계수들을 도출하고, 상기 변환 계수들에 양자화 절차를 수행하여 양자화된 변환 계수들을 도출하여 관련된 레지듀얼 정보를 (비트스트림을 통하여) 디코딩 장치로 시그널링할 수 있다. 여기서 상기 레지듀얼 정보는 상기 양자화된 변환 계수들의 값 정보, 위치 정보, 변환 기법, 변환 커널, 양자화 파라미터 등의 정보를 포함할 수 있다. 디코딩 장치는 상기 레지듀얼 정보를 기반으로 역양자화/역변환 절차를 수행하고 레지듀얼 샘플들(또는 레지듀얼 블록)을 도출할 수 있다. 디코딩 장치는 예측된 블록과 상기 레지듀얼 블록을 기반으로 복원 픽처를 생성할 수 있다. 인코딩 장치는 또한 이후 픽처의 인터 예측을 위한 참조를 위하여 양자화된 변환 계수들을 역양자화/역변환하여 레지듀얼 블록을 도출하고, 이를 기반으로 복원 픽처를 생성할 수 있다. The residual information may be generated through transformation and quantization procedures. For example, the encoding apparatus derives a residual block between the original block and the predicted block, and derives transform coefficients by performing a transformation procedure on residual samples (residual sample array) included in the residual block. And, by performing a quantization procedure on the transform coefficients, quantized transform coefficients may be derived, and related residual information may be signaled to a decoding apparatus (via a bitstream). Here, the residual information may include information such as value information of the 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.
도 4는 일 실시예에 따른 타일 및/또는 타일 그룹에 기반한 픽처 인코딩 절차를 도시하는 흐름도이다.4 is a flowchart illustrating a picture encoding procedure based on a tile and/or a tile group according to an embodiment.
본 명세서에서 "타일(tile)"은 픽처 내에서 특정 타일 열 및 특정 타일 행 내 직사각형 영역(rectangular region)의 CTU들의 집합을 의미할 수 있다. 일 예시에서, 타일은 브릭들(bricks)의 집합 또는 슬라이스들(slices)의 집합을 나타낼 수도 있다.In the present specification, "tile" may mean a set of CTUs in a specific tile column and a rectangular region in a specific tile row in a picture. In one example, the tile may represent a set of bricks or a set of slices.
본 명세서에서 "슬라이스(slice)"는 단일 NAL 유닛에 포함된 픽처 내 정수 개의 브릭들의 집합을 의미할 수 있다. 일 예시에서, 슬라이스는 타일들의 집합을 나타낼 수도 있다. In the present specification, "slice" may mean a set of an integer number of bricks in a picture included in a single NAL unit. In one example, a slice may represent a set of tiles.
본 명세서에서 "브릭(brick)"은 픽처 내 타일 또는 슬라이스에 포함된 직사각형 영역의 CTU 행들을 나타낼 수 있다. In the present specification, "brick" may represent CTU rows of a rectangular area included in a tile or slice in a picture.
다만, 일부 실시예들에서는 상기 타일, 슬라이스 및 브릭의 의미가 혼용되어 사용될 수 있다. 당해 기술 분야의 통상의 기술자는, 상기 타일, 슬라이스 및 브릭은 제1 분할 유닛, 제2 분할 유닛, 제3 분할 유닛과 같이 현재 픽처를 분할 하는 단위들을 각각 구분하기 위한 것일 뿐, 각 명칭에 따른 정의에 의해 엄격하게 제한 해석될 필요가 없음을 용이하게 이해할 것이다.However, in some embodiments, the meanings of the tile, slice, and brick may be used interchangeably. For those skilled in the art, the tiles, slices, and bricks are only for distinguishing units that divide the current picture, such as a first division unit, a second division unit, and a third division unit. It will be readily understood that there is no need to be interpreted strictly as limiting by definition.
일 실시예에서, 픽처 파티셔닝(S400) 및 타일/타일 그룹에 관한 정보 생성(S410)은 인코딩 장치의 영상 분할부(210)에 의하여 수행될 수 있고, 타일/타일 그룹에 관한 정보를 포함하는 비디오/영상 정보에 대한 인코딩(S420)은 인코딩 장치의 엔트로피 인코딩부(240)에 의하여 수행될 수 있다.In one embodiment, picture partitioning (S400) and generation of information on a tile/tile group (S410) may be performed by the image segmentation unit 210 of the encoding device, and a video including information on a tile/tile group /Encoding of image information (S420) may be performed by the entropy encoding unit 240 of the encoding device.
일 실시예에 따른 인코딩 장치는 입력된 픽처에 대한 인코딩을 위하여, 픽처 파티셔닝을 수행할 수 있다(S400). 상기 픽처는 하나 이상의 타일/타일 그룹을 포함할 수 있다. 인코딩 장치는 상기 픽처의 영상 특성 및 코딩 효율을 고려하여 픽처를 다양한 형태로 파티셔닝 할 수 있고, 최적의 코딩 효율을 갖는 파티셔닝 형태를 지시하는 정보를 생성하여 디코딩 장치로 시그널링할 수 있다. The encoding apparatus according to an embodiment may perform picture partitioning to encode an input picture (S400). The picture may include one or more tiles/tile groups. The encoding device may partition a picture into various types in consideration of the image characteristics and coding efficiency of the picture, and may generate information indicating a partitioning type having an optimal coding efficiency and signal the information to the decoding device.
일 실시예에 따른 인코딩 장치는 상기 픽처에 대하여 적용되는 타일/타일 그룹을 결정하고, 상기 타일/타일 그룹에 관한 정보를 생성할 수 있다(S410). 상기 타일/타일 그룹에 관한 정보는 상기 픽처에 대한 타일/타일 그룹의 구조를 지시하는 정보를 포함할 수 있다. 상기 타일/타일 그룹에 관한 정보는 후술하는 바와 같이 다양한 파라미터 세트 및/또는 타일 그룹 헤더를 통하여 시그널링될 수 있다. 구체적인 예는 후술된다. The encoding apparatus according to an embodiment may determine a tile/tile group applied to the picture and generate information on the tile/tile group (S410). The information on the tile/tile group may include information indicating the structure of the tile/tile group for the picture. The information on the tile/tile group may be signaled through various parameter sets and/or tile group headers, as described later. A specific example will be described later.
일 실시예에 따른 인코딩 장치는 상기 타일/타일 그룹에 관한 정보를 포함하는 비디오/영상 정보를 인코딩하여 비트스트림 형태로 출력할 수 있다(S420). 상기 비트스트림은 디지털 저장매체 또는 네트워크를 통하여 디코딩 장치로 전달될 수 있다. 상기 비디오/영상 정보는 본 문서에서 서술된 HLS 및/또는 타일 그룹 헤더 신택스를 포함할 수 있다. 또한, 상기 비디오/영상 정보는 상술한 예측 정보, 레지듀얼 정보, (인루프) 필터링 정보 등을 더 포함할 수 있다. 예를 들어, 인코딩 장치는 현재 픽처를 복원한 후 인루프 필터링을 적용하고, 상기 인루프 필터링에 관한 파라미터를 인코딩하여 비트스트림 형태로 출력할 수 있다.The encoding apparatus according to an embodiment may encode video/video information including information on the tile/tile group and output it in the form of a bitstream (S420). The bitstream may be delivered to a decoding device through a digital storage medium or a network. The video/video information may include HLS and/or tile group header syntax described in this document. In addition, the video/video information may further include the above-described prediction information, residual information, (in-loop) filtering information, and the like. For example, the encoding apparatus may reconstruct the current picture, apply in-loop filtering, encode the parameter related to the in-loop filtering, and output a bitstream format.
또한, 상기 타일/타일 그룹에 관한 정보는 후술하는 바와 같이 브릭(brick)에 대한 정보를 더 포함할 수 있다.Also, the information on the tile/tile group may further include information on a brick, as described later.
도 5는 일 실시예에 따른 타일 및/또는 타일 그룹에 기반한 픽처 디코딩 절차를 도시하는 흐름도이다. 5 is a flowchart illustrating a picture decoding procedure based on a tile and/or a tile group according to an embodiment.
일 실시예에서, 비트스트림으로부터 타일/타일 그룹에 관한 정보를 획득하는 단계(S500) 및 픽처 내 타일/타일 그룹을 도출하는 단계(S510), 타일/타일 그룹에 기반한 픽처 디코딩을 수행하는 단계(S520)는 디코딩 장치의 엔트로피 디코딩부(310)에 의하여 수행될 수 있고, 타일/타일 그룹에 관한 정보를 포함하는 비디오/영상 정보를 인코딩하는 단계(S530)는 디코딩 장치의 샘플 디코더에 의하여 수행될 수 있다.In one embodiment, obtaining information on a tile/tile group from a bitstream (S500), deriving a tile/tile group within a picture (S510), and performing picture decoding based on a tile/tile group ( S520) may be performed by the entropy decoding unit 310 of the decoding device, and the step of encoding video/video information including information on a tile/tile group (S530) may be performed by a sample decoder of the decoding device. I can.
일 실시예에 따른 디코딩 장치는, 수신된 비트스트림으로부터 타일/타일 그룹에 관한 정보를 획득할 수 있다(S500). 상기 타일/타일 그룹에 관한 정보는 후술하는 바와 같이 다양한 파라미터 세트 및/또는 타일 그룹 헤더를 통하여 획득될 수 있다. 구체적인 예는 후술된다. 또한, 상기 타일/타일 그룹에 관한 정보는 후술하는 바와 같이 브릭(brick)에 대한 정보를 더 포함할 수 있다.The decoding apparatus according to an embodiment may obtain information on a tile/tile group from the received bitstream (S500). Information on the tile/tile group may be obtained through various parameter sets and/or tile group headers, as described later. A specific example will be described later. Also, the information on the tile/tile group may further include information on a brick, as described later.
일 실시예에 따른 디코딩 장치는, 상기 타일/타일 그룹에 관한 정보를 기반으로 현재 픽처 내 타일/타일 그룹을 도출할 수 있다(S510). 또한, 디코딩 장치는 상기 브릭을 도출할 수 있다. The decoding apparatus according to an embodiment may derive a tile/tile group in a current picture based on the information on the tile/tile group (S510). In addition, the decoding apparatus may derive the brick.
일 실시예에 따른 디코딩 장치는 상기 타일/타일 그룹을 기반으로 상기 현재 픽처를 디코딩할 수 있다(S520). 예를 들어, 디코딩 장치는 상기 타일 내에 위치하는 브릭/CTU/CU를 도출하고, 이를 기반으로 인터/인트라 예측, 레지듀얼 처리, 복원 블록(픽처) 생성 및/또는 인루프 필터링 절차를 수행할 수 있다. 또한 이 경우 예를 들어, 디코딩 장치는 타일/타일 그룹 단위로 컨텍스트 모델/정보를 초기화할 수 있다. 또한, 디코딩 장치는 인터/인트라 예측시 참조되는 주변 블록 또는 주변 샘플이 현재 블록이 위치하는 현재 타일과 다른 타일에 위치하는 경우 상기 주변 블록 또는 주변 샘플이 가용하지 않은 것으로 처리할 수도 있다.The decoding apparatus according to an embodiment may decode the current picture based on the tile/tile group (S520). For example, the decoding apparatus may derive a brick/CTU/CU located in the tile, and based on this, perform inter/intra prediction, residual processing, reconstruction block (picture) generation, and/or in-loop filtering procedure. have. In addition, in this case, for example, the decoding device may initialize the context model/information on a tile/tile group basis. In addition, the decoding apparatus may process the neighboring block or the neighboring sample as not available when the neighboring block or neighboring sample referenced during inter/intra prediction is located in a tile different from the current tile in which the current block is located.
도 6은 픽처를 타일 단위로 분할하는 일 예시를 도시하는 도면이다.6 is a diagram illustrating an example of dividing a picture into tiles.
본 명세서에서는 특정 정보 또는 개념을 정의하기 위한 특정 용어 또는 문장을 사용하고 있다. 예를 들어, 현재 픽처를 복수의 타일들로 분할하는 특정 분할 구조를 도출하기 위한 복수의 행들 중 높이(height)에 대한 정보가 파싱되는 높이 파싱 행들의 개수에 대한 정보를"num_tile_rows_minus1"으로 나타내고 있고, 현재 픽처를 복수의 타일들로 분할하는 특정 분할 구조를 도출하기 위한 복수의 열들 중 폭(width)에 대한 정보가 파싱되는 폭 파싱 열들의 개수에 대한 정보를 "num_tile_columns_minus1"이라고 나타내고 있고, 상기 폭 파싱 열들의 폭들 중 마지막에 파싱되는 폭을 "라스트 위드쓰(last width)"라고 나타내고 있고, 상기 높이 파싱 행들의 높이들 중 마지막에 파싱되는 높이를 "라스트 하이트(last height)"라고 나타내고 있다. In this specification, specific terms or sentences are used to define specific information or concepts. For example, information on the number of height parsing rows from which height information is parsed among a plurality of rows for deriving a specific partition structure that divides the current picture into a plurality of tiles is represented as "num_tile_rows_minus1". , Information on the number of width parsing columns in which information about width is parsed among a plurality of columns for deriving a specific split structure for dividing the current picture into a plurality of tiles is indicated as "num_tile_columns_minus1", and the width The last parsed width among the widths of parsing columns is indicated as "last width", and the last parsed height among the heights of the height parsing rows is indicated as "last height".
그러나, "num_tile_rows_minus1"은 num_exp_tile_rows_minus1 등 다양한 용어로 대체될 수 있고, "num_tile_columns_minus1"은 num_exp_tile_columns_minus1 등 다양한 용어로 대체될 수 있고, 상기 "라스트 위드쓰"는 last_width, LastWidth 등으로 대체될 수 있으며, "라스트 하이트"는 last_height, LastHeight 등 다양한 용어로 대체될 수 있는 바, 본 명세서에서 특정 정보 또는 개념을 정의하기 위해 사용된 특정 용어 또는 문장을 명세서 전반에서 해석함에 있어서 그 명칭에 국한된 해석을 하여서는 안 되고, 상기 용어가 나타내고자 하는 내용에 따른 다양한 동작, 기능 및 효과에 주목하여 해석할 필요가 있다.However, "num_tile_rows_minus1" may be replaced with various terms such as num_exp_tile_rows_minus1, and "num_tile_columns_minus1" may be replaced with various terms such as num_exp_tile_columns_minus1, and the "last withth" may be replaced with last_width, LastWidth, etc. "" can be replaced with various terms such as last_height, LastHeight, etc., in interpreting a specific term or sentence used to define specific information or concept in this specification throughout the specification, the interpretation should not be limited to the name, and the above The term needs to be interpreted by paying attention to various actions, functions, and effects according to the content to be expressed.
일 실시예에서, 타일들은 픽처를 복수의 직사각형들로 분할하는 수직 및/또는 수평 경계들(boundaries)의 세트에 의해 정의되는 픽처 내 영역들을 의미할 수 있다. 도 6은 하나의 픽처(600) 내에서 복수의 열 경계들(column boundaries, 610) 및 행 경계들(row boundaries, 620)을 기반으로 복수의 타일들로 분할되는 예시를 도시하고 있다. 도 6에는 최초 32개의 최대 코딩 유닛(또는 CTU(Coding Tree Unit))들이 넘버링되어 도시되어 있다.In one embodiment, tiles may mean areas within a picture defined by a set of vertical and/or horizontal boundaries that divide the picture into a plurality of rectangles. FIG. 6 illustrates an example in which one picture 600 is divided into a plurality of tiles based on a plurality of column boundaries 610 and row boundaries 620. In FIG. 6, the first 32 maximum coding units (or Coding Tree Units (CTUs)) are numbered and shown.
일 실시예에서, 각 타일은 각 타일 내에서 래스터 스캔 오더(raster scan order)로 처리되는 정수 개의 CTU들을 포함할 수 있다. 이때 상기 각 타일을 포함하는, 픽처 내 복수의 타일들도 상기 픽처 내에서 래스터 스캔 오더로 처리될 수 있다. 상기 타일들은 타일 그룹들(tile groups)을 형성하기 위해 그루핑 될 수 있고, 단일 타일 그룹 내 타일들은 래스터 스캔될 수 있다. 픽처를 타일들로 분할하는 것은 PPS(Picture Parameter Set)의 신택스(syntax) 및 시맨틱스(semantics)를 기반으로 정의될 수 있다. In one embodiment, each tile may include an integer number of CTUs processed in a raster scan order within each tile. In this case, a plurality of tiles in a picture, including each tile, may also be processed in a raster scan order in the picture. The tiles may be grouped to form tile groups, and tiles within a single tile group may be raster scanned. Dividing a picture into tiles may be defined based on a syntax and semantics of a picture parameter set (PPS).
일 실시예에서, 타일들에 관하여 PPS로부터 도출된 정보는 다음의 사항들을 체크(또는 판독)하기 위해 이용될 수 있다. 우선 픽처 내에 하나의 타일이 존재하는지 또는 하나 이상의 타일들이 존재하는지 체크될 수 있고, 하나 이상의 타일들이 존재하는 경우, 상기 하나 이상의 타일들이 유니폼하게(uniformly) 분배되었는지 여부가 체크될 수 있고, 타일들의 차원(dimension)이 체크될 수 있고, 루프 필터가 인에이블 되었는지 여부가 체크될 수 있다. In one embodiment, the information derived from the PPS about the tiles may be used to check (or read) the following. First, it may be checked whether one tile exists or one or more tiles exist in a picture, and if one or more tiles are present, it may be checked whether the one or more tiles are uniformly distributed, and the tiles The dimension can be checked, and it can be checked whether the loop filter is enabled.
일 실시예에서, PPS는 우선 신택스 요소 single_tile_in_pic_flag를 시그널링 할 수 있다. 상기 single_tile_in_pic_flag는 픽처 내 하나의 타일만 존재하는지 또는 픽처 내 복수의 타일들이 존재하는지 여부를 지시할 수 있다. 픽처 내 복수의 타일들이 존재하는 경우, 디코딩 장치는 신택스 요소 num_tile_columns_minus1 및 num_tile_rows_minus1을 이용하여 타일 행들 및 타일 열들의 개수에 대한 정보를 파싱할 수 있다. 상기 신택스 요소 num_tile_columns_minus1 및 num_tile_rows_minus1은 픽처를 타일 행들 및 열들로 분할하는 과정을 구체화 할 수 있다. 타일 행들의 높이들 및 타일 열들의 폭들은 CTB들의 관점에서(즉, CTB를 단위로) 나타낼 수 있다.In an embodiment, the PPS may first signal the syntax element single_tile_in_pic_flag. The single_tile_in_pic_flag may indicate whether only one tile in a picture exists or whether there are a plurality of tiles in a picture. When there are a plurality of tiles in a picture, the decoding apparatus may parse information on the number of tile rows and tile columns using syntax elements num_tile_columns_minus1 and num_tile_rows_minus1. The syntax elements num_tile_columns_minus1 and num_tile_rows_minus1 may specify a process of dividing a picture into tile rows and columns. The heights of tile rows and widths of tile columns can be represented in terms of CTBs (ie, in CTB units).
일 실시예에서, 픽처 내 타일들이 유니폼하게 스페이싱 되었는지 여부를 체크하기 위해 추가적인 플래그가 파싱될 수 있다. 상기 픽처 내 타일들이 유니폼하게 스페이싱 되지 않은 경우, 각각의 타일 행 및 열의 경계들에 대하여 타일 당 CTB의 개수가 명시적으로 시그널링 될 수 있다 (즉, 각 타일 행 내 CTB의 개수와 각 타일 열 내 CTB의 개수가 시그널링 될 수 있다). 만약 타일들이 유니폼하게 스페이싱 된 경우, 타일들은 서로 동일한 폭 및 높이를 가질 수 있다. In one embodiment, an additional flag may be parsed to check whether tiles within a picture are uniformly spaced. When the tiles in the picture are not uniformly spaced, the number of CTBs per tile may be explicitly signaled for the boundaries of each tile row and column (that is, the number of CTBs in each tile row and in each tile column). The number of CTBs can be signaled). If the tiles are uniformly spaced, the tiles may have the same width and height.
일 실시예에서, 타일 경계들에 대하여 루프 필터(loop filter)가 인에이블 되었는지 여부를 결정하기 위해 또 다른 플래그(예를 들어, 신택스 요소 loop_filter_across_tiles_enabled_flag)가 파싱될 수 있다. 아래의 표 1은 PPS를 파싱함으로써 도출될 수 있는 타일들에 대한 주요 정보의 예시를 요약하여 나타낸다. 표 1은 PPS RBSP 신택스를 나타낼 수 있다.In one embodiment, another flag (eg, the syntax element loop_filter_across_tiles_enabled_flag) may be parsed to determine whether a loop filter is enabled for the tile boundaries. Table 1 below summarizes and shows examples of main information about tiles that can be derived by parsing the PPS. Table 1 may indicate the PPS RBSP syntax.
pic_parameter_set_rbsp( ) {pic_parameter_set_rbsp( ) { DescriptorDescriptor
......
single_tile_in_pic_flagsingle_tile_in_pic_flag u(1)u(1)
entropy_coding_sync_enabled_flagentropy_coding_sync_enabled_flag u(1)u(1)
if( !single_tile_in_pic_flag ) {if( !single_tile_in_pic_flag) {
num_tile_columns_minus1num_tile_columns_minus1 ue(v)ue(v)
num_tile_rows_minus1num_tile_rows_minus1 ue(v)ue(v)
uniform_spacing_flaguniform_spacing_flag u(1)u(1)
if( !uniform_spacing_flag ) {if( !uniform_spacing_flag) {
for( i = 0; i < num_tile_columns_minus1; i++ )for( i = 0; i <num_tile_columns_minus1; i++)
column_width_minus1[ i ]column_width_minus1[ i ] ue(v)ue(v)
for( i = 0; i < num_tile_rows_minus1; i++ )for( i = 0; i <num_tile_rows_minus1; i++)
row_height_minus1[ i ]row_height_minus1[ i ] ue(v)ue(v)
}}
loop_filter_across_tiles_enabled_flagloop_filter_across_tiles_enabled_flag u(1)u(1)
}}
...... u(1)u(1)
상기 표 1에 기재된 신택스 요소들에 대한 시맨틱스의 예시는, 예를 들어 아래의 표 2와 같을 수 있다.Examples of semantics for syntax elements described in Table 1 may be, for example, as Table 2 below.
single_tile_in_pic_flag equal to 1 specifies that there is only one tile in each picture referring to the PPS. single_tile_in_pic_flag equal to 0 specifies that there is more than one tile in each picture referring to the PPS. It is a requirement of bitstream conformance that the value of single_tile_in_pic_flag shall be the same for all PPSs that are activated within a CVS.single_tile_in_pic_flag equal to 1 specifies that there is only one tile in each picture referring to the PPS. single_tile_in_pic_flag equal to 0 specifies that there is more than one tile in each picture referring to the PPS. It is a requirement of bitstream conformance that the value of single_tile_in_pic_flag shall be the same for all PPSs that are activated within a CVS.
num_tile_columns_minus1 plus 1 specifies the number of tile columns partitioning the picture. num_tile_columns_minus1 shall be in the range of 0 to PicWidthInCtbsY - 1, inclusive. When not present, the value of num_tile_columns_minus1 is inferred to be equal to 0.num_tile_columns_minus1 plus 1 specifies the number of tile columns partitioning the picture. num_tile_columns_minus1 shall be in the range of 0 to PicWidthInCtbsY-1, inclusive. When not present, the value of num_tile_columns_minus1 is inferred to be equal to 0.
num_tile_rows_minus1 plus 1 specifies the number of tile rows partitioning the picture. num_tile_rows_minus1 shall be in the range of 0 to PicHeightInCtbsY - 1, inclusive. When not present, the value of num_tile_rows_minus1 is inferred to be equal to 0.num_tile_rows_minus1 plus 1 specifies the number of tile rows partitioning the picture. num_tile_rows_minus1 shall be in the range of 0 to PicHeightInCtbsY-1, inclusive. When not present, the value of num_tile_rows_minus1 is inferred to be equal to 0.
The variable NumTilesInPic is set equal to ( num_tile_columns_minus1 + 1 ) * ( num_tile_rows_minus1 + 1 ).When single_tile_in_pic_flag is equal to 0, NumTilesInPic shall be greater than 1.The variable NumTilesInPic is set equal to ( num_tile_columns_minus1 + 1 ) * ( num_tile_rows_minus1 + 1 ).When single_tile_in_pic_flag is equal to 0, NumTilesInPic shall be greater than 1.
uniform_tile_spacing_flag equal to 1 specifies that tile column boundaries and likewise tile row boundaries are distributed uniformly across the picture. uniform_tile_spacing_flag equal to 0 specifies that tile column boundaries and likewise tile row boundaries are not distributed uniformly across the picture but signalled explicitly using the syntax elements tile_column_width_minus1[ i ] and tile_row_height_minus1[ i ]. When not present, the value of uniform_tile_spacing_flag is inferred to be equal to 1.uniform_tile_spacing_flag equal to 1 specifies that tile column boundaries and likewise tile row boundaries are distributed uniformly across the picture. uniform_tile_spacing_flag equal to 0 specifies that tile column boundaries and likewise tile row boundaries are not distributed uniformly across the picture but signalled explicitly using the syntax elements tile_column_width_minus1[ i ] and tile_row_height_minus1[ i ]. When not present, the value of uniform_tile_spacing_flag is inferred to be equal to 1.
tile_column_width_minus1[ i ] plus 1 specifies the width of the i-th tile column in units of CTBs.tile_column_width_minus1[ i ] plus 1 specifies the width of the i-th tile column in units of CTBs.
tile_row_height_minus1[ i ] plus 1 specifies the height of the i-th tile row in units of CTBs.tile_row_height_minus1[ i ] plus 1 specifies the height of the i-th tile row in units of CTBs.
loop_filter_across_tiles_enabled_flag equal to 1 specifies that in-loop filtering operations may be performed across tile boundaries in pictures referring to the PPS. loop_filter_across_tiles_enabled_flag equal to 0 specifies that in-loop filtering operations are not performed across tile boundaries in pictures referring to the PPS. The in-loop filtering operations include the deblocking filter, sample adaptive offset filter, and adaptive loop filter operations. When not present, the value of loop_filter_across_tiles_enabled_flag is inferred to be equal to 1.loop_filter_across_tiles_enabled_flag equal to 1 specifies that in-loop filtering operations may be performed across tile boundaries in pictures referring to the PPS. loop_filter_across_tiles_enabled_flag equal to 0 specifies that in-loop filtering operations are not performed across tile boundaries in pictures referring to the PPS. The in-loop filtering operations include the deblocking filter, sample adaptive offset filter, and adaptive loop filter operations. When not present, the value of loop_filter_across_tiles_enabled_flag is inferred to be equal to 1.
도 7은 일 실시예에 따른 인코딩 장치의 구성을 도시하는 블록도이고, 도 8은 일 실시예에 따른 디코딩 장치의 구성을 도시하는 흐름도이다.7 is a block diagram illustrating a configuration of an encoding device according to an embodiment, and FIG. 8 is a flowchart illustrating a configuration of a decoding device according to an embodiment.
도 7에는 인코딩 장치의 블록도의 일 예시가 도시되어 있다. 도 7에 도시된 인코딩 장치(700)는 파티셔닝 모듈(710)과 인코딩 모듈(720)을 포함하고 있다. 상기 파티셔닝 모듈(710)은 도 2에 도시된 인코딩 장치의 영상 분할부(210)와 동일 및/또는 유사한 동작들을 수행할 수 있고, 상기 인코딩 모듈(720)은 도 2에 도시된 인코딩 장치의 엔트로피 인코딩부(240)와 동일 및/또는 유사한 동작들을 수행할 수 있다. 입력 비디오는 파티셔닝 모듈(710)에서 분할된 후, 인코딩 모듈(720)에서 인코딩 될 수 있다. 인코딩 된 이후, 상기 인코딩 된 비디오는 상기 인코딩 장치(700)로부터 출력될 수 있다.7 shows an example of a block diagram of an encoding device. The encoding apparatus 700 illustrated in FIG. 7 includes a partitioning module 710 and an encoding module 720. The partitioning module 710 may perform the same and/or similar operations as the image segmentation unit 210 of the encoding apparatus shown in FIG. 2, and the encoding module 720 may perform the entropy of the encoding apparatus shown in FIG. 2. The same and/or similar operations as the encoding unit 240 may be performed. The input video may be segmented in the partitioning module 710 and then encoded in the encoding module 720. After being encoded, the encoded video may be output from the encoding device 700.
도 8에는 디코딩 장치의 블록도의 일 예시가 도시되어 있다. 도 8에 도시된 디코딩 장치(800)는 디코딩 모듈(810)과 디블록킹 필터(820)을 포함하고 있다. 상기 디코딩 모듈(810)은 도 3에 도시된 디코딩 장치의 엔트로피 디코딩부(310)와 동일 및/또는 유사한 동작들을 수행할 수 있고, 상기 디블록킹 필터(820)는 도 3에 도시된 디코딩 장치의 필터링부(350)와 동일 및/또는 유사한 동작들을 수행할 수 있다. 디코딩 모듈(810)은 상기 인코딩 장치(700)로부터 수신한 입력을 디코딩하여 타일들에 대한 정보를 도출할 수 있다. 상기 디코딩 된 정보를 기반으로 처리 단위가 결정될 수 있고, 디블록킹 필터(820)는 인루프 디블록킹 필터를 적용하여 상기 처리 단위를 처리할 수 있다. 인루프 필터링은 파티셔닝 과정에서 생성된 코딩 아티팩트를 제거하기 위해 적용될 수 있다. 상기 인루프 필터링 동작은 ALF(Adaptive Loop Filter), 디블록킹 필터(Deblocking Filter, DF), SAO(Sample Adaptive Offset) 등을 포함할 수 있다. 이후 디코딩된 픽처가 출력될 수 있다.8 illustrates an example of a block diagram of a decoding device. The decoding apparatus 800 illustrated in FIG. 8 includes a decoding module 810 and a deblocking filter 820. The decoding module 810 may perform the same and/or similar operations as the entropy decoding unit 310 of the decoding apparatus shown in FIG. 3, and the deblocking filter 820 The same and/or similar operations as the filtering unit 350 may be performed. The decoding module 810 may derive information on tiles by decoding the input received from the encoding device 700. A processing unit may be determined based on the decoded information, and the deblocking filter 820 may process the processing unit by applying an in-loop deblocking filter. In-loop filtering can be applied to remove coding artifacts generated during the partitioning process. The in-loop filtering operation may include an adaptive loop filter (ALF), a deblocking filter (DF), a sample adaptive offset (SAO), and the like. Thereafter, the decoded picture may be output.
각 신택스 요소의 파싱 과정을 구체화하는 디스크립터(descriptor)의 예시는 아래의 표 3에 개시되어 있다.An example of a descriptor specifying the parsing process of each syntax element is disclosed in Table 3 below.
ae(v): context-adaptive arithmetic entropy-coded syntax element.ae(v): context-adaptive arithmetic entropy-coded syntax element.
b(8): byte having any pattern of bit string (8 bits). The parsing process for this descriptor is specified by the return value of the function read_bits( 8 ).b(8): byte having any pattern of bit string (8 bits). The parsing process for this descriptor is specified by the return value of the function read_bits( 8 ).
f(n): fixed-pattern bit string using n bits written (from left to right) with the left bit first. The parsing process for this descriptor is specified by the return value of the function read_bits( n ).f(n): fixed-pattern bit string using n bits written (from left to right) with the left bit first. The parsing process for this descriptor is specified by the return value of the function read_bits( n ).
i(n): signed integer using n bits. When n is "v" in the syntax table, the number of bits varies in a manner dependent on the value of other syntax elements. The parsing process for this descriptor is specified by the return value of the function read_bits( n ) interpreted as a two's complement integer representation with most significant bit written first.i(n): signed integer using n bits. When n is "v" in the syntax table, the number of bits varies in a manner dependent on the value of other syntax elements. The parsing process for this descriptor is specified by the return value of the function read_bits( n ) interpreted as a two's complement integer representation with most significant bit written first.
se(v): signed integer 0-th order Exp-Golomb-coded syntax element with the left bit first. The parsing process for this descriptor is specified with the order k equal to 0.se(v): signed integer 0-th order Exp-Golomb-coded syntax element with the left bit first. The parsing process for this descriptor is specified with the order k equal to 0.
st(v): null-terminated string encoded as universal coded character set (UCS) transmission format-8 (UTF-8) characters as specified in ISO/IEC 10646. The parsing process is specified as follows: st(v) begins at a byte-aligned position in the bitstream and reads and returns a series of bytes from the bitstream, beginning at the current position and continuing up to but not including the next byte-aligned byte that is equal to 0x00, and advances the bitstream pointer by ( stringLength + 1 ) * 8 bit positions, where stringLength is equal to the number of bytes returned.NOTE - The st(v) syntax descriptor is only used in this Specification when the current position in the bitstream is a byte-aligned position.tb(v): truncated binary using up to maxVal bits with maxVal defined in the semantics of the symtax element.st(v): null-terminated string encoded as universal coded character set (UCS) transmission format-8 (UTF-8) characters as specified in ISO/IEC 10646.The parsing process is specified as follows: st(v) begins at a byte-aligned position in the bitstream and reads and returns a series of bytes from the bitstream, beginning at the current position and continuing up to but not including the next byte-aligned byte that is equal to 0x00, and advances the bitstream pointer by ( StringLength + 1 ) * 8 bit positions, where stringLength is equal to the number of bytes returned.NOTE - The st(v) syntax descriptor is only used in this Specification when the current position in the bitstream is a byte-aligned position. tb(v): truncated binary using up to maxVal bits with maxVal defined in the semantics of the symtax element.
tu(v): truncated unary using up to maxVal bits with maxVal defined in the semantics of the symtax element.tu(v): truncated unary using up to maxVal bits with maxVal defined in the semantics of the symtax element.
u(n): unsigned integer using n bits. When n is "v" in the syntax table, the number of bits varies in a manner dependent on the value of other syntax elements. The parsing process for this descriptor is specified by the return value of the function read_bits( n ) interpreted as a binary representation of an unsigned integer with most significant bit written first.u(n): unsigned integer using n bits. When n is "v" in the syntax table, the number of bits varies in a manner dependent on the value of other syntax elements. The parsing process for this descriptor is specified by the return value of the function read_bits( n ) interpreted as a binary representation of an unsigned integer with most significant bit written first.
ue(v): unsigned integer 0-th order Exp-Golomb-coded syntax element with the left bit first. The parsing process for this descriptor is specified with the order k equal to 0.ue(v): unsigned integer 0-th order Exp-Golomb-coded syntax element with the left bit first. The parsing process for this descriptor is specified with the order k equal to 0.
uek(v): unsigned integer k-th order Exp-Golomb-coded syntax element with the left bit first. The parsing process for this descriptor is specified with the order k defined in the semantics of the symtax element.uek(v): unsigned integer k-th order Exp-Golomb-coded syntax element with the left bit first. The parsing process for this descriptor is specified with the order k defined in the semantics of the symtax element.
도 9는 현재 픽처를 구성하는 타일 및 타일 그룹 단위의 일 예시를 도시하는 도면이다.9 is a diagram illustrating an example of a tile and a tile group unit constituting a current picture.
전술된 바와 같이, 타일들은 타일 그룹들을 형성하기 위해 그루핑 될 수 있다. 도 9는 하나의 픽처가 타일들 및 타일 그룹들로 분할된 예시를 도시하고 있다. 도 9에서, 상기 픽처는 9개의 타일들 및 3개의 타일 그룹들을 포함하고 있다. 각각의 타일 그룹은 독립적으로 코딩될 수 있다. As described above, tiles can be grouped to form tile groups. 9 illustrates an example in which one picture is divided into tiles and tile groups. In FIG. 9, the picture includes 9 tiles and 3 tile groups. Each tile group can be independently coded.
도 10은 타일 그룹 정보의 시그널링 구조의 일 예시를 개략적으로 도시하는 도면이다.10 is a diagram schematically illustrating an example of a signaling structure of tile group information.
CVS(Coded Video Sequence) 내에서 각각의 타일 그룹은 타일 그룹 헤더를 포함할 수 있다. 타일 그룹들은 슬라이스 그룹과 유사한 의미를 나타낼 수 있다. 각 타일 그룹은 독립적으로 코딩될 수 있다. 타일 그룹은 하나 또는 그 이상의 타일들을 포함할 수 있다. 타일 그룹 헤더는 PPS를 참조할 수 있고, PPS는 순차적으로(subsequently) SPS(Sequence Parameter Set)를 참조할 수 있다. Each tile group in the Coded Video Sequence (CVS) may include a tile group header. Tile groups may have a similar meaning to a slice group. Each tile group can be independently coded. A tile group may include one or more tiles. The tile group header may refer to the PPS, and the PPS may sequentially refer to a Sequence Parameter Set (SPS).
도 10에서, 타일 그룹 헤더는 상기 타일 그룹 헤더가 참조하는 PPS의 PPS 인덱스를 가질 수 있다. 상기 PPS는 순차로 SPS를 참조할 수 있다. In FIG. 10, a tile group header may have a PPS index of a PPS referenced by the tile group header. The PPS may sequentially refer to the SPS.
PPS 인덱스와 더불어, 일 실시예에 따른 타일 그룹 헤더는 다음의 정보들에 대하여 결정할 수 있다. 우선 픽처 당 하나 보다 많은 타일이 존재하는 경우, 타일 그룹 어드레스 및 타일 그룹 내 타일들의 개수를 결정할 수 있다. 다음으로, 인트라/프레딕티브(predictive)/양방향(bi-directional)과 같이 타일 그룹 타입을 결정할 수 있다. 다음으로, LSB(Lease Significant Bits)의 POC(Picture Order Count)를 결정할 수 있다. 다음으로, 하나의 픽처에 하나 보다 많은 타일이 존재하는 경우, 오프셋 길이 및 타일로의 엔트리 포인트를 결정할 수 있다.In addition to the PPS index, the tile group header according to an embodiment may be determined for the following information. First, if there are more than one tile per picture, the tile group address and the number of tiles in the tile group may be determined. Next, a tile group type may be determined such as intra/predictive/bi-directional. Next, a picture order count (POC) of Lease Significant Bits (LSB) may be determined. Next, when more than one tile exists in one picture, an offset length and an entry point to the tile may be determined.
아래의 표 4는 타일 그룹 헤더의 신택스의 일 예시를 나타낸다.Table 4 below shows an example of the syntax of the tile group header.
tile_group_header( ) {tile_group_header( ) { DescriptorDescriptor
tile_group_pic_parameter_set_idtile_group_pic_parameter_set_id ue(v)ue(v)
if( NumTilesInPic > 1 ) {if( NumTilesInPic> 1) {
tile_group_addresstile_group_address u(v)u(v)
num_tiles_in_tile_group_minus1num_tiles_in_tile_group_minus1 ue(v)ue(v)
}}
tile_group_typetile_group_type ue(v)ue(v)
tile_group_pic_order_cnt_lsbtile_group_pic_order_cnt_lsb u(v)u(v)
if( partition_constraints_override_enabled_flag ) {if( partition_constraints_override_enabled_flag) {
partition_constraints_override_flagpartition_constraints_override_flag ue(v)ue(v)
......
if( num_tiles_in_tile_group_minus1 > 0 ) {if( num_tiles_in_tile_group_minus1> 0) {
offset_len_minus1offset_len_minus1 ue(v)ue(v)
for( i = 0; i < num_tiles_in_tile_group_minus1; i++ )for( i = 0; i <num_tiles_in_tile_group_minus1; i++)
entry_point_offset_minus1[ i ]entry_point_offset_minus1[ i ] u(v)u(v)
}}
byte_alignment( )byte_alignment( )
}}
다음은 상기 타일 그룹 헤더의 신택스에 대한 영문 시맨틱스의 일 예시를 나타낸다.The following shows an example of English semantics for the syntax of the tile group header.
<타일 그룹 헤더의 신택스에 대한 영문 시맨틱스> <English semantics for the syntax of tile group headers>
When present, the value of the tile group header syntax element tile_group_pic_parameter_set_id and tile_group_pic_order_cnt_lsb shall be the same in all tile group headers of a coded picture.When present, the value of the tile group header syntax element tile_group_pic_parameter_set_id and tile_group_pic_order_cnt_lsb shall be the same in all tile group headers of a coded picture.
tile_group_pic_parameter_set_id specifies the value of pps_pic_parameter_set_id for the PPS in use. The value of tile_group_pic_parameter_set_id shall be in the range of 0 to 63, inclusive.tile_group_pic_parameter_set_id specifies the value of pps_pic_parameter_set_id for the PPS in use. The value of tile_group_pic_parameter_set_id shall be in the range of 0 to 63, inclusive.
It is a requirement of bitstream conformance that the value of TemporalId of the current picture shall be greater than or equal to the value of TemporalId of the PPS that has pps_pic_parameter_set_id equal to tile_group_pic_parameter_set_id.It is a requirement of bitstream conformance that the value of TemporalId of the current picture shall be greater than or equal to the value of TemporalId of the PPS that has pps_pic_parameter_set_id equal to tile_group_pic_parameter_set_id.
tile_group_address specifies the tile address of the first tile in the tile group, where tile address is the tile ID. The length of tile_group_address is Ceil( Log2 ( NumTilesInPic ) ) bits. The value of tile_group_address shall be in the range of 0 to NumTilesInPic - 1, inclusive, and the value of tile_group_address shall not be equal to the value of tile_group_address of any other coded tile group NAL unit of the same coded picture. When tile_group_address is not present it is inferred to be equal to 0.tile_group_address specifies the tile address of the first tile in the tile group, where tile address is the tile ID. The length of tile_group_address is Ceil( Log2 (NumTilesInPic)) bits. The value of tile_group_address shall be in the range of 0 to NumTilesInPic-1, inclusive, and the value of tile_group_address shall not be equal to the value of tile_group_address of any other coded tile group NAL unit of the same coded picture. When tile_group_address is not present it is inferred to be equal to 0.
num_tiles_in_tile_group_minus1 plus 1 specifies the number of tiles in the tile group. The value of num_tiles_in_tile_group_minus1 shall be in the range of 0 to NumTilesInPic - 1, inclusive. When not present, the value of num_tiles_in_tile_group_minus1 is inferred to be equal to 0.num_tiles_in_tile_group_minus1 plus 1 specifies the number of tiles in the tile group. The value of num_tiles_in_tile_group_minus1 shall be in the range of 0 to NumTilesInPic-1, inclusive. When not present, the value of num_tiles_in_tile_group_minus1 is inferred to be equal to 0.
tile_group_type specifies the coding type of the tile group according to 표 5.tile_group_type specifies the coding type of the tile group according to Table 5.
tile_group_typetile_group_type Name of tile_group_typeName of tile_group_type
00 B (B tile group)B (B tile group)
1One P (P tile group)P (P tile group)
22 I (I tile group)I (I tile group)
When nal_unit_type is equal to IRAP_NUT, i.e., the picture is an IRAP picture, tile_group_type shall be equal to 2.When nal_unit_type is equal to IRAP_NUT, i.e., the picture is an IRAP picture, tile_group_type shall be equal to 2.
tile_group_pic_order_cnt_lsb specifies the picture order count modulo MaxPicOrderCntLsb for the current picture. The length of the tile_group_pic_order_cnt_lsb syntax element is log2_max_pic_order_cnt_lsb_minus4 + 4 bits. The value of the tile_group_pic_order_cnt_lsb shall be in the range of 0 to MaxPicOrderCntLsb - 1, inclusive.tile_group_pic_order_cnt_lsb specifies the picture order count modulo MaxPicOrderCntLsb for the current picture. The length of the tile_group_pic_order_cnt_lsb syntax element is log2_max_pic_order_cnt_lsb_minus4 + 4 bits. The value of the tile_group_pic_order_cnt_lsb shall be in the range of 0 to MaxPicOrderCntLsb-1, inclusive.
offset_len_minus1 plus 1 specifies the length, in bits, of the entry_point_offset_minus1[ i ] syntax elements. The value of offset_len_minus1 shall be in the range of 0 to 31, inclusive.offset_len_minus1 plus 1 specifies the length, in bits, of the entry_point_offset_minus1[ i] syntax elements. The value of offset_len_minus1 shall be in the range of 0 to 31, inclusive.
entry_point_offset_minus1[ i ] plus 1 specifies the i-th entry point offset in bytes, and is represented by offset_len_minus1 plus 1 bits. The tile group data that follow the tile group header consists of num_tiles_in_tile_group_minus1 +1 subsets, with subset index values ranging from 0 to num_tiles_in_tile_group_minus1, inclusive. The first byte of the tile group data is considered byte 0. When present, emulation prevention bytes that appear in the tile group data portion of the coded tile group NAL unit are counted as part of the tile group data for purposes of subset identification. Subset 0 consists of bytes 0 to entry_point_offset_minus1[ 0 ], inclusive, of the coded tile group data, subset k, with k in the range of 1 to num_tiles_in_tile_group_minus1 - 1, inclusive, consists of bytes firstByte[ k ] to lastByte[ k ], inclusive, of the coded tile group data with firstByte[ k ] and lastByte[ k ] defined as:entry_point_offset_minus1[ i] plus 1 specifies the i-th entry point offset in bytes, and is represented by offset_len_minus1 plus 1 bits. The tile group data that follow the tile group header consists of num_tiles_in_tile_group_minus1 +1 subsets, with subset index values ranging from 0 to num_tiles_in_tile_group_minus1, inclusive. The first byte of the tile group data is considered byte 0.When present, emulation prevention bytes that appear in the tile group data portion of the coded tile group NAL unit are counted as part of the tile group data for purposes of subset identification. Subset 0 consists of bytes 0 to entry_point_offset_minus1[ 0 ], inclusive, of the coded tile group data, subset k, with k in the range of 1 to num_tiles_in_tile_group_minus1-1, inclusive, consists of bytes firstByte[ k] to lastByte[ k] , inclusive, of the coded tile group data with firstByte[ k] and lastByte[ k] defined as:
Figure PCTKR2019017999-appb-I000001
Figure PCTKR2019017999-appb-I000001
The last subset (with subset index equal to num_tiles_in_tile_group_minus1) consists of the remaining bytes of the coded tile group data.The last subset (with subset index equal to num_tiles_in_tile_group_minus1) consists of the remaining bytes of the coded tile group data.
Each subset shall consist of all coded bits of all CTUs in the tile group that are within the same tile.Each subset shall consist of all coded bits of all CTUs in the tile group that are within the same tile.
일 실시예에서, 타일 그룹은 타일 그룹 헤더 및 타일 그룹 데이터를 포함할 수 있다. 타일 그룹 어드레스가 알려지면, 타일 그룹 내 각 CTU의 개별적인 위치들이 매핑되어 디코딩 될 수 있다. 아래의 표 6은 타일 그룹 데이터의 신택스의 일 예시를 나타낸다. In one embodiment, the tile group may include a tile group header and tile group data. When the tile group address is known, individual positions of each CTU in the tile group may be mapped and decoded. Table 6 below shows an example of the syntax of tile group data.
tile_group_data( ) {tile_group_data( ) { DescriptorDescriptor
tileIdx = tile_group_addresstileIdx = tile_group_address
for( i = 0; i <= num_tiles_in_tile_group_minus1; i++, tileIdx++ ) {for( i = 0; i <= num_tiles_in_tile_group_minus1; i++, tileIdx++) {
ctbAddrInTs = FirstCtbAddrTs[ tileIdx ]ctbAddrInTs = FirstCtbAddrTs[ tileIdx ]
for( j = 0; j < NumCtusInTile[ tileIdx ]; j++, ctbAddrInTs++ ) {for( j = 0; j <NumCtusInTile[ tileIdx ]; j++, ctbAddrInTs++) {
CtbAddrInRs = CtbAddrTsToRs[ ctbAddrInTs ]CtbAddrInRs = CtbAddrTsToRs[ ctbAddrInTs ]
coding_tree_unit( )coding_tree_unit( )
}}
end_of_tile_one_bit /* equal to 1 */end_of_tile_one_bit /* equal to 1 */ ae(v)ae(v)
if( i < num_tiles_in_tile_group_minus1 )if( i <num_tiles_in_tile_group_minus1)
byte_alignment( )byte_alignment( )
}}
}}
다음은 상기 타일 그룹 데이터의 신택스에 대한 영문 시맨틱스의 일 예시를 나타낸다.The following shows an example of English semantics for the syntax of the tile group data.
<타일 그룹 데이터의 신택스에 대한 영문 시맨틱스><English semantics for the syntax of tile group data>
Where the semantics are:Where the semantics are:
The list ColWidth[ i ] for i ranging from 0 to num_tile_columns_minus1, inclusive, specifying the width of the i-th tile column in units of CTBs, is derived as follows:The list ColWidth[ i] for i ranging from 0 to num_tile_columns_minus1, inclusive, specifying the width of the i-th tile column in units of CTBs, is derived as follows:
if( uniform_tile_spacing_flag )if( uniform_tile_spacing_flag)
for( i = 0; i <= num_tile_columns_minus1; i++ )for( i = 0; i <= num_tile_columns_minus1; i++)
ColWidth[ i ] = ( ( i + 1 ) * PicWidthInCtbsY ) / ( num_tile_columns_minus1 + 1 ) - ColWidth[ i] = ((i + 1) * PicWidthInCtbsY) / (num_tile_columns_minus1 + 1)-
( i * PicWidthInCtbsY ) / ( num_tile_columns_minus1 + 1 )(i * PicWidthInCtbsY) / (num_tile_columns_minus1 + 1)
else {else {
ColWidth[ num_tile_columns_minus1 ] = PicWidthInCtbsY ColWidth[ num_tile_columns_minus1] = PicWidthInCtbsY
for( i = 0; i < num_tile_columns_minus1; i++ ) {for( i = 0; i <num_tile_columns_minus1; i++) {
ColWidth[ i ] = tile_column_width_minus1[ i ] + 1ColWidth[ i] = tile_column_width_minus1[ i] + 1
ColWidth[ num_tile_columns_minus1 ] -= ColWidth[ i ]ColWidth[ num_tile_columns_minus1] -= ColWidth[ i]
}}
}}
The list RowHeight[ j ] for j ranging from 0 to num_tile_rows_minus1, inclusive, specifying the height of the j-th tile row in units of CTBs, is derived as follows:The list RowHeight[ j] for j ranging from 0 to num_tile_rows_minus1, inclusive, specifying the height of the j-th tile row in units of CTBs, is derived as follows:
if( uniform_tile_spacing_flag )if( uniform_tile_spacing_flag)
for( j = 0; j <= num_tile_rows_minus1; j++ )for( j = 0; j <= num_tile_rows_minus1; j++)
RowHeight[ j ] = ( ( j + 1 ) * PicHeightInCtbsY ) / ( num_tile_rows_minus1 + 1 ) - RowHeight[ j] = ((j + 1) * PicHeightInCtbsY) / (num_tile_rows_minus1 + 1)-
( j * PicHeightInCtbsY ) / ( num_tile_rows_minus1 + 1 )(j * PicHeightInCtbsY) / (num_tile_rows_minus1 + 1)
else {else {
RowHeight[ num_tile_rows_minus1 ] = PicHeightInCtbsY RowHeight[ num_tile_rows_minus1] = PicHeightInCtbsY
for( j = 0; j < num_tile_rows_minus1; j++ ) {for( j = 0; j <num_tile_rows_minus1; j++) {
RowHeight[ j ] = tile_row_height_minus1[ j ] + 1RowHeight[ j] = tile_row_height_minus1[ j] + 1
RowHeight[ num_tile_rows_minus1 ] -= RowHeight[ j ]RowHeight[ num_tile_rows_minus1] -= RowHeight[ j]
}}
}}
The list ColBd[ i ] for i ranging from 0 to num_tile_columns_minus1 + 1, inclusive, specifying the location of the i-th tile column boundary in units of CTBs, is derived as follows:The list ColBd[ i] for i ranging from 0 to num_tile_columns_minus1 + 1, inclusive, specifying the location of the i-th tile column boundary in units of CTBs, is derived as follows:
for( ColBd[ 0 ] = 0, i = 0; i <= num_tile_columns_minus1; i++ )for( ColBd[ 0] = 0, i = 0; i <= num_tile_columns_minus1; i++)
ColBd[ i + 1 ] = ColBd[ i ] + ColWidth[ i ] ColBd[ i + 1] = ColBd[ i] + ColWidth[ i]
The list RowBd[ j ] for j ranging from 0 to num_tile_rows_minus1 + 1, inclusive, specifying the location of the j-th tile row boundary in units of CTBs, is derived as follows:The list RowBd[ j] for j ranging from 0 to num_tile_rows_minus1 + 1, inclusive, specifying the location of the j-th tile row boundary in units of CTBs, is derived as follows:
for( RowBd[ 0 ] = 0, j = 0; j <= num_tile_rows_minus1; j++ )for( RowBd[ 0] = 0, j = 0; j <= num_tile_rows_minus1; j++)
RowBd[ j + 1 ] = RowBd[ j ] + RowHeight[ j ] RowBd[ j + 1] = RowBd[ j] + RowHeight[ j]
The list CtbAddrRsToTs[ ctbAddrRs ] for ctbAddrRs ranging from 0 to PicSizeInCtbsY - 1, inclusive, specifying the conversion from a CTB address in CTB raster scan of a picture to a CTB address in tile scan, is derived as follows:The list CtbAddrRsToTs[ ctbAddrRs] for ctbAddrRs ranging from 0 to PicSizeInCtbsY-1, inclusive, specifying the conversion from a CTB address in CTB raster scan of a picture to a CTB address in tile scan, is derived as follows:
for( ctbAddrRs = 0; ctbAddrRs < PicSizeInCtbsY; ctbAddrRs++ ) {for( ctbAddrRs = 0; ctbAddrRs <PicSizeInCtbsY; ctbAddrRs++) {
tbX = ctbAddrRs % PicWidthInCtbsYtbX = ctbAddrRs% PicWidthInCtbsY
tbY = ctbAddrRs / PicWidthInCtbsYtbY = ctbAddrRs / PicWidthInCtbsY
for( i = 0; i <= num_tile_columns_minus1; i++ )for( i = 0; i <= num_tile_columns_minus1; i++)
if( tbX >= ColBd[ i ] )if( tbX >= ColBd[ i])
tileX = itileX = i
for( j = 0; j <= num_tile_rows_minus1; j++ ) for( j = 0; j <= num_tile_rows_minus1; j++)
if( tbY >= RowBd[ j ] )if( tbY >= RowBd[ j])
tileY = jtileY = j
CtbAddrRsToTs[ ctbAddrRs ] = 0CtbAddrRsToTs[ ctbAddrRs] = 0
for( i = 0; i < tileX; i++ )for( i = 0; i <tileX; i++)
CtbAddrRsToTs[ ctbAddrRs ] += RowHeight[ tileY ] * ColWidth[ i ]CtbAddrRsToTs[ ctbAddrRs] += RowHeight[ tileY] * ColWidth[ i]
for( j = 0; j < tileY; j++ )for( j = 0; j <tileY; j++)
CtbAddrRsToTs[ ctbAddrRs ] += PicWidthInCtbsY * RowHeight[ j ]CtbAddrRsToTs[ ctbAddrRs] += PicWidthInCtbsY * RowHeight[ j]
CtbAddrRsToTs[ ctbAddrRs ] += ( tbY - RowBd[ tileY ] ) * ColWidth[ tileX ] + tbX - ColBd[ tileX ]CtbAddrRsToTs[ ctbAddrRs] += (tbY-RowBd[ tileY]) * ColWidth[ tileX] + tbX-ColBd[ tileX]
}}
The list CtbAddrTsToRs[ ctbAddrTs ] for ctbAddrTs ranging from 0 to PicSizeInCtbsY - 1, inclusive, specifying the conversion from a CTB address in tile scan to a CTB address in CTB raster scan of a picture, is derived as follows:The list CtbAddrTsToRs[ ctbAddrTs] for ctbAddrTs ranging from 0 to PicSizeInCtbsY-1, inclusive, specifying the conversion from a CTB address in tile scan to a CTB address in CTB raster scan of a picture, is derived as follows:
for( ctbAddrRs = 0; ctbAddrRs < PicSizeInCtbsY; ctbAddrRs++ ) for( ctbAddrRs = 0; ctbAddrRs <PicSizeInCtbsY; ctbAddrRs++)
CtbAddrTsToRs[ CtbAddrRsToTs[ ctbAddrRs ] ] = ctbAddrRsCtbAddrTsToRs[ CtbAddrRsToTs[ ctbAddrRs]] = ctbAddrRs
The list TileId[ ctbAddrTs ] for ctbAddrTs ranging from 0 to PicSizeInCtbsY - 1, inclusive, specifying the conversion from a CTB address in tile scan to a tile ID, is derived as follows:The list TileId[ ctbAddrTs] for ctbAddrTs ranging from 0 to PicSizeInCtbsY-1, inclusive, specifying the conversion from a CTB address in tile scan to a tile ID, is derived as follows:
for( j = 0, tileIdx = 0; j <= num_tile_rows_minus1; j++ )for( j = 0, tileIdx = 0; j <= num_tile_rows_minus1; j++)
for( i = 0; i <= num_tile_columns_minus1; i++, tileIdx++ )for( i = 0; i <= num_tile_columns_minus1; i++, tileIdx++)
for( y = RowBd[ j ]; y < RowBd[ j + 1 ]; y++ ) for( y = RowBd[ j ]; y <RowBd[ j + 1 ]; y++)
for( x = ColBd[ i ]; x < ColBd[ i + 1 ]; x++ )for( x = ColBd[ i ]; x <ColBd[ i + 1 ]; x++)
TileId[ CtbAddrRsToTs[ y * PicWidthInCtbsY+ x ] ] = tileIdxTileId[ CtbAddrRsToTs[ y * PicWidthInCtbsY+ x]] = tileIdx
The list NumCtusInTile[ tileIdx ] for tileIdx ranging from 0 to PicSizeInCtbsY - 1, inclusive, specifying the conversion from a tile index to the number of CTUs in the tile, is derived as follows:The list NumCtusInTile[ tileIdx] for tileIdx ranging from 0 to PicSizeInCtbsY-1, inclusive, specifying the conversion from a tile index to the number of CTUs in the tile, is derived as follows:
for( j = 0, tileIdx = 0; j <= num_tile_rows_minus1; j++ )for( j = 0, tileIdx = 0; j <= num_tile_rows_minus1; j++)
for( i = 0; i <= num_tile_columns_minus1; i++, tileIdx++ ) for( i = 0; i <= num_tile_columns_minus1; i++, tileIdx++)
NumCtusInTile[ tileIdx ] = ColWidth[ i ] * RowHeight[ j ]NumCtusInTile[ tileIdx] = ColWidth[ i] * RowHeight[ j]
The list FirstCtbAddrTs[ tileIdx ] for tileIdx ranging from 0 to NumTilesInPic - 1, inclusive, specifying the conversion from a tile ID to the CTB address in tile scan of the first CTB in the tile are derived as follows:The list FirstCtbAddrTs[ tileIdx] for tileIdx ranging from 0 to NumTilesInPic-1, inclusive, specifying the conversion from a tile ID to the CTB address in tile scan of the first CTB in the tile are derived as follows:
for( ctbAddrTs = 0, tileIdx = 0, tileStartFlag = 1; ctbAddrTs < PicSizeInCtbsY; ctbAddrTs++ ) {for( ctbAddrTs = 0, tileIdx = 0, tileStartFlag = 1; ctbAddrTs <PicSizeInCtbsY; ctbAddrTs++) {
if( tileStartFlag ) {if( tileStartFlag) {
FirstCtbAddrTs[ tileIdx ] = ctbAddrTs FirstCtbAddrTs[ tileIdx] = ctbAddrTs
tileStartFlag = 0tileStartFlag = 0
}}
tileEndFlag = ctbAddrTs = = PicSizeInCtbsY - 1 | | TileId[ ctbAddrTs + 1 ] != TileId[ ctbAddrTs ]tileEndFlag = ctbAddrTs = = PicSizeInCtbsY-1 | | TileId[ ctbAddrTs + 1] != TileId[ ctbAddrTs]
if( tileEndFlag ) {if( tileEndFlag) {
tileIdx++tileIdx++
tileStartFlag = 1tileStartFlag = 1
}}
}}
The values of ColumnWidthInLumaSamples[ i ], specifying the width of the i-th tile column in units of luma samples, are set equal to ColWidth[ i ] << CtbLog2SizeY for i ranging from 0 to num_tile_columns_minus1, inclusive.The values of ColumnWidthInLumaSamples[ i ], specifying the width of the i-th tile column in units of luma samples, are set equal to ColWidth[ i] << CtbLog2SizeY for i ranging from 0 to num_tile_columns_minus1, inclusive.
The values of RowHeightInLumaSamples[ j ], specifying the height of the j-th tile row in units of luma samples, are set equal to RowHeight[ j ] << CtbLog2SizeY for j ranging from 0 to num_tile_rows_minus1, inclusive.The values of RowHeightInLumaSamples[ j ], specifying the height of the j-th tile row in units of luma samples, are set equal to RowHeight[ j] << CtbLog2SizeY for j ranging from 0 to num_tile_rows_minus1, inclusive.
일 실시예에서, 타일들의 유즈 케이스 및 적용과 관련하여, 픽처의 분할을 요구하는 다양한 적용 예들이 존재할 수 있다. In one embodiment, in relation to the use case and application of tiles, there may be various application examples requiring picture division.
일 예시에서, 병렬 처리(parallel processing)에 대해 검토해 보기로 한다. 멀티 코어 CPU들에서 실행되는 구현들은 소스 픽처(source picture)가 타일들 및 타일 그룹들로 분할될 것을 요구할 수 있다. 각 타일 그룹은 분리된 코어에서 병렬 처리될 수 있다. 상기 병렬 처리는 비디오들의 고 레졸루션 실시간 인코딩에 이로울 수 있다. 추가적으로, 상기 병렬 처리는 타일 그룹들 간의 정보 공유를 감소시킬 수 있으며, 이에 따라 메모리 제한(constraint)을 감소시킬 수 있다. 타일들은 병렬 처리 동안 서로 다른 쓰레드(thread)로 분배될 수 있으므로, 병렬 아키텍쳐는 이러한 분할 메커니즘으의 혜택을 받을 수 있다.In one example, let's look at parallel processing. Implementations running on multi-core CPUs may require that the source picture be divided into tiles and tile groups. Each tile group can be processed in parallel on a separate core. The parallel processing can be beneficial for high resolution real-time encoding of videos. Additionally, the parallel processing may reduce information sharing between tile groups, thereby reducing memory constraints. Since tiles can be distributed to different threads during parallel processing, parallel architectures can benefit from this partitioning mechanism.
다른 일 예시에서, 최대 전송 유닛(Maximum Transmission Unit, MTU) 사이즈 매칭에 대해 검토해 보기로 한다. 네트워크를 통해 전송된 코딩된 픽처들은, 상기 코딩된 픽처들이 MTU 사이즈보다 큰 경우 조각화(fragmentation)의 대상이 될 수 있다. 유사하게, 상기 코딩된 세그먼트들이 작은 경우, IP(Internet Protocol) 헤더는 중요해 질 수 있다. 패킷 조각화는 에러 레질리언시(error resiliency)의 손실을 초래할 수 있다. 패킷 조각화의 효과들을 완화하기 위해 픽처를 타일들로 분할하고 각 타일/타일 그룹을 분리된 패킷으로 패킹하는 것은, 패킷이 MTU 사이즈보다 작다는 것에 대한 확신을 줄 수 있다.In another example, a maximum transmission unit (MTU) size matching will be examined. Coded pictures transmitted through a network may be subject to fragmentation when the coded pictures are larger than the MTU size. Similarly, when the coded segments are small, an Internet Protocol (IP) header may become important. Packet fragmentation may lead to loss of error resiliency. Dividing the picture into tiles and packing each tile/tile group into separate packets to mitigate the effects of packet fragmentation can give confidence that the packet is smaller than the MTU size.
또 다른 일 예시에서, 에러 레질리언스에 대해 검토해 보기로 한다. 에러 레질리언스는 코딩된 타일 그룹들에 불균형 에러 보호(Unequal Error Protection, UEP)를 적용하는 일부 적용들의 요구 사항에 의해 동기가 부여될(motivated) 수 있다. In another example, let's look at error resilience. Error resilience may be motivated by the requirements of some applications that apply Unequal Error Protection (UEP) to coded tile groups.
일 실시예에서, 픽처 파티셔닝을 위한 명시적 유니폼 시그널링(explicit uniform signaling)이 제안될 수 있다. 다시 말해, 유니폼 스페이싱을 위해 타일 열들 및 타일 행들에 대한 정보의 명시적 시그널링이 제안될 수 있다. 아래의 표 7은 PPS 레벨의 신택스를 일부 발췌한 일 예시를 나타내고, 아래의 표 8은 상기 일부 발췌된 신택스에 대한 시맨틱스의 일 예시를 나타낸다.In one embodiment, explicit uniform signaling for picture partitioning may be proposed. In other words, explicit signaling of information on tile columns and tile rows may be proposed for uniform spacing. Table 7 below shows an example of partially extracted syntax of the PPS level, and Table 8 below shows an example of semantics for the partially extracted syntax.
pic_parameter_set_rbsp( ) {pic_parameter_set_rbsp( ) { DescriptorDescriptor
......
single_tile_in_pic_flagsingle_tile_in_pic_flag u(1)u(1)
if( !single_tile_in_pic_flag ) {if( !single_tile_in_pic_flag) {
uniform_tile_spacing_flaguniform_tile_spacing_flag u(1)u(1)
if( uniform_tile_spacing_flag ) {if( uniform_tile_spacing_flag) {
tile_cols_width_minus1tile_cols_width_minus1 ue(v)ue(v)
tile_rows_height_minus1tile_rows_height_minus1 ue(v)ue(v)
} else {} else {
num_tile_columns_minus1num_tile_columns_minus1 ue(v)ue(v)
num_tile_rows_minus1num_tile_rows_minus1 ue(v)ue(v)
for( i = 0; i < num_tile_columns_minus1; i++ )for( i = 0; i <num_tile_columns_minus1; i++)
tile_column_width_minus1[ i ]tile_column_width_minus1[ i ] ue(v)ue(v)
for( i = 0; i < num_tile_rows_minus1; i++ )for( i = 0; i <num_tile_rows_minus1; i++)
tile_row_height_minus1[ i ]tile_row_height_minus1[ i ] ue(v)ue(v)
}}
......
single_tile_in_pic_flag equal to 1 specifies that there is only one tile in each picture referring to the PPS. single_tile_in_pic_flag equal to 0 specifies that there is more than one tile in each picture referring to the PPS.NOTE - In absence of further brick splitting within a tile, the whole tile is referred to as a brick. When a picture contains only a single tile without further brick splitting, it is referred to as a single brick.It is a requirement of bitstream conformance that the value of single_tile_in_pic_flag shall be the same for all PPSs that are activated within a CVS.single_tile_in_pic_flag equal to 1 specifies that there is only one tile in each picture referring to the PPS. single_tile_in_pic_flag equal to 0 specifies that there is more than one tile in each picture referring to the PPS.NOTE - In absence of further brick splitting within a tile, the whole tile is referred to as a brick. When a picture contains only a single tile without further brick splitting, it is referred to as a single brick.It is a requirement of bitstream conformance that the value of single_tile_in_pic_flag shall be the same for all PPSs that are activated within a CVS.
uniform_tile_spacing_flag equal to 1 specifies that tile column boundaries and likewise tile row boundaries are distributed uniformly across the picture and signalled using the syntax elements tile_cols_width_minus1 and tile_rows_height_minus1. uniform_tile_spacing_flag equal to 0 specifies that tile column boundaries and likewise tile row boundaries may or may not be distributed uniformly across the picture and signalled using the syntax elements num_tile_columns_minus1 and num_tile_rows_minus1 and a list of syntax element pairs tile_column_width_minus1[ i ] and tile_row_height_minus1[ i ]. When not present, the value of uniform_tile_spacing_flag is inferred to be equal to 1.uniform_tile_spacing_flag equal to 1 specifies that tile column boundaries and likewise tile row boundaries are distributed uniformly across the picture and signalled using the syntax elements tile_cols_width_minus1 and tile_rows_height_minus1. uniform_tile_spacing_flag equal to 0 specifies that tile column boundaries and likewise tile row boundaries may or may not be distributed uniformly across the picture and signalled using the syntax elements num_tile_columns_minus1 and num_tile_rows_minus1 and a list of syntax element pairs tile_column_width_minus1[ i 1] and tile_row_minus1. When not present, the value of uniform_tile_spacing_flag is inferred to be equal to 1.
tile_cols_width_minus1 plus 1 specifies the width of the tile columns excluding the right-most tile column of the picture in units of CTBs when uniform_tile_spacing_flag is equal to 1. The value of tile_cols_width_minus1 shall be in the range of 0 to PicWidthInCtbsY - 1, inclusive.tile_cols_width_minus1 plus 1 specifies the width of the tile columns excluding the right-most tile column of the picture in units of CTBs when uniform_tile_spacing_flag is equal to 1.The value of tile_cols_width_minus1 shall be in the range of 0 to PicWidthInCtbsY-1, inclusive.
tile_rows_height_minus1 plus 1 specifies the height of the tile rows excluding the bottom tile row of the picture in units of CTBs when uniform_tile_spacing_flag is equal to 1. The value of tile_rows_height_minus1 shall be in the range of 0 to PicHeightInCtbsY - 1, inclusive.tile_rows_height_minus1 plus 1 specifies the height of the tile rows excluding the bottom tile row of the picture in units of CTBs when uniform_tile_spacing_flag is equal to 1.The value of tile_rows_height_minus1 shall be in the range of 0 to PicHeightInCtbsY-1, inclusive.
num_tile_columns_minus1 plus 1 specifies the number of tile columns partitioning the picture when uniform_tile_spacing_flag is equal to 0. The value of num_tile_columns_minus1 shall be in the range of 0 to PicWidthInCtbsY - 1, inclusive. If single_tile_in_pic_flag is equal to 1, the value of num_tile_columns_minus1 is inferred to be equal to 0. Otherwise, when uniform_tile_spacing_flag is equal to 1, the value of num_tile_columns_minus1 is inferred.num_tile_columns_minus1 plus 1 specifies the number of tile columns partitioning the picture when uniform_tile_spacing_flag is equal to 0.The value of num_tile_columns_minus1 shall be in the range of 0 to PicWidthInCtbsY-1, inclusive. If single_tile_in_pic_flag is equal to 1, the value of num_tile_columns_minus1 is inferred to be equal to 0.Otherwise, when uniform_tile_spacing_flag is equal to 1, the value of num_tile_columns_minus1 is inferred.
num_tile_rows_minus1 plus 1 specifies the number of tile rows partitioning the picture when uniform_tile_spacing_flag is equal to 0. The value of num_tile_rows_minus1 shall be in the range of 0 to PicHeightInCtbsY - 1, inclusive. If single_tile_in_pic_flag is equal to 1, the value of num_tile_rows_minus1 is inferred to be equal to 0. Otherwise, when uniform_tile_spacing_flag is equal to 1, the value of num_tile_rows_minus1 is inferred.The variable NumTilesInPic is set equal to ( num_tile_columns_minus1 + 1 ) * ( num_tile_rows_minus1 + 1 ).When single_tile_in_pic_flag is equal to 0, NumTilesInPic shall be greater than 1.num_tile_rows_minus1 plus 1 specifies the number of tile rows partitioning the picture when uniform_tile_spacing_flag is equal to 0.The value of num_tile_rows_minus1 shall be in the range of 0 to PicHeightInCtbsY-1, inclusive. If single_tile_in_pic_flag is equal to 1, the value of num_tile_rows_minus1 is inferred to be equal to 0.Otherwise, when uniform_tile_spacing_flag is equal to 1, the value of num_tile_rows_minus1 is inferred.The variable NumTilesInPic is inferred.The variable NumTilesInPic is inferred.The variable NumTilesInPic is inferred. + 1 ).When single_tile_in_pic_flag is equal to 0, NumTilesInPic shall be greater than 1.
tile_column_width_minus1[ i ] plus 1 specifies the width of the i-th tile column in units of CTBs.tile_column_width_minus1[ i ] plus 1 specifies the width of the i-th tile column in units of CTBs.
tile_row_height_minus1[ i ] plus 1 specifies the height of the i-th tile row in units of CTBs.tile_row_height_minus1[ i ] plus 1 specifies the height of the i-th tile row in units of CTBs.
일 실시예에서, 픽처 내 복수의 타일들이 존재하는 경우, 픽처를 유니폼하게 분할하여 폭 및 높이가 동일한 타일들을 도출할지 여부를 나타내는 신택스 요소 uniform_tile_spacing_flag가 파싱될 수 있다. 상기 신택스 요소 uniform_tile_spacing_flag는 픽처 내 타일들이 유니폼하게 분할되었는지 여부를 나타낼 때 이용될 수 있다. 상기 신택스 요소 uniform_tile_spacing_flag가 인에이블 된 경우, 타일 열의 폭과 타일 행의 높이가 명시적으로 파싱될 수 있다. 즉, 타일 열의 폭을 나타내는 신택스 요소 tile_cols_width_minus1과 타일 행의 높이를 나타내는 신택스 요소 tile_rows_height_minus1이 명시적으로 시그널링 및/또는 파싱될 수 있다. In an embodiment, when there are a plurality of tiles in a picture, a syntax element uniform_tile_spacing_flag indicating whether tiles having the same width and height are derived by uniformly dividing the picture may be parsed. The syntax element uniform_tile_spacing_flag may be used to indicate whether tiles within a picture are uniformly divided. When the syntax element uniform_tile_spacing_flag is enabled, the width of the tile column and the height of the tile row may be explicitly parsed. That is, the syntax element tile_cols_width_minus1 indicating the width of the tile column and the syntax element tile_rows_height_minus1 indicating the height of the tile row may be explicitly signaled and/or parsed.
또한, 신택스 요소 num_tile_columns_minus1 및 num_tile_rows_minus1이 시그널링 및/또는 파싱될 수 있다. 상기 신택스 요소 num_tile_columns_minus1은 픽처를, 명시적으로 시그널링된 타일 열들의 폭들을 기반으로 복수의 타일들로 분할함에 있어서, 상기 명시적으로 시그널링 되는 타일 열들의 개수를 나타낼 수 있다. 또는, 상기 신택스 요소 num_tile_columns_minus1은 픽처 내 일부 영역을, 명시적으로 시그널링된 상기 일부 영역에 대한 타일 열들의 폭들을 기반으로 복수의 타일들로 분할함에 있어서, 상기 명시적으로 시그널링 되는 타일 열들의 개수를 나타낼 수도 있다. 신택스 요소 num_tile_columns_minus1이 픽처 내 일부 영역을 복수의 타일들로 분할하기 위해 폭이 시그널링 되는 타일 열들의 개수를 나타내는 경우, 상기 신택스 요소 num_tile_columns_minus1은 신택스 요소 num_exp_tile_columns_minus1로 표기될 수도 있다. In addition, syntax elements num_tile_columns_minus1 and num_tile_rows_minus1 may be signaled and/or parsed. The syntax element num_tile_columns_minus1 may indicate the number of explicitly signaled tile columns when dividing a picture into a plurality of tiles based on widths of explicitly signaled tile columns. Alternatively, the syntax element num_tile_columns_minus1 determines the number of explicitly signaled tile columns in dividing a partial region in a picture into a plurality of tiles based on the widths of tile columns for the explicitly signaled partial region. It can also be indicated. When the syntax element num_tile_columns_minus1 represents the number of tile columns whose width is signaled to divide a partial region in a picture into a plurality of tiles, the syntax element num_tile_columns_minus1 may be expressed as a syntax element num_exp_tile_columns_minus1.
마찬가지로, 상기 신택스 요소 num_tile_rows_minus1은 픽처를, 명시적으로 시그널링된 타일 행들의 높이들을 기반으로 복수의 타일들로 분할함에 있어서, 상기 명시적으로 시그널링 되는 타일 행들의 개수를 나타낼 수 있다. 또는, 상기 신택스 요소 num_tile_rows_minus1은 픽처 내 일부 영역을, 명시적으로 시그널링된 상기 일부 영역에 대한 타일 행들의 높이들을 기반으로 복수의 타일들로 분할함에 있어서, 상기 명시적으로 시그널링 되는 타일 행들의 개수를 나타낼 수도 있다. 신택스 요소 num_tile_rows_minus1이 픽처 내 일부 영역을 복수의 타일들로 분할하기 위해 높이가 시그널링 되는 타일 열들의 개수를 나타내는 경우, 상기 신택스 요소 num_tile_rows_minus1은 신택스 요소 num_exp_tile_rows_minus1로 표기될 수도 있다. Likewise, the syntax element num_tile_rows_minus1 may indicate the number of explicitly signaled tile rows when dividing a picture into a plurality of tiles based on the heights of explicitly signaled tile rows. Alternatively, the syntax element num_tile_rows_minus1 determines the number of explicitly signaled tile rows in dividing a partial region in a picture into a plurality of tiles based on the heights of tile rows for the explicitly signaled partial region. It can also be indicated. When the syntax element num_tile_rows_minus1 represents the number of tile columns whose height is signaled in order to divide a partial region in a picture into a plurality of tiles, the syntax element num_tile_rows_minus1 may be expressed as a syntax element num_exp_tile_rows_minus1.
일 실시예에서, 상기 num_exp_tile_columns_minus1(또는 num_tile_columns_minus1)은 현재 픽처 내 타일 분할 구조를 도출하기 위한 복수의 타일 열들 중 폭(width)에 대한 정보가 파싱되는 폭 파싱 열들(width parsing columns)의 개수에 대한 정보의 일 예시를 나타낼 수 있고, 상기 num_exp_tile_rows_minus1(또는 num_tile_rows_minus1)은 현재 픽처 내 타일 분할 구조를 도출하기 위한 복수의 행들 중 높이(height)에 대한 정보가 파싱되는 높이 파싱 행들(height parsing rows)의 개수에 대한 정보의 일 예시를 나타낼 수 있다. 상기 폭 파싱 열들의 폭들 중 마지막에 파싱되는 폭을 나타내는 라스트 위드쓰(last width)에 대한 정보는, 상기 표 6을 기준으로 tile_column_width_minus1 [num_exp_tile_columns_minus1] + 1 또는 tile_column_width_minus1 [num_tile_columns_minus1] + 1로 나타낼 수 있다. 상기 높이 파싱 행들의 높이들 중 마지막에 파싱되는 높이를 나타내는 라스트 하이트(last height)에 대한 정보는, 상기 표 6을 기준으로 tile_row_height_minus1 [num_exp_tile_rows_minus1] + 1 또는 tile_row_height_minus1 [num_tile_rows_minus1] + 1로 나타낼 수 있다. In one embodiment, the num_exp_tile_columns_minus1 (or num_tile_columns_minus1) is information on the number of width parsing columns in which information about a width is parsed among a plurality of tile columns for deriving a tile division structure in a current picture. May represent an example of, and num_exp_tile_rows_minus1 (or num_tile_rows_minus1) is based on the number of height parsing rows in which information about height is parsed among a plurality of rows for deriving a tile division structure in the current picture. It may represent an example of information about. Information on the last width indicating the last parsed width among the widths of the width parsing columns may be expressed as tile_column_width_minus1 [num_exp_tile_columns_minus1] + 1 or tile_column_width_minus1 [num_tile_columns_minus1] + 1 based on Table 6. Information on the last height indicating the last parsed height among the heights of the height parsed rows may be expressed as tile_row_height_minus1 [num_exp_tile_rows_minus1] + 1 or tile_row_height_minus1 [num_tile_rows_minus1] + 1 based on Table 6.
일 예시에서, 상기 복수의 열들 중 상기 폭에 대한 정보가 파싱되지 않는 폭 파싱 스킵 열들(width parsing skip columns) 각각의 폭은 전부 상기 라스트 위드쓰(예를 들어, 상기 tile_column_width_minus1 [num_exp_tile_columns_minus1] + 1 또는 tile_column_width_minus1 [num_tile_columns_minus1] + 1) 로 결정되고, 상기 복수의 행들 중 상기 높이에 대한 정보가 파싱되지 않는 높이 파싱 스킵 행들(height parsing skip rows) 각각의 높이는 전부 상기 라스트 하이트(예를 들어, 상기 tile_row_height_minus1 [num_exp_tile_rows_minus1] + 1 또는 tile_row_height_minus1 [num_tile_rows_minus1] + 1)로 결정될 수 있다. 보다 구체적으로, 상기 폭 파싱 스킵 열들의 폭들 및 상기 높이 파싱 스킵 행들의 높이들에 대하여 유니폼 스페이싱(uniform)이 적용될 수 있다. 다시 말해, 타일 스페이싱을 유니폼하게 설정할지 여부를 결정하기 위한 uniform_tile_spacing_flag에 대한 파싱 없이도, 현재 픽처 내 일부 또는 전부의 영역에서 유니폼 스페이싱을 기반으로 타일 분할 구조를 도출할 수 있다. 당해 기술 분야의 통상의 기술자는, 본 예시를 기반으로 상기 표 7로부터 아래의 표 9, 수학식 1 및 수학식 2를 용이하게 도출할 수 있다.In one example, the width of each of the width parsing skip columns in which the information on the width is not parsed among the plurality of columns is the last width (for example, the tile_column_width_minus1 [num_exp_tile_columns_minus1] + 1) or It is determined as tile_column_width_minus1 [num_tile_columns_minus1] + 1), and the height of each of height parsing skip rows in which information about the height is not parsed among the plurality of rows is the last height (for example, the tile_row_height_minus1 [ It may be determined as num_exp_tile_rows_minus1] + 1 or tile_row_height_minus1 [num_tile_rows_minus1] + 1). More specifically, uniform spacing may be applied to the widths of the width parsing skip columns and the heights of the height parsing skip rows. In other words, without parsing the uniform_tile_spacing_flag to determine whether to set the tile spacing uniformly, a tile splitting structure may be derived based on uniform spacing in some or all of the regions in the current picture. A person skilled in the art can easily derive the following Table 9, Equation 1, and Equation 2 from Table 7 based on this example.
pic_parameter_set_rbsp( ) {pic_parameter_set_rbsp( ) { DescriptorDescriptor
......
no_pic_partition_flagno_pic_partition_flag u(1)u(1)
if( !no_pic_partition_flag ) {if( !no_pic_partition_flag) {
pps_log2_ctu_size_minus5pps_log2_ctu_size_minus5 u(2)u(2)
num_exp_tile_columns_minus1num_exp_tile_columns_minus1 ue(v)ue(v)
num_exp_tile_rows_minus1num_exp_tile_rows_minus1 ue(v)ue(v)
for( i = 0; i <= num_exp_tile_columns_minus1; i++ )for( i = 0; i <= num_exp_tile_columns_minus1; i++)
tile_column_width_minus1[ i ]tile_column_width_minus1[ i ] ue(v)ue(v)
for( i = 0; i <= num_exp_tile_rows_minus1; i++ )for( i = 0; i <= num_exp_tile_rows_minus1; i++)
tile_row_height_minus1[ i ]tile_row_height_minus1[ i ] ue(v)ue(v)
[수학식 1][Equation 1]
Figure PCTKR2019017999-appb-I000002
Figure PCTKR2019017999-appb-I000002
[수학식 2][Equation 2]
Figure PCTKR2019017999-appb-I000003
Figure PCTKR2019017999-appb-I000003
표 9를 참조하면, PPS 레벨에서 폭 파싱 열들의 개수를 나타내는 num_exp_tile_columns_minus1과 높이 파싱 행들의 개수를 나타내는 num_exp_tile_rows_minus1이 파싱되며, 이에 따라 라스트 위드쓰를 나타내는 tile_column_width_minus1[num_exp_tile_columns_minus1]과 라스트 하이트를 나타내는 tile_row_height_minus1[num_exp_tile_rows_minus1]이 파싱되는 것을 확인할 수 있다. 수학식 1을 참조하면 라스트 위드쓰를 나타내는 tile_column_width_minus1[num_exp_tile_columns_minus1]이 유니폼 타일 열의 폭(uniformTileColWidth)를 나타내는 것을 확인할 수 있고, 수학식 2를 참조하면 라스트 하이트를 나타내는 tile_row_height_minus1[num_exp_tile_rows_minus1]이 유니폼 타일 행의 높이(uniformTileRowHeight)를 나타내는 것을 확인할 수 있다. Referring to Table 9, num_exp_tile_columns_minus1 representing the number of width parsing columns and num_exp_tile_rows_minus1 representing the number of height parsing rows are parsed at the PPS level. You can see that this is parsed. Referring to Equation 1, it can be seen that tile_column_width_minus1[num_exp_tile_columns_minus1] representing the last withth represents the width of the uniform tile column (uniformTileColWidth). You can see that (uniformTileRowHeight) is displayed.
일 실시예에서, 픽처를 타일들로 분할하는 과정이 수행된 이후, 픽처를 브릭들로 분할하는 과정이 수행될 수 있다. 우선, PPS를 참조하는 픽처들의 하나 이상의 타일들이 두 개 이상의 브릭들로 분할될 수 있는지 여부를 지시하는 brick_splitting_present_flag를 기반으로 브릭 분할 과정이 시작될 수 있다. 다음으로, 픽처 내 각 타일들에 대하여, 타일이 브릭들로 분할될 수 있는지 여부를 나타내는 플래그가 파싱될 수 있다. 만약 타일이 브릭들로 분할될 수 있는 경우, 타일이 유니폼하게 분할될 수 있는지 여부가 결정될 수 있다. uniform_brick_spacking_flag가 파싱될 수 있고, uniform_brick_spacking_flag가 인에이블 된 경우, 브릭의 행의 높이가 명시적으로 파싱될 수 있다. 만약 타일이 유니폼하게 분할되지 않는 경우, 각각의 브릭에 대하여 각 브릭의 행의 높이가 파싱될 수 있다. In an embodiment, after the process of dividing the picture into tiles is performed, the process of dividing the picture into bricks may be performed. First, a brick splitting process may be started based on brick_splitting_present_flag indicating whether one or more tiles of pictures referring to the PPS can be split into two or more bricks. Next, for each tile in the picture, a flag indicating whether the tile can be divided into bricks may be parsed. If the tile can be divided into bricks, it can be determined whether the tile can be uniformly divided. The uniform_brick_spacking_flag can be parsed, and when the uniform_brick_spacking_flag is enabled, the height of the brick row can be explicitly parsed. If the tiles are not uniformly divided, the height of each brick row may be parsed for each brick.
또한, single_brick_per_slice_flag가 파싱될 수 있다. single_brick_per_slice_flag는 PPS를 참조하는 각 슬라이스가 하나의 브릭을 포함하는지 여부를 나타낼 수 있다. 만약 각 슬라이스가 하나의 브릭을 포함하지 않는 경우, 직사각 슬라이스 플래그가 파싱될 수 있다. 만약 rect_slice_flag의 값이 1(또는 트루)이고 하나의 슬라이스에 복수의 브릭들이 존재하는 경우, 픽처 내 슬라이스들의 개수를 나타내는 num_slices_in_pic_minus1이 파싱될 수 있다. 다음으로, 픽처 내 각 슬라이스에 대하여, 좌상단 브릭의 인덱스와 인덱스 숫자의 차이와 대응하는 델타(delta)가 파싱될 수 있다. In addition, single_brick_per_slice_flag may be parsed. single_brick_per_slice_flag may indicate whether each slice referring to the PPS includes one brick. If each slice does not include one brick, the rectangular slice flag may be parsed. If the value of rect_slice_flag is 1 (or true) and a plurality of bricks exist in one slice, num_slices_in_pic_minus1 indicating the number of slices in a picture may be parsed. Next, for each slice in the picture, a difference between the index of the upper left brick and the index number and a delta corresponding to the difference may be parsed.
브릭 구조를 나타내는 신택스의 일 예시는 아래의 표 10과 같을 수 있고, 브릭 구조를 나타내는 신택스에 대한 시맨틱스의 일 예시는 아래의 표 11과 같을 수 있다.An example of the syntax representing the brick structure may be shown in Table 10 below, and an example of the semantics for the syntax representing the brick structure may be shown in Table 11 below.
pic_parameter_set_rbsp( ) {pic_parameter_set_rbsp( ) { DescriptorDescriptor
pps_pic_parameter_set_idpps_pic_parameter_set_id ue(v)ue(v)
pps_seq_parameter_set_idpps_seq_parameter_set_id ue(v)ue(v)
single_tile_in_pic_flagsingle_tile_in_pic_flag u(1)u(1)
if( !single_tile_in_pic_flag ) {if( !single_tile_in_pic_flag) {
uniform_tile_spacing_flaguniform_tile_spacing_flag u(1)u(1)
if( uniform_tile_spacing_flag ) {if( uniform_tile_spacing_flag) {
tile_cols_width_minus1tile_cols_width_minus1 ue(v)ue(v)
tile_rows_height_minus1tile_rows_height_minus1 ue(v)ue(v)
} else {} else {
num_tile_columns_minus1num_tile_columns_minus1 ue(v)ue(v)
num_tile_rows_minus1num_tile_rows_minus1 ue(v)ue(v)
for( i = 0; i < num_tile_columns_minus1; i++ )for( i = 0; i <num_tile_columns_minus1; i++)
tile_column_width_minus1[ i ]tile_column_width_minus1[ i ] ue(v)ue(v)
for( i = 0; i < num_tile_rows_minus1; i++ )for( i = 0; i <num_tile_rows_minus1; i++)
tile_row_height_minus1[ i ]tile_row_height_minus1[ i ] ue(v)ue(v)
}}
brick_splitting_present_flagbrick_splitting_present_flag u(1)u(1)
for( i = 0; brick_present_flag && i < NumTilesInPic; i++ ) {for( i = 0; brick_present_flag && i <NumTilesInPic; i++) {
brick_split_flag[ i ]brick_split_flag[ i ] u(1)u(1)
if( brick_split_flag[ i ] ) {if( brick_split_flag[ i ]) {
uniform_brick_spacing_flag[ i ]uniform_brick_spacing_flag[ i ] u(1)u(1)
if( uniform_brick_spacing_flag[ i ] )if( uniform_brick_spacing_flag[ i ])
brick_rows_height_minus1[ i ]brick_rows_height_minus1[ i ] ue(v)ue(v)
else {else {
num_brick_rows_minus1[ i ]num_brick_rows_minus1[ i ] ue(v)ue(v)
for( j = 0; j < num_brick_rows_minus1[ i ]; j++ )for( j = 0; j <num_brick_rows_minus1[ i ]; j++)
brick_row_height_minus1[ i ][ j ]brick_row_height_minus1[ i ][ j ] ue(v)ue(v)
}}
}}
}}
single_brick_per_slice_flagsingle_brick_per_slice_flag u(1)u(1)
if( !single_brick_per_slice_flag )if( !single_brick_per_slice_flag)
rect_slice_flagrect_slice_flag u(1)u(1)
if( rect_slice_flag && !single_brick_per_slice_flag ) {if( rect_slice_flag && !single_brick_per_slice_flag) {
num_slices_in_pic_minus1num_slices_in_pic_minus1 ue(v)ue(v)
for( i = 0; i <= num_slices_in_pic_minus1; i++ ) {for( i = 0; i <= num_slices_in_pic_minus1; i++) {
if( i > 0 )if( i> 0)
top_left_brick_idx[ i ]top_left_brick_idx[ i ] u(v)u(v)
bottom_right_brick_idx_delta[ i ]bottom_right_brick_idx_delta[ i ] u(v)u(v)
}}
}}
loop_filter_across_bricks_enabled_flagloop_filter_across_bricks_enabled_flag u(1)u(1)
if( loop_filter_across_bricks_enabled_flag )if( loop_filter_across_bricks_enabled_flag)
loop_filter_across_slices_enabled_flagloop_filter_across_slices_enabled_flag u(1)u(1)
}}
if( rect_slice_flag ) {if( rect_slice_flag) {
signalled_slice_id_flagsignalled_slice_id_flag u(1)u(1)
if( signalled_slice_id_flag ) {if( signalled_slice_id_flag) {
signalled_slice_id_length_minus1signalled_slice_id_length_minus1 ue(v)ue(v)
for( i = 0; i <= num_slices_in_pic_minus1; i++ )for( i = 0; i <= num_slices_in_pic_minus1; i++)
slice_id[ i ]slice_id[ i ] u(v)u(v)
}}
}}
......
}}
brick_splitting_present_flag equal to 1 specifies that one or more tiles of pictures referring to the PPS may be divided into two or more bricks. brick_splitting_present_flag equal to 0 specifies that no tiles of pictures referring to the PPS are divided into two or more bricks.brick_splitting_present_flag equal to 1 specifies that one or more tiles of pictures referring to the PPS may be divided into two or more bricks. brick_splitting_present_flag equal to 0 specifies that no tiles of pictures referring to the PPS are divided into two or more bricks.
brick_split_flag[ i ] equal to 1 specifies that the i-th tile is divided into two or more bricks. brick_split_flag[ i ] equal to 0 specifies that the i-th tile is not divided into two or more bricks. When not present, the value of brick_split_flag[ i ] is inferred to be equal to 0.brick_split_flag[ i ] equal to 1 specifies that the i-th tile is divided into two or more bricks. brick_split_flag[ i ] equal to 0 specifies that the i-th tile is not divided into two or more bricks. When not present, the value of brick_split_flag[ i ] is inferred to be equal to 0.
uniform_brick_spacing_flag[ i ] equal to 1 specifies that brick row boundaries are distributed uniformly across the i-th tile and signalled using the syntax element brick_rows_height_minus1[ i ]. uniform_brick_spacing_flag[ i ] equal to 0 specifies that brick row boundaries may or may not be distributed uniformly across i-th tile and signalled using the syntax element num_brick_rows_minus1[ i ] and a list of syntax elements brick_row_height_minus1[ i ][ j ]. When not present, the value of uniform_brick_spacing_flag[ i ] is inferred to be equal to 1.uniform_brick_spacing_flag[ i ] equal to 1 specifies that brick row boundaries are distributed uniformly across the i-th tile and signalled using the syntax element brick_rows_height_minus1[ i ]. uniform_brick_spacing_flag[ i ] equal to 0 specifies that brick row boundaries may or may not be distributed uniformly across i-th tile and signalled using the syntax element num_brick_rows_minus1[ i ] and a list of syntax elements brick_row_height_minus1[ ji ][ i ]. When not present, the value of uniform_brick_spacing_flag[ i ] is inferred to be equal to 1.
brick_rows_height_minus1[ i ] plus 1 specifies the height of the brick rows excluding the bottom brick row in the i-th tile in units of CTBs when uniform_brick_spacing_flag[ i ] is equal to 1. When present, the value of brick_rows_height_minus1 shall be in the range of 0 to RowHeight[ i ] - 2, inclusive.brick_rows_height_minus1[ i ] plus 1 specifies the height of the brick rows excluding the bottom brick row in the i-th tile in units of CTBs when uniform_brick_spacing_flag[ i ] is equal to 1. When present, the value of brick_rows_height_minus1 shall be in the range of 0 to RowHeight[ i ]-2, inclusive.
num_brick_rows_minus1[ i ] plus 1 specifies the number of brick rows partitioning the i-th tile when uniform_brick_spacing_flag[ i ] is equal to 0. When present, the value of num_brick_rows_minus1[ i ] shall be in the range of 1 to RowHeight[ i ] - 1, inclusive. If brick_split_flag[ i ] is equal to 0, the value of num_brick_rows_minus1[ i ] is inferred to be equal to 0. Otherwise, when uniform_brick_spacing_flag[ i ] is equal to 1, the value of num_brick_rows_minus1[ i ] is inferred.num_brick_rows_minus1[ i ] plus 1 specifies the number of brick rows partitioning the i-th tile when uniform_brick_spacing_flag[ i ] is equal to 0. When present, the value of num_brick_rows_minus1[ i ] shall be in the range of 1 -1, inclusive. If brick_split_flag[ i ] is equal to 0, the value of num_brick_rows_minus1[ i ] is inferred to be equal to 0. Otherwise, when uniform_brick_spacing_flag[ i ] is equal to 1, the value of num_brick_rows_minus1[ i ] is inferi_rows.
brick_row_height_minus1[ i ][ j ] plus 1 specifies the the height of the j-th brick row in the i-th tile in units of CTBs when uniform_tile_spacing_flag is equal to 0.The following variables are derived, and, when uniform_tile_spacing_flag is equal to 1, the values of num_tile_columns_minus1 and num_tile_rows_minus1 are inferred, and, for each i ranging from 0 to NumTilesInPic - 1, inclusive, when uniform_brick_spacing_flag[ i ] is equal to 1, the value of num_brick_rows_minus1[ i ] is inferred, by invoking the CTB raster and brick scanning conversion process:- the list RowHeight[ j ] for j ranging from 0 to num_tile_rows_minus1, inclusive, specifying the height of the j-th tile row in units of CTBs,- the list CtbAddrRsToBs[ ctbAddrRs ] for ctbAddrRs ranging from 0 to PicSizeInCtbsY - 1, inclusive, specifying the conversion from a CTB address in the CTB raster scan of a picture to a CTB address in the brick scan,- the list CtbAddrBsToRs[ ctbAddrBs ] for ctbAddrBs ranging from 0 to PicSizeInCtbsY -1, inclusive, specifying the conversion from a CTB address in the brick scan to a CTB address in the CTB raster scan of a picture,- the list BrickId[ ctbAddrBs ] for ctbAddrBs ranging from 0 to PicSizeInCtbsY -1, inclusive, specifying the conversion from a CTB address in brick scan to a brick ID,- the list NumCtusInBrick[ brickIdx ] for brickIdx ranging from 0 to NumBricksInPic - 1, inclusive, specifying the conversion from a brick index to the number of CTUs in the brick,- the list FirstCtbAddrBs[ brickIdx ] for brickIdx ranging from 0 to NumBricksInPic -1, inclusive, specifying the conversion from a brick ID to the CTB address in brick scan of the first CTB in the brick.brick_row_height_minus1[ i ][ j ] plus 1 specifies the height of the j-th brick row in the i-th tile in units of CTBs when uniform_tile_spacing_flag is equal to 0.The following variables are derived, and, when uniform_tile_spacing_flag is equal to 1, the values of num_tile_columns_minus1 and num_tile_rows_minus1 are inferred, and, for each i ranging from 0 to NumTilesInPic - 1, inclusive, when uniform_brick_spacing_flag[ i ] is equal to 1, the value of the value of num_brick is equal to 1, the value of num_brick by num_brick raster and brick scanning conversion process:- the list RowHeight[ j ] for j ranging from 0 to num_tile_rows_minus1, inclusive, specifying the height of the j-th tile row in units of CTBs,- the list CtbAddrRsToBs[ ctbAddrRs ] for ctbAddrRs ranging from 0 to PicSizeInCtbsY - 1, inclusive, specifying the conversion from a CTB address in the CTB raster scan of a picture to a CTB address in the brick scan,- the list CtbAddrBsToRs[ ctbAddrBs ] for ctbAddrBs ranging from 0 to PicS izeInCtbsY -1, inclusive, specifying the conversion from a CTB address in the brick scan to a CTB address in the CTB raster scan of a picture,- the list BrickId[ ctbAddrBs ] for ctbAddrBs ranging from 0 to PicSizeInCtbsY -1, inclusive, specifying the conversion from a CTB address in brick scan to a brick ID,- the list NumCtusInBrick[brickIdx ] for brickIdx ranging from 0 to NumBricksInPic - 1, inclusive, specifying the conversion from a brick index to the number of CTUs in the brick,- the list FirstCtbAddrBs[ brickIdx ] for brickIdx ranging from 0 to NumBricksInPic -1, inclusive, specifying the conversion from a brick ID to the CTB address in brick scan of the first CTB in the brick.
single_brick_per_slice_flag equal to 1 specifies that each slice that refers to this PPS includes one brick. single_brick_per_slice_flag equal to 0 specifies that a slice that refers to this PPS may include more than one brick. When not present, the value of single_brick_per_slice_flag is inferred to be equal to 1.single_brick_per_slice_flag equal to 1 specifies that each slice that refers to this PPS includes one brick. single_brick_per_slice_flag equal to 0 specifies that a slice that refers to this PPS may include more than one brick. When not present, the value of single_brick_per_slice_flag is inferred to be equal to 1.
rect_slice_flag equal to 0 specifies that bricks within each slice are in raster scan order and the slice information is not signalled in PPS. rect_slice_flag equal to 1 specifies that bricks within each slice cover a rectangular region of the picture and the slice information is signalled in the PPS. When single_brick_per_slice_flag is equal to 1 rect_slice_flag is inferred to be equal to 1.rect_slice_flag equal to 0 specifies that bricks within each slice are in raster scan order and the slice information is not signalled in PPS. rect_slice_flag equal to 1 specifies that bricks within each slice cover a rectangular region of the picture and the slice information is signalled in the PPS. When single_brick_per_slice_flag is equal to 1 rect_slice_flag is inferred to be equal to 1.
num_slices_in_pic_minus1 plus 1 specifies the number of slices in each picture referring to the PPS. The value of num_slices_in_pic_minus1 shall be in the range of 0 to NumBricksInPic - 1, inclusive. When not present and single_brick_per_slice_flag is equal to 1, the value of num_slices_in_pic_minus1 is inferred to be equal to NumBricksInPic - 1.num_slices_in_pic_minus1 plus 1 specifies the number of slices in each picture referring to the PPS. The value of num_slices_in_pic_minus1 shall be in the range of 0 to NumBricksInPic - 1, inclusive. When not present and single_brick_per_slice_flag is equal to 1, the value of num_slices_in_pic_minus1 is inferred to be equal to NumBricksInPic - 1.
top_left_brick_idx[ i ] specifies the brick index of the brick located at the top-left corner of the i-th slice. The value of top_left_brick_idx[ i ] shall not be equal to the value of top_left_brick_idx[ j ] for any i not equal to j. When not present, the value of top_left_brick_idx[ i ] is inferred to be equal to i. The length of the top_left_brick_idx[ i ] syntax element is Ceil( Log2( NumBricksInPic ) bits.top_left_brick_idx[ i ] specifies the brick index of the brick located at the top-left corner of the i-th slice. The value of top_left_brick_idx[ i ] shall not be equal to the value of top_left_brick_idx[ j ] for any i not equal to j. When not present, the value of top_left_brick_idx[ i ] is inferred to be equal to i. The length of the top_left_brick_idx[ i ] syntax element is Ceil( Log2( NumBricksInPic ) bits.
bottom_right_brick_idx_delta[ i ] specifies the difference between the brick index of the brick located at the bottom-right corner of the i-th slice and top_left_brick_idx[ i ]. When single_brick_per_slice_flag is equal to 1, the value of bottom_right_brick_idx_delta[ i ] is inferred to be equal to 0. The length of the bottom_right_brick_idx_delta[ i ] syntax element is Ceil( Log2( NumBricksInPic - top_left_brick_idx[ i ] ) ) bits.It is a requirement of bitstream conformance that a slice shall include either a number of complete tiles or only a subset of one tile.The variable NumBricksInSlice[ i ] and BricksToSliceMap[ j ], which specify the number of bricks in the i-th slice and the mapping of bricks to slices, are derived as follows:NumBricksInSlice[ i ] = 0botRightBkIdx = top_left_brick_idx[ i ] + bottom_right_brick_idx_delta[ i ]for( j = 0; j < NumBricksInPic; j++) { if( BrickColBd[ j ] >= BrickColBd[ top_left_brick_idx[ i ] ] && BrickColBd[ j ] <= BrickColBd[ botRightBkIdx ] && BrickRowBd[ j ] >= BrickRowlBd[ top_left_brick_idx[ i ] ] && BrickRowBd[ j ] <= BrickColBd[ botRightBkIdx ] ) { NumBricksInSlice[ i ]++ BricksToSliceMap[ j ] = i }}bottom_right_brick_idx_delta[ i ] specifies the difference between the brick index of the brick located at the bottom-right corner of the i-th slice and top_left_brick_idx[ i ]. When single_brick_per_slice_flag is equal to 1, the value of bottom_right_brick_idx_delta[ i ] is inferred to be equal to 0. The length of the bottom_right_brick_idx_delta[ i ] syntax element is Ceil( Log2(   ) is inferred to be equal to 0. requirement of bitstream conformance that a slice shall include either a number of complete tiles or only a subset of one tile.The variable NumBricksInSlice[ i ] and BricksToSliceMap[ j ], which specify the number of bricks in the i-th slice and the mapping of bricks to slices, are derived as follows: NumBricksInSlice[ i ] = 0botRightBkIdx = top_left_brick_idx[ i ] + bottom_right_brick_idx_delta[ i ]for( j = 0; j <NumBricks[ d Bricks[ _Brick(LejBrick) {if_Colbrick( ) [i]] && BrickColBd [j] <= BrickColBd [botRightBkIdx] && BrickRowBd [j]> = BrickRowlBd [top_left_brick_idx [i]] && BrickRowBd [j] <= BrickColBd [botRightBkIdx]) {NumBricksInSlice [i] ++ BricksToSliceMap [ j ] = i }}
loop_filter_across_bricks_enabled_flag equal to 1 specifies that in-loop filtering operations may be performed across brick boundaries in pictures referring to the PPS. loop_filter_across_bricks_enabled_flag equal to 0 specifies that in-loop filtering operations are not performed across brick boundaries in pictures referring to the PPS. The in-loop filtering operations include the deblocking filter, sample adaptive offset filter, and adaptive loop filter operations. When not present, the value of loop_filter_across_bricks_enabled_flag is inferred to be equal to 1.loop_filter_across_bricks_enabled_flag equal to 1 specifies that in-loop filtering operations may be performed across brick boundaries in pictures referring to the PPS. loop_filter_across_bricks_enabled_flag equal to 0 specifies that in-loop filtering operations are not performed across brick boundaries in pictures referring to the PPS. The in-loop filtering operations include the deblocking filter, sample adaptive offset filter, and adaptive loop filter operations. When not present, the value of loop_filter_across_bricks_enabled_flag is inferred to be equal to 1.
loop_filter_across_slices_enabled_flag equal to 1 specifies that in-loop filtering operations may be performed across slice boundaries in pictures referring to the PPS. loop_filter_across_slice_enabled_flag equal to 0 specifies that in-loop filtering operations are not performed across slice boundaries in pictures referring to the PPS. The in-loop filtering operations include the deblocking filter, sample adaptive offset filter, and adaptive loop filter operations. When not present, the value of loop_filter_across_slices_enabled_flag is inferred to be equal to 0.loop_filter_across_slices_enabled_flag equal to 1 specifies that in-loop filtering operations may be performed across slice boundaries in pictures referring to the PPS. loop_filter_across_slice_enabled_flag equal to 0 specifies that in-loop filtering operations are not performed across slice boundaries in pictures referring to the PPS. The in-loop filtering operations include the deblocking filter, sample adaptive offset filter, and adaptive loop filter operations. When not present, the value of loop_filter_across_slices_enabled_flag is inferred to be equal to 0.
signalled_slice_id_flag equal to 1 specifies that the slice ID for each slice is signalled. signalled_slice_id_flag equal to 0 specifies that slice IDs are not signalled. When rect_slice_flag is equal to 0, the value of signalled_slice_id_flag is inferred to be equal to 0.signalled_slice_id_flag equal to 1 specifies that the slice ID for each slice is signalled. signalled_slice_id_flag equal to 0 specifies that slice IDs are not signalled. When rect_slice_flag is equal to 0, the value of signalled_slice_id_flag is inferred to be equal to 0.
signalled_slice_id_length_minus1 plus 1 specifies the number of bits used to represent the syntax element slice_id[ i ] when present, and the syntax element slice_address in slice headers. The value of signalled_slice_id_length_minus1 shall be in the range of 0 to 15, inclusive. When not present, the value of signalled_slice_id_length_minus1 is inferred to be equal to Ceil( Log2( num_slices_in_pic_minus1 + 1 ) ) - 1.signalled_slice_id_length_minus1 plus 1 specifies the number of bits used to represent the syntax element slice_id[ i ] when present, and the syntax element slice_address in slice headers. The value of signalled_slice_id_length_minus1 shall be in the range of 0 to 15, inclusive. When not present, the value of signalled_slice_id_length_minus1 is inferred to be equal to Ceil( Log2( num_slices_in_pic_minus1 + 1 ) ) - 1.
slice_id[ i ] specifies the slice ID of the i-th slice. The length of the slice_id[ i ] syntax element is signalled_slice_id_length_minus1 + 1 bits. When not present, the value of slice_id[ i ] is inferred to be equal to i, for each i in the range of 0 to num_slices_in_pic_minus1, inclusive.slice_id[ i ] specifies the slice ID of the i-th slice. The length of the slice_id[ i ] syntax element is signalled_slice_id_length_minus1 + 1 bits. When not present, the value of slice_id[ i ] is inferred to be equal to i, for each i in the range of 0 to num_slices_in_pic_minus1, inclusive.
일 실시예에 따른 인코딩 장치 및/또는 디코딩 장치는, 현재 픽처에 대한 분할 정보(예를 들어, 상기 표 10의 PPS 정보)를 기반으로, 복수의 타일들(a plurality of tiles)에 기반한 상기 현재 픽처의 제1 분할 구조(partitioning structure)를 도출할 수 있다. The encoding device and/or the decoding device according to an embodiment may provide the current picture based on split information (eg, PPS information in Table 10), based on a plurality of tiles. A first partitioning structure of a picture can be derived.
일 실시예에 따른 인코딩 장치 및/또는 디코딩 장치는, 상기 현재 픽처에 대한 상기 분할 정보를 기반으로 복수의 제1 분할 유닛들(first partition units)에 기반한 상기 현재 픽처의 제2 분할 구조를 도출할 수 있고, 상기 현재 픽처에 대한 상기 분할 정보를 기반으로 복수의 제2 분할 유닛들(second partition units)에 기반한 상기 현재 픽처의 제3 분할 구조를 도출할 수 있다. 이때 상기 복수의 제1 분할 유닛들 중 하나의 제1 분할 유닛은, 상기 하나의 타일에 포함되거나, 상기 하나의 타일을 포함하거나, 상기 하나의 타일과 같을 수 있다. 상기 복수의 제2 분할 유닛들 중 하나의 제2 분할 유닛은, 상기 하나의 타일에 포함되거나, 상기 하나의 타일을 포함하거나, 상기 제1 분할 유닛에 포함되거나, 상기 제1 분할 유닛을 포함하거나, 상기 하나의 타일과 같을 수 있다. The encoding device and/or the decoding device according to an embodiment may derive a second partition structure of the current picture based on a plurality of first partition units based on the partition information for the current picture. The third partition structure of the current picture may be derived based on the partition information of the current picture and based on a plurality of second partition units. In this case, one of the plurality of first divided units may be included in the one tile, may include the one tile, or be the same as the one tile. One of the plurality of second dividing units may be included in the one tile, the one tile, the first dividing unit, or the first dividing unit , It may be the same as the one tile.
일 실시예에서, 상기 현재 픽처에 대한 상기 분할 정보는, 상기 복수의 제1 분할 유닛들이 직사각형 모양(rectanglular shape)인지 여부를 나타내는 직사각 분할 유닛 플래그(rectangular partition unit flag)를 포함할 수 있다. 상기 직사각 분할 유닛 플래그는, 상기 표 9의 rect_slice_flag를 포함할 수 있다. 상기 하나의 제1 분할 유닛은 상기 복수의 제2 분할 유닛들 중 적어도 하나의 제2 분할 유닛을 포함할 수 있다. 일 예시에서, 상기 제1 분할 유닛은 슬라이스이고, 상기 제2 분할 유닛은 브릭일 수 있다. In an embodiment, the partition information for the current picture may include a rectangular partition unit flag indicating whether the plurality of first partition units have a rectangular shape. The rectangular division unit flag may include rect_slice_flag of Table 9 above. The one first dividing unit may include at least one second dividing unit among the plurality of second dividing units. In one example, the first partitioning unit may be a slice, and the second partitioning unit may be a brick.
일 실시예에 따른 인코딩 장치 및/또는 디코딩 장치는, 상기 직사각 제1 분할 유닛 플래그의 값이 1이라는 결정을 기반으로, 상기 현재 픽처 내 상기 복수의 제1 분할 유닛들의 총 개수에 대한 정보를 파싱할 수 있고, 상기 하나의 제1 분할 유닛에 포함된 상기 적어도 하나의 제2 분할 유닛의 인덱스 델타 값에 대한 정보를 파싱할 수 있다. 일 예시에서, 상기 인덱스 델타 값은 상기 표 9의 bottom_right_brick_idx_delta일 수 있다. The encoding apparatus and/or the decoding apparatus according to an embodiment parses information on the total number of the plurality of first division units in the current picture based on a determination that the value of the rectangular first division unit flag is 1 The information on the index delta value of the at least one second partitioning unit included in the one first partitioning unit may be parsed. In one example, the index delta value may be bottom_right_brick_idx_delta in Table 9 above.
일 실시예에서, 상기 제1 분할 유닛은 슬라이스(slice)와 동일한 단위를 나타낼 수 있고, 상기 제2 분할 유닛은 타일과 동일한 단위를 나타낼 수 있다. 다른 일 실시예에서, 상기 제1 분할 유닛은 슬라이스와 동일한 단위를 나타낼 수 있고, 상기 제2 분할 유닛은 브릭과 동일한 단위를 나타낼 수 있다. 또 다른 일 실시예에서, 상기 제1 분할 유닛은 타일과 동일한 단위를 나타낼 수 있고, 상기 제2 분할 유닛은 브릭과 동일한 단위를 나타낼 수 있다.In an embodiment, the first partitioning unit may represent the same unit as a slice, and the second partitioning unit may represent the same unit as a tile. In another embodiment, the first partitioning unit may represent the same unit as a slice, and the second partitioning unit may represent the same unit as a brick. In another embodiment, the first division unit may represent the same unit as a tile, and the second division unit may represent the same unit as a brick.
도 11은 일 실시예에 따른 인코딩 장치의 동작을 도시하는 흐름도이고, 도 12는 일 실시예에 따른 인코딩 장치의 구성을 도시하는 블록도이다.11 is a flowchart illustrating an operation of an encoding device according to an embodiment, and FIG. 12 is a block diagram illustrating a configuration of an encoding device according to an embodiment.
도 11 및 도 12에 따른 인코딩 장치는 도 13 및 도 14에 따른 디코딩 장치와 대응되는 동작들을 수행할 수 있다. 따라서, 도 13 및 도 14에서 후술될 디코딩 장치의 동작들은 도 11 및 도 12에 따른 인코딩 장치에도 마찬가지로 적용될 수 있다.The encoding apparatus according to FIGS. 11 and 12 may perform operations corresponding to the decoding apparatus according to FIGS. 13 and 14. Accordingly, operations of the decoding apparatus to be described later in FIGS. 13 and 14 may be similarly applied to the encoding apparatus according to FIGS. 11 and 12.
도 11에 개시된 각 단계는 도 2에 개시된 인코딩 장치(200)에 의하여 수행될 수 있다. 보다 구체적으로, S1100 및 S1110은 도 2에 개시된 영상 분할부(210)에 의하여 수행될 수 있고, S1120 및 S1130은 도 2에 개시된 예측부(220)에 의하여 수행될 수 있고, S1140은 도 2에 개시된 엔트로피 인코딩부(240)에 의하여 수행될 수 있다. 더불어 S1100 내지 S1140에 따른 동작들은, 도 4 내지 도 10에서 전술된 내용들 중 일부를 기반으로 한 것이다. 따라서, 도 2 및 도 4 내지 도 10에서 전술된 내용과 중복되는 구체적인 내용은 설명을 생략하거나 간단히 하기로 한다. Each step disclosed in FIG. 11 may be performed by the encoding apparatus 200 disclosed in FIG. 2. More specifically, S1100 and S1110 may be performed by the image segmentation unit 210 disclosed in FIG. 2, S1120 and S1130 may be performed by the prediction unit 220 disclosed in FIG. 2, and S1140 is shown in FIG. 2. It may be performed by the disclosed entropy encoding unit 240. In addition, operations according to S1100 to S1140 are based on some of the contents described above in FIGS. 4 to 10. Accordingly, detailed descriptions overlapping with those described above in FIGS. 2 and 4 to 10 will be omitted or simplified.
도 12에 도시된 바와 같이, 일 실시예에 따른 인코딩 장치는 영상 분할부(210), 예측부(220) 및 엔트로피 인코딩부(240)를 포함할 수 있다. 그러나, 경우에 따라서는 도 12에 도시된 구성 요소 모두가 인코딩 장치의 필수 구성 요소가 아닐 수 있고, 인코딩 장치는 도 12에 도시된 구성 요소보다 많거나 적은 구성 요소에 의해 구현될 수 있다.As shown in FIG. 12, the encoding apparatus according to an embodiment may include an image segmentation unit 210, a prediction unit 220, and an entropy encoding unit 240. However, in some cases, not all of the components shown in FIG. 12 may be essential components of the encoding device, and the encoding device may be implemented by more or less components than the components shown in FIG. 12.
일 실시예에 따른 인코딩 장치에서 영상 분할부(210), 예측부(220) 및 엔트로피 인코딩부(240)는 각각 별도의 칩(chip)으로 구현되거나, 적어도 둘 이상의 구성 요소가 하나의 칩을 통해 구현될 수도 있다.In the encoding apparatus according to an embodiment, the image segmentation unit 210, the prediction unit 220, and the entropy encoding unit 240 are each implemented as a separate chip, or at least two or more components are implemented through a single chip. It can also be implemented.
일 실시예에 따른 인코딩 장치는, 현재 픽처를 복수의 타일들로 분할할 수 있다(S1100). 보다 구체적으로, 인코딩 장치의 영상 분할부(210)는 현재 픽처를 복수의 타일들로 분할할 수 있다.The encoding apparatus according to an embodiment may divide the current picture into a plurality of tiles (S1100). More specifically, the image dividing unit 210 of the encoding device may divide the current picture into a plurality of tiles.
일 실시예에 따른 인코딩 장치는, 상기 복수의 타일들을 기반으로, 상기 복수의 타일들을 도출하기 위한 복수의 열들 중 폭(width)에 대한 정보가 파싱되는 폭 파싱 열들(width parsing columns)의 개수에 대한 정보, 상기 폭 파싱 열들의 폭들(widths) 중 마지막에 파싱되는 폭을 나타내는 라스트 위드쓰(last width)에 대한 정보, 상기 복수의 타일들을 도출하기 위한 복수의 행들 중 높이(height)에 대한 정보가 파싱되는 높이 파싱 행들(height parsing rows)의 개수에 대한 정보 및 상기 높이 파싱 행들의 높이들(heights) 중 마지막에 파싱되는 높이를 나타내는 라스트 하이트(last height)에 대한 정보를 포함하는 상기 현재 픽처에 대한 분할 정보를 생성할 수 있다(S1110). 보다 구체적으로, 인코딩 장치의 영상 분할부(210)는 상기 복수의 타일들을 기반으로, 상기 복수의 타일들을 도출하기 위한 복수의 열들 중 폭에 대한 정보가 파싱되는 폭 파싱 열들의 개수에 대한 정보, 상기 폭 파싱 열들의 폭들 중 마지막에 파싱되는 폭을 나타내는 라스트 위드쓰에 대한 정보, 상기 복수의 타일들을 도출하기 위한 복수의 행들 중 높이에 대한 정보가 파싱되는 높이 파싱 행들의 개수에 대한 정보 및 상기 높이 파싱 행들의 높이들 중 마지막에 파싱되는 높이를 나타내는 라스트 하이트에 대한 정보를 포함하는 상기 현재 픽처에 대한 분할 정보를 생성할 수 있다The encoding apparatus according to an embodiment, based on the plurality of tiles, determines the number of width parsing columns in which information about a width is parsed among a plurality of columns for deriving the plurality of tiles. Information, information on a last width indicating a width to be parsed last among widths of the width parsing columns, information on a height among a plurality of rows for deriving the plurality of tiles The current picture including information on the number of height parsing rows to be parsed and a last height indicating a height parsed last among the heights of the height parsing rows Split information for may be generated (S1110). More specifically, the image segmentation unit 210 of the encoding apparatus includes information on the number of width parsing columns from which width information is parsed among a plurality of columns for deriving the plurality of tiles, based on the plurality of tiles, Information on the last withth representing the last parsed width among the widths of the width parsing columns, information on the number of height parsing rows from which height information among a plurality of rows for deriving the plurality of tiles is parsed, and the Split information for the current picture including information on the last height indicating the height parsed last among the heights of the height parsing rows may be generated.
일 실시예에 따른 인코딩 장치는, 상기 복수의 타일들 중 하나의 타일에 포함된 현재 블록에 대한 예측 샘플들을 도출할 수 있다(S1120). 보다 구체적으로, 인코딩 장치의 예측부(220)는 상기 복수의 타일들 중 하나의 타일에 포함된 현재 블록에 대한 예측 샘플들을 도출할 수 있다.The encoding apparatus according to an embodiment may derive prediction samples for a current block included in one of the plurality of tiles (S1120). More specifically, the prediction unit 220 of the encoding apparatus may derive prediction samples for a current block included in one of the plurality of tiles.
일 실시예에 따른 인코딩 장치는, 상기 예측 샘플들을 기반으로 상기 현재 블록에 대한 예측 정보를 생성할 수 있다(S1130). 보다 구체적으로, 인코딩 장치의 예측부(220)는 상기 예측 샘플들을 기반으로 상기 현재 블록에 대한 예측 정보를 생성할 수 있다.The encoding apparatus according to an embodiment may generate prediction information for the current block based on the prediction samples (S1130). More specifically, the prediction unit 220 of the encoding device may generate prediction information for the current block based on the prediction samples.
일 실시예에 따른 인코딩 장치는, 상기 현재 픽처에 대한 분할 정보 및 상기 현재 블록에 대한 예측 정보를 포함하는 영상 정보를 인코딩 할 수 있다(S1140). 보다 구체적으로, 상기 현재 픽처에 대한 분할 정보 및 상기 현재 블록에 대한 예측 정보를 포함하는 영상 정보를 인코딩 할 수 있다.The encoding apparatus according to an embodiment may encode image information including segmentation information on the current picture and prediction information on the current block (S1140). More specifically, image information including split information on the current picture and prediction information on the current block may be encoded.
일 실시예에서, 상기 복수의 열들 중 상기 폭에 대한 정보가 파싱되지 않는 폭 파싱 스킵 열들(width parsing skip columns) 각각의 폭은 전부 상기 라스트 위드쓰와 같고, 상기 복수의 행들 중 상기 높이에 대한 정보가 파싱되지 않는 높이 파싱 스킵 행들(height parsing skip rows) 각각의 높이는 전부 상기 라스트 하이트와 같을 수 있다. In one embodiment, the width of each of the width parsing skip columns in which the information about the width is not parsed among the plurality of columns is the same as the last with write, and the height of the plurality of rows is The height of each of height parsing skip rows for which information is not parsed may be the same as the last height.
일 실시예에서, 상기 폭 파싱 스킵 열들 및 상기 높이 파싱 스킵 행들의 총 개수(total number)는, 상기 폭 파싱 열들의 상기 열들의 합(sum), 상기 높이 파싱 행들의 상기 높이들의 합, 상기 라스트 위드쓰 및 상기 라스트 하이트를 기반으로 도출될 수 있다. In one embodiment, the total number of the width parsing skip columns and the height parsing skip rows is a sum of the columns of the width parsing columns, the sum of the heights of the height parsing rows, and the last It can be derived based on withth and the last height.
일 실시예에 따른 인코딩 장치는, 상기 현재 픽처를 복수의 제1 분할 유닛들로 분할할 수 있고, 상기 현재 픽처를 복수의 제2 분할 유닛들로 분할할 수 있다.The encoding apparatus according to an embodiment may divide the current picture into a plurality of first segmentation units, and may divide the current picture into a plurality of second segmentation units.
일 실시예에서, 상기 복수의 제1 분할 유닛들 중 하나의 제1 분할 유닛은, 상기 하나의 타일에 포함되거나, 상기 하나의 타일을 포함하거나, 상기 하나의 타일과 같고, 상기 복수의 제2 분할 유닛들 중 하나의 제2 분할 유닛은, 상기 하나의 타일에 포함되거나, 상기 하나의 타일을 포함하거나, 상기 제1 분할 유닛에 포함되거나, 상기 제1 분할 유닛을 포함하거나, 상기 하나의 타일과 같을 수 있다.In one embodiment, one of the plurality of first split units is included in the one tile, includes the one tile, is the same as the one tile, and is the plurality of second split units. One of the dividing units, one second dividing unit, is included in the one tile, included in the one tile, included in the first dividing unit, included in the first dividing unit, or included in the one tile Can be the same as
일 실시예에서, 상기 하나의 제1 분할 유닛은 상기 복수의 제2 분할 유닛들 중 적어도 하나의 제2 분할 유닛을 포함할 수 있다. In an embodiment, the one first division unit may include at least one second division unit among the plurality of second division units.
일 실시예에 따른 인코딩 장치는, 상기 복수의 제1 분할 유닛들이 직사각형 모양이라는 결정을 기반으로, 상기 현재 픽처 내 상기 복수의 제1 분할 유닛들의 총 개수에 대한 정보를 인코딩 할 수 있고, 상기 하나의 제1 분할 유닛에 포함된 상기 적어도 하나의 제2 분할 유닛의 인덱스 델타 값에 대한 정보를 인코딩 할 수 있다. The encoding apparatus according to an embodiment may encode information on the total number of the plurality of first partition units in the current picture, based on a determination that the plurality of first partition units are rectangular, and the one Information on the index delta value of the at least one second partitioning unit included in the first partitioning unit of may be encoded.
일 실시예에서, 상기 제1 분할 유닛은 슬라이스와 동일한 단위를 나타내고, 상기 제2 분할 유닛은 상기 하나의 타일과 동일한 단위를 나타낼 수 있다.In an embodiment, the first split unit may represent the same unit as a slice, and the second split unit may represent the same unit as the one tile.
일 실시예에서, 상기 현재 픽처에 대한 상기 분할 정보는 PPS 레벨에서 인코딩 될 수 있다.In one embodiment, the split information for the current picture may be encoded at the PPS level.
도 11 및 도 12의 인코딩 장치 및 인코딩 장치의 동작 방법에 따르면, 인코딩 장치는 현재 픽처를 복수의 타일들로 분할하고(S1100), 상기 복수의 타일들을 기반으로, 상기 복수의 타일들을 도출하기 위한 복수의 열들 중 폭에 대한 정보가 파싱되는 폭 파싱 열들의 개수에 대한 정보, 상기 폭 파싱 열들의 폭들 중 마지막에 파싱되는 폭을 나타내는 라스트 위드쓰에 대한 정보, 상기 복수의 타일들을 도출하기 위한 복수의 행들 중 높이에 대한 정보가 파싱되는 높이 파싱 행들의 개수에 대한 정보 및 상기 높이 파싱 행들의 높이들 중 마지막에 파싱되는 높이를 나타내는 라스트 하이트에 대한 정보를 포함하는 상기 현재 픽처에 대한 분할 정보를 생성하고(S1110), 상기 복수의 타일들 중 하나의 타일에 포함된 현재 블록에 대한 예측 샘플들을 도출하고(S1120), 상기 예측 샘플들을 기반으로 상기 현재 블록에 대한 예측 정보를 생성하고(S1130), 상기 현재 픽처에 대한 분할 정보 및 상기 현재 블록에 대한 예측 정보를 포함하는 영상 정보를 인코딩(S1140) 할 수 있고, 이때 상기 복수의 열들 중 상기 폭에 대한 정보가 파싱되지 않는 폭 파싱 스킵 열들(width parsing skip columns) 각각의 폭은 전부 상기 라스트 위드쓰와 같고, 상기 복수의 행들 중 상기 높이에 대한 정보가 파싱되지 않는 높이 파싱 스킵 행들(height parsing skip rows) 각각의 높이는 전부 상기 라스트 하이트와 같은 것을 특징으로 할 수 있다.According to the encoding device of FIGS. 11 and 12 and the operating method of the encoding device, the encoding device divides a current picture into a plurality of tiles (S1100), and derives the plurality of tiles based on the plurality of tiles. Information on the number of width parsing columns in which information about the width is parsed among a plurality of columns, information on the last withth representing the last parsed width among the widths of the width parsing columns, and a plurality for deriving the plurality of tiles Split information for the current picture including information on the number of height parsed rows for which height information is parsed among the rows of and information on a last height indicating a height parsed last among the heights of the height parsed rows Generate (S1110), derive prediction samples for a current block included in one of the plurality of tiles (S1120), generate prediction information for the current block based on the prediction samples (S1130) , In step S1140, image information including split information for the current picture and prediction information for the current block may be encoded (S1140), and at this time, width parsing skip columns in which the information about the width is not parsed among the plurality of columns ( width parsing skip columns) Each width is the same as the last width, and the height of each of the height parsing skip rows in which information about the height is not parsed among the plurality of rows is the same as the last height. It can be characterized.
즉, 본 개시에 따르면 픽처 파티셔닝의 효율을 높일 수 있다. 또한, 본 개시에 따르면 현재 픽처에 대한 분할 정보를 기반으로 픽처 파티셔닝의 효율을 높일 수 있다. 또한, 본 개시에 따르면 현재 픽처를 구성하는 복수의 타일들 중 폭(width) 및 높이(height)에 대한 정보가 파싱되지 않는 길이 파싱 스킵 타일들(length parsing skip tiles) 각각의 폭(또는 높이)을 시그널링 된 폭들(또는 높이들) 중 마지막 폭(또는 높이)을 기반으로 결정함으로써, 픽처 파티셔닝을 위한 시그널링의 효율을 높일 수 있다.That is, according to the present disclosure, it is possible to increase the efficiency of picture partitioning. Also, according to the present disclosure, it is possible to increase the efficiency of picture partitioning based on split information for a current picture. In addition, according to the present disclosure, the width (or height) of each of length parsing skip tiles in which information about a width and a height is not parsed among a plurality of tiles constituting a current picture Is determined based on the last width (or height) of the signaled widths (or heights), it is possible to increase the efficiency of signaling for picture partitioning.
도 13은 일 실시예에 따른 디코딩 장치의 동작을 도시하는 흐름도이고, 도 14는 일 실시예에 따른 디코딩 장치의 구성을 도시하는 블록도이다.13 is a flowchart illustrating an operation of a decoding apparatus according to an embodiment, and FIG. 14 is a block diagram showing a configuration of a decoding apparatus according to an embodiment.
도 13에 개시된 각 단계는 도 3에 개시된 디코딩 장치(300)에 의하여 수행될 수 있다. 보다 구체적으로, S1300 및 S1310은 도 3에 개시된 엔트로피 디코딩부(310)에 의하여 수행될 수 있고, S1320은 도 3에 개시된 예측부(330)에 의하여 수행될 수 있고, S1330은 도 3에 개시된 가산부(340)에 의하여 수행될 수 있다. 더불어 S1300 내지 S1330에 따른 동작들은, 도 4 내지 도 10에서 전술된 내용들 중 일부를 기반으로 한 것이다. 따라서, 도 3 내지 도 10에서 전술된 내용과 중복되는 구체적인 내용은 설명을 생략하거나 간단히 하기로 한다. Each step disclosed in FIG. 13 may be performed by the decoding apparatus 300 disclosed in FIG. 3. More specifically, S1300 and S1310 may be performed by the entropy decoding unit 310 disclosed in FIG. 3, S1320 may be performed by the prediction unit 330 disclosed in FIG. 3, and S1330 is the addition disclosed in FIG. 3. It may be performed by the unit 340. In addition, operations according to S1300 to S1330 are based on some of the contents described above in FIGS. 4 to 10. Accordingly, detailed descriptions overlapping with those described above in FIGS. 3 to 10 will be omitted or simplified.
도 14에 도시된 바와 같이, 일 실시예에 따른 디코딩 장치는 엔트로피 디코딩부(310), 예측부(330) 및 가산부(340)를 포함할 수 있다. 그러나, 경우에 따라서는 도 14에 도시된 구성 요소 모두가 디코딩 장치의 필수 구성 요소가 아닐 수 있고, 디코딩 장치는 도 14에 도시된 구성 요소보다 많거나 적은 구성 요소에 의해 구현될 수 있다.As shown in FIG. 14, the decoding apparatus according to an embodiment may include an entropy decoding unit 310, a prediction unit 330, and an addition unit 340. However, in some cases, not all of the components shown in FIG. 14 may be essential components of the decoding apparatus, and the decoding apparatus may be implemented by more or less components than those shown in FIG. 14.
일 실시예에 따른 디코딩 장치에서 엔트로피 디코딩부(310), 예측부(330) 및 가산부(340)는 각각 별도의 칩(chip)으로 구현되거나, 적어도 둘 이상의 구성 요소가 하나의 칩을 통해 구현될 수도 있다.In the decoding apparatus according to an embodiment, the entropy decoding unit 310, the prediction unit 330, and the addition unit 340 are each implemented as a separate chip, or at least two or more components are implemented through a single chip. It could be.
일 실시예에 따른 디코딩 장치는, 현재 픽처에 대한 분할 정보(partition information) 및 상기 현재 픽처에 포함된 현재 블록에 대한 예측 정보(prediction information) 를 포함하는 비트스트림을 수신할 수 있다(S1300). 보다 구체적으로, 디코딩 장치의 엔트로피 디코딩부(310)는 현재 픽처에 대한 분할 정보 및 상기 현재 픽처에 포함된 현재 블록에 대한 예측 정보를 포함하는 비트스트림을 수신할 수 있다. 일 예시에서, 상기 분할 정보는 상기 현재 픽처를 복수의 타일들로 분할하기 위한 정보, 상기 현재 픽처를 복수의 슬라이스들로 분할하기 위한 정보 또는 상기 현재 픽처를 복수의 브릭들로 분할하기 위한 정보 중 적어도 하나를 포함할 수 있다. 상기 예측 정보는, 상기 현재 블록에 대한 인트라 예측에 대한 정보, 인터 예측에 대한 정보 또는 CIIP(Combined Inter Intra Prediction)에 대한 정보 중 적어도 하나를 포함할 수 있다. The decoding apparatus according to an embodiment may receive a bitstream including partition information on a current picture and prediction information on a current block included in the current picture (S1300). More specifically, the entropy decoding unit 310 of the decoding apparatus may receive a bitstream including split information on a current picture and prediction information on a current block included in the current picture. In one example, the splitting information includes information for splitting the current picture into a plurality of tiles, information for splitting the current picture into a plurality of slices, or information for splitting the current picture into a plurality of bricks. It may include at least one. The prediction information may include at least one of information on intra prediction for the current block, information on inter prediction, or information on Combined Inter Intra Prediction (CIIP).
일 실시예에 따른 디코딩 장치는, 복수의 타일들(a plurality of tiles)에 기반한 상기 현재 픽처의 제1 분할 구조(partitioning structure)를, 상기 제1 분할 구조를 도출하기 위한 복수의 열들 중 폭(width)에 대한 정보가 파싱되는 폭 파싱 열들(width parsing columns)의 개수에 대한 정보, 상기 폭 파싱 열들의 폭들(widths) 중 마지막에 파싱되는 폭을 나타내는 라스트 위드쓰(last width)에 대한 정보, 상기 제1 분할 구조를 도출하기 위한 복수의 행들 중 높이(height)에 대한 정보가 파싱되는 높이 파싱 행들(height parsing rows)의 개수에 대한 정보 및 상기 높이 파싱 행들의 높이들(heights) 중 마지막에 파싱되는 높이를 나타내는 라스트 하이트(last height)에 대한 정보를 포함하는 상기 현재 픽처에 대한 상기 분할 정보를 기반으로 도출할 수 있다(S1310). 보다 구체적으로, 디코딩 장치의 엔트로피 디코딩부(310)는 복수의 타일들에 기반한 상기 현재 픽처의 제1 분할 구조를, 상기 제1 분할 구조를 도출하기 위한 복수의 열들 중 폭에 대한 정보가 파싱되는 폭 파싱 열들의 개수에 대한 정보, 상기 폭 파싱 열들의 폭들 중 마지막에 파싱되는 폭을 나타내는 라스트 위드쓰에 대한 정보, 상기 제1 분할 구조를 도출하기 위한 복수의 행들 중 높이에 대한 정보가 파싱되는 높이 파싱 행들의 개수에 대한 정보 및 상기 높이 파싱 행들의 높이들 중 마지막에 파싱되는 높이를 나타내는 라스트 하이트에 대한 정보를 포함하는 상기 현재 픽처에 대한 상기 분할 정보를 기반으로 도출할 수 있다.The decoding apparatus according to an embodiment may determine a first partitioning structure of the current picture based on a plurality of tiles, and a width of a plurality of columns for deriving the first partitioning structure ( information on the number of width parsing columns for which information on width) is parsed, information on the last width indicating the last parsed width among the widths of the width parsing columns, At the end of the information on the number of height parsing rows from which information about the height is parsed among the plurality of rows for deriving the first partition structure, and heights of the height parsing rows It may be derived based on the segmentation information for the current picture including information on a last height indicating the height to be parsed (S1310). More specifically, the entropy decoding unit 310 of the decoding apparatus parses a first partition structure of the current picture based on a plurality of tiles, and information about a width among a plurality of columns for deriving the first partition structure. Information on the number of width parsing columns, information on the last width representing the last parsed width among the widths of the width parsing columns, information on the height of a plurality of rows for deriving the first partition structure are parsed It may be derived based on the segmentation information for the current picture including information on the number of height parsed rows and information on a last height indicating a height parsed last among the heights of the height parsed rows.
일 예시에서, 상기 폭 파싱 열들의 개수에 대한 정보는 num_tile_columns_minus1 또는 num_exp_tile_columns_minus1으로 나타낼 수 있고, 상기 라스트 위드쓰에 대한 정보는 tile_column_width_minus1[num_tile_columns_minus1] 또는 tile_column_width_minus1[num_exp_tile_columns_minus1]으로 나타낼 수 있고, 상기 높이 파싱 행들에 대한 정보는 num_tile_rows_minus1 또는 num_exp_tile_rows_minus1으로 나타낼 수 있고, 상기 라스트 위드쓰에 대한 정보는 tile_row_height_minus1[num_tile_columns_minus1] 또는 tile_row_height_minus1[num_exp_tile_columns_minus1]으로 나타낼 수 있다.In one example, the information on the number of width parsing columns may be expressed as num_tile_columns_minus1 or num_exp_tile_columns_minus1, and the information on the last withth may be indicated by tile_column_width_minus1[num_tile_columns_minus1] or tile_column_width_minus1[num_tile_columns_minus1] or tile_column_width_minus1] for the height parsing rows. The information may be represented as num_tile_rows_minus1 or num_exp_tile_rows_minus1, and the information on the last withth may be represented as tile_row_height_minus1[num_tile_columns_minus1] or tile_row_height_minus1[num_exp_tile_columns_minus1].
일 실시예에 따른 디코딩 장치는, 상기 복수의 타일들 중 하나의 타일에 포함된 상기 현재 블록에 대한 상기 예측 정보를 기반으로, 상기 현재 블록에 대한 예측 샘플들을 도출할 수 있다(S1320). 보다 구체적으로, 디코딩 장치의 예측부(330)는 상기 복수의 타일들 중 하나의 타일에 포함된 상기 현재 블록에 대한 상기 예측 정보를 기반으로, 상기 현재 블록에 대한 예측 샘플들을 도출할 수 있다.The decoding apparatus according to an embodiment may derive prediction samples for the current block based on the prediction information for the current block included in one of the plurality of tiles (S1320). More specifically, the prediction unit 330 of the decoding apparatus may derive prediction samples for the current block based on the prediction information for the current block included in one of the plurality of tiles.
일 실시예에 따른 디코딩 장치는, 상기 예측된 블록을 기반으로 상기 현재 픽처를 복원할 수 있다(S1330). 보다 구체적으로, 디코딩 장치의 가산부(340)는 상기 예측된 블록을 기반으로 상기 현재 픽처를 복원할 수 있다.The decoding apparatus according to an embodiment may restore the current picture based on the predicted block (S1330). More specifically, the adder 340 of the decoding apparatus may restore the current picture based on the predicted block.
일 실시예에서, 상기 복수의 열들 중 상기 폭에 대한 정보가 파싱되지 않는 폭 파싱 스킵 열들(width parsing skip columns) 각각의 폭은 전부 상기 라스트 위드쓰로 결정되고, 상기 복수의 행들 중 상기 높이에 대한 정보가 파싱되지 않는 높이 파싱 스킵 행들(height parsing skip rows) 각각의 높이는 전부 상기 라스트 하이트로 결정될 수 있다. 일 예시에서, 상기 폭 파싱 스킵 열들의 개수는, 타열 열들의 총 개수에서 상기 폭 파싱 열들의 개수를 차감하면 도출될 수 있고, 상기 높이 파싱 스킵 행들의 개수는, 타일 행들의 총 개수에서 상기 높이 파싱 행들의 개수를 차감하면 도출될 수 있다.In one embodiment, the width of each of the width parsing skip columns in which information about the width is not parsed among the plurality of columns is determined as the last with write, and the height of the plurality of rows is The height of each of height parsing skip rows for which information about information is not parsed may be determined as the last height. In one example, the number of width parsing skip columns may be derived by subtracting the number of width parsing columns from the total number of other column columns, and the number of height parsing skip rows is the height from the total number of tile rows. It can be derived by subtracting the number of parsed rows.
일 실시예에서, 상기 폭 파싱 스킵 열들 및 상기 높이 파싱 스킵 행들의 총 개수(total number)는, 상기 폭 파싱 열들의 상기 열들의 합(sum), 상기 높이 파싱 행들의 상기 높이들의 합, 상기 라스트 위드쓰 및 상기 라스트 하이트를 기반으로 도출될 수 있다.In one embodiment, the total number of the width parsing skip columns and the height parsing skip rows is a sum of the columns of the width parsing columns, the sum of the heights of the height parsing rows, and the last It can be derived based on withth and the last height.
일 실시예에 따른 디코딩 장치는, 상기 현재 픽처에 대한 상기 분할 정보를 기반으로 복수의 제1 분할 유닛들(first partition units)에 기반한 상기 현재 픽처의 제2 분할 구조를 도출할 수 있고, 상기 현재 픽처에 대한 상기 분할 정보를 기반으로 복수의 제2 분할 유닛들(second partition units)에 기반한 상기 현재 픽처의 제3 분할 구조를 도출할 수 있다. 이때, 상기 복수의 제1 분할 유닛들 중 하나의 제1 분할 유닛은, 상기 하나의 타일에 포함되거나, 상기 하나의 타일을 포함하거나, 상기 하나의 타일과 같을 수 있고, 상기 복수의 제2 분할 유닛들 중 하나의 제2 분할 유닛은, 상기 하나의 타일에 포함되거나, 상기 하나의 타일을 포함하거나, 상기 제1 분할 유닛에 포함되거나, 상기 제1 분할 유닛을 포함하거나, 상기 하나의 타일과 같을 수 있다. 일 예시에서, 상기 제1 분할 유닛은 슬라이스이고, 상기 제2 분할 유닛은 브릭일 수 있다.The decoding apparatus according to an embodiment may derive a second partition structure of the current picture based on a plurality of first partition units based on the partition information for the current picture, and the current picture A third partition structure of the current picture may be derived based on a plurality of second partition units based on the partition information for the picture. In this case, one of the plurality of first division units may be included in the one tile, the one tile, or the same as the one tile, and the plurality of second division units One of the units, the second division unit is included in the one tile, the one tile, the first division unit, the first division unit, or the one tile and Can be the same In one example, the first partitioning unit may be a slice, and the second partitioning unit may be a brick.
일 실시예에서, 상기 현재 픽처에 대한 상기 분할 정보는, 상기 복수의 제1 분할 유닛들이 직사각형 모양(rectanglular shape)인지 여부를 나타내는 직사각 제1 분할 유닛 플래그(rectangular first partition unit flag)를 포함하고, 상기 하나의 제1 분할 유닛은 상기 복수의 제2 분할 유닛들 중 적어도 하나의 제2 분할 유닛을 포함할 수 있다. 일 실시예에 따른 디코딩 장치는, 상기 직사각 제1 분할 유닛 플래그의 값이 1이라는 결정을 기반으로, 상기 현재 픽처 내 상기 복수의 제1 분할 유닛들의 총 개수에 대한 정보를 파싱할 수 있고, 상기 하나의 제1 분할 유닛에 포함된 상기 적어도 하나의 제2 분할 유닛의 인덱스 델타 값에 대한 정보를 파싱할 수 있다. 일 예시에서, 상기 인덱스 델타 값은 상기 표 9의 bottom_right_brick_idx_delta를 나타낼 수 있다.In an embodiment, the partition information for the current picture includes a rectangular first partition unit flag indicating whether the plurality of first partition units have a rectangular shape, The one first dividing unit may include at least one second dividing unit among the plurality of second dividing units. The decoding apparatus according to an embodiment may parse information on the total number of the plurality of first partition units in the current picture, based on a determination that the value of the rectangular first partition unit flag is 1, and the Information on the index delta value of the at least one second partitioning unit included in one first partitioning unit may be parsed. In one example, the index delta value may represent bottom_right_brick_idx_delta in Table 9 above.
일 예시에서, 상기 제1 분할 유닛이 슬라이스(slice)와 동일한 단위를 나타내는 경우, 상기 직사각 제1 분할 유닛 플래그는 rect_slice_flag로 나타낼 수 있고, 상기 현재 픽처 내 상기 복수의 제1 분할 유닛들의 총 개수에 대한 정보는 num_slices_in_pic_minus1으로 나타낼 수 있다. In an example, when the first split unit represents the same unit as a slice, the rectangular first split unit flag may be represented by rect_slice_flag, and the total number of the plurality of first split units in the current picture The information may be represented by num_slices_in_pic_minus1.
일 실시예에서, 상기 제1 분할 유닛은 슬라이스(slice)와 동일한 단위를 나타내고, 상기 제2 분할 유닛은 상기 하나의 타일과 동일한 단위를 나타낼 수 있다. 다른 일 실시예에서, 상기 제1 분할 유닛은 슬라이스와 동일한 단위를 나타낼 수 있고, 상기 제2 분할 유닛은 브릭과 동일한 단위를 나타낼 수 있다. 또 다른 일 실시예에서, 상기 제1 분할 유닛은 타일과 동일한 단위를 나타낼 수 있고, 상기 제2 분할 유닛은 브릭과 동일한 단위를 나타낼 수 있다.In one embodiment, the first split unit may represent the same unit as a slice, and the second split unit may represent the same unit as the one tile. In another embodiment, the first partitioning unit may represent the same unit as a slice, and the second partitioning unit may represent the same unit as a brick. In another embodiment, the first division unit may represent the same unit as a tile, and the second division unit may represent the same unit as a brick.
일 실시예에서, 상기 현재 픽처에 대한 상기 분할 정보는 PPS(Picture Parameter Set) 레벨에서 파싱될 수 있다.In an embodiment, the split information for the current picture may be parsed at a picture parameter set (PPS) level.
도 13 및 도 14에 개시된 디코딩 장치 및 디코딩 장치의 동작 방법에 따르면, 디코딩 장치는 현재 픽처에 대한 분할 정보(partition information) 및 상기 현재 픽처에 포함된 현재 블록에 대한 예측 정보(prediction information)를 포함하는 비트스트림을 수신하고(S1300), 복수의 타일들(a plurality of tiles)에 기반한 상기 현재 픽처의 제1 분할 구조(partitioning structure)를, 상기 제1 분할 구조를 도출하기 위한 복수의 열들 중 폭(width)에 대한 정보가 파싱되는 폭 파싱 열들(width parsing columns)의 개수에 대한 정보, 상기 폭 파싱 열들의 폭들(widths) 중 마지막에 파싱되는 폭을 나타내는 라스트 위드쓰(last width)에 대한 정보, 상기 제1 분할 구조를 도출하기 위한 복수의 행들 중 높이(height)에 대한 정보가 파싱되는 높이 파싱 행들(height parsing rows)의 개수에 대한 정보 및 상기 높이 파싱 행들의 높이들(heights) 중 마지막에 파싱되는 높이를 나타내는 라스트 하이트(last height)에 대한 정보를 포함하는 상기 현재 픽처에 대한 상기 분할 정보를 기반으로 도출하고(S1310), 상기 복수의 타일들 중 하나의 타일에 포함된 상기 현재 블록에 대한 상기 예측 정보를 기반으로, 상기 현재 블록에 대한 예측 샘플들을 도출하고(S1320), 상기 예측 샘플들을 기반으로 상기 현재 픽처를 복원(S1330)할 수 있고, 이때 상기 복수의 열들 중 상기 폭에 대한 정보가 파싱되지 않는 폭 파싱 스킵 열들(width parsing skip columns) 각각의 폭은 전부 상기 라스트 위드쓰로 결정되고, 상기 복수의 행들 중 상기 높이에 대한 정보가 파싱되지 않는 높이 파싱 스킵 행들(height parsing skip rows) 각각의 높이는 전부 상기 라스트 하이트로 결정될 수 있다.According to the decoding apparatus and the operating method of the decoding apparatus disclosed in FIGS. 13 and 14, the decoding apparatus includes partition information on a current picture and prediction information on a current block included in the current picture. A first partitioning structure of the current picture based on a plurality of tiles is received (S1300) and a width among a plurality of columns for deriving the first partitioning structure Information on the number of width parsing columns for which information about (width) is parsed, information on the last width indicating the width parsed last among the widths of the width parsing columns , Information on the number of height parsing rows from which information on height is parsed among a plurality of rows for deriving the first partition structure, and the last of the heights of the height parsing rows The current block is derived based on the split information for the current picture including information on the last height indicating the height parsed in (S1310), and included in one tile among the plurality of tiles Based on the prediction information for, prediction samples for the current block may be derived (S1320), and the current picture may be reconstructed (S1330) based on the prediction samples, and at this time, the width of the plurality of columns Width parsing skip columns for which information about the width is not parsed are all determined as the last with write, and height parsing skip rows in which information about the height is not parsed among the plurality of rows Each height of skip rows) may be determined as the last height.
즉, 본 개시에 따르면 픽처 파티셔닝의 효율을 높일 수 있다. 또한, 본 개시에 따르면 현재 픽처에 대한 분할 정보를 기반으로 픽처 파티셔닝의 효율을 높일 수 있다. 또한, 본 개시에 따르면 현재 픽처를 구성하는 복수의 타일들 중 폭(width) 및 높이(height)에 대한 정보가 파싱되지 않는 길이 파싱 스킵 타일들(length parsing skip tiles) 각각의 폭(또는 높이)을 시그널링 된 폭들(또는 높이들) 중 마지막 폭(또는 높이)을 기반으로 결정함으로써, 픽처 파티셔닝을 위한 시그널링의 효율을 높일 수 있다.That is, according to the present disclosure, it is possible to increase the efficiency of picture partitioning. Also, according to the present disclosure, it is possible to increase the efficiency of picture partitioning based on split information for a current picture. In addition, according to the present disclosure, the width (or height) of each of length parsing skip tiles in which information about a width and a height is not parsed among a plurality of tiles constituting a current picture Is determined based on the last width (or height) of the signaled widths (or heights), it is possible to increase the efficiency of signaling for picture partitioning.
상술한 실시예에서, 방법들은 일련의 단계 또는 블록으로써 순서도를 기초로 설명되고 있지만, 본 개시는 단계들의 순서에 한정되는 것은 아니며, 어떤 단계는 상술한 바와 다른 단계와 다른 순서로 또는 동시에 발생할 수 있다. 또한, 당업자라면 순서도에 나타내어진 단계들이 배타적이지 않고, 다른 단계가 포함되거나 순서도의 하나 또는 그 이상의 단계가 본 개시의 범위에 영향을 미치지 않고 삭제될 수 있음을 이해할 수 있을 것이다.In the above-described embodiment, the methods are described on the basis of a flowchart as a series of steps or blocks, but the present disclosure is not limited to the order of steps, and certain steps may occur in a different order or concurrently with the steps described above. have. In addition, those skilled in the art will appreciate that the steps shown in the flowchart are not exclusive, other steps are included, or one or more steps in the flowchart may be deleted without affecting the scope of the present disclosure.
이 문서에서 "/"와 ","는 "및/또는"으로 해석된다. 예를 들어, "A/B"는 "A 및/또는 B"로 해석되고, "A, B"는 "A 및/또는 B"로 해석된다. 추가적으로, "A/B/C"는 "A, B 및/또는 C 중 적어도 하나"를 의미한다. 또한, "A, B, C"도 "A, B 및/또는 C 중 적어도 하나"를 의미한다. (In this document, the term "/" and "," should be interpreted to indicate "and/or." For instance, the expression "A/B" may mean "A and/or B." Further, "A, B" may mean "A and/or B." Further, "A/B/C" may mean "at least one of A, B, and/or C." Also, "A/B/C" may mean "at least one of A, B, and/or C.") In this document, "/" and "," are interpreted as "and/or". For example, "A/B" is interpreted as "A and/or B", and "A, B" is interpreted as "A and/or B". Additionally, “A/B/C” means “at least one of A, B and/or C”. In addition, "A, B, C" also means "at least one of A, B and/or C". (In this document, the term "/" and "," should be interpreted to indicate "and/or." For instance, the expression "A/B" may mean "A and/or B." Further, "A, B" may mean "A and/or B." Further, "A/B/C" may mean "at least one of A, B, and/or C." Also, "A/B/C" may mean " at least one of A, B, and/or C.")
추가적으로, 본 문서에서 "또는"는 "및/또는"으로 해석된다. 예를 들어, "A 또는 B"은, 1) "A" 만을 의미하고, 2) "B" 만을 의미하거나, 3) "A 및 B"를 의미할 수 있다. 달리 표현하면, 본 문서의 "또는"은 "추가적으로 또는 대체적으로(additionally or alternatively)"를 의미할 수 있다. (Further, in the document, the term "or" should be interpreted to indicate "and/or." For instance, the expression "A or B" may comprise 1) only A, 2) only B, and/or 3) both A and B. In other words, the term "or" in this document should be interpreted to indicate "additionally or alternatively.")Additionally, in this document "or" is interpreted as "and/or". For example, "A or B" may mean only 1) "A", 2) only "B", or 3) "A and B". In other words, "or" in this document may mean "additionally or alternatively". (Further, in the document, the term "or" should be interpreted to indicate "and/or." For instance, the expression "A or B" may comprise 1) only A, 2) only B, and/or 3) both A and B. In other words, the term "or" in this document should be interpreted to indicate "additionally or alternatively.")
상술한 본 개시에 따른 방법은 소프트웨어 형태로 구현될 수 있으며, 본 개시에 따른 인코딩 장치 및/또는 디코딩 장치는 예를 들어 TV, 컴퓨터, 스마트폰, 셋톱박스, 디스플레이 장치 등의 영상 처리를 수행하는 장치에 포함될 수 있다.The method according to the present disclosure described above may be implemented in the form of software, and the encoding device and/or the decoding device according to the present disclosure perform image processing such as a TV, a computer, a smart phone, a set-top box, a display device, etc. Can be included in the device.
본 개시에서 실시예들이 소프트웨어로 구현될 때, 상술한 방법은 상술한 기능을 수행하는 모듈(과정, 기능 등)로 구현될 수 있다. 모듈은 메모리에 저장되고, 프로세서에 의해 실행될 수 있다. 메모리는 프로세서 내부 또는 외부에 있을 수 있고, 잘 알려진 다양한 수단으로 프로세서와 연결될 수 있다. 프로세서는 ASIC(application-specific integrated circuit), 다른 칩셋, 논리 회로 및/또는 데이터 처리 장치를 포함할 수 있다. 메모리는 ROM(read-only memory), RAM(random access memory), 플래쉬 메모리, 메모리 카드, 저장 매체 및/또는 다른 저장 장치를 포함할 수 있다. 즉, 본 개시에서 설명한 실시예들은 프로세서, 마이크로 프로세서, 컨트롤러 또는 칩 상에서 구현되어 수행될 수 있다. 예를 들어, 각 도면에서 도시한 기능 유닛들은 컴퓨터, 프로세서, 마이크로 프로세서, 컨트롤러 또는 칩 상에서 구현되어 수행될 수 있다. 이 경우 구현을 위한 정보(ex. information on instructions) 또는 알고리즘이 디지털 저장 매체에 저장될 수 있다.In the present disclosure, when the embodiments are implemented as software, the above-described method may be implemented as a module (process, function, etc.) performing the above-described function. 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 the present disclosure may be implemented and performed on a processor, microprocessor, controller, or chip. For example, 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.
또한, 본 개시가 적용되는 디코딩 장치 및 인코딩 장치는 멀티미디어 방송 송수신 장치, 모바일 통신 단말, 홈 시네마 비디오 장치, 디지털 시네마 비디오 장치, 감시용 카메라, 비디오 대화 장치, 비디오 통신과 같은 실시간 통신 장치, 모바일 스트리밍 장치, 저장 매체, 캠코더, 주문형 비디오(VoD) 서비스 제공 장치, OTT 비디오(Over the top video) 장치, 인터넷 스트리밍 서비스 제공 장치, 3차원(3D) 비디오 장치, VR(virtual reality) 장치, AR(argumente reality) 장치, 화상 전화 비디오 장치, 운송 수단 단말 (ex. 차량(자율주행차량 포함) 단말, 비행기 단말, 선박 단말 등) 및 의료용 비디오 장치 등에 포함될 수 있으며, 비디오 신호 또는 데이터 신호를 처리하기 위해 사용될 수 있다. 예를 들어, OTT 비디오(Over the top video) 장치로는 게임 콘솔, 블루레이 플레이어, 인터넷 접속 TV, 홈시어터 시스템, 스마트폰, 태블릿 PC, DVR(Digital Video Recoder) 등을 포함할 수 있다.In addition, the decoding device and encoding device to which the present disclosure is applied include a multimedia broadcast transmission/reception device, a mobile communication terminal, a home cinema video device, a digital cinema video device, a surveillance camera, a video chat device, a real-time communication device such as video communication, and mobile streaming. Devices, storage media, camcorders, video-on-demand (VoD) service providers, OTT video (Over the top video) devices, Internet streaming service providers, three-dimensional (3D) video devices, 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. I can. For example, 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).
또한, 본 개시가 적용되는 처리 방법은 컴퓨터로 실행되는 프로그램의 형태로 생산될 수 있으며, 컴퓨터가 판독할 수 있는 기록 매체에 저장될 수 있다. 본 개시에 따른 데이터 구조를 가지는 멀티미디어 데이터도 또한 컴퓨터가 판독할 수 있는 기록 매체에 저장될 수 있다. 상기 컴퓨터가 판독할 수 있는 기록 매체는 컴퓨터로 읽을 수 있는 데이터가 저장되는 모든 종류의 저장 장치 및 분산 저장 장치를 포함한다. 상기 컴퓨터가 판독할 수 있는 기록 매체는, 예를 들어, 블루레이 디스크(BD), 범용 직렬 버스(USB), ROM, PROM, EPROM, EEPROM, RAM, CD-ROM, 자기 테이프, 플로피 디스크 및 광학적 데이터 저장 장치를 포함할 수 있다. 또한, 상기 컴퓨터가 판독할 수 있는 기록 매체는 반송파(예를 들어, 인터넷을 통한 전송)의 형태로 구현된 미디어를 포함한다. 또한, 인코딩 방법으로 생성된 비트스트림이 컴퓨터가 판독할 수 있는 기록 매체에 저장되거나 유무선 통신 네트워크를 통해 전송될 수 있다.In addition, the processing method to which the present disclosure is applied may be produced in the form of a program executed by a computer, and may be stored in a computer-readable recording medium. Multimedia data having a data structure according to the present disclosure may 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. Further, the computer-readable recording medium includes media implemented in the form of a carrier wave (for example, transmission through the Internet). In addition, 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.
또한, 본 개시의 실시예는 프로그램 코드에 의한 컴퓨터 프로그램 제품으로 구현될 수 있고, 상기 프로그램 코드는 본 개시의 실시예에 의해 컴퓨터에서 수행될 수 있다. 상기 프로그램 코드는 컴퓨터에 의해 판독가능한 캐리어 상에 저장될 수 있다.In addition, an embodiment of the present disclosure may be implemented as a computer program product using a program code, and the program code may be executed in a computer by an embodiment of the present disclosure. The program code may be stored on a carrier readable by a computer.
도 15는 본 문서의 개시가 적용될 수 있는 컨텐츠 스트리밍 시스템의 예를 나타낸다.15 shows an example of a content streaming system to which the disclosure of this document can be applied.
도 15를 참조하면, 본 개시가 적용되는 컨텐츠 스트리밍 시스템은 크게 인코딩 서버, 스트리밍 서버, 웹 서버, 미디어 저장소, 사용자 장치 및 멀티미디어 입력 장치를 포함할 수 있다.Referring to FIG. 15, a content streaming system to which the present disclosure is applied may largely include an encoding server, a streaming server, a web server, a media storage device, a user device, and a multimedia input device.
상기 인코딩 서버는 스마트폰, 카메라, 캠코더 등과 같은 멀티미디어 입력 장치들로부터 입력된 컨텐츠를 디지털 데이터로 압축하여 비트스트림을 생성하고 이를 상기 스트리밍 서버로 전송하는 역할을 한다. 다른 예로, 스마트폰, 카메라, 캠코더 등과 같은 멀티미디어 입력 장치들이 비트스트림을 직접 생성하는 경우, 상기 인코딩 서버는 생략될 수 있다.The encoding server serves to generate a bitstream by compressing content input from multimedia input devices such as smartphones, cameras, camcorders, etc. into digital data, and transmits it to the streaming server. As another example, when 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 to which the present disclosure is applied, and the streaming server may temporarily store the bitstream while transmitting or receiving the bitstream.
상기 스트리밍 서버는 웹 서버를 통한 사용자 요청에 기초하여 멀티미디어 데이터를 사용자 장치에 전송하고, 상기 웹 서버는 사용자에게 어떠한 서비스가 있는지를 알려주는 매개체 역할을 한다. 사용자가 상기 웹 서버에 원하는 서비스를 요청하면, 상기 웹 서버는 이를 스트리밍 서버에 전달하고, 상기 스트리밍 서버는 사용자에게 멀티미디어 데이터를 전송한다. 이때, 상기 컨텐츠 스트리밍 시스템은 별도의 제어 서버를 포함할 수 있고, 이 경우 상기 제어 서버는 상기 컨텐츠 스트리밍 시스템 내 각 장치 간 명령/응답을 제어하는 역할을 한다.The streaming server transmits multimedia data to a user device based on a user request through a web server, and the web server serves as an intermediary for notifying the user of a service. When a user requests a desired service from the web server, the web server transmits it to the streaming server, and the streaming server transmits multimedia data to the user. In this case, 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.
상기 사용자 장치의 예로는, 휴대폰, 스마트 폰(smart phone), 노트북 컴퓨터(laptop computer), 디지털방송용 단말기, PDA(personal digital assistants), PMP(portable multimedia player), 네비게이션, 슬레이트 PC(slate PC), 태블릿 PC(tablet PC), 울트라북(ultrabook), 웨어러블 디바이스(wearable device, 예를 들어, 워치형 단말기 (smartwatch), 글래스형 단말기 (smart glass), HMD(head mounted display)), 디지털 TV, 데스크탑 컴퓨터, 디지털 사이니지 등이 있을 수 있다.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.
상기 컨텐츠 스트리밍 시스템 내 각 서버들은 분산 서버로 운영될 수 있으며, 이 경우 각 서버에서 수신하는 데이터는 분산 처리될 수 있다.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.

Claims (15)

  1. 디코딩 장치에 의하여 수행되는 영상 디코딩 방법에 있어서,In the video decoding method performed by the decoding device,
    현재 픽처에 대한 분할 정보(partition information) 및 상기 현재 픽처에 포함된 현재 블록에 대한 예측 정보(prediction information)를 포함하는 비트스트림을 수신하는 단계;Receiving a bitstream including partition information for a current picture and prediction information for a current block included in the current picture;
    복수의 타일들(a plurality of tiles)에 기반한 상기 현재 픽처의 제1 분할 구조(partitioning structure)를, 상기 제1 분할 구조를 도출하기 위한 복수의 열들 중 폭(width)에 대한 정보가 파싱되는 폭 파싱 열들(width parsing columns)의 개수에 대한 정보, 상기 폭 파싱 열들의 폭들(widths) 중 마지막에 파싱되는 폭을 나타내는 라스트 위드쓰(last width)에 대한 정보, 상기 제1 분할 구조를 도출하기 위한 복수의 행들 중 높이(height)에 대한 정보가 파싱되는 높이 파싱 행들(height parsing rows)의 개수에 대한 정보 및 상기 높이 파싱 행들의 높이들(heights) 중 마지막에 파싱되는 높이를 나타내는 라스트 하이트(last height)에 대한 정보를 포함하는 상기 현재 픽처에 대한 상기 분할 정보를 기반으로 도출하는 단계;A width at which information about a width among a plurality of columns for deriving the first partitioning structure is parsed from the first partitioning structure of the current picture based on a plurality of tiles Information on the number of width parsing columns, information on the last width indicating the last parsed width among the widths of the width parsing columns, and for deriving the first split structure A last height indicating information on the number of height parsing rows from which information about height among a plurality of rows is parsed, and a height that is parsed last among heights of the height parsing rows. deriving based on the segmentation information for the current picture including information on height);
    상기 복수의 타일들 중 하나의 타일에 포함된 상기 현재 블록에 대한 상기 예측 정보를 기반으로, 상기 현재 블록에 대한 예측 샘플들을 도출하는 단계; 및Deriving prediction samples for the current block based on the prediction information for the current block included in one of the plurality of tiles; And
    상기 예측 샘플들을 기반으로 상기 현재 픽처를 복원하는 단계를 포함하되,Including the step of restoring the current picture based on the prediction samples,
    상기 복수의 열들 중 상기 폭에 대한 정보가 파싱되지 않는 폭 파싱 스킵 열들(width parsing skip columns) 각각의 폭은 전부 상기 라스트 위드쓰로 결정되고, 상기 복수의 행들 중 상기 높이에 대한 정보가 파싱되지 않는 높이 파싱 스킵 행들(height parsing skip rows) 각각의 높이는 전부 상기 라스트 하이트로 결정되는 것을 특징으로 하는, 영상 디코딩 방법.The width of each of the width parsing skip columns in which the information about the width is not parsed among the plurality of columns is determined as the last with write, and the information about the height among the plurality of rows is not parsed. The height of each of height parsing skip rows, characterized in that all of the heights of the height parsing skip rows are determined as the last height.
  2. 제1항에 있어서,The method of claim 1,
    상기 폭 파싱 스킵 열들 및 상기 높이 파싱 스킵 행들의 총 개수(total number)는, 상기 폭 파싱 열들의 상기 열들의 합(sum), 상기 높이 파싱 행들의 상기 높이들의 합, 상기 라스트 위드쓰 및 상기 라스트 하이트를 기반으로 도출되는 것을 특징으로 하는, 영상 디코딩 방법.The total number of the width parsing skip columns and the height parsing skip rows is the sum of the columns of the width parsing columns, the sum of the heights of the height parsing rows, the last withth and the last Characterized in that derived based on the height, video decoding method.
  3. 제1항에 있어서,The method of claim 1,
    상기 현재 픽처에 대한 상기 분할 정보를 기반으로 복수의 제1 분할 유닛들(first partition units)에 기반한 상기 현재 픽처의 제2 분할 구조를 도출하는 단계; 및Deriving a second partition structure of the current picture based on a plurality of first partition units based on the partition information for the current picture; And
    상기 현재 픽처에 대한 상기 분할 정보를 기반으로 복수의 제2 분할 유닛들(second partition units)에 기반한 상기 현재 픽처의 제3 분할 구조를 도출하는 단계를 포함하되,Including the step of deriving a third partition structure of the current picture based on a plurality of second partition units (second partition units) based on the partition information on the current picture,
    상기 복수의 제1 분할 유닛들 중 하나의 제1 분할 유닛은, 상기 하나의 타일에 포함되거나, 상기 하나의 타일을 포함하거나, 상기 하나의 타일과 같고,One of the plurality of first split units is included in the one tile, includes the one tile, or is the same as the one tile,
    상기 복수의 제2 분할 유닛들 중 하나의 제2 분할 유닛은, 상기 하나의 타일에 포함되거나, 상기 하나의 타일을 포함하거나, 상기 제1 분할 유닛에 포함되거나, 상기 제1 분할 유닛을 포함하거나, 상기 하나의 타일과 같은 것을 특징으로 하는, 영상 디코딩 방법.One of the plurality of second dividing units may be included in the one tile, the one tile, the first dividing unit, or the first dividing unit , The image decoding method, characterized in that the same as the one tile.
  4. 제3항에 있어서,The method of claim 3,
    상기 현재 픽처에 대한 상기 분할 정보는, 상기 복수의 제1 분할 유닛들이 직사각형 모양(rectanglular shape)인지 여부를 나타내는 직사각 제1 분할 유닛 플래그(rectangular first partition unit flag)를 포함하고,The partition information for the current picture includes a rectangular first partition unit flag indicating whether the plurality of first partition units have a rectangular shape,
    상기 하나의 제1 분할 유닛은 상기 복수의 제2 분할 유닛들 중 적어도 하나의 제2 분할 유닛을 포함하고,The one first dividing unit includes at least one second dividing unit among the plurality of second dividing units,
    상기 영상 디코딩 방법은,The video decoding method,
    상기 직사각 제1 분할 유닛 플래그의 값이 1이라는 결정을 기반으로, 상기 현재 픽처 내 상기 복수의 제1 분할 유닛들의 총 개수에 대한 정보를 파싱하는 단계; 및Parsing information on the total number of the plurality of first division units in the current picture based on a determination that the value of the rectangular first division unit flag is 1; And
    상기 하나의 제1 분할 유닛에 포함된 상기 적어도 하나의 제2 분할 유닛의 인덱스 델타 값에 대한 정보를 파싱하는 단계를 더 포함하는 것을 특징으로 하는, 영상 디코딩 방법.And parsing information on an index delta value of the at least one second partitioning unit included in the one first partitioning unit.
  5. 제4항에 있어서,The method of claim 4,
    상기 제1 분할 유닛은 슬라이스(slice)와 동일한 단위를 나타내고,The first division unit represents the same unit as a slice,
    상기 제2 분할 유닛은 상기 하나의 타일과 동일한 단위를 나타내는 것을 특징으로 하는, 영상 디코딩 방법.The second division unit, characterized in that representing the same unit as the one tile, video decoding method.
  6. 제1항에 있어서,The method of claim 1,
    상기 현재 픽처에 대한 상기 분할 정보는 PPS(Picture Parameter Set) 레벨에서 파싱되는 것을 특징으로 하는, 영상 디코딩 방법.The split information on the current picture is parsed at a PPS (Picture Parameter Set) level.
  7. 제1항에 있어서,The method of claim 1,
    상기 현재 블록에 대한 상기 예측 정보는 코딩 유닛(coding unit) 레벨에서 파싱되는 것을 특징으로 하는, 영상 디코딩 방법.The prediction information on the current block is parsed at a coding unit level.
  8. 인코딩 장치에 의하여 수행되는 영상 인코딩 방법에 있어서,In the video encoding method performed by the encoding device,
    현재 픽처를 복수의 타일들로 분할하는 단계;Dividing the current picture into a plurality of tiles;
    상기 복수의 타일들을 기반으로, 상기 복수의 타일들을 도출하기 위한 복수의 열들 중 폭(width)에 대한 정보가 파싱되는 폭 파싱 열들(width parsing columns)의 개수에 대한 정보, 상기 폭 파싱 열들의 폭들(widths) 중 마지막에 파싱되는 폭을 나타내는 라스트 위드쓰(last width)에 대한 정보, 상기 복수의 타일들을 도출하기 위한 복수의 행들 중 높이(height)에 대한 정보가 파싱되는 높이 파싱 행들(height parsing rows)의 개수에 대한 정보 및 상기 높이 파싱 행들의 높이들(heights) 중 마지막에 파싱되는 높이를 나타내는 라스트 하이트(last height)에 대한 정보를 포함하는 상기 현재 픽처에 대한 분할 정보를 생성하는 단계;Based on the plurality of tiles, information on the number of width parsing columns in which information about a width is parsed among a plurality of columns for deriving the plurality of tiles, and widths of the width parsing columns Information on the last width representing the width to be parsed at the end of (widths), height parsing in which information on the height among a plurality of rows for deriving the plurality of tiles is parsed generating segmentation information for the current picture including information on the number of rows) and information on a last height representing a height parsed last among heights of the height parsing rows;
    상기 복수의 타일들 중 하나의 타일에 포함된 현재 블록에 대한 예측 샘플들을 도출하는 단계;Deriving prediction samples for a current block included in one of the plurality of tiles;
    상기 예측 샘플들을 기반으로 상기 현재 블록에 대한 예측 정보를 생성하는 단계; 및Generating prediction information for the current block based on the prediction samples; And
    상기 현재 픽처에 대한 분할 정보 및 상기 현재 블록에 대한 예측 정보를 포함하는 영상 정보를 인코딩하는 단계를 포함하되,Including the step of encoding image information including split information for the current picture and prediction information for the current block,
    상기 복수의 열들 중 상기 폭에 대한 정보가 파싱되지 않는 폭 파싱 스킵 열들(width parsing skip columns) 각각의 폭은 전부 상기 라스트 위드쓰와 같고, 상기 복수의 행들 중 상기 높이에 대한 정보가 파싱되지 않는 높이 파싱 스킵 행들(height parsing skip rows) 각각의 높이는 전부 상기 라스트 하이트와 같은 것을 특징으로 하는, 영상 인코딩 방법.The width of each of the width parsing skip columns in which the information on the width is not parsed among the plurality of columns is the same as the last width, and the information on the height among the plurality of rows is not parsed. The image encoding method, wherein the height of each of height parsing skip rows is the same as the last height.
  9. 제8항에 있어서,The method of claim 8,
    상기 폭 파싱 스킵 열들 및 상기 높이 파싱 스킵 행들의 총 개수(total number)는, 상기 폭 파싱 열들의 상기 열들의 합(sum), 상기 높이 파싱 행들의 상기 높이들의 합, 상기 라스트 위드쓰 및 상기 라스트 하이트를 기반으로 도출되는 것을 특징으로 하는, 영상 인코딩 방법.The total number of the width parsing skip columns and the height parsing skip rows is the sum of the columns of the width parsing columns, the sum of the heights of the height parsing rows, the last withth and the last Characterized in that derived based on the height, video encoding method.
  10. 제8항에 있어서,The method of claim 8,
    상기 현재 픽처를 복수의 제1 분할 유닛들로 분할하는 단계; 및Dividing the current picture into a plurality of first division units; And
    상기 현재 픽처를 복수의 제2 분할 유닛들로 분할하는 단계를 포함하되,Dividing the current picture into a plurality of second division units,
    상기 복수의 제1 분할 유닛들 중 하나의 제1 분할 유닛은, 상기 하나의 타일에 포함되거나, 상기 하나의 타일을 포함하거나, 상기 하나의 타일과 같고,One of the plurality of first split units is included in the one tile, includes the one tile, or is the same as the one tile,
    상기 복수의 제2 분할 유닛들 중 하나의 제2 분할 유닛은, 상기 하나의 타일에 포함되거나, 상기 하나의 타일을 포함하거나, 상기 제1 분할 유닛에 포함되거나, 상기 제1 분할 유닛을 포함하거나, 상기 하나의 타일과 같은 것을 특징으로 하는, 영상 인코딩 방법.One of the plurality of second dividing units may be included in the one tile, the one tile, the first dividing unit, or the first dividing unit , The video encoding method, characterized in that the same as the one tile.
  11. 제10항에 있어서,The method of claim 10,
    상기 하나의 제1 분할 유닛은 상기 복수의 제2 분할 유닛들 중 적어도 하나의 제2 분할 유닛을 포함하고,The one first dividing unit includes at least one second dividing unit among the plurality of second dividing units,
    상기 영상 인코딩 방법은,The video encoding method,
    상기 복수의 제1 분할 유닛들이 직사각형 모양이라는 결정을 기반으로, 상기 현재 픽처 내 상기 복수의 제1 분할 유닛들의 총 개수에 대한 정보를 인코딩하는 단계; 및Encoding information on the total number of the plurality of first division units in the current picture, based on a determination that the plurality of first division units have a rectangular shape; And
    상기 하나의 제1 분할 유닛에 포함된 상기 적어도 하나의 제2 분할 유닛의 인덱스 델타 값에 대한 정보를 인코딩하는 단계를 더 포함하는 것을 특징으로 하는, 영상 인코딩 방법.And encoding information on an index delta value of the at least one second partitioning unit included in the one first partitioning unit.
  12. 제11항에 있어서,The method of claim 11,
    상기 제1 분할 유닛은 슬라이스와 동일한 단위를 나타내고,The first division unit represents the same unit as a slice,
    상기 제2 분할 유닛은 상기 하나의 타일과 동일한 단위를 나타내는 것을 특징으로 하는, 영상 인코딩 방법.The second partitioning unit, characterized in that representing the same unit as the one tile.
  13. 제8항에 있어서,The method of claim 8,
    상기 현재 픽처에 대한 상기 분할 정보는 PPS 레벨에서 인코딩되는 것을 특징으로 하는, 영상 인코딩 방법.The image encoding method, characterized in that the split information for the current picture is encoded at a PPS level.
  14. 제8항에 있어서,The method of claim 8,
    상기 현재 블록에 대한 상기 예측 정보는 코딩 유닛 레벨에서 인코딩되는 것을 특징으로 하는, 영상 인코딩 방법.The prediction information on the current block is encoded at a coding unit level.
  15. 영상 디코딩을 수행하는 디코딩 장치에 있어서,In the decoding apparatus for performing video decoding,
    현재 픽처에 대한 분할 정보 및 상기 현재 픽처에 포함된 현재 블록에 대한 예측 정보를 포함하는 비트스트림을 수신하고, 복수의 타일들에 기반한 상기 현재 픽처의 제1 분할 구조를, 상기 제1 분할 구조를 도출하기 위한 복수의 열들 중 폭(width)에 대한 정보가 파싱되는 폭 파싱 열들(width parsing columns)의 개수에 대한 정보, 상기 폭 파싱 열들의 폭들(widths) 중 마지막에 파싱되는 폭을 나타내는 라스트 위드쓰(last width)에 대한 정보, 상기 제1 분할 구조를 도출하기 위한 복수의 행들 중 높이(height)에 대한 정보가 파싱되는 높이 파싱 행들(height parsing rows)의 개수에 대한 정보 및 상기 높이 파싱 행들의 높이들(heights) 중 마지막에 파싱되는 높이를 나타내는 라스트 하이트(last height)에 대한 정보를 포함하는 상기 현재 픽처에 대한 상기 분할 정보를 기반으로 도출하는 엔트로피 디코딩부;Receiving a bitstream including split information on a current picture and prediction information on a current block included in the current picture, and a first split structure of the current picture based on a plurality of tiles, and the first split structure Information on the number of width parsing columns from which information on width is parsed among a plurality of columns for derivation, and last with indicating the last parsed width among widths of the width parsing columns Information on the last width, information on the number of height parsing rows from which height information is parsed among a plurality of rows for deriving the first split structure, and the height parsing row An entropy decoding unit for deriving based on the split information for the current picture including information on a last height indicating a height parsed last among heights of the images;
    상기 복수의 타일들 중 하나의 타일에 포함된 상기 현재 블록에 대한 상기 예측 정보를 기반으로, 상기 현재 블록에 대한 예측 샘플들을 도출하는 예측부; 및A prediction unit that derives prediction samples for the current block based on the prediction information for the current block included in one of the plurality of tiles; And
    상기 예측 샘플들을 기반으로 상기 현재 픽처를 복원하는 가산부를 포함하되,Including an adder for reconstructing the current picture based on the prediction samples,
    상기 복수의 열들 중 상기 폭에 대한 정보가 파싱되지 않는 폭 파싱 스킵 열들(width parsing skip columns) 각각의 폭은 전부 상기 라스트 위드쓰로 결정되고, 상기 복수의 행들 중 상기 높이에 대한 정보가 파싱되지 않는 높이 파싱 스킵 행들(height parsing skip rows) 각각의 높이는 전부 상기 라스트 하이트로 결정되는 것을 특징으로 하는, 디코딩 장치.The width of each of the width parsing skip columns in which the information about the width is not parsed among the plurality of columns is determined as the last with write, and the information about the height among the plurality of rows is not parsed. The decoding apparatus, characterized in that the height of each of height parsing skip rows is determined to be the last height.
PCT/KR2019/017999 2019-04-08 2019-12-18 Method and device for partitioning picture into plurality of tiles WO2020209478A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201962831127P 2019-04-08 2019-04-08
US62/831,127 2019-04-08

Publications (1)

Publication Number Publication Date
WO2020209478A1 true WO2020209478A1 (en) 2020-10-15

Family

ID=72752091

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2019/017999 WO2020209478A1 (en) 2019-04-08 2019-12-18 Method and device for partitioning picture into plurality of tiles

Country Status (1)

Country Link
WO (1) WO2020209478A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230007307A1 (en) * 2020-02-21 2023-01-05 Beijing Bytedance Network Technology Co., Ltd. Indication of Tiles in a Video Picture
US11962814B2 (en) * 2020-02-21 2024-04-16 Beijing Bytedance Network Technology Co., Ltd. Indication of tiles in a video picture

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140057238A (en) * 2011-08-25 2014-05-12 파나소닉 주식회사 Methods and apparatuses for encoding, extracting and decoding video using tiles coding scheme
WO2015058719A1 (en) * 2013-10-25 2015-04-30 Mediatek Inc. Method and apparatus for processing picture having picture height not evenly divisible by slice height and/or slice width not evenly divisible by pixel group width
KR20160095762A (en) * 2015-02-04 2016-08-12 삼성전자주식회사 Electronic device and method for displaying object in electronic device
KR20190024212A (en) * 2017-08-31 2019-03-08 세종대학교산학협력단 A method of constructing the tiles and an apparatus having the same
US20190082178A1 (en) * 2016-03-30 2019-03-14 Electronics And Telecommunications Research Institute Method and apparatus for encoding and decoding video using picture division information

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140057238A (en) * 2011-08-25 2014-05-12 파나소닉 주식회사 Methods and apparatuses for encoding, extracting and decoding video using tiles coding scheme
WO2015058719A1 (en) * 2013-10-25 2015-04-30 Mediatek Inc. Method and apparatus for processing picture having picture height not evenly divisible by slice height and/or slice width not evenly divisible by pixel group width
KR20160095762A (en) * 2015-02-04 2016-08-12 삼성전자주식회사 Electronic device and method for displaying object in electronic device
US20190082178A1 (en) * 2016-03-30 2019-03-14 Electronics And Telecommunications Research Institute Method and apparatus for encoding and decoding video using picture division information
KR20190024212A (en) * 2017-08-31 2019-03-08 세종대학교산학협력단 A method of constructing the tiles and an apparatus having the same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230007307A1 (en) * 2020-02-21 2023-01-05 Beijing Bytedance Network Technology Co., Ltd. Indication of Tiles in a Video Picture
US11962814B2 (en) * 2020-02-21 2024-04-16 Beijing Bytedance Network Technology Co., Ltd. Indication of tiles in a video picture

Similar Documents

Publication Publication Date Title
WO2020197236A1 (en) Image or video coding based on sub-picture handling structure
WO2020101321A1 (en) Method for coding transform coefficient on basis of high frequency zeroing and apparatus therefor
WO2020171632A1 (en) Mpm list-based intra prediction method and device
WO2020256391A1 (en) Image decoding method and apparatus
WO2020231140A1 (en) Adaptive loop filter-based video or image coding
WO2020256344A1 (en) Signaling of information indicating transform kernel set in image coding
WO2021096057A1 (en) Image coding method on basis of entry point-related information in video or image coding system
WO2020197202A1 (en) Intra prediction method on basis of mpm list and apparatus therefor
WO2021040400A1 (en) Image or video coding based on palette mode
WO2020167097A1 (en) Derivation of inter-prediction type for inter prediction in image coding system
WO2021040398A1 (en) Image or video coding based on palette escape coding
WO2020235960A1 (en) Image decoding method using bdpcm and device therefor
WO2020256346A1 (en) Coding of information about transform kernel set
WO2020197274A1 (en) Transform-based image coding method and device therefor
WO2020197203A1 (en) Method for coding image on basis of intra prediction using mpm list and apparatus therefor
WO2020209477A1 (en) Picture partitioning-based coding method and device
WO2022060113A1 (en) Method for processing media file and device therefor
WO2021246791A1 (en) Method and apparatus for processing high level syntax in image/video coding system
WO2021040488A1 (en) Image or video coding based on escape binarization in palette mode
WO2021091255A1 (en) High level syntax signaling method and device for image/video coding
WO2021040402A1 (en) Image or video coding based on palette coding
WO2020256345A1 (en) Context coding for information on transform kernel set in image coding system
WO2020185005A1 (en) Transform-based image coding method and device therefor
WO2020130514A1 (en) Method and device for deciding transform coefficient scan order on basis of high frequency zeroing
WO2020060259A1 (en) Method for decoding image by using block partitioning in image coding system, and device therefor

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: 19923919

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19923919

Country of ref document: EP

Kind code of ref document: A1