WO2020263022A1 - 영상 부호화 방법 및 장치, 영상 복호화 방법 및 장치 - Google Patents
영상 부호화 방법 및 장치, 영상 복호화 방법 및 장치 Download PDFInfo
- Publication number
- WO2020263022A1 WO2020263022A1 PCT/KR2020/008378 KR2020008378W WO2020263022A1 WO 2020263022 A1 WO2020263022 A1 WO 2020263022A1 KR 2020008378 W KR2020008378 W KR 2020008378W WO 2020263022 A1 WO2020263022 A1 WO 2020263022A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- coding unit
- unit
- quantization parameter
- predetermined
- current coding
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/119—Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/12—Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/124—Quantisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/136—Incoming video signal characteristics or properties
- H04N19/137—Motion inside a coding unit, e.g. average field, frame or block difference
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/176—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/184—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being bits, e.g. of the compressed video stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/186—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a colour or a chrominance component
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/46—Embedding additional information in the video signal during the compression process
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/70—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/90—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
- H04N19/96—Tree coding, e.g. quad-tree coding
Definitions
- the method and apparatus according to an embodiment may encode or decode an image using various types of coding units included in the image.
- the method and apparatus according to an embodiment may effectively signal a differential quantization parameter of a coding unit according to the size of the coding unit.
- Various data units may be used to compress an image, and an inclusion relationship may exist between these data units.
- the data unit may be divided by various methods, and an optimized data unit may be determined according to the characteristics of the image, so that the image may be encoded or decoded.
- An image decoding method may include hierarchically dividing the current image based on a split type mode of the current image to obtain at least one coding unit including a current coding unit; Obtaining a differential quantization parameter for the current coding unit from a bitstream based on an area of a predetermined differential quantization parameter signaling unit; Obtaining a quantization parameter for the current coding unit by using a prediction quantization parameter for the current coding unit and a differential quantization parameter for the current coding unit; Based on the obtained quantization parameter for the current coding unit and whether at least one non-zero coefficient exists in a transformation unit included in the current coding unit, residual information of the current coding unit in the bitstream is determined.
- the obtaining of the differential quantization parameter for a unit includes: when the area of the current coding unit is greater than or equal to the area of the predetermined differential quantization parameter signaling unit, the size of the current coding unit is greater than the maximum size of the transformation unit.
- a differential quantization parameter for the current coding unit from information on a transform unit that is decoded first among a plurality of transform units split from the current coding unit; And when the area of the current coding unit is smaller than the area of the predetermined difference quantization parameter signaling unit, the first coding unit is decoded from among a plurality of coding units included in a predetermined coding unit including the current coding unit.
- the split type mode includes one of a binary split type and a ternary split type.
- the width of the predetermined coding unit is the same as the area of the predetermined quantization parameter signaling unit, or is twice the area of the predetermined quantization parameter signaling unit, and the width of the predetermined coding unit is
- the division type of the predetermined coding unit may be a ternary division type.
- a difference quantization parameter for the current coding unit is obtained from information on a transformation unit that is decoded first among a plurality of transformation units divided from the current coding unit, in at least one transformation unit included in the current coding unit, Regardless of a value of a coding block flag indicating whether at least one non-zero transform coefficient is included, a differential quantization parameter for the current coding unit is obtained, and the width of the current coding unit is the predetermined differential quantization parameter signaling. If it is smaller than the area of the unit, the current coding unit is included from information on a transformation unit that is decoded first in a coding unit that is decoded first among a plurality of coding units included in a predetermined coding unit including the current coding unit.
- the current coding unit is determined regardless of a value of a coding block flag indicating whether at least one non-zero transform coefficient is included in the first decoded transform unit.
- a differential quantization parameter for a predetermined coding unit to be included may be obtained.
- Obtaining a differential quantization parameter for a current coding unit from the bitstream based on the width of the predetermined differential quantization parameter signaling unit may include: the width of the current coding unit is greater than the width of the predetermined differential quantization parameter signaling unit. If the size of the current coding unit is greater than or equal to the maximum size of the transformation unit, encoding indicating whether at least one non-zero transform coefficient is included in a transformation unit having the same size as the current coding unit. The step of obtaining a differential quantization parameter for the current coding unit based on the value of the block flag may be further included.
- the obtaining of the differential quantization parameter for the current coding unit based on the value of the coding block flag may include: when the current coding unit corresponds to coding units of at least one luma component and a chroma component, the current coding unit A first coding block flag indicating whether at least one non-zero transform coefficient is included in a transform unit having the same size as the coding unit of the luma component corresponding to, and the coding unit of the chroma component Cb corresponding to the current coding unit A second coding block flag indicating whether a non-zero transform coefficient is included in a transform unit of the same size, and a non-zero transform coefficient in a transform unit having the same size as the coding unit of the chroma component Cr corresponding to the current coding unit
- the method may include obtaining a differential quantization parameter for the current coding unit based on at least one of values of a third coding block flag indicating whether or not is included.
- the current When the flag indicating whether signaling for the differential quantization parameter is activated indicates that it is activated, and the flag indicating whether the signaling method of the predetermined differential quantization parameter is used indicates that the signaling method of the predetermined differential quantization parameter is used, the current When the split flag indicating whether the coding unit is split indicates that the current coding unit is not split, the sum of a value obtained by taking log2 from the width of the current coding unit and a value obtained by taking log2 from the height of the current coding unit is the predetermined If the area of the difference quantization parameter of the signaling unit is greater than or equal to the value obtained by taking log2, the current encoding is greater than the value obtained by taking log2 in the height or width of the current coding unit.
- Obtaining a differential quantization parameter for the current coding unit from a bitstream based on the width of the predetermined differential quantization parameter signaling unit indicates that a flag indicating whether signaling for the differential quantization parameter is activated is activated,
- a flag indicating whether a signaling technique of a predetermined difference quantization parameter is used indicates that a signaling technique of a predetermined difference quantization parameter is used, a split flag indicating whether a predetermined coding unit including the current coding unit is divided is displayed.
- a split type of the predetermined coding unit is a ternary split type, a value obtained by taking log2 as a width of the predetermined coding unit and a value obtained by taking log2 from a height of the predetermined coding unit
- the sum of the difference quantization parameter is equal to a value obtained by adding 1 to a value obtained by adding log2 to the area of the predetermined difference quantization parameter signaling unit, or a value obtained by adding log2 to the height of the predetermined coding unit and log2 to the height of the predetermined coding unit.
- the sum of the values obtained by taking is equal to the value obtained by taking log2 to the area of the predetermined difference quantization parameter signaling unit, determining a value of cuQpDeltaCode of the predetermined coding unit as a predetermined first value, Identifying cuQpDeltaCode values of a plurality of coding units including a current coding unit divided from the coding units as a predetermined first value; It may include identifying a value of cuQpDeltaCode of the current coding unit and obtaining a differential quantization parameter for the current coding unit.
- the width of the predetermined difference quantization parameter signaling unit may be determined based on information about a difference between a predetermined value and a value obtained by taking log2 from the area of a predetermined coding unit obtained from a picture parameter set (PPS) of the bitstream. have.
- PPS picture parameter set
- An image decoding apparatus hierarchically divides the current image based on a split mode mode of the current image to obtain at least one coding unit including a current coding unit, and performs a predetermined difference quantization. Based on the area of the parameter signaling unit, a differential quantization parameter for the current coding unit is obtained from a bitstream, and the current coding is performed using a prediction quantization parameter for the current coding unit and a differential quantization parameter for the current coding unit.
- a quantization parameter for a unit is obtained, based on the obtained quantization parameter for the current coding unit and whether at least one non-zero coefficient is present in a transformation unit included in the current coding unit, in the bitstream At least one non-zero coefficient obtained based on residual information of the current coding unit is inverse quantized to obtain at least one inverse quantized coefficient, and based on the inverse quantized coefficient, the current coding unit And at least one processor that obtains a residual block of, and obtains a reconstructed block of the current coding unit based on the obtained residual block of the current coding unit, wherein the at least one processor comprises the predetermined difference When obtaining the differential quantization parameter for the current coding unit from the bitstream based on the width of the quantization parameter signaling unit, the at least one processor determines that the width of the current coding unit is the predetermined differential quantization parameter signaling unit.
- the size of the current coding unit is greater than or equal to the area, if the size of the current coding unit is greater than the maximum size of the transformation unit, information on the first decoded transformation unit among a plurality of transformation units divided from the current coding unit is determined to the current coding unit.
- a predetermined encoding including the current coding unit A differential quantization parameter for a predetermined coding unit including the current coding unit is obtained from information on a first decoded transformation unit of a coding unit that is decoded first among a plurality of coding units included in a unit, and the split mode mode Is a mode based on a partitioning type including one of a binary partitioning type and a ternary partitioning type, and the area of the predetermined coding unit is the same area as the area of the predetermined quantization parameter signaling unit, or the predetermined quantization parameter signaling unit
- the split type of the predetermined coding unit may be a ternary split type.
- a differential quantization parameter for the current coding unit is obtained, and a plurality of coding units included in a predetermined coding unit including the current coding unit.
- a difference quantization parameter for a current coding unit is obtained from information on a first decoded transformation unit of the first decoded coding unit among coding units, at least one non-zero transformation coefficient in the first decoded transformation unit
- a differential quantization parameter for a predetermined coding unit including the current coding unit may be obtained regardless of a value of a flag indicating whether or not is included.
- the at least one processor may be configured to: If the size of the current coding unit is less than or equal to the size of a maximum transformation unit, the current A difference quantization parameter for the current coding unit may be obtained based on a value of a coding block flag indicating whether at least one non-zero transform coefficient is included in a transform unit having the same size as the coding unit.
- the area of the predetermined difference quantization parameter signaling unit is based on information about the difference between a value obtained by taking log2 from the area of a predetermined difference quantization parameter signaling unit and a predetermined value obtained from a picture parameter set (PPS) of the bitstream. Can be determined as
- the at least one processor may configure the predetermined coding unit to have an area equal to the width of the predetermined differential quantization parameter signaling unit, or the predetermined coding unit to have an area of the predetermined differential quantization parameter signaling.
- a differential quantization parameter for a predetermined coding unit including the current coding unit may be obtained from information on a transformation unit to be decoded first of the unit.
- An image encoding method may include hierarchically dividing the current image based on a split mode mode of the current image to obtain at least one coding unit including a current coding unit; Obtaining at least one coefficient included in the current coding unit; Obtaining at least one transform coefficient by performing transform on at least one coefficient included in the current coding unit; Performing quantization on the acquired at least one transform coefficient to obtain at least one quantized transform coefficient and a quantization parameter for the current coding unit; Obtaining a differential quantization parameter for the current coding unit based on a quantization parameter for the current coding unit and a prediction quantization parameter for the current coding unit; Generating a syntax element indicating a differential quantization parameter for the current coding unit based on an area of a predetermined differential quantization parameter signaling unit; Generating residual information of the current coding unit including information on the at least one quantized transform coefficient; And generating a bitstream including residual information of the current coding unit and the syntax element, wherein the split
- the division type may be a ternary division type.
- bitstream further includes a syntax element indicating an area of the predetermined difference quantization parameter signaling unit
- the syntax element indicating the area of the predetermined difference quantization parameter signaling unit may be information about a difference between a value obtained by taking log2 as the area of the predetermined difference quantization parameter signaling unit and a predetermined value.
- a computer program for an image decoding method according to an embodiment of the present disclosure may be recorded on a computer-readable recording medium.
- FIG. 1A is a block diagram of an image decoding apparatus according to various embodiments.
- FIG. 1B is a flowchart of an image decoding method according to various embodiments.
- 1C is a block diagram of an image decoder according to various embodiments.
- FIG. 2A is a block diagram of an image encoding apparatus according to various embodiments.
- 2B is a flowchart of an image encoding method according to various embodiments.
- 2C is a block diagram of an image encoder according to various embodiments.
- 3A is a diagram illustrating a syntax structure of a division unit for signaling of a differential quantization parameter, according to an embodiment.
- 3B to 3C are diagrams illustrating syntax structures of a division unit and a transformation unit for signaling of a differential quantization parameter, according to an embodiment.
- 4A to 4C are diagrams illustrating a syntax structure of a split unit, a coding unit, and a transformation unit for signaling a differential quantization parameter, according to an embodiment.
- FIG. 4D is a diagram illustrating a method of signaling a differential quantization parameter according to a syntax structure of a division unit, a coding unit, and a transformation unit for signaling the differential quantization parameter of FIGS. 4A to 4C.
- FIG. 5 illustrates a SUCO technique for determining a sub (decode) encoding order between coding units in a forward or reverse direction based on a coding order flag, according to an embodiment of the present disclosure, and a sub (decode) coding based on the SUCO scheme It is a diagram for explaining that the right neighboring blocks are available in order.
- FIG. 6 is a diagram illustrating a process of determining at least one coding unit by dividing a current coding unit by an image decoding apparatus, according to an embodiment.
- FIG. 7 illustrates a process in which an image decoding apparatus determines at least one coding unit by dividing coding units having a non-square shape, according to an exemplary embodiment.
- FIG. 8 is a diagram illustrating a process of splitting a coding unit based on at least one of block type information and information on a split mode, by an image decoding apparatus, according to an embodiment.
- FIG. 9 illustrates a method for an image decoding apparatus to determine a predetermined coding unit among odd coding units, according to an embodiment.
- FIG. 10 illustrates an order in which a plurality of coding units are processed when the image decoding apparatus determines a plurality of coding units by dividing a current coding unit according to an embodiment.
- FIG. 11 illustrates a process of determining that a current coding unit is divided into odd number of coding units when coding units cannot be processed in a predetermined order, according to an embodiment.
- FIG. 12 illustrates a process in which an image decoding apparatus determines at least one coding unit by dividing a first coding unit, according to an embodiment.
- FIG. 13 illustrates that, according to an embodiment, when a second coding unit of a non-square shape determined by splitting a first coding unit satisfies a predetermined condition, a form in which the second coding unit can be split is limited. Shows that.
- FIG. 14 illustrates a process in which an image decoding apparatus splits a square coding unit when information on a split mode mode cannot be indicated to be split into four square coding units according to an embodiment.
- FIG. 15 illustrates that a processing order between a plurality of coding units may vary according to a splitting process of a coding unit according to an embodiment.
- FIG. 16 illustrates a process of determining a depth of a coding unit according to a change in a shape and size of a coding unit when coding units are recursively split to determine a plurality of coding units, according to an embodiment.
- FIG. 17 illustrates a depth that may be determined according to a shape and size of coding units and a part index (hereinafter referred to as PID) for classifying coding units according to an embodiment.
- PID part index
- FIG. 18 illustrates that a plurality of coding units are determined according to a plurality of predetermined data units included in a picture, according to an embodiment.
- FIG. 19 illustrates a processing block that serves as a reference for determining an order of determining reference coding units included in a picture, according to an embodiment.
- An image decoding method may include hierarchically dividing the current image based on a split type mode of the current image to obtain at least one coding unit including a current coding unit; Obtaining a differential quantization parameter for the current coding unit from a bitstream based on an area of a predetermined differential quantization parameter signaling unit; Obtaining a quantization parameter for the current coding unit by using a prediction quantization parameter for the current coding unit and a differential quantization parameter for the current coding unit; Based on the obtained quantization parameter for the current coding unit and whether at least one non-zero coefficient exists in a transformation unit included in the current coding unit, residual information of the current coding unit in the bitstream is determined.
- the obtaining of the differential quantization parameter for a unit includes: when the area of the current coding unit is greater than or equal to the area of the predetermined differential quantization parameter signaling unit, the size of the current coding unit is greater than the maximum size of the transformation unit.
- a differential quantization parameter for the current coding unit from information on a transform unit that is decoded first among a plurality of transform units split from the current coding unit; And when the area of the current coding unit is smaller than the area of the predetermined difference quantization parameter signaling unit, the first coding unit is decoded from among a plurality of coding units included in a predetermined coding unit including the current coding unit.
- the split type mode includes one of a binary split type and a ternary split type.
- the width of the predetermined coding unit is the same as the area of the predetermined quantization parameter signaling unit, or is twice the area of the predetermined quantization parameter signaling unit, and the width of the predetermined coding unit is
- the division type of the predetermined coding unit may be a ternary division type.
- An image decoding apparatus hierarchically divides the current image based on a split mode mode of the current image to obtain at least one coding unit including a current coding unit, and performs a predetermined difference quantization. Based on the area of the parameter signaling unit, a differential quantization parameter for the current coding unit is obtained from a bitstream, and the current coding is performed using a prediction quantization parameter for the current coding unit and a differential quantization parameter for the current coding unit.
- a quantization parameter for a unit is obtained, based on the obtained quantization parameter for the current coding unit and whether at least one non-zero coefficient is present in a transformation unit included in the current coding unit, in the bitstream At least one non-zero coefficient obtained based on residual information of the current coding unit is inverse quantized to obtain at least one inverse quantized coefficient, and based on the inverse quantized coefficient, the current coding unit And at least one processor that obtains a residual block of, and obtains a reconstructed block of the current coding unit based on the obtained residual block of the current coding unit, wherein the at least one processor comprises the predetermined difference When obtaining the differential quantization parameter for the current coding unit from the bitstream based on the width of the quantization parameter signaling unit, the at least one processor determines that the width of the current coding unit is the predetermined differential quantization parameter signaling unit.
- the size of the current coding unit is greater than or equal to the area, if the size of the current coding unit is greater than the maximum size of the transformation unit, information on the first decoded transformation unit among a plurality of transformation units divided from the current coding unit is determined to the current coding unit.
- a predetermined encoding including the current coding unit A differential quantization parameter for a predetermined coding unit including the current coding unit is obtained from information on a first decoded transformation unit of a coding unit that is decoded first among a plurality of coding units included in a unit, and the split mode mode Is a mode based on a partitioning type including one of a binary partitioning type and a ternary partitioning type, and the area of the predetermined coding unit is the same area as the area of the predetermined quantization parameter signaling unit, or the predetermined quantization parameter signaling unit
- the split type of the predetermined coding unit may be a ternary split type.
- An image encoding method may include hierarchically dividing the current image based on a split mode mode of the current image to obtain at least one coding unit including a current coding unit; Obtaining at least one coefficient included in the current coding unit; Obtaining at least one transform coefficient by performing transform on at least one coefficient included in the current coding unit; Performing quantization on the acquired at least one transform coefficient to obtain at least one quantized transform coefficient and a quantization parameter for the current coding unit; Obtaining a differential quantization parameter for the current coding unit based on a quantization parameter for the current coding unit and a prediction quantization parameter for the current coding unit; Generating a syntax element indicating a differential quantization parameter for the current coding unit based on an area of a predetermined differential quantization parameter signaling unit; Generating residual information of the current coding unit including information on the at least one quantized transform coefficient; And generating a bitstream including residual information of the current coding unit and the syntax element, wherein the split
- the division type may be a ternary division type.
- a computer program for an image decoding method according to an embodiment of the present disclosure may be recorded on a computer-readable recording medium.
- unit used in the specification refers to a software or hardware component, and “unit” performs certain roles. However, “unit” is not meant to be limited to software or hardware.
- the “unit” may be configured to be in an addressable storage medium or may be configured to reproduce one or more processors.
- unit refers to components such as software components, object-oriented software components, class components, and task components, processes, functions, properties, procedures, Includes subroutines, segments of program code, drivers, firmware, microcode, circuitry, data, database, data structures, tables, arrays and variables.
- the functions provided within the components and “units” may be combined into a smaller number of components and “units” or may be further separated into additional components and “units”.
- the "unit” may be implemented with a processor and a memory.
- processor is to be interpreted broadly to include general purpose processors, central processing units (CPUs), microprocessors, digital signal processors (DSPs), controllers, microcontrollers, state machines, and the like.
- processor may refer to an application specific application (ASIC), programmable logic device (PLD), field programmable gate array (FPGA), and the like.
- ASIC application specific application
- PLD programmable logic device
- FPGA field programmable gate array
- processor refers to a combination of processing devices, such as, for example, a combination of a DSP and a microprocessor, a combination of a plurality of microprocessors, a combination of one or more microprocessors in combination with a DSP core, or any other such configuration. You can also refer to it.
- memory should be interpreted broadly to include any electronic component capable of storing electronic information.
- the term memory refers to random access memory (RAM), read-only memory (ROM), non-volatile random access memory (NVRAM), programmable read-only memory (PROM), erase-programmable read-only memory (EPROM), electrical May refer to various types of processor-readable media such as erasable PROM (EEPROM), flash memory, magnetic or optical data storage, registers, and the like.
- RAM random access memory
- ROM read-only memory
- NVRAM non-volatile random access memory
- PROM programmable read-only memory
- EPROM erase-programmable read-only memory
- EEPROM erasable PROM
- flash memory magnetic or optical data storage, registers, and the like.
- the memory is said to be in electronic communication with the processor if the processor can read information from and
- image may represent a static image such as a still image of a video or a moving image, that is, a dynamic image such as the video itself.
- sample refers to data allocated to a sampling position of an image and to be processed.
- a pixel value in an image in a spatial domain and transform coefficients in a transform domain may be samples.
- a unit including at least one such sample may be defined as a block.
- encoding block flag information may be flag information indicating whether a corresponding data unit includes at least one non-zero (transform) coefficient.
- the coding block flag information may be generated according to whether a specific condition is satisfied for each coding unit.
- the present invention is not limited thereto, and may be generated for each subblock unit smaller than the coding unit.
- one coding block flag information may be generated for both luma and chroma components, but the present invention is not limited thereto, and coding block flag information may be generated for each component.
- one coding block flag information for both luma and chroma components may be generated together with coding block flag information for each component.
- encoding block flag information when the value of one encoding block flag information for both luma and chroma components is 1, encoding block flag information may be generated for each component. Meanwhile, when the value of one encoding block flag information for both luma and chroma components is 0, encoding block flag information may not be generated for each component.
- FIGS. 1 to 19 An image encoding apparatus and an image decoding apparatus, an image encoding method, and an image decoding method are described in detail. A method of determining a data unit of an image according to an embodiment is described with reference to FIGS. 6 to 19, and differential quantization of a coding unit according to a size of a coding unit according to an embodiment with reference to FIGS. 1A to 5 An encoding or decoding method and apparatus for signaling parameters are described.
- FIGS. 1A through 5 an encoding/decoding method and an apparatus for signaling a differential quantization parameter of a coding unit according to a size of a coding unit according to an embodiment of the present disclosure will be described with reference to FIGS. 1A through 5.
- FIG. 1A is a block diagram of an image decoding apparatus according to various embodiments.
- the image decoding apparatus 100 may include an acquisition unit 105 and an image decoding unit 110.
- the acquisition unit 105 and the image decoder 110 may include at least one processor.
- the acquisition unit 105 and the image decoding unit 110 may include a memory that stores instructions to be executed by at least one processor.
- the image decoding unit 110 may be implemented as hardware separate from the acquisition unit 105 or may include the acquisition unit 105.
- the image decoding unit 110 may include an inverse quantization unit 115.
- the inverse quantization unit 115 may be implemented as hardware separate from the image decoding unit 110.
- the image decoder 110 may hierarchically divide the current image based on the split mode of the current image to obtain a plurality of coding units including the current coding unit.
- the division type mode may indicate at least one of whether to be divided, a division direction, and a division type.
- the partition type may represent one of a binary partition type, a tri partition type (ternary partition type), and a quart partition type.
- binary division is performed in the vertical direction (or horizontal direction) and then binary division is performed in the horizontal direction (or vertical direction)
- substantially the same effect as that of performing quad division may occur, so the division type May represent only one of a binary division type and a tri division type.
- BTT Binary and Ternary Tree
- QT Quad Tree
- the quad tree technique may be a technique of splitting a coding unit of an upper depth into four coding units of a lower depth using only a split type of quad splitting.
- the acquirer 105 may obtain a differential quantization parameter for a current coding unit from a bitstream based on a predetermined differential quantization parameter signaling area.
- the information on the differential quantization parameter obtained from the bitstream may include sign information of the differential quantization parameter and absolute value information of the differential quantization parameter.
- the area of the predetermined difference quantization parameter signaling unit may be the same as the area of the predetermined coding unit.
- the size of the current coding unit is the transformation unit. If it is larger than the maximum size of, a differential quantization parameter for the current coding unit may be obtained from information on a transform unit that is decoded first among a plurality of transform units split from the current coding unit. In this case, the current coding unit may be a coding unit that is no longer split into coding units having a lower depth.
- the acquisition unit 105 is configured of a coding block flag indicating whether at least one non-zero transform coefficient is included in at least one transform unit (especially, the first transformed transform unit) included in the current coding unit. Regardless of a value, a differential quantization parameter for a current coding unit may be obtained from a bitstream.
- Coding block flag information means flag information indicating whether at least one non-zero transform coefficient exists in the current block as the residual signal indicating the difference between the signal of the original image and the prediction signal is transformed/quantized. I can. For example, when the encoding block flag information indicates that at least one non-zero transform coefficient exists in the current block (for example, the encoding block flag may be 1, but is not limited thereto) , Since the coding block flag information indicates that at least one non-zero transform coefficient exists in the current block, the coding block flag information indicates that entropy encoding (including transform/quantization) is performed on the transform coefficient of the current block.
- the coded block flag information indicates that all transform coefficients in the current block are 0 (for example, the value of the coded block flag may be 0, but is not limited thereto)
- entropy coding transformation/ (Including quantization) was not performed. That is, the video encoding apparatus includes the coded block flag information in the bitstream and outputs it, and the video decoding apparatus acquires the coded block flag information from the bitstream, and based on the coded block flag information, entropy decoding (transformation) for the current block /Quantization) is necessary or not.
- the acquirer 105 may obtain encoding block flags for transformation units, respectively, from information on a plurality of transformation units divided from a current coding unit included in the bitstream, and each encoding block flag for each luma component/chroma component. Can be obtained.
- the image decoder 110 may identify whether entropy decoding (+ inverse quantization and inverse transformation) is required for the current block. Therefore, since the image decoder 110 does not perform inverse quantization for a transform unit whose CBF value is 0, the acquirer 105 may not acquire information related to quantization parameters for inverse quantization of the corresponding transform unit. have.
- the acquirer 105 obtains the differential quantization parameter for the current coding unit from the bitstream according to the value of CBF, the operation of obtaining the value of CBF and the operation of identifying whether the value of CBF is 1 It must be preceded, and thus, the parsing delay and the complexity for identifying whether the condition is satisfied may increase.
- the acquirer 105 does not identify a value of a coding block flag indicating whether at least one non-zero transform coefficient is included in at least one transformation unit included in the current coding unit, and in decoding order
- a differential quantization parameter for a current coding unit may be obtained from information on the first transformation unit.
- the acquirer 105 may not acquire the difference quantization parameter from information about the remaining transform units (transform units after the second) other than the first transform unit in the decoding order.
- the difference quantization parameter for each transformation unit may be determined as a difference quantization parameter obtained from information about the first transformation unit. Accordingly, the parsing delay and the complexity for identifying whether the condition is satisfied can be reduced.
- the acquirer 105 When the area of the current coding unit is greater than or equal to the area of a predetermined differential quantization parameter signaling unit, the acquirer 105 is the same size as the current coding unit if the size of the current coding unit is less than or equal to the size of the maximum transformation unit.
- a differential quantization parameter for a current coding unit may be obtained from a bitstream based on a coding block flag indicating whether at least one non-zero transform coefficient is included in the transform unit of. That is, the acquirer 105 may obtain a differential quantization parameter for the current coding unit based on the value of the encoding flag.
- the acquirer 105 When the value of the coding block flag is 0, since the value of the transform coefficient included in the transform unit having the same size as the current coding unit is 0, there is no need to perform inverse quantization. Accordingly, the acquirer 105 performs inverse quantization. The difference quantization parameter for may not be obtained. When the value of the coding block flag is 1, the acquirer 105 may obtain a differential quantization parameter for inverse quantization of the current coding unit.
- the acquisition unit 105 may have at least one zero in a transformation unit having the same size as the coding unit of the luma component corresponding to the current coding unit.
- a first coding block flag indicating whether a non-zero transform coefficient is included, a second indicating whether at least one non-zero coefficient is included in a transform unit having the same size as the coding unit of the chroma component Cb corresponding to the current coding unit Based on at least one of the values of the coding block flag and the third coding block flag indicating whether at least one non-zero coefficient is included in a transformation unit having the same size as the coding unit of the chroma component Cr corresponding to the current coding unit. , It is possible to obtain a differential quantization parameter for the current coding unit.
- the image decoder 110 may obtain at least one coding unit based on information about a split mode mode of a current image that is common among components. That is, when the tree type is a single tree type, the current coding unit may correspond to a coding unit of a luma component and a coding unit of a chroma component.
- the acquirer 105 includes a first coding block flag of a transformation unit having the same size as a coding unit of a luma component corresponding to the current coding unit, and a transformation unit having the same size as a coding unit of a chroma component Cb corresponding to the current coding unit.
- a differential quantization parameter for the current coding unit may be obtained.
- the image decoder 110 may obtain at least one coding unit for each luma component and chroma component based on information about a split mode mode of an image for each luma component and chroma component.
- the dual tree type may include a dual luma type and a dual chroma type, and in the case of a dual luma type, the image decoder 110 includes at least one luma component based on information about the split mode mode of the image.
- a coding unit of a luma component may be obtained.
- the image decoder 110 may obtain at least one coding unit of a chroma component based on information on a split mode mode of an image of a chroma component.
- the coding unit corresponding to the current coding unit may be a coding unit of a luma component.
- the coding unit corresponding to the current coding unit may be a coding unit of a chroma component (Cb or Cr).
- Cb or Cr chroma component
- the acquisition unit 105 may prevent unnecessary differential quantization parameter signaling by obtaining a coding block flag of a transformation unit having the same size as the current coding unit and obtaining a differential quantization parameter based on the value of the coding block flag. have. That is, when the value of the encoding flag is 0, unnecessary differential quantization parameter signaling can be prevented by not obtaining the differential quantization parameter from the bitstream.
- the acquirer 105 may determine the first decoding of a coding unit among a plurality of coding units included in a predetermined coding unit including the current coding unit.
- a differential quantization parameter for a predetermined coding unit including a current coding unit may be obtained from information about a transform unit to be decoded.
- the predetermined coding unit may be divided into a plurality of coding units including the current coding unit while having the same width as the signal unit of the predetermined difference quantization parameter.
- the split type of the predetermined coding unit may be a coding unit that is a ternary split type.
- a coding unit having the same width as the predetermined coding unit from among coding units split from the predetermined coding unit may be obtained.
- the acquired coding unit does not become a predetermined coding unit, and a coding unit that is twice the width of a predetermined differential quantization parameter signaling unit may be a predetermined coding unit.
- the acquirer 105 may not obtain information related to a quantization parameter for inverse quantization of the corresponding coding unit.
- the acquirer 105 obtains the differential quantization parameter for the current coding unit from the bitstream according to the value of CBF, the operation of obtaining the value of CBF and the operation of identifying whether the value of CBF is 1 It must be preceded, and thus, the parsing delay and the complexity for identifying whether the condition is satisfied may increase.
- the acquirer 105 determines whether at least one non-zero transform coefficient is included in a transformation unit included in at least one coding unit among a plurality of coding units included in a predetermined coding unit including the current coding unit.
- a differential quantization parameter for a current coding unit may be obtained from information about a first transformation unit of a first coding unit in a decoding order without identifying a value of the coding block flag indicating.
- the acquirer 105 may not obtain the difference quantization parameter from information about the remaining transformation units except for the first transformation unit of the first coding unit and the remaining coding units (coding units after the second) in decoding order.
- the differential quantization parameter for each coding unit may be determined as a differential quantization parameter obtained from information on the first coding unit. Accordingly, the parsing delay and the complexity for identifying whether the condition is satisfied can be reduced.
- the inverse quantization unit 115 may obtain a quantization parameter for a current coding unit by using a prediction quantization parameter for the current coding unit and a differential quantization parameter for the coding unit. In this case, the inverse quantization unit 115 may obtain a quantization parameter previously decoded in a decoding order in a current tile or slice as a prediction parameter for the current coding unit. When the current coding unit is the first coding unit of a tile or slice, the inverse quantizer 115 may obtain a quantization parameter of a slice level as a prediction parameter for the current coding unit. In this case, the quantization parameter may be obtained for each component.
- the inverse quantization unit 115 determines a value of an offset of a quantization parameter range of a luma component or a chroma component based on a bit depth of a luma component or a bit depth of a chroma component, and a predictive quantization parameter for the current coding unit And a value for each component obtained based on the sum of the difference quantization parameters for the coding units, and an offset value of the range of the quantization parameter for each component may be added to obtain a quantization parameter for each component.
- Equation 1 the relationship between the quantization parameter Qp Y of the luma component and the quantization parameter of the chroma component Qp cb(cr) may be as shown in Equation 1 below.
- slice_cb(cr)_qp_offset is an offset between a quantization parameter of a luma component obtained at a slice level and a quantization parameter of a chroma component cb or cr, and the information may be obtained for each cb or cr.
- the SUCO technique is a technique that improves coding performance by changing the coding/decoding order of coding units. That is, according to the SUCO technique, when the splitting direction of the first coding unit is the vertical direction, the encoding/decoding order of the split second coding unit can be determined as the order of the coding units from left to right or from the coding units from right to left. have. A detailed description of the SUCO technique will be described later with reference to FIG. 5.
- a neighboring block eg, a neighboring coding unit or a neighboring quantization group
- the quantization group refers to a data unit for determining a quantization parameter, may include at least one coding unit, and may be a coding unit that is greater than or equal to a coding unit of a specific depth, a specific area, or a specific size.
- a left block, an upper block, and a right block of the current coding unit may all be available for reference.
- the quantization parameter QP of the current coding unit may be derived.
- pred QP may be a prediction quantization parameter of the current coding unit
- delta QP may be a differential quantization parameter of the current coding unit.
- the pred QP may be predicted using the QP of at least one of the left, upper, or right quantization groups. In this case, if the QP of the left, upper, or right quantization group is not available, it can be predicted using prev QP.
- the prev QP may be a quantization parameter of the last coding unit of the previous quantization group in sub (decoding) coding order. If prevQP does not exist, a predictive quantization parameter may be obtained using a slice-level quantization parameter (slice QP). In this case, the pred QP may be specifically obtained according to various embodiments as follows.
- the prediction quantization parameter pred QP is It can be obtained according to Equation 3.
- QP_above may be a quantization parameter of the upper coding unit of the current coding unit
- QP_right may be a quantization parameter of the right coding unit of the current coding unit.
- the predictive quantization parameter pred QP may be obtained according to Equation 4 below. have.
- the predictive quantization parameter pred QP may be obtained according to Equation 5 below.
- the prediction quantization parameter pred QP may be obtained according to Equation 6 below.
- the predictive quantization parameter pred QP may be obtained according to Equation 7 below.
- the predictive quantization parameter pred QP may be obtained according to Equation 8 below.
- the predictive quantization parameter pred QP may be obtained according to Equation 9 below.
- the predictive quantization parameter pred QP may be obtained according to Equation 10 below.
- the predictive quantization parameter pred QP may be obtained using quantization parameters of available quantization groups by searching in the order of left block -> upper block -> right block.
- the predictive quantization parameter pred QP may be obtained according to Equation 11 below.
- the predictive quantization parameter pred QP may be obtained using prev QP.
- the order of searching for the block is from top->left->right, left->top->right, right->top->left, left->right->top, right->left->top. It can be one.
- the prediction parameter pred QP may be obtained through a weighted sum according to the reliability of the left and upper blocks. For example, according to Equation 12, the predictive quantization parameter pred QP may be obtained.
- N, M, L may be determined.
- the predictive quantization parameter pred QP may be obtained.
- the reliability may be determined using how similar the area size of the current coding unit is to the area of the neighboring block.
- the reliability may be determined according to a neighboring block and a prediction mode (intra mode or inter mode) of the current coding unit.
- the current coded block is encoded (decoded) with a predetermined encoding (decoding) tool, and the neighboring blocks have already been encoded (decoded) with the predetermined encoding (decoding) tool.
- the reliability of the neighboring block may be determined to be high.
- the current coding unit is sub-coded according to the Skip, Merge, or Affine mode, or MMVD (Merge with Motion Vector Difference) mode among inter mode
- MMVD Merge with Motion Vector Difference
- the reliability of the block is determined to be high, or the QP of another block Can be used preferentially compared to.
- the Matte mode refers to a mode in which motion compensation based on the Rane model is used for inter prediction.
- the MMVD mode refers to a mode in which a motion vector of a neighboring block and a predetermined motion vector difference (MVD) are indexed to generate a new motion vector candidate, and then motion information of the current coding unit is derived based on the motion vector candidate. have.
- MVD motion vector difference
- the acquisition unit 105 may acquire information on a differential quantization parameter from a bitstream, according to various embodiments. In connection with various embodiments, it will be described later with reference to FIGS. 3A to 4C.
- the acquisition unit 105 may acquire information on a predetermined area unit in units of a sequence parameter set (SPS), a picture parameter set (PPS), a slice, a tile, or a tile group.
- the information on the predetermined area unit represents a predetermined area value, a value expressed by a power of 2 (or a value obtained by taking log2 to a predetermined area value), or a table having an area value It can represent the index value of or a difference value from a specific value.
- information on a predetermined area value may be expressed as a power of 2 of the area value.
- the information on the predetermined area value (delta_QP_area) may be 7.
- the information on the predetermined area value (delta_QP_area) may be 8.
- information on the predetermined area value may be 9.
- the coding units for signaling the differential quantization parameter determined according to the predetermined area unit may be 32x16, 16x32, 64x8, 8x64, or the like.
- information on the predetermined area value (delta_QP_area) may be 10.
- the information on the predetermined area value may be an index value representing one of the area values in Tables 1 and 2 below.
- index 0 One 2 3 ... Area value 128 256 512 ... ...
- index 0 One 2 3 ... Area value 256 512 1024 ... ...
- the information on the predetermined area value may indicate a difference value with a value related to the minimum difference quantization parameter area (Minimum delta QP area).
- information on a predetermined area value may be log2_delta_qp_area-log2_min_delta_qp_area.
- the information on a predetermined area value may indicate a difference value with a value related to a maximum difference quantization parameter area (Maximum delta QP area).
- information on a predetermined area value may be log2_max_delta_qp_area-log2_delta_qp_area.
- the differential quantization parameter (delta QP)
- one QP may be used without a change in QP for each coding unit.
- the frame level may be processed as follows.
- the acquisition unit 105 may acquire a first bin among bins indicating information on a frame-level differential quantization parameter (delta QP).
- the first bin may indicate whether the differential quantization parameter is 0 or not.
- the acquisition unit 105 may obtain the first arithmetic-decoded bin by performing binary arithmetic decoding based on the context model on the first bit of information on the frame-level differential quantization parameter (delta QP). have.
- the acquisition unit 105 does not acquire information on a non-zero differential quantization parameter, and the inverse quantization unit 115 is a quantization parameter of the current frame that is the same as the quantization parameter of the previous frame. Can be obtained.
- the acquisition unit 105 obtains information on a non-zero differential quantization parameter (the remaining bins after the first among bins indicating information on the differential quantization parameter (delta QP)) from the bitstream. Can be obtained.
- the acquisition unit 105 may acquire default_zero_dqp_signal at the frame level, and update or maintain probability information on information about the difference quantization parameter (delta QP) at the frame level based on the value of default_zero_dqp_signal. For example, when the value of default_zero_dqp_signal is 1, the probability of 0 may be updated to be close to 1. In this case, a context index (ctxIdx) different from the previous frame may be used.
- two probability tables may be used. That is, a probability table when default_zero_dqp_signal is 1 and a table when default_zero_dqp_signal is 0 may be classified, and a divided probability table may be used.
- the acquirer 105 acquires residual information (information on at least one coefficient) of the current coding unit from the bitstream, and based on the residual information of the current coding unit, the acquirer 105 You can get the coefficient.
- the inverse quantizer 115 is based on a quantization parameter for a current coding unit and whether at least one non-zero coefficient exists in a transformation unit included in the current coding unit, and the current coding unit obtained by the acquirer 105 At least one non-zero coefficient of is dequantized to obtain at least one dequantized coefficient.
- the image decoder 110 may obtain a residual block of a current coding unit based on at least one dequantized coefficient.
- the at least one inverse quantized coefficient may be at least one transform coefficient
- the image decoder 110 obtains a residual block including at least one coefficient by inverse transforming a block including at least one transform coefficient. can do.
- the coefficient may be a coefficient in the spatial domain.
- the inverse transform operation may be omitted in some cases, and in this case, the inverse quantized coefficient may be a coefficient in the spatial domain.
- the image decoder 110 may obtain a residual block of the current coding unit including at least one inverse quantized coefficient (ie, coefficient in the spatial domain) without an inverse transform operation.
- the image decoder 110 may obtain a reconstructed block of the current coding unit based on the residual block of the current coding unit. For example, the image decoder 110 sums sample values of samples in the residual block of the current coding unit and samples of samples in the prediction block of the current coding unit to obtain sample values of samples in the reconstructed block of the current coding unit. It is obtained, and a reconstructed block of the current coding unit may be obtained based on sample values of samples in the reconstructed block.
- the prediction block of the current coding unit may be a block predicted according to various prediction techniques of an inter mode or an intra mode.
- FIG. 1B is a flowchart of an image decoding method according to various embodiments.
- the image decoding apparatus 100 may hierarchically divide the current image based on the split mode of the current image to obtain at least one coding unit including the current coding unit.
- the image decoding apparatus 100 may obtain a differential quantization parameter for a current coding unit from a bitstream based on the area of a predetermined differential quantization parameter signaling unit.
- a differential quantization parameter for a current coding unit may be obtained from information about a transformation unit that is decoded first among transformation units of. That is, the image decoding apparatus 100 may obtain a difference quantization parameter for the current coding unit from a syntax structure of a transformation unit that is decoded first among a plurality of transformation units split from the current coding unit.
- the image decoding apparatus 100 may change the value of a flag indicating whether at least one non-zero transformation coefficient is included in at least one transformation unit (especially, a transformation unit to be decoded first) included in the current coding unit. Regardless, a differential quantization parameter for the current coding unit may be obtained. That is, the image decoding apparatus 100 does not perform a difference with respect to the current coding unit without identifying a value of a flag indicating whether at least one non-zero transform coefficient is included in at least one transform unit included in the current coding unit. Can obtain quantization parameters.
- the image decoding apparatus 100 When the area of the current coding unit is greater than or equal to the area of a predetermined differential quantization parameter signaling unit, the image decoding apparatus 100 is the same size as the current coding unit when the size of the current coding unit is less than or equal to the maximum size of the transformation unit.
- a difference quantization parameter for a current coding unit may be obtained based on a value of a coding block flag indicating whether at least one non-zero transform coefficient is included in the transform unit of.
- the image decoding apparatus 100 may use at least one zero in a transformation unit having the same size as the coding unit of the luma component corresponding to the current coding unit.
- the current encoding is based on at least one of values of the block flag and the third encoding block flag indicating whether a non-zero transformation coefficient is included in a transformation unit having the same size as the encoding unit of the chroma component Cr corresponding to the current encoding unit.
- the difference quantization parameter for the unit can be obtained.
- the width of the predetermined difference quantization parameter signaling unit is based on information about the difference between the predetermined value and a value obtained by taking log2 from the area of a predetermined difference quantization parameter signaling unit obtained from the PPS (Picture Parameter Set) of the bitstream. Can be determined as
- the image decoding apparatus 100 indicates that a differential quantization parameter activation flag indicating whether signaling for a differential quantization parameter is activated, and a flag indicating whether a signaling technique of a predetermined differential quantization parameter is used
- a value obtained by taking log2 from the width of the current coding unit and the current coding unit If the sum of the values obtained by taking log2 to the height of is greater than or equal to the value obtained by taking log2 to the area of a predetermined differential quantization parameter signaling unit, if the height or width of the current coding unit is greater than the maximum size of the transformation unit, the current coding unit
- the value of cuQPDeltaCode of may be determined as a predetermined first value.
- the predetermined first value may be 2, but is not limited thereto. If the height and width of the current coding unit are less than or equal to the maximum size of the transformation unit, a value of cuQPDeltaCode of the current coding unit may be determined as a second predetermined value.
- the second predetermined value may be 1, but is not limited thereto.
- the image decoding apparatus 100 may obtain a differential quantization parameter for a current coding unit by identifying a value of cuQPDeltaCode. For example, the image decoding apparatus 100 may identify that the value of cuQPDeltaCode for the current coding unit is a predetermined first value, and obtain a differential quantization parameter of the corresponding coding unit regardless of the CBF value of the corresponding coding unit. I can.
- the video decoding apparatus 100 identifies that the value of cuQPDeltaCode is a predetermined second value, and based on the CBF value of the corresponding coding unit (transformation unit included in) (for example, at least one of the CBF values for each component) Is 1), a differential quantization parameter of a corresponding coding unit may be obtained.
- the image decoding apparatus 100 is decoded first among a plurality of coding units included in a predetermined coding unit including the current coding unit.
- a differential quantization parameter for the current coding unit may be obtained from information on a transformation unit that is decoded first of the coding unit.
- the image decoding apparatus 100 currently performs the current regardless of a value of a coding block flag indicating whether at least one non-zero transform coefficient is included in a transform unit included in the coding unit to be decoded first among the plurality of coding units.
- a differential quantization parameter for a coding unit may be obtained.
- the image decoding apparatus 100 may display a split flag indicating whether to divide a predetermined coding unit including the current coding unit.
- the split type of the predetermined coding unit including the current coding unit is a ternary split type
- log2 is the width of a predetermined coding unit including the current coding unit.
- the sum of the value obtained by taking log2 and the height of the predetermined coding unit including the current coding unit is equal to the value obtained by adding 1 to the value obtained by taking log2 to the area of the predetermined difference quantization parameter signaling unit, or the current encoding
- the sum of a value obtained by taking log2 to the height of a predetermined coding unit including a unit and a value obtained by taking log2 to the height of a predetermined coding unit including the current coding unit is obtained by taking log2 as the area of a predetermined difference quantization parameter signaling unit. If the value is the same as the value, the value of cuQPDeltaCode of a predetermined coding unit including the current coding unit may be determined as a predetermined first value.
- the image decoding apparatus 100 identifies that the value of cuQPDeltaCode is a predetermined first value, and a plurality of encodings included in the coding unit of including the current coding unit, regardless of the CBF value of the transformation unit included in the corresponding coding unit.
- a differential quantization parameter for a current coding unit may be obtained from information about a transform unit that is decoded first of a coding unit that is decoded first among the units.
- the image decoding apparatus 100 may obtain a quantization parameter for a current coding unit by using a prediction quantization parameter for the current coding unit and a differential quantization parameter for the current coding unit.
- step S120 based on the obtained quantization parameter for the current coding unit and whether at least one non-zero coefficient exists in the transformation unit included in the current coding unit, the image decoding apparatus 100 At least one non-zero coefficient obtained based on the residual information of the coding unit is inverse quantized to obtain at least one inverse quantized coefficient, and a residual block of the current coding unit based on the inverse quantized coefficient Can be obtained.
- the image decoding apparatus 100 may obtain a reconstructed block of the current coding unit based on the obtained residual block of the current coding unit.
- 1C is a block diagram of an image decoder 6000 according to various embodiments.
- the image decoder 6000 performs tasks that the acquisition unit 105 and the image decoder 110 of the image decoding apparatus 100 take to encode image data.
- an entropy decoder 6150 parses encoded image data to be decoded and encoding information necessary for decoding from a bitstream 6050.
- the encoded image data is a quantized transform coefficient
- the inverse quantization unit 6200 and the inverse transform unit 6250 restore residual data from the quantized transform coefficient.
- the intra prediction unit 6400 performs intra prediction for each block.
- the inter prediction unit 6350 performs inter prediction for each block by using a reference image obtained from the reconstructed picture buffer 6300.
- the deblocking unit 6450 and The SAO performing unit 6500 may perform loop filtering on the reconstructed spatial region data and output the filtered reconstructed image 6600.
- reconstructed pictures stored in the reconstructed picture buffer 6300 may be output as reference pictures.
- step-by-step operations of the image decoder 6000 may be performed for each block.
- the work of the inverse quantization unit 6200 may correspond to the work of the inverse quantization unit 115.
- FIG. 2A is a block diagram of an image encoding apparatus according to various embodiments.
- the image encoding apparatus 150 may include an image encoder 155 and a bitstream generator 170.
- the image encoder 155 and the bitstream generator 170 may include at least one processor. Also, the image encoder 155 and the bitstream generator 170 may include a memory that stores instructions to be executed by at least one processor. The image encoder 155 may be implemented in hardware separate from the bitstream generator 170 or may include a bitstream generator 170. The image encoder 155 may include a quantization unit 160. In this case, the quantization unit 160 may be implemented in hardware separate from the image encoder 155.
- the image encoder 155 may hierarchically divide the current image based on the split mode mode of the current image to obtain a plurality of coding units including the current coding unit.
- the division type mode may indicate at least one of whether to be divided, a division direction, and a division type.
- the division type may represent one of binary division, tri division, and quad division.
- the division type can represent only one of binary division type and tri division type
- the image encoder 155 may obtain at least one coefficient included in the current coding unit. For example, based on the difference between the original sample value in the original block of the current coding unit and the predicted sample value in the prediction block of the current coding unit, the image encoder 155 may determine the residual sample value in the residual block of the current coding unit. Can be obtained. The residual sample value in the residual block may correspond to at least one coefficient. In this case, the prediction block may be obtained based on prediction according to an intra mode or an inter mode.
- the image encoder 155 may obtain at least one transform coefficient by performing transform on at least one coefficient included in the current coding unit.
- the quantization unit 160 may perform quantization on at least one transform coefficient to obtain at least one quantized transform coefficient and a quantization parameter for a current coding unit.
- the image encoder 155 may obtain a differential quantization parameter for the current coding unit based on the quantization parameter for the current coding unit and the prediction quantization parameter.
- the image encoder 155 may generate residual information of a current coding unit including information on at least one quantized transform coefficient. Also, the image encoder 155 may generate a syntax element indicating a differential quantization parameter for a current coding unit based on the area of a predetermined differential quantization parameter signaling unit.
- the syntax element representing the differential quantization parameter may include a syntax element representing the sign of the differential quantization parameter and a syntax element representing the absolute value of the differential quantization parameter.
- the image encoder 155 when the area of the current coding unit (or'area') is greater than or equal to the area of the signaling unit of a predetermined difference quantization parameter, the image encoder 155 transforms the size of the current coding unit. If it is larger than the maximum size of the unit, a syntax element related to a differential quantization parameter for a current coding unit, included in information about a transform unit to be decoded first among a plurality of transform units split from the current coding unit, may be generated. In this case, the current coding unit may be a coding unit that is no longer split into coding units having a lower depth.
- the image encoder 155 applies to the current coding unit regardless of whether at least one non-zero transformation coefficient is included in at least one transformation unit (especially, the first transformation unit) included in the current coding unit. It is possible to generate a syntax element for a differential quantization parameter for.
- the bitstream generator 170 may generate a bitstream including residual information of a current coding unit and a syntax element indicating a differential quantization parameter for the current coding unit.
- the image encoder 155 When the area of the current coding unit is greater than or equal to the area of the signaling unit of the predetermined difference quantization parameter, the image encoder 155 is the same as the current coding unit if the size of the current coding unit is less than or equal to the size of the maximum transformation unit.
- a syntax element indicating a differential quantization parameter for a current coding unit may be generated based on whether at least one non-zero transform coefficient is included in the transform unit of the size. When at least one non-zero transform coefficient is not included in a transform unit having the same size as the current coding unit, the image encoder 155 may not generate a syntax element indicating a differential quantization parameter for the current coding unit. The image encoder 155 may generate a syntax element indicating a differential quantization parameter for the current coding unit when at least one non-zero transform coefficient is included in a transform unit having the same size as the current coding unit.
- the image encoder 155 may be configured to convert at least one 0 into a transformation unit having the same size as the coding unit of the luma component corresponding to the current coding unit.
- a syntax element indicating a differential quantization parameter for a current coding unit may be generated based on whether at least one non-zero coefficient is included in a transformation unit having the same size as the coding unit of.
- the image encoder 155 may obtain at least one coding unit based on a split mode mode of a current image common between components.
- the current coding unit may correspond to a coding unit of a luma component and a coding unit of a chroma component.
- the image encoder 155 determines whether at least one non-zero transform coefficient is included in a transform unit having the same size as a coding unit of a luma component corresponding to the current coding unit, and the chroma component Cb corresponding to the current coding unit Whether at least one non-zero transform coefficient is included in a transform unit having the same size as the coding unit, and at least one non-zero transform coefficient is included in a transform unit having the same size as the coding unit of the chroma component Cr corresponding to the current coding unit.
- a syntax element indicating a differential quantization parameter for a current coding unit may be generated based on at least one of whether it is included or not.
- the image encoder 155 may obtain at least one coding unit for each luma component and chroma component based on a split mode mode of an image for each luma component and chroma component.
- the dual tree type may include a dual luma type and a dual chroma type, and in the case of the dual luma type, the image encoder 155 includes at least one luma component based on the split mode mode of the image of the luma component.
- the coding unit of can be obtained.
- the image encoder 155 may acquire at least one coding unit of a chroma component based on a split mode mode of an image of a chroma component.
- the coding unit corresponding to the current coding unit may be a coding unit of a luma component.
- the coding unit corresponding to the current coding unit may be a coding unit of a chroma component (Cb or Cr).
- the image encoder 155 A syntax element indicating a difference quantization parameter for a signal may be generated.
- the image encoder 155 may perform a predetermined encoding including the current coding unit.
- a syntax element indicating a difference quantization parameter for a current coding unit included in information about a first coding unit of a coding unit to be decoded first among a plurality of coding units included in the unit may be generated.
- the quantization unit 160 may obtain a quantization parameter previously encoded in a current tile or slice in an encoding order as a prediction parameter for a current coding unit.
- the quantization unit 160 may obtain a quantization parameter of a slice level as a prediction parameter for the current coding unit. In this case, the quantization parameter may be obtained for each component.
- the quantization unit 160 determines a value of an offset of a quantization parameter range of a luma component or a chroma component based on the bit depth of the luma component or the bit depth of the chroma component, and the predictive quantization parameter for the current coding unit and A quantization parameter for each component may be obtained by adding an offset value of a quantization parameter range for each component to a component value obtained based on the sum of the difference quantization parameters for the coding unit.
- slice_cb(cr)_qp_offset is an offset between a quantization parameter of a luma component obtained at a slice level and a quantization parameter of a chroma component cb or cr, and the information may be obtained for each cb or cr.
- the SUCO technique is a technique that improves coding performance by changing the coding/decoding order of coding units. That is, according to the SUCO technique, when the splitting direction of the first coding unit is the vertical direction, the encoding/decoding order of the split second coding unit can be determined as the order of the coding units from left to right or from the coding units from right to left. have. A detailed description of the SUCO technique will be described later with reference to FIG. 5.
- a neighboring block eg, a neighboring coding unit or a neighboring quantization group
- the quantization group refers to a data unit for determining a quantization parameter, may include at least one coding unit, and may be a coding unit that is greater than or equal to a coding unit of a specific depth, a specific area, or a specific size.
- a left block, an upper block, and a right block of the current coding unit may all be available for reference.
- the quantization parameter QP of the current coding unit may be derived.
- pred QP may be a prediction quantization parameter of the current coding unit
- delta QP may be a differential quantization parameter of the current coding unit.
- the pred QP may be predicted using the QP of at least one of the left, upper, or right quantization groups. In this case, if the QP of the left, upper, or right quantization group is not available, it can be predicted using prev QP.
- the prev QP may be a quantization parameter of the last coding unit of the previous quantization group in sub (decoding) coding order. If prevQP does not exist, a predictive quantization parameter may be obtained using a slice-level quantization parameter (slice QP). In this case, the pred QP may be specifically obtained according to various embodiments as follows.
- the prediction quantization parameter pred QP may be obtained according to Equation 16 below.
- QP_above may be a quantization parameter of the upper coding unit of the current coding unit
- QP_right may be a quantization parameter of the right coding unit of the current coding unit.
- the predictive quantization parameter pred QP may be obtained according to Equation 17 below.
- the predictive quantization parameter pred QP may be obtained according to Equation 18 below.
- the predictive quantization parameter pred QP may be obtained according to Equation 19 below.
- the prediction quantization parameter pred QP may be obtained according to Equation 20 below.
- the prediction quantization parameter pred QP may be obtained according to Equation 21 below.
- the predictive quantization parameter pred QP may be obtained according to Equation 22 below.
- the predictive quantization parameter pred QP may be obtained according to Equation 23 below.
- the predictive quantization parameter pred QP may be obtained using quantization parameters of available quantization groups by searching in the order of left block -> upper block -> right block.
- the predictive quantization parameter pred QP may be obtained according to Equation 24 below.
- the predictive quantization parameter pred QP may be obtained using prev QP.
- the order of searching for the block is from top->left->right, left->top->right, right->top->left, left->right->top, right->left->top. It can be one.
- the prediction parameter pred QP may be obtained through a weighted sum according to the reliability of the left and upper blocks. For example, according to Equation 25, the predictive quantization parameter pred QP may be obtained.
- N, M, L may be determined.
- the predictive quantization parameter pred QP may be obtained.
- the reliability may be determined using how similar the area size of the current coding unit is to the area of the neighboring block.
- the reliability may be determined according to a neighboring block and a prediction mode (intra mode or inter mode) of the current coding unit.
- the reliability of the neighboring block when a current coding block is coded with a predetermined coding tool, and a neighboring block has already been coded with the prescribed coding tool, the reliability of the neighboring block may be determined to be high.
- the reliability of the block may be determined to be high, or may be used preferentially over QP of other blocks.
- the Matte mode refers to a mode in which motion compensation based on the Rane model is used for inter prediction.
- the MMVD mode refers to a mode in which a motion vector of a neighboring block and a predetermined motion vector difference (MVD) are indexed to generate a new motion vector candidate, and then motion information of the current coding unit is derived based on the motion vector candidate. have.
- MVD motion vector difference
- the image encoder 155 may generate a syntax element indicating a differential quantization parameter according to various embodiments. In connection with various embodiments, it will be described later with reference to FIGS. 3A to 4C.
- the image encoder 155 may generate information on a predetermined area unit included in a sequence parameter set (SPS), a picture parameter set (PPS), a slice, a tile, or a tile group unit.
- the information on the predetermined area unit represents a predetermined area value, a value expressed by a power of 2 (or a value obtained by taking log2 to a predetermined area value), or a table having an area value It can represent the index value of or a difference value from a specific value.
- information on a predetermined area value may be expressed as a power of 2 of the area value.
- the information on the predetermined area value (delta_QP_area) may be 7.
- the information on the predetermined area value (delta_QP_area) may be 8.
- information on the predetermined area value may be 9.
- the coding units for signaling the differential quantization parameter determined according to the predetermined area unit may be 32x16, 16x32, 64x8, 8x64, or the like.
- information on the predetermined area value (delta_QP_area) may be 10.
- the information on the predetermined area value may be an index value representing one of the area values in Tables 3 and 4 below.
- index 0 One 2 3 ... Area value 128 256 512 ... ...
- index 0 One 2 3 ... Area value 256 512 1024 ... ...
- the information on the predetermined area value may indicate a difference value with a value related to the minimum difference quantization parameter area (Minimum delta QP area).
- information on a predetermined area value may be log2_delta_qp_area-log2_min_delta_qp_area.
- the information on a predetermined area value may indicate a difference value with a value related to a maximum difference quantization parameter area (Maximum delta QP area).
- information on a predetermined area value may be log2_max_delta_qp_area-log2_delta_qp_area.
- the differential quantization parameter (delta QP)
- one QP may be used without a change in QP for each coding unit.
- the frame level may be processed as follows.
- the image encoder 155 may obtain a binary arithmetic-encoded bin by performing binary arithmetic encoding based on a context model on a first bin among bins representing information on a frame-level differential quantization parameter (delta QP). .
- the first bin may indicate whether the differential quantization parameter is 0 or not.
- the image encoder 155 When the quantization parameter of the current frame which is the same as the quantization parameter of the previous frame is obtained, the image encoder 155 performs binary arithmetic coding based on the context model on the first bin indicating that the difference quantization parameter is 0, and binary arithmetic The coded bin can be obtained.
- the image encoder 155 may obtain a binary arithmetic-coded bin by performing binary arithmetic coding based on the context model on the first bin indicating that the differential quantization parameter is not 0. have. In this case, the image encoder 155 may perform binary arithmetic encoding based on a context model on a syntax element representing a value of a differential quantization parameter other than 0.
- the image encoder 155 is a probability for information about the frame-level differential quantization parameter (delta QP) (the first bin indicates whether the difference quantization parameter is 0 or non-zero, and the remaining bins indicate the value of the difference quantum parameter).
- Information may be updated or maintained, and a default_zero_dqp_signal may be generated at a frame level based on this. For example, when the value of default_zero_dqp_signal is 1, the probability of 0 may be updated to be close to 1. When the value of default_zero_dqp_signal is 0, the same probability as that of the previous frame is used. In this case, two probability tables may be used. That is, a probability table when default_zero_dqp_signal is 1 and a table when default_zero_dqp_signal is 0 may be classified, and a divided probability table may be used.
- the transform operation may be omitted in some cases, and in this case, the quantized coefficient may be a coefficient in the spatial domain.
- the image encoder 155 may generate information on a residual block of a current coding unit including at least one quantized coefficient (ie, coefficient in a spatial domain) without a transform operation.
- the bitstream generator 170 may generate a bitstream including residual information of a current coding unit and a syntax element indicating a differential quantization parameter for the current coding unit.
- 2B is a flowchart of an image encoding method according to various embodiments.
- the image encoding apparatus 150 may hierarchically divide the current image based on the split mode of the current image to obtain at least one coding unit including the current coding unit.
- the image encoding apparatus 150 may obtain at least one coefficient included in the current coding unit.
- step S165 the image encoding apparatus 150 may obtain at least one transform coefficient by performing transform on at least one coefficient included in the current coding unit.
- the image encoding apparatus 150 may perform quantization on at least one transform coefficient to obtain at least one quantized transform coefficient and a quantization parameter for a current coding unit.
- the image encoding apparatus 150 may obtain a differential quantization parameter for the current coding unit based on the quantization parameter and the prediction quantization parameter for the current coding unit.
- the image encoding apparatus 150 may generate a syntax element indicating a differential quantization parameter for a current coding unit based on the width of a predetermined differential quantization parameter signaling unit.
- the syntax element may mean information on an image quantization parameter included in a bitstream or coefficients within an image. That is, the syntax element may mean an element of data expressed in a bitstream.
- the image encoding apparatus 150 may perform a plurality of transforms divided from the current coding unit.
- a syntax element indicating a differential quantization parameter to be included in information on the first encoded transformation unit among the units may be generated.
- the image encoding apparatus 150 first transforms the first coding unit among a plurality of coding units included in a predetermined coding unit including the current coding unit.
- a syntax element indicating a differential quantization parameter to be included in information about a unit may be generated.
- the size of the current coding unit is less than or equal to the maximum size of the transformation unit. Then, a syntax element indicating a differential quantization parameter for the current coding unit may be generated based on whether at least one non-zero transform coefficient is included in a transform unit having the same size as the current coding unit.
- the image encoding apparatus 150 may generate residual information of a current coding unit including information on at least one quantized transform coefficient.
- the image encoding apparatus 150 may generate a bitstream including residual information and syntax elements of the current coding unit.
- 2C is a block diagram of an image encoder according to various embodiments.
- the image encoder 7000 performs tasks that the image encoder 155 and the bitstream generator 170 of the image encoding apparatus 150 undergo to encode image data.
- the intra prediction unit 7200 performs intra prediction for each block of the current image 7050
- the inter prediction unit 7150 calculates the reference image obtained from the current image 7050 and the reconstructed picture buffer 7100 for each block. Is used to perform inter prediction.
- the residual data is generated by subtracting the prediction data for each block output from the intra prediction unit 7200 or the inter prediction unit 7150 from the data for the encoded block of the current image 7050, and the transform unit 7250 And the quantization unit 7300 may perform transform and quantization on the residual data to output quantized transform coefficients for each block.
- the inverse quantization unit 7450 and the inverse transform unit 7500 may restore residual data in the spatial domain by performing inverse quantization and inverse transformation on the quantized transform coefficient.
- the residual data of the reconstructed spatial domain is restored as data of the spatial domain of the block of the current image 7050 by adding prediction data for each block output from the intra prediction unit 7200 or the inter prediction unit 7150. .
- the deblocking unit 7550 and the SAO performing unit perform in-loop filtering on the reconstructed spatial domain data to generate a filtered reconstructed image.
- the generated reconstructed image is stored in the reconstructed picture buffer 7100.
- the reconstructed pictures stored in the reconstructed picture buffer 7100 may be used as a reference picture for inter prediction of other pictures.
- the entropy encoding unit 7350 may entropy-encode the quantized transform coefficients and output the entropy-encoded coefficients as the bitstream 7400.
- FIG. 3A is a diagram illustrating a syntax structure of a division unit for signaling of a differential quantization parameter, according to an embodiment. to be.
- the syntax structure may mean one or more syntax elements expressed together in the bitstream according to a predetermined order.
- the split unit means a coding unit being split, and after obtaining a split flag indicating whether to split from the split unit, whether it is no longer split or further split may be identified.
- the division unit may be divided recursively (hierarchically) based on division type information such as a division flag.
- the image decoding apparatus 100 may obtain a syntax element cu_qp_delta for a differential quantization parameter in a syntax structure 200 of a division unit level. After obtaining the split flag btt_split_flag from the bitstream, the video decoding apparatus 100 may obtain the syntax element cu_qp_delta from the bitstream. In this case, the image decoding apparatus 100 may acquire the syntax element cu_qp_delta for each specific area unit cuQpDeltaArea. In this case, information on a specific area unit may be obtained for each unit such as SPS, PPS, Slice, Tile, and Tile group.
- the information on a specific area unit may indicate an area value, a value obtained by representing the area value as a power of 2, or an index value of a table having a correspondence relationship between various area values and indexes.
- the specific area may be determined as a predetermined value between the image decoding apparatus 100 and the image encoding apparatus 150.
- the area for obtaining cu_qp_delta may be an area including an area outside the picture of the block.
- the present invention is not limited thereto, and an area for obtaining cu_qp_delta may be limited only to an area within a picture.
- the image decoding apparatus 100 acquires a split flag btt_split_flag for the current coding unit, and when the split flag indicates that the current coding unit is split (else if), the area of the current coding unit (log2CbWidth + log2CbHeight) is differential quantization.
- 3B to 3C are diagrams illustrating syntax structures of a division unit and a transformation unit for signaling of a differential quantization parameter, according to an embodiment.
- the image decoding apparatus 100 may determine a value of cuQpDeltaCode according to a predetermined condition in the syntax structure 210 of the division unit level. After obtaining the CBF from the syntax structure 220 at the transformation unit level, the value of cuQpDeltaCode (and the value of CBF) may be identified, and the syntax element cu_qp_delta may be obtained from the bitstream according to a condition based on the identified value of cuQPDeltaCode. .
- the split flag btt_split_flag is no longer split in the current coding unit (x0, y0).
- the value of cuQpdeltaCode may be determined as 1.
- cu_qp_delta_enabled_flag is a flag indicating whether signaling of the differential quantization parameter of the coding unit level is activated
- sps_dquant_flag indicates whether signaling of the differential quantization parameter is performed according to a predetermined differential quantization parameter signaling technique obtained at the SPS level. It can be a flag.
- the predetermined difference quantization parameter signaling technique refers to a technique of signaling the difference quantization parameter regardless of the CBF value of a transformation unit in some cases.
- the split flag indicates that the current coding unit is to be split (else if)
- the area of the current coding unit (log2CbWidth + log2CbHeight) is twice the specific area (cuQpDeltaArea) signaling the difference quantization parameter (+ 1)
- the area of the current coding unit log2CbWidth + log2CbHeight
- the value of cuQpdeltaCode may be determined as 2.
- the image decoding apparatus 100 when the value of cuQPDeltaCode is 1, the image decoding apparatus 100 is configured with a value of 1 among CBF(Y,U,V)(cbf_luma,cbf_cb,cbf_cr) for the current conversion unit,
- the syntax element cu_qp_delta may be obtained from the bitstream. If the values of CBF(Y,U,V)(cbf_luma,cbf_cb,cbf_cr) are all 0, the image decoding apparatus 100 may not obtain the syntax element cu_qp_delta from the bitstream.
- the image decoding apparatus 100 is the same as the first coding unit among a plurality of coding units divided from the current coding unit, regardless of the value of CBF (cbf_luma, cbf_cb, cbf_cr) for the current transformation unit.
- the syntax element cu_qp_delta may be obtained from the bitstream.
- the value of cuQpdeltaCode is determined to be 0, and accordingly, the image decoding apparatus 100 determines the remaining coding units excluding the first coding unit among a plurality of coding units divided from the current coding unit.
- the syntax element cu_qp_delta may not be obtained from the bitstream.
- the differential quantization parameter of the remaining coding units may be the first acquired syntax element cu_qp_delta.
- the video decoding apparatus 100 is not limited thereto, and even when the value of cuQPDeltaCode is 2, when at least one value of CBF (cbf_luma, cbf_cb, cbf_cr) for the current conversion unit is 1, the syntax from the bitstream The element cu_qp_delta may be acquired.
- the image decoding apparatus 100 may obtain the syntax element cu_qp_delta from the second coding unit when all CBF values of the first coding unit among a plurality of coding units split from the current coding unit are 0.
- the quantization parameter is not required, so when at least one of the CBF values of the coding unit is 1, the syntax element cu_qp_delta can be obtained from the corresponding coding unit. have.
- 4A to 4C are diagrams illustrating a syntax structure of a split unit, a coding unit, and a transformation unit for signaling a differential quantization parameter, according to an embodiment.
- the image decoding apparatus 100 may determine a value of cuQpDeltaCode according to a predetermined condition in the syntax structure 230 of the division unit level.
- a transformation unit equal to the size of the coding unit is obtained (at this time, syntax elements included in the transformation unit syntax structure are obtained), or a plurality of transformation units are obtained from the coding unit according to the maximum size of the transformation unit.
- the image decoding apparatus 100 may set the value of cuQPDeltaCode to 1.
- the reason for identifying whether the value of cuQPDeltaCode is not 2 is the same as a predetermined difference quantization parameter signaling unit among coding units obtained by splitting according to a ternary split type from a coding unit twice as large as a predetermined differential quantization parameter signaling unit. This is because if there is a coding unit of the width and it is not identified whether the value of cuQPDeltaCode is 2 for this coding unit, the value of cuQPDeltaCode can be set to 1 again.
- cuQPDeltaCode when the value of cuQPDeltaCode is 1, it means that information on the difference quantization parameter is signaled only when the value of the encoding block flag of the transformation unit is 1, and when the value of cuQPDeltaCode is 2, the encoding block flag of the transformation unit Regardless of the value of, this may mean signaling information on the differential quantization parameter through information on the first decoded transformation unit included in the coding unit of the differential quantization parameter signaling unit.
- the image decoding apparatus 100 may set the value of isCuQPDeltaCoded to 0. Only when isCuQPDeltaCoded is 0, the difference quantization parameter may be obtained from information about a corresponding transformation unit. After acquisition, by setting the value to 1, the differential quantization parameter for the differential quantization parameter signaling unit is acquired only once, and the differential quantization parameter may no longer be obtained from information about the subsequent transformation unit.
- the image decoding apparatus 100 includes a split type mode (SplitMode[x0][y0]) determined according to a split type and a split direction, included in the current coding unit.
- Coding units of lower depth may be obtained.
- syntax elements of the coding unit syntax structure 240 of the split unit level related to coding units of the lower depth may be obtained. That is, recursively, syntax elements of the syntax structure 230 of the division unit level may be obtained.
- the video decoding apparatus 100 determines the split mode (SplitMode[x0][y0]) determined according to the split type and splitting direction.
- the split unit for three coding units (x0,y0 or x0,y1 or x0,y2) of the lower depth included in the current coding unit Syntax elements of the level syntax structure 230 may be obtained.
- the cuQpDeltaCode value set in the current coding unit may be transmitted to the syntax structure 230 of the division unit level.
- the image decoding apparatus 100 may obtain syntax elements of the syntax structure 240 of the coding unit level of the current coding unit that are no longer split. I can.
- the image decoding apparatus 100 obtains a flag (cbf_all) indicating whether a non-zero transform coefficient of at least one component is included from a bitstream for a current coding unit, and If a non-zero transform coefficient of at least one component is included (if(cbf_all)), the value of isSplit indicating whether the current coding unit is split into a plurality of sub-blocks (transform units) according to the maximum size (6) of the transform unit Is set.
- a flag cbf_all
- isSplit indicating whether the current coding unit is split into a plurality of sub-blocks (transform units) according to the maximum size (6) of the transform unit Is set.
- the image decoding apparatus 100 set isSplit to 1, otherwise set to 0.
- the image decoding apparatus 100 may determine the size of the transformation unit (log2TbWidth, log2TbHeight) based on the maximum size 6 of the transformation unit and the size of the current coding unit (log2CbWidth, log2CbHeight). For example, if the width of the current coding unit (log2CbWidth) is larger than the maximum size of the transformation unit (6), the width of the transformation unit is determined as the maximum size of the transformation unit (6). Otherwise, the width of the transformation unit May be determined equal to the width of the current coding unit. Likewise, the image decoding apparatus 100 may determine the height of the transformation unit.
- the image decoding apparatus 100 may obtain a transformation unit based on a reference coordinate (x0,y0) and a size of a transformation unit (log2TbWidth, log2TbHeight). That is, the image decoding apparatus 100 may obtain syntax elements of the syntax structure 250 of the transformation unit level. In this case, a value of cuQpDeltaCode of the current coding unit may be transmitted.
- the image decoding apparatus 100 may additionally acquire a transformation unit according to a condition according to the size of the current coding unit (log2CbWidth, log2CbHeight) and the maximum size 6 of the transformation unit. That is, when the width or size of the current coding unit is greater than the maximum size of the transformation unit, the image decoding apparatus 100 may obtain additional transformation units included in the current coding unit. In this case, a value of cuQpDeltaCode of the current coding unit may be transmitted.
- the image decoding apparatus 100 may obtain CBFs (cbf_luma, cbf_cb_, cbf_cr) for each component of a transformation unit in the syntax structure 250 of the transformation unit level.
- CBFs cbf_luma, cbf_cb_, cbf_cr
- the value of cu_qp_delta_enabled is 1, the value of sps_dquant_flag is 0 (!sps_dquant_flag), the value of cuQpDeltaCode is 1, and the value of isdeltaCoded is 0, CBF for each component (cbf_luma, cbf_cb_,cbf_crg)
- syntax element information for cu_qp_delta may be obtained from the bitstream.
- the video decoding apparatus 100 may obtain syntax element information for cu_qp_delta from the bitstream.
- syntax element information for cu_qp_delta can be obtained from the bitstream.
- the image decoding apparatus 100 may obtain syntax element information about a differential quantization parameter at the level of a coding unit, and at this time, based on the size of a predetermined differential quantization parameter signaling unit.
- syntax element information about the differential quantization parameter code For example, when the size of a current coding unit that is no longer split is larger than a size of a predetermined difference quantization parameter signaling unit, the image decoding apparatus 100 splits it into a plurality of subblocks (transform units) including coefficients. If so, syntax element information for cu_qp_delta may be obtained from the syntax structure 250 of the first transformation unit.
- syntax element information for cu_qp_delta may be obtained regardless of the CBF value of the corresponding transformation unit.
- syntax element information for cu_qp_delta may not be obtained.
- the differential quantization parameter for the remaining transform units is based on cu_qp_delta acquired in the first transform unit. Can be obtained.
- the image decoding apparatus 100 has a size of a predetermined coding unit including the corresponding coding unit equal to the size of a predetermined difference quantization parameter signaling unit, or
- syntax element information for cu_qp_delta may be obtained from the bitstream in the syntax structure 250 of the transformation unit level of the first transformation unit of the first coding unit among a plurality of subblocks.
- syntax element information for cu_qp_delta may be obtained regardless of the CBF value of the corresponding transformation unit.
- syntax element information for cu_qp_delta may not be obtained.
- the difference between the remaining coding units The quantization parameter may be obtained based on cu_qp_delta obtained in the first transformation unit of the first coding unit.
- the maximum size of the conversion unit was described on the premise that the maximum size of the conversion unit is 64 (here, the value obtained by taking log2 is 6), but is not limited thereto. It will be appreciated by those skilled in the art that the size can be one of a variety of powers of two.
- FIG. 4D is a diagram illustrating a method of signaling a differential quantization parameter according to a syntax structure of a division unit, a coding unit, and a transformation unit for signaling the differential quantization parameter of FIGS. 4A to 4C.
- the image decoding apparatus 100 may signal a differential quantization parameter for a coding unit based on an area of a predetermined differential quantization parameter signaling unit.
- the image decoding apparatus 100 may obtain a syntax element for a differential quantization parameter of the coding unit 260 from information on a transformation unit having the same size as the coding unit 260.
- the coding block flag is obtained from the information on the transformation unit, and only when the value is 1, the syntax element for the differential quantization parameter is obtained, and if 0, the syntax element for the differential quantization parameter may not be obtained. have.
- the image decoding apparatus ( 100) divides the coding unit 270 to obtain transformation units including a transformation unit 275 having a maximum size of the transformation unit, and from among the information on the transformation unit 275 to be decoded first, the coding unit ( A syntax element for the differential quantization parameter for 270) may be obtained.
- the area of the coding unit 285 of the lower depth divided according to various split types (eg, ternary split type or binary split type) from the coding unit 280 of the higher depth is a predetermined difference quantization parameter signaling unit If the area of the coding unit 280 is smaller than the area of the coding unit 280 and the area of the signaling unit of the predetermined difference quantization parameter, the coding unit that is decoded first among two or three coding units included in the coding unit 280 ( A syntax element for a differential quantization parameter for the coding unit 280 may be obtained from information about a transformation unit that is decoded first among transformation units included in 285 ).
- split types eg, ternary split type or binary split type
- a syntax element for a differential quantization parameter for the coding unit 280 may be obtained regardless of a value of the coding block flag of the corresponding transformation unit.
- the coding unit 285 may be additionally split into coding units of a lower depth, or may not be split anymore, and a transformation unit may be obtained from coding units that are no longer split.
- the transformation unit may be the same as the size of a coding unit that is no longer split, but is not limited thereto.
- the width of the coding unit 295 of the lower depth of the smaller size among the coding units of the lower depth divided according to the ternary splitting type from the coding unit of the upper depth 290 is smaller than the width of a predetermined difference quantization parameter signaling unit . If the area of the coding unit 290 is equal to twice the area of the predetermined difference quantization parameter signaling unit, the coding unit 295 that is decoded first among the three coding units included in the coding unit 290
- a syntax element for a differential quantization parameter for the coding unit 290 may be obtained from information about a transformation unit that is decoded first among transformation units. In this case, a syntax element for a differential quantization parameter for the coding unit 290 may be obtained regardless of a value of the coding block flag of the corresponding transformation unit.
- the coding unit 295 may be additionally split into coding units of a lower depth, may not be split anymore, and a transformation unit may be obtained from coding units that are no longer split.
- the transformation unit may be the same as the size of a coding unit that is no longer split, but is not limited thereto.
- FIG. 5 illustrates a SUCO technique for determining a sub (decode) encoding order between coding units in a forward or reverse direction based on a coding order flag, according to an embodiment of the present disclosure, and a sub (decode) coding based on the SUCO scheme It is a diagram for explaining that the right neighboring blocks are available in order.
- a maximum coding unit 2950 is divided into a plurality of coding units 1956, 1958, 1960, 1962, 1968, 1970, 1972, 1974, 1980, 1982, 1984, and 1986.
- the largest coding unit 1950 corresponds to the highest node 1900 of a tree structure.
- the upper encoding order flags 1902, 1914, 1926 indicating the encoding order correspond to the arrows 1952, 1964, 1976, and the upper encoding order flags 1904, 1916, 1928, the arrows 1954, 1966, 1978. ) Corresponds to.
- the upper coding order flag indicates the coding order of two coding units located at the upper part of the four coding units of the same depth. If the upper encoding order flag is 0, encoding is performed in the forward direction. Conversely, when the upper encoding order flag is 1, encoding is performed in the reverse direction.
- the lower coding order flag indicates the coding order of two coding units located at the lower part of the coding units of the same depth. If the lower encoding order flag is 0, encoding is performed in the forward direction. Conversely, when the lower encoding order flag is 1, encoding is performed in the reverse direction.
- the encoding order between the coding units 1968 and 1970 is determined from left to right, which is a forward direction.
- the lower encoding order flag 1916 is 1, the encoding order between the coding units 1972 and 1974 is determined from right to left in the reverse direction.
- the upper encoding order flag and the lower encoding order flag may be set to have the same value.
- a lower encoding order flag 1904 corresponding to the upper encoding order flag 1902 may also be determined to be 1. Since values of the upper encoding order flag and the lower encoding order flag are determined with 1 bit, the amount of information of the encoding order information is reduced.
- the upper encoding order flag and the lower encoding order flag of the current coding unit may be determined by referring to at least one of an upper encoding order flag and a lower encoding order flag applied to a coding unit having a lower depth than the current coding unit.
- the upper coding order flag 1926 and the lower coding order flag 1928 applied to the coding units 1980, 1982, 1984, 1986 are the lower coding order flags 1916 applied to the coding units 1972 and 1974.
- the upper encoding order flag 1926 and the lower encoding order flag 1928 may be determined to have the same values as the encoding order flag 1916. Since values of the upper coding order flag and the lower coding order flag are determined from the upper coding unit of the current coding unit, coding order information is not obtained from the bitstream. Therefore, the amount of information of the coding order information is reduced.
- the image decoding apparatus 100 can use data of samples included in the right neighboring coding unit 1958 decoded prior to the current coding unit 1986, the data of the right neighboring coding unit 1958 ( Preferably, a prediction parameter of a current coding unit according to an embodiment of the present disclosure may be obtained using a quantization parameter).
- the image decoding apparatus 100 and the image decoding apparatus 150 according to various embodiments described above with reference to FIGS. 1 to 5 efficiently store information on a difference quantization parameter for a current coding unit according to the size of the coding unit. It can be explicitly signaled through the bitstream.
- 2B is a flowchart of an image encoding method according to various embodiments.
- the image encoding apparatus 150 may hierarchically divide the current image based on the split mode of the current image to obtain at least one coding unit including the current coding unit.
- the image encoding apparatus 150 may obtain at least one coefficient included in the current coding unit.
- step S165 the image encoding apparatus 150 may obtain at least one transform coefficient by performing transform on at least one coefficient included in the current coding unit.
- the image encoding apparatus 150 may perform quantization on at least one transform coefficient to obtain at least one quantized transform coefficient and a quantization parameter for a current coding unit.
- the image encoding apparatus 150 may obtain a differential quantization parameter for the current coding unit based on the quantization parameter and the prediction quantization parameter for the current coding unit.
- the image encoding apparatus 150 may generate a syntax element indicating a differential quantization parameter for a current coding unit based on the width of a predetermined differential quantization parameter signaling unit.
- the syntax element may mean information on an image quantization parameter included in a bitstream or coefficients within an image. That is, the syntax element may mean an element of data expressed in a bitstream.
- the image encoding apparatus 150 may perform a plurality of transforms divided from the current coding unit.
- a syntax element indicating a differential quantization parameter to be included in information on the first encoded transformation unit among the units may be generated.
- the image encoding apparatus 150 first transforms the first coding unit among a plurality of coding units included in a predetermined coding unit including the current coding unit.
- a syntax element indicating a differential quantization parameter to be included in information about a unit may be generated.
- the size of the current coding unit is less than or equal to the maximum size of the transformation unit. Then, a syntax element indicating a differential quantization parameter for the current coding unit may be generated based on whether at least one non-zero transform coefficient is included in a transform unit having the same size as the current coding unit.
- the image encoding apparatus 150 may generate residual information of a current coding unit including information on at least one quantized transform coefficient.
- the image encoding apparatus 150 may generate a bitstream including residual information and syntax elements of the current coding unit.
- 2C is a block diagram of an image encoder according to various embodiments.
- the image encoder 7000 performs tasks that the image encoder 155 and the bitstream generator 170 of the image encoding apparatus 150 undergo to encode image data.
- the intra prediction unit 7200 performs intra prediction for each block of the current image 7050
- the inter prediction unit 7150 calculates the reference image obtained from the current image 7050 and the reconstructed picture buffer 7100 for each block. Is used to perform inter prediction.
- the residual data is generated by subtracting the prediction data for each block output from the intra prediction unit 7200 or the inter prediction unit 7150 from the data for the encoded block of the current image 7050, and the transform unit 7250 And the quantization unit 7300 may perform transform and quantization on the residual data to output quantized transform coefficients for each block.
- the inverse quantization unit 7450 and the inverse transform unit 7500 may restore residual data in the spatial domain by performing inverse quantization and inverse transformation on the quantized transform coefficient.
- the residual data of the reconstructed spatial domain is restored as data of the spatial domain of the block of the current image 7050 by adding prediction data for each block output from the intra prediction unit 7200 or the inter prediction unit 7150. .
- the deblocking unit 7550 and the SAO performing unit perform in-loop filtering on the reconstructed spatial domain data to generate a filtered reconstructed image.
- the generated reconstructed image is stored in the reconstructed picture buffer 7100.
- the reconstructed pictures stored in the reconstructed picture buffer 7100 may be used as a reference picture for inter prediction of other pictures.
- the entropy encoding unit 7350 may entropy-encode the quantized transform coefficients and output the entropy-encoded coefficients as the bitstream 7400.
- FIG. 3A is a diagram illustrating a syntax structure of a division unit for signaling of a differential quantization parameter, according to an embodiment. to be.
- the syntax structure may mean one or more syntax elements expressed together in the bitstream according to a predetermined order.
- the split unit means a coding unit being split, and after obtaining a split flag indicating whether to split from the split unit, whether it is no longer split or further split may be identified.
- the division unit may be divided recursively (hierarchically) based on division type information such as a division flag.
- the image decoding apparatus 100 may obtain a syntax element cu_qp_delta for a differential quantization parameter in a syntax structure 200 of a division unit level. After obtaining the split flag btt_split_flag from the bitstream, the video decoding apparatus 100 may obtain the syntax element cu_qp_delta from the bitstream. In this case, the image decoding apparatus 100 may acquire the syntax element cu_qp_delta for each specific area unit cuQpDeltaArea. In this case, information on a specific area unit may be obtained for each unit such as SPS, PPS, Slice, Tile, and Tile group.
- the information on a specific area unit may indicate an area value, a value obtained by representing the area value as a power of 2, or an index value of a table having a correspondence relationship between various area values and indexes.
- the specific area may be determined as a predetermined value between the image decoding apparatus 100 and the image encoding apparatus 150.
- the area for obtaining cu_qp_delta may be an area including an area outside the picture of the block.
- the present invention is not limited thereto, and an area for obtaining cu_qp_delta may be limited only to an area within a picture.
- the image decoding apparatus 100 acquires a split flag btt_split_flag for the current coding unit, and when the split flag indicates that the current coding unit is split (else if), the area of the current coding unit (log2CbWidth + log2CbHeight) is differential quantization.
- 3B to 3C are diagrams illustrating syntax structures of a division unit and a transformation unit for signaling of a differential quantization parameter, according to an embodiment.
- the image decoding apparatus 100 may determine a value of cuQpDeltaCode according to a predetermined condition in the syntax structure 210 of the division unit level. After obtaining the CBF from the syntax structure 220 at the transformation unit level, the value of cuQpDeltaCode (and the value of CBF) may be identified, and the syntax element cu_qp_delta may be obtained from the bitstream according to a condition based on the identified value of cuQPDeltaCode. .
- the split flag btt_split_flag is no longer split in the current coding unit (x0, y0).
- the value of cuQpdeltaCode may be determined as 1.
- cu_qp_delta_enabled_flag is a flag indicating whether signaling of the differential quantization parameter of the coding unit level is activated
- sps_dquant_flag indicates whether signaling of the differential quantization parameter is performed according to a predetermined differential quantization parameter signaling technique obtained at the SPS level. It can be a flag.
- the predetermined difference quantization parameter signaling technique refers to a technique of signaling the difference quantization parameter regardless of the CBF value of a transformation unit in some cases.
- the split flag indicates that the current coding unit is to be split (else if)
- the area of the current coding unit (log2CbWidth + log2CbHeight) is twice the specific area (cuQpDeltaArea) signaling the difference quantization parameter (+ 1)
- the area of the current coding unit log2CbWidth + log2CbHeight
- the value of cuQpdeltaCode may be determined as 2.
- the image decoding apparatus 100 when the value of cuQPDeltaCode is 1, the image decoding apparatus 100 is configured with a value of 1 among CBF(Y,U,V)(cbf_luma,cbf_cb,cbf_cr) for the current conversion unit,
- the syntax element cu_qp_delta may be obtained from the bitstream. If the values of CBF(Y,U,V)(cbf_luma,cbf_cb,cbf_cr) are all 0, the image decoding apparatus 100 may not obtain the syntax element cu_qp_delta from the bitstream.
- the image decoding apparatus 100 is the same as the first coding unit among a plurality of coding units divided from the current coding unit, regardless of the value of CBF (cbf_luma, cbf_cb, cbf_cr) for the current transformation unit.
- the syntax element cu_qp_delta may be obtained from the bitstream.
- the value of cuQpdeltaCode is determined to be 0, and accordingly, the image decoding apparatus 100 determines the remaining coding units excluding the first coding unit among a plurality of coding units divided from the current coding unit.
- the syntax element cu_qp_delta may not be obtained from the bitstream.
- the differential quantization parameter of the remaining coding units may be the first acquired syntax element cu_qp_delta.
- the video decoding apparatus 100 is not limited thereto, and even when the value of cuQPDeltaCode is 2, when at least one value of CBF (cbf_luma, cbf_cb, cbf_cr) for the current conversion unit is 1, the syntax from the bitstream The element cu_qp_delta may be acquired.
- the image decoding apparatus 100 may obtain the syntax element cu_qp_delta from the second coding unit when all CBF values of the first coding unit among a plurality of coding units split from the current coding unit are 0.
- the quantization parameter is not required, so when at least one of the CBF values of the coding unit is 1, the syntax element cu_qp_delta can be obtained from the corresponding coding unit. have.
- 4A to 4C are diagrams illustrating a syntax structure of a split unit, a coding unit, and a transformation unit for signaling a differential quantization parameter, according to an embodiment.
- the image decoding apparatus 100 may determine a value of cuQpDeltaCode according to a predetermined condition in the syntax structure 230 of the division unit level.
- a transformation unit equal to the size of the coding unit is obtained (at this time, syntax elements included in the transformation unit syntax structure are obtained), or a plurality of transformation units are obtained from the coding unit according to the maximum size of the transformation unit.
- the image decoding apparatus 100 may set the value of cuQPDeltaCode to 1.
- the reason for identifying whether the value of cuQPDeltaCode is not 2 is the same as a predetermined difference quantization parameter signaling unit among coding units obtained by splitting according to a ternary split type from a coding unit twice as large as a predetermined differential quantization parameter signaling unit. This is because if there is a coding unit of the width and it is not identified whether the value of cuQPDeltaCode is 2 for this coding unit, the value of cuQPDeltaCode can be set to 1 again.
- cuQPDeltaCode when the value of cuQPDeltaCode is 1, it means that information on the difference quantization parameter is signaled only when the value of the encoding block flag of the transformation unit is 1, and when the value of cuQPDeltaCode is 2, the encoding block flag of the transformation unit Regardless of the value of, this may mean signaling information on the differential quantization parameter through information on the first decoded transformation unit included in the coding unit of the differential quantization parameter signaling unit.
- the image decoding apparatus 100 may set the value of isCuQPDeltaCoded to 0. Only when isCuQPDeltaCoded is 0, the difference quantization parameter may be obtained from information about a corresponding transformation unit. After acquisition, by setting the value to 1, the differential quantization parameter for the differential quantization parameter signaling unit is acquired only once, and the differential quantization parameter may no longer be obtained from information about the subsequent transformation unit.
- the image decoding apparatus 100 includes a split type mode (SplitMode[x0][y0]) determined according to a split type and a split direction, included in the current coding unit.
- Coding units of lower depth may be obtained.
- syntax elements of the coding unit syntax structure 240 of the split unit level related to coding units of the lower depth may be obtained. That is, recursively, syntax elements of the syntax structure 230 of the division unit level may be obtained.
- the video decoding apparatus 100 determines the split mode (SplitMode[x0][y0]) determined according to the split type and splitting direction.
- the split unit for three coding units (x0,y0 or x0,y1 or x0,y2) of the lower depth included in the current coding unit Syntax elements of the level syntax structure 230 may be obtained.
- the cuQpDeltaCode value set in the current coding unit may be transmitted to the syntax structure 230 of the division unit level.
- the image decoding apparatus 100 may obtain syntax elements of the syntax structure 240 of the coding unit level of the current coding unit that are no longer split. I can.
- the image decoding apparatus 100 obtains a flag (cbf_all) indicating whether a non-zero transform coefficient of at least one component is included from a bitstream for a current coding unit, and If a non-zero transform coefficient of at least one component is included (if(cbf_all)), the value of isSplit indicating whether the current coding unit is split into a plurality of sub-blocks (transform units) according to the maximum size (6) of the transform unit Is set.
- a flag cbf_all
- isSplit indicating whether the current coding unit is split into a plurality of sub-blocks (transform units) according to the maximum size (6) of the transform unit Is set.
- the image decoding apparatus 100 set isSplit to 1, otherwise set to 0.
- the image decoding apparatus 100 may determine the size of the transformation unit (log2TbWidth, log2TbHeight) based on the maximum size 6 of the transformation unit and the size of the current coding unit (log2CbWidth, log2CbHeight). For example, if the width of the current coding unit (log2CbWidth) is larger than the maximum size of the transformation unit (6), the width of the transformation unit is determined as the maximum size of the transformation unit (6). Otherwise, the width of the transformation unit May be determined equal to the width of the current coding unit. Likewise, the image decoding apparatus 100 may determine the height of the transformation unit.
- the image decoding apparatus 100 may obtain a transformation unit based on a reference coordinate (x0,y0) and a size of a transformation unit (log2TbWidth, log2TbHeight). That is, the image decoding apparatus 100 may obtain syntax elements of the syntax structure 250 of the transformation unit level. In this case, a value of cuQpDeltaCode of the current coding unit may be transmitted.
- the image decoding apparatus 100 may additionally acquire a transformation unit according to a condition according to the size of the current coding unit (log2CbWidth, log2CbHeight) and the maximum size 6 of the transformation unit. That is, when the width or size of the current coding unit is greater than the maximum size of the transformation unit, the image decoding apparatus 100 may obtain additional transformation units included in the current coding unit. In this case, a value of cuQpDeltaCode of the current coding unit may be transmitted.
- the image decoding apparatus 100 may obtain CBFs (cbf_luma, cbf_cb_, cbf_cr) for each component of a transformation unit in the syntax structure 250 of the transformation unit level.
- CBFs cbf_luma, cbf_cb_, cbf_cr
- the value of cu_qp_delta_enabled is 1, the value of sps_dquant_flag is 0 (!sps_dquant_flag), the value of cuQpDeltaCode is 1, and the value of isdeltaCoded is 0, CBF for each component (cbf_luma, cbf_cb_,cbf_crg)
- syntax element information for cu_qp_delta may be obtained from the bitstream.
- the video decoding apparatus 100 may obtain syntax element information for cu_qp_delta from the bitstream.
- syntax element information for cu_qp_delta can be obtained from the bitstream.
- the image decoding apparatus 100 may obtain syntax element information about a differential quantization parameter at the level of a coding unit, and at this time, based on the size of a predetermined differential quantization parameter signaling unit.
- syntax element information about the differential quantization parameter code For example, when the size of a current coding unit that is no longer split is larger than a size of a predetermined difference quantization parameter signaling unit, the image decoding apparatus 100 splits it into a plurality of subblocks (transform units) including coefficients. If so, syntax element information for cu_qp_delta may be obtained from the syntax structure 250 of the first transformation unit.
- syntax element information for cu_qp_delta may be obtained regardless of the CBF value of the corresponding transformation unit.
- syntax element information for cu_qp_delta may not be obtained.
- the differential quantization parameter for the remaining transform units is based on cu_qp_delta acquired in the first transform unit. Can be obtained.
- the image decoding apparatus 100 has a size of a predetermined coding unit including the corresponding coding unit equal to the size of a predetermined difference quantization parameter signaling unit, or
- syntax element information for cu_qp_delta may be obtained from the bitstream in the syntax structure 250 of the transformation unit level of the first transformation unit of the first coding unit among a plurality of subblocks.
- syntax element information for cu_qp_delta may be obtained regardless of the CBF value of the corresponding transformation unit.
- syntax element information for cu_qp_delta may not be obtained.
- the difference between the remaining coding units The quantization parameter may be obtained based on cu_qp_delta obtained in the first transformation unit of the first coding unit.
- the maximum size of the conversion unit was described on the premise that the maximum size of the conversion unit is 64 (here, the value obtained by taking log2 is 6), but is not limited thereto. It will be appreciated by those skilled in the art that the size can be one of a variety of powers of two.
- FIG. 4D is a diagram illustrating a method of signaling a differential quantization parameter according to a syntax structure of a division unit, a coding unit, and a transformation unit for signaling the differential quantization parameter of FIGS. 4A to 4C.
- the image decoding apparatus 100 may signal a differential quantization parameter for a coding unit based on an area of a predetermined differential quantization parameter signaling unit.
- the image decoding apparatus 100 may obtain a syntax element for a differential quantization parameter of the coding unit 260 from information on a transformation unit having the same size as the coding unit 260.
- the coding block flag is obtained from the information on the transformation unit, and only when the value is 1, the syntax element for the differential quantization parameter is obtained, and if 0, the syntax element for the differential quantization parameter may not be obtained. have.
- the image decoding apparatus ( 100) divides the coding unit 270 to obtain transformation units including a transformation unit 275 having a maximum size of the transformation unit, and from among the information on the transformation unit 275 to be decoded first, the coding unit ( A syntax element for the differential quantization parameter for 270) may be obtained.
- the area of the coding unit 285 of the lower depth divided according to various split types (eg, ternary split type or binary split type) from the coding unit 280 of the higher depth is a predetermined difference quantization parameter signaling unit If the area of the coding unit 280 is smaller than the area of the coding unit 280 and the area of the signaling unit of the predetermined difference quantization parameter, the coding unit that is decoded first among two or three coding units included in the coding unit 280 ( A syntax element for a differential quantization parameter for the coding unit 280 may be obtained from information about a transformation unit that is decoded first among transformation units included in 285 ).
- split types eg, ternary split type or binary split type
- a syntax element for a differential quantization parameter for the coding unit 280 may be obtained regardless of a value of the coding block flag of the corresponding transformation unit.
- the coding unit 285 may be additionally split into coding units of a lower depth, or may not be split anymore, and a transformation unit may be obtained from coding units that are no longer split.
- the transformation unit may be the same as the size of a coding unit that is no longer split, but is not limited thereto.
- the width of the coding unit 295 of the lower depth of the smaller size among the coding units of the lower depth divided according to the ternary splitting type from the coding unit of the upper depth 290 is smaller than the width of a predetermined difference quantization parameter signaling unit . If the area of the coding unit 290 is equal to twice the area of the predetermined difference quantization parameter signaling unit, the coding unit 295 that is decoded first among the three coding units included in the coding unit 290
- a syntax element for a differential quantization parameter for the coding unit 290 may be obtained from information about a transformation unit that is decoded first among transformation units. In this case, a syntax element for a differential quantization parameter for the coding unit 290 may be obtained regardless of a value of the coding block flag of the corresponding transformation unit.
- the coding unit 295 may be additionally split into coding units of a lower depth, may not be split anymore, and a transformation unit may be obtained from coding units that are no longer split.
- the transformation unit may be the same as the size of a coding unit that is no longer split, but is not limited thereto.
- FIG. 5 illustrates a SUCO technique for determining a sub (decode) encoding order between coding units in a forward or reverse direction based on a coding order flag, according to an embodiment of the present disclosure, and a sub (decode) coding based on the SUCO scheme It is a diagram for explaining that the right neighboring blocks are available in order.
- a maximum coding unit 2950 is divided into a plurality of coding units 1956, 1958, 1960, 1962, 1968, 1970, 1972, 1974, 1980, 1982, 1984, and 1986.
- the largest coding unit 1950 corresponds to the highest node 1900 of a tree structure.
- the upper encoding order flags 1902, 1914, 1926 indicating the encoding order correspond to the arrows 1952, 1964, 1976, and the upper encoding order flags 1904, 1916, 1928, the arrows 1954, 1966, 1978. ) Corresponds to.
- the upper coding order flag indicates the coding order of two coding units located at the upper part of the four coding units of the same depth. If the upper encoding order flag is 0, encoding is performed in the forward direction. Conversely, when the upper encoding order flag is 1, encoding is performed in the reverse direction.
- the lower coding order flag indicates the coding order of two coding units located at the lower part of the coding units of the same depth. If the lower encoding order flag is 0, encoding is performed in the forward direction. Conversely, when the lower encoding order flag is 1, encoding is performed in the reverse direction.
- the encoding order between the coding units 1968 and 1970 is determined from left to right, which is a forward direction.
- the lower encoding order flag 1916 is 1, the encoding order between the coding units 1972 and 1974 is determined from right to left in the reverse direction.
- the upper encoding order flag and the lower encoding order flag may be set to have the same value.
- a lower encoding order flag 1904 corresponding to the upper encoding order flag 1902 may also be determined to be 1. Since the values of the upper encoding order flag and the lower encoding order flag are determined with 1 bit, the amount of information of the encoding order information is reduced.
- the upper encoding order flag and the lower encoding order flag of the current coding unit may be determined by referring to at least one of an upper encoding order flag and a lower encoding order flag applied to a coding unit having a lower depth than the current coding unit.
- the upper coding order flag 1926 and the lower coding order flag 1928 applied to the coding units 1980, 1982, 1984, 1986 are the lower coding order flags 1916 applied to the coding units 1972 and 1974.
- the upper encoding order flag 1926 and the lower encoding order flag 1928 may be determined to have the same values as the encoding order flag 1916. Since values of the upper coding order flag and the lower coding order flag are determined from the upper coding unit of the current coding unit, coding order information is not obtained from the bitstream. Therefore, the amount of information of the coding order information is reduced.
- the image decoding apparatus 100 can use data of samples included in the right neighboring coding unit 1958 decoded prior to the current coding unit 1986, the data of the right neighboring coding unit 1958 ( Preferably, a prediction parameter of a current coding unit according to an embodiment of the present disclosure may be obtained using a quantization parameter).
- the image decoding apparatus 100 and the image decoding apparatus 150 efficiently store information on a difference quantization parameter for a current coding unit according to the size of the coding unit. Signaling may be explicitly performed through a bitstream.
- division of coding units will be described in detail according to an embodiment of the present disclosure.
- the image may be split into the largest coding unit.
- the size of the largest coding unit may be determined based on information obtained from the bitstream.
- the shape of the largest coding unit may have a square of the same size. However, it is not limited thereto.
- the largest coding unit may be hierarchically split into coding units based on information on a split mode mode obtained from a bitstream.
- the information on the division type mode may include at least one of information indicating whether or not division, division direction information, and division type information.
- Information indicating whether to split the coding unit indicates whether to split the coding unit.
- the division direction information indicates division in either a horizontal direction or a vertical direction.
- the split type information indicates that the coding unit is split into one of binary split, tri split, or ternary split, or quad split.
- the image decoding apparatus 100 may obtain information on a split mode mode from a bitstream as one empty string.
- the image decoding apparatus 100 may determine whether to split a coding unit, a splitting direction, and a splitting type based on one empty string.
- the coding unit may be less than or equal to the largest coding unit.
- the coding unit has the same size as the largest coding unit.
- the largest coding unit may be split into coding units of a lower depth.
- the coding unit of the lower depth may be split into coding units having a smaller size.
- the division of the image is not limited thereto, and the largest coding unit and the coding unit may not be distinguished. Splitting of the coding unit will be described in more detail with reference to FIGS. 6 to 19.
- the coding unit may be divided into prediction units for prediction of an image.
- the prediction unit may be the same as or smaller than the coding unit.
- the coding unit may be divided into a transformation unit for transforming an image.
- the transformation unit may be the same as or smaller than the coding unit.
- the shape and size of the transformation unit and the prediction unit may not be related to each other.
- the coding unit may be distinguished from the prediction unit and the transformation unit, but the coding unit, the prediction unit, and the transformation unit may be the same.
- the division of the prediction unit and the transformation unit may be performed in the same manner as the division of the coding unit. Splitting of the coding unit will be described in more detail with reference to FIGS. 6 to 19.
- the current block and the neighboring block of the present disclosure may represent one of a largest coding unit, a coding unit, a prediction unit, and a transformation unit.
- the current block or the current coding unit is a block currently undergoing decoding or encoding or a block currently undergoing splitting.
- the neighboring block may be a block restored before the current block.
- the neighboring blocks may be spatially or temporally adjacent to the current block.
- the neighboring block may be located in one of the lower left, left, upper left, upper, upper right, right and lower right of the current block.
- FIG. 6 illustrates a process in which the image decoding apparatus 100 determines at least one coding unit by dividing a current coding unit according to an embodiment.
- the block shape may include 4Nx4N, 4Nx2N, 2Nx4N, 4NxN, or Nx4N.
- N may be a positive integer.
- the block type information is information indicating at least one of a shape, a direction, a ratio or a size of a width and a height of a coding unit.
- the shape of the coding unit may include a square and a non-square.
- the image decoding apparatus 100 may determine block type information of the coding unit as a square.
- the image decoding apparatus 100 may determine the shape of the coding unit as a non-square.
- the image decoding apparatus 100 determines the block type information of the coding unit as a non-square. I can. When the shape of the coding unit is a non-square shape, the image decoding apparatus 100 adjusts the ratio of the width and height among block type information of the coding unit to 1:2, 2:1, 1:4, 4:1, and 1:8. Alternatively, it can be determined as at least one of 8:1. In addition, based on the length of the width and the height of the coding unit, the image decoding apparatus 100 may determine whether the coding unit is in a horizontal direction or a vertical direction. In addition, the image decoding apparatus 100 may determine the size of the coding unit based on at least one of the width, height, or width of the coding unit.
- the image decoding apparatus 100 may determine a type of a coding unit using block type information, and may determine in what type a coding unit is divided using information about a split type mode. That is, the method of dividing the coding unit indicated by the information on the division mode may be determined according to which block type the block type information used by the image decoding apparatus 100 represents.
- the image decoding apparatus 100 may obtain information on a split mode mode from a bitstream. However, the present invention is not limited thereto, and the image decoding apparatus 100 and the image encoding apparatus 150 may obtain information on a predetermined split type mode based on the block type information.
- the image decoding apparatus 100 may obtain information on a split mode mode previously promised for the largest coding unit or the smallest coding unit. For example, the image decoding apparatus 100 may determine information on a split mode mode with respect to the largest coding unit as a quad split. In addition, the image decoding apparatus 100 may determine information on the split mode mode as "not split" with respect to the smallest coding unit. In more detail, the image decoding apparatus 100 may determine the size of the largest coding unit to be 256x256.
- the image decoding apparatus 100 may determine information on a predetermined split mode mode as quad splitting.
- Quad splitting is a split mode in which both the width and height of a coding unit are bisected.
- the image decoding apparatus 100 may obtain a coding unit having a size of 128x128 from the largest coding unit having a size of 256x256 based on information on the split mode mode.
- the image decoding apparatus 100 may determine the size of the minimum coding unit to be 4x4.
- the image decoding apparatus 100 may obtain information on a split mode mode indicating "not split" with respect to the minimum coding unit.
- the image decoding apparatus 100 may use block type information indicating that the current coding unit is a square shape. For example, the image decoding apparatus 100 may determine whether to split a square coding unit, split it vertically, split it horizontally, split it horizontally, or split it into four coding units, according to information on the split mode mode. Referring to FIG. 6, when block type information of the current coding unit 300 represents a square shape, the image decoder 110 is the current coding unit 300 according to information on the split mode mode indicating that the splitting mode is not split.
- the coding units 310a having the same size as are not split, or split coding units 310b, 310c, 310d, etc. may be determined based on information on a split mode indicating a predetermined splitting method.
- the image decoding apparatus 100 divides a current coding unit 300 in a vertical direction based on information on a split mode mode indicating that the image is split in a vertical direction. ) Can be determined.
- the image decoding apparatus 100 may determine two coding units 310c obtained by splitting the current coding unit 300 in the horizontal direction based on information on a split mode mode indicating that the image is split in the horizontal direction.
- the image decoding apparatus 100 may determine four coding units 310d obtained by dividing the current coding unit 300 in the vertical and horizontal directions based on information on the split mode indicating that the image is split in the vertical and horizontal directions. have.
- the split form in which the square coding unit can be split is limited to the above-described form and should not be interpreted, and various forms that can be represented by information on the split form mode may be included. Pre-determined split forms in which the square coding unit is split will be described in detail through various embodiments below.
- FIG. 7 illustrates a process in which the image decoding apparatus 100 determines at least one coding unit by dividing coding units having a non-square shape, according to an exemplary embodiment.
- the image decoding apparatus 100 may use block type information indicating that the current coding unit is a non-square type.
- the image decoding apparatus 100 may determine whether not to divide the non-square current coding unit or to divide it by a predetermined method according to the information on the division mode. Referring to FIG. 4, when block shape information of a current coding unit 400 or 450 indicates a non-square shape, the image decoding apparatus 100 currently encodes according to information on a split mode mode indicating that the division is not divided.
- a predetermined splitting method in which a non-square coding unit is split will be described in detail through various embodiments below.
- the image decoding apparatus 100 may determine a form in which a coding unit is split using information on a split mode mode, and in this case, the information on the split mode mode is at least one generated by splitting the coding unit. May represent the number of coding units of. Referring to FIG. 7, when information on a split mode mode indicates that a current coding unit (400 or 450) is split into two coding units, the image decoding apparatus 100 performs current coding based on information on the split mode mode.
- the unit 400 or 450 may be split to determine two coding units 420a and 420b or 470a and 470b included in the current coding unit.
- the image decoding apparatus 100 when the image decoding apparatus 100 splits a current coding unit 400 or 450 in a non-square shape based on information on a split mode mode, the image decoding apparatus 100
- the current coding unit may be split in consideration of the position of the long side of the current coding unit 400 or 450 of.
- the image decoding apparatus 100 splits the current coding unit 400 or 450 in a direction for dividing the long side of the current coding unit 400 or 450 in consideration of the shape of the current coding unit 400 or 450
- a plurality of coding units may be determined.
- the image decoding apparatus 100 when the information on the split mode mode indicates that coding units are split into odd-numbered blocks (tri split), the image decoding apparatus 100 is included in the current coding unit 400 or 450 It is possible to determine an odd number of coding units. For example, if the information on the split mode indicates that the current coding unit (400 or 450) is split into three coding units, the image decoding apparatus 100 encodes the current coding unit (400 or 450) into three coding units. It can be divided into units 430a, 430b, 430c, 480a, 480b, 480c.
- a ratio of the width and height of the current coding unit 400 or 450 may be 4:1 or 1:4.
- the ratio of the width and the height is 4:1, since the length of the width is longer than the length of the height, the block shape information may be in the horizontal direction.
- the ratio of the width and the height is 1:4, since the length of the width is shorter than the length of the height, the block shape information may be in a vertical direction.
- the image decoding apparatus 100 may determine to split the current coding unit into odd-numbered blocks based on information on the split mode mode. Also, the image decoding apparatus 100 may determine a split direction of the current coding unit 400 or 450 based on block type information of the current coding unit 400 or 450.
- the image decoding apparatus 100 may determine the coding units 430a, 430b, and 430c by dividing the current coding unit 400 in the horizontal direction. Also, when the current coding unit 450 is in the horizontal direction, the image decoding apparatus 100 may determine the coding units 480a, 480b, and 480c by dividing the current coding unit 450 in the vertical direction.
- the image decoding apparatus 100 may determine an odd number of coding units included in the current coding unit 400 or 450, and all sizes of the determined coding units may not be the same.
- the size of a predetermined coding unit 430b or 480b among the determined odd number of coding units 430a, 430b, 430c, 480a, 480b, 480c is different from that of other coding units 430a, 430c, 480a, 480c
- the image decoding apparatus 100 may determine an odd number of coding units included in the current coding unit 400 or 450. Further, the image decoding apparatus 100 may place a predetermined limit on at least one coding unit among odd number of coding units generated by dividing. Referring to FIG. 4, the image decoding apparatus 100 is a coding unit positioned at the center of three coding units 430a, 430b, 430c, 480a, 480b, 480c generated by splitting a current coding unit 400 or 450 The decoding process for 430b and 480b may be different from that of other coding units 430a, 430c, 480a, and 480c.
- the image decoding apparatus 100 limits the coding units 430b and 480b located at the center so that they are not further divided or limited to a predetermined number of times. Can be restricted to be divided.
- FIG. 8 illustrates a process in which the image decoding apparatus 100 divides a coding unit based on at least one of block type information and information about a split type mode, according to an embodiment.
- the image decoding apparatus 100 determines that the square-shaped first coding unit 500 is divided into coding units or not divided based on at least one of block type information and information on a division type mode. I can. According to an embodiment, when the information on the split mode mode indicates that the first coding unit 500 is split in the horizontal direction, the image decoding apparatus 100 divides the first coding unit 500 in the horizontal direction and 2 The coding unit 510 may be determined.
- a first coding unit, a second coding unit, and a third coding unit used according to an embodiment are terms used to understand a relationship before and after splitting between coding units.
- a second coding unit when the first coding unit is split, a second coding unit may be determined, and when the second coding unit is split, a third coding unit may be determined.
- a third coding unit may be determined when the second coding unit is split.
- the image decoding apparatus 100 may determine that the determined second coding unit 510 is divided into coding units or not divided based on at least one of block type information and information about a split type mode. .
- the image decoding apparatus 100 divides the first coding unit 500 based on at least one of block type information and information about a split type mode, and has a non-square type second coding unit ( The 510 may be split into at least one third coding unit 520a, 520b, 520c, 520d, etc., or the second coding unit 510 may not be split.
- the image decoding apparatus 100 may acquire at least one of block type information and information about a split type mode, and the image decoding apparatus 100 may obtain at least one of the acquired block type information and information about a split type mode.
- the first coding unit 500 may be divided to divide a plurality of second coding units (eg, 510) of various types, and the second coding unit 510 includes block type information and information on a split type mode.
- the first coding unit 500 may be split based on at least one of them according to a split method.
- the second coding unit 510 is also based on at least one of block type information about the second coding unit 510 and information about a split type mode (for example, 520a, 520b, 520c, 520d). Etc.). That is, the coding units may be recursively split based on at least one of information on a split mode and block type information related to each coding unit. Accordingly, a square coding unit may be determined from a non-square coding unit, and a non-square coding unit may be determined by recursively splitting the square coding unit.
- a predetermined coding unit (for example, among odd number of third coding units 520b, 520c, 520d) determined by splitting a second coding unit 510 in a non-square shape
- a coding unit or a coding unit having a square shape) may be recursively divided.
- a square-shaped third coding unit 520b which is one of the odd number of third coding units 520b, 520c, and 520d, may be split in a horizontal direction and split into a plurality of fourth coding units.
- One of the plurality of fourth coding units 530a, 530b, 530c, and 530d which is a non-square type fourth coding unit 530b or 530d, may be further divided into a plurality of coding units.
- the fourth coding unit 530b or 530d having a non-square shape may be split again into odd coding units.
- a method that can be used for recursive partitioning of coding units will be described later through various embodiments.
- the image decoding apparatus 100 divides each of the third coding units 520a, 520b, 520c, 520d, etc. into coding units based on at least one of block type information and split type mode information. I can.
- the image decoding apparatus 100 may determine not to split the second coding unit 510 based on at least one of the block type information and the split type mode information.
- the image decoding apparatus 100 may divide the second coding unit 510 in a non-square shape into odd number of third coding units 520b, 520c, and 520d according to an embodiment.
- the image decoding apparatus 100 may place a predetermined limit on a predetermined third coding unit among the odd number of third coding units 520b, 520c, and 520d.
- the image decoding apparatus 100 should be limited to a coding unit 520c positioned in the middle of the odd number of third coding units 520b, 520c, and 520d, or divided by a settable number of times. You can limit yourself to what you do.
- the image decoding apparatus 100 includes a coding unit positioned in the middle among odd number of third coding units 520b, 520c, and 520d included in a second coding unit 510 having a non-square shape ( 520c) is not further divided or is divided into a predetermined division type (e.g., divided into only four coding units or divided into a shape corresponding to the divided shape of the second coding unit 510), or a predetermined It can be limited to dividing only by the number of times (for example, dividing only n times, n>0).
- central coding unit 520c is merely exemplary embodiments, it is limited to the above-described exemplary embodiments and should not be interpreted, and the central coding unit 520c is different from the other ), it should be interpreted as including various restrictions that can be decrypted differently.
- the image decoding apparatus 100 may obtain at least one of block type information used to divide a current coding unit and information about a split type mode at a predetermined location in the current coding unit.
- FIG. 9 illustrates a method for the image decoding apparatus 100 to determine a predetermined coding unit among odd coding units, according to an embodiment.
- At least one of block type information of a current coding unit (600, 650) and information about a split type mode is a sample at a predetermined position among a plurality of samples included in the current coding unit (600, 650). For example, it may be obtained from samples 640 and 690 positioned in the middle.
- a predetermined position in the current coding unit 600 in which at least one of the block type information and information on the split type mode can be obtained should not be interpreted as being limited to the center position shown in FIG. 6, and the predetermined position is currently encoded. It should be interpreted that various positions that may be included in the unit 600 (eg, top, bottom, left, right, top left, bottom left, top right, bottom right, etc.) may be included.
- the image decoding apparatus 100 may determine that the current coding unit is divided into coding units of various types and sizes or not divided by obtaining at least one of block type information obtained from a predetermined position and information about a split type mode. .
- the image decoding apparatus 100 may select one of the coding units.
- Methods for selecting one of a plurality of coding units may be various, and a description of these methods will be described later through various embodiments below.
- the image decoding apparatus 100 may divide a current coding unit into a plurality of coding units and determine a coding unit at a predetermined location.
- the image decoding apparatus 100 may use information indicating a location of each of the odd number of coding units to determine a coding unit located in the middle of the odd number of coding units.
- the image decoding apparatus 100 divides a current coding unit 600 or a current coding unit 650 into odd coding units 620a, 620b, and 620c or odd coding units 660a. 660b, 660c) can be determined.
- the image decoding apparatus 100 uses the information on the positions of the odd number of coding units 620a, 620b, and 620c or the odd number of coding units 660a, 660b, 660c, and the middle coding unit 620b or the middle coding unit (660b) can be determined.
- the image decoding apparatus 100 determines the location of the coding units 620a, 620b, and 620c based on information indicating the location of a predetermined sample included in the coding units 620a, 620b, and 620c.
- the coding unit 620b positioned at may be determined.
- the image decoding apparatus 100 includes coding units 620a, 620b, and 620c based on information indicating a location of the upper left sample 630a, 630b, and 630c of the coding units 620a, 620b, and 620c.
- the coding unit 620b positioned in the center may be determined by determining the position of.
- information indicating the location of the upper left sample 630a, 630b, and 630c included in the coding units 620a, 620b, and 620c, respectively is within a picture of the coding units 620a, 620b, and 620c. It may include information about the location or coordinates of. According to an embodiment, information indicating the location of the upper left sample 630a, 630b, and 630c included in the coding units 620a, 620b, and 620c, respectively, is the coding units 620a included in the current coding unit 600. , 620b, 620c) may include information indicating the width or height of each of the coding units 620a, 620b, and 620c.
- the width or height may correspond to information indicating a difference between coordinates within a picture of the coding units 620a, 620b, and 620c. That is, the image decoding apparatus 100 directly uses information on a location or coordinates within a picture of the coding units 620a, 620b, and 620c, or information on a width or height of a coding unit corresponding to a difference value between coordinates.
- the coding unit 620b positioned in the center may be determined by using.
- information indicating the location of the upper left sample 630a of the upper coding unit 620a may represent (xa, ya) coordinates
- Information indicating the location of) may indicate (xb, yb) coordinates
- information indicating the location of the upper left sample 630c of the lower coding unit 620c may indicate (xc, yc) coordinates.
- the image decoding apparatus 100 may determine the center coding unit 620b by using coordinates of the upper left samples 630a, 630b, and 630c included in the coding units 620a, 620b, and 620c, respectively.
- the coding unit 620b including (xb, yb) which is the coordinates of the sample 630b located in the center
- the current coding unit 600 may be determined as a coding unit positioned in the middle of the coding units 620a, 620b, and 620c determined by splitting.
- the coordinates indicating the position of the upper left samples 630a, 630b, 630c may indicate the coordinates indicating the absolute position in the picture, and furthermore, the position of the upper left sample 630a of the upper coding unit 620a
- (dxb, dyb) coordinates which is information indicating the relative position of the upper left sample 630b of the center coding unit 620b, indicating the relative position of the upper left sample 630c of the lower coding unit 620c
- Information (dxc, dyc) coordinates can also be used.
- the method of determining the coding unit of a predetermined location by using the coordinates of the sample should not be interpreted limited to the above-described method, and various arithmetical coordinates that can use the coordinates of the sample Should be interpreted in a way.
- the image decoding apparatus 100 may split the current coding unit 600 into a plurality of coding units 620a, 620b, and 620c, and a predetermined number of coding units 620a, 620b, and 620c Coding units can be selected according to criteria. For example, the image decoding apparatus 100 may select a coding unit 620b having a different size among coding units 620a, 620b, and 620c.
- the image decoding apparatus 100 includes (xa, ya) coordinates, which is information indicating the position of the upper left sample 630a of the upper coding unit 620a, and the upper left sample of the center coding unit 620b.
- 620b, 620c can determine each width or height.
- the image decoding apparatus 100 uses the coding units 620a and 620b using (xa, ya), (xb, yb), and (xc, yc), which are coordinates representing the positions of the coding units 620a, 620b, and 620c. , 620c) each size can be determined.
- the image decoding apparatus 100 may determine the width of the upper coding unit 620a as the width of the current coding unit 600.
- the image decoding apparatus 100 may determine the height of the upper coding unit 620a as yb-ya.
- the image decoding apparatus 100 may determine the width of the center coding unit 620b as the width of the current coding unit 600.
- the image decoding apparatus 100 may determine the height of the central coding unit 620b as yc-yb. According to an embodiment, the image decoding apparatus 100 may determine the width or height of the lower coding unit using the width or height of the current coding unit and the width and height of the upper coding unit 620a and the center coding unit 620b. . The image decoding apparatus 100 may determine a coding unit having a size different from other coding units based on the determined widths and heights of the coding units 620a, 620b, and 620c. Referring to FIG.
- the image decoding apparatus 100 may determine a coding unit 620b having a size different from that of the upper coding unit 620a and the lower coding unit 620c as the coding unit at a predetermined position.
- the process of determining a coding unit having a size different from that of other coding units the process of determining a coding unit at a predetermined location using a size of a coding unit determined based on sample coordinates Therefore, various processes of determining a coding unit at a predetermined location by comparing sizes of coding units determined according to predetermined sample coordinates may be used.
- the image decoding apparatus 100 includes (xd, yd) coordinates, which is information indicating the location of the upper left sample 670a of the left coding unit 660a, and the location of the upper left sample 670b of the center coding unit 660b. Coding units 660a, 660b, and 660c using (xe, ye) coordinates, which is information indicating the position, and (xf, yf) coordinates, which are information indicating the location of the upper left sample 670c of the right coding unit 660c. You can decide the width or height of each.
- the image decoding apparatus 100 uses the coding units 660a and 660b using (xd, yd), (xe, ye), and (xf, yf), which are coordinates representing the positions of the coding units 660a, 660b, and 660c. , 660c) Each size can be determined.
- the image decoding apparatus 100 may determine the width of the left coding unit 660a as xe-xd.
- the image decoding apparatus 100 may determine the height of the left coding unit 660a as the height of the current coding unit 650.
- the image decoding apparatus 100 may determine the width of the center coding unit 660b as xf-xe.
- the image decoding apparatus 100 may determine the height of the center coding unit 660b as the height of the current coding unit 600.
- the width or height of the right coding unit 660c is the width or height of the current coding unit 650 and the width and height of the left coding unit 660a and the center coding unit 660b.
- the image decoding apparatus 100 may determine a coding unit having a size different from other coding units based on the determined width and height of the coding units 660a, 660b, and 660c. Referring to FIG. 6, the image decoding apparatus 100 may determine a coding unit 660b having a size different from the size of the left coding unit 660a and the right coding unit 660c as the coding unit at a predetermined position.
- the location of the sample considered to determine the location of the coding unit should not be interpreted by being limited to the upper left corner described above, and it may be interpreted that information on the location of an arbitrary sample included in the coding unit can be used.
- the image decoding apparatus 100 may select a coding unit at a predetermined position from among odd number of coding units determined by splitting the current coding unit in consideration of a shape of a current coding unit. For example, if the current coding unit has a non-square shape whose width is longer than the height, the image decoding apparatus 100 may determine the coding unit at a predetermined position according to the horizontal direction. That is, the image decoding apparatus 100 may determine one of coding units having different positions in the horizontal direction and place restrictions on the corresponding coding unit. If the current coding unit has a non-square shape whose height is longer than the width, the image decoding apparatus 100 may determine a coding unit at a predetermined position according to the vertical direction. That is, the image decoding apparatus 100 may determine one of coding units that change positions in the vertical direction and place restrictions on the corresponding coding unit.
- the image decoding apparatus 100 may use information indicating a location of each of the even number of coding units to determine a coding unit of a predetermined position among even number of coding units.
- the image decoding apparatus 100 may determine an even number of coding units by splitting (binary splitting) a current coding unit and determining a coding unit at a predetermined position by using information on positions of the even number of coding units.
- a detailed process for this may be a process corresponding to a process of determining a coding unit at a predetermined location (eg, a center location) among the odd numbered coding units described above in FIG. 6, and thus will be omitted.
- a predetermined coding unit at a predetermined position is determined during the splitting process to determine a coding unit at a predetermined position among the plurality of coding units.
- Information of is available. For example, in order to determine a coding unit located in the middle among coding units in which the current coding unit is divided into a plurality of coding units, the image decoding apparatus 100 may use block type information and split type stored in a sample included in the center coding unit during the splitting process At least one of the information on the mode may be used.
- the image decoding apparatus 100 divides the current coding unit 600 into a plurality of coding units 620a, 620b, and 620c based on at least one of block type information and information about a split type mode.
- the coding unit 620b located in the middle of the plurality of coding units 620a, 620b, and 620c may be determined.
- the image decoding apparatus 100 may determine a coding unit 620b positioned in the center in consideration of a location at which at least one of block type information and information about a split type mode is obtained.
- At least one of block type information of the current coding unit 600 and information about a split type mode may be obtained from a sample 640 positioned in the center of the current coding unit 600, and the block type information and the
- the coding unit 620b including the sample 640 is selected from the center. It can be determined as a coding unit located at.
- the information used to determine the centered coding unit should not be interpreted as being limited to at least one of the block type information and the split mode information, and the process of determining the centered coding unit of various types of information Can be used in.
- predetermined information for identifying a coding unit at a predetermined location may be obtained from a predetermined sample included in a coding unit to be determined.
- the image decoding apparatus 100 includes coding units (e.g., divided into a plurality of coding units 620a, 620b, 620c) of a plurality of coding units determined by splitting the current coding unit 600.
- Block type information obtained from a sample at a predetermined position in the current coding unit 600 (eg, a sample located in the center of the current coding unit 600) in order to determine a coding unit located in the middle among coding units, and At least one of information on the split mode mode may be used.
- the image decoding apparatus 100 may determine a sample at the predetermined position in consideration of the block shape of the current coding unit 600, and the image decoding apparatus 100 may determine a plurality of samples determined by dividing the current coding unit 600 Among the coding units 620a, 620b, and 620c, a coding unit 620b including a sample from which predetermined information (eg, at least one of information on a block type information and a split type mode) can be obtained You can decide and put some restrictions. Referring to FIG.
- the image decoding apparatus 100 may determine a sample 640 located in the center of the current coding unit 600 as a sample from which predetermined information may be obtained, and the image decoding apparatus 100 may place a predetermined limit in the decoding process of the coding unit 620b including the sample 640.
- the location of the sample from which predetermined information can be obtained is limited to the above-described location and should not be interpreted, but may be interpreted as samples at an arbitrary location included in the coding unit 620b to be determined to impose restrictions.
- the location of a sample from which predetermined information can be obtained may be determined according to the shape of the current coding unit 600.
- the block shape information may determine whether the shape of a current coding unit is a square or a non-square shape, and according to the shape, a location of a sample from which predetermined information can be obtained may be determined.
- the image decoding apparatus 100 uses at least one of information about the width and height of the current coding unit to be positioned on a boundary that divides at least one of the width and height of the current coding unit in half. The sample may be determined as a sample from which predetermined information can be obtained.
- the image decoding apparatus 100 selects one of samples adjacent to a boundary that divides the long side of the current coding unit in half. It can be determined as a sample from which information of can be obtained.
- the image decoding apparatus 100 when the current coding unit is divided into a plurality of coding units, in order to determine a coding unit at a predetermined position among the plurality of coding units, the image decoding apparatus 100 At least one of the information can be used.
- the image decoding apparatus 100 may obtain at least one of block type information and information about a split type mode from a sample at a predetermined position included in a coding unit, and the image decoding apparatus 100 is currently encoding
- a plurality of coding units generated by dividing a unit may be divided by using at least one of information on a split mode mode and block type information obtained from samples at a predetermined location included in each of the plurality of coding units.
- the coding unit may be recursively split by using at least one of block shape information obtained from a sample at a predetermined position included in each coding unit and information on a split mode mode. Since the recursive splitting process of the coding unit has been described above with reference to FIG. 8, detailed descriptions will be omitted.
- the image decoding apparatus 100 may determine at least one coding unit by dividing a current coding unit, and determine an order in which the at least one coding unit is decoded by a predetermined block (eg, a current coding unit). ) Can be determined.
- a predetermined block eg, a current coding unit
- FIG. 10 illustrates an order in which a plurality of coding units are processed when the image decoding apparatus 100 determines a plurality of coding units by dividing a current coding unit according to an embodiment.
- the image decoding apparatus 100 determines the second coding units 710a and 710b by vertically dividing the first coding unit 700 according to block type information and information on a split type mode. Second coding units 750a, 750b, and 750c are determined by splitting the first coding unit 700 in the horizontal direction to determine second coding units 730a, 730b, or splitting the first coding unit 700 in the vertical and horizontal directions. , 750d) can be determined.
- the image decoding apparatus 100 may determine an order so that the second coding units 710a and 710b determined by dividing the first coding unit 700 in the vertical direction are processed in the horizontal direction 710c. .
- the image decoding apparatus 100 may determine a processing order of the second coding units 730a and 730b determined by dividing the first coding unit 700 in the horizontal direction as the vertical direction 730c.
- the image decoding apparatus 100 divides the first coding unit 700 in the vertical direction and the horizontal direction to divide the determined second coding units 750a, 750b, 750c, and 750d into the coding units located in one row. Coding units located in the next row may be determined according to a predetermined order (eg, a raster scan order or a z scan order 750e).
- the image decoding apparatus 100 may recursively split coding units.
- the image decoding apparatus 100 may divide a first coding unit 700 to determine a plurality of coding units 710a, 710b, 730a, 730b, 750a, 750b, 750c, 750d, and Each of the determined coding units 710a, 710b, 730a, 730b, 750a, 750b, 750c, and 750d may be recursively split.
- a method of dividing the plurality of coding units 710a, 710b, 730a, 730b, 750a, 750b, 750c, and 750d may correspond to a method of dividing the first coding unit 700.
- the plurality of coding units 710a, 710b, 730a, 730b, 750a, 750b, 750c, and 750d may be independently divided into a plurality of coding units.
- the image decoding apparatus 100 may determine the second coding units 710a and 710b by dividing the first coding unit 700 in the vertical direction, and further, the second coding units 710a and 710b, respectively. It can be decided to divide independently or not to divide.
- the image decoding apparatus 100 may split the second coding unit 710a on the left side in a horizontal direction and divide it into third coding units 720a and 720b, and the second coding unit 710b on the right side. ) May not be divided.
- the processing order of coding units may be determined based on a splitting process of coding units.
- the processing order of the split coding units may be determined based on the processing order of the coding units immediately before being split.
- the image decoding apparatus 100 may independently determine an order in which the third coding units 720a and 720b determined by splitting the second coding unit 710a on the left side are processed, independently from the second coding unit 710b on the right side. Since the left second coding unit 710a is split in the horizontal direction to determine the third coding units 720a and 720b, the third coding units 720a and 720b may be processed in the vertical direction 720c.
- FIG. 11 illustrates a process of determining that the current coding unit is divided into odd number of coding units when coding units cannot be processed in a predetermined order, according to an embodiment.
- the image decoding apparatus 100 may determine that the current coding unit is divided into odd number of coding units based on the obtained block type information and information on the split type mode.
- a first coding unit 800 having a square shape may be divided into second coding units 810a and 810b having a non-square shape, and the second coding units 810a and 810b are each independently It may be divided into 3 coding units 820a, 820b, 820c, 820d, and 820e.
- the image decoding apparatus 100 may determine a plurality of third coding units 820a and 820b by dividing the left coding unit 810a among the second coding units in a horizontal direction, and determining the right coding unit 810b. ) May be divided into odd number of third coding units 820c, 820d, and 820e.
- the image decoding apparatus 100 determines whether the third coding units 820a, 820b, 820c, 820d, and 820e can be processed in a predetermined order to determine whether there are coding units divided into odd numbers. You can decide. Referring to FIG. 8, the image decoding apparatus 100 may determine third coding units 820a, 820b, 820c, 820d and 820e by recursively dividing the first coding unit 800. Based on at least one of the block type information and the split type mode information, the image decoding apparatus 100 may provide the first coding unit 800, the second coding units 810a and 810b, or the third coding units 820a and 820b.
- a coding unit positioned to the right of the second coding units 810a and 810b may be split into odd number of third coding units 820c, 820d, and 820e.
- An order in which a plurality of coding units included in the first coding unit 800 are processed may be a predetermined order (for example, a z-scan order 830), and the image decoding apparatus ( 100) may determine whether the third coding units 820c, 820d, and 820e determined by splitting the right second coding units 810b into odd numbers satisfy a condition capable of being processed according to the predetermined order.
- the image decoding apparatus 100 satisfies a condition in which the third coding units 820a, 820b, 820c, 820d, and 820e included in the first coding unit 800 can be processed in a predetermined order. Whether or not at least one of the widths and heights of the second coding units 810a and 810b is split in half according to the boundary of the third coding units 820a, 820b, 820c, 820d, 820e, and Related. For example, the third coding units 820a and 820b determined by dividing the height of the left second coding unit 810a in a non-square shape in half may satisfy a condition.
- the boundary of the third coding units 820c, 820d, and 820e determined by dividing the right second coding unit 810b into three coding units cannot divide the width or height of the right second coding unit 810b in half. Therefore, it may be determined that the third coding units 820c, 820d, and 820e do not satisfy the condition. In the case of dissatisfaction with this condition, the image decoding apparatus 100 may determine that the scan order is disconnected, and determine that the right second coding unit 810b is divided into odd number of coding units based on the determination result.
- a predetermined limit may be imposed on a coding unit at a predetermined position among the divided coding units. Since it has been described above through the embodiment, a detailed description will be omitted.
- FIG. 12 illustrates a process in which the image decoding apparatus 100 determines at least one coding unit by dividing the first coding unit 900 according to an embodiment.
- the image decoding apparatus 100 may split the first coding unit 900 based on at least one of block type information and information about a split type mode acquired through the acquirer 105.
- the first coding unit 900 having a square shape may be divided into four coding units having a square shape or may be divided into a plurality of coding units having a non-square shape.
- the image decoding apparatus 100 One coding unit 900 may be divided into a plurality of non-square coding units.
- the image decoding apparatus 100 performs the first coding of a square shape.
- the unit 900 may be divided into odd number of coding units, and may be divided into second coding units 910a, 910b, and 910c determined by splitting in the vertical direction or second coding units 920a, 920b, and 920c splitting in the horizontal direction and determined. .
- the image decoding apparatus 100 may process the second coding units 910a, 910b, 910c, 920a, 920b, 920c included in the first coding unit 900 in a predetermined order. Is satisfied, and the condition is whether at least one of the width and height of the first coding unit 900 is divided in half according to the boundary of the second coding units 910a, 910b, 910c, 920a, 920b, 920c It is related to whether or not. Referring to FIG. 12, a boundary of second coding units 910a, 910b, 910c determined by dividing a square-shaped first coding unit 900 in a vertical direction divides the width of the first coding unit 900 in half.
- the image decoding apparatus 100 may determine that the scan order is disconnected, and determine that the first coding unit 900 is divided into odd number of coding units based on the determination result.
- a predetermined limit may be imposed on a coding unit at a predetermined position among the divided coding units. Since it has been described above through the embodiment, a detailed description will be omitted.
- the image decoding apparatus 100 may determine various types of coding units by dividing the first coding unit.
- the image decoding apparatus 100 may split a square type first coding unit 900 and a non-square type first coding unit 930 or 950 into various types of coding units. .
- FIG. 13 illustrates a second coding unit in a non-square shape determined by dividing a first coding unit 1000 according to an exemplary embodiment when a predetermined condition is satisfied, a second coding unit is split. It shows that the possible forms are limited.
- the image decoding apparatus 100 non-represents the square-shaped first coding unit 1000 based on at least one of the block type information and the split type mode information acquired through the acquirer 105. It may be determined by dividing into second coding units 1010a, 1010b, 1020a, and 1020b having a square shape. The second coding units 1010a, 1010b, 1020a, and 1020b may be independently split. Accordingly, the image decoding apparatus 100 does not divide or divide into a plurality of coding units based on at least one of block type information related to each of the second coding units 1010a, 1010b, 1020a, and 1020b and information about a split type mode. You can decide what to do.
- the image decoding apparatus 100 splits the second non-square type left second coding unit 1010a determined by splitting the first coding unit 1000 in a vertical direction in a horizontal direction, and splits the third coding unit ( 1012a, 1012b) can be determined.
- the image decoding apparatus 100 splits the left second coding unit 1010a in the horizontal direction the right second coding unit 1010b is in the horizontal direction in the same direction as the left second coding unit 1010a. It can be restricted so that it cannot be divided into.
- the right second coding unit 1010b is split in the same direction to determine the third coding unit 1014a and 1014b, the left second coding unit 1010a and the right second coding unit 1010b are respectively By being split independently, the third coding units 1012a, 1012b, 1014a, and 1014b may be determined.
- the image decoding apparatus 100 uses the first coding unit 1000 to convert the first coding unit 1000 into four square-shaped second coding units 1030a, 1030b, 1030c, and 1030d based on at least one of the block form information and the split form mode information. This is the same result as dividing by ), and this may be inefficient in terms of image decoding.
- the image decoding apparatus 100 divides the second coding unit 1020a or 1020b in a non-square shape determined by dividing the first coding unit 1000 in the horizontal direction in a vertical direction to obtain a third coding unit. (1022a, 1022b, 1024a, 1024b) can be determined.
- the image decoding apparatus 100 splits one of the second coding units (for example, the upper second coding unit 1020a) in the vertical direction
- the other second coding unit for example, the lower
- the coding unit 1020b may be limited so that the upper second coding unit 1020a cannot be split in the vertical direction in the same direction as the split direction.
- FIG. 14 illustrates a process in which the image decoding apparatus 100 splits a square coding unit when information on a split mode mode cannot be represented to be split into four square coding units, according to an embodiment. .
- the image decoding apparatus 100 divides the first coding unit 1100 based on at least one of block type information and information about a split type mode to provide the second coding units 1110a, 1110b, 1120a, and 1120b. Etc.).
- the information on the split mode mode may include information on various types in which the coding units can be split, but information on the various types may not include information for splitting into four coding units in a square shape.
- the image decoding apparatus 100 cannot split the square-shaped first coding unit 1100 into four square-shaped second coding units 1130a, 1130b, 1130c, and 1130d. .
- the image decoding apparatus 100 may determine the second coding units 1110a, 1110b, 1120a, 1120b, etc. of a non-square shape based on the information on the split mode.
- the image decoding apparatus 100 may independently divide the second coding units 1110a, 1110b, 1120a, 1120b, etc. of a non-square shape.
- Each of the second coding units (1110a, 1110b, 1120a, 1120b, etc.) may be divided in a predetermined order through a recursive method, which is based on at least one of block type information and information on a division type mode. It may be a division method corresponding to a method in which the unit 1100 is divided.
- the image decoding apparatus 100 may determine the third coding units 1112a and 1112b in a square shape by dividing the left second coding unit 1110a horizontally, and the second coding unit 1110b on the right
- the third coding units 1114a and 1114b having a square shape may be determined by splitting in a horizontal direction.
- the image decoding apparatus 100 may determine the third coding units 1116a, 1116b, 1116c, and 1116d in a square shape by splitting both the left second coding unit 1110a and the right second coding unit 1110b in the horizontal direction. have.
- the coding unit may be determined in the same form as that in which the first coding unit 1100 is divided into four square-shaped second coding units 1130a, 1130b, 1130c, and 1130d.
- the image decoding apparatus 100 may determine the third coding units 1122a and 1122b in a square shape by dividing the upper second coding unit 1120a in a vertical direction, and the lower second coding unit 1120b ) Is divided in a vertical direction to determine the third coding units 1124a and 1124b having a square shape. Furthermore, the image decoding apparatus 100 may determine the third coding units 1126a, 1126b, 1126a, and 1126b in a square shape by splitting both the upper second coding units 1120a and the lower second coding units 1120b in the vertical direction. have. In this case, the coding unit may be determined in the same form as that in which the first coding unit 1100 is divided into four square-shaped second coding units 1130a, 1130b, 1130c, and 1130d.
- FIG. 15 illustrates that a processing order between a plurality of coding units may vary according to a splitting process of a coding unit according to an embodiment.
- the image decoding apparatus 100 may split the first coding unit 1200 based on block type information and information about a split type mode.
- the block shape information represents a square shape and the information on the split mode mode indicates that the first coding unit 1200 is split in at least one of a horizontal direction and a vertical direction
- the image decoding apparatus 100 performs a first encoding
- the second coding unit (eg, 1210a, 1210b, 1220a, 1220b, etc.) may be determined by dividing the unit 1200. Referring to FIG.
- the second coding units 1210a, 1210b, 1220a, and 1220b of a non-square shape determined by splitting a first coding unit 1200 only in a horizontal direction or a vertical direction are block type information and a split type mode. It can be independently divided based on the information about.
- the image decoding apparatus 100 divides the second coding units 1210a and 1210b generated by splitting the first coding unit 1200 in the vertical direction and splitting the second coding units 1210a and 1210b in the horizontal direction, respectively, and the third coding units 1216a and 1216b, respectively.
- the second coding units 1220a and 1220b generated by splitting the first coding unit 1200 in the horizontal direction are respectively divided in the horizontal direction, and the third coding units 1226a, 1226b, and 1226c , 1226d) can be determined. Since the dividing process of the second coding units 1210a, 1210b, 1220a, and 1220b has been described above with reference to FIG. 13, a detailed description will be omitted.
- the image decoding apparatus 100 may process coding units in a predetermined order. Features of processing of coding units according to a predetermined order have been described above with reference to FIG. 7, and thus detailed descriptions thereof will be omitted. Referring to FIG. 14, the image decoding apparatus 100 divides the first coding unit 1200 in a square shape to form four square-shaped third coding units 1216a, 1216b, 1216c, 1216d, 1226a, 1226b, 1226c, and 1226d. ) Can be determined.
- the image decoding apparatus 100 performs a processing order of the third coding units 1216a, 1216b, 1216c, 1216d, 1226a, 1226b, 1226c, and 1226d according to a form in which the first coding unit 1200 is split. You can decide.
- the image decoding apparatus 100 determines the third coding units 1216a, 1216b, 1216c, and 1216d by dividing the second coding units 1210a and 1210b generated by being split in the vertical direction, respectively, in the horizontal direction.
- the image decoding apparatus 100 may first process the third coding units 1216a and 1216c included in the left second coding unit 1210a in the vertical direction, and then process the third coding units 1216a and 1216c included in the right second coding unit 1210b.
- the third coding units 1216a, 1216b, 1216c, and 1216d may be processed according to an order 1217 of processing the third coding units 1216b and 1216d in the vertical direction.
- the image decoding apparatus 100 determines the third coding units 1226a, 1226b, 1226c, and 1226d by dividing the second coding units 1220a and 1220b generated by being split in a horizontal direction in a vertical direction, respectively.
- the image decoding apparatus 100 may first process the third coding units 1226a and 1226b included in the upper second coding unit 1220a in the horizontal direction, and then process the third coding units 1226a and 1226b included in the lower second coding unit 1220b.
- the third coding units 1226a, 1226b, 1226c, and 1226d may be processed according to an order 1227 of processing the third coding units 1226c and 1226d in the horizontal direction.
- second coding units 1210a, 1210b, 1220a, and 1220b are respectively divided to determine square-shaped third coding units 1216a, 1216b, 1216c, 1216d, 1226a, 1226b, 1226c, and 1226d. have.
- the second coding units 1210a and 1210b determined by splitting in the vertical direction and the second coding units 1220a and 1220b determined by splitting in the horizontal direction are split into different forms, but the third coding unit 1216a determined later , 1216b, 1216c, 1216d, 1226a, 1226b, 1226c, and 1226d), eventually, the first coding unit 1200 is divided into coding units of the same type.
- the image decoding apparatus 100 recursively divides coding units through different processes based on at least one of block type information and information about a split type mode, and consequently determines coding units of the same type, A plurality of coding units determined as may be processed in different orders.
- FIG. 16 illustrates a process of determining a depth of a coding unit according to a change in a shape and size of a coding unit when coding units are recursively split to determine a plurality of coding units, according to an embodiment.
- the image decoding apparatus 100 may determine a depth of a coding unit according to a predetermined criterion.
- the predetermined criterion may be the length of the long side of the coding unit.
- the depth of the current coding unit is greater than the depth of the coding unit before splitting. It can be determined that the depth is increased by n.
- a coding unit having an increased depth is expressed as a coding unit having a lower depth.
- the image decoding apparatus 100 may be split to determine a second coding unit 1302 and a third coding unit 1304 having a lower depth. If the size of the square-shaped first coding unit 1300 is 2Nx2N, the second coding unit 1302 determined by dividing the width and height of the first coding unit 1300 by 1/2 times may have a size of NxN. have. Furthermore, the third coding unit 1304 determined by dividing the width and height of the second coding unit 1302 into 1/2 size may have a size of N/2xN/2.
- the width and height of the third coding unit 1304 are 1/4 times that of the first coding unit 1300.
- the depth of the second coding unit 1302 that is 1/2 times the width and height of the first coding unit 1300 may be D+1, and the first coding unit
- the depth of the third coding unit 1304, which is 1/4 times the width and height of 1300, may be D+2.
- block shape information indicating a non-square shape (for example, block shape information is '1: NS_VER' indicating that the height is a non-square that is longer than the width, or ′ indicating that the width is a non-square shape that is longer than the height. 2: NS_HOR′), the image decoding apparatus 100 divides the first coding unit 1310 or 1320 in a non-square shape to a second coding unit 1312 or 1322 having a lower depth, The third coding unit 1314 or 1324 may be determined.
- the image decoding apparatus 100 may determine a second coding unit (eg, 1302, 1312, 1322, etc.) by dividing at least one of the width and height of the first coding unit 1310 having a size of Nx2N. That is, the image decoding apparatus 100 may split the first coding unit 1310 in a horizontal direction to determine a second coding unit 1302 having a size of NxN or a second coding unit 1322 having a size of NxN/2, A second coding unit 1312 having a size of N/2xN may be determined by dividing in a horizontal direction and a vertical direction.
- a second coding unit eg, 1302, 1312, 1322, etc.
- the image decoding apparatus 100 determines a second coding unit (eg, 1302, 1312, 1322, etc.) by dividing at least one of a width and a height of the first coding unit 1320 having a size of 2NxN. May be. That is, the image decoding apparatus 100 may determine a second coding unit 1302 having a size of NxN or a second coding unit 1312 having a size of N/2xN by dividing the first coding unit 1320 in a vertical direction, A second coding unit 1322 having a size of NxN/2 may be determined by dividing in a horizontal direction and a vertical direction.
- a second coding unit eg, 1302, 1312, 1322, etc.
- the image decoding apparatus 100 determines a third coding unit (eg, 1304, 1314, 1324, etc.) by dividing at least one of a width and a height of the second coding unit 1302 having an NxN size. May be. That is, the image decoding apparatus 100 determines the third coding unit 1304 having a size of N/2xN/2 by dividing the second coding unit 1302 in a vertical direction and a horizontal direction, or The 3 coding units 1314 may be determined or a third coding unit 1324 having a size of N/2xN/4 may be determined.
- a third coding unit eg, 1304, 1314, 1324, etc.
- the image decoding apparatus 100 divides at least one of a width and a height of the second coding unit 1312 having a size of N/2xN to a third coding unit (eg, 1304, 1314, 1324, etc.). You can also decide. That is, the image decoding apparatus 100 splits the second coding unit 1312 in a horizontal direction to obtain a third coding unit 1304 having a size of N/2xN/2 or a third coding unit 1304 having a size of N/2xN/4. ) Or by dividing in a vertical direction and a horizontal direction to determine the third coding unit 1314 having a size of N/4xN/2.
- a third coding unit eg, 1304, 1314, 1324, etc.
- the image decoding apparatus 100 divides at least one of a width and a height of the second coding unit 1322 having a size of NxN/2 to a third coding unit (eg, 1304, 1314, 1324, etc.). You can also decide. That is, the image decoding apparatus 100 splits the second coding unit 1322 in a vertical direction to obtain a third coding unit 1304 having a size of N/2xN/2 or a third coding unit 1304 having a size of N/4xN/2. ) May be determined or divided in a vertical direction and a horizontal direction to determine the third coding unit 1324 of size N/2xN/4.
- a third coding unit eg, 1304, 1314, 1324, etc.
- the image decoding apparatus 100 may divide a square coding unit (eg, 1300, 1302, 1304) in a horizontal direction or a vertical direction.
- a square coding unit eg, 1300, 1302, 1304
- the first coding unit 1300 having a size of 2Nx2N is split in the vertical direction to determine the first coding unit 1310 having a size of Nx2N, or split in the horizontal direction to determine the first coding unit 1300 having a size of 2NxN.
- I can.
- the depth of the coding unit determined by splitting the first coding unit 1300 having a size of 2Nx2N in a horizontal direction or a vertical direction is the first coding It may be the same as the depth of the unit 1300.
- the width and height of the third coding unit 1314 or 1324 may be 1/4 times that of the first coding unit 1310 or 1320.
- the depth of the second coding unit 1312 or 1322 that is 1/2 times the width and height of the first coding unit 1310 or 1320 may be D+1
- the depth of the third coding unit 1314 or 1324 that is 1/4 times the width and height of the first coding unit 1310 or 1320 may be D+2.
- FIG. 17 illustrates a depth that may be determined according to a shape and size of coding units and a part index (hereinafter referred to as PID) for classifying coding units according to an embodiment.
- PID part index
- the image decoding apparatus 100 may determine various types of second coding units by dividing the first coding unit 1400 having a square shape. Referring to FIG. 14, the image decoding apparatus 100 divides a first coding unit 1400 in at least one of a vertical direction and a horizontal direction according to information on a split mode, and divides the second coding units 1402a and 1402b. , 1404a, 1404b, 1406a, 1406b, 1406c, 1406d). That is, the image decoding apparatus 100 determines the second coding units 1402a, 1402b, 1404a, 1404b, 1406a, 1406b, 1406c, 1406d based on the information on the split mode for the first coding unit 1400. I can.
- the second coding units 1402a, 1402b, 1404a, 1404b, 1406a, 1406b, 1406c, and 1406d which are determined according to information on the split mode for the first coding unit 1400 of a square shape, are long
- the depth may be determined based on the length of the side. For example, since the length of one side of the first coding unit 1400 in the square shape and the length of the long side of the second coding units 1402a, 1402b, 1404a, 1404b in the non-square shape are the same, the first coding unit ( 1400) and the non-square second coding units 1402a, 1402b, 1404a, and 1404b may have the same depth as D.
- the image decoding apparatus 100 divides the first coding unit 1400 into four square-shaped second coding units (1406a, 1406b, 1406c, 1406d) based on information on the split mode, a square Since the length of one side of the second coding units 1406a, 1406b, 1406c, and 1406d of the form is 1/2 times the length of one side of the first coding unit 1400, the second coding units 1406a, 1406b, 1406c, 1406d The depth of) may be a depth of D+1 that is one depth lower than the depth of D of the first coding unit 1400.
- the image decoding apparatus 100 splits a first coding unit 1410 having a height longer than a width in a horizontal direction according to information on a split mode, and splits a plurality of second coding units 1412a and 1412b. , 1414a, 1414b, 1414c).
- the image decoding apparatus 100 splits a first coding unit 1420 having a width longer than a height in a vertical direction according to information on a split mode, and splits a plurality of second coding units 1422a and 1422b. , 1424a, 1424b, 1424c).
- second coding units 1412a, 1412b, 1414a, 1414b, 1414c. 1422a, 1422b which are determined according to information on a split mode mode for a first coding unit 1410 or 1420 in a non-square form 1424a, 1424b, 1424c) may be determined based on the length of the long side.
- the length of one side of the second coding units 1412a and 1412b having a square shape is 1/2 times the length of one side of the first coding unit 1410 having a non-square shape whose height is longer than the width.
- the depth of the second coding units 1412a and 1412b of the shape is D+1, which is one depth lower than the depth D of the first coding unit 1410 of the non-square shape.
- the image decoding apparatus 100 may divide the first coding unit 1410 of the non-square shape into odd number of second coding units 1414a, 1414b, and 1414c based on the information on the split mode.
- the odd number of second coding units 1414a, 1414b, and 1414c may include second coding units 1414a and 1414c having a non-square shape and a second coding unit 1414b having a square shape.
- the length of the long side of the second coding units 1414a and 1414c of the non-square form and the length of one side of the second coding unit 1414b of the square form are 1/ of the length of one side of the first coding unit 1410 Since it is twice, the depth of the second coding units 1414a, 1414b, and 1414c may be a depth of D+1 that is one depth lower than the depth of D of the first coding unit 1410.
- the image decoding apparatus 100 is a method corresponding to the method of determining the depth of coding units related to the first coding unit 1410, and is related to the first coding unit 1420 having a non-square shape having a width greater than a height. The depth of coding units may be determined.
- a coding unit 1414b positioned in the middle of coding units 1414a, 1414b, and 1414c divided into odd numbers is a coding unit having the same width as other coding units 1414a and 1414c but different heights. It may be twice the height of the fields 1414a and 1414c. That is, in this case, the coding unit 1414b positioned in the center may include two of the other coding units 1414a and 1414c.
- the image decoding apparatus 100 may determine whether or not the odd-numbered coding units are of the same size based on whether there is a discontinuity in an index for distinguishing between the divided coding units.
- the image decoding apparatus 100 may determine whether to be split into a specific split type based on a value of an index for classifying a plurality of coding units determined by being split from a current coding unit. Referring to FIG. 14, the image decoding apparatus 100 determines an even number of coding units 1412a and 1412b by dividing a rectangular first coding unit 1410 having a height greater than a width, or an odd number of coding units 1414a and 1414b. , 1414c) can be determined. The image decoding apparatus 100 may use an index (PID) representing each coding unit to classify each of a plurality of coding units. According to an embodiment, the PID may be obtained from a sample (eg, an upper left sample) at a predetermined position of each coding unit.
- a sample eg, an upper left sample
- the image decoding apparatus 100 may determine a coding unit at a predetermined position among coding units that are split and determined using an index for classifying coding units. According to an embodiment, when it is indicated that information on a split mode for a first coding unit 1410 having a rectangular shape having a height longer than a width is split into three coding units, the image decoding apparatus 100 may use the first coding unit ( 1410) may be divided into three coding units 1414a, 1414b, and 1414c. The image decoding apparatus 100 may allocate indexes for each of the three coding units 1414a, 1414b, and 1414c. The image decoding apparatus 100 may compare an index for each coding unit in order to determine a coding unit among coding units divided into odd numbers.
- the image decoding apparatus 100 encodes a coding unit 1414b having an index corresponding to a middle value among the indices based on the indexes of the coding units, and a center position among coding units determined by splitting the first coding unit 1410. Can be determined as a unit.
- the image decoding apparatus 100 may determine the index based on a size ratio between coding units. .
- a coding unit 1414b generated by dividing the first coding unit 1410 is the same as the other coding units 1414a and 1414c, but the coding units 1414a and 1414c having different heights. It can be twice the height.
- the image decoding apparatus 100 may determine that the image decoding apparatus 100 is divided into a plurality of coding units including coding units having different sizes from other coding units. According to an example, when it is indicated that information on the split mode is divided into odd number of coding units, the video decoding apparatus 100 may determine that the coding unit (for example, the middle coding unit) at a predetermined position among the odd number of coding units is different from other coding units.
- the current coding unit may be split into a form having a different size.
- the image decoding apparatus 100 may determine a coding unit having a different size using an index (PID) for the coding unit.
- PID index
- the above-described index and the size or position of the coding unit at a predetermined position to be determined are specific for explaining an embodiment and should not be interpreted as being limited thereto, and various indexes and positions and sizes of the coding unit may be used. Must be interpreted.
- the image decoding apparatus 100 may use a predetermined data unit in which recursive division of coding units is started.
- FIG. 18 illustrates that a plurality of coding units are determined according to a plurality of predetermined data units included in a picture, according to an embodiment.
- the predetermined data unit may be defined as a data unit in which the coding unit starts to be recursively divided using at least one of block type information and information about a split type mode. That is, it may correspond to the coding unit of the highest depth used in the process of determining a plurality of coding units that split the current picture.
- a predetermined data unit will be referred to as a reference data unit.
- the reference data unit may represent a predetermined size and shape.
- the reference coding unit may include MxN samples.
- M and N may be the same as each other, and may be integers expressed as a multiplier of 2. That is, the reference data unit may represent a square or non-square shape, and may be divided into an integer number of coding units thereafter.
- the image decoding apparatus 100 may divide a current picture into a plurality of reference data units. According to an embodiment, the image decoding apparatus 100 may divide a plurality of reference data units for dividing a current picture using information on a division type mode for each reference data unit. The process of dividing the reference data unit may correspond to a dividing process using a quad-tree structure.
- the image decoding apparatus 100 may determine in advance a minimum size that a reference data unit included in a current picture may have. Accordingly, the image decoding apparatus 100 may determine a reference data unit of various sizes having a size equal to or greater than the minimum size, and use at least one of the block type information and the information on the split type mode based on the determined reference data unit.
- the coding unit can be determined.
- the image decoding apparatus 100 may use a reference coding unit 1500 in a square shape or a reference coding unit 1502 in a non-square shape.
- the shape and size of a reference coding unit are various data units that may include at least one reference coding unit (e.g., a sequence, a picture, a slice, and a slice segment ( slice segment), maximum coding unit, etc.).
- the acquirer 105 of the image decoding apparatus 100 may obtain at least one of information on a shape of a reference coding unit and information on a size of a reference coding unit from the bitstream for each of the various data units. have.
- the process of determining at least one coding unit included in the square-shaped reference coding unit 1500 has been described above through the process of dividing the current coding unit 300 of FIG. 3, and the non-square-shaped reference coding unit 1502
- the process of determining at least one coding unit included in) has been described above through a process in which the current coding unit 400 or 450 of FIG. 7 is split, so a detailed description thereof will be omitted.
- the image decoding apparatus 100 determines the size and shape of a reference coding unit according to some data units that are predetermined based on a predetermined condition, and an index for identifying the size and shape of the reference coding unit You can use That is, the acquisition unit 105 is a data unit having a size less than or equal to a slice among the various data units (eg, sequence, picture, slice, slice segment, maximum coding unit, etc.) from the bitstream. As a data unit satisfying ), only an index for identifying the size and shape of the reference coding unit may be obtained for each slice, slice segment, and maximum coding unit.
- the image decoding apparatus 100 may determine the size and shape of the reference data unit for each data unit that satisfies the predetermined condition by using the index.
- the bitstream utilization efficiency may be poor.
- only the index may be obtained and used. In this case, at least one of the size and shape of the reference coding unit corresponding to the index indicating the size and shape of the reference coding unit may be predetermined.
- the image decoding apparatus 100 selects at least one of the size and shape of the predetermined reference coding unit according to the index, so that at least one of the size and shape of the reference coding unit included in the data unit that is a reference for obtaining the index You can decide.
- the image decoding apparatus 100 may use at least one reference coding unit included in one largest coding unit. That is, at least one reference coding unit may be included in the largest coding unit for dividing an image, and a coding unit may be determined through a recursive splitting process of each reference coding unit. According to an embodiment, at least one of the width and height of the largest coding unit may correspond to an integer multiple of at least one of the width and height of the reference coding unit. According to an embodiment, the size of a reference coding unit may be a size obtained by dividing a maximum coding unit n times according to a quad tree structure.
- the image decoding apparatus 100 may determine the reference coding unit by dividing the maximum coding unit n times according to the quad tree structure, and according to various embodiments, block type information and information on the split type mode. It can be divided based on at least one of.
- FIG. 19 illustrates a processing block that serves as a reference for determining an order of determination of reference coding units included in the picture 1600, according to an embodiment.
- the image decoding apparatus 100 may determine at least one processing block for dividing a picture.
- a processing block is a data unit including at least one reference coding unit that divides an image, and at least one reference coding unit included in a processing block may be determined in a specific order. That is, the order of determination of at least one reference coding unit determined in each processing block may correspond to one of various types of order in which the reference coding unit may be determined, and an order of determination of the reference coding unit determined in each processing block May be different for each processing block.
- the order of determining the reference coding unit determined for each processing block is raster scan, Z-scan, N-scan, up-right diagonal scan, and horizontal scan ( Horizontal scan), vertical scan, etc. may be one of various orders, but the order that can be determined is limited to the scan orders and should not be interpreted.
- the image decoding apparatus 100 may determine the size of at least one processing block included in the image by obtaining information on the size of the processing block.
- the image decoding apparatus 100 may determine the size of at least one processing block included in the image by obtaining information on the size of the processing block from the bitstream.
- the size of the processing block may be a predetermined size of a data unit indicated by information about the size of the processing block.
- the acquisition unit 105 of the image decoding apparatus 100 may acquire information on the size of a processing block from a bitstream for each specific data unit.
- information on the size of a processing block may be obtained from a bitstream in data units such as an image, a sequence, a picture, a slice, and a slice segment. That is, the acquisition unit 105 may obtain information on the size of the processing block from the bitstream for each of the several data units, and the image decoding apparatus 100 divides the picture using the information on the size of the obtained processing block.
- the size of at least one processing block may be determined, and the size of such a processing block may be an integer multiple of the reference coding unit.
- the image decoding apparatus 100 may determine the size of the processing blocks 1602 and 1612 included in the picture 1600. For example, the image decoding apparatus 100 may determine the size of the processing block based on information on the size of the processing block obtained from the bitstream. Referring to FIG. 16, according to an embodiment, the image decoding apparatus 100 sets the horizontal size of the processing blocks 1602 and 1612 to 4 times the horizontal size of the reference coding unit and the vertical size to 4 times the vertical size of the reference coding unit. You can decide. The image decoding apparatus 100 may determine an order in which at least one reference coding unit is determined in at least one processing block.
- the image decoding apparatus 100 may determine each of the processing blocks 1602 and 1612 included in the picture 1600 based on the size of the processing block, and are included in the processing blocks 1602 and 1612. It is possible to determine an order of determining at least one of the reference coding units. According to an embodiment, determining the reference coding unit may include determining the size of the reference coding unit.
- the image decoding apparatus 100 may obtain information about a determination order of at least one reference coding unit included in at least one processing block from a bitstream, and based on the obtained determination order information Thus, an order in which at least one reference coding unit is determined may be determined.
- the information on the order of determination may be defined as an order or direction in which reference coding units are determined in a processing block. That is, the order in which the reference coding units are determined may be independently determined for each processing block.
- the image decoding apparatus 100 may obtain information on an order of determining a reference coding unit for each specific data unit from a bitstream.
- the acquirer 105 may obtain information on the determination order of the reference coding unit from the bitstream for each data unit such as an image, a sequence, a picture, a slice, a slice segment, and a processing block. Since the information on the determination order of the reference coding unit indicates the determination order of the reference coding unit within the processing block, the information on the determination order may be obtained for each specific data unit including an integer number of processing blocks.
- the image decoding apparatus 100 may determine at least one reference coding unit based on an order determined according to an embodiment.
- the acquisition unit 105 is information related to the processing blocks 1602 and 1612 from the bitstream, and may obtain information on the order of determining a reference coding unit, and the image decoding apparatus 100 An order of determining at least one reference coding unit included in (1602, 1612) may be determined, and at least one reference coding unit included in the picture 1600 may be determined according to the determining order of the coding units. Referring to FIG. 16, the image decoding apparatus 100 may determine a determination order 1604 and 1614 of at least one reference coding unit related to each of the processing blocks 1602 and 1612.
- the order of determining the reference coding unit related to each of the processing blocks 1602 and 1612 may be different for each processing block.
- the reference coding unit determination order 1604 related to the processing block 1602 is a raster scan order
- the reference coding units included in the processing block 1602 may be determined according to the raster scan order.
- the reference coding unit determination order 1614 related to the other processing block 1612 is in the reverse order of the raster scan order
- the reference coding units included in the processing block 1612 may be determined according to the reverse order of the raster scan order.
- the image decoding apparatus 100 may decode at least one determined reference coding unit according to an embodiment.
- the image decoding apparatus 100 may decode an image based on the reference coding unit determined through the above-described embodiment.
- a method of decoding the reference coding unit may include various methods of decoding an image.
- the image decoding apparatus 100 may obtain and use block type information indicating a type of a current coding unit or information about a split type mode indicating a method of dividing a current coding unit from a bitstream.
- the block type information or information on the split type mode may be included in a bitstream related to various data units.
- the video decoding apparatus 100 includes a sequence parameter set, a picture parameter set, a video parameter set, a slice header, and a slice segment header. Segment header) may use block type information or information on a segmentation type mode.
- the image decoding apparatus 100 may obtain and use a syntax element corresponding to block type information or information on a split type mode from a bitstream for each maximum coding unit, a reference coding unit, and processing block from the bitstream.
- Computer-readable recording media include storage media such as magnetic storage media (eg, ROM, floppy disk, hard disk, etc.) and optical reading media (eg, CD-ROM, DVD, etc.).
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Discrete Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
인덱스 | 0 | 1 | 2 | 3 | ... |
넓이 값 | 128 | 256 | 512 | ... | ... |
인덱스 | 0 | 1 | 2 | 3 | ... |
넓이 값 | 256 | 512 | 1024 | ... | ... |
인덱스 | 0 | 1 | 2 | 3 | ... |
넓이 값 | 128 | 256 | 512 | ... | ... |
인덱스 | 0 | 1 | 2 | 3 | ... |
넓이 값 | 256 | 512 | 1024 | ... | ... |
Claims (15)
- 현재 영상의 분할 형태 모드에 기초하여, 상기 현재 영상을 계층적으로 분할하여 현재 부호화 단위를 포함하는 적어도 하나의 부호화 단위를 획득하는 단계;소정의 차분 양자화 파라메터 시그널링 단위의 넓이를 기초로, 비트스트림으로부터 상기 현재 부호화 단위에 대한 차분 양자화 파라메터를 획득하는 단계;상기 현재 부호화 단위에 대한 예측 양자화 파라메터 및 상기 현재 부호화 단위에 대한 차분 양자화 파라메터를 이용하여 상기 현재 부호화 단위에 대한 양자화 파라메터를 획득하는 단계;상기 획득된 현재 부호화 단위에 대한 양자화 파라메터 및 상기 현재 부호화 단위에 포함된 변환 단위에 적어도 하나의 0이 아닌 계수가 존재하는지 여부를 기초로 하여, 상기 비트스트림 내 상기 현재 부호화 단위의 레지듀얼 정보를 기초로 획득된, 적어도 하나의 0이 아닌 계수를 역양자화하여, 적어도 하나의 역양자화된 계수를 획득하고, 상기 역양자화된 계수를 기초로, 상기 현재 부호화 단위의 레지듀얼 블록을 획득하는 단계;상기 획득된 현재 부호화 단위의 레지듀얼 블록을 기초로, 상기 현재 부호화 단위의 복원 블록을 획득하는 단계를 포함하고,상기 소정의 차분 양자화 파라메터 시그널링 단위의 넓이를 기초로, 상기 비트스트림으로부터 상기 현재 부호화 단위에 대한 차분 양자화 파라메터를 획득하는 단계는,상기 현재 부호화 단위의 넓이가 상기 소정의 차분 양자화 파라메터 시그널링 단위의 넓이보다 크거나 같은 경우, 상기 현재 부호화 단위의 크기가 변환 단위의 최대 크기보다 크다면, 상기 현재 부호화 단위로부터 분할된 복수의 변환 단위 중 첫번째로 복호화되는 변환 단위에 관한 정보로부터 상기 현재 부호화 단위에 대한 차분 양자화 파라메터를 획득하는 단계; 및상기 현재 부호화 단위의 넓이가 상기 소정의 차분 양자화 파라메터 시그널링 단위의 넓이보다 작은 경우, 상기 현재 부호화 단위를 포함하는 소정의 부호화 단위에 포함된 복수의 부호화 단위 중 첫번째로 복호화되는 부호화 단위 내 첫번째로 복호화되는 변환 단위에 관한 정보로부터 상기 현재 부호화 단위를 포함하는 소정의 부호화 단위에 대한 차분 양자화 파라메터를 획득하는 단계를 포함하고,상기 분할 형태 모드는 바이너리 분할 타입 및 터너리 분할 타입 중 하나를 포함하는 분할 타입에 기초한 모드이고,상기 소정의 부호화 단위의 넓이는 상기 소정의 양자화 파라메터 시그널링 단위의 넓이와 동일한 넓이이거나, 상기 소정의 양자화 파라메터 시그널링 단위의 넓이의 2배이고, 상기 소정의 부호화 단위의 넓이가 상기 소정의 양자화 파라메터 시그널링 단위의 넓이의 2배인 경우, 상기 소정의 부호화 단위의 분할 타입은 터너리 분할 타입인 것을 특징으로 하는 영상 복호화 방법.
- 제 1 항에 있어서,상기 현재 부호화 단위로부터 분할된 복수의 변환 단위 중 첫번째로 복호화되는 변환 단위에 관한 정보로부터 상기 현재 부호화 단위에 대한 차분 양자화 파라메터가 획득될 때, 상기 현재 부호화 단위에 포함된 적어도 하나의 변환 단위에, 적어도 하나의 0이 아닌 변환 계수가 포함되는지 여부를 나타내는 부호화 블록 플래그의 값에 관계없이, 상기 현재 부호화 단위에 대한 차분 양자화 파라메터가 획득되고,상기 현재 부호화 단위의 넓이가 상기 소정의 차분 양자화 파라메터 시그널링 단위의 넓이보다 작은 경우, 상기 현재 부호화 단위를 포함하는 소정의 부호화 단위에 포함된 복수의 부호화 단위 중 첫번째로 복호화되는 부호화 단위 내 첫번째로 복호화되는 변환 단위에 관한 정보로부터 상기 현재 부호화 단위를 포함하는 소정의 부호화 단위에 대한 차분 양자화 파라메터가 획득될 때, 상기 첫번째로 복호화되는 변환 단위에, 적어도 하나의 0이 아닌 변환 계수가 포함되는지 여부를 나타내는 부호화 블록 플래그의 값에 관계없이 상기 현재 부호화 단위를 포함하는 소정의 부호화 단위에 대한 차분 양자화 파라메터가 획득되는 것을 특징으로 하는 영상 복호화 방법.
- 제 1 항에 있어서,상기 소정의 차분 양자화 파라메터 시그널링 단위의 넓이를 기초로, 상기 비트스트림으로부터 현재 부호화 단위에 대한 차분 양자화 파라메터를 획득하는 단계는,상기 현재 부호화 단위의 넓이가 상기 소정의 차분 양자화 파라메터 시그널링 단위의 넓이보다 크거나 같은 경우, 상기 현재 부호화 단위의 크기가 변환 단위의 최대 크기보다 작거나 같다면, 상기 현재 부호화 단위와 동일한 크기의 변환 단위에, 적어도 하나의 0이 아닌 변환 계수가 포함되는지 여부를 나타내는 부호화 블록 플래그의 값을 기초로, 상기 현재 부호화 단위에 대한 차분 양자화 파라메터를 획득하는 단계를 더 포함하는 영상 복호화 방법.
- 제 3 항에 있어서,상기 부호화 블록 플래그의 값을 기초로, 상기 현재 부호화 단위에 대한 차분 양자화 파라메터가 획득하는 단계는,상기 현재 부호화 단위가 적어도 하나의 루마 성분 및 크로마 성분의 부호화 단위에 대응되는 경우,상기 현재 부호화 단위에 대응하는 루마 성분의 부호화 단위와 동일한 크기의 변환 단위에, 적어도 하나의 0이 아닌 변환 계수가 포함되는지 여부를 나타내는 제1 부호화 블록 플래그, 상기 현재 부호화 단위에 대응하는 크로마 성분 Cb의 부호화 단위와 동일한 크기의 변환 단위에, 0이 아닌 변환 계수가 포함되는지 여부를 나타내는 제2 부호화 블록 플래그 및 상기 현재 부호화 단위에 대응하는 크로마 성분 Cr의 부호화 단위와 동일한 크기의 변환 단위에, 0이 아닌 변환 계수가 포함되는지 여부를 나타내는 제3 부호화 블록 플래그의 값 중 적어도 하나를 기초로, 상기 현재 부호화 단위에 대한 차분 양자화 파라메터를 획득하는 단계를 포함하는 것을 특징으로 하는 영상 복호화 방법.
- 제 1 항에 있어서,상기 소정의 차분 양자화 파라메터 시그널링 단위의 넓이를 기초로, 비트스트림으로부터 상기 현재 부호화 단위에 대한 차분 양자화 파라메터를 획득하는 단계는,차분 양자화 파라메터에 대한 시그널링의 활성화 여부를 나타내는 플래그가 활성화함을 나타내고, 소정의 차분 양자화 파라메터의 시그널링 기법이 이용되는지 여부를 나타내는 플래그가 소정의 차분 양자화 파라메터의 시그널링 기법이 이용됨을 나타내는 경우,상기 현재 부호화 단위의 분할 여부를 나타내는 분할 플래그가 상기 현재 부호화 단위가 분할되지 않음을 나타내는 경우, 상기 현재 부호화 단위의 너비에 log2를 취한 값과 상기 현재 부호화 단위의 높이에 log2를 취한 값의 합이 상기 소정의 차분 양자화 파라메터 시그널링 단위의 넓이에 log2를 취한 값보다 크거나 같은 경우, 상기 현재 부호화 단위의 높이 또는 너비에 log2를 취한 값이 변환 단위의 최대 크기에 log2를 취한 값보다 크다면, 상기 현재 부호화 단위의 cuQpDeltaCode의 값을 소정의 제1값으로 결정하는 단계;상기 현재 부호화 단위의 높이 및 너비에 log2를 취한 값이 변환 단위의 최대 크기에 log2를 취한 값보다 작거나 같다면, 상기 현재 부호화 단위의 cuQpDeltaCode의 값을 소정의 제2값으로 결정하는 단계; 및상기 cuQpDeltaCode의 값 및 상기 부호화 단위에 포함된 변환 단위의 부호화 블록 플래그의 값을 식별하여, 상기 현재 부호화 단위에 대한 차분 양자화 파라메터를 획득하는 단계를 포함하는 것을 특징으로 하는 영상 복호화 방법.
- 제 1 항에 있어서,상기 소정의 차분 양자화 파라메터 시그널링 단위의 넓이를 기초로, 비트스트림으로부터 상기 현재 부호화 단위에 대한 차분 양자화 파라메터를 획득하는 단계는,차분 양자화 파라메터에 대한 시그널링의 활성화 여부를 나타내는 플래그가 활성화함을 나타내고, 소정의 차분 양자화 파라메터의 시그널링 기법이 이용되는지 여부를 나타내는 플래그가 소정의 차분 양자화 파라메터의 시그널링 기법이 이용됨을 나타내는 경우,상기 현재 부호화 단위를 포함하는 소정의 부호화 단위의 분할 여부를 나타내는 분할 플래그가 상기 소정의 부호화 단위가 분할됨을 나타내는 경우,상기 소정의 부호화 단위의 분할 타입이 터너리 분할 타입이고, 상기 소정의 부호화 단위의 너비에 log2를 취한 값과 상기 소정의 부호화 단위의 높이에 log2를 취한 값의 합이 상기 소정의 차분 양자화 파라메터 시그널링 단위의 넓이에 log2를 취한 값에 1을 더한 값과 같은 경우이거나, 상기 소정의 부호화 단위의 높이에 log2를 취한 값과 상기 소정의 부호화 단위의 높이에 log2를 취한 값의 합이 소정의 차분 양자화 파라메터 시그널링 단위의 넓이에 log2를 취한 값과 동일한 경우,상기 소정의 부호화 단위의 cuQpDeltaCode의 값을 소정의 제1값으로 결정하는 단계를 포함하고,상기 소정의 부호화 단위로부터 분할된, 현재 부호화 단위를 포함하는 복수의 부호화 단위의 cuQpDeltaCode의 값을 소정의 제1값으로 식별하는 단계;상기 현재 부호화 단위의 cuQpDeltaCode의 값을 식별하여, 상기 현재 부호화 단위에 대한 차분 양자화 파라메터를 획득하는 단계를 포함하는 것을 특징으로 하는 영상 복호화 방법.
- 제1항에 있어서,상기 소정의 차분 양자화 파라메터 시그널링 단위의 넓이는 상기 비트스트림의 PPS(Picture Parameter Set)로부터 획득된, 소정의 부호화 단위의 넓이에 log2를 취한값과 소정의 값 간의 차이에 관한 정보를 기초로 결정된 것을 특징으로 하는 방법.
- 현재 영상의 분할 형태 모드에 기초하여 상기 현재 영상을 계층적으로 분할하여 현재 부호화 단위를 포함하는 적어도 하나의 부호화 단위를 획득하고,소정의 차분 양자화 파라메터 시그널링 단위의 넓이를 기초로, 비트스트림으로부터 상기 현재 부호화 단위에 대한 차분 양자화 파라메터를 획득하고,상기 현재 부호화 단위에 대한 예측 양자화 파라메터 및 상기 현재 부호화 단위에 대한 차분 양자화 파라메터를 이용하여 상기 현재 부호화 단위에 대한 양자화 파라메터를 획득하고,상기 획득된 현재 부호화 단위에 대한 양자화 파라메터 및 상기 현재 부호화 단위에 포함된 변환 단위에 적어도 하나의 0이 아닌 계수가 존재하는지 여부를 기초로 하여, 상기 비트스트림 내 상기 현재 부호화 단위의 레지듀얼 정보를 기초로 획득된, 적어도 하나의 0이 아닌 계수를 역양자화하여, 적어도 하나의 역양자화된 계수를 획득하고, 상기 역양자화된 계수를 기초로, 상기 현재 부호화 단위의 레지듀얼 블록을 획득하고,상기 획득된 현재 부호화 단위의 레지듀얼 블록을 기초로, 상기 현재 부호화 단위의 복원 블록을 획득하는 적어도 하나의 프로세서를 포함하고,상기 적어도 하나의 프로세서가 상기 소정의 차분 양자화 파라메터 시그널링 단위의 넓이를 기초로, 상기 비트스트림으로부터 상기 현재 부호화 단위에 대한 차분 양자화 파라메터를 획득할 때,상기 적어도 하나의 프로세서는 상기 현재 부호화 단위의 넓이가 상기 소정의 차분 양자화 파라메터 시그널링 단위의 넓이보다 크거나 같은 경우, 상기 현재 부호화 단위의 크기가 변환 단위의 최대 크기보다 크다면, 상기 현재 부호화 단위로부터 분할된 복수의 변환 단위 중 첫번째로 복호화되는 변환 단위에 관한 정보로부터 상기 현재 부호화 단위에 대한 차분 양자화 파라메터를 획득하고, 상기 현재 부호화 단위의 넓이가 상기 소정의 차분 양자화 파라메터 시그널링 단위의 넓이보다 작은 경우, 상기 현재 부호화 단위를 포함하는 소정의 부호화 단위에 포함된 복수의 부호화 단위 중 첫번째로 복호화되는 부호화 단위의 첫번째로 복호화되는 변환 단위에 관한 정보로부터 상기 현재 부호화 단위를 포함하는 소정의 부호화 단위에 대한 차분 양자화 파라메터를 획득하고,상기 분할 형태 모드는 바이너리 분할 타입 및 터너리 분할 타입 중 하나를 포함하는 분할 타입에 기초한 모드이고,상기 소정의 부호화 단위의 넓이는 상기 소정의 양자화 파라메터 시그널링 단위의 넓이와 동일한 넓이이거나, 상기 소정의 양자화 파라메터 시그널링 단위의 넓이의 2배이고, 상기 소정의 부호화 단위의 넓이가 상기 소정의 양자화 파라메터 시그널링 단위의 넓이의 2배인 경우, 상기 소정의 부호화 단위의 분할 타입은 터너리 분할 타입인 것을 특징으로 하는 영상 복호화 장치.
- 제 8 항에 있어서,상기 현재 부호화 단위로부터 분할된 복수의 변환 단위 중 첫번째로 복호화되는 변환 단위에 관한 정보로부터 상기 현재 부호화 단위에 대한 차분 양자화 파라메터가 획득될 때, 상기 현재 부호화 단위에 포함된 적어도 하나의 변환 단위에, 적어도 하나의 0이 아닌 변환 계수가 포함되는지 여부를 나타내는 플래그의 값에 관계없이, 상기 현재 부호화 단위에 대한 차분 양자화 파라메터가 획득되고,상기 현재 부호화 단위를 포함하는 소정의 부호화 단위에 포함된 복수의 부호화 단위 중 첫번째로 복호화되는 부호화 단위의 첫번째로 복호화되는 변환 단위에 관한 정보로부터 현재 부호화 단위에 대한 차분 양자화 파라메터가 획득될 때, 상기 첫번째로 복호화되는 변환 단위에, 적어도 하나의 0이 아닌 변환 계수가 포함되는지 여부를 나타내는 플래그의 값에 관계없이 상기 현재 부호화 단위를 포함하는 소정의 부호화 단위에 대한 차분 양자화 파라메터가 획득되는 것을 특징으로 하는 영상 복호화 장치.
- 제 8 항에 있어서,상기 적어도 하나의 프로세서는, 상기 현재 부호화 단위의 넓이가 상기 소정의 차분 양자화 파라메터 시그널링 단위의 넓이보다 크거나 같은 경우, 상기 현재 부호화 단위의 크기가 최대 변환 단위의 크기보다 작거나 같다면, 상기 현재 부호화 단위와 동일한 크기의 변환 단위에, 적어도 하나의 0이 아닌 변환 계수가 포함되는지 여부를 나타내는 부호화 블록 플래그의 값을 기초로, 상기 현재 부호화 단위에 대한 차분 양자화 파라메터를 획득하는 것을 특징으로 하는 영상 복호화 장치.
- 제 8 항에 있어서, 상기 소정의 차분 양자화 파라메터 시그널링 단위의 넓이는 상기 비트스트림의 PPS(Picture Parameter Set)로부터 획득된, 소정의 차분 양자화 파라메터 시그널링 단위의 넓이에 log2를 취한값과 소정의 값 간의 차이에 관한 정보를 기초로 결정된 것을 특징으로 하는 영상 복호화 장치.
- 제 8 항에 있어서,상기 현재 부호화 단위를 포함하는 소정의 부호화 단위에 포함된 복수의 부호화 단위 중 첫번째로 복호화되는 부호화 단위의 첫번째로 복호화되는 변환 단위에 관한 정보로부터 현재 부호화 단위를 포함하는 소정의 부호화 단위에 대한 차분 양자화 파라메터가 획득될 때,상기 적어도 하나의 프로세서는, 상기 소정의 부호화 단위의 넓이가 상기 소정의 차분 양자화 파라메터 시그널링 단위의 넓이와 동일하거나, 상기 소정의 부호화 단위의 넓이가 상기 소정의 차분 양자화 파라메터 시그널링 단위의 넓이의 2배이고, 상기 소정의 부호화 단위의 분할 타입이 터너리 분할 타입인지를 식별하고,상기 식별 결과에 따라, 상기 현재 부호화 단위를 포함하는 소정의 복수의 부호화 단위 중 첫번째로 복호화되는 부호화 단위의 첫번째로 복호화되는 변환 단위에 관한 정보로부터 상기 현재 부호화 단위를 포함하는 소정의 부호화 단위에 대한 차분 양자화 파라메터를 획득하는 것을 특징으로 하는 영상 복호화 장치.
- 현재 영상의 분할 형태 모드에 기초하여 상기 현재 영상을 계층적으로 분할하여 현재 부호화 단위를 포함하는 적어도 하나의 부호화 단위를 획득하는 단계;상기 현재 부호화 단위에 포함된 적어도 하나의 계수를 획득하는 단계;상기 현재 부호화 단위에 포함된 적어도 하나의 계수에 대한 변환을 수행하여 적어도 하나의 변환 계수를 획득하는 단계;상기 획득된 적어도 하나의 변환 계수에 대한 양자화를 수행하여 적어도 하나의 양자화된 변환 계수 및 상기 현재 부호화 단위에 대한 양자화 파라메터를 획득하는 단계;상기 현재 부호화 단위에 대한 양자화 파라메터 및 예측 양자화 파라메터를 기초로, 상기 현재 부호화 단위에 대한 차분 양자화 파라메터를 획득하는 단계;소정의 차분 양자화 파라메터 시그널링 단위의 넓이를 기초로, 상기 현재 부호화 단위에 대한 차분 양자화 파라메터를 나타내는 신택스 엘리먼트를 생성하는 단계;상기 적어도 하나의 양자화된 변환 계수에 관한 정보를 포함하는 상기 현재 부호화 단위의 레지듀얼 정보를 생성하는 단계; 및상기 현재 부호화 단위의 레지듀얼 정보 및 상기 신택스 엘리먼트를 포함하는 비트스트림을 생성하는 단계를 포함하고,상기 분할 형태 모드는 바이너리 분할 및 터너리 분할 타입 중 하나를 포함하는 분할 타입에 기초한 모드이고,상기 신택스 엘리먼트를 생성하는 단계는,상기 현재 부호화 단위의 넓이가 상기 소정의 차분 양자화 파라메터 시그널링 단위의 넓이보다 크거나 같은 경우, 상기 현재 부호화 단위의 크기가 변환 단위의 최대 크기보다 크다면, 상기 현재 부호화 단위로부터 분할된 복수의 변환 단위 중 첫번째로 부호화되는 변환 단위에 관한 정보에 포함될, 상기 현재 부호화 단위에 대한 차분 양자화 파라메터를 나타내는 신택스 엘리먼트를 생성하는 단계; 및상기 현재 부호화 단위의 넓이가 상기 소정의 차분 양자화 파라메터 시그널링 단위의 넓이보다 작은 경우, 상기 현재 부호화 단위를 포함하는 소정의 부호화 단위에 포함된 복수의 부호화 단위 중 첫번째로 부호화되는 부호화 단위의 첫번째로 부호화되는 변환 단위에 관한 정보에 포함될 상기 현재 부호화 단위를 포함하는 소정의 부호화 단위에 대한 차분 양자화 파라메터를 나타내는 신택스 엘리먼트를 생성하는 단계를 포함하고,상기 소정의 부호화 단위의 넓이는 상기 소정의 양자화 파라메터 시그널링 단위의 넓이와 동일한 넓이이거나, 상기 소정의 양자화 파라메터 시그널링 단위의 넓이의 2배이고, 상기 소정의 부호화 단위의 넓이가 상기 소정의 양자화 파라메터 시그널링 단위의 넓이의 2배인 경우, 상기 소정의 부호화 단위의 분할 타입은 터너리 분할 타입인 것을 특징으로 하는 영상 부호화 방법.
- 제 13 항에 있어서,상기 소정의 차분 양자화 파라메터 시그널링 단위의 넓이를 나타내는 신택스 엘리먼트를 생성하는 단계를 더 포함하고,상기 비트스트림은 상기 소정의 차분 양자화 파라메터 시그널링 단위의 넓이를 나타내는 신택스 엘리먼트를 더 포함하고,상기 소정의 차분 양자화 파라메터 시그널링 단위의 넓이를 나타내는 신택스 엘리먼트는 상기 소정의 차분 양자화 파라메터 시그널링 단위의 넓이에 log2를 취한값과 소정의 값 간의 차이에 관한 정보인 것을 특징으로 하는 영상 부호화 방법.
- 제 1항에 의한 방법을, 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록 매체.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202080047055.1A CN114026856A (zh) | 2019-06-27 | 2020-06-26 | 图像编码方法和设备以及图像解码方法和设备 |
BR112021024064A BR112021024064A2 (pt) | 2019-06-27 | 2020-06-26 | Método de decodificação de imagem, aparelho de decodificação de imagem, método de codificação de imagem, e mídia de gravação legível por computador |
EP20832103.4A EP3993416A4 (en) | 2019-06-27 | 2020-06-26 | IMAGE CODING METHOD AND APPARATUS, AND IMAGE DECODING METHOD AND APPARATUS |
US17/527,770 US20220078422A1 (en) | 2019-06-27 | 2021-11-16 | Image encoding method and apparatus and image decoding method and apparatus |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US201962867375P | 2019-06-27 | 2019-06-27 | |
US62/867,375 | 2019-06-27 | ||
US201962904108P | 2019-09-23 | 2019-09-23 | |
US62/904,108 | 2019-09-23 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US17/527,770 Continuation US20220078422A1 (en) | 2019-06-27 | 2021-11-16 | Image encoding method and apparatus and image decoding method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020263022A1 true WO2020263022A1 (ko) | 2020-12-30 |
Family
ID=74061307
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/KR2020/008378 WO2020263022A1 (ko) | 2019-06-27 | 2020-06-26 | 영상 부호화 방법 및 장치, 영상 복호화 방법 및 장치 |
Country Status (7)
Country | Link |
---|---|
US (1) | US20220078422A1 (ko) |
EP (1) | EP3993416A4 (ko) |
KR (3) | KR102222480B1 (ko) |
CN (1) | CN114026856A (ko) |
BR (1) | BR112021024064A2 (ko) |
TW (1) | TW202107896A (ko) |
WO (1) | WO2020263022A1 (ko) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20140111139A (ko) * | 2013-03-07 | 2014-09-18 | 삼성전자주식회사 | 가변블록 사이즈 코딩 정보를 이용한 관심영역 코딩 방법 및 장치 |
KR20170023893A (ko) * | 2017-02-07 | 2017-03-06 | 인텔렉추얼디스커버리 주식회사 | 쿼드트리 구조 기반의 적응적 양자화 파라미터 부호화 및 복호화 방법 및 장치 |
US20170264904A1 (en) * | 2014-09-23 | 2017-09-14 | Intel Corporation | Intra-prediction complexity reduction using limited angular modes and refinement |
KR20170106592A (ko) * | 2016-03-11 | 2017-09-21 | 광운대학교 산학협력단 | 가변 크기의 양자화 계수 그룹을 이용한 비디오 코딩 방법 및 장치 |
US20170272745A1 (en) * | 2016-03-18 | 2017-09-21 | Mediatek Inc. | Method and Apparatus of Intra Prediction in Image and Video Processing |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017219342A1 (en) * | 2016-06-24 | 2017-12-28 | Mediatek Inc. | Methods of signaling quantization parameter for quad-tree plus binary tree structure |
WO2019050300A1 (ko) * | 2017-09-06 | 2019-03-14 | 가온미디어 주식회사 | 효과적인 차분양자화 파라미터 전송 기반 영상 부/복호화 방법 및 장치 |
EP3831061A4 (en) * | 2018-08-16 | 2022-06-15 | HFI Innovation Inc. | METHODS AND APPARATUS FOR REPORTING QUANTIFICATION PARAMETERS IN A VIDEO PROCESSING SYSTEM |
-
2020
- 2020-06-26 BR BR112021024064A patent/BR112021024064A2/pt unknown
- 2020-06-26 WO PCT/KR2020/008378 patent/WO2020263022A1/ko active Application Filing
- 2020-06-26 EP EP20832103.4A patent/EP3993416A4/en active Pending
- 2020-06-26 KR KR1020200078820A patent/KR102222480B1/ko active IP Right Grant
- 2020-06-26 CN CN202080047055.1A patent/CN114026856A/zh active Pending
- 2020-06-29 TW TW109121919A patent/TW202107896A/zh unknown
-
2021
- 2021-02-24 KR KR1020210025135A patent/KR102416440B1/ko active IP Right Grant
- 2021-11-16 US US17/527,770 patent/US20220078422A1/en active Pending
-
2022
- 2022-06-27 KR KR1020220078348A patent/KR102546694B1/ko active IP Right Grant
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20140111139A (ko) * | 2013-03-07 | 2014-09-18 | 삼성전자주식회사 | 가변블록 사이즈 코딩 정보를 이용한 관심영역 코딩 방법 및 장치 |
US20170264904A1 (en) * | 2014-09-23 | 2017-09-14 | Intel Corporation | Intra-prediction complexity reduction using limited angular modes and refinement |
KR20170106592A (ko) * | 2016-03-11 | 2017-09-21 | 광운대학교 산학협력단 | 가변 크기의 양자화 계수 그룹을 이용한 비디오 코딩 방법 및 장치 |
US20170272745A1 (en) * | 2016-03-18 | 2017-09-21 | Mediatek Inc. | Method and Apparatus of Intra Prediction in Image and Video Processing |
KR20170023893A (ko) * | 2017-02-07 | 2017-03-06 | 인텔렉추얼디스커버리 주식회사 | 쿼드트리 구조 기반의 적응적 양자화 파라미터 부호화 및 복호화 방법 및 장치 |
Non-Patent Citations (1)
Title |
---|
See also references of EP3993416A4 * |
Also Published As
Publication number | Publication date |
---|---|
KR102546694B1 (ko) | 2023-06-22 |
KR20220092847A (ko) | 2022-07-04 |
TW202107896A (zh) | 2021-02-16 |
KR20210002040A (ko) | 2021-01-06 |
US20220078422A1 (en) | 2022-03-10 |
EP3993416A4 (en) | 2023-03-15 |
BR112021024064A2 (pt) | 2022-04-26 |
KR102416440B1 (ko) | 2022-07-05 |
EP3993416A1 (en) | 2022-05-04 |
KR20210023954A (ko) | 2021-03-04 |
KR102222480B1 (ko) | 2021-03-04 |
CN114026856A (zh) | 2022-02-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020130730A1 (ko) | 영상 부호화 방법 및 장치, 영상 복호화 방법 및 장치 | |
WO2021006692A1 (ko) | 비디오 복호화 방법 및 장치, 비디오 부호화 방법 및 장치 | |
WO2020027551A1 (ko) | 영상 부호화 방법 및 장치, 영상 복호화 방법 및 장치 | |
WO2020060158A1 (ko) | 움직임 정보의 부호화 및 복호화 방법, 및 움직임 정보의 부호화 및 복호화 장치 | |
WO2020235951A1 (ko) | 영상 부호화 방법 및 장치, 영상 복호화 방법 및 장치 | |
WO2019172676A1 (ko) | 비디오 복호화 방법 및 장치, 비디오 부호화 방법 및 장치 | |
WO2020040619A1 (ko) | 비디오 복호화 방법 및 장치, 비디오 부호화 방법 및 장치 | |
WO2017090968A1 (ko) | 영상을 부호화/복호화 하는 방법 및 그 장치 | |
WO2020130712A1 (ko) | 삼각 예측 모드를 이용하는 영상 부호화 장치 및 영상 복호화 장치, 및 이에 의한 영상 부호화 방법 및 영상 복호화 방법 | |
WO2019066574A1 (ko) | 부호화 방법 및 그 장치, 복호화 방법 및 그 장치 | |
WO2019066472A1 (ko) | 영상 부호화 방법 및 장치, 영상 복호화 방법 및 장치 | |
WO2020076130A1 (ko) | 타일 및 타일 그룹을 이용하는 비디오 부호화 및 복호화 방법, 및 타일 및 타일 그룹을 이용하는 비디오 부호화 및 복호화 장치 | |
WO2019066514A1 (ko) | 부호화 방법 및 그 장치, 복호화 방법 및 그 장치 | |
WO2020040623A1 (ko) | 영상 부호화 방법 및 장치, 영상 복호화 방법 및 장치 | |
WO2020101429A1 (ko) | 양방향 예측을 이용한 영상의 부호화 및 복호화 방법, 및 영상의 부호화 및 복호화 장치 | |
WO2021141451A1 (ko) | 양자화 파라미터를 획득하기 위한 비디오 복호화 방법 및 장치, 양자화 파라미터를 전송하기 위한 비디오 부호화 방법 및 장치 | |
WO2019135558A1 (ko) | 비디오 복호화 방법 및 장치, 비디오 부호화 방법 및 장치 | |
WO2021049894A1 (ko) | 툴 세트를 이용하는 영상 복호화 장치 및 이에 의한 영상 복호화 방법, 및 영상 부호화 장치 및 이에 의한 영상 부호화 방법 | |
WO2019216712A1 (ko) | 비디오 부호화 방법 및 장치, 비디오 복호화 방법 및 장치 | |
WO2020117010A1 (ko) | 비디오 복호화 방법 및 장치, 비디오 부호화 방법 및 장치 | |
WO2020256468A1 (ko) | 주변 움직임 정보를 이용하여 움직임 정보를 부호화 및 복호화하는 장치, 및 방법 | |
WO2020189980A1 (ko) | 영상 부호화 방법 및 장치, 영상 복호화 방법 및 장치 | |
WO2021086153A1 (ko) | 어파인 모델에 따른 인터 예측을 수행하는 비디오 복호화 방법 및 그 장치, 비디오 부호화 방법 및 그 장치 | |
WO2020256521A1 (ko) | 제한된 예측 모드에서 복원후 필터링을 수행하는 비디오 부호화 방법 및 장치, 비디오 복호화 방법 및 장치 | |
WO2020045998A1 (ko) | 하드웨어 설계를 고려한 비디오 부호화 방법, 부호화 장치, 비디오 복호화 방법, 복호화 장치 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20832103 Country of ref document: EP Kind code of ref document: A1 |
|
REG | Reference to national code |
Ref country code: BR Ref legal event code: B01A Ref document number: 112021024064 Country of ref document: BR |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2020832103 Country of ref document: EP |
|
ENP | Entry into the national phase |
Ref document number: 2020832103 Country of ref document: EP Effective date: 20220127 |
|
REG | Reference to national code |
Ref country code: BR Ref legal event code: B01E Ref document number: 112021024064 Country of ref document: BR Free format text: APRESENTAR A TRADUCAO SIMPLES DA FOLHA DE ROSTO DA CERTIDAO DE DEPOSITO DAS PRIORIDADES US 62/867,375 DE 27/06/2019 E US 62/904,108 DE 23/09/2019 OU DECLARACAO CONTENDO, OBRIGATORIAMENTE, TODOS OS DADOS IDENTIFICADORES DESTAS CONFORME O ART. 15 DA PORTARIA 39/2021. A DECLARACAO APRESENTADA NAO E CLARA NA DISTINCAO DOS DADOS IDENTIFICADORES DAS PRIORIDADES E DO DEPOSITO INTERNACIONAL. |
|
ENP | Entry into the national phase |
Ref document number: 112021024064 Country of ref document: BR Kind code of ref document: A2 Effective date: 20211129 |