Patent ID: 9204160
Filing Date: 2015-12-01
Classification: H04N

Abstract:
1. An apparatus configured to decode an image, the apparatus comprising: an entropy decoder which obtains a prediction mode of a current block, from a bitstream; a generating unit which, when the prediction mode of the current block is inter-prediction, obtains a spatial motion vector predictor candidate of the current block by using a motion vector of an available spatial prediction unit spatially related to the current block, obtains a temporal motion vector predictor candidate of the current block by using a motion vector of an available temporal prediction unit temporally related to the current block and when a number of spatial motion vector predictor candidates and temporal motion vector predictor candidates is smaller than a predetermined number n, where n is an integer equal to two or greater, adds a zero vector to be a motion vector predictor candidate so that a number of motion vector predictor candidates is to be the predetermined number n; and a motion information decoder which obtains information indicating a motion vector predictor among the motion vector predictor candidates from the bitstream, and obtains a motion vector predictor of the current block based on the information.