Abstract:
Provided are encoding and decoding methods and apparatuses for a video by selectively determining and using a scan mode. The video encoding method includes: generating transformation coefficients by performing transformation based on a transformation unit to encode an image; determining a scan mode, from among a plurality of scan modes, indicating a scanning direction of the generated transformation coefficients, based on characteristics of the transformation coefficients; and determining and outputting an encoding order of the generated transformation coefficients based on the scanning direction of the determined scan mode.
Abstract:
Provided are encoding and decoding methods and apparatuses for a video by selectively determining and using a scan mode. The video encoding method includes: generating transformation coefficients by performing transformation based on a transformation unit to encode an image; determining a scan mode, from among a plurality of scan modes, indicating a scanning direction of the generated transformation coefficients, based on characteristics of the transformation coefficients; and determining and outputting an encoding order of the generated transformation coefficients based on the scanning direction of the determined scan mode.
Abstract:
Encoding and decoding a motion vector using a motion vector of a current block of a current picture, which indicates a region corresponding to the current block in a first reference picture and one of generating a motion vector predictor from a motion vector of the adjacent block having a motion vector referring to the first reference picture among adjacent blocks encoded before the current block and a motion vector of an adjacent block referring to a second reference picture other than the first reference picture.
Abstract:
Encoding and decoding a motion vector using a motion vector of a current block of a current picture, which indicates a region corresponding to the current block in a first reference picture and one of generating a motion vector predictor from a motion vector of the adjacent block having a motion vector referring to the first reference picture among adjacent blocks encoded before the current block and a motion vector of an adjacent block referring to a second reference picture other than the first reference picture.
Abstract:
Encoding and decoding a motion vector using a motion vector of a current block of a current picture, which indicates a region corresponding to the current block in a first reference picture and one of generating a motion vector predictor from a motion vector of the adjacent block having a motion vector referring to the first reference picture among adjacent blocks encoded before the current block and a motion vector of an adjacent block referring to a second reference picture other than the first reference picture.
Abstract:
A method of decoding a video through symbol decoding includes parsing symbols of image blocks from a received bitstream; classifying a current symbol into a prefix bit string and a suffix bit string based on a threshold value determined according to a size of a current block; performing arithmetic decoding of the prefix bit string and the suffix bit string by using respective arithmetic decoding methods determined for each of the prefix bit string and the suffix bit string; performing inverse binarization of the prefix bit string and the suffix bit string by using respective binarization methods determined for each of the prefix bit string and the suffix bit string; and restoring the image blocks by performing an inverse transformation operation and a prediction operation on the current block by using the current symbol restored through the arithmetic decoding and the inverse binarization.
Abstract:
A method of decoding a video through symbol decoding includes parsing symbols of image blocks from a received bitstream; classifying a current symbol into a prefix bit string and a suffix bit string based on a threshold value determined according to a size of a current block; performing arithmetic decoding of the prefix bit string and the suffix bit string by using respective arithmetic decoding methods determined for each of the prefix bit string and the suffix bit string; performing inverse binarization of the prefix bit string and the suffix bit string by using respective binarization methods determined for each of the prefix bit string and the suffix bit string; and restoring the image blocks by performing an inverse transformation operation and a prediction operation on the current block by using the current symbol restored through the arithmetic decoding and the inverse binarization.
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:
Provided are encoding and decoding methods and apparatuses for a video by selectively determining and using a scan mode. The video encoding method includes: generating transformation coefficients by performing transformation based on a transformation unit to encode an image; determining a scan mode, from among a plurality of scan modes, indicating a scanning direction of the generated transformation coefficients, based on characteristics of the transformation coefficients; and determining and outputting an encoding order of the generated transformation coefficients based on the scanning direction of the determined scan mode.