Extension data handling
AssigneeVelos Media, LLC
InventorsJonatan Samuelsson, Rickard Sjoberg
Life of this patent
Estimating the term…
Abstract
A length indicator associated with an encoded representation of a slice is parsed. The length indicator is indicative of a length of an extension field present in a slice header of the encoded representation. A decoder can then determine to ignore, during decoding of the encoded representation, any value of the extension field in the slice header where these values are identified based on the length indicator. As a consequence, an extension field can be added to slice headers and still enable legacy decoders to correctly decode the encoded representations.
Claims16
A decoding apparatus, comprising:
- a processor;
- and
- a memory storing instructions which when executed cause the decoding apparatus to:
- receive an encoded representation of a slice of a picture, the encoded representation of the slice comprising a slice header and slice data immediately following the slice header;
- identify, based on a picture parameter set identifier in the slice header, a picture parameter set associated with the encoded representation of the slice;
- determine, based on a slice header extension present flag included in the picture parameter set, whether or not the slice header comprises an extension field;
- when the slice header extension present flag indicates that the slice header comprises the extension field:
- parse a length value from the slice header, the length value specifying a length of the extension field in bytes;
- parse the extension field from the slice header such that each value of each byte included in the extension field is ignored;
- and
- parse and decode the slice data subsequent to the parsing of the extension field.
A decoding method, comprising:
- receiving, by a decoder, an encoded representation of a slice of a picture, the encoded representation of the slice comprising a slice header and slice data immediately following the slice header;
- identifying, based on a picture parameter set identifier in the slice header, a picture parameter set associated with the encoded representation of the slice;
- determining, based on a slice header extension present flag included in the picture parameter set, whether or not the slice header comprises an extension field;
- when the slice header extension present flag indicates that the slice header comprises the extension field:
- parsing a length value from the slice header, the length value specifying a length of the extension field in bytes;
- parsing the extension field from the slice header such that each value of each byte included in the extension field is ignored;
- and
- parsing and decoding the slice data subsequent to the parsing of the extension field.
A non-transitory computer readable medium storing instructions for decoding a slice of a picture, wherein the instructions, when executed by a processor, cause the processor to:
- identify, based on a picture parameter set identifier in the slice header, a picture parameter set associated with the encoded representation of the slice;
- determine, based on a slice header extension present flag included in the picture parameter set, whether or not the slice header comprises an extension field;
- when the slice header extension present flag indicates that the slice header comprises the extension field:
- parse a length value the slice header, the length value specifying a length of the extension field in bytes;
- and
- parse the extension field from the slice header such that each value of each byte included in the extension field is ignored;
- and
- parse and decode the slice data subsequent to the parsing of the extension field.
Dependencies are inferred from the claim text.