Abstract:
A method of processing a video signal is disclosed. The present invention includes obtaining a current macroblock type, obtaining skip or direct mode indication information on a partition of the current macroblock according to the current macroblock type, deriving a motion vector of the partition according to the skip or direct mode indication information, and predicting a pixel value of the partition using the motion vector. Accordingly, the present invention obtains a pixel value of a reference block close to an original video using a motion vector, thereby enhancing a reconstruction ratio of the macroblock. As a macroblock uses skip or direct prediction indication information, it is unnecessary to separately code skip mode indication information and direct mode indication information on the macroblock, whereby an information size to be coded can be reduced.
Abstract:
A method for selecting a motion vector predictor is provided. The method of selecting a motion vector predictor includes the steps of selecting motion vector predictor candidates for a current block and selecting a motion vector predictor of the current block out of the motion vector predictor candidates, wherein the motion vector predictor candidates for the current block include a motion vector of a first candidate block which is first searched for as an available block out of left neighboring blocks of the current block and a motion vector of a second candidate block which is first searched for as an available block out of upper neighboring blocks of the current block.