Abstract:
Provided is an image decoding method including: determining a first coding block and a second coding block corresponding to the first coding block; when a size of the first coding block is equal to or smaller than a preset size, obtaining first split shape mode information and second split shape mode information from a bitstream; determining a split mode of the first coding block, based on the first split shape mode information, and determining a split mode of the second coding block, based on the second split shape mode information; and decoding a coding block of a first color component which is determined based on the split mode of the first coding block and a coding block of a second color component which is determined based on the split mode of the second coding block.
Abstract:
Provided is a video decoding method including obtaining encoding order information indicating whether an encoding order of a first block and a second block that are adjacent to each other is changed; determining the encoding order of the first block and the second block, based on the encoding order information; and decoding the first block and the second block, according to the determined encoding order.
Abstract:
An entropy encoding device and method, and an entropy decoding device and method are disclosed. The entropy encoding method comprises the steps of: dividing a transform unit into a plurality of zones, and dividing each of the plurality of zones into sub zones; setting, as the first value, the value of the last zone flag, in which a sub zone including a valid transform coefficient among the plurality of zones is included, and setting, as the second value, the value of a zone flag of the remaining zones; setting, as the first value, the value of a sub zone flag of the divided sub zones having the valid transform coefficient, and setting, as the second value, a value of a sub zone flag of the divided sub zones which do not include the valid transform coefficient; determining a preset coefficient coding scheme among a plurality of coefficient coding schemes on the basis of the zone flag and the sub zone flag; encoding a coefficient included in a sub zone on the basis of the determined coefficient coding scheme; and transmitting data on the zone flag, the sub zone flag, and the encoded coefficient.
Abstract:
Provided is an image encoding method including determining at least one sample value related to a first block, based on sample values of previously-reconstructed reference samples; determining at least one pattern in which samples of the first block are to be arranged; generating one or more candidate prediction blocks for the first block, based on the at least one sample value and the at least one pattern; and determining prediction values of the samples of the first block, based on one of the one or more candidate prediction blocks.
Abstract:
Provided are a method and apparatus for determining a context model for entropy encoding and decoding of a transformation coefficient. According to the method and apparatus, a context set index ctxset is obtained based on color component information of a transformation unit, a location of a current subset, and whether there is a significant transformation coefficient having a value greater than a first critical value in a previous subset, and a context offset c1 is obtained based on a length of a previous transformation coefficient having consecutive 1s. Also, a context index ctxids for entropy encoding and decoding of a first critical value flag is determined based on the obtained context set index and the context offset.
Abstract:
A scalable video encoding method includes splitting a lower-layer image into a maximum coding unit, and encoding the lower-layer image based on coding units having a tree structure obtained by hierarchically splitting the maximum coding unit; splitting a maximum coding unit of an upper-layer image corresponding to the maximum coding unit of the lower-layer image into coding units having the tree structure, based on a split structure of the maximum coding unit of the lower-layer image; determining a structure of a prediction unit included in the coding units of the upper-layer image corresponding to the coding units of the lower-layer image, based on structure information indicating a structure of the prediction unit included in the coding units of the lower-layer image; and determining whether to split the prediction unit included in the coding units of the upper-layer image by comparing a first cost to a second cost.
Abstract:
Provided is a video decoding method including: obtaining affine parameter group candidates of a current block based on whether adjacent blocks of the current block are decoded; determining an affine parameter group of the current block from among the affine parameter group candidates, according to affine parameter information of the current block; and reconstructing the current block, based on one or more affine parameters included in the affine parameter group.
Abstract:
A method of decoding a motion vector includes: obtaining information indicating a motion vector resolution (MVR) of a current block from a bitstream; selecting one candidate block from among at least one candidate block, based on the MVR of the current block; and obtaining a motion vector of the current block corresponding to the MVR, by using a motion vector of the determined one candidate block as a prediction motion vector of the current block.
Abstract:
Provided is a video decoding method including: obtaining affine parameter group candidates of a current block based on whether adjacent blocks of the current block are decoded; determining an affine parameter group of the current block from among the affine parameter group candidates, according to affine parameter information of the current block; and reconstructing the current block, based on one or more affine parameters included in the affine parameter group.
Abstract:
According to an embodiment, an image decoding method and an image decoding apparatus capable of performing the image decoding method are provided. The image decoding method includes determining, based on image data obtained from a bitstream, a plurality of coding units included in a current slice that is one of a plurality of slices included in an image; determining a prediction method performed on a current coding unit that is one of the plurality of coding units; determining a quantization parameter of the current coding unit, based on whether the prediction method performed on the current coding unit is inter prediction or intra prediction; and decoding the image by using the determined quantization parameter. According to an embodiment, an image encoding method and an image encoding apparatus capable of performing the image encoding method involving processes opposite or similar to the image decoding method are provided.