Avoidance of Redundant Signaling in Multi-Layer Video Bitstreams

SA522432168B1Active Publication Date: 2024-11-04HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
SA522432168
Authority / Receiving Office
SA · SA
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-04-05
Publication Date
2024-11-04
Estimated Expiration
2040-10-06

AI Technical Summary

Technical Problem

Existing video coding technologies face inefficiencies due to redundancy in signaling layer parameters in multi-layer video bit streams, leading to increased data requirements and reduced coding efficiency.

Method used

Implementing techniques to ensure that profile, tier, and level (PTL) parameters, hypothetical reference decoder (HRD) parameters, and decoded picture buffer (DPB) parameters are signaled only once across layers in a multilayer bitstream, reducing redundancy and enhancing coding efficiency.

Benefits of technology

This approach improves the coding process by minimizing redundancy, resulting in better user experiences during video transmission, reception, and display.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

Avoidance of Redundant Signaling in Multi-Layer Video Bitstreams A method of decoding is provided. The method includes receiving a video bitstream including a plurality of layers having sublayers and a video parameter set (VPS) including a first flag having a first value, wherein the first flag having the first value specifies that temporal identifiers (IDs) of a highest sublayer representation for level information, decoded picture buffer (DPB) parameters, and hypothetical decoder refresh (HRD) parameters are not present in the VPS and are inferred to be equal to a maximum number of the sublayers that may be present in a layer of the plurality of layers specified by the VPS; obtaining the level information, the HRD parameters, and the DPB parameters corresponding to the temporal ID of the highest sublayer representation from the VPS; and decoding a picture from one of the plurality of layers to obtain a decoded picture. A corresponding method of encoding is also provided. Fig 8.
Need to check novelty before this filing date? Find Prior Art

Description

