Abstract:
Provided are methods and apparatuses for encoding and decoding a motion vector including a method of decoding that includes obtaining a current coding unit hierarchically split from a maximum coding unit according to a current depth, obtaining a prediction mode information of a current prediction unit in the current coding unit from bitstream, when a prediction mode of the current prediction unit is inter-prediction mode, determining motion vector predictor candidates from among motion vectors of neighboring prediction units adjacent to the current prediction unit, and determining a motion vector predictor of the current prediction unit from among the motion vector predictor candidates, wherein the neighboring prediction unit comprises a first block directly to the left side of a leftmost block among blocks located directly to a bottom side of the current prediction unit and a second block located directly to a upper side of the first block.
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.
Abstract:
An encoding method and apparatus and a decoding method and apparatus for determining a motion vector of a current block based on a motion vector of at least one previously-encoded or previously-decoded block are provided. The decoding method includes: decoding information regarding a prediction direction from among a first direction, a second direction, and bi-directions, and information regarding pixel values of the current block; determining the prediction direction in which the current block is to be predicted, based on the decoded information regarding the prediction direction, and determining a motion vector for predicting the current block in the determined prediction direction; and restoring the current block, based on the determined motion vector and the decoded information regarding the pixel values, wherein the first direction is a direction from a current picture to a previous picture, and the second direction is a direction from the current picture to a subsequent picture.
Abstract:
A method of determining a reference image for inter-prediction includes: determining a slice type of a block; if the determining of the slice type indicates that the slice type is a B-slice type configured for uni-directional prediction or bi-directional prediction, determining an inter-prediction direction of the block to be one of a first direction, a second direction, and a bi-direction; if the determining of the inter-prediction direction indicates that the inter-prediction direction is not the second direction, determining a first direction reference index from a first direction reference picture list as a reference index for the block; and if the determining of the inter-prediction direction indicates that the inter-prediction direction is not the first direction, determining a second direction reference index from a second direction reference picture list as a reference index for the block.
Abstract:
A method of decoding a video includes determining an initial value of a quantization parameter (QP) used to perform inverse quantization on coding units included in a slice segment, based on syntax obtained from a bitstream; determining a slice-level initial QP for predicting the QP used to perform inverse quantization on the coding units included in the slice segment, based on the initial value of the QP; and determining a predicted QP of a first quantization group of a parallel-decodable data unit included in the slice segment, based on the slice-level initial QP.
Abstract:
Provided are entropy encoding and entropy decoding for video encoding and decoding. The video entropy decoding method includes: determining a bin string and a bin index for a maximum coding unit that is obtained from a bitstream; determining a value of a syntax element by comparing the determined bin string with bin strings that is assignable to the syntax element in the bin index; storing context variables for the maximum coding unit when the syntax element is a last syntax element in the maximum coding unit, a dependent slice segment is includable in a picture in which the maximum coding unit is included, and the maximum coding unit is a last maximum coding unit in a slice segment; and restoring symbols of the maximum coding unit by using the determined value of the syntax element.
Abstract:
Provided are entropy encoding and entropy decoding for video encoding and decoding. The video entropy decoding method includes: determining a bin string and a bin index for a maximum coding unit that is obtained from a bitstream; determining a value of a syntax element by comparing the determined bin string with bin strings that is assignable to the syntax element in the bin index; storing context variables for the maximum coding unit when the syntax element is a last syntax element in the maximum coding unit, a dependent slice segment is includable in a picture in which the maximum coding unit is included, and the maximum coding unit is a last maximum coding unit in a slice segment; and restoring symbols of the maximum coding unit by using the determined value of the syntax element.
Abstract:
Provided are a video encoding method and a video decoding method according to spatial subdivisions based on splitting a picture into a first tile and a second tile, and splitting a current tile among the first tile and the second tile into at least one slice segment, encoding the first tile and the second tile, independently from each other, and encoding maximum coding units of a current slice segment among the at least one slice segment included in the current tile, with respect to the at least one slice segment included in the current tile.
Abstract:
Provided are a method and apparatus for estimating a motion vector using a plurality of motion vector predictors, an encoder, a decoder, and a decoding method. The method includes calculating spatial similarities between the current block and the plurality of neighboring partitions around the current block, selecting at least one of the neighboring partitions based on the calculated spatial similarities, and estimating a motion vector of the selected partition as the motion vector of the current block.
Abstract:
A motion prediction method includes determining, when a current slice is a B slice, a reference picture list to be used with respect to a current prediction unit from among prediction units included in a coding unit, and outputting, when a size of the current prediction unit is 4×8 or 8×4, inter-prediction index information of the current prediction unit indicating the reference picture list from among an L0 list and an L1 list, and when the size of the current prediction unit is not 4×8 or 8×4, the inter-prediction index information of the current prediction unit indicating the reference picture list from among the L0 list, the L1 list, and a bi-prediction list.