摘要 |
A method determines 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, the method performs: evaluating a first condition to determine whether to encode or decode a second flag; if the first condition indicates the second flag should be used, encoding or decoding the second flag in encoding or decoding the slice; evaluating a second condition to determine whether to encode or decode position information that indicates a position that contains the collocated reference picture; and if the second condition indicates the position information should be used, encoding or decoding the position information in encoding or decoding the slice. If the first flag is a second value, the method does not encode or decode the second flag and the position information. |