<h2 style=";text-align:left;direction:ltr">Full description<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Background of the invention<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The present invention generally relates to techniques for multi-layer video bit streams in video coding. More specifically, this disclosure describes techniques for eliminating redundancy when signaling the corresponding layer parameters in a multi-layer video bit stream.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The amount of video data required to capture a relatively short video clip can be significant, which can present difficulties when data needs to be streamed or delivered over a communications network with limited bandwidth. Therefore, video data is generally compressed before being delivered over modern communications networks. Video size can also be an issue when storing video on a storage device, as memory resources may be limited. A video compressor often uses software and / or hardware at the source to encrypt the video data before transmission or storage, thereby reducing the amount of data required to represent digital video images. The compressed data is then received at the destination by a video decoder, which decodes the video data. Given limited network resources and ever-increasing demands for improved video quality, it is desirable to develop compression and decompression techniques that improve the compression ratio with little or no sacrifice in image quality.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">U.S. Patent No. 058895 / 2019-1A discloses a system for decoding a video bit stream. The system includes receiving a bit stream and a plurality of augmentation bit streams, as well as receiving a plurality of video variables and an extension of the video variables. The system further includes an output layer set change message containing information indicating a change in at least one output layer set.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> General description of the invention<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The first aspect relates to a decoding method implemented by a video decoder, comprising: receiving, by the video decoder, a video bitstream comprising a plurality of layers containing sublayers and a video parameter set (VPS) comprising a first tag having a first value, wherein the first tag having a first value specifies that the temporal identifier (ID) of the highest sublayer representation of the level information, the temporal identifier (ID) of the highest sublayer representation of the decoded picture buffer (DPB) parameters, and the temporal identifier (ID) of the highest sublayer representation of the hypothetical reference decoder (HRD) update parameters are not present in the VPS and are inferred to be equal to the maximum number of sublayers that may be present in a layer of the plurality of layers specified by the VPS; obtaining, by the video decoder, the level information, the HRD parameters, and the decoded picture buffer (DPB) parameters corresponding to the temporal identifier of the highest representation<h2 style=";text-align:left;direction:ltr">For the VPS sublayer; decoding - by the video decoder - an image from one layer of the layer set to obtain the decoded image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The method provides techniques to ensure that the same profile, tier, and level (PTL) parameters, hypothetical reference decoder (HRD) parameters, and decoded picture buffer (DPB) parameters are not referenced repeatedly across layers in a multilayer bitstream. Signaling the same PTL parameters, hypothetical reference decoder (HRD) update parameters, and DPB parameters only once reduces redundancy and increases coding efficiency for multilayer video bitstreams. Thus, the encoder / decoder (also known as the "encoder") in video coding is improved relative to existing encoders. In practice, this improved video coding process provides users with a better user experience when transmitting, receiving, and / or displaying video.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Optionally, in any of the above aspects, another implementation of the aspect specifies that the maximum number of subclasses lies in the range of one to seven, where the first value is one and the second value is zero.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Optionally, in any of the above aspects, another implementation of the aspect provides for including level information in the profile, layer, and level (PTL) parameters.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Optionally, in any of the above aspects, another implementation of the aspect specifies that the level information be contained in the -th profile_tier_level() syntax in the video parameter set (VPS).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Optionally, in any of the above aspects, another implementation of the aspect specifies that the DPB parameters be present in the i-th dpb_parameters() syntax structure in the VPS.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Optionally, in any of the above aspects, another implementation of the aspect specifies that the HRD parameters in the i-th ols_timing_hrd_parameters() syntax be in a VPS or sequence parameter set (SPS).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Optionally, in any of the above aspects, another implementation of the aspect specifies that the image is decoded using one or both of the level information and DPB parameters.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Optionally, in any of the above aspects, another implementation of the aspect specifies that the image is decoded without using HRD parameters.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Optionally, in any of the preceding aspects, another implementation of the aspect provides for displaying the decoded image on a display screen of an electronic device.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A second aspect relates to a method of encoding performed by a video encoder, wherein the method comprises: generating, by the video encoder, a layer set having sublayers and a video parameter set (VPS) comprising a first tag; setting, by the video encoder, the first tag to a first value to determine that the identifier (ID) of the highest sublayer representation of the level information, the ID of the highest sublayer representation of the decoded picture buffer (DPB) parameters, and the ID of the highest sublayer representation of the hypothetical reference decoder (HRD) update parameters is not present in the VPS and must be deduced to be equal to the maximum number of sublayers that may be present in a layer of the plurality of layers identified by the VPS; encoding, by the video encoder, the plurality of layers and the VPS into a video bitstream; and storing, by the video encoder, the video bitstream for communication towards a video decoder.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The method provides techniques that ensure that the same profile, tier, and level (PTL), virtual reference decoder (HRD), and decoded picture buffer (DPB) parameters are not signaled repeatedly for layers in a multilayer bitstream. Signaling the same PTL, HRD, and DPB parameters only once reduces redundancy and increases the coding efficiency of multilayer video bitstreams. Thus, the encoder / decoder (also known as the "encoder") in video coding is improved relative to existing encoders. In practice, this improved video coding process provides users with a better user experience when transmitting, receiving, and / or displaying video.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Optionally, in any of the above aspects, another implementation of the aspect specifies that the maximum number of sublayers is in the range of one to seven.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Optionally, in any of the above aspects, another implementation of the aspect specifies that level information is included in the profile, layer, and level (PTL) parameters.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Optionally, in any of the above aspects, another implementation of the aspect specifies that the level information is in the i-th profile_tier_level() syntax in the video parameter set (VPS), the DPB parameters are in the i-th dpb_parameters() syntax in the VPS, and the HRD parameters are in the i-th ols_timing_hrd_parameters() syntax in the VPS or sequence parameter set (SPS).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Optionally, in any of the above aspects, another implementation of the aspect provides for determining whether the encoded video bitstream is compatible using HRD parameters.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A third aspect relates to a decoder, comprising: a receiver configured to receive a video bitstream comprising a plurality of layers containing sublayers and a video parameter set (VPS) comprising a first tag with a first value, wherein the tag with the first value specifies that the temporary identifier (ID) of the highest sublayer representation of the level information, the temporary identifier (ID) of the highest sublayer representation of the decoded picture buffer (DPB) parameters, and the temporary identifier (ID) of the highest sublayer representation of the hypothetical reference decoder (HRD) update parameters are not present in the VPS and are inferred to be equal to the maximum number of sublayers that may be present in a layer of the plurality of layers specified by the VPS; and a processor coupled to the memory, wherein the processor configured to execute instructions causes the decoder to: obtain the level information, the HRD parameters, and the DPB parameters corresponding to the temporary identifier of the highest sublayer representation of the VPS; and decode an image from one of the plurality of layers to obtain the decoded image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The decoder provides techniques that ensure the same profile, layer, and level (PTL) parameters, virtual reference decoder (HRD) parameters, and decoded picture buffer (DPB) parameters are repeated for layers in a multilayer bitstream. Signaling the same PTL, HRD, and DPB parameters only once reduces redundancy and increases coding efficiency for multilayer video bitstreams. Thus, the encoder / decoder (also known as the "encoder") in video coding is improved over existing encoders. In practice, this improved video coding process provides users with a better user experience when transmitting, receiving, and / or displaying video.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Optionally, in any of the above aspects, another implementation of the aspect specifies that the maximum number of sublayers lies in the range from one to seven.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Optionally, in any of the above aspects, another implementation of the aspect provides that the level information be included in the profile, layer, and level (PTL) parameters.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Optionally, in any of the above aspects, another implementation of the aspect specifies that the level information is in the i-th profile_tier_level() syntax in the VPS, the DPB parameters are in the i-th dpb_parameters() syntax in the VPS, and the HRD parameters are in the i-th ols_timing_hrd_parameters() syntax in the VPS or a sequence parameter set (SPS).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Optionally, in any of the above aspects, another implementation of the aspect specifies that the image is decoded using one or both of the level information and DPB parameters.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Optionally, in any of the above aspects, another implementation of the aspect specifies that the display be configured to display the decoded image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A fourth aspect relates to an encoder, comprising: a memory containing instructions; a processor coupled to the memory, wherein the processor is configured to execute instructions to cause the encoder to: generate a plurality of layers containing sublayers and a video parameter set (VPS) comprising a first tag; set the first tag to a first value to specify that the temporal identifier (TemporalID) of the highest sublayer representation of the level information, the decoded picture buffer (DPB) parameters, and the decoder's virtual reference (HRD) update parameters are not present in the VPS and must be inferred to be equal to the maximum number of sublayers that may be present in a layer of the plurality of layers specified by the VPS; encode the plurality of layers and the VPS into a video bitstream; and a transmitter coupled to the processor, wherein the transmitter is configured to transmit the video bitstream toward the video decoder.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The encoder provides techniques to ensure that signals to the same profile, layer, and level (PTL) parameters, virtual reference decoder (HRD) parameters, and decoded picture buffer (DPB) parameters are emitted infrequently for layers in a multilayer bitstream. Emitting signals to the same PTL, HRD, and DPB parameters only once reduces redundancy and increases coding efficiency for multilayer video bitstreams. Thus, the encoder / decoder (also known as the "encoder") in video coding is improved relative to existing encoders. In practice, this improved video coding process provides a better user experience when transmitting, receiving, and / or displaying video.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Optionally, in any of the above aspects, another implementation of the aspect specifies that the maximum number of sublayers lies in the range from one to seven.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Optionally, in any of the above aspects, another implementation of the aspect provides that the level information be included in the profile, layer, and level (PTL) parameters.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Optionally, in any of the above aspects, another implementation of the aspect specifies that the level information is in the i-th syntax profile_tier_level() in the VPS, that the DPB parameters are in the i-th syntax dpb_parameters() in the VPS, and that the HRD parameters are in the i-th syntax ols_timing_hrd_parameters() in the VPS or a sequence parameter set (SPS).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A fifth aspect relates to an encoder. The encoder includes a receiver configured to receive an image for encoding or receive a bitstream for decoding; a transmitter coupled to a receiver, wherein the transmitter is configured to send the bitstream to a decoder or send a decoded image to a display; a memory coupled to at least one of the transmitter or receiver, wherein the memory is configured to store instructions; and a processor coupled to the memory, wherein the processor is configured to execute instructions stored in the memory to implement any of the methods disclosed herein.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The encoder provides techniques that ensure that signals to the same profile, layer, and level (PTL) parameters, hypothetical reference decoder (HRD) parameters, and decoded picture buffer (DPB) parameters are emitted non-redundantly across layers in a multilayer bitstream. Emitting the same PTL, HRD, and DPB parameters only once reduces redundancy and increases coding efficiency for multilayer video bitstreams. Thus, the encoder / decoder (also known as the "encoder") in video coding is improved relative to existing encoders. In practice, this improved video coding process provides a better user experience when transmitting, receiving, and / or displaying video.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Optionally, in any of the above aspects, another implementation of the aspect provides a display configured to display the decoded image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A sixth aspect relates to a system. The system includes an encryption unit; and a decryption unit communicating with the encryption unit, wherein the encryption unit or decryption unit includes the decryption means, encryption means, or encryption device disclosed herein.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The system provides techniques to ensure that the same profile, tier, and level (PTL) parameters, virtual reference decoder (HRD) parameters, and decoded picture buffer (DPB) parameters are not signaled repeatedly across layers in a multilayer bitstream. Signaling the same PTL, HRD, and DPB parameters only once reduces redundancy and increases coding efficiency for multilayer video bitstreams. Thus, the encoder / decoder (also known as the "encoder") in video coding is improved relative to existing encoders. In practice, this improved video coding process provides a better user experience when transmitting, receiving, and / or displaying video.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A seventh aspect relates to an encoding means. The encoding means includes a receiving means configured to receive an image for encoding or to receive a bitstream for decoding; a transmission means coupled with the receiving means, wherein the transmission means is configured to transmit the bitstream to a decoding means or to transmit a decoded image to a display means; a storage means coupled with at least one of the receiving means or the transmission means, wherein the storage means is configured to store instructions; and a processing means coupled with the storage means, wherein the processing means is configured to execute instructions stored in the storage means to implement any of the methods disclosed herein.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The encoding medium provides techniques that ensure that the same profile, layer, and level (PTL) parameters, hypothetical reference decoder (HRD) parameters, and decoded picture buffer (DPB) parameters are not signaled repeatedly across layers in a multilayer bitstream. Signaling the same PTL, HRD, and DPB parameters only once reduces redundancy and increases coding efficiency for multilayer video bitstreams. Thus, the encoder / decoder (also known as the "encoder") in video encoding is improved relative to existing encoders. In practice, this improved video encoding process provides a better user experience when transmitting, receiving, and / or displaying video.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> For the purpose of illustration, any of the foregoing embodiments may be combined with any one or more other foregoing embodiments to create a new embodiment within the scope of the present disclosure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">These and other features will be more clearly understood from the following detailed description, which is taken in conjunction with the accompanying drawings and protections.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Brief explanation of the drawings<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> For a more complete understanding of this disclosure, reference is now made to the following brief description, in conjunction with the accompanying drawings and detailed description, wherein like reference numbers represent like parts.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 1 is a flowchart of an illustrative method for encoding a video signal.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 2 is a schematic diagram of an illustrative encoder-decoder (encoder) scheme for video encoding.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 3 is a schematic diagram of an illustrative video encoder.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 4 is a schematic diagram showing an illustrative decoder.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 5 shows an example of multi-layer coding for spatial scalability.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 6 shows an example of multi-layer encryption using output layer sets (OLSs).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 7 shows a multi-layer video sequence optimized for temporal scaling.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 8 illustrates one example of a video bit stream.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 9 is an example of a video bitstream decoding method.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 10 is an example of a method for encoding an encrypted video bit stream.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 11 is a schematic diagram of a video encoder.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 12 is a schematic diagram of one such encryption method.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Detailed description:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> It should be understood at the outset that, although an illustrative implementation of one or more embodiments is provided below, the disclosed systems and / or methods may be implemented using any number of technologies, whether currently known or existing. The disclosure shall in no way be limited to the illustrative implementations, drawings, and technologies described below, including the designs and implementations described and illustrated herein, but may be modified within the scope of the appended claims together with the full range of equivalents thereof.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The following terms are defined as follows unless otherwise used herein. Specifically, the following definitions are intended to provide additional clarity to the present disclosure. However, terms may be described differently in different contexts. Accordingly, the following definitions should be considered supplementary and should not be considered to limit any other definitions of the descriptions provided for such terms herein.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A bitstream is a sequence of bits containing video data that is compressed for transmission between an encoder and a decoder. An encoder is a device configured to use encoding operations to compress video data into a bitstream. A decoder is a device configured to use decoding operations to reconstruct video data from a bitstream for display. An image is an array of luma samples and / or chroma samples that create a frame or field. An image being encoded or decoded may be referred to as the current image for clarity. A reference image is an image containing reference samples that can be used when encoding other images by reference according to interprediction and / or interlayer prediction. A reference image list is a list of reference images used for interprediction and / or interlayer prediction. Some video coding systems use two reference image lists, which may be referred to as reference image list 1 and reference image list 0.<h2 style=";text-align:left;direction:ltr">The reference image list structure is an addressable syntax structure that contains multiple reference image lists.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Profile, layer, and level (PTL) parameters are syntax constructs (for example, the i-th syntax profile_tier_level() ) that provide profile, layer, and / or level information. PTL parameters can express the syntax profile_tier_level() .<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Interprediction is a mechanism for encoding samples of a current image by reference to samples referenced in a reference image different from the current image, where the reference image and the current image are on the same layer. An entry in a reference image list structure is an addressable location in a reference image list structure that points to a reference image associated with a reference image list.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A slice header is part of an encoded slice containing data elements related to all the video data within a tiled frame represented in the slice. A picture parameter set (PPS) is a parameter set containing data related to an entire picture. More specifically, a PPS is a syntax structure containing syntax elements that apply to zero or more entire encoded pictures as defined by a syntax element present in each picture header. A sequence parameter set (SPS) is a parameter set containing data related to a sequence of pictures. An access unit (AU) is a set of one or more encoded pictures associated with the same display time (e.g., the same order number of pictures) to emerge from a decoded picture buffer (DPB) (e.g., for display to the user). An access unit delimiter (AUD) is a pointer or data structure used to indicate the start of an AU or the boundary between AUs. A decoded video sequence is a sequence of pictures reconstructed by a decoder in preparation for display to the user.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A Network Abstraction Layer (NAL) module is a syntax construct containing data in the form of a raw byte sequence (RBSP) payload, an indication of the data type, and optionally spread using emulation-preventing bytes. A Video Coding Layer (VCL) NAL module is a NAL module encoded to contain video data, such as an encoded segment of an image. A Non-NAL VCL module is a NAL module containing non-video data such as syntax and / or parameters that support decoding video data, performing compatibility checks, or other operations. A layer is a collection of VCL NAL modules that share a specific property (e.g., overall resolution, frame rate, image size, etc.) and associated non-VCL NAL modules. VCL NAL modules of a layer can share a specific value for the NAL module header layer identifier (nuh_layer_id). A cipher image is an encrypted representation of an image containing VCL NAL units with a given value for the NAL unit header layer identifier (nuh_layer_id) within an access unit (AU) and containing all the cipher tree units (CTUs) of the image.<h2 style=";text-align:left;direction:ltr">A decrypted image is an image produced by applying a decryption operation to an encrypted image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> An output layer set (OLS) is a set of layers for which one or more layers are specified as the output layer(s). An output layer is a layer intended for output (e.g., to a display). A zero-order (0-th) OLS is an OLS that contains only a minimal layer (the layer with the lowest layer ID) and therefore only an output layer. A video parameter set (VPS) is a data unit containing parameters related to an entire video. Interlayer prediction is a mechanism for encoding a current image in a current layer by reference to a reference image in a reference layer, where the current image and reference image are contained in the same AU and the reference layer has a lower nuh_layer_id than the current layer.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A profile is a specific set of encoders used to create a compatible bitstream. Each profile defines a subset of algorithmic features and limits that must be supported by all decoders compatible with that profile. Tiers and levels represent constraints that define a bitstream in terms of maximum bit rate, maximum LOMA sample rate, maximum LOMA image size, minimum compression ratio, maximum number of slices, and maximum number of tiles. Lower layers are more restrictive than higher layers, and lower levels are more restrictive than higher levels. Profile, tier, and level (PTL) parameters are syntactic constructs that provide profile, tier, and / or level information.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A scalable buffer bitstream is a bitstream encoded in multiple layers that provides variable temporal resolution / frame rate (i.e., each layer is encoded to support a different frame rate). A sublayer is a scalable buffer layer of a scalable buffer bitstream that includes VCL NALs with a specific temporal ID value and associated non-NAL VCLs. For example, a temporal sublayer is a layer containing video data associated with a specific frame rate. A sublayer representation is a subset of the bitstream containing NALs for a specific sublayer and lower sublayers. One or more temporal sublayers can then be combined to achieve a sublayer representation that can be decoded to produce a video sequence with a specific frame rate. The OLS index is an index that uniquely identifies the corresponding OLS. The temporal ID (or TemporalID) is a data element that indicates that the data corresponds to a temporal location in a video sequence. The TemporalId value must be the same across all VCL NALs in an AU.<h2 style=";text-align:left;direction:ltr">The TemporalId value for an encrypted image, PU, ​​or AU is the TemporalId value for the VCL NAL units for the encrypted image, PU, ​​or AU. The TemporalId value for a sublayer representation is the largest TemporalId value of all VCL NAL units in the sublayer representation.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The highest sublayer representation is the sublayer representation furthest from the base sublayer. That is, there is no other sublayer above or above the highest sublayer representation.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A substream recovery operation is an operation that removes NALs from a bitstream that do not belong to a target set as determined by a target OLS index and the highest target temporal identifier. The substream recovery operation produces a subbitstream output containing NALs from a bitstream that is part of the target set.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A hypothetical reference decoder (HRD) is a model of a codec that operates on a codec that checks the diversity of bitstreams generated by an encoding operation to verify compliance with specified constraints. A bitstream compliance test is a test to determine whether an encoded bitstream conforms to a standard, such as Versatile Video Coding (VVC). HRD parameters are syntax elements that initialize and / or define the operational conditions of the HRD. Sequence-level HRD parameters are HRD parameters that apply to an entire encoded video sequence. The maximum temporal identifier (hrd_max_tid[i]) specifies the temporal identifier of the highest sublayer representation whose HRD parameters are included in the i-th set of OLS HRD parameters. The general HRD parameter syntax (general_hrd_parameters) is the syntax that contains the sequence-level HRD parameters. The operation point (OP) is a temporary subset of the OLS identified by the OLS index and the highest temporary identifier. The OP under test (targetOp) is the OP chosen for the fit test in the HRD.<h2 style=";text-align:left;direction:ltr">The target OLS is an OLS selected for recovery from a bitstream. The decoding unit's HRD parameter presentation flag (decoding_unit_hrd_params_present_flag) is a flag indicating whether the corresponding HRD parameters operate at the decoding unit (DU) level or the AU level. The coded image buffer (CPB) is a system-provisioned FIFO memory in the HRD that contains coded images in decoding order for use during bitstream alignment verification. The decoded image buffer (DPB) is a buffer for holding decoded images for reference, output reordering, and / or output delay.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The decoded image buffer (DPB) parameters are a syntax construct that provides the DPB size and, optionally, the maximum image reorder number and maximum latency information. The maximum image reorder number and maximum latency information can be collectively referred to by the acronym MRML.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The following abbreviations are used here: cipher tree block (CTB), cipher tree unit (CTU), cipher unit (CU), coded video sequence (CVS), joint video expert team (JVET), motion-constrained tile set (MCTS), maximum transmission unit (MTU), network abstraction layer (NAL), picture order number (POC), picture parameter set (PPS), raw byte sequence payload (RBSP), sequence parameter set (SPS), versatile video coding (VVC) and working draft (WD).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 1 is a flowchart of a process illustrating the operation of a video signal encoding method. Specifically, the video signal is encoded in an encoder. The encoding process compresses the video signal using various mechanisms to reduce the video file size. This smaller file size allows the compressed video file to be transmitted to the user, while reducing the associated bandwidth. The decoder then decodes the compressed video file to reconstruct the original video signal for display to the end user. The decoding process generally mirrors the encoding process to allow the decoder to continuously reconstruct the video signal.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In step 101, the video signal is fed into the encoder. For example, the video signal could be an uncompressed video file stored in memory. In another example, the video file could be captured by a video capture device, such as a camcorder, and encoded to support live video streaming. The video file could include both an audio component and a video component. The video component contains a series of image frames that, when displayed sequentially, give a visual impression of motion. The frames contain pixels expressed in terms of light, referred to here as luma components (or luma samples), and color, referred to as chroma components (or color samples). In some examples, the frames could also contain depth values ​​to support 3D display.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In step 103, the video is segmented into blocks. Segmentation involves dividing the pixels in each frame into square and / or rectangular blocks for compression. For example, in High-Efficiency Video Coding (HEVC) (also known as H.265 and MPEG-H Part 2), a frame can first be segmented into coding tree units (CTUs), which are blocks of a predetermined size (e.g., 64 pixels x 64 pixels). The CTUs contain luma and chroma samples. Coding trees can be used to segment the CTUs into blocks and then iteratively segment the blocks until configurations that support further coding are achieved. For example, the luma components of a frame can be segmented until the individual blocks have relatively homogeneous luma values. Furthermore, the chroma components of a frame can be segmented into smaller blocks until the individual blocks have relatively homogeneous chroma values. Therefore, segmentation mechanisms vary depending on the content of the video frames.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In step 105, various compression mechanisms are used to compress the image blocks segmented in step 103. For example, interprediction and / or intraprediction may be used. Interprediction is expressed to take advantage of the fact that objects in a common scene tend to appear in successive frames. Accordingly, a block depicting an object in a reference frame need not be described repeatedly in adjacent frames. Specifically, an object, such as a table, can remain at a fixed position across multiple frames. Hence, the table is described once, and adjacent frames can again refer to the reference frame. Pattern matching mechanisms may be used to match objects across multiple frames. Furthermore, objects moving across multiple frames may be represented, for example, due to object motion or camera motion. As a specific example, a video could depict a car moving across the screen across multiple frames. Motion vectors may be used to describe this motion. A motion vector is a two-dimensional vector that provides a displacement from the coordinates of an object in one frame to the coordinates of the object in a reference frame.<h2 style=";text-align:left;direction:ltr">As such, interprediction can encode an image block in a current frame as a set of motion vectors that indicate a displacement from a corresponding block in a reference frame.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Interprediction encodes blocks within a common frame. Interprediction takes advantage of the fact that luma and chroma components tend to cluster within a frame. For example, a green patch in a tree tends to be located next to similar green patches. Interprediction uses multidirectional prediction modes (e.g., 33 in HEVC), planar mode, and direct current (DC) mode. Directional modes indicate that the current block is similar to samples of a neighboring block in a corresponding direction. Planar mode indicates that a sequence of blocks along a row / column (e.g., a plane) can be interpolated based on neighboring blocks at the row edges. In effect, planar mode indicates a smooth transition of light / color across a row / column by using a relatively constant slope in the parameter values. DC mode is used for boundary smoothing and indicates that a block is similar to an average value associated with samples from all neighboring blocks associated with the angular directions of the directional prediction modes. Consequently, interprediction blocks can represent image blocks as values ​​of a different associative prediction mode rather than actual values.<h2 style=";text-align:left;direction:ltr">Furthermore, interprediction blocks can represent image blocks as motion vector values ​​rather than actual values. In either case, the prediction blocks may not represent image blocks exactly in some cases. Any differences are stored in the remaining blocks. Transformations can be applied to the remaining blocks to further compress the file.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In Step 107, various filtering techniques can be applied. In HEVC, filters are applied according to a loop filtering scheme. The block-based prediction discussed above can generate block images in the decoder. Furthermore, the block-based prediction scheme can encode a block and then reconstruct the encoded block for later use as a reference block. The loop filtering scheme iteratively applies antialiasing filters, de-blocking filters, harmonic loop filters, and symmetric offset (SAO) filters to blocks / frames. These filters mitigate the effects of blocking so that the encoded image can be accurately reconstructed. Furthermore, these filters mitigate artifacts in the reconstructed reference blocks so that artifacts are less likely to create additional artifacts in subsequent blocks encoded based on the reconstructed reference blocks.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Once the video signal has been segmented, compressed, and filtered, the resulting data is encoded into a bitstream in step 109. The bitstream includes the data discussed above plus any desired signaling data to support appropriate video signal reconstruction at the decoder. For example, this data could contain segmentation data, prediction data, remaining blocks, and various tags that provide coding instructions to the decoder. The bitstream can be stored in memory for transmission to a decoder on demand. The bitstream can also be broadcast and / or multiplexed to a set of decoders. The generation of the bitstream is an iterative process. Accordingly, steps 101, 103, 105, 107, and 109 can occur continuously and / or simultaneously across multiple frames and blocks. The order shown in Figure 1 is presented for clarity and ease of discussion and is not intended to restrict the video encoding process to a particular order.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The decoder receives the bitstream and begins the decoding process in step 111. Specifically, the decoder uses an entropic decoding scheme to convert the bitstream into video data and corresponding syntax. The decoder uses the syntax data from the bitstream to determine frame divisions in step 111. The division must match the results of the block division in step 103. Entropic encoding / decoding as used in step 111 is now described. The encoder makes several choices during the compression process, such as selecting block division schemes from several possible options based on the spatial positioning of values ​​in the input image(s). The process of signaling precise choices can use a large number of bits. As used here, a bit is a binary value treated as a parameter (e.g., a bit value that may vary depending on the context). Entropic encoding allows the encoder to discard any choices that are clearly inapplicable in a given situation, leaving a set of permissible choices. A codeword is then assigned to each permissible choice.<h2 style=";text-align:left;direction:ltr">The length of the codeword depends on the number of allowed options (e.g., one slot for two options, two slots for three or four options, etc.). The encoder then encrypts the codeword for the selected option. This scheme reduces the size of the codewords because the codewords are as large as necessary to uniquely refer to a selected set from a small subset of the allowed options, rather than uniquely refer to the selected set from a potentially large set of all possible options. The decoder then decrypts the selected set by determining the set of allowed options in a manner similar to the encoder. By determining the set of allowed options, the decoder can read the codeword and determine the set selected by the encoder.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In step 113, the decoder decodes the block. Specifically, the decoder uses inverse transforms to generate the remaining blocks. The decoder uses the remaining blocks and the corresponding prediction blocks to reconstruct the image blocks according to the segmentation. The prediction blocks can include both intraprediction blocks and interprediction blocks as generated by the encoder in step 105. The reconstructed image blocks are then positioned in frames of the reconstructed video signal according to the segmentation data specified in step 111. The syntax for step 113 can also be referred to in the bitstream via entropic coding as discussed above.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In step 115, filtering is performed on the reconstructed video signal frames in a manner similar to step 107 in the encoder. For example, antialiasing filters, de-blocking filters, harmonic ring filters, and SAO filters can be applied to the frames to remove block artifacts. Once the frames are filtered, the video signal can be output to a display in step 117 for end-user viewing.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 2 is a block diagram of an illustrative video encoder-decoder system (encoder) 200. Specifically, the encoder system 200 provides functions to support the implementation of the operation method 100. The encoder system 200 is generalized to depict the components used in both an encoder and a decoder. The encoder system 200 receives and splits a video signal as discussed in connection with steps 101 and 103 of method 100, resulting in a split video signal 201. The encoder system 200 then compresses the split video signal 201 into an encoded bitstream when acting as an encoder as discussed in connection with steps 105, 107, and 109 of method 100. When acting as a decoder, the encoder system 200 generates an output video signal from the bitstream as discussed in connection with steps 111, 113, 115, and 117 of method 100.<h2 style=";text-align:left;direction:ltr">The encoder system 200 includes a general control component for the encoder unit 211, a quantization and rescaling transform component 213, an internal image estimation component 215, an internal image prediction component 217, a motion compensation component 219, a motion estimation component 221, a rescaling and inverse transform component 229, a filter control analysis component 227, a ring filter component 225, a decoded image buffer component 223, and a header format and context-agnostic binary arithmetic coding (CABAC) component 231. These components are coupled as shown in Fig. 2. In Fig. 2, the black lines indicate the data traffic to be encoded / decoded, while the dashed lines indicate the control data traffic that controls the operation of the other components. All components of the encoder system 200 may be located in the encoder unit. The decoder unit may include a subset of the components of the encoder system 200.<h2 style=";text-align:left;direction:ltr">For example, the decoder may contain an internal image prediction component 217, a motion compensation component 219, a resizing and inverting component 229, a ring filter component 225, and a decoded image buffer component 223. These components are now described.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The segmented video signal 201 is a captured video sequence that has been segmented into blocks of pixels by a coding tree. The coding tree uses different segmentation modes to segment a block of pixels into smaller blocks of pixels. These blocks can then be segmented further. The blocks can be referred to as nodes in the coding tree. Larger parent nodes are segmented into smaller subnodes. The number of times a node is segmented is referred to as the depth of the coding tree / node. The segmented blocks can be contained within coding units (CUs) in some cases. For example, a CU can be a subpart of a CTU containing a luma block, reddifference chroma block(s), and bluedifference chroma block(s), along with the corresponding syntax instructions for the CU. The segmentation modes can include a binary tree (BT), a ternary tree (TT), and a quadrilateral tree (QT), which are used to segment a node into two, three, or four subnodes, respectively, with different shapes depending on the segmentation modes used.<h2 style=";text-align:left;direction:ltr">The segmented video signal 201 is sent to the encoder's general control component 211, the quantization and resizing transform component 213, the internal image estimation component 215, the filter control analysis component 227, and the motion estimation component 221 for compression.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The general control component of the encoder 211 is configured to make decisions regarding the encoding of video sequence images into a bitstream according to application constraints. For example, the general control component of the encoder 211 manages the optimization of bitrate / bitstream size versus reconstruction quality. Such decisions may be made based on storage / bandwidth availability and image resolution demands. The general control component of the encoder 211 also manages buffer usage in light of transmission speed to mitigate data copy errors and buffer overload. To manage these issues, the general control component of the encoder 211 manages segmentation, prediction, and filtering by other components. For example, the general control component of the encoder 211 may dynamically increase compression complexity to increase resolution and increase bandwidth utilization or decrease compression complexity to reduce resolution and bandwidth utilization. The general control component of the encoder 211 then controls other components of the encoder system 200 to balance video signal reconstruction quality with bitrate-related issues.<h2 style=";text-align:left;direction:ltr">The general control component of the encoder 211 generates control data, which controls the operation of the other components. The control data is also forwarded to the header format and CABAC components to be encoded in the bitstream to indicate decoding parameters in the decoder.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The segmented video signal 201 is also sent to the motion estimation component 221 and the motion compensation component 219 for interprediction. A frame or segment of the segmented video signal 201 may be segmented into multiple video blocks. The motion estimation component 221 and the motion compensation component 219 perform interprediction coding of the received video block relative to one or more blocks in one or more reference frames to provide temporal prediction. The encoder system 200 may perform multiple encoding passes, for example, to select an appropriate encoding mode for each block of video data.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The motion estimation component 221 and the motion compensation component 219 may be highly complementary but are illustrated separately for conceptual purposes. The motion estimation process, performed by the motion estimation component 221, is a motion vector generation process that estimates motion for video blocks. A motion vector may, for example, refer to the displacement of an encoded object relative to a predictive block. A predictive block is a block found to most closely match the block to be encoded, in terms of pixel difference. A predictive block may also be referred to as a reference block. This pixel difference may be quantified by the sum of absolute difference (SAD), sum of squared difference (SSD), or other difference metrics. HEVC uses several encoded objects, including CTUs, coding tree blocks (CTBs), and CUs. For example, a CTU may be divided into CTBs, which may then be divided into CBs to be embedded in CUs. A CU can be encoded as a prediction unit containing prediction data and / or a transformation unit (TU) containing the converted residual data of the CU.<h2 style=";text-align:left;direction:ltr">The motion estimation component 221 generates motion vectors, prediction units, and TUs using rate distortion analysis as part of the rate distortion optimization process. For example, the motion estimation component 221 may identify multiple reference blocks, multiple motion vectors, etc. for a current block / frame, and may select the reference blocks, motion vectors, etc., that have the best rate distortion characteristics. The best rate distortion characteristics balance the quality of video reconstruction (e.g., the amount of data loss due to compression) with the efficiency of coding (e.g., the final encoding size).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In some examples, the encoder system 200 may compute sub-integer pixel position values ​​for reference images stored in the decoded image buffer component 223. For example, the encoder system 200 may interpolate quarter-pixel, eighth-pixel, or other fractional pixel positions for the reference image. Therefore, the motion estimation component 221 may perform a motion search for whole-pixel and fractional-pixel positions and output a motion vector with fractional pixel accuracy. The motion estimation component 221 computes a motion vector for a prediction unit for a video block in an intercoded segment by comparing the position of the prediction unit to the position of a prediction block for the reference image. The motion estimation component 221 outputs the computed motion vector as motion data to the header format and CABAC encoder component 231 and the motion to the motion compensation component 219.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Motion compensation, performed by the motion compensation component 219, may include fetching or generating a predictive block based on the motion vector determined by the motion estimation component 221. Again, the motion estimation component 221 and the motion compensation component 219 may, in some examples, be functionally combined. Upon receiving the motion vector of the prediction module for the current video block, the motion compensation component 219 may determine which predictive block the motion vector refers to. A residual video block is then formed by subtracting the pixel values ​​of the predictive block from the pixel values ​​of the current video block being encoded, resulting in pixel difference values. In general, the motion estimation component 221 estimates motion relative to the luma components, and the motion compensation component 219 uses motion vectors computed based on the luma components for both the chroma components and the luma components. The predictive block and residual block are forwarded to the quantization and rescaling transform component 213.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The segmented video signal 201 is also sent to the internal image estimation component 215 and the internal image prediction component 217. As with the motion estimation component 221 and the motion compensation component 219, the internal image estimation component 215 and the internal image prediction component 217 can be highly complementary, but are illustrated separately for conceptual purposes. The internal image estimation component 215 and the internal image prediction component 217 perform the internal prediction of a current block relative to blocks in a current frame, as an alternative to the internal prediction performed by the motion estimation component 221 and the motion compensation component 219 between frames, as described above. Specifically, the internal image estimation component 215 selects an internal prediction mode to use in encoding a current block. In some examples, the internal image estimation component 215 selects an appropriate internal prediction mode to encode a current block from multiple tested internal prediction modes. The selected internal prediction modes are then forwarded to the header format and CABAC component 231 for encoding.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">For example, the internal image estimation component 215 calculates rate distortion values ​​using rate distortion analysis for various tested internal prediction modes and selects the internal prediction mode with the best rate distortion characteristics from among the tested modes. The rate distortion analysis generally determines the amount of distortion (or error) between an encrypted block and the original, unencrypted block that was encrypted to produce the encrypted block, as well as the bit rate (e.g., number of bits) used to produce the encrypted block. The internal image estimation component 215 calculates the ratios of the distortions and rates for the various encrypted blocks to determine the internal prediction mode that exhibits the best rate distortion value for the block. In addition, the internal image estimation component 215 may be configured to encode depth blocks into a depth map using a depth modeling (DMM) mode based on rate distortion optimization (RDO).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The internal image prediction component 217 can generate a residual block from the prediction block based on the selected internal prediction modes determined by the internal image estimation component 215 when executed on an encoder or read the residual block from the bitstream when executed on a decoder. The residual block includes the difference in values ​​between the prediction block and the original block, represented as an array. The residual block is then forwarded to the quantization and resizing transform component 213. The internal image estimation component 215 and the internal image prediction component 217 can operate on both luma and chroma components.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The quantization and resizing transform component 213 is configured to further compress the residual block. The quantization and resizing transform component 213 applies a transformation, such as the discrete cosine transform (DCT), the discrete sine transform (DST), or a conceptually similar transformation, to the residual block, resulting in a video block comprising the residual transform parameter values. Wavelet transforms, integer transforms, subband transforms, or other types of transformations may also be used. The transformation can convert the residual information from a pixel value range to a transform range, such as a frequency range. The quantization and resizing transform component 213 is also configured to scale the transformed residual information, for example based on frequency. This resizing involves applying a scale factor to the residual information such that different frequency information is quantized with different grain attributes, which may affect the final visual quality of the reconstructed video. The quantization and resizing transform component 213 is also configured to quantize the transform parameters to further reduce the bit rate. The quantization process can reduce the bit depth associated with some or all of the parameters.<h2 style=";text-align:left;direction:ltr">The degree of quantization can be modified by modifying the quantization parameter. In some examples, the quantization or transform resizing component 213 may scan the matrix containing the quantized transform coefficients. The quantized transform coefficients are forwarded to the header format and CABAC component 231 to be encoded in the bitstream.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The resize-inverse-transform component 229 applies the inverse operation of the resize-inverse-transform component 213 to support motion estimation. The resize-inverse-transform component 229 applies inverse resizing, transformation, and / or quantization to reconstruct the remaining block within a pixel range, e.g., for later use as a reference block that may become a predictive block for another current block. The motion estimation component 221 and / or the motion compensation component 219 may compute a reference block by adding the remaining block back to a corresponding predictive block for use in motion estimation for a subsequent block / frame. Filters are applied to the reconstructed reference blocks to mitigate artifacts created during resizing, quantization, and transformation. Such distortions can cause inaccurate prediction (and create additional distortions) when predicting subsequent blocks.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The filter control analysis component 227 and the annular filter component 225 apply filters to the residual blocks and / or to the reconstructed image blocks. For example, the transformed residual block from the resize and inverse transform component 229 may be combined with a corresponding prediction block from the internal image prediction component 217 and / or the motion compensation component 219 to reconstruct the original image block. The filters may then be applied to the reconstructed image block. In some examples, the filters may instead be applied to the residual blocks. As with the other components in Figure 2, the filter control analysis component 227 and the annular filter component 225 are highly complementary and can be implemented together, but they are illustrated separately for conceptual purposes. The filters applied to the reconstructed reference blocks are applied to specific spatial regions and include multiple parameters to control how these filters are applied. The filter control analysis component 227 analyzes the reconstructed reference blocks to determine where these filters should be applied and sets the corresponding parameters.<h2 style=";text-align:left;direction:ltr">This data is forwarded to the header format and CABAC component 231 as filter control data for encoding. The loop filter component 225 applies such filters based on the filter control data. The filters can include a de-blocking filter, an anti-aliasing filter, a SAO filter, and a harmonic loop filter. These filters can be applied in the spatial / pixel domain (e.g., to a reconstructed block of pixels) or in the frequency domain, depending on the example.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> When acting as an encoder, the candidate reconstructed image block, residual block, and / or prediction block are stored in the decoded image buffer component 223 for later use in motion estimation as discussed above. When acting as a decoder, the decoded image buffer component 223 stores and forwards the reconstructed and candidate blocks to a display as part of the video output signal. The decoded image buffer component 223 can be any memory device capable of storing prediction blocks, residual blocks, and / or reconstructed image blocks.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The header format and CABAC component 231 receive data from the various components of the encoder system 200 and encode this data into an encrypted bitstream for transmission to a decoder. Specifically, the header format and CABAC component 231 generate various headers for encoding control data, such as general control data and filter control data. Furthermore, prediction data, including interprediction and motion data, as well as remaining data in the form of quantization coefficient data, are all encoded into the bitstream. The final bitstream contains all the information required by the decoder to reconstruct the original segmented video signal 201. This information may also include interprediction mode index tables (also referred to as codeword mapping tables), definitions of coding contexts for the various blocks, indications of the most possible interprediction modes, an indication of segmentation information, and so on. This data may be encrypted using entropy coding.<h2 style=";text-align:left;direction:ltr">For example, information can be encrypted using context-compatible parameter-length ciphering (CAVLC), CABAC, context-dependent binary arithmetic ciphering (SBAC), probabilistic interval division entropy ciphering (PIPE), or another entropy ciphering technique. After entropy ciphering, the encrypted bitstream can be transmitted to another device (e.g., a decoder) or archived for later transmission or retrieval.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 3 is a block diagram illustrating an illustrative video encoder 300. The video encoder 300 may be used to implement the encryption functions of the encoder system 200 and / or to implement steps 101, 103, 105, 107, and / or 109 of the method of operation 100. The encoder 300 splits an input video signal, resulting in a split video signal 301, which is substantially the same as the split video signal 201. The split video signal 301 is then compressed and encoded into a bit stream by components of the encoder 300.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Specifically, the segmented video signal 301 is forwarded to an internal image prediction component 317. The internal image prediction component 317 can be substantially similar to the internal image estimation component 215 and the internal image prediction component 217. The segmented video signal 301 is also forwarded to the motion compensation component 321 for interprediction based on reference blocks in a decoded image buffer component 323. The motion compensation component 321 can be substantially similar to the motion estimation component 221 and the motion compensation component 219. The prediction blocks and remaining blocks of the internal image prediction component 317 and the motion compensation component 321 are forwarded to the transform and quantization component 313 for transform and quantization of the remaining blocks. The transform and quantization component 313 can be substantially similar to the transform quantization and resizing component 213. The remaining transformed and quantized blocks and corresponding prediction blocks (along with associated control data) are forwarded to the entropy coding component 331 for encoding into a bitstream. The entropy coding component 331 can be substantially similar to the header format and CABAC component 231.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The transformed and quantized residual blocks and / or corresponding prediction blocks from the transform and quantization component 313 are also forwarded to the quantization and inverse transform component 329 for reconstruction into reference blocks for use by the motion compensation component 321. The quantization and inverse transform component 329 can be substantially similar to the resize and inverse transform component 229. The toroidal filters contained in the toroidal filters component 325 are also applied to the residual blocks and / or the reconstructed reference filters, depending on the example. The loop filter component 325 may be substantially similar to the filter control analysis component 227 and the loop filter component 225. The loop filter component 325 may include multiple filters as discussed in connection with the loop filter component 225. The filter blocks are then stored in a decoded image buffer component 323 for use as reference blocks by the motion compensation component 321. The decoded image buffer component 323 may be substantially similar to the decoded image buffer component 223.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 4 is a block diagram illustrating an illustrative decoder 400. The decoder 400 may be used to implement the decoding functions of the encoder system 200 and / or execute steps 111, 113, 115, and / or 117 of the operating method 100. The decoder 400 receives a bitstream, for example, from the encoder 300, and generates a reconstructed output video signal based on the bitstream for display to the end user.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The bitstream is received by an entropy decoder component 433. The entropy decoder component 433 is configured to implement an entropy decoding scheme, such as CAVLC, CABAC, SBAC, PIPE, or other entropy coding techniques. For example, the entropy decoder component 433 may use header information to provide context for interpreting additional encoded data as codewords in the bitstream. The decoded information includes any information required to decode the video signal, such as general control data, filter control data, segmentation information, motion data, prediction data, and quantized transform coefficients from the remaining blocks. The quantized transform coefficients are forwarded to a quantization and inverse transform component 429 for reconstruction into the remaining blocks. The quantization and inverse transform component 429 may be similar to the quantization and inverse transform component 329.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The residual blocks and / or reconstructed prediction blocks are forwarded to the internal image prediction component 417 for reconstruction into image blocks based on the internal prediction operations. The internal image prediction component 417 may be similar to the internal image estimation component 215 and the internal image prediction component 217. Specifically, the internal image prediction component 417 uses prediction modes to locate a reference block in the frame and applies a residual block to the result to reconstruct the internally predicted image blocks. The internally predicted residual blocks and / or reconstructed image blocks are forwarded to the decoded image buffer component 423 via a toroidal filter component 425, which may be substantially similar to the decoded image buffer component 223 and the toroidal filter component 225, respectively. The toroidal filter component 425 filters the reconstructed image blocks, residual blocks, and / or prediction blocks, and this information is stored in the decoded image buffer component 423.<h2 style=";text-align:left;direction:ltr">Reconstructed image blocks from the decoded image buffer component 423 are forwarded to a motion compensation component 421 for internal prediction. The motion compensation component 421 can be substantially similar to the motion estimation component 221 and / or the motion compensation component 219. Specifically, the motion compensation component 421 uses motion vectors from a reference block to generate a prediction block and applies a residual block to the result to reconstruct an image block. The resulting reconstructed blocks can also be forwarded via the toroidal filter component 425 to the decoded image buffer component 423. The decoded image buffer component 423 continues to store additional reconstructed image blocks, which can be reconstructed into frames via segmentation information. These frames can also be placed in a sequence. The sequence is output to a display as a reconstructed video output signal.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">With the above in mind, video compression techniques perform spatial prediction (intra-image) and / or temporal prediction (inter-image) to reduce or eliminate the inherent redundancy in video sequences. For block-based video coding, a video segment (i.e., a video image or a portion of a video image) can be divided into video blocks, which may also be referred to as tree blocks, coding tree blocks (CTBs), coding tree units (CTUs), coding units (CUs), and / or coding nodes. Video blocks in an inter-coded (I) segment of an image are encoded using spatial prediction with respect to reference samples in adjacent blocks in the same image. Video blocks in an inter-coded (P or B) segment of a given image can use spatial prediction with respect to reference samples in adjacent blocks in the same image or temporal prediction with respect to reference samples in other reference images. Images can be referred to as frames, and reference images can be referred to as reference frames.<h2 style=";text-align:left;direction:ltr">The POC is a parameter associated with each image that uniquely identifies the associated image among all images in the Coded Layer Video Sequence (CLVS), indicates when the associated image will be output from the DPB, and indicates the position of the associated image in the output order relative to the output order positions of other images in the same CLVS that will be output from the DPB. The tag is a single-bit syntax element or parameter that can take one of two possible values: 0 and 1.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The spatial or temporal prediction produces a predictive block for the block to be encrypted. The residual data represents the pixel differences between the original block to be encrypted and the predicted block. The inter-encrypted block is encrypted according to a motion vector pointing to the block of reference samples that constitute the predictive block, and the residual data pointing to the difference between the encrypted block and the predicted block. The inter-encrypted block is encrypted according to an inter-encryption mode and the residual data. For further compression, the residual data from the pixel range can be converted to a transform range, producing residual transform coefficients, which can then be quantized. The quantized transform coefficients, initially placed in a two-dimensional matrix, can be scanned to produce a one-dimensional vector of transform coefficients, and entropic coding can be applied for further compression.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Image and video compression have grown rapidly, resulting in various coding standards. These video coding standards include ITU-T H.261, International Organization for Standardization / International Electrotechnical Commission (ISO / IEC) MPEG-1 Part 2, ITU-T H.262 or ISO / IEC MPEG-2 Part 2, ITU-T H.263, ISO / IEC MPEG-4 Part 2, Advanced Video Coding (AVC), also known as ITU-T H.264 or ISO / IEC MPEG-4 Part 10, and High Efficiency Video Coding (HEVC), also known as ITU-T H.265 or MPEG-H Part 2. AVC includes extensions such as Scalable Video Coding (SVC), Multiview Video Coding (MVC), Depth and Multiview Video Coding (MVC+D), and 3D AVC (3D-AVC). HEVC includes extensions such as Scalable HEVC (SHVC), Multi-View HEVC (MV-HEVC), and 3D HEVC (3D-HEVC).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">There is also a new video coding standard, called Volatile Video Coding (VVC), being developed by the Joint Video Expert Group (JVET) of ITU-T and ISO / IEC. While the VVC standard has several working drafts, one working draft (WD) specifically for VVC, i.e., B. Bross, J. Chen, and S. Liu, “Versatile Video Coding (Draft 5),” JVET-N1001-v3, 13th JVET Meeting, March 27, 2019 (VVC Draft 5), is referenced here.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Scalability in video coding is typically supported using multilayer coding techniques. A multilayer bitstream comprises a base layer (BL) and one or more enhancement layers (ELs). Examples of scalability include spatial scalability, signal-to-noise (SNR) scalability, multi-view scalability, etc. When using a multilayer coding technique, an image or part of an image can be encoded (1) without using a reference image, i.e., using interlayer prediction; (2) with reference to reference images in the same layer, i.e., using interlayer prediction; or (3) with reference to reference images in another layer(s), i.e., using interlayer prediction. The reference image used to predict the interlayer of the current image is referred to as the interlayer reference image (ILRP).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 5 is a schematic illustration of an example of layer-dependent prediction 500, e.g., as performed to determine motion vectors (MVs) in block compression step 105, block decoding step 113, motion estimation component 221, motion compensation component 219, motion compensation component 321, and / or motion compensation component 421. Layer-dependent prediction 500 is compatible with unidirectional interprediction and / or bidirectional interprediction, but is also performed between images in different layers.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The prediction is applied to layer 500 between images 511, 512, 513, and 514 and images 515, 516, 517, and 518 in different layers. In the example shown, images 511, 512, 513, and 514 are part of layer N+1 532, and images 515, 516, 517, and 518 are part of layer N+1 531. A layer, such as layer N+1 531 and / or layer N+1 532, is a set of images that are all associated with a similar value for some property, such as size, quality, resolution, or similar signal to noise ratio, etc. In the example shown, layer N+1 532 is associated with a larger image size than layer N 531. Consequently, images 511, 512, 513, and 514 in layer N+1 532 have larger image sizes (e.g., larger height and width and thus a larger number of samples) than images 515, 516, 517, and 518 in layer N 531 in this example. However, these images can be separated between layer N+1 532 and layer N 531 by other properties. While only two layers are shown, layer N+1 532 and layer N 531, a set of images can be separated into any number of layers based on the associated properties. Layer N+1 532 and layer N 531 can also be referenced by a layer ID.<h2 style=";text-align:left;direction:ltr">A layer identifier is a data item associated with an image that indicates that the image is part of the referenced layer. Accordingly, each image 511- 518 may be associated with a corresponding layer identifier to indicate that either layer N+1 532 or layer N 531 contains the corresponding image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Images 511-518 in different layers 531-532 are formatted to be displayed in alternate order. As such, images 511-518 in different layers 531-532 can share the same temporal identifier (ID) and the images can be embedded in a similar AU. As used herein, an AU is a set of one or more encoded images associated with the same display time for output from the DPB. For example, a decoder may decode and display image 515 at the current display time if a smaller image is required, or a decoder may decode and display image 511 at the current display time if a larger image is required. As such, images 511-514 in the upper N+1 layer 532 contain substantially the same image data as the corresponding images 515-518 in the lower N+1 layer 531 (regardless of the difference in image size). Specifically, image 511 contains substantially the same image data as image 515, image 512 contains substantially the same image data as image 516, and so on.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Images 511-518 may be encoded by reference to other images 511-518 in the same layer N 35 or N+1 532. Encoding an image by reference to another image in the same layer results in interprediction 523, which is compatible with unidirectional interprediction and / or bidirectional interprediction. Interprediction 523 is depicted by arrows with a solid line. For example, image 513 may be encoded by using interprediction 523 using one or two of images 511, 512, and / or 514 in layer N+1 532 as reference, wherein one image is referenced for unidirectional interprediction and / or two reference images are referenced for bidirectional interprediction. Furthermore, image 517 may be encoded by using interprediction 523 using one or two of the images 515, 516, and / or 518 in layer N 531 as a reference, wherein one image is referred to for unidirectional interprediction and / or two images are referred to for bidirectional interprediction. When an image is used as a reference to another image in the same layer when performing interprediction 523, the image may be referred to as a reference image.<h2 style=";text-align:left;direction:ltr">For example, image 512 may be a reference image used to encode image 513 according to interprediction 523. Interprediction 523 may also be referred to as interlayer prediction in a multilayer context. As such, interprediction 523 is a mechanism for encoding samples of a current image by reference to samples referenced in a reference image that differs from the current image where the reference image and current image are in the same layer.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Images 511-518 may also be encoded by reference to other images 511-518 in different layers. This process is known as interlayer prediction 521 and is depicted by dashed arrows. Interlayer prediction 521 is a mechanism for encoding samples of a current image by reference to samples referenced in a reference image where the current image and the reference image are in different layers and therefore have different layer identifiers. For example, an image in a lower layer N 531 may be used as a reference image to encode a corresponding image in a higher layer N+1 532. As a specific example, image 511 may be encoded by reference to image 515 according to interlayer prediction 521. In such a case, image 515 is used as the interlayer reference image. The interlayer reference image is a reference image used for interlayer prediction 521. In most cases, the interlayer prediction 521 is restricted such that the current image, such as image 511, may only use an interlayer reference image(s) contained in the same AU and located in a lower layer, such as image 515.<h2 style=";text-align:left;direction:ltr">When multiple layers are available (e.g., more than two layers), the interlayer prediction 521 can encode / decode a current image based on multiple interlayer reference image(s) at levels lower than the current image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A video encoder may use layer-dependent prediction 500 to encrypt images 511-518 via various combinations and / or permutations of interprediction 523 and interlayer prediction 521. For example, image 515 may be encrypted according to the interprediction. Images 516-518 may then be encrypted according to the interprediction 523 using image 515 as a reference image. Furthermore, image 511 may be encrypted according to the interlayer prediction 521 using image 515 as an interlayer reference image. Images 512-514 may then be encrypted according to the interprediction 523 using image 511 as a reference image. As such, a reference image may serve as both a single-layer reference image and an interlayer reference image for different encoding mechanisms. By encrypting N+1 532 higher layer images based on N 531 lower layer images, the N+1 532 upper layer can avoid using interprediction, which has much lower coding efficiency than interprediction 523 and interlayer prediction 521.<h2 style=";text-align:left;direction:ltr">As such, the poor coding efficiency of interprediction can be limited to smaller / lower-quality images, and thus limited to encoding smaller amounts of video data. Images used as reference images and / or interlayer reference images can be referenced in reference image list entries found in a reference image list structure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Each of the AUs 506 in Figure 5 can contain multiple images. For example, one AU 506 can contain images 511 and 515. Another AU 506 can contain images 512 and 516. In effect, each AU 506 is a set of one or more encoded images associated with the same display time (e.g., the same time identifier) ​​for output from a decoded picture buffer (DPB) (e.g., for display to the user). Each AU 508 is a pointer or data structure used to indicate the start of an AU (e.g., AU 506) or the boundary between AUs.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Previous H.26x video coding families provided scalability support in a separate profile(s) from the single-layer coding profile(s). Scalable Video Coding (SVC) is a scalable extension to AVC / H.264 that provides support for spatial, temporal, and quality scalability. For SVC, a flag is indicated in each large block (MB) in EL images to indicate whether the EL MB is predicted using the aggregated block from a lower layer. The prediction from the assigned block can include texture, motion vectors, and / or encoding modes. SVC implementations cannot directly reuse unmodified H.264 / AVC in their design. The SVC EL large block decoding and syntax are different from the H.264 / AVC syntax and decoding.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Scalable HEVC (SHVC) is an extension to the HEVC / H.265 standard that provides support for spatial and quality scaling. Multi-view HEVC (MV-HEVC) is an extension to HEVC / H.265 that provides support for multi-view scaling. 3D HEVC (3D-HEVC) is an extension to HEVC / H.264 that provides support for more advanced and efficient 3D video coding than MV-HEVC. Note that temporal scaling is included as an integral part of the single-layer HEVC codec. The multi-layer extension design of HEVC utilizes the idea that decoded images used for inter-layer prediction come only from the same access unit (AU) and are treated as long-term reference images (LTRPs), with reference indexes assigned to the reference image list(s) along with other temporal reference images in the current layer. Interlayer prediction (ILP) is achieved at the prediction module level by assigning a reference index value to the reference image(s) of the interlayer in the reference image list(s).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Significantly, both reference image resampling and spatial augmentation features require resampling a reference image or part of it. Reference image resampling (RPR) can be achieved either at the image level or at the cipher block level. However, when RPR is referred to as a cipher feature, it is a single-layer cipher feature. However, it is possible, or even preferable, from a cryptographic design perspective to use the same resampling filter for both the RPR feature for single-layer ciphering and the spatial augmentation feature for multi-layer ciphering.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 6 illustrates an example of a layer-dependent prediction 600 using output layer sets (OLSs), for example, as performed to determine MVs in block compression step 105, block decoding step 113, motion estimation component 221, motion compensation component 219, motion compensation component 321, and / or motion compensation component 421. The block-dependent prediction 600 is compatible with unidirectional interprediction and / or bidirectional interprediction, but is also performed between images in different layers. The layer-dependent prediction of Figure 6 is similar to the one shown in Figure 5. Therefore, for brevity, a full description of the layer-dependent prediction is not repeated.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Some of the layers in the coded video sequence (CVS) 690 shown in Figure 6 are embedded in an OLS. An OLS is a set of layers with one or more layers designated as output layers. The output layer is an OLS layer that is output. Figure 6 depicts three different OLSs, namely OLS 1, OLS 2, and OLS 3. As shown, OLS 1 includes layer N 631 and layer N+1 632. OLS 2 includes layer N 631, layer N+1 632, layer N+2 633, and layer N+3 634. OLS 3 includes layer N 631, layer N+1 632, and layer N+2 633. Although three OLSs are shown, a different number of OLSs can be used in practical applications. Other strata, such as N+4 635, are not included in the OLSs shown (e.g., OLS 1, OLS 2, and OLS 3) but are available for inclusion in other OLSs.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Each of the different OLSs can contain any number of layers. Different OLSs are generated in an attempt to accommodate the coding capabilities of a variety of different devices with different coding capabilities. For example, OLS 1, which contains only two layers, could be generated to accommodate a mobile phone with relatively limited coding capabilities. On the other hand, OLS 2, which contains four layers, could be generated to accommodate a large-screen TV, which is capable of decoding higher layers than a mobile phone. OLS 3, which contains three layers, could be generated to accommodate a personal computer, laptop, or tablet, which may be capable of decoding higher layers than a mobile phone but cannot decode higher layers like a large-screen TV.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The layers shown in Figure 6 can all be independent of each other. That is, each layer can be encoded without using Interlayer Prediction (ILP). In this case, the layers are referred to as simultaneous layers. One or more of the layers shown in Figure 6 can also be encoded using ILP. Either the layers are simultaneous layers, or some of the layers are encoded using ILP by a tag in the video parameter set (VPS), which will be discussed more fully below. When some layers use ILP, the layer dependency relationship in the VPS is also indicated.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In one embodiment, when the layers are concurrent, only one layer is selected for decoding and output. In another embodiment, when some layers use ILP, all layers (e.g., the entire bitstream) are selected for decoding, and certain layers between the layers are selected as output layers. The output layer or layers can be, for example, 1) just the topmost layer, 2) all the layers, or 3) the topmost layer plus a set of referenced lower layers. For example, when the topmost layer plus a set of referenced lower layers is designated output by a flag in the VPS, layer N+3 634 (the highest layer) and layers N+1 632 (the lowest layers) of OLS 2 are the output.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> As shown in Figure 6, each layer consists of any number of images. For example, layer N631 contains images 615-618, layer N+1632 contains images 611-614, layer N+2633 contains images 641-644, layer N+3634 contains images 651-654, and layer N+4635 contains images 661-664.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 7 is a schematic diagram illustrating an illustrative multilayer video sequence 700 adapted for temporal scalability. The multilayer video sequence 700 may be encoded by an encoder, such as encoder 200 and / or encoder 300, and decoded by a decoder, such as encoder 200 and / or decoder 400, for example, in accordance with method 100. The multilayer video sequence 700 is included to illustrate another illustrative application of layers in an encoded video sequence. For example, the multilayer video sequence 700 may be used as a separate model or may be combined with techniques described in connection with layer-dependent prediction 500 or 600.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The multilayer video sequence 700 contains sublayers 710, 720, and 730. The sublayer is a scalable temporal layer for a scalable temporal bitstream that includes VCL NALs (e.g., images) with a specified temporal identifier value, as well as non-VCL NALs (e.g., supporting parameters). Sublayer 710 may be referred to as a base layer, and sublayers 720 and 730 may be referred to as enhancement layers. As illustrated, sublayer 710 includes images 711 at a first frame rate, such as 30 frames per second. Sublayer 710 is a base layer because sublayer 710 includes the base / lower frame rate. The 720 sublayer contains the 721 images that are temporally offset from the 711 images of the 710 sublayer. The result is that the 710 sublayer and the 720 sublayer can be combined, resulting in a combined frame rate higher than the frame rate of the 710 sublayer alone. For example, the 710 and 720 sublayers can have a combined frame rate of 60 frames per second.<h2 style=";text-align:left;direction:ltr">Therefore, sublayer 720 enhances the frame rate of sublayer 710. Furthermore, sublayer 730 contains images 731 that are also temporally offset from images 721 and 711 of sublayers 720 and 710. As such, sublayer 730 can be combined with sublayers 720 and 710 to further enhance sublayer 710. For example, sublayers 710, 720, and 730 can have a combined frame rate of 90 frames per second.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A sublayer representation 740 may be dynamically generated by combining sublayers 710, 720, and / or 730. The sublayer representation 740 is a subset of a bitstream containing the NALs of a given sublayer and the sublayers below. In the example shown, the sublayer representation 740 contains images 741, which are the combined images 711, 721, and 731 of sublayers 710, 720, and 730. Accordingly, the multilayer video sequence 700 may be temporally scaled to a desired frame rate by selecting a sublayer representation 740 that includes a desired combination of sublayers 710, 720, and / or 730. The sublayer representation 740 may be generated by using OLS that includes sublayers 710, 720, and / or 730 as layers. In such a case, the sublayer representation 740 is selected as the output layer. As such, temporal scalability is one of many mechanisms that can be achieved using multi-layer mechanisms.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In one embodiment, sublayers 710, 720, and 730 are each associated with a temporal identifier (ID), which can represent a TemporalID. For example, sublayer 710 can have a TemporalID of 755, sublayer 720 can have a TemporalID of 757, and sublayer 730 can have a TemporalID of 759. TemporalIDs 755, 757, and 759 can be used to uniquely identify each of the sublayers.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In one embodiment, the syntax element vps_max_sublayer_minus1 plus 1 represents the maximum number of temporary sublayers (e.g., sublayers 710, 720, 730, etc.) that may exist in a layer (e.g., layer 631, 632, etc.) defined by the VPS. In one embodiment, the value of vps_max_sublayer_minus1 must be in the range from zero to six, with both values ​​inclusive. Therefore, the multilayer video sequence 700 has a maximum number of sublayers in the range from one to seven.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In the example shown in Figure 7, sublayer 730 is the sublayer furthest from sublayer 710, the base sublayer. That is, there is no sublayer in Figure 7 that is above or above sublayer 730. Therefore, sublayer 730 in Figure 7 can be referred to as the highest representation of the sublayer.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Video coding standards such as HEVC, SHVC, MV-HEVC, and VVC define and refer to a profile, layer, and level. Profiles, layers, and levels define constraints on bitstreams and thus limit the capabilities required to decode bitstreams. Profiles, layers, and levels can also be used to indicate points of interoperability between individual decoder implementations. A profile is a specific set of encoders used to create a compatible bitstream. Each profile defines a subset of algorithmic features and constraints that must be supported by all decoders conforming to that profile.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A level is a set of constraints on a bit stream (e.g., maximum LUMMA sample rate, maximum bit rate for a resolution, etc.). That is, a level is a set of constraints that indicate the decoder performance required to play a bit stream of the specified profile.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The levels are divided into two layers: main and high. The main layer is the layer below the high layer. The layers are designed to handle applications that vary in their maximum bitrate. The main layer is designed for most applications, while the high layer is designed for any application with high demands. The set of constraints and / or layers corresponding to the levels can be referred to here as level information.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Each layer level defines a set of limits on the values ​​that can be addressed by the syntax elements of a given standard (e.g., HEVC, VVC). The same set of level and layer definitions is used across all profiles, but individual implementations may support a different layer and, within a layer, a different level for each supported profile. For any given profile, a given layer level generally corresponds to the memory capabilities and processing overhead of a specific decoder.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Using the HEVC standard, a representative example of levels and layers for different profiles is provided in Table 1 below.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Table 1<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Level Maximum bitrate for 12 main 4:4:4 profiles (1000 bits / s) Maximum high throughput bitrate for 16 internal 4:4:4 profiles (1000 bits / s) Illustration resolution at highest frame rate (MaxDPBsize)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Main layer High layer Main layer High layer<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 5.2 180,000 720,000 5,760,000 23,040,000 4,096×2,160@120.0<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 6 180,000 720,000 5,760,000 23,040,000 8,192×4,320@30.0<h2 style=";text-align:left;direction:ltr"> 6.1 180.000 720.000 11.520.000 46.080.000 8,192×4,320@60.0 6.2 720.000 2.400.000 23.040.000 76.800.000 8,192×4,320@120.0 <h2 style=";text-align:left;direction:ltr">Profile, layer, and level (PTL) parameters are a syntax construct (e.g., the i-th syntax profile_tier_level() ) that provides the profile, layer, and / or level as listed in the table above. Decoded picture buffer (DPB) parameters are a syntax construct (e.g., the i-th syntax dpb_parameters() ) that provides the DPB size and, optionally, the maximum image reorder number and maximum latency information. The maximum image reorder number and maximum latency information may be collectively referred to by the MRML acronym. HRD parameters are a syntax construct (e.g., the i-th syntax ols_timing_hrd_parameters() ) that initializes and / or sets the operational conditions of the HRD. Further details regarding one or more of the PTL parameters, decoded picture buffer (DPB) parameters, and HRD parameters are provided below.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In one embodiment, the maximum number of image reorders is dpb_max_num_reorder_pics[ i ], which specifies the maximum allowable number of OLS images that can precede any image in OLS in decoding order and follow that image in output order when Htid equals i. The value of dpb_max_num_reorder_pics[ i ] must be in the range from zero to dpb_max_dec_pic_buffering_minus1[ i ], inclusive. When i is greater than zero, dpb_max_num_reorder_pics[ i ] must be greater than or equal to dpb_max_num_reorder_pics[ i − 1 ]. When dpb_max_num_reorder_pics[ i ] does not exist for i in the range 0 to MaxSubLayersMinus1 − 1, including both values, since subLayerInfoFlag is 0, it is inferred to be equal to dpb_max_num_reorder_pics[ MaxSubLayersMinus1 ]. Htid is a variable specifying the highest temporary sublayer to be decoded.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">dpb_max_dec_pic_buffering_minus1[ i ] plus 1 specifies the maximum DPB size required in buffer units to store images when Htid is equal to i. The value of dpb_max_dec_pic_buffering_minus1[ i ] must be in the range from zero to MaxDpbSize − 1, inclusive, where MaxDpbSize is as defined in Subsection A.4.2 of the VVC standard. When i is greater than zero, dpb_max_dec_pic_buffering_minus1[ i ] must be greater than or equal to dpb_max_dec_pic_buffering_minus1[ i − 1 ]. When dpb_max_dec_pic_buffering_minus1[ i ] does not exist for i in the range 0 to MaxSubLayersMinus1-1, including both values, since subLayerInfoFlag is zero, it is inferred to be equal to dpb_max_dec_pic_buffering_minus1[ MaxSubLayersMinus1 ].<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In one embodiment, the maximum selection information is dpb_max_latency_increase_plus1[ i ]. A non-zero dpb_max_latency_increase_plus1[ i ] is used to calculate the value MaxLatencyPictures[ i ], which specifies the maximum number of OLS images that can precede any OLS image in output order and follow that image in decoding order when Htid equals i.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> MaxLatencyPictures[ i ] = dpb_max_num_reorder_pics[ i ] + dpb_max_latency_increase_plus1[ i ] – 1.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Unfortunately, references to the level information (and possibly other PTL parameters), HRD parameters, and DPB parameters are issued for each layer (e.g., layers 631, 632, etc.) in a multilayer bitstream even when the PTL, HRD, and / or DPB parameters are identical for one or more layers (e.g., when all layers have the same number of sublayers). Therefore, the same parameters are referenced repeatedly in a multilayer bitstream, causing redundancy and inefficiency in the encoding process.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Techniques are disclosed to ensure that the same profile, layer, and level (PTL) parameters, hypothetical reference decoder (HRD) parameters, and decoded picture buffer (DPB) parameters are non-redundantly distributed across layers in a multilayer bitstream. Releasing the same PTL, HRD, and DPB parameters only once reduces redundancy and increases coding efficiency for multilayer video bitstreams. Thus, the encoder / decoder (also known as the "encoder") in video coding is improved relative to existing encoders. In practice, this improved video coding process provides a better user experience when transmitting, receiving, and / or displaying video.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 8 illustrates an embodiment of a video bitstream 800. As used herein, the video bitstream 800 may also be referred to as an encoded video bitstream, a bitstream, or variations thereof. As illustrated in Figure 8, the bitstream 800 comprises at least one picture unit (PU) 801. While three PUs 801 are illustrated in Figure 8, a different number of PUs 801 may be present in the bitstream 800 in practical applications. Each PU 801 is a plurality of NALs linked together according to a specific classification rule, consecutive in decoding order, and containing exactly one encoded picture (e.g., picture 814).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In one embodiment, each image unit 801 includes one or more of the following: decoding capability information (DCI) 802, a video parameter set (VPS) 804, a sequence parameter set (SPS) 806, a picture parameter set (PPS) 808, a picture header (PH) 812, and an image 814. The DCI 802, the VPS 804, the sequence parameter set (SPS) 806, and the PPS 808 may be collectively referred to as a parameter set. In one embodiment, parameter sets other than those shown in Fig. 8 may also be included in the bitstream 800 such as an alignment parameter set (APS), which is a syntax structure containing syntax elements that apply to zero or more chips as defined by zero or more syntax elements contained in the chip headers.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">DCI 802, which may also be referred to as a decoder parameter set (DPS) or decoder parameter set, is a syntax construct containing syntax elements that apply to the entire bitstream. DCI 802 includes parameters that remain constant throughout the lifetime of the video bitstream (e.g., bitstream 800), which can be translated into the lifetime of a session. DCI 802 can contain shape, level, and subshape information to define a maximum complexity matching point that can be guaranteed never to be exceeded, even if video sequences are interconnected during a session. It also optionally includes restriction flags, which indicate that the video bitstream will be restricted to using certain features, as indicated by the values ​​of those flags. Using these flags, a bitstream can be marked as not using certain tools, allowing, among other things, resource allocation in the implementation of a decoder. Similar to all parameter sets, DCI 802 is present when first referenced, and is referred to as the first image in the video sequence, meaning that it must be transmitted between the first NALs in the bitstream.<h2 style=";text-align:left;direction:ltr">While multiple 802 DCIs can exist in a bit stream, the value of their syntax elements cannot be inconsistent when referenced.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> VPS 804 contains dependency or decoding information for constructing a reference image set for augmentation layers. VPS 804 provides a global view or perspective of an augmentable sequence, including the types of available process points, the shape, layer, and level of the process points, and certain other high-level properties of the bitstream that can be used as a basis for session negotiation, content selection, etc.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In one embodiment, VPS 804 includes flag 850. In one embodiment, flag 850 represents vps_default_ptl_dpb_hrd_max_tid_flag. Flag 850 may be set or have a first value (for example, one) or a second value (for example, zero). If not present, the value of flag 850 is inferred to be equal to 1. Flag 850 having the first value specifies that the syntax elements vps_ptl_max_tid[ i ], vps_dpb_max_tid[ i ], and vps_hrd_max_tid[ i ] are not present in VPS 804 and are inferred to be equal to the default value vps_max_sublayers_minus1. That is, the temporary identifier (tid) for the highest sublayer representation (e.g., sublayer 730) that corresponds to the profile layer level (PTL) parameters, picture buffer (DPB) parameters, and hypothetical reference decoder (HRD) parameters is absent in VPS 804.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">vps_ptl_max_tid[ i ] specifies the TemporalId of the highest representation of the subtier (for example, subtier 730) whose level information is in the i-th profile_tier_level() syntax in VPS 804 and the TemporalId of the highest representation of the subtier in the OLSs whose olsIdx is the OLS index such that vps_ols_ptl_idx[ olsIdx ] is equal to i.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> vps_dpb_max_tid[ i ] specifies the TemporalId of the highest sublayer representation (for example, sublayer 730) where DPB parameters can be present in the i-th dpb_parameters() syntax in VPS 804. The value of vps_dpb_max_tid[ i ] must be in the range 0 to vps_max_sublayers_minus1, inclusive. If not present, the value of vps_dpb_max_tid[ i ] is inferred to be equal to vps_max_sublayers_minus1.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">vps_hrd_max_tid[ i ] specifies the TemporalId of the highest sublayer representation (e.g., sublayer 730) whose HRD parameters are contained in the i-th ols_timing_hrd_parameters( ) syntax. In one embodiment, the i-th ols_timing_hrd_parameters( ) syntax is contained in VPS 804 or sequence parameter set (SPS) 8066. The value of vps_hrd_max_tid[ i ] must be in the range 0 to vps_max_sublayers_minus1, with both values ​​included. If not present, the value of vps_hrd_max_tid[ i ] is inferred to be equal to vps_max_sublayers_minus1.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">vps_max_sublayers_minus1 plus 1 specifies the maximum number of temporary sublayers (e.g., sublayers 710, 720, 730) that may be present in a layer (e.g., layers 631, 632, 633, etc.) defined by VPS 804. In one embodiment, the value of vps_max_sublayer_minus1 is in the range from 0 to 6, with both values ​​inclusive. Thus, the maximum number of sublayers is in the range from one to seven. That is, there are anywhere from one to seven sublayers in the multilayer bitstream depending on the value of vps_max_sublayers_minus1.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The second-valued flag 850 specifies that the syntax elements vps_ptl_max_tid[ i ], vps_dpb_max_tid[ i ], and vps_hrd_max_tid[ i ] are present in VPS 804. That is, the temporary identifier (tid) of the highest sublayer representation (e.g., sublayer 730) corresponding to the profile layer level (PTL) parameters, decoded picture buffer (DPB) parameters, and hypothetical reference decoder (HRD) parameters are present in VPS 804.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In one embodiment, flag 850 represents vps_all_layers_same_num_sublayers_flag. The flag may be set to a first value (for example, one), a second value (for example, zero), or both. Flag 850 with the first value specifies that the number of temporary sublayers is the same across all layers in each coded video sequence (CVS) 816 that references VPS 804. Flag 850 with the second value can specify that the layers in each CVS 816 that references VPS 804 have the same or a different number of temporary sublayers. If not present, the value of flag 850 is inferred to be 1. In one embodiment, the name and semantics of flag 850 are changed from vps_all_layers_same_num_sublayers_flag to vps_default_ptl_dpb_hrd_max_tid_flag to control only the VPS syntax without requiring the number of sublayers to be the same for all layers.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The sequence parameter set (SPS) 806 contains data common to all images in a sequence of images (SPS) 806. The SPS is a syntax structure containing syntax elements that apply to zero or more entire CLVSs as specified by the content of a syntax element contained in the PPS referenced by a syntax element contained in each image header. In contrast, the PPS 808 contains data common to the entire image. The PPS 808 is a syntax structure containing syntax elements that apply to zero or more entire encoded images as specified by a syntax element contained in each image header (e.g., image header 812).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In one embodiment, the VPS 804 and / or SPS 806 have the following SPS syntax and semantics for implementing one or more of the embodiments disclosed herein.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The VPS syntax includes the following.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> video_parameter_set_rbsp( ) { descriptor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> vps_video_parameter_set_id u(4)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> vps_max_layers_minus1 u(6)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> vps_max_sub_layers_minus1 u(3)<h2 style=";text-align:left;direction:ltr"> if( vps_max_layers_minus1 > 0 && vps_max_sub_layers_minus1 > 0 ) vps_all_layers_same_num_sub_layers_flag u(1) if( vps_max_layers_minus1 > 0 ) vps_all_independent_layers_flag u(1) ... vps_num_ptls u(8) for( i = 0; i < vps_num_ptls; i++ ) { if( i > 0 ) pt_present_flag[ i ] u(1) if( vps_max_sub_layers_minus1 > 0 && !vps_all_layers_same_num_sub_layers_flag ) ptl_max_temporal_id[ i ] u(3) } while( !byte_aligned( ) ) vps_ptl_byte_alignment_zero_bit / * equal to 0 * / u(1) for( i = 0; i < vps_num_ptls; i++ ) profile_tier_level( pt_present_flag[ i ], ptl_max_temporal_id[ i ] ) for( i = 0; i < TotalNumOlss; i++ ) if( NumLayersInOls[ i ] > 1 && vps_num_ptls > 1 ) ols_ptl_idx[ i ] u(8) if( !vps_all_independent_layers_flag ) vps_num_dpb_params ue(v) if( vps_num_dpb_params > 0 ) { same_dpb_size_output_or_nonoutput_flag u(1) if( vps_max_sub_layers_minus1 > 0 ) vps_sub_layer_dpb_params_present_flag u(1) } for( i = 0; i < vps_num_dpb_params; i++ ) { dpb_size_only_flag[ i ] u(1) if( vps_max_sub_layers_minus1 > 0 && !vps_all_layers_same_num_sub_layers_flag ) dpb_max_temporal_id[ i ] u(3) dpb_parameters( dpb_size_only_flag[ i ], dpb_max_temporal_id[ i ], vps_sub_layer_dpb_params_present_flag ) } for( i = 0; i < vps_max_layers_minus1 && vps_num_dpb_params > 1; i++ ) { if( !vps_independent_layer_flag[ i ] ) layer_output_dpb_params_idx[ i ] ue(v) if( LayerUsedAsRefLayerFlag[ i ] && !same_dpb_size_output_or_nonoutput_flag ) layer_nonoutput_dpb_params_idx[ i ] ue(v) } general_hrd_params_present_flag u(1) if( general_hrd_params_present_flag ) { num_units_in_tick u(32) time_scale u(32) general_hrd_parameters( ) } vps_extension_flag u(1) if( vps_extension_flag ) while( more_rbsp_data( ) ) vps_extension_data_flag u(1) rbsp_trailing_bits( ) } يشتمل بناء جملة حمولة تسلسل بايت أولي لـ SPS (RBSP) على ما يلي: seq_parameter_set_rbsp( ) { الواصف sps_decoding_parameter_set_id u(4) sps_video_parameter_set_id u(4) sps_max_sub_layers_minus1 u(3) sps_reserved_zero_4bits u(4) sps_ptl_dpb_present_flag u(1) if( sps_ptl_dpb_present_flag ) profile_tier_level( 1, sps_max_sub_layers_minus1 ) gdr_enabled_flag u(1) sps_seq_parameter_set_id ue(v) chroma_format_idc ue(v) ... log2_max_pic_order_cnt_lsb_minus4 ue(v) poc_msb_in_rap_pics_flag u(1) if( poc_msb_in_rap_pics_flag > 0 ) poc_msb_len_minus1 ue(v) if( sps_max_sub_layers_minus1 > 0 ) sps_sub_layer_dpb_params_flag u(1) if( sps_ptl_dpb_present_flag ) dpb_parameters( 0, sps_max_sub_layers_minus1, sps_sub_layer_dpb_params_flag ) long_term_ref_pics_flag u(1) ... sps_scaling_list_enabled_flag u(1) vui_parameters_present_flag u(1) if( vui_parameters_present_flag ) vui_parameters( ) sps_extension_flag u(1) if( sps_extension_flag ) while( more_rbsp_data( ) ) sps_extension_data_flag u(1) rbsp_trailing_bits( ) } يشتمل بناء جملة DPB على ما يلي: dpb_parameters( dpbSizeOnlyFlag, maxSubLayersMinus1, subLayerInfoFlag ) { الواصف<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> for( i = ( subLayerInfoFlag ? 0 : maxSubLayersMinus1 ); i <= maxSubLayersMinus1; i++ ) {<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> max_dec_pic_buffering_minus1[ i ] ue(v)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> if( !dpbSizeOnlyFlag ) {<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> max_num_reorder_pics[ i ]ue(v)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> max_latency_increase_plus1[ i ]ue(v)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">}<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">}<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">}<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The HRD parameter syntax includes the general HRD parameter syntax, the OLS HRD parameter syntax, and the sublayer HRD parameter syntax.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The syntax for global HRD variables includes:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> general_hrd_parameters( ) { descriptor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> general_nal_hrd_params_present_flag u(1)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> general_vcl_hrd_params_present_flag u(1)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> if( general_nal_hrd_params_present_flag | | general_vcl_hrd_params_present_flag ) {<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> decoding_unit_hrd_params_present_flag u(1)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> if( decoding_unit_hrd_params_present_flag ) {<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> tick_divisor_minus2 u(8)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> decoding_unit_cpb_params_in_pic_timing_sei_flag u(1) } bit_rate_scale u(4) cpb_size_scale u(4) if( decoding_unit_hrd_params_present_flag ) cpb_size_du_scale u(4) } if( vps_max_sub_layers_minus1 > 0 ) sub_layer_cpb_params_present_flag u(1) if( TotalNumOlss > 1 ) num_ols_hrd_params_minus1 ue(v) hrd_cpb_cnt_minus1 ue(v) for( i = 0; i <= num_ols_hrd_params_minus1; i++ ) { if( vps_max_sub_layers_minus1 > 0 && !vps_all_layers_same_num_sub_layers_flag ) hrd_max_temporal_id[ i ] u(3) ols_hrd_parameters( hrd_max_temporal_id[ i ] ) } if( num_ols_hrd_params_minus1 > 0 ) for( i = 1; i < TotalNumOlss; i++ ) ols_hrd_idx[ i ] ue(v) } يشتمل بناء جملة متغيرات OLS HRD على ما يلي: ols_hrd_parameters( hrdMaxTid ) { الواصف firstSubLayer = sub_layer_cpb_params_present_flag ? 0: hrdMaxTid for( i = firstSubLayer; i <= hrdMaxTid; i++ ) { fixed_pic_rate_general_flag[ i ] u(1) if( !fixed_pic_rate_general_flag[ i ] ) fixed_pic_rate_within_cvs_flag[ i ] u(1) if( fixed_pic_rate_within_cvs_flag[ i ] ) elemental_duration_in_tc_minus1[ i ] ue(v) else if( hrd_cpb_cnt_minus1 = = 0 ) low_delay_hrd_flag[ i ] u(1) if( general_nal_hrd_params_present_flag ) sub_layer_hrd_parameters( i ) if( general_vcl_hrd_params_present_flag ) sub_layer_hrd_parameters( i ) } } يشتمل بناء جملة متغيرات HRD للطبقة الفرعية على ما يلي: sub_layer_hrd_parameters( subLayerId ) { الواصف for( j = 0; j <= hrd_cpb_cnt_minus1; j++ ) { bit_rate_value_minus1[ subLayerId ][ j ] ue(v) <h2 style=";text-align:left;direction:ltr">cpb_size_value_minus1[ subLayerId ][ j ] ue(v)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> if( decoding_unit_hrd_params_present_flag ) {<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> cpb_size_du_value_minus1[ subLayerId ][ j ] ue(v)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> bit_rate_du_value_minus1[ subLayerId ][ j ] ue(v)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">}<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> cbr_flag[ subLayerId ][ j ] u(1)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">}<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">}<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The meaning of VPS is as follows.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> vps_max_layers_minus1 plus 1 specifies the maximum number of layers allowed in each CVS that points to a VPS.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> vps_max_sub_layer_minus1 plus 1 specifies the maximum number of temporary sublayers that may exist in each CVS pointing to a VPS. The value of vps_max_sub_layers_minus1 must be in the range 0 to 6, inclusive.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A vps_all_layers_same_num_sub_layers_flag of 1 specifies that the number of temporary sublayers is the same for all layers in each CVS that references the VPS. A vps_all_layers_same_num_sub_layers_flag of 0 specifies that the layers in each CVS that references the VPS may or may not have the same number of temporary sublayers. If none exists, the vps_all_layers_same_num_sub_layers_flag is inferred to be 1.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> vps_all_independent_layers_flag of 1 specifies that all layers in the CVS are encoded independently without using interlayer prediction. vps_all_independent_layers_flag of 0 specifies that one or more layers in the CVS may use interlayer prediction. If none is present, vps_all_independent_layers_flag is inferred to be 1. When vps_all_independent_layers_flag is 1, vps_independent_layer_flag[ i ] is inferred to be 1. When vps_all_independent_psflag is 0, vps_independent_layer_flag[ 0 ] is inferred to be 1.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">vps_direct_dependency_flag[ i ][ j ] of 0 specifies that the layer with index j is not a direct reference layer for the layer with index i. vps_direct_dependency_flag[ i ][ j ] of 1 specifies that the layer with index j is a direct reference layer for the layer with index i. When vps_direct_dependency_flag[ i ][ j ] for i and j is not in the range 0 to vps_max_layers_minus1, and both values ​​are included, it is inferred to be 0.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The variable DirectDependentLayerIdx[ i ][ j ], which identifies the j-th dependent layer directly to the j-th layer, and the variable LayerUsedAsRefLayerFlag[ j ], which identifies whether the layer with layer index j is used as a reference layer to any other layer, are derived as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">if( vps_direct_dependency_flag[ i ][ j ] ) { DirectDependentLayerIdx[ i ][ k++ ] = j LayerUsedAsRefLayerFlag[ j ] = 1}<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The variable GeneralLayerIdx[ i ], which specifies the layer index for the layer with nuh_layer_id equal to vps_layer_id[ i ], is derived as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> for( i = 0; i <= vps_max_layers_minus1; i++ ) GeneralLayerIdx[ vps_layer_id[ i ] ] = i<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">each_layer_is_an_ols_flag of 1 specifies that each output layer group contains only one layer, and each layer itself in the bitstream is an output layer group with a single layer embedded that is a single output layer. each_layer_is_an_ols_flag of 0 specifies that an output layer group can contain more than one layer. If vps_max_layers_minus1 is 0, each_layer_is_an_ols_flag is 1. Otherwise, when vps_all_independent_layers_flag is 0, each_layer_is_an_ols_flag is 0.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">ols_mode_idc of 0 specifies that the total number of OLSs defined by the VPS is vps_max_layers_minus1 + 1. The i-th OLS includes layers with layer indices from zero to i, including both values. For each OLS, only the top OLS layer is output. ols_mode_idc of 1 specifies that the total number of OLSs defined by the VPS is vps_max_layers_minus1 + 1. The i-th OLS includes layers with layer indices from zero to i, including both values. For each OLS, all layers in the OLS are output. ols_mode_idc of 2 specifies that the total number of OLSs defined by the VPS is explicitly referenced. For each OLS, the top layer and the set of bottom layers explicitly referenced in the OLS are output. The ols_mode_idc value must be in the range from zero to 2, including both values. The value 3 for ols_mode_idc is intended for future use by ITU-T | ISO / IEC. When vps_all_independent_layers_flag is 1 and each_layer_is_an_ols_flag is 0, the value of ols_mode_idc is inferred to be 2.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">num_output_layer_sets_minus1 plus 1 sets the total number of OLSs defined by the VPS when ols_mode_idc equals 2.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The variable TotalNumOlss, which specifies the total number of OLSs defined by the VPS, is derived as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> if( vps_max_layers_minus1 = = 0 ) TotalNumOlss = 1 else if( each_layer_is_an_ols_flag | | ols_mode_idc = = 0 | | ols_mode_idc = = 1 ) TotalNumOlss = vps_max_layers_minus1 + 1 else if( ols_mode_idc = = 2 ) TotalNumOlss = num_output_layer_sets_minus1 + 1<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> layer_included_flag[ i ][ j ] determines whether the j-th layer (i.e., the layer with nuh_layer_id equal to vps_layer_id[ j ]) is included in the i-th OLS when ols_mode_idc equals 2. layer_included_flag[ i ][ j ] of 1 determines that the j-th layer is included in the i-th OLS. layer_included_flag[ i ][ j ] of 0 determines that the j-th layer is not included in the i-th OLS.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The variable NumLayersInOls[ i ], which specifies the number of layers in the i-th OLS, and the variable i-th OLS, specifying the value of nuh_layer_id for the j-th layer in the i-th OLS, are derived as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> NumLayersInOls[ 0 ] = 1 LayerIdInOls[ 0 ][ 0 ] = vps_layer_id[ 0 ] for( i = 1, i < TotalNumOlss; i++ ) { if( each_layer_is_an_ols_flag ) { NumLayersInOls[ i ] = 1 LayerIdInOls[ i ][ 0 ] = vps_layer_id[ i ]} else if( ols_mode_idc = = 0 | | ols_mode_idc = = 1 ) { NumLayersInOls[ i ] = i + 1 for( j = 0; j < NumLayersInOls[ i ]; j++ ) LayerIdInOls[ i ][ j ] = vps_layer_id[ j ]} else if( ols_mode_idc = = 2 ) {for(k = 0, j = 0; k <= vps_max_layers_minus1; k++ ) if( layer_included_flag[ i ][ k ] ) LayerIdInOls[ i ][ j++ ] = vps_layer_id[ k ] NumLayersInOls[ i ] = j}}<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The variable OlsLayeIdx[ i ][ j ], which specifies the OLS layer index of the layer whose nuh_layer_id equals LayerIdInOls[ i ][ j ], is derived as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">for( i = 0, i < TotalNumOlss; i++ ) for j = 0; j < NumLayersInOls[ i ]; j++ ) OlsLayeIdx[ i ][ LayerIdInOls[ i ][ j ] ] = j<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The lowest layer in each OLS must be an independent layer. In other words, for each i in the range 0 to TotalNumOlss - 1, including both values, the value of vps_independent_layer_flag[ GeneralLayerIdx[ LayerIdInOls[ i ][ 0 ] ] ] must be equal to 1.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Each layer must be included in at least one OLS defined by a VPS. In other words, for each layer with a nuh_layer_id value equal to one of vps_layer_id[ k ] for k in the range 0 to vps_max_layers_minus1, including both values, there must be at least one pair of i and j values, where i lies in the range 0 to TotalNumOlss - 1, including both values, and j lies in the range NumLayersInOls[ i ] - 1, including the value, such that LayerIdInOls[ i ][ j ] is equal to nuhLayerId.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Any layer in OLS must be an OLS output layer or a reference layer (direct or indirect) of an OLS output layer.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">vps_output_layer_flag[ i ][ j ] determines whether the j-th layer in the i-th OLS is output when ols_mode_idc is 2. vps_output_layer_flag[ i ] of 1 determines that the j-th layer in the i-th OLS is output. vps_output_layer_flag[ i ] of 0 determines that the j-th layer in the i-th OLS is not output. When vps_all_independent_layers_flag is 1 and each_layer_is_an_ols_flag is 0, the value of vps_output_layer_flag[ i ] is inferred to be 1.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The variable OutputLayerFlag[ i ][ j ], where the value 1 specifies that the j-th layer in the i-th OLS is the output and the value 0 specifies that the j-th layer in the i-th OLS is not the output, is derived as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">for( i = 0, i < TotalNumOlss; i++ ) { OutputLayerFlag[ i ][ NumLayersInOls[ i ] − 1 ] = 1 for( j = 0; j < NumLayersInOls[ i ] − 1; j++ ) if( ols_mode_idc[ i ] = = 0 ) OutputLayerFlag[ i ][ j ] = 0 else if( ols_mode_idc[ i ] = = 1 ) OutputLayerFlag[ i ][ j ] = 1 else if( ols_mode_idc[ i ] = = 2 ) OutputLayerFlag[ i ][ j ] = vps_output_layer_flag[ i ][ j ]}<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Note- 0-th OLS contains only the lowest layer (i.e. the layer with nuh_layer_id equal to [vps_layer_id[0]) and for 0-th OLS, only the included layer is output.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> vps_num_ptls specifies the number of profile_tier_level() syntax constructs in the VPS.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A pt_present_flag[i] of 1 specifies that the profile, layer, and global constraints information is present in the i-th profile_tier_level() syntax in the VPS. A pt_present_flag[i] of 0 specifies that the profile, layer, and global constraints information is not present in the i-th profile_tier_level() syntax in the VPS. The value of pt_present_flag[0] is inferred to be zero. When pt_present_flag[i] is 0, the profile, layer, and global constraints information of the i-th profile_tier_level() syntax in the VPS is inferred to be the same as that of the ( i − 1 )-th profile_tier_level() syntax in the VPS.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">ptl_max_temporal_id[i] specifies the TemporalId of the highest sublayer representation where the level information is contained in the i-th profile_tier_level() syntax in the VPS. The value of ptl_max_temporal_id[i] must be in the range 0 to vps_max_sub_layers_minus1, inclusive. When vps_max_sub_layers_minus1 is 0, the value of ptl_max_temporal_id[i] is 0. When vps_max_sub_layers_minus1 is greater than 0 and vps_all_layers_same_num_sub_layer_max_tax is 1, the value of ptl_max_temporal_id[i] is 1.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> vps_ptl_byte_alignment_zero_bit must be zero.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ols_ptl_idx[i] specifies the index, to the list of profile_tier_level() syntax constructs in the VPS, of the profile_tier_level() syntax construct that applies to the i-th OLS. When present, the value of ols_ptl_idx i]] must be in the range 0 to vps_num_ptls - 1, inclusive.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> When NumLayersInOls[i] is equal to 1, the profile_tier_level() syntax that applies to the i-th OLS is present in the SPS pointed to by the layer in the i-th OLS.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> vps_num_dpb_params specifies the number of dpb_parameters() syntax constructs in the VPS. The value of vps_num_dpb_params must be in the range 0 to 16, inclusive. When not present, the value of vps_num_dpb_params is inferred to be zero.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A same_dpb_size_output_or_nonoutput_flag of 1 specifies that no layer_nonoutput_dpb_params_idx[i] syntax element is present in the VPS. A same_dpb_size_output_or_nonoutput_flag of 0 specifies that layer_nonoutput_dpb_params_idx[i] syntax element may or may not be present in the VPS.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> vps_sub_layer_dpb_params_present_flag is used to control the presence of max_dec_pic_buffering_minus1[], max_num_reorder_pics[], and max_latency_increase_plus1 syntax elements in dpb_parameters() in the Vs structure. If not present, vps_sub_dpb_params_info_present_flag is inferred to be zero.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">dpb_size_only_flag[i]] equal to 1 specifies that the max_num_reorder_pics[] and max_latency_increase_plus1[] syntax elements are not present in the i-th dpb_parameters() VPS syntax. dpb_size_only_flag[i] equal to 1 specifies that the max_num_reorder_pics[] and max_latency_increase_plus1[] syntax elements may be present in the i-th dpb_parameters() VPS syntax.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> dpb_max_temporal_id[i] specifies the TemporalId to represent the highest sublayer that can be the decoded picture buffer (DPB) parameters present in the i-th dpb_parameters() syntax of the VPS. The value of dpb_max_temporal_id[i] must be in the range from zero to vps_max_sub_layers_minus1, inclusive. When vps_max_sub_layers_minus1 is zero, the value of dpb_max_temporal_id[i] is zero. When vps_max_sub_layers_minus1 is greater than zero and vps_all_layers_same_num_sub_layer_max_flag is 1, dpb_max_temporal_id[i] is inferred to be equal to vps_max_sub_layers_minus1.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">layer_output_dpb_params_idx[ i ] specifies the index, to the dpb_parameters() list in VPS, of the dpb_parameters() syntax that applies to the i-th layer when it is an output layer in OLS. When present, the value of layer_output_dpb_params_idx[ i ] must be in the range 0 to vps_num_dpb_params - 1, inclusive.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> If vps_independent_layer_flag[i] is 1, the dpb_parameters() syntax that applies to the i-th layer when it is the output layer is the dpb_parameters() syntax in the SPS pointed to by the layer.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Otherwise (vps_independent_layer_flag[i] is zero), the following applies:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> When vps_num_dpb_params is 1, the value of layer_output_dpb_params_idx[i] is zero.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A requirement for bitstream compatibility is that layer_output_dpb_params_idx[i] must have a value such as dpb_size_only_flag[layer_output_dpb_params_idx[i]] equal to zero.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">layer_nonoutput_dpb_params_idx[i]] specifies the index, to the list of dpb_parameters() data structures in VPS, of the dpb_parameters() syntax that applies to the i-th layer when it is a non-output layer in OLS. When present, the value of layer_nonoutput_dpb_params_idx[i] must be in the range 0 to vps_num_dpb_params - 1, inclusive.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> If same_dpb_size_output_or_nonoutput_flag is 1, the following will apply:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> If vps_independent_layer_flag[i] is 1, the dpb_parameters() syntax that applies to the i-th layer when it is a non-output layer is the dpb_parameters() syntax in the SPS pointed to by the layer.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Otherwise (vps_independent_layer_flag[i] is zero), layer_nonoutput_dpb_params_idx[i] is inferred to be equal to layer_output_dpb_params_idx[i].<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Otherwise (same as dpb_size_output_or_nonoutput_flag equals zero), when vps_num_dpb_params equals 1, the value of layer_output_dpb_params_idx[i] equals zero.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A vps_extension_flag value of 0 specifies that there are no vps_extension_data_flag syntax elements in the VPS RBSP syntax structure. A vps_extension_flag value of 1 specifies that there are vps_extension_data_flag syntax elements in the VPS RBSP syntax structure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The vps_extension_data_flag can have any value. Its presence and value do not affect a decoder's compatibility with the profiles defined in this version of this specification. Decoders conforming to this version of this specification must ignore all elements of the vps_extension_data_flag syntax.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The semantics of SPS RBSP are as follows.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The SPS RBSP must be available to the decryption process before it can be referenced, and be included in at least one access unit with a TemporalId of zero or provided through an external means, and the SPS NAL unit containing the SPS RBSP must have the nuh_layer_id of the lowest nuh_layer_id of the PPS NAL units it references.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> All SPS NAL modules with the special value sps_seq_parameter_set_id in CVS must have the same content.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">sps_decoding_parameter_set_id, when greater than zero, specifies the value of the dps_decoding_parameter_set_id for the DPS referenced by the SPS. When sps_decoding_parameter_set_id is zero, the SPS does not reference the DPS, and the DPS is not referenced when decoding each CLVS with a reference to the SPS. The value of sps_decoding_parameter_set_id must be the same for all SPSs referenced by the encoded images in a bitstream.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> sps_video_parameter_set_id, when greater than zero, specifies the vps_video_parameter_set_id value for the VPS pointed to by the SPS. When sps_video_parameter_set_id is zero, the SPS does not point to the VPS, and when decoding all CLVs that point to the SPS, the value of GeneralLayerIdx[nuh_layer_id] is inferred to be zero, and the value of vps_independent_layer_flag[GeneralLayerIdx[nuh_layer_id]] is inferred to be 1.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> When vps_independent_layer_flag [GeneralLayerIdx [nuh_layer_id]] is equal to 1, the SPS is referenced by a CLVS with a specific nuh_layer_id value, nuhLayerId, which must have its nuh_layer_id equal to nuhLayerId.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">sps_max_sub_layer_minus1 plus 1 specifies the maximum number of temporary sublayers that may exist in each CLVS that references an SPS. The value of sps_max_sub_layers_minus1 must be in the range from zero to vps_max_sub_layers_minus1, inclusive.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> sps_reserved_zero_4bits must be zero in bitstreams conforming to this version of this specification. Other values ​​for sps_reserved_zero_4bits are assigned for future use by ITU-T | ISO / IEC.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> sps_ptl_dpb_present_flag of 1 specifies that the profile_tier_level() syntax and the dpb_parameters() syntax are present in the SPS. sps_ptl_dpb_present_flag of 0 specifies that the profile_tier_level() syntax and the dpb_parameters() syntax are not present in the SPS. sps_ptl_dpb_present_flag must be equal to vps_independent_layer_flag[nuh_layer_id].<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">If vps_independent_layer_flag[GeneralLayerIdx[nuh_layer_id]] is equal to 1, then the variable MaxDecPicBuffMinus1 is set to max_dec_pic_buffering_minus1[sps_max_sub_parlayer_minus1] in the dpb_parameters() structure. Otherwise, MaxDecPicBuffMinus1 is set to max_dec_pic_buffering_minus1[sps_max_sub_layers_minus1] in the layer_nonoutput_dpb_params_idx[GeneralLayerIdx[ nuh_layer_id ] ]-th dpb_parameters() syntax in the VPS.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A gdr_enabled_flag of 1 specifies that progressive decode refresh (GDR) images may be present in CLVSs that reference SPSs. A gdr_enabled_flag of 0 specifies that GDR images are not present in CLVSs that reference SPSs.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> sps_sub_layer_dpb_params_flag is used to control the presence of the max_dec_pic_buffering_minus1[i], max_num_reorder_pics[i], and max_latency_increase_plus1[i] syntax elements in the dpb_parameters() syntax. If they are not present, sps_sub_dpb_params_info_present_flag is inferred to be zero.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A long_term_ref_pics_flag of 0 specifies that LTRPs should not be used for interprediction of any image encoded in CLVS. A long_term_ref_pics_flag of 1 specifies that LTRPs should be used for interprediction of one or more images encoded in CLVS.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The general meanings of profile, layer, and level are as follows.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The profile_tier_level() syntax provides level information, and optionally, profile and tier information, subprofile information, and global constraints (referred to as PT information).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> When the profile_tier_level() syntax is included in a DPS, the OlsInScope is an OLS that includes all layers in the entire bitstream that references the DPS. When the profile_tier_level() syntax is included in a VPS, the OlsInScope is one or more of the OLSs specified by the VPS. When the profile_tier_level() syntax is included in an SPS, the OlsInScope is an OLS that includes only the lowest layer among the layers that reference the SPS, which must be an independent layer.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">general_profile_idc specifies a profile to which OlsInScope conforms as defined in Annex A to the VVC standard. Bitstreams must not contain general_profile_idc values ​​other than those defined in Annex A. Other general_profile_idc values ​​are allocated for future use by ITU-T | ISO / IEC.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> general_tier_flag specifies the layer context for interpreting public_level_idc as defined in Appendix A.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> num_sub_profiles specifies the number of elements of the general_sub_profile_idc[i] syntax.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> general_sub_profile_idc[i] specifies the i-th interoperability metadata recorded as defined in ITU-T Recommendation T.35, the contents of which are not defined in the VVC standard.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> general_level_idc specifies a level to which OlsInScope conforms as defined in Annex A. Bitstreams must not contain general_level_idc values ​​other than those defined in Annex A. Other general_level_idc values ​​are allocated for future use by ITU-T | ISO / IEC.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Note 1 - A larger value for general_level_idc specifies a higher level. The maximum level indicated in the DPS for OlsInScope may be higher than the level indicated in the SPS for the CVS in OlsInScope.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Note 2 - When OlsInScope complies with multiple profiles, general_profile_idc must specify the profile that provides the preferred decoded result or preferred bitstream definition, as defined by the encoder (in a manner not specified in this specification).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Note 3 - When the profile_tier_level() syntax in DPS and CVS for OlsInScope corresponds to different profiles, public_profile_idc and level_idc must specify the profile and decoder level capable of decoding OlsInScope.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">sub_layer_level_present_flag[i] of 1 specifies that the level information is present in the profile_tier_level() syntax for representing the sublayer with TemporalId equal to i. sub_layer_level_present_flag[i] of 0 specifies that the level information is absent in the profile_tier_level() syntax for representing the sublayer with TemporalId equal to i.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ptl_alignment_zero_bits must be zero.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The semantics of the sub_layer_level_idc[i] syntax element, apart from the non-current value inference specification, are the same as the general_level_idc syntax element, but apply to the sublayer representation with TemporalId equal to i.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The DPB semantics are as follows.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The syntax dpb_parameters( maxSubLayersMinus1, subLayerInfoFlag ) provides information about the DPB size, the maximum number of image reorders, and the maximum latency for each CLVS of the CVS.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">When the dpb_parameters() syntax is included in a VPS, the VPS determines which OLSs it applies to. When the dpb_parameters() syntax is included in an SPS, it applies to OLSs that include only the lowest layer among the layers that reference the SPS, which must be an independent layer.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">max_dec_pic_buffering_minus1[i] plus 1 specifies, for each CLVS for CVS, the maximum size required for decoded image buffers in image buffer device units when Htid equals i. The value of max_dec_pic_buffering_minus1[i] must be in the range zero to maxDpbSize - 1, inclusive, where maxDpbSize is as defined elsewhere. When i is greater than zero, max_dec_pic_buffering_minus1[i] must be greater than or equal to max_dec_pic_buffering_minus1[i - 1]. When max_dec_pic_buffering_minus1[i] does not exist for i in the range from zero to maxSubLayersMinus1 - 1, including both values, since subLayerInfoFlag is zero, it is inferred to be equal to max_dec_pic_buffering_minus1[maxSubLayersMinus1].<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">max_num_reorder_pics[i], for each CLVS of a CVS, specifies the maximum number of CLVS images that can precede any image in the CLVS in decode order and follow that image in output order when Htid equals i. The value of max_num_reorder_pics[i] must be in the range zero to max_dec_pic_buffering_minus1[i], inclusive. When i is greater than zero, max_num_reorder_pics[i] must be greater than or equal to max_num_reorder_pics[i – 1]. When max_num_reorder_pics[i] is not present for i in the range zero to maxSubLayersMinus1 – 1, inclusive, since subLayerInfoFlag is zero, it is inferred to be equal to max_num_reorder_pics[maxSubLayersMinus1].<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The non-zero max_latency_increase_plus1[i] value is used to calculate the MaxLatencyPictures[i] value, which specifies, for each CLVS of CVS, the maximum number of images in the CLVS that can precede any image in the CLVS in the output order and follow that image in the decoding order when Htid equals i.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">When max_latency_increase_plus1[i] is not equal to zero, the value of MaxLatencyPictures[i] is determined as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> MaxLatencyPictures[ i ] = max_num_reorder_pics[ i ] + max_latency_increase_plus1[ i ] − 1<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> When max_latency_increase_plus1[i] equals zero, no corresponding limit is expressed.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The value of max_latency_increase_plus1[i] must be in the range 0 to 232 - 2, inclusive. When max_latency_increase_plus1[i] does not exist for i in the range 0 to maxSubLayersMinus1 - 1, inclusive, since subLayerInfoFlag is 0, it is inferred to be equal to max_latency_increase_plus1[maxSubLayersMinus1].<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The semantics of the hypothetical reference decoder (HRD) update parameters include the semantics of the general HRD parameters.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The meanings of the HRD parameters are as follows.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The general_hrd_parameters() syntax provides the HRD parameters used in HRD operations.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">num_ols_hrd_params_minus1 plus 1 specifies the number of ols_hrd_parameters() constructs in the general_hrd_parameters() construct. The value of num_ols_hrd_params_minus1 must be in the range 0 to 63, inclusive. When TotalNumOlss is greater than 1, the value of num_ols_hrd_params_minus1 is inferred to be zero.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> hrd_cpb_cnt_minus1 plus 1 specifies the number of alternate CPB specifications in the CVS bitstream. The value of hrd_cpb_cnt_minus1 must be in the range 0 to 31, inclusive.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> hrd_max_temporal_id[ i ] specifies the TemporalId of the highest sublayer representation whose HRD parameters are included in the i-th layer_level_hrd_parameters() syntax. hrd_max_temporal_id[ i ] must be in the range from zero to vps_max_sub_layers_minus1, inclusive. When vps_max_sub_layers_minus1 is zero, hrd_max_temporal_id[ i ] is zero.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">ols_hrd_idx[i] specifies the index of the ols_hrd_parameters() syntax that applies to the i-th OLS parameter. The value of ols_hrd_idx[i] must be in the range 0 to num_ols_hrd_params_minus1, inclusive. If not present, the value of ols_hrd_idx[i] is inferred to be zero.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The semantics of the reference image list structure are as follows.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The syntax ref_pic_list_struct( listIdx, rplsIdx ) can be in an SPS or in a slice header. Depending on whether the syntax is contained in a slice header or an SPS, the following applies:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> - If present in the slide header, the syntax ref_pic_list_struct( listIdx, rplsIdx ) specifies the listIdx of reference images for the current image (the image containing the slide).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">- Otherwise (present in SPS), the syntax ref_pic_list_struct( listIdx, rplsIdx ) specifies a filter for the reference list of images listIdx , and the term "current image" in the semantics defined in the rest of this clause refers to every image that 1) has one or more slices with a ref_pic_list_idx [listIdx] equal to an index in the list of data structures ref_pic_list_struct( listIdx, rplsIdx ) included in SPS, and 2) is in CVS that references the SPS.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> num_ref_entries[ listIdx ][ rplsIdx ] specifies the number of entries in the ref_pic_list_struct( listIdx, rplsIdx ) syntax. The value of num_ref_entries[ listIdx ][ rplsIdx ] must be in the range from zero to MaxDecPicBuffMinus1 + 14, inclusive.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The DCI 802, VPS 804, SPS 806, and PPS 808 are contained in different types of Network Abstraction Layer (NAL) modules. An NAL module is a syntactic structure containing an indication of the type of data to be followed (for example, encoded video data). NAL modules are classified into video coding layer (VCL) and non-NAL VCL modules. Non-VCL NAL modules contain data representing the sample values ​​in the video images, and non-NAL VCL modules contain any associated additional information such as parameter sets (important data that can be applied to multiple VCL NAL modules) and supplementary enhancement information (timing information and other supplementary data that may enhance the usability of the decoded video signal but is not essential for decoding the sample values ​​in the video images).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In one embodiment, DCI 802 is embedded in a non-NAL VCL module that is a DCI NAL module or a DPS NAL module. That is, the DCI NAL module has a DCI NAL module type (NUT) and the DPS NAL module has a DPS NUT. In one embodiment, VPS 804 is embedded in a non-NAL VCL module that is a VPS NAL. Therefore, the VPS NAL module has a VPS NUT. In one embodiment, SPS 806 is a non-NAL VCL module designated as an SPS NAL module. Therefore, the SPS NAL module has an SPS NUT. In one embodiment, PPS 808 is embedded in a non-NAL VCL module that is a PPS NAL module. Therefore, the PPS NAL module has a PPS NUT.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A PH 812 is a syntax structure containing syntax elements that apply to all slices (e.g., slices 818) of an encrypted image (e.g., image 814). In one embodiment, PH 812 is in a new type of non-NAL VCL unit that represents a PH NAL unit. Therefore, a PH NAL unit contains a PH NUT (e.g., PH_NUT). In one embodiment, only one PH 812 is contained in each PU 801. That is, PU 801 contains one or more PH 812. In one embodiment, there is exactly one PH NAL unit per image 814 in bitstream 800.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Image 814 is an array of luma samples in monochrome format or an array of luminance samples and two corresponding arrays of chroma samples in 4:2:0, 4:2:2, 4:4:4 color format. In one embodiment, there is one and only one image 814 contained in each PU 801. As such, there is only one PH 812 and only one image 814 corresponding to PH 812 in each PU 801. That is, PU 801 contains 814.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">An image 814 is either a frame or a field. However, in a single CVS 816, either all 814 images are frames or all 814 images are fields. A CVS 816 is a video sequence encoded for each Coded Layer Video Sequence (CLVS) in a video bitstream 800. It should be noted that CVS 816 and CLVS are the same when the video bitstream 800 contains a single layer. CVS 816 and CLVS differ only when the video bitstream 800 contains multiple layers (for example, as shown in Figures 5 and 6).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Each image 814 contains one or more slices 818. A slice 818 is an integer number of complete tiles or an integer number of consecutive complete CTU rows within an image tile (e.g., image 814). Each slice 818 is contained exclusively in a single NAL unit (e.g., a VCL NAL unit). One tile (not shown) is a rectangular region of CTUs within a given tile column and a given tile row in an image (e.g., image 814). A CTU (not shown) is a CTB of luma samples, or two CTBs corresponding to chroma samples of an image containing three sample arrays, or a CTB of samples of a monochrome image or an image encoded using three separate color levels and the syntax constructs used to encode the samples. A CTB (not shown) is an N × N block of samples for a given value of N such that the partitioning of the component into CTBs is a hash. A block (not shown) is an MxN matrix (M columns by N rows) of samples (e.g., pixels), or an MxN matrix of transformation coefficients.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In one embodiment, each chip 818 has a chip header 820. The chip header 820 is the portion of the encoded chip 818 that contains data elements relating to all tiles or CTU rows in the tiles in the chip 818. That is, the chip header 820 contains information about the chip 818 such as the chip type, which reference images will be used, and so on.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Images 814 and their segments 818 contain data associated with the images or video being encoded or decoded. Therefore, images 814 and their segments 818 may simply be referred to as the payload or data being transmitted in bitstream 800.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Those skilled in the art will appreciate that the 800 bit stream can contain parameters and other information in practical applications.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 9 is an embodiment of method 900 for decoding implemented by a video decoder (e.g., video decoder 400). Method 900 may be executed after receiving a bitstream directly or indirectly from a video encoder (e.g., video encoder 300). Method 900 improves the decoding process by ensuring that the same profile, layer, and level (PTL), virtual reference decoder (HRD), and picture buffer (DPB) parameters are not repeatedly referenced across layers in a multilayer bitstream. Reference to the same PTL, HRD, and DPB parameters only once reduces redundancy and increases coding efficiency for multilayer video bitstreams. Thus, the encoder / decoder (also known as the "encoder") is improved in video encoding relative to existing encoders. In practice, the improved video encoding process provides a better user experience when transmitting, receiving, and / or displaying video.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In frame unit 902, the video decoder receives a video bitstream. The video bitstream includes a plurality of layers (e.g., layers 531, 532) with sublayers (e.g., sublayers 710, 720, 730) and a VPS (e.g., VPS 804). The VPS includes a first tag (e.g., tag 850) with a first value (e.g., 1). The first tag with the first value specifies that the temporal identifier (TemporalID) of the highest sublayer representation (e.g., sublayer 730) of the level information, the picture buffer (DPB) parameters, and the hypothetical reference decoder (HRD) update parameters is not present in the VPS and is inferred to be equal to the maximum number of sublayers that may be present in a layer from the plurality of layers defined by the VPS.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In one embodiment, the maximum number of sublayers is in the range of one to seven. In one embodiment, the level information is contained in the profile, layer, and level (PTL) parameters. In one embodiment, the level information is contained in the i-th profile_tier_level() syntax in the VPS. In one embodiment, the DPB parameters are contained in the i-th dpb_parameters() syntax in the VPS. In one embodiment, the HRD parameters are contained in the i-th ols_timing_hrd_parameters() syntax in the VPS or sequence parameter set (SPS).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In frame unit 904, the level information, HRD parameters, and DPB parameters corresponding to the temporary identifier of the highest sublayer representation of the VPS are obtained.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In frame unit 906, the video decoder decodes an image from one of the multiple layers to obtain the decoded image. In one embodiment, the image is decoded without using HRD parameters. That is, the HRD parameters are used to test the bitstream for matching and not to decode the images within it.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Once decoded, the image can be used to generate or produce an image or video sequence to be displayed to a user on a display or screen of an electronic device (e.g., smartphone, tablet, laptop, PC, etc.).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 10 is an example of method 1000 for encoding a video bitstream implemented by a video encoder (e.g., video encoder 300). Method 1000 can be implemented when an image (e.g., from a video clip) is encoded into a video bitstream and then sent to a video decoder (e.g., video decoder 400). Method 1000 improves the encoding process by ensuring that the same profile, layer, and level (PTL), virtual reference decoder (HRD), and picture buffer (DPB) parameters are not repeatedly referenced across layers in a multilayer bitstream. References to the same PTL, HRD, and DPB parameters only once reduce redundancy and increase the coding efficiency for multilayer video bitstreams. Thus, the encoder / decoder (also known as the "encoder") for video encoding are improved relative to existing encoders.<h2 style=";text-align:left;direction:ltr">In practice, improved video encoding provides the user with a better user experience when sending, receiving, and / or viewing videos.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In frame unit 1002, the video encoder generates a plurality of layers (e.g., layers 531, 532) that have sublayers (e.g., sublayers 710, 720, 730) and a VPS (VPS 804) including a first mark (e.g., mark 850).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In frame unit 1004, the video encoder sets the first flag to a first value to specify that the TemporalID for the higher sublayer representation (e.g., sublayer 730) of the level information, the picture buffer (DPB) parameters, and the virtual reference decoder (HRD) update parameters is not present in the VPS and must be inferred to be equal to the maximum number of sublayers that may be present in a layer from the set of layers specified by the VPS.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In one embodiment, the maximum number of sublayers is in the range of one to seven. In one embodiment, the level information is contained in the profile, layer, and level (PTL) parameters. In one embodiment, the level information is contained in the i-th profile_tier_level() syntax in the VPS. In one embodiment, the DPB parameters are contained in the i-th dpb_parameters() syntax in the VPS. In one embodiment, the HRD parameters are contained in the i-th ols_timing_hrd_parameters() syntax in the VPS or sequence parameter set (SPS).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In one embodiment, method 1000 further comprises determining whether the encoded video bitstream conforms using HRD parameters. That is, determining whether the encoded bitstream conforms to a standard (e.g., the VVC standard).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In frame unit 1006, the video encoder encodes the layer set and VPS into a video bitstream. In frame unit 1008, the video encoder stores the video bitstream for communication with the video decoder. The video bitstream may be stored in memory until a video bitstream is transmitted to the video decoder. Once received by the video decoder, the encoded video bitstream may be decoded (e.g., as described above) to generate or produce an image or video sequence for display to the user on a display or screen of an electronic device (e.g., a smartphone, tablet, laptop, PC, etc.).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Additional and / or supplementary details are provided below.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The general decryption process is as follows.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The input to this process is a bitstream called BitstreamToDecode. The output is a list of decoded images.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The decoding process is specified such that all decoders corresponding to a specified profile and level produce numerically identical decoded output images when the decoding process associated with that profile is called for a bit stream corresponding to said profile and level. Any decoding process that produces identical output images that are clipped and decoded to those produced by the process described herein (in the correct output order or correct output timing, as specified) complies with the decoding process requirements of the VVC standard.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> For each IRAP AU in the bitstream, the following applies.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> - If the AU is the first AU in the bitstream in decode order, each picture is an immediate decode update (IDR) picture, or each picture is the first picture of the layer following the end of the NAL sequence unit in decode order, where the NoIncorrectPicOutputFlag variable is set to 1.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Otherwise, if some external method not specified in this specification is available to set the HandleCraAsCvsStartFlag variable to a value for AU, HandleCraAsCvsStartFlag is set to equal the value supplied by the external method and NoIncorrectPicOutputFlag is set to be equal to HandleCraAsCvsStartFlag.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Otherwise, both HandleCraAsCvsStartFlag and NoIncorrectPicOutputFlag are set to zero.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> For each GDR AU in the bitstream, the following applies.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> - If the AU is the first AU in the bitstream in decode order or if each picture is the first picture of the layer following the end of the NAL unit sequence in decode order, the NoIncorrectPicOutputFlag variable is set to 1.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Otherwise, if some external method not specified in this specification is available to set the HandleGdrAsCvsStartFlag variable to a particular value for AU, HandleGdrAsCvsStartFlag is set to equal the value provided by the external method and NoIncorrectPicOutputFlag is set to equal HandleGdrAsCvsStartFlag.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Otherwise, both HandleGdrAsCvsStartFlag and NoIncorrectPicOutputFlag are set to zero.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Note: The above operations are required for both IRAP and GDR images to identify CVSs in the bitstream.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Section 8-1-2 is called repeatedly for each encoded image in BitstreamToDecode in decode order.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The decoding process for constructing reference image lists is as follows.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> This operation is called at the beginning of the decoding process for each non-IDR image segment.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Reference images are processed through reference indices. A reference index is an index in a reference image list. When decoding an I-slice, the reference image list is not used to decode the slice data. When decoding a P-slice, only reference image list 0 (i.e., RefPicList[0]) is used to decode the slice data. When decoding a B-slice, both reference image list 0 and reference image list 1 (i.e., RefPicList[1]) are used to decode the slice data.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> It is a requirement for bitstream compatibility that the following restrictions apply.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> – For each i equal to 0 or 1, num_ref_entries[ i ][ RplsIdx[ i ] ] must not be less than NumRefIdxActive[ i ].<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> – The image referenced by each active entry in RefPicList[0] or RefPicList[1] must exist in the DPB and must have a TemporalId less than or equal to the current image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The image referenced by each entry in RefPicList[0] or RefPicList[1] must not be the current image and non_reference_picture_flag must be zero.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> – A short-term reference image (STRP) entry in RefPicList[0] or RefPicList[1] for an image slice and an LTRP entry in RefPicList[0] or RefPicList[1] for the same slice or a different slice must not refer to the same image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> - There will be no LTRP entry in RefPicList[0] or RefPicList[1] where the difference between the PicOrderCntVal of the current image and the PicOrderCntVal of the image pointed to by the entry is greater than or equal to 224.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Let setOfRefPics be the set of unique images pointed to by all entries in RefPicList[0] that have the same nuh_layer_id as the current image and all entries in RefPicList[1] that have the same nuh_layer_id as the current image. The number of images in setOfRefPics must be less than or equal to MaxDecPicBuffMinus1 and setOfRefPics must be the same for all image slices.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> - When the current image is a progressive sub-temporal access (STSA) image, there will be no active entry in RefPicList[0] or RefPicList[1] that has a TemporalId equal to the current image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> When the current image is a trace image, in decode order, an STSA image has a TemporalId equal to the current image, then there will be no image with a TemporalId equal to the current image included as an active entry in RefPicList[0] or RefPicList[1] that precedes the STSA image in decode order.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">- The image pointed to by each ILRP entry in RefPicList[0] or RefPicList[1] for the current image slice must be in the same access unit as the current image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> – The image referenced by each ILRP entry must be present in the RefPicList[0] or RefPicList[1] of the current image slice in the DPB and must have a nuh_layer_id lower than the current image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> - Every ILRP entry in a slice's RefPicList[0] or RefPicList[1] must be an active entry.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The general HRD aspects in clause B1 of the VVC Standard include the following.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> This appendix defines the Virtual Reference Decoder (HRD) and its use for checking bitstream and decoder compatibility.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A set of bitstream compatibility tests is required to verify the compatibility of a bitstream, also referred to as the entire bitstream. The set of bitstream compatibility tests is used to test the compatibility of each OP for each OLS defined by the VPS.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">For each test, the following sequence of steps shall be applied in the order listed, followed by the processes described after these steps in this section:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 1. The operating point under test, referred to as targetOp, is determined by defining a target OLS with opOlsIdx as the OLS index and opTid as the highest value of TemporalId. opOlsIdx ranges from zero to TotalNumOlss - 1, inclusive. opTid ranges from zero to vps_max_sub_layers_minus1, inclusive. Each pair of values ​​specified for opOlsIdx and opTid must be such that the substream bitstream is the output by calling the substream bitstream recovery operation as defined in clause B6 with the entire bitstream and opOlsIdx and opTid as inputs that meet the following conditions:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> - There is at least one VCL NAL module with nuh_layer_id equal to both nuh_layer_id values ​​in LayerIdInOls[opOlsIdx] in BitstreamToDecode.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> - There is at least one VCL NAL module with TemporalId equal to opTid in BitstreamToDecode.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">2. If the layers in targetOp include all layers in an entire bitstream and opTid is greater than the highest TemporalId value among all NALs in the entire bitstream, BitstreamToDecode is set to match the entire bitstream. Otherwise, BitstreamToDecode is set to output by calling the sub-bitstream recovery operation as specified in the statement "Error! Reference source not found" which includes the entire bitstream, opOlsIdx, and opTid as inputs.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 3. The values ​​of TargetOlsIdx and Htid are set to equal opOlsIdx and opTid, respectively, for targetOp.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 4. The ScIdx value is specified. The specified ScIdx must be in the range from zero to hrd_cpb_cnt_minus1, inclusive.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 5. An access unit in BitstreamToDecode associated with cache-period SEI messages (either contained in BitstreamToDecode or available through an external means not specified in this specification) applicable to the TargetOlsIdx is defined as an HRD initialization point and is referred to as the access unit zero for each layer in the Target Ols.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">6. The syntax of ols_hrd_parameters() and sub_layer_hrd_parameters() applicable to BitstreamToDecode are defined as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The syntax ols_hrd_idx[ TargetOlsIdx ]-th ols_hrd_parameters() is defined in the VPS (or provided through an external means not specified in this specification).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">– Within the specified syntax structure ols_hrd_parameters(), if BitstreamToDecode is a Type 1 bitstream, the sub_layer_hrd_parameters(Htid) syntax structure is defined that immediately follows the "if(general_vcl_hrd_params_present_flag)" condition and the variable NalHrd is set to zero; otherwise (BitstreamToDecode is a Type 2 bitstream), the sub_layer_hrd_parameters(Htid) syntax structure is defined that immediately follows either the "if(general_vcl_hrd_params_present_flag)" condition (in which case NalHrdModeFlag is set to zero) or the "if(general_nal_hrd_params_present_flag)" condition (in which case NalHrdModeFlag is set to 1).<h2 style=";text-align:left;direction:ltr">When BitstreamToDecode is a Type II bitstream and NalHrdModeFlag is zero, all non-NAL VCL units except NAL padding data units, and all syntax elements leading_zero_8bits, zero_byte, start_code_prefix_one_3bytes, and trailing_zero_8bits that make up the NAL unit stream (as defined in Appendix B), when present, are ignored from BitstreamToDecode and the bitstream is assigned to BitstreamToDecode.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 7. When decoding_unit_hrd_params_present_flag is equal to 1, CPB is scheduled to operate either at the access unit level (in which case the DecodingUnitHrdFlag variable is set to zero) or at the decoder unit level (in which case the DecodingUnitHrdFlag variable is set to 1). Otherwise, DecodingUnitHrdFlag is set to zero and CPB is scheduled to operate at the access unit level.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">8. For each access unit in BitstreamToDecode starting with access unit zero, a buffering period SEI message (present in BitstreamToDecode or available through an external means not specified in this specification) associated with the access unit is defined and applies to TargetOlsIdx, an image timing SEI message (present in BitstreamToDecode or available through an external means not specified in this specification) associated with the access unit is defined and applies to TargetOlsIdx, and when DecodingUnitHrdFlag is 1 and decoding_unit_cpb_params_in_se_pic_taging is 0, decoding unit information SEI messages (present in BitstreamToDecode or available through an external means not specified in this specification) associated with the decoders in the access unit are defined and apply to TargetOlsIdx.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Each fit test consists of a combination of one option in each of the above steps. When there is more than one option for a step, only one is chosen for any given fit test. All available combinations for all steps constitute the complete set of fit tests. For each operating point under test, the number of fit tests to be performed is equal to n0 * n1 * n2 * n3, where n0, n1, n2, and n3 are determined as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> -n1 equals hrd_cpb_cnt_minus1 + 1.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> -n1 is the number of BitstreamToDecode access units associated with SEI messages for the buffering period.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> – n2 is derived as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> - If BitstreamToDecode is a type 1 bitstream, then n0 equals 1.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Otherwise (BitstreamToDecode is a bitstream of the second type), n0 equals 2.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> – n3 is derived as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> - If decoding_unit_hrd_params_present_flag is zero, then n3 is 1.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Otherwise, n3 equals 2.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">HRD contains bitstream extraction (optionally present), a coded image buffer (CPB), an instantaneous decryption process, a data buffer (DPB) that theoretically contains a sub-DPB for each layer, and output cropping.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> For each bitstream compatibility test, the CPB size (number of bits) is CpbSize[Htid][ScIdx] as defined in clause 7.4.5.2, where ScIdx and the HRD parameters are defined above in this clause, and the DPB parameters max_dec_pic_buffering_minus1[Htid], max_num_reorder_pics[Htid], and MaxLatencyPictures[Htid] for each layer are either present or derived from the dpb_parameters() syntax that applies to the layer depending on whether the layer is a standalone layer and whether the layer is an output layer for the target OLS.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> HRD works as follows.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> - The HRD is initialized at decoder zero, with both the CPB and each sub-DPB of the DPB set to empty (the sub-DPB fullness of each sub-DPB is set to zero).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Note - After initialization, the HRD is not initialized again by subsequent SEI messages for the cache period.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Data associated with the decoders flowing to each CPB is delivered according to an access schedule defined by the virtual flow scheduler (HSS).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> - The data associated with each decoder is removed and decrypted immediately by the instant decryption process at the time the decoder's CPB is removed.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> - Each decrypted image is placed in DPB.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A decoded image is removed from the DPB when it becomes unnecessary for the prediction reference and is no longer needed for output.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Caching of decoded images is provided.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The specifications in this clause apply independently to each set of Decoded Picture Buffer (DPB) parameters specified as defined in clause B1.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The decoded image cache is theoretically composed of sub-DPBs, and each sub-DPB contains an image buffer for storing the decoded images for a single layer. Each image buffer can contain a decoded image marked as "used for reference" or retained for future output. The operations defined in items B3-2, B3-3, and B3-4 are applied sequentially as specified below, and are applied independently to each layer, starting with the lowest layer in the OLS, in increasing order of the nuh_layer_id values ​​for the layers in the OLS. When these operations are applied to a given layer, only the sub-DPB layer for that given layer is affected. In the descriptions of these operations, DPB refers to the sub-DPB layer for the given layer, and the given layer is referred to as the current layer.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Note - In DPB operation at output timing, decoded images with PicOutputFlag equal to 1 are output in the same access unit in ascending order of the nuh_layer_id values ​​of the decoded images.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Let image n be the current image and let the cipher image or deciphered image of access unit n for a given value of nuh_layer_id, where n is a non-negative integer.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The removal of images from the DPB before decoding the current image is described.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Images are removed from the DPB before the current image is decoded (but after the slice header has analyzed the first slice of the current image) immediately at the time of removing the CPB of the first decoder of the nth access unit (which contains the current image) and proceed as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The decoding process is called to build the reference image list as specified in clause 8-3-2 and the decoding process is called to tag the reference image as specified in clause 8-3-3.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> - When the current AU is a CVSS AU and not AU 0, the following sequential steps are applied:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 1. The NoOutputOfPriorPicsFlag variable for the decoder under test is derived as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">- If the value of pic_width_max_in_luma_samples, pic_height_max_in_luma_samples, chroma_format_idc, separate_colour_plane_flag, bit_depth_luma_minus8, bit_depth_chroma_minus8 or max_dec_pic_buffering_minus1 [ Htid ], derived from any image in the current AU, differs from the value of pic_width_in_luma_samples, pic_height_in_luma_samples, chroma_format_idc, separate_colour_plane_flag, bit_depth_luma_minus8, bit_depth_chroma_minus8 or max_dec_pic_buffering_minus1 [ Htid ], respectively, derived from the previous image in the same CLVS, NoOutputOfPriorPicsFlag can (but should not) be set to 1 by the video decoder in operation. Test, regardless of the value of no_output_of_prior_pics_flag.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Note - Although it is preferable to set NoOutputOfPriorPicsFlag to no_output_of_prior_pics_flag under these conditions, the decoder under test is allowed to set NoOutputOfPriorPicsFlag to 1 in this case.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Otherwise, NoOutputOfPriorPicsFlag is set to no_output_of_prior_pics_flag.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">2. The NoOutputOfPriorPicsFlag value derived for the decoder under test is applied to the HRD, such that when NoOutputOfPriorPicsFlag is 1, all image buffers in the DPB are emptied without outputting the images they contain, and the DPB fullness is set to zero.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> - When both of the following conditions are true for any k images in DPB, all k images in DPB are removed from DPB:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> - Image k is marked as "not used for reference".<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> – Image k has a PictureOutputFlag of zero or the DPB output time is less than or equal to the CPB removal time of the first decoder (denoted decoder m) for the current image n; that is, DpbOutputTime[k] is less than or equal to DuCpbRemovalTime m].<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> - For each picture removed from the DPB, the decoded picture buffer (DPB) fill is reduced by one.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The DPB output arrangement process is described.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The specifications in this clause apply independently to each set of Decoded Picture Buffer (DPB) parameters specified as defined in clause B1.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The decoded image cache is theoretically composed of sub-DPBs, each of which contains image buffers for storing decoded images for a single layer. Each image cache contains a decoded image marked "for reference" or retained for future output.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The process for decoding and removing images from the DPB is called before decoding the current image as defined in clause C5-5-2, followed by the process for tagging and storing the current image as defined in clause C3-4, and finally followed by the additional process for unpacking as defined in clause B5-2-3. The "unpack" process is defined in clause B5-2-4 and is called as defined in clauses B5-2-2 and B5-2-3.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">These operations are applied independently to each layer, starting with the lowest OLS layer, in increasing order of nuh_layer_id values ​​for the OLS layers. When these operations are applied to a given layer, only the DPB sublayer of that particular layer is affected.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Note - In the DPB output ordering operation, as in the DPB output timing operation, decoded images with PicOutputFlag equal to 1 are also output in the same access unit in successive order of the nuh_layer_id values ​​of the decoded images.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Let image n and current image be the ciphered image or deciphered image of access unit n for a given value of nuh_layer_id, where n is a non-negative integer.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The output and removal of images from DPB is described.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The image ejection and removal from the DPB occurs before the current image is decoded (but after the slice header has analyzed the first slice of the current image) immediately when the first access unit decoder containing the current image is removed from the CPB and continues as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The decoding process is called to construct the reference image list as specified in clause 8-3-2 and the decoding process to mark the reference image as specified in clause 8-3-3.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> - If the current AU is a CVSS AU and not AU0, the following sequential steps will be applied:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 1. The NoOutputOfPriorPicsFlag variable for the decoder under test is derived as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">- If the value of pic_width_max_in_luma_samples, pic_height_max_in_luma_samples, chroma_format_idc, separate_colour_plane_flag, bit_depth_luma_minus8, bit_depth_chroma_minus8 or max_dec_pic_buffering_minus1 [ Htid ], derived from any image in the current AU, differs from the value of pic_width_in_luma_samples, pic_height_in_luma_samples, chroma_format_idc, separate_colour_plane_flag, bit_depth_luma_minus8, bit_depth_chroma_minus8 or max_dec_pic_buffering_minus1 [ Htid ], respectively, derived from the previous image in the same CLVS, NoOutputOfPriorPicsFlag can (but should not) be set to 1 by the video decoder in operation. Test, regardless of the value of no_output_of_prior_pics_flag.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Note - Although it is preferable to set NoOutputOfPriorPicsFlag to equal no_output_of_prior_pics_flag under these conditions, the decoder under test is allowed to set NoOutputOfPriorPicsFlag to 1 in this case.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Otherwise, NoOutputOfPriorPicsFlag is set to no_output_of_prior_pics_flag.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">2. The derived NoOutputOfPriorPicsFlag value of the decoder under test is applied to the HRD as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> - If NoOutputOfPriorPicsFlag is 1, all image buffers in DPB are emptied without ejecting the images they contain and DPB fullness is set to zero.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> - Otherwise (NoOutputOfPriorPicsFlag is zero), all image buffers containing an image marked as "not required for output" and "not used for reference" (no output) and all non-empty image buffers in the DPB are emptied by repeatedly calling the "empty" operation defined in clause B5.2.4 and the DPB fullness is set to zero.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Otherwise (the current image is not a CLVSS image), all image buffers containing an image marked as "not needed for output" and "not used for reference" (no output) are emptied. For each image buffer emptied, the DPB fill is decreased by one. When one or more of the following conditions is true, the "empty" operation defined in clause B5.2.4 is called recursively while decreasing the DPB fill by one for each additional image buffer emptied, until none of the following conditions is true:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The number of images in DPB marked as "reordered for output" is greater than max_num_reorder_pics[ Htid ].<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> max_latency_increase_plus1[ Htid ] is not equal to zero and there is at least one image in the DPB that is marked as "required for output" where the associated PicLatencyCount variable is greater than or equal to MaxLatencyPictures[ Htid ].<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The number of images in DPB is greater than or equal to max_dec_pic_buffering_minus1 [ Htid ] + 1.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Additional discharge is described.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The operations in this item are determined immediately when the last decoder of the nth access unit containing the current image is removed from the CPB.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> When the current image has a PictureOutputFlag of 1, for each image in the DPB that is marked as "required for output" and follows the current image in output order, the associated variable PicLatencyCount is set to equal PicLatencyCount + 1.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The following applies:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> - If the current decoded image has a PictureOutputFlag of 1, it is marked as "required for output" and its associated variable PicLatencyCount is set to zero.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Otherwise (the current decoded image has a PictureOutputFlag of zero), it is marked as "not required for output".<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> When one or more of the following conditions is true, the "dump" operation specified in clause B5-2-4 is called repeatedly until none of the following conditions is true:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> – The number of images in DPB marked as "reordered for output" is greater than max_num_reorder_pics[Htid].<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> - max_latency_increase_plus1 [ Htid ] is not equal to zero and there is at least one image in the DPB that is marked as "required for output" and whose associated PicLatencyCount is greater than or equal to MaxLatencyPictures [ Htid ].<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The unloading process is described.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The "unpacking" process consists of the following sequential steps:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The image or images to be output first are selected as the image with the smallest PicOrderCntVal value of all images in the DPB marked as "Ordered for output".<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Each of these images is cropped in ascending nuh_layer_id order, using the corresponding image crop window, and the cropped image is output, marked as "not required for output".<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Each image cache containing an image marked "not used for reference" that was one of the cropped images is emptied and the associated sub-DPB is depopulated by one.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Note – For any two images picA and picB belonging to the same CVS and output by the “dump operation”, when picA is output before picB, the PicOrderCntVal value of picA is less than the PicOrderCntVal value of picB.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The process of extracting a sub-bitstream is described.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The inputs to this operation are a bitstream in a bitstream, a target OLS index targetOlsIdx, and the target highest value tIdTarget tIdTarget.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The output of this operation is a sub-bitstream outside OutBitstream.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A bitstream compatibility requirement for an input bitstream is that any subbitstream output is the output of the operation specified in this clause with the bitstream, targetOlsIdx equals an index to the list of OLSs specified by the video parameter set (VPS), and tIdTarget equals any value in the range 0 to 6, with both values ​​included, as inputs, that satisfy the following conditions to be bitstream compatible:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> – The bitstream output contains at least one VCL NAL unit with nuh_layer_id equal to each of the nuh_layer_id values ​​in LayerIdInOls[ targetOlsIdx ].<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> – The sub-bitstream output contains at least one VCL NAL unit with TemporalId equal to tIdTarget.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Note – A compatible bitstream contains one or more NALs for the encrypted layer with TemporalId equal to zero, but must not contain NALs for the encrypted layer with nuh_layer_id equal to zero.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The OutBitstream is derived as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The OutBitstream sub-bitstream is set to be identical to the InBitstream sub-bitstream.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> - Remove from OutBitstream all NALs with TemporalId greater than tIdTarget.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> - Remove from outBitstream all NAL modules that have nuh_layer_id not included in LayerIdInOls list [ targetOlsIdx ].<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> - Remove from outBitstream all SEI NALs that contain a nested scalable SEI message that has nesting_ols_flag equal to 1 and no value for i in the range 0 to nesting_num_olss_minus1, including both values, such that NestingOlsIdx[i]] equals targetOlsIdx.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">- When targetOlsIdx is greater than zero, remove from outBitstream all SEI NALs that contain a nested non-scalable SEI message with a payloadType of 0 (buffer period), 1 (image timing), or 130 (decoder information).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Scalable nested SEI message format is provided.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> scalable_nesting( payloadSize ) { descriptor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> nesting_ols_flag u(1)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> if( nesting_ols_flag ) {<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> nesting_num_olss_minus1 ue(v)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> for(i = 0; i <= nesting_num_olss_minus1; i++ )<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> nesting_ols_idx_delta_minus1[ i ] ue(v)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">} else {<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> nesting_all_layers_flag u(1)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> if( !nesting_all_layers_flag ) {<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> nesting_num_layers_minus1 ue(v)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> for(i = 1; i <= nesting_num_layers_minus1; i++)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> nesting_layer_id[ i ] u(6)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">}<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">}<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> nesting_num_seis_minus1 ue(v)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> while( !byte_aligned( ) )<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">nesting_zero_bit / * equal to 0 * / u(1)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> for(i = 0; i <= nesting_num_seis_minus1; i++)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> sei_message( )<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">}<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> General SEI payload semantics are provided.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The following applies to applicable layers or OLS for non-scalable nested SEI messages.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> - For a non-scalable interleaved SEI message, when payloadType is 0 (buffer period), 1 (image timing), or 130 (decoder information), the non-scalable interleaved SEI message applies to the 0-th OLS only.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> - For a non-scalable nested SEI message, when payloadType equals any value among the VclAssociatedSeiList, the non-scalable nested SEI message applies only to the layer whose VCL NAL modules have a nuh_layer_id equal to the nuh_layer_id of the SEI NAL module containing the SEI message.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ...<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> It is a requirement of bitstream compatibility that the following restrictions apply to the nuh_layer_id value for SEI NAL modules:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">- When a non-scalable nested SEI message has a payloadType of 0 (buffer period), 1 (image timing), or 130 (decoder information), the SEI NAL containing the non-scalable nested SEI message MUST have nuh_layer_id equal to vps_layer_id[0].<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> - When a non-nested SEI message has a payloadType equal to any value among the VclAssociatedSeiList, the SEI NAL module containing the non-nested SEI message must have a nuh_layer_id equal to the nuh_layer_id value of the VCL NAL module associated with the SEI NAL module.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> - A SEI NAL unit that includes a scalable nested SEI message must have a nuh_layer_id equal to the lowest nuh_layer_id value of all layers to which the scalable nested SEI message applies (when the nesting_ols_flag of the scalable nested SEI message is zero) or the lowest nuh_layer_id value of all layers in the OLSs to which the scalable nested SEI message applies (when the nesting_ols_flag of the scalable nested SEI message is 1).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Scalable nested SEI message semantics are provided.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The Scalable Nested SEI Message provides a mechanism for associating SEI messages with specific OLSs or layers.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A scalable nested SEI message contains one or more SEI messages. SEI messages within a scalable nested SEI message are also referred to as scalable nested SEI messages.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A requirement for bitstream compatibility is that the following restrictions apply to the encapsulation of SEI messages into a scalable nested SEI message:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> - An SEI message with a payloadType of 132 (decrypted image hash) or 133 (scalable interleaving) must not be included in a scalable interleaving SEI message.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> - When a scalable nested SEI message contains a buffer period, image timing, or decoder information SEI message, the scalable nested SEI message must not contain any other SEI message with a payloadType other than 0 (buffer period), 1 (image timing), or 130 (decoder information).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A bitstream compatibility requirement is to apply the following restrictions to the nal_unit_type value of a SEI NAL unit containing a scalable nested SEI message:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> - When a scalable nested SEI message contains a SEI message with a payloadType of 0 (buffer period), 1 (image timing), 130 (decoder information), 145 (RAP dependent signal), or 168 (field-frame information), the SEI NAL unit that contains the scalable nested SEI message must have a nal_unit_type equal to PREFIX_SEI_NUT.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A nesting_ols_flag of 1 specifies that the scalable nested SEI messages apply to specific OLSs. A nesting_ols_flag of 0 specifies that the scalable nested SEI messages apply to specific layers.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A requirement for bitstream compatibility is to apply the following restrictions to the nesting_ols_flag value:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> - When a scalable nested SEI message contains an SEI message with a payloadType of 0 (buffer period), 1 (image timing), or 130 (decoder information), nesting_ols_flag must be 1.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> When a nested scalable SEI message contains a SEI message that includes a payloadType equal to a certain value in VclAssociatedSeiList, the nesting_ols_flag value must be zero.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> nesting_num_olss_minus1 plus 1 specifies the number of OLSs to which the scalable nested SEI messages apply. The value of nesting_num_olss_minus1 must be in the range from 0 to TotalNumOlss - 1, inclusive.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> nesting_ols_idx_delta_minus1[i] is used to derive the variable NestingOlsIdx[i] which specifies the OLS index of the i-th OLS to which nested SEI messages apply when nesting_ols_flag is equal to 1. The value of nesting_ols_idx1[i] must be in the range from zero to TotalNumOlss - 2, inclusive of both values.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The variable NestingOlsIdx[i] is derived as follows.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> if(i = = 0)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> NestingOlsIdx[ i ] = nesting_ols_idx_delta_minus1[ i ]<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> else<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> NestingOlsIdx[ i ] = NestingOlsIdx[ i − 1 ] + nesting_ols_idx_delta_minus1[ i ] + 1<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A nesting_all_layers_flag of 1 specifies that scalable nested SEI messages apply to all layers with a nuh_layer_id greater than or equal to the nuh_layer_id of the current SEI NAL. A nesting_all_layers_flag of 0 specifies that scalable nested SEI messages may or may not apply to all layers with a nuh_layer_id greater than or equal to the nuh_layer_id of the current SEI NAL.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> nesting_num_layers_minus1 plus 1 specifies the number of layers to which the scalable nested SEI messages apply. The value of nesting_num_layers_minus1 must be in the range from zero to vps_max_layers_minus1 − GeneralLayerIdx[ nuh_layer_id ], inclusive, where nuh_layer_id is the nuh_layer_id of the current SEI NAL module.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">nesting_layer_id[i] specifies the nuh_layer_id value for the i-th layer to which scalable nested SEI messages apply when nesting_all_layers_flag is zero. nesting_layer_id[i] must be greater than nuh_layer_id, where nuh_layer_id is the nuh_layer_id of the current SEI NAL module.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> When nesting_ols_flag is zero, the variable NestingNumLayers, which specifies the layer number to which the scalable nested SEI messages apply, and NestingLayerId[ i ], a list of i layers in the range zero to NestingNumLayers - 1, inclusive, which specifies the nuh_layer_id value list of layers to which the scalable nested SEI messages apply, are derived as follows, where nuh_layer_id is the nuh_layer_id of the current SEI NAL unit.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> if( nesting_all_layers_flag ) {<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> NestingNumLayers =<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ps_max_layers_minus1 + 1 − GeneralLayerIdx[ nuh_layer_id ]<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> for(i = 0; i < NestingNumLayers; i++)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">NestingLayerId[ i ] = vps_layer_id[ GeneralLayerIdx[ nuh_layer_id ] + i ]<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">} else {<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> NestingNumLayers = nesting_num_layers_minus1 + 1<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> for(i = 0; i < NestingNumLayers; i++)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> NestingLayerId[ i ] = ( i == 0 ) ? nuh_layer_id : nesting_layer_id[ i ]<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">} nesting_num_seis_minus1 plus 1 specifies the number of nested SEI messages that can be scalable. The value of nesting_num_seis_minus1 must be in the range 0 to 63, inclusive.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> nesting_zero_bit must be equal to zero.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 11 is a block diagram of a video encoder 1100 (e.g., a video encoder 300 or a video decoder 400) according to one embodiment of the disclosure. The video encoder 1100 is suitable for implementing the disclosed embodiments as described herein. The video encoder 1100 includes input ports 1110 and receiver units (Rx) 1120 for receiving data; a processor, logic unit, or central processing unit (CPU) 1130 for processing data; transmitter units (Tx) 1140 and output ports 1150 for transmitting data; and a memory 1160 for storing data. The video encoder 1100 may also include optical-to-electrical (OE) and electrical-to-optical (EO) components coupled to input ports 1110, receiver modules 1120, transmitter modules 1140, and output ports 1150 for outputting or inputting optical or electrical signals.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The processor 1130 is implemented by hardware and software. The processor 1130 may be implemented as one or more central processing unit (CPU) chips, processing cores (e.g., as a multi-core processor), field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), and digital signal processors (DSPs). The processor 1130 is connected to input ports 1110, receiver modules 1120, transmitter modules 1140, output ports 1150, and memory 1160. The processor 1130 includes a cryptographic module 1170. The cryptographic module 1170 implements the embodiments described above. For example, the cryptographic module 1170 implements, processes, prepares, or provides the functions of various cryptographic programs. The inclusion of the encoder module 1170 provides a substantial improvement to the functionality of the video encoder 1100 and affects the transition of the video encoder 1100 to a different state. Instead, the encoder module 1170 is implemented as an instruction stored in memory 1160 and executed by the processor 1130.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The video encoder 1100 may further include input and / or output (I / O) devices 1180 for communicating data to and from the user. The I / O devices 1180 may include output devices such as a display for displaying video data, speakers for outputting audio data, etc. The I / O devices 1180 may further include input devices, such as a keyboard, mouse, trackball, etc., and / or corresponding interfaces for interacting with such output devices.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The memory 1160 includes one or more disks, tape drives, and hard drives and can be used as a redundant data storage device to store programs when such programs are selected for execution and to store instructions and data read during program execution. The memory 1160 can be volatile and / or non-volatile and may be read-only memory (ROM), random access memory (RAM), ternary content-addressable memory (TCAM), and / or static random-access memory (SRAM).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 12 is a block diagram of one embodiment of an encoding device 1200. In one embodiment, the encoding device 1200 is implemented in a video encoder 1202 (e.g., a video encoder 300 or a video decoder 400). The video encoder 1202 has a receiving device 1201. The receiving device 1201 is configured to receive an image for encoding or to receive a bit stream for decoding. The video encoder 1202 includes a transmitting device 1207 coupled to a receiving device 1201. The transmitting device 1207 is configured to transmit a bit stream to a decoder or to transmit a decoded image to a display (e.g., I / O devices 1180).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The video encoder 1202 includes a storage medium 1203. The storage medium 1203 is coupled to at least one of the receiving medium 1201 or the transmitting medium 1207. The storage medium 1203 is configured to store instructions. The video encoder 1202 also includes a processing medium 1205. The processing medium 1205 is coupled to the storage medium 1203. The processing medium 1205 is configured to execute instructions stored in the storage medium 1203 to perform the methods disclosed herein.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">It should also be understood that the steps of the illustrative methods described herein are not necessarily required to be performed in the order described, and the order of the steps in such methods should be understood as illustrative only. Similarly, additional steps may be included in such methods, and certain steps may be omitted or combined, in ways consistent with various embodiments of the present disclosure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> While numerous embodiments are provided in the present disclosure, it should be understood that the disclosed systems and methods may be embodied in many other specific forms without departing from the intent or scope of the present disclosure. The present examples should be considered illustrative and not limiting, and are not intended to be limited to the details contained herein. For example, various elements or components may be combined or incorporated into another system, or certain features may be omitted or not implemented.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In addition, the technologies, systems, subsystems, and methods described and demonstrated in various embodiments may be combined or integrated separately or in isolation with other systems, modules, technologies, or methods without departing from the scope of the present disclosure. Other elements described or discussed as being directly coupled, coupled, or connected to each other may be indirectly coupled or connected to a particular interface, device, or intermediate component, whether electrically, mechanically, or otherwise. Other examples of changes, substitutions, and modifications can be verified by one skilled in the art and may be made without departing from the intent and scope disclosed herein.

