摘要:
A video encoding method and apparatus and a video decoding method and apparatus are provided. The video encoding method encodes residual values included in a residual block of a current block after sub-sampling or down-sampling the residual values, thereby encoding and decoding the current block using a small number of residual values and thus improving the compression rate of video encoding.
摘要:
Provided is a method of and apparatus for video encoding and decoding based on motion estimation. The method includes generating a motion vector by searching a reference picture using pixels of a current block, generating a prediction motion vector that is a prediction value of the motion vector by searching the reference picture using previously encoded pixels located adjacent to the current block, and encoding the current block based on the motion vector and the prediction motion vector. By accurately predicting the motion vector of the current block, the number of bits required for encoding the motion vector can be reduced, thereby improving the compression rate of video data.
摘要:
A method and apparatus for encoding a skip macroblock by dividing the skip macroblock into smaller skip sub blocks and using predictive motion vectors predicted from motion vectors of blocks adjacent to the skip sub blocks, and a method and apparatus for decoding the skip macroblock is provided. Accordingly, by adding predetermined binary information indicating whether the skip macroblock is divided to the skip macroblock that generally transmits only prediction mode information, division of the skip macroblock can be adaptively applied, or all skip macroblocks can be divided into sub-blocks to be processed, so that pixel values in the skip macroblock can be predicted by using motion vectors of spatially adjacent blocks. Therefore, prediction efficiency increases.
摘要:
Provided is a method of encoding FGS layers by using weighted average sums. Method includes calculating a first weighted average sum by using a restored block of nth enhanced layer of a previous frame and a restored block of a base layer of a current frame; calculating a second weighted average sum by using a restored block of nth enhanced layer of a next frame and a restored block of a base layer of the current frame; generating a prediction signal of nth enhanced layer of the current frame by adding residual data of (n−1)th enhanced layer of the current frame to a sum of the first weighted average sum and the second weighted average sum; and encoding residual data of nth enhanced layer, which is obtained by subtracting the generated prediction signal of nth enhanced layer from the restored block of nth enhanced layer of the current frame.
摘要:
A method of encoding flags, a method of decoding flags and an apparatus thereof, in which flag encoding and decoding can be efficiently performed by using spatial correlation between various flags included a plurality of blocks are provided. The method includes collecting flag values respectively allocated to groups of the plurality of blocks according to spatial correlation of blocks to create a flag bit-string, dividing the flag bit-string into a plurality of divided bit-strings using a group size, setting a pattern bit indicating whether all bits included in the divided bit-strings are 0 or not, and performing entropy coding on the divided bit-strings according to the set pattern bit.
摘要:
A method and apparatus for performing a motion prediction using an inverse motion transformation are provided. The method includes generating a second motion vector by inverse-transforming a first motion vector of a second block in a lower layer, the second block corresponding to a first block in a current layer; predicting a motion vector of the first block using the second motion vector; and encoding the first block using the predicted motion vector. The apparatus includes a motion vector inverse-transforming unit that generates a second motion vector by inverse-transforming a first motion vector of a second block in a lower layer corresponding to a first block in a current layer; a predicting unit that predicts a motion vector of the first block using the second motion vector; and an inter-prediction encoding unit that encodes the first block using the predicted motion vector.
摘要:
Methods and apparatuses for encoding and decoding an intra prediction mode of a prediction unit of a chrominance component based on an intra prediction mode of a prediction unit of a luminance component are provided. When an intra prediction mode of a prediction unit of a luminance component is the same as an intra prediction mode in an intra prediction mode candidate group of a prediction unit of a chrominance component, reconstructing the intra prediction mode candidate group of the prediction unit of the chrominance component by excluding or replacing an intra prediction mode of the prediction unit of the chrominance component which is same as an intra prediction mode of the prediction unit of the luminance component from the intra prediction mode candidate group, and encoding the intra prediction mode of the prediction unit of the chrominance component by using the reconstructed intra prediction mode candidate group.
摘要:
Methods and apparatuses for encoding and decoding an intra prediction mode of a prediction unit of a chrominance component based on an intra prediction mode of a prediction unit of a luminance component are provided. When an intra prediction mode of a prediction unit of a luminance component is the same as an intra prediction mode in an intra prediction mode candidate group of a prediction unit of a chrominance component, reconstructing the intra prediction mode candidate group of the prediction unit of the chrominance component by excluding or replacing an intra prediction mode of the prediction unit of the chrominance component which is same as an intra prediction mode of the prediction unit of the luminance component from the intra prediction mode candidate group, and encoding the intra prediction mode of the prediction unit of the chrominance component by using the reconstructed intra prediction mode candidate group.
摘要:
A method of and apparatus for encoding and decoding an image are provided. According to the method and apparatus, a virtual motion vector is assigned to a block which is encoded in intra prediction mode, and when a motion vector of a block which is encoded in inter prediction mode after the intra block is decoded, the virtual motion vector assigned to the intra block is used.
摘要:
A method and apparatus for encoding and decoding motion information. The encoding method includes determining whether motion information of spatial prediction units that are spatially collocated to a current prediction unit and motion information of temporal prediction units that are temporally collocated to the current prediction are available; when the number of the motion information of the spatial prediction units and the motion information of the temporal prediction units is less than a predetermined number, generating additional candidate motion information by using the available motion information of the spatial prediction units and the motion information of the temporal prediction units such that the total number of pieces of candidate motion information is the predetermined number; and decoding motion information of the current prediction unit by using the ‘n’ pieces of motion information.