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:
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:
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:
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, determining at least one transformation unit for inversely transforming the coding unit using split information 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, 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 reconstructs the image based on the residual and the predictor.
Abstract:
A method and apparatus for intra predicting a video. The method includes: determining availability of a predetermined number of adjacent pixels used for intra prediction of a current block; if a first adjacent pixel is unavailable, searching for a second adjacent pixel that is available by searching the predetermined number of adjacent pixels in a predetermined direction based on the first adjacent pixel; and replacing a pixel value of the first adjacent pixel with a pixel value of a found second adjacent pixel. At least one third adjacent pixel in another location, which is not available and excludes the first adjacent pixel at a predetermined location, is to sequentially replaced by using a directly adjacent pixel in a predetermined direction.
Abstract:
A video encoding method, a video encoding apparatus, a video decoding method, and a video decoding apparatus are provided. The video encoding method includes producing a fast transform matrix based on a transform matrix which is used for frequency transformation on a block which has a predetermined size; producing a transformed block by transforming the block having the predetermined size by using the fast transform matrix; and performing scaling with respect to the transformed block in order to correct a difference between the transform matrix used for the frequency transformation and the fast transform matrix.
Abstract:
Provided are a method and apparatus for intra predicting an image, which generate a prediction value via linear interpolation in horizontal and vertical directions of a current prediction unit. The method includes: generating first and second virtual pixels by using at least one adjacent pixel located upper right and lower left to a current prediction unit; obtaining a first prediction value of a current pixel via linear interpolation using an adjacent left pixel located on the same line as the first virtual pixel and the current pixel; obtaining a second prediction value of the current pixel via linear interpolation using an adjacent upper pixel located on the same column as the second virtual pixel and the current pixel; and obtaining a prediction value of the current pixel by using the first and second prediction values.
Abstract:
A method of encoding a video is provided, the method includes: determining a filtering boundary on which deblocking filtering is to be performed based on at least one data unit from among a plurality of coding units that are hierarchically configured according to depths indicating a number of times at least one maximum coding unit is spatially spilt, and a plurality of prediction units and a plurality of transformation units respectively for prediction and transformation of the plurality of coding units, determining filtering strength at the filtering boundary based on a prediction mode of a coding unit to which pixels adjacent to the filtering belong from among the plurality of coding units, and transformation coefficient values of the pixels adjacent to the filtering boundary, and performing deblocking filtering on the filtering boundary based on the determined filtering strength.
Abstract:
Methods and apparatuses for encoding and decoding an intra prediction mode of a prediction unit of a chrominance component based on an intra prediction mode of a prediction unit of a luminance component are provided. When an intra prediction mode of a prediction unit of a luminance component is the same as an intra prediction mode in an intra prediction mode candidate group of a prediction unit of a chrominance component, reconstructing the intra prediction mode candidate group of the prediction unit of the chrominance component by excluding or replacing an intra prediction mode of the prediction unit of the chrominance component which is same as an intra prediction mode of the prediction unit of the luminance component from the intra prediction mode candidate group, and encoding the intra prediction mode of the prediction unit of the chrominance component by using the reconstructed intra prediction mode candidate group.
Abstract:
A method and apparatus for intra predicting a video. The method includes: determining availability of a predetermined number of adjacent pixels used for intra prediction of a current block; if a first adjacent pixel is unavailable, searching for a second adjacent pixel that is available by searching the predetermined number of adjacent pixels in a predetermined direction based on the first adjacent pixel; and replacing a pixel value of the first adjacent pixel with a pixel value of a found second adjacent pixel. At least one third adjacent pixel in another location, which is not available and excludes the first adjacent pixel at a predetermined location, is sequentially replaced by using a directly adjacent pixel in a predetermined direction.