Claims

Protections 1. A decoding method implemented by a video decoder, comprising: receiving, by the video decoder, a video bitstream comprising a plurality of layers comprising sublayers and a video parameter set (VPS) comprising a first tag having a first value, wherein the first tag having a first value determines that a temporal identifier (ID) of the highest sublayer representation of the level information, a temporal identifier (ID) of the highest sublayer representation of the decoded picture buffer (DPB) parameters, and a temporal identifier (ID) of the highest sublayer representation of the hypothetical reference decoder (HRD) update parameters are not present in the video parameter set (VPS) and are inferred to be equal to the maximum number of sublayers that may be present in a layer of the plurality of layers specified by the video parameter set (VPS); obtaining, by the video decoder, the level information, the HRD update parametersdecoding the hypothetical reference decoder (HRD), the decoded picture buffer (DPB) parameters corresponding to the temporary identifier of the highest sublayer representation of the video parameter set (VPS); and decoding—by the video decoder—an image from one layer of the plurality of layers to obtain the decoded image.

2. The method according to claim 1, wherein the maximum number of sublayers is in the range of one to seven, wherein the first value is one and the second value is zero.

3. The method according to claim 1, wherein the level information is contained in the profile, tier, and level (PTL) parameters.

4. The method according to claim 1, wherein the level information is contained in the i-th syntax profile_tier_level() in the video parameter set (VPS).

