Patent ID: 11949907
Assignee: SUN PATENT TRUST
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 2:
3. A non-transitory computer-readable medium storing a bitstream, the bitstream comprising:
an encoded first flag corresponding to a first flag;
an encoded collocated reference picture index corresponding to a collocated reference picture index; and
an encoded motion vector corresponding to a motion vector, the bitstream being generated by performing an encoding method for coding a current block to be coded included in a current picture to be coded by inter predictive coding using a motion vector, the method comprising:
assigning one or more reference picture indexes to a reference picture list;
coding a first flag indicating whether or not temporal motion vector prediction using a temporal motion vector predictor which is a motion vector of a block included in a coded picture different from the current picture is used;
when the first flag indicates that the temporal motion vector prediction is used,
coding a collocated reference picture index for specifying the coded picture among a plurality of pictures indicated by the one or more reference picture indexes,
deriving a plurality of first motion vector predictor candidates including (i) a spatial motion vector predictor which is a motion vector of a block adjacent to the current block in the current picture and (ii) the temporal motion vector predictor being calculated based on a motion vector of the coded picture which is specified by the collocated reference picture index,
coding a motion vector used for performing inter predictive coding on the current block, using one of the first motion vector predictor candidates, and
outputting the coded first flag, the coded collocated reference picture index, and the coded motion vector; and

when the first flag indicates that the temporal motion vector prediction is not used,
deriving a plurality of second motion vector predictor candidates that do not include the temporal motion vector predictor, the second motion vector candidates including (i) the spatial motion vector predictor and (ii) a replacement vector, as a replacement for the temporal motion vector predictor, which has a value of zero,
coding a motion vector used for performing inter predictive coding on the current block, using one of the second motion vector predictor candidates, and
outputting the coded first flag and the coded motion vector,

wherein when the first flag indicates that the temporal motion vector prediction is not used, the collocated reference picture index is not coded.