Abstract:
A method of decoding an image including: obtaining information about an intra prediction mode applied to a current block to be decoded, from a bitstream; obtaining one of a left neighboring pixel whose location is determined based on j*dy>>n and a up neighboring pixel whose location is determined based on i*dx>>m, where a current pixel is located on (i,j), dx, dy, m and n are integers; performing intra prediction on the current pixel using one of the left neighboring pixel and the up neighboring pixel.
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:
A video decoding method and apparatus and a video encoding method and apparatus based on a scanning order of hierarchical data units are provided. The decoding method includes: receiving and parsing a bitstream of an encoded video; extracting from the bitstream information about a size of a maximum coding unit for decoding a picture of the encoded video, and encoding information about a coded depth and an encoding mode for coding units of the picture, wherein the size of the maximum coding unit is a maximum size of a coding unit which is a data unit for decoding the picture; and determining a hierarchical structure of the maximum coding unit and the coding units into which the picture is divided according to depths, and decoding the picture based on the coding units, by using the information about the size of the maximum coding unit and the encoding information about the coded depth and the encoded mode.
Abstract:
A method of encoding a video includes: splitting a picture into a maximum coding unit; for the maximum coding unit, determining coding units having a tree structure including coding units of coded depths and determining encoding modes for the coding units of the coded depths by performing encoding based on coding units according to depths, the coding units according to depths obtained by hierarchically splitting the maximum coding unit as a depth deepens; and outputting information about a maximum coding unit size and, for the maximum coding unit, information indicating an order of split information and skip mode information which is selectively determined for the coding units according to depths, information about the encoding modes for the coding units of the coded depths including the split information and the skip mode information which are arranged according to the order, and encoded video data.
Abstract:
Provided are methods and apparatuses for encoding and decoding a motion vector. The method of encoding a motion vector includes: selecting a mode from among a first mode in which information indicating a motion vector predictor of at least one motion vector predictor is encoded and a second mode in which information indicating generation of a motion vector predictor based on pixels included in a previously encoded area adjacent to a current block is encoded; determining a motion vector predictor of the current block according to the selected mode and encoding information about the motion vector predictor of the current block; and encoding a difference vector between a motion vector of the current block and the motion vector predictor of the current block.
Abstract:
A method of decoding an image including extracting information that indicates an intra prediction mode applied to a current block to be decoded, from a bitstream; determining one of neighboring pixels adjacent to the current block and filtered neighboring pixels filtered from the neighboring pixels as reference pixels, based on at least one of a size of the current block and an intra prediction mode of the current block; performing intra prediction on the current block using the extracted information and the determined reference pixels, wherein, when the current block has a size of N×N, where N is integer, the neighboring pixels include 2N neighboring pixels adjacent to an upper side and an upper right side of the current block and 2N neighboring pixels adjacent to a left side and a below left side of the current block.
Abstract:
A method and apparatus for encoding video by using deblocking filtering, and a method and apparatus for decoding video by using deblocking filtering are provided. The method of encoding video includes: splitting a picture into a maximum coding unit; determining coding units of coded depths and encoding modes for the coding units of the maximum coding unit by prediction encoding the coding units of the maximum coding unit based on at least one prediction unit and transforming the coding units based on at least one transformation unit, wherein the maximum coding unit is hierarchically split into the coding units as a depth deepens, and the coded depths are depths where the maximum coding unit is encoded in the coding units; and performing deblocking filtering on video data being inversely transformed into a spatial domain in the coding units, in consideration of the encoding modes.
Abstract:
Disclosed are a method and apparatus for encoding a video, and a method and apparatus for decoding a video, in which neighboring pixels used to perform intra prediction on a current block to be encoded are filtered and intra prediction is performed by using the filtered neighboring pixels.
Abstract:
A method and apparatus for determining an intra prediction mode of a coding unit. Candidate intra prediction modes of a chrominance component coding unit, which includes an intra prediction mode of a luminance component coding unit, are determined, and costs of the chrominance component coding unit according to the determined candidate intra prediction modes are compared to determine a minimum cost intra prediction mode to be the intra prediction mode of the chrominance component coding unit.
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.