5. The method according to protection element 1, wherein the decoded picture buffer (DPB) parameters are in the i-th dpb_parameters() syntax in the video parameters arrayvideo parameter set (VPS).

6. The method according to claim 1, wherein the hypothetical reference decoder (HRD) update parameters are in the i-th syntax ols_timing_hrd_parameters() in the video parameter set (VPS) or sequence parameter set (SPS).

7. The method according to claim 1, wherein the image is decoded using one or more of the level information and the decoded picture buffer (DPB) parameters or both.

8. The method according to claim 1, wherein the image is decoded without using the hypothetical reference decoder (HRD) update parameters.

9. The method according to claim 1, further comprising displaying the decoded image on a display screen of an electronic device.

10. A decoder, wherein it includes: a receiver adapted to receive a video bit stream comprising a plurality of layers containing sublayers and a video parameter set (VPS) comprising a first tag with a first value, whereina tag containing the first value a temporal identifier (ID) of the highest sublayer representation of the level information, a temporal identifier (ID) of the highest sublayer representation of the decoded picture buffer (DPB) parameters, and a temporal identifier (ID) of the highest sublayer representation of the hypothetical reference decoder (HRD) update parameters that are not in the video parameter set (VPS) and are inferred to be equal to the maximum number of sublayers that may be present in a layer of the set of layers defined by the video parameter set (VPS); and a processor coupled to the memory, wherein the processor configured to execute instructions causes the decoder to: obtain the level information, the hypothetical reference decoder (HRD) update parameters, and the decoded picture buffer (DPB) parameters corresponding to the temporal identifier of the highest sublayer representation of the video parameter setparameter set (VPS); decoding an image from one of the plurality of layers to obtain the decoded image.

11. A decoder according to protection element 10, wherein the maximum number of sublayers is in the range of one to seven.

12. A decoder according to protection element 10, wherein the level information is contained in the profile, tier, and level (PTL) parameters.

13. The decoder according to claim 10, wherein the level information is located in the i-th profile_tier_level() syntax in the video parameter set (VPS), the decoded picture buffer (DPB) parameters are located in the i-th dpb_parameters() syntax in the video parameter set (VPS), and the hypothetical reference decoder (HRD) update parameters are located in the i-th ols_timing_hrd_parameters() syntax in the video parameter set (VPS) or sequence parameter set (SPS).

14. The decoder according to claim 10, whereinThe image is decoded using one or both of the level information and parameters of the decoded picture buffer (DPB).

15. The decoding device according to claim 10, further comprising a display configured to display the decoded image.

16. An encoding device, comprising: a receiver configured to receive an image for encoding or to receive a bitstream for decoding; a transmitter coupled to the receiver, wherein the transmitter is configured to send the bitstream to a decoding unit or to send a decoded image to a display; a memory coupled to at least one of the transmitter or receiver, wherein the memory is configured to store instructions; and a processor coupled to the memory, wherein the processor is configured to execute instructions stored in the memory to implement the method according to claim 1.

17. The encoding device according to claim 16, further comprising a display configured to display a decoded image.

18. A system, wherein it includes: an encoding unit; and a decoder in communication with the encryption unit, wherein the encryption unit or decoder includes the decoder or encryption device according to protection element 10.19.for encryption, comprising: a receiving means adapted to receive an image for encryption or to receive a bit stream for decryption; a transmission means coupled with the receiving means, wherein the transmission means is adapted to transmit the bit stream to a decryption means or to transmit a decrypted image to a display; a storage means coupled with at least one of the receiving means or the transmission means, wherein the storage means is adapted to store instructions; and a processing means coupled with the storage means, wherein the processing means is adapted to execute instructions stored in the storage means to execute the method according to claim 1.