Abstract:
Provided are video encoding and decoding methods and apparatuses. The video encoding method includes: encoding a video based on data units having a hierarchical structure; determining a context model used for entropy encoding a syntax element of a data unit based on at least one piece of additional information of the data units; and entropy encoding the syntax element by using the determined context model.
Abstract:
A method of decoding an image in which wherein, when a prediction mode is an inter prediction mode, not an intra prediction mode, a size of at least one prediction unit in the coding unit is determined independently from a size of at least one transformation unit in the coding unit.
Abstract:
A method and apparatus for encoding and decoding a video are provided. The method of encoding the video includes: determining whether a unidirectional motion estimation mode and a bidirectional motion estimation mode are to be used based on a size of a current prediction unit to be encoded, performing the motion estimation and the motion compensation on the current prediction unit according to the determining of whether the unidirectional motion estimation mode and the bidirectional motion estimation mode are to be used, determining an optimum motion estimation mode of the current prediction unit based on an encoding cost of the current prediction unit obtained through the performing of the motion estimation and the motion compensation, and encoding information indicating the determined optimum motion estimation mode based on the size of the current prediction unit.
Abstract:
An image decoding apparatus in which a size of at least one transformation unit in a coding unit is determined independently from a size of at least one prediction unit in the coding unit.
Abstract:
A method of decoding an image including performing entropy-decoding to obtain quantized transformation coefficients of at least one transformation unit in a coding unit of the image, performing inverse-quantization and inverse-transformation on the quantized transformation coefficients of the at least one transformation unit to obtain residuals, and performing inter prediction for at least one prediction unit in the coding unit to generate a predictor and restoring the image by using the residuals and the predictor.
Abstract:
An apparatus for decoding an image includes an entropy decoder that performs entropy-decoding to obtain quantized transformation coefficients of at least one transformation unit in a coding unit of the image, an inverse transformer that performs inverse-quantization and inverse-transformation on the quantized transformation coefficients of the at least one transformation unit to obtain residuals, and a restorer that performs inter prediction for at least one prediction unit in the coding unit to generate a predictor and restores the image by using the residuals and the predictor.
Abstract:
An image decoding method including determining coding units having a hierarchical structure for decoding an image using split information of a coding unit, determining at least one prediction unit for predicting a coding unit among the coding units using information about a partition type, and determining at least one transformation unit for inversely transforming the coding unit using information about a depth of the at least one transformation unit, wherein the split information of a coding unit, the information about a partition type and the information about a depth of the at least one transformation unit are parsed from a bitstream, parsing from the bitstream transformation coefficients generated by transformation according to the at least one transformation unit generated by dividing the coding unit, and reconstructing residual of the at least one transformation unit by performing inverse quantization, and inverse transformation on the parsed transformation coefficients, and performing intra prediction or inter prediction on the prediction unit to generate a predictor, and reconstructing the image based on the residual and the predictor.
Abstract:
Disclosed is a method of encoding a video, the method including: splitting a current picture into at least one maximum coding unit; determining a coded depth to output a final encoding result according to at least one split region obtained by splitting a region of the maximum coding unit according to depths, by encoding the at least one split region, based on a depth that deepens in proportion to the number of times the region of the maximum coding unit is split; and outputting image data constituting the final encoding result according to the at least one split region, and encoding information about the coded depth and a prediction mode, according to the at least one maximum coding unit.
Abstract:
A method of decoding an image includes performing entropy-decoding to obtain quantized transformation coefficients of at least one transformation unit in a coding unit of the image, determining a prediction mode of at least one prediction unit in the coding unit from information indicating a prediction mode for the at least one prediction unit, when the prediction mode is determined to be an inter prediction mode, not in an intra prediction mode, determining a size of the at least one transformation unit in the coding unit regardless of a size of the at least one prediction unit in the coding unit, performing inverse-quantization and inverse-transformation on the quantized transformation coefficients of the at least one transformation unit to obtain residuals, and performing inter prediction for at least one prediction unit in the coding unit to generate a predictor and restoring the image by using the residuals and the predictor.
Abstract:
Encoding and decoding an image may be performed by setting a plurality of segments of a second color component block based on pixel values of a first color component block. The plurality of segments may be predicted by using different context pixels, and the second color component block may be encoded and decoded based on the predicted plurality of segments.