CPC H04N 19/70 (2014.11) | 28 Claims |
1. A method for decoding of a video bitstream implemented by a decoding device, wherein the video bitstream includes data representing one or more sequence parameter set (SPS) flags, the method comprising:
obtaining two variables for an SPS flag of the one or more SPS flags, by parsing the video bitstream; wherein the value of one variable of the two variables is a minimum allowed value of the SPS flag, and the value of the other of the two variables is a maximum allowed value of the SPS flag;
obtaining a value of the SPS flag by parsing the video bitstream;
determining whether the value of the SPS flag is valid based on the values obtained for each of the two variables; and
when the value of the SPS flag is valid, decoding the video bitstream according to the value of the SPS flag; and
when the value of the SPS flag is not valid, stop decoding the video bitstream.
|