CPC H04N 19/172 (2014.11) [H04N 19/136 (2014.11); H04N 19/16 (2014.11); H04N 19/46 (2014.11); H04N 19/70 (2014.11)] | 20 Claims |
1. In a computer system that implements a video decoder, a method comprising:
receiving encoded data in a bitstream for pictures of a video sequence, the encoded data including a first flag and a second flag that is a separate syntax element from the first flag, the first flag indicating whether source scan type of the pictures of the video sequence is interlaced, and the second flag indicating whether the source scan type of the pictures of the video sequence is progressive, wherein the first flag and the second flag collectively and exclusively indicate one of the following unique states for the source scan type of the pictures of the video sequence: a state indicating that the source scan type of the pictures of the video sequence is interlaced, a state indicating that the source scan type of the pictures of the video sequence is progressive, a state indicating that the source scan type of the pictures of the video sequence is unknown, and a state indicating that the source scan type is independently indicated for each picture of the pictures of the video sequence by a value of a picture-level syntax element that is to be signaled as part of an SEI message or to be inferred; and
decoding the encoded data to reconstruct at least some of the pictures of the video sequence, including determining, for a given picture among the pictures of the video sequence, the value of a given picture-level syntax element that indicates the source scan type of the given picture, the value of the given picture-level syntax element indicating one of the following states: a state indicating that the source scan type of the given picture is interlaced, a state indicating that the source scan type of the given picture is progressive, and a state indicating that the source scan type of the given picture is unknown, wherein the determining the value of the given picture-level syntax element includes:
determining whether or not the given picture-level syntax element is present in the encoded data;
if the given picture-level syntax element is present in the encoded data, setting the value of the given picture-level syntax element according to the given picture-level syntax element in the encoded data; and
otherwise, the given picture-level syntax element not being present in the encoded data, inferring the value of the given picture-level syntax element, including:
if the first flag and the second flag indicate that the source scan type of the pictures of the video sequence is progressive, inferring the value of the given picture-level syntax element to indicate that the source scan type of the given picture is progressive;
if the first flag and the second flag indicate that the source scan type of the pictures of the video sequence is interlaced, inferring the value of the given picture-level syntax element to indicate that the source scan type of the given picture is interlaced; and
otherwise, inferring the value of the given picture-level syntax element to indicate that the source scan type of the given picture is unknown.
|