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:
Provided are scalable video encoding and decoding methods and apparatuses. A scalable video encoding method includes: encoding a lower layer image according to coding units having a tree structure, the coding units hierarchically split from maximum coding units of an image; determining scalable coding modes for performing scalable encoding on a higher layer image based on the coding units having the tree structure by referring to the lower layer image; predicting and encoding the higher layer image by referring to encoding information of the lower layer image based on the determined scalable coding modes; and outputting coding modes, predicted values of the lower layer image, and the determined scalable coding modes of the higher layer image based on the determined scalable coding modes.
Abstract:
Provided is a video decoding method including obtaining, from a bitstream, split information indicating whether a current block is to be split; when the split information does not indicate that the current block is to be split, decoding the current block according to encoding information about the current block; and when the split information indicates that the current block is to be split, splitting the current block into at least two lower blocks, obtaining encoding order information indicating an encoding order of the at least two lower blocks of the current block from the bitstream, determining a decoding order of the at least two lower blocks according to the encoding order information, and decoding the at least two lower blocks according to the decoding order.
Abstract:
A method of decoding a motion vector includes: determining at least one prediction motion vector (PMV) candidate block used to determine a PMV of a current block; determining an availability of a motion vector of the at least one PMV candidate block; when there is a PMV candidate block determined to be unavailable, determining the PMV of the current block by using a default motion vector (MV); and obtaining a motion vector of the current block based on the determined PMV.
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 mode information of a contour for determining at least one segment from a current block; determining whether first coordinates and second coordinates of the contour are derivable from a neighboring block of the current block, based on the mode information of the contour; when the first and second coordinates of the contour are derivable from the neighboring block of the current block, determining the at least one segment from the current block based on the first and second coordinates of the contour derived from the neighboring block of the current block; and performing prediction with respect to the determined at least one segment.
Abstract:
Provided is a video decoding method for signaling of sample adaptive offset (SAO) parameters, the video decoding method including obtaining, from a bitstream, position information of each of a plurality of bandgroups with respect to a current block comprised in a video; obtaining, from the bitstream, offsets with respect to bands comprised in each of the plurality of bandgroups; determining the plurality of bandgroups so as to compensate for a pixel sample value of the current block, based on the position information of each of the plurality of bandgroups; and compensating for a sample value of a reconstructed pixel comprised in the current block, by using the obtained offsets. In this regard, each of the plurality of determined bandgroups comprises at least one band.
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:
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.