摘要:
The present invention relates to a video signal decoding method for adding an intra prediction mode as a sub-macroblock type to prediction of a macroblock in coding a video signal. Some implementations may include obtaining a macroblock type, when a macroblock includes the intra prediction coded sub-macroblock and the inter prediction coded sub-macroblock based on the macroblock type, obtaining prediction mode flag information indicating whether the sub-macroblock is the intra prediction coded or the inter prediction coded, and obtaining a prediction value of the sub-macroblock. Accordingly, implementations disclosed herein may raise coding efficiency of video signal by adding an intra prediction mode as a sub-macroblock type in predicting a macroblock.
摘要:
The present invention relates to a video signal decoding method for adding an intra prediction mode as a sub-macroblock type to prediction of a macroblock in coding a video signal. Some implementations may include obtaining a macroblock type, when a macroblock includes the intra prediction coded sub-macroblock and the inter prediction coded sub-macroblock based on the macroblock type, obtaining prediction mode flag information indicating whether the sub-macroblock is the intra prediction coded or the inter prediction coded, and obtaining a prediction value of the sub-macroblock. Accordingly, implementations disclosed herein may raise coding efficiency of video signal by adding an intra prediction mode as a sub-macroblock type in predicting a macroblock.
摘要:
The present invention relates to a method for decoding a video signal, comprising the steps of: acquiring a transform size flag of the current macroblock from a video signal; checking the number of non-zero transform coefficients at each pixel position in a first transform block which corresponds to the transform size flag; changing a scan order of the first transform block by prioritizing the position of the pixel having the greatest number of the non-zero transform coefficients in the first transform block; determining the number of the non-zero transform coefficients at each pixel position in a second transform block, and setting the changed scan order of the first transform block as an initialized scan order of the second transform block; adding the number of the non-zero transform coefficients at each pixel position in the first transform block and the number of the non-zero transform coefficients at each pixel position in the second transform block, and changing the scan order of the second transform block by prioritizing the position of the pixel having the greatest number of the non-zero transform coefficients; and decoding the transform coefficients arranged in the scan order changed in the previous step, wherein the first transform block and the second transform block have sizes corresponding to the transform size flag, and are contained in the current macroblock.
摘要:
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.
摘要:
An intra prediction method and a device using the intra prediction method are provided. The intra prediction method includes the steps of: deriving a current prediction mode as a prediction mode of a current block; constructing neighboring samples of the current block with available reference samples; filtering the available reference samples; and generating predicted samples of the current block on the basis of the filtered available reference samples. The filtering step includes performing the filtering using the available reference sample located in the prediction direction of the current prediction mode and a predetermined number of available reference samples neighboring to the prediction direction of the current prediction mode.
摘要:
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.
摘要:
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.