CPC H04N 19/513 (2014.11) [H04N 19/44 (2014.11); H04N 19/46 (2014.11); H04N 19/52 (2014.11); H04N 19/91 (2014.11)] | 2 Claims |
1. A method for encoding a motion vector of a current block of a picture in a sequence of pictures, the method comprising:
retrieving a candidate set of motion vectors;
determining that trimming is to be applied to the candidate set of motion vectors;
in response to determining that that trimming is to be applied, identifying a motion vector that will be trimmed from the candidate set of motion vectors, wherein the motion vector that will be trimmed from the candidate set is a duplicate of another motion vector in the candidate set;
updating the candidate set of motion vectors by discarding, from the candidate set of motion vectors, the motion vector identified to be trimmed;
encoding, in a bitstream corresponding to the sequence of pictures, the motion vector of the current block based on one or more motion vectors remaining the updated candidate set of motion vectors; and
encoding, in the bitstream, a flag indicating that candidate motion vector trimming is to be applied when decoding the sequence of pictures coded in the bitstream.
|