CPC H04N 19/56 (2014.11) [H04N 19/172 (2014.11); H04N 19/176 (2014.11); H04N 19/51 (2014.11); H04N 19/513 (2014.11); H04N 19/52 (2014.11); H04N 19/58 (2014.11); H04N 19/61 (2014.11)] | 1 Claim |
1. An encoding method of encoding each block among blocks of pictures, the encoding method comprising:
selecting a first picture, the first picture being different from a picture that includes a current block to be encoded;
selecting a first block in the first picture in accordance with a predetermined sequence;
deriving a candidate for a motion vector predictor to be used in encoding of a motion vector for the current block, from a first motion vector used by encoding of the first block;
adding the derived candidate to a list of candidates;
selecting one motion vector predictor from the list of candidates; and
encoding the motion vector of the current block using the selected motion vector predictor, and encoding the current block using the motion vector and a reference picture of the current block,
wherein the reference picture of the current block is different from the first picture, and wherein the deriving includes:
determining whether the reference picture of the current block is a long-term reference picture or a short-term reference picture, and whether a first reference picture of the first block is a long-term reference picture or a short-term reference picture;
deriving the candidate from the first motion vector without scaling based on a temporal distance in the case of determining that each of the reference picture of the current block and the first reference picture of the first block is a long-term reference picture; and
deriving the candidate from the first motion vector by scaling based on a temporal distance in the case of determining that each of the reference picture of the current block and the first reference picture of the first block is a short-term reference picture.
|