CA2841921C

Method and apparatus for encoding motion information and method and apparatus for decoding same

Abstract

Disclosed are a method and apparatus for encoding and decoding motion information. The method for encoding motion information of the present invention comprises the steps of: acquiring a motion information candidate using motion information contained in prediction units which are associated with a current prediction unit in terms of time and space; if the number of pieces of motion information contained in the motion information candidate is smaller than a predetermined number n, adding alternative motion information to the motion information candidate such that the number of pieces of motion information contained in the motion information candidate becomes the predetermined number n; determining motion information for the current prediction unit from among the number n of motion information candidates; and encoding, as motion information of the current prediction unit, index information indicating the determined motion information.

CA2841921C, drawing sheet 1
Sheet 1 of 27

Term

5.7 yearsleft in the term

Expires 14 June 2032.

  1. Priority and filed
  2. Granted
  3. Today
  4. Expires

1 claim: 1 independent, 0 dependent

  1. 1
    CLAIMS:1. A method of decoding a motion vector, the method comprising: obtaining a flag indicating whether a prediction mode of a current prediction unit is a merge mode which uses a motion vector included in merge motion vector candidates;when the flag indicates that the prediction mode of the current prediction unit is the merge mode, obtaining merge motion vector candidates by using motion vectors of a temporally neighboring prediction unit that is temporally related to the current prediction unit and motion vectors of spatially neighboring prediction units that are spatially related to the current prediction unit;when a number of motion vectors included in the obtained merge motion vector candidates is smaller than n-1, wherein n is a predetermined integer number, adding a plurality of zero vectors to the obtained merge motion vector candidates so that the number of motion vectors included in the merge motion vector candidates reaches the n;obtaining an index indicating a motion vector from among the n motion vectors included in the merge motion vector candidates from a bitstream;and obtaining a motion vector of the current prediction unit by using the motion vector indicated by the obtained index, wherein the predetermined integer number n is determined based on information regarding the predetermined integer number n, the information being included in at least one of a sequence parameter set (SPS), a picture parameter set (PPS), and a slice header.