Abstract:
A motion vector encoding apparatus includes: a predictor configured to obtain motion vector predictor candidates of a plurality of predetermined motion vector resolutions by using a spatial candidate block and a temporal candidate block of a current block, and to determine motion vector predictor of the current block, a motion vector of the current block, and a motion vector resolution of the current block by using the motion vector predictor candidates; and an encoder configured to encode information representing the motion vector predictor of the current block, a residual motion vector between the motion vector of the current block and the motion vector predictor of the current block, and information representing the motion vector resolution of the current block, wherein the plurality of predetermined motion vector resolutions include a resolution of a pixel unit that is greater than a resolution of one-pel unit.
Abstract:
Provided are an image decoding method, according to an embodiment, capable of obtaining a residual signal of an image from a bitstream, changing a ratio of sizes of adjacent first blocks among a plurality of first blocks including the residual signal based on block ratio information obtained from the bitstream, and decoding the residual signal based on the changed ratio, wherein the block ratio information indicates one of predetermined ratios to which the ratio of the sizes of the adjacent first blocks is changeable; and an image decoding device capable of performing the image decoding method. Provided are also an image encoding method, according to an embodiment, capable of being performed in an opposite or similar way to the image decoding method; and an image encoding device capable of performing the image encoding method.
Abstract:
Provided is a method of decoding an image, the method including: determining at least one coding unit for splitting an image, based on block shape information of a current coding unit; determining at least one transformation unit, based on a shape of the current coding unit included in the at least one coding unit; and decoding the image by performing inverse transformation based on the at least one transformation unit, wherein the block shape information indicates whether the current coding unit is a square shape or a non-square shape. Also, provided is an encoding method corresponding to the decoding method. In addition, provided is an encoding apparatus or decoding apparatus capable of performing the encoding or decoding method.
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:
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:
A video decoding apparatus according to an embodiment may include: a receiver configured to receive a bitstream of an encoded video; a predictor configured to change a distribution of pixel values of neighboring reference pixels that are previously decoded, and generate a prediction block by performing intra prediction on a current block by using the neighboring reference pixels the distribution of the pixel values of which is changed; and a decoder configured to reconstruct the current block based on residual data obtained from the bitstream and the prediction block.
Abstract:
A video decoding apparatus including an extractor which extracts from a bitstream first pattern information indicating whether residual samples of a current coding unit are equal to 0, and when the first pattern information indicates the residual samples are not equal to 0, extracts from the bitstream transformation index information indicating whether a transformation unit of a current level included in the current coding unit is split, a decoder which splits the transformation unit of the current level into transformation units of a lower level when the transformation index information indicates a split of the transformation unit of the current level, wherein the extractor further extracts second pattern information for the transformation unit of the current level when the transformation index information indicates a non-split of the transformation unit of the current level, wherein the second pattern information indicates whether the transformation unit of the current level contains one or more transform coefficients not equal to 0, wherein the transformation unit of the current level is split into four transformation units of the lower level.
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:
Provided is an encoding method for encoding a last position of a significant transformation coefficient in lossless coding, according to an exemplary embodiment, the encoding method including: performing scanning from a first point to a second point of a coding unit in a predetermined order to obtain a transformation coefficient included in the coding unit; determining a last position of a significant transformation coefficient that is not 0 from among transformation coefficients included in the coding unit; determining position information corresponding to the determined last position with respect to the second point; and encoding the determined position information.
Abstract:
A method and apparatus for decoding video and a method and apparatus for encoding video are provided. The method for decoding video includes: receiving and parsing a bitstream of encoded video; extracting, from the bitstream, encoded image data of a current picture assigned to a maximum coding unit of the current picture, information regarding a coded depth of the maximum coding unit, information regarding an encoding mode, and coding unit pattern information indicating whether texture information of the maximum coding units has been encoded; and decoding the encoded image data for the maximum coding unit, based on the information regarding the coded depth of the maximum coding unit, the information regarding the encoding mode, and the coding unit pattern information.