CPC H04N 19/513 (2014.11) [H04N 19/103 (2014.11); H04N 19/176 (2014.11); H04N 19/44 (2014.11); H04N 19/52 (2014.11); H04N 19/70 (2014.11); H04N 19/61 (2014.11)] | 6 Claims |
1. A decoding method for decoding a current block of a picture from an encoded bitstream, the decoding method comprising:
deriving a candidate for a motion vector predictor to decode a current motion vector of the current block, from a first motion vector of a first block which is (i) a neighboring block that is included in a current picture including the current block and is adjacent to the current block or (ii) a co-located block included in a picture identified by a flag in a slice header;
adding the derived candidate to a candidate list;
deriving at least one motion vector predictor based on a candidate selected from the candidate list;
decoding the current motion vector using the derived at least one motion vector predictor; and
decoding the current block using the current motion vector,
wherein the deriving of the candidate includes determining whether to derive the candidate from the first motion vector, based on a type of a current reference picture and a type of a first reference picture, the current reference picture being referred to from the current block using the current motion vector, and the first reference picture being referred to from the first block using the first motion vector,
each of the type of the current reference picture and the type of the first reference picture is one of a long term reference picture and a short term reference picture, and
in the determining, (i) the candidate is determined to be derived from the first motion vector when the type of the current reference picture and the type of the first reference picture are the same, and (ii) the candidate is derived, from the candidate list which includes one or more candidates, by using a motion vector other than the first motion vector when the type of the current reference picture and the type of the first reference picture are different.
|