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:
In one embodiment, a method of predicting a motion vector for a current block in a current picture by a moving picture decoding device includes obtaining, by the moving picture decoding device, a direction of a reference picture of the current picture, based on comparison of a display order of the reference picture and a display order of the current picture, obtaining, by the moving picture decoding device, at least three motion vectors for at least three other blocks than the current block based on the direction of the reference picture, predicting, by the moving picture decoding device, a motion vector for the current block by using a median operation of the at least three motion vectors and decoding the current block in the current picture using the predicted motion vector for the current block.
Abstract:
In one embodiment, an apparatus includes a decoder. The decoder is configured to obtain first and second motion vectors of a block other than the current block. The other block neighbors the current block at one of a left, top and top right position. The decoder is configured to determine first and second motion vectors of the current block using the first and second motion vectors of the other block such that the first motion vector of the current block has a same direction as the first motion vector of the other block and the second motion vector of the current block has a same direction as the second motion vector of the other block.
Abstract:
The present invention includes obtaining block type identification information on a partition of the current macroblock when the current macroblock is intra-mixed, specifying a bock type of the current macroblock based on the block type identification information, obtaining an ultra prediction mode of the current macroblock according to the block type of the partition of the current macroblock, and predicting the current macroblock using the intra prediction mode and a pixel value of a neighboring block.
Abstract:
The present invention relates to an image information encoding and decoding method and a device for same. One embodiment of an image information encoding method according to the present invention, as an image information encoding method according to another embodiment of the present invention, includes the steps of: generating a restore block; applying a deblocking filter on the restore block; applying a Sample Adaptive Offset (SAO) on the restore block having the deblocking filter applied thereon; and transmitting information on the SAO application. During the applying of the SAO, the SAO is applied to chroma pixels, and during the transmitting of the information, in addition to information on whether the SAO is applied on the chroma pixels, at least one of area information, division information on the SAO coverage area, SAO type information, and SAO offset information is transmitted.
Abstract:
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.
Abstract:
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 anode 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.
Abstract:
The present invention relates to an image information encoding and decoding method and a device for same. One embodiment of an image information encoding method according to the present invention, as an image information encoding method according to another embodiment of the present invention, includes the steps of: generating a restore block; applying a deblocking filter on the restore block; applying a Sample Adaptive Offset (SAO) on the restore block having the deblocking filter applied thereon; and transmitting information on the SAO application. During the applying of the SAO, the SAO is applied to chroma pixels, and during the transmitting of the information, in addition to information on whether the SAO is applied on the chroma pixels, at least one of area information, division information on the SAO coverage area, SAO type information, and SAO offset information is transmitted.
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.
Abstract:
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.