Abstract:
Provided is a video decoding method for reconstructing an image, the video decoding method including: obtaining reference image data from a bitstream; determining an attribute of the reference image data as a long-term reference attribute or a short-term reference attribute, according to a frequency of referring to the reference image data by image data to be decoded; storing the reference image data in a memory by using the attribute of the reference image data; and decoding an image by using the reference image data stored in the memory.
Abstract:
A video encoding apparatus comprises an encoder encoding input video; a decoder decoding video data, and a filter to compensate for a pixel value of the encoded video data. An adaptive loop filter (ALF) parameter predictor generates an ALF filter parameter using the decoded video data. The ALF filter parameter is applied to an ALF filter to compensate a current pixel by using a pixel adjacent to the current pixel and a filter coefficient with respect to the neighboring pixel; a sample adaptive offset (SAO) filter unit applied to the decoded video data compensates for a current pixel by using at least one of an edge offset and a band offset; an ALF filter unit applies the ALF filter parameter, the ALF filter to video data to which the SAO filter has been applied; and an entropy encoder performs entropy encoding on the ALF filter parameter.
Abstract:
A processing apparatus has a processor including a first memory. The processor divides a frame in video content into a plurality of coding units (CUs), and encodes the plurality of CUs in a diagonal direction to generate an encoded frame, wherein when a first CU is encoded based on a first encoding type, the processor is further configured to load, from a second memory, a first partial region of a reference frame corresponding to first position information of the first CU to the first memory and encode the first CU based on the first partial region of the reference frame loaded from the second memory, and wherein, when the first CU is encoded based on a second encoding type, the processor is further configured to encode the first CU based on a first reference pixel value corresponding to the first position information of the first CU from the first memory.
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.
Abstract:
Provided are a method and apparatus for encoding a video and a method and apparatus for decoding a video. The method of encoding includes: determining, for a current block, bidirectional motion estimation information comprising an L0 motion vector, an L1 motion vector, an L0 reference vector, and an L1 reference picture by performing bidirectional motion estimation on the current block; determining whether to use the determined bidirectional motion estimation information as prediction information of the current block based on whether the L0 reference picture and the L1 reference picture are the same and based on a difference value between the L0 motion vector and the L1 motion vector; and in response to determining to use the determined bidirectional motion estimation information as the prediction information of the current block, encoding the determined bidirectional motion estimation information as the prediction information of the current block.