Abstract:
Provided is a video encoding method including: performing padding outside an input image such that a size of the input image is a multiple of a maximum coding unit; when a current maximum coding unit includes a padding area generated via the padding, determining a coding unit by splitting the current maximum coding unit by using a boundary of the input image and the padding area; determining information indicating whether a coding unit included in the padding area includes a nonzero coefficient to be 0; and encoding a bitstream including the determined information.
Abstract:
A decoding apparatus and a decoding method thereof are provided. The decoding apparatus includes a memory configured to store a reference image frame of a first definition that is decoded from a bit stream. The decoding apparatus further includes a decoder configured to determine, form the bit stream, a motion vector of a current block of a current image frame of a second definition, correct a size of the motion vector and a location of the current block based on a scaling factor, load, from the memory, a reference block that is the corrected motion vector away from the corrected location of the current block in the reference image frame, and decode the current image frame based on the reference block.
Abstract:
Provided is a method of encoding an image, the method including determining a scanning sequence for transforming one or more sub-blocks included in a transformation block to be identical to a sequence of quantizing the one or more sub-blocks; determining a sub-block for transformation from among the one or more sub-blocks according to the determined scanning sequence; and performing transformation by applying one or more transformation matrixes with respect to the sub-block for transformation.
Abstract:
Provided is a video encoding method including: calculating a difference value between a rate-distortion (R-D) cost of a first coefficient level from among coefficient levels of a sub-block and an R-D cost of a second coefficient level adjacent to the first coefficient level by using a distortion difference calculated by using an integer of the first coefficient level and an integer of the second coefficient level and a rate variation between the first coefficient level and the second coefficient level; selecting one of the integer values of the first and second coefficient levels as a modified value of the first coefficient level based on the difference value; and outputting the modified value of the first coefficient level.
Abstract:
Provided are a method and an apparatus for determining an intra prediction mode. The method includes: splitting a maximum coding unit into coding units of a first size; acquiring an edge direction of each of the coding units of the first size; grouping adjacent coding units of the first size based on uniformity of edge directions of the adjacent coding units of the first size; determining a size range of coding units to be applied to intra prediction on the intra prediction coding unit group; performing the intra prediction on the intra prediction coding unit group by using coding units having sizes included in the determined size range; and determining a coding unit for the intra prediction and an intra prediction mode of the coding unit by comparing costs according to the performed intra prediction on the coding units having the sizes included in the size range.