Patent ID: 9549177
Date: 2017-01-17
CPC Classifications: H04N

Claim:
1. A method comprising: determining, by a computing device, a value for a first flag that controls whether a temporal motion vector is used for a slice; if the value of the first flag is a first value: evaluating, by the computing device, a first condition by determining a prediction type associated with the slice, wherein the first condition indicates that a second flag should be decoded if the prediction type associated with the slice is equal to a B type, the first condition indicates that the second flag should not be decoded if the prediction type is not equal to the B type, and the second flag indicates whether to use a first list containing a first list of reference pictures or a second list containing a second list of reference pictures for determining a collocated reference picture; decoding, by the computing device, the second flag in decoding the one or more blocks if the first condition indicates the second flag should be decoded; evaluating, by the computing device, a second condition to determine a number of reference pictures in the first list or the second list and whether to decode position information that indicates a position of the collocated reference picture in one of the first list or the second list; decoding, by the computing device, the position information in decoding the slice if the second condition indicates that the number of reference pictures in the first list or the second list is greater than one; and decoding, by the computing device, the position information in decoding the slice if the second condition indicates the position information should be decoded.