Avoiding redundant signaling in a multi-layer video bitstream
By integrating DPB parameters into the SPS for single-layer output sets, the solution reduces redundancy in multi-layer video bitstreams, enhancing coding efficiency and user experience through optimized data transmission and storage.
Patent Information
- Application Number
- JP2025231138
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2019-10-07
- Filing Date
- 2025-12-04
- Publication Date
- 2026-02-24
AI Technical Summary
Existing video coding technologies face inefficiencies due to redundancy in signaling parameters across multiple layers in multi-layer video bitstreams, leading to increased data requirements that strain limited bandwidth and storage resources without improving image quality.
Incorporating decoded picture buffer (DPB) parameters into the sequence parameter set (SPS) for output layer sets with a single layer, thereby eliminating the need for a video parameter set (VPS) and reducing redundancy, enhancing coding efficiency.
This approach improves coding efficiency by minimizing redundant data, resulting in better user experiences during video transmission, reception, and viewing by reducing bandwidth and storage demands.
Smart Images

Figure 2026031697000001_ABST
Abstract
Description
[Technical Field]
[0001] Generally, this disclosure describes techniques for multi-layer video bitstreams in video coding. More specifically, this disclosure describes techniques for eliminating redundancy in signaling parameters corresponding to layers in multi-layer video bitstreams in video coding. [Background technology]
[0002] The amount of video data required to render even a relatively short video can be substantially large, resulting in complications when the data is streamed or otherwise transmitted over communication networks with limited bandwidth capacity. Therefore, in today's telecommunications networks, video data is typically compressed before transmission. Video size can also become an issue when the video is stored on a storage device, which may have limited memory resources. Video compression devices often use software and / or hardware at the source to code video data before transmission or storage, thereby reducing the amount of data needed to represent a digital video image. The compressed data is then received at the destination by a video decompression device, which decodes the video data. Given limited network resources and ever-increasing demands for video quality, improvements in compression and decompression techniques that improve compression ratios with little or no sacrifice in image quality are desirable. Summary of the Invention [Means for solving the problem]
[0003] A first aspect relates to a decoding method implemented by a video decoder, which includes receiving, by the video decoder, a sub-bitstream having a sequence parameter set (SPS) with a decoded picture buffer (DPB) syntax structure for an output layer set (OLS) having only one layer, obtaining, by the video decoder, the DPB syntax structure for the OLS having one layer from the SPS, and decoding, by the video decoder, pictures from the only layer using the DPB syntax structure to obtain decoded pictures.
[0004] The method provides a technique for ensuring that decoded picture buffer (DPB) parameters are included in a sequence parameter set (SPS) when an output layer set (OLS) contains only a single layer. Because the SPS contains DPB parameters for an OLS with a single layer, the video parameter set (VPS) may be removed from the bitstream, which reduces redundancy and increases coding efficiency. Therefore, coders / decoders (also known as "codecs") in video coding are improved compared to current codecs. As a practical matter, the improved video coding process provides users with a better user experience when videos are transmitted, received, and / or viewed.
[0005] Optionally, in any of the aforementioned aspects, another implementation form of the aspect provides that the DPB syntax structure is designated as dpb_parameters().
[0006] Optionally, in any of the aforementioned aspects, another implementation of the aspect provides that the only one layer is the i-th layer and the OLS is the i-th OLS.
[0007] Optionally, in any of the aforementioned aspects, another implementation form of the aspect provides that the DPB syntax structure is present within the i-th dpb_parameters() syntax structure in the SPS.
[0008] Optionally, in any of the aforementioned aspects, another implementation form of the aspect provides that the sub-bitstream does not include a video parameter set (VPS).
[0009] Optionally, in any of the aforementioned aspects, another implementation form of the aspect provides for storing the decoded pictures in the DPB before being displayed.
[0010] Optionally, in any of the aforementioned aspects, another implementation form of the aspect provides that an SPS is referenced by only one layer in the OLS.
[0011] Optionally, in any of the aforementioned aspects, another implementation of the aspect provides for displaying the decoded picture on a display of the electronic device.
[0012] A second aspect relates to a method of encoding implemented by a video encoder, the method including generating, by the video encoder, a video parameter set (VPS) and a sequence parameter set (SPS), where the VPS includes a list of decoded picture buffer (DPB) syntax structures for all output layer sets (OLSs) and the SPS includes a DPB syntax structure for each OLS having only one layer; encoding, by the video encoder, the VPS and SPS into a video bitstream; and storing, by the video encoder, the video bitstream for communication to a video decoder.
[0013] The method provides a technique for ensuring that decoded picture buffer (DPB) parameters are included in a sequence parameter set (SPS) when an output layer set (OLS) contains only a single layer. Because the SPS contains DPB parameters for an OLS with a single layer, the video parameter set (VPS) may be removed from the bitstream, which reduces redundancy and increases coding efficiency. Therefore, coders / decoders (also known as "codecs") in video coding are improved compared to current codecs. As a practical matter, the improved video coding process provides users with a better user experience when videos are transmitted, received, and / or viewed.
[0014] Optionally, in any of the aforementioned aspects, another implementation form of the aspect provides that the VPS includes an index to a list of DPB syntax structures, the index being designated as vps_ols_dpb_params_idx[i].
[0015] Optionally, in any of the aforementioned aspects, another implementation of the aspect provides that the value of vps_ols_dpb_params_idx[i] is in the range from 0 to the total number of DPB syntax structures in the VPS.
[0016] Optionally, in any of the aforementioned aspects, another implementation form of the aspect provides that the VPS includes vps_num_dpb_params_minus1, where vps_num_dpb_params_minus1+1 specifies the total number of DPB syntax structures in the VPS.
[0017] Optionally, in any of the aforementioned aspects, another implementation of the aspect provides for extracting a sub-bitstream from the bitstream, the sub-bitstream including an SPS from the bitstream but not including a VPS from the bitstream.
[0018] Optionally, in any of the aforementioned aspects, another implementation form of the aspect provides for transmitting the sub-bitstream to a video decoder.
[0019] A third aspect relates to a decoding device comprising: a receiver configured to receive a sub-bitstream having a sequence parameter set (SPS) comprising a decoded picture buffer (DPB) syntax structure for an output layer set (OLS) having only one layer; and a processor coupled to a memory, the processor configured to execute instructions that cause the decoding device to set the number of layers in the OLS to be equal to 1 based on the OLS having only one layer; obtain a DPB syntax structure for the OLS having one layer from the SPS when the number of layers in the OLS is set to be equal to 1; and decode a picture from the only layer using the DPB syntax structure to obtain a decoded picture.
[0020] A decoding device provides a technique for ensuring that decoded picture buffer (DPB) parameters are included in a sequence parameter set (SPS) when an output layer set (OLS) includes only a single layer. Because the SPS includes DPB parameters for an OLS with a single layer, the video parameter set (VPS) may be removed from the bitstream, which reduces redundancy and increases coding efficiency. Therefore, coders / decoders (also known as "codecs") in video coding are improved compared to current codecs. As a practical matter, the improved video coding process provides users with a better user experience when videos are transmitted, received, and / or viewed.
[0021] Optionally, in any of the aforementioned aspects, another implementation form of the aspect provides that the DPB syntax structure is specified as dpb_parameters(), the single layer is the i-th layer, and the OLS is the i-th OLS.
[0022] Optionally, in any of the aforementioned aspects, another implementation form of the aspect provides that the DPB syntax structure is present within the i-th dpb_parameters() syntax structure in the SPS.
[0023] Optionally, in any of the aforementioned aspects, another implementation form of the aspect provides that the sub-bitstream does not include a video parameter set (VPS).
[0024] Optionally, in any of the aforementioned aspects, another implementation form of the aspect provides that the SPS is referenced by only one layer in the OLS.
[0025] Optionally, in any of the aforementioned aspects, another implementation of the aspect provides for a display configured to display the decoded picture.
[0026] A fourth aspect relates to an encoding device comprising: a memory containing instructions; a processor coupled to the memory, the processor configured to implement the instructions to cause the encoding device to generate a video parameter set (VPS) and a sequence parameter set (SPS), where the VPS includes a list of decoded picture buffer (DPB) syntax structures for all output layer sets (OLSs) and the SPS includes a DPB syntax structure for each OLS having only one layer, and encode the VPS and SPS into a video bitstream; and a transmitter coupled to the processor, the transmitter configured to transmit the video bitstream to a video decoder.
[0027] The encoding device provides a technique for ensuring that decoded picture buffer (DPB) parameters are included in a sequence parameter set (SPS) when an output layer set (OLS) contains only a single layer. Because the SPS contains DPB parameters for an OLS with a single layer, the video parameter set (VPS) may be removed from the bitstream, which reduces redundancy and increases coding efficiency. Therefore, coders / decoders (also known as "codecs") in video coding are improved compared to current codecs. As a practical matter, the improved video coding process provides users with a better user experience when videos are transmitted, received, and / or viewed.
[0028] Optionally, in any of the aforementioned aspects, another implementation form of the aspect provides that the VPS includes an index to a list of DPB syntax structures, the index being designated as vps_ols_dpb_params_idx[i].
[0029] Optionally, in any of the aforementioned aspects, another implementation of the aspect provides that the value of vps_ols_dpb_params_idx[i] is in the range from 0 to the total number of DPB syntax structures in the VPS.
[0030] Optionally, in any of the aforementioned aspects, another implementation form of the aspect provides that the VPS includes vps_num_dpb_params_minus1, where vps_num_dpb_params_minus1+1 specifies the total number of DPB syntax structures in the VPS.
[0031] A fifth aspect relates to a coding apparatus including: a receiver configured to receive pictures to encode or a bitstream to decode, a transmitter coupled to the receiver and configured to transmit the bitstream to a decoder or transmit decoded images to a display, a memory coupled to at least one of the receiver or the transmitter and configured to store instructions, and a processor coupled to the memory and configured to execute the instructions stored in the memory to perform any of the methods disclosed herein.
[0032] The coding device provides a technique for ensuring that decoded picture buffer (DPB) parameters are included in a sequence parameter set (SPS) when an output layer set (OLS) contains only a single layer. Because the SPS contains DPB parameters for an OLS with a single layer, the video parameter set (VPS) may be removed from the bitstream, which reduces redundancy and increases coding efficiency. Therefore, coders / decoders (also known as "codecs") in video coding are improved compared to current codecs. As a practical matter, the improved video coding process provides users with a better user experience when videos are transmitted, received, and / or viewed.
[0033] Optionally, in any of the aforementioned aspects, another implementation of the aspect provides for a display configured to display the decoded picture.
[0034] A sixth aspect relates to a system, the system including an encoder and a decoder in communication with the encoder, the encoder or decoder including a decoding device, encoding device, or coding apparatus disclosed herein.
[0035] The system provides a technique for ensuring that decoded picture buffer (DPB) parameters are included in a sequence parameter set (SPS) when an output layer set (OLS) contains only a single layer. Because the SPS contains DPB parameters for an OLS with a single layer, the video parameter set (VPS) may be removed from the bitstream, which reduces redundancy and increases coding efficiency. Therefore, coders / decoders (also known as "codecs") in video coding are improved compared to current codecs. As a practical matter, the improved video coding process provides users with a better user experience when video is transmitted, received, and / or viewed.
[0036] A seventh aspect relates to a means for coding, the means for coding including: receiving means configured to receive pictures to encode or receive a bitstream to decode, transmitting means coupled to the receiving means, the transmitting means configured to transmit the bitstream to the decoding means or transmit the decoded images to the display means, storage means coupled to at least one of the receiving means or the transmitting means, the storage means configured to store instructions, and processing means coupled to the storage means, the processing means configured to execute the instructions stored in the storage means to perform any of the methods disclosed herein.
[0037] The coding method provides a technique for ensuring that decoded picture buffer (DPB) parameters are included in a sequence parameter set (SPS) when an output layer set (OLS) includes only a single layer. Because the SPS includes DPB parameters for an OLS with a single layer, the video parameter set (VPS) may be removed from the bitstream, reducing redundancy and increasing coding efficiency. Therefore, coders / decoders (also known as "codecs") in video coding are improved compared to current codecs. As a practical matter, the improved video coding process provides users with a better user experience when video is transmitted, received, and / or viewed.
[0038] For clarity, any one of the above-described embodiments may be combined with any one or more of the other above-described embodiments to form new embodiments within the scope of the present disclosure.
[0039] These and other features will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings and claims.
[0040] For a more complete understanding of the present disclosure, reference is now made to the following brief description taken in conjunction with the accompanying drawings and detailed description, in which like numerals represent like parts. [Brief explanation of the drawings]
[0041] [Figure 1] 1 is a flowchart of an exemplary method for coding a video signal. [Figure 2] 1 is a schematic diagram of an example coding and decoding (codec) system for video coding. [Figure 3] FIG. 1 is a schematic diagram illustrating an example video encoder. [Figure 4] FIG. 1 is a schematic diagram illustrating an exemplary video decoder. [Figure 5]FIG. 1 illustrates an example of multi-layer coding for spatial scalability. [Figure 6] FIG. 1 illustrates an example of multi-layer coding using output layer sets (OLS). [Figure 7] FIG. 1 illustrates one embodiment of a video bitstream. [Figure 8] FIG. 2 is a diagram of one embodiment of a method for decoding a coded video bitstream. [Figure 9] FIG. 1 is a diagram of an embodiment of a method for encoding a coded video bitstream. [Figure 10] 1 is a schematic diagram of a video coding device. [Figure 11] FIG. 1 is a schematic diagram of an embodiment of a means for coding; DETAILED DESCRIPTION OF THE INVENTION
[0042] Initially, while exemplary implementations of one or more embodiments are presented below, it should be understood that the disclosed systems and / or methods may be implemented using any number of currently known or existing technologies. The present disclosure should in no way be limited to the exemplary implementations, drawings, and technologies illustrated below, including the exemplary designs and implementations illustrated and described herein, but may be modified within the scope of the appended claims along with the full range of equivalents.
[0043] The following terms are defined as follows, unless used herein in a contrary context. Specifically, the following definitions are intended to further clarify the present disclosure. However, terms may be explained differently in different contexts. Therefore, the following definitions should be considered supplementary and not limiting of any other definitions of the explanations provided for such terms herein.
[0044] A bitstream is a sequence of bits containing video data compressed for transmission between an encoder and a decoder. An encoder is a device configured to compress video data into a bitstream using an encoding process. A decoder is a device configured to reconstruct video data into a bitstream for display using a decoding process. A picture is an array of luma samples and / or chroma samples that make up a frame or a field thereof. A picture being encoded or decoded may be referred to as the current picture for clarity. A reference picture is a picture containing reference samples that can be used when coding other pictures by reference according to inter-prediction and / or inter-layer prediction. A reference picture list is a list of reference pictures used for inter-prediction and / or inter-layer prediction. Some video coding systems utilize two reference picture lists, which can be denoted as reference picture list 1 and reference picture list 0. A reference picture list structure is an addressable syntax structure that contains multiple reference picture lists.
[0045] Inter-prediction is a mechanism for coding samples of a current picture by referencing indicated samples in a reference picture different from the current picture when the reference picture and the current picture are in the same layer. A reference picture list structure entry is an addressable location within the reference picture list structure that indicates the reference picture associated with the reference picture list.
[0046] A slice header is a part of a coded slice that contains data elements related to all video data within the tile represented by 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 coded pictures as determined by the syntax elements found 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 coded pictures associated with the same display time (e.g., the same picture order count) for output from the decoded picture buffer (DPB) (e.g., for display to a user). An access unit delimiter (AUD) is an indicator 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 a user.
[0047] A network abstraction layer (NAL) unit is a syntax structure containing data in the form of a raw byte sequence payload (RBSP), an indication of the type of data, interspersed with emulation prevention bytes where desired. A video coding layer (VCL) NAL unit is a NAL unit coded to contain video data, such as a coded slice of a picture. A non-VCL NAL unit is a NAL unit containing non-video data, such as syntax and / or parameters that support decoding the video data, performing conformance checks, or other operations. A layer is a set of VCL NAL units and associated non-VCL NAL units that share specified characteristics (e.g., a common resolution, frame rate, picture size, etc.). The VCL NAL units of a layer may share a particular value of the NAL unit header layer identifier (nuh_layer_id). A coded picture is a coded representation of a picture that includes VCL NAL units with a particular value of the NAL unit header layer identifier (nuh_layer_id) in its access units (AUs) and includes all coding tree units (CTUs) of the picture. A decoded picture is a picture produced by applying a decoding process to a coded picture.
[0048] An output layer set (OLS) is a set of layers in which one or more layers are designated as output layers. An output layer is a layer designated for output (e.g., to a display). The 0th OLS is an OLS that includes only the lowest layer (the layer with the lowest layer identifier) and therefore only output layers. The number of layers in an OLS may be specified with a syntax element designated NumLayersInOLS. A video parameter set (VPS) is a data unit that includes parameters related to the entire video. Inter-layer prediction is a mechanism for coding a current picture in a current layer by reference to a reference picture in a reference layer, where the current picture and the reference picture are included in the same AU and the reference layer includes a lower nuh_layer_id than the current layer.
[0049] A profile is a defined set of coding tools used to create a compliant or conforming bitstream. Each profile specifies a subset of algorithmic features and limitations that shall be supported by all decoders conforming to that profile. Tiers and levels are constraints that define a bitstream in terms of maximum bitrate, maximum luma sample rate, maximum luma picture size, minimum compression ratio, maximum number of slices allowed, and maximum number of tiles allowed. Lower tiers are more constrained than higher tiers, and lower levels are more constrained than higher levels. Profile, Tier, and Level (PTL) parameters are syntax structures that provide profile, tier, and / or level information.
[0050] A temporal scalable bitstream is a bitstream coded in multiple layers that provide various temporal resolutions / frame rates (e.g., each layer is coded to support a different frame rate). A sublayer is a temporal scalable layer of a temporal scalable bitstream that contains VCL NAL units and associated non-VCL NAL units with a specific temporal identifier value. For example, a temporal sublayer is a layer that contains video data associated with a specified frame rate. A sublayer representation is a subset of a bitstream that contains NAL units of a specific sublayer and lower sublayer. Thus, one or more temporal sublayers can be combined to achieve a sublayer representation that can be decoded to result in a video sequence with a specified frame rate. An OLS index is an index that uniquely identifies the corresponding OLS. A temporal identifier (ID) is a data element that indicates that the data corresponds to a temporal placement within a video sequence. The subbitstream extraction process is a process that removes NAL units from a bitstream that do not belong to a target set as determined by a target OLS index and a target highest temporal ID. The sub-bitstream extraction process results in an output sub-bitstream that contains NAL units from the bitstream that are part of the target set.
[0051] A hypothetical reference decoder (HRD) is a decoder model that runs on an encoder and checks the variability of the bitstream generated by the encoding process to verify conformance to specified constraints. A bitstream conformance test is a test to determine whether the encoded bitstream conforms to a standard such as Versatile Video Coding (VVC). HRD parameters are syntax elements that initialize and / or define the operating conditions of the HRD. Sequence-level HRD parameters are HRD parameters that apply to the entire coded video sequence. The maximum HRD temporal identifier (ID) (hrd_max_tid[i]) specifies the temporal ID of the highest sublayer representation whose HRD parameters are included in the i-th set of OLS HRD parameters. The general HRD parameters (general_hrd_parameters) syntax structure contains sequence-level HRD parameters. An operation point (OP) is a temporal subset of an OLS identified by its OLS index and highest temporal ID. The OP to be tested (targetOp) is the OP selected for conformance testing in the HRD. The target OLS is the OLS selected to extract from the bitstream. The decoding unit HRD parameters present flag (decoding_unit_hrd_params_present_flag) is a flag indicating whether the corresponding HRD parameter operates at the decoding unit (DU) level or the AU level. The coded picture buffer (CPB) is a first-in, first-out buffer in the HRD that contains coded pictures in decoding order for use during bitstream conformance verification. The decoded picture buffer (DPB) is a buffer for holding decoded pictures for reference, output reordering, and / or output delay.
[0052] The decoded picture buffer (DPB) parameters are syntax structures that provide the DPB size and, optionally, the maximum picture reorder number and maximum latency information, which may be collectively referred to by the acronym MRML.
[0053] Acronyms used in this specification are coding tree block (CTB), coding tree unit (CTU), coding unit (CU), coded video sequence (CVS), Joint Video Experts Team (JVET), motion constrained tile set (MCTS), maximum transmission unit (MTU), network abstraction layer (NAL), picture order count (POC), picture parameter set (PPS), raw byte sequence payload (RBSP), sequence parameter set (SPS), versatile video coding (VVC), and working draft (WD).
[0054] 1 is a flowchart of an exemplary operational method 100 for coding a video signal. Specifically, a video signal is encoded at an encoder. The encoding process compresses the video signal by using various mechanisms to reduce the video file size. The smaller file size allows the compressed video file to be transmitted to a user while reducing the associated bandwidth overhead. A decoder then decodes the compressed video file and reconstructs the original video signal for display to the end user. The decoding process generally mirrors the encoding process to allow the decoder to consistently reconstruct the video signal.
[0055] In step 101, a video signal is input to an encoder. For example, the video signal may be an uncompressed video file stored in memory. As another example, the video file may be captured by a video capture device, such as a video camera, and encoded to support live streaming of the video. The video file may include both an audio component and a video component. The video component includes a series of image frames that, when viewed in sequence, create a visual impression of movement. A frame includes pixels that are represented in terms of light, referred to herein as luma components (or luma samples), and color, referred to herein as chroma components (or color samples). In some examples, the frame may also include depth values to support three-dimensional display.
[0056] In step 103, the video is partitioned into blocks. Partitioning involves subdividing 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 may first be divided into coding tree units (CTUs), which are blocks of a predefined size (e.g., 64 pixels by 64 pixels). A CTU contains both luma samples and chroma samples. A coding tree may be employed to divide a CTU into blocks and then recursively subdivide the blocks until a configuration that supports further encoding is achieved. For example, the luma component of a frame may be subdivided until each block contains relatively homogeneous illumination values. Furthermore, the chroma component of a frame may be subdivided until each block contains relatively homogeneous color values. Thus, the partitioning mechanism varies depending on the content of the video frame.
[0057] In step 105, various compression mechanisms are employed to compress the image blocks partitioned in step 103. For example, inter-prediction and / or intra-prediction may be employed. Inter-prediction is designed to take advantage of the fact that objects in a common scene tend to appear in consecutive frames. Therefore, a block depicting an object in a reference frame need not be repeatedly described in adjacent frames. Specifically, an object such as a table may remain in a constant position across multiple frames. Thus, once the table is described, adjacent frames can refer back to the reference frame. A pattern matching mechanism may be employed to match objects across multiple frames. Furthermore, objects that move across multiple frames may be represented due to object movement, camera movement, etc. As a specific example, a video may show a car moving across the screen over multiple frames. A motion vector may be used to describe such movement. A motion vector is a two-dimensional vector that provides an offset from the coordinates of an object in a frame to the coordinates of the object in a reference frame. As such, inter-prediction may encode an image block in a current frame as a set of motion vectors indicating its offset from a corresponding block in a reference frame.
[0058] Intra prediction encodes blocks within a common frame. It 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 positioned adjacent to a similar green patch. Intra prediction uses multiple directional prediction modes (e.g., 33 in HEVC), planar mode, and direct current (DC) mode. These directional modes indicate that the current block is similar / identical to samples in neighboring blocks in the corresponding direction. Planar mode indicates that a series of blocks along a row / column (e.g., a plane) can be interpolated based on neighboring blocks at the end of the row. Planar mode effectively indicates a smooth transition of light / color across a row / column by using a relatively constant gradient in the changing values. DC mode is used for boundary smoothing and indicates that the block is similar / identical to the average value associated with samples in all neighboring blocks related to the angular direction of the directional prediction mode. Therefore, intra-predicted blocks can represent image blocks as various related prediction mode values rather than actual values. Furthermore, inter-predicted blocks can represent image blocks as motion vector values rather than actual values. In either case, the prediction block may not exactly represent the image block in some cases. Any differences are contained within the residual block. To further compress the file, a transform may be applied to the residual block.
[0059] Various filtering techniques may be applied in step 107. In HEVC, filters are applied according to an in-loop filtering scheme. The block-based prediction described above may result in blocky images at the decoder. Furthermore, the block-based prediction scheme may encode a block and then reconstruct the encoded block for later use as a reference block. The in-loop filtering scheme iteratively applies a noise suppression filter, a deblocking filter, an adaptive loop filter, and a sample adaptive offset (SAO) filter to a block / frame. These filters reduce such blocking artifacts, allowing the encoded file to be accurately reconstructed. Furthermore, these filters reduce artifacts in the reconstructed reference block, thereby reducing the likelihood that the artifacts will cause further artifacts in subsequent blocks that are encoded based on the reconstructed reference block.
[0060] After the video signal is segmented, compressed, and filtered, the resulting data is encoded into a bitstream in step 109. The bitstream includes the data described above, as well as any signaling data desired to support proper video signal reconstruction at the decoder. For example, such data may include segmentation data, prediction data, residual blocks, and various flags that send encoding instructions to the decoder. The bitstream may be stored in memory for transmission to the decoder upon request. The bitstream may also be broadcast and / or multicast to multiple decoders. Creation of the bitstream is an iterative process. Thus, steps 101, 103, 105, 107, and 109 may be performed sequentially and / or simultaneously across multiple frames and blocks. The order depicted in FIG. 1 is presented for clarity and ease of explanation and is not intended to constrain the video coding process to any particular order.
[0061] The decoder receives the bitstream and begins the decoding process at step 111. Specifically, the decoder uses an entropy decoding scheme to convert the bitstream into corresponding syntax and video data. In step 111, the decoder uses syntax data from the bitstream to determine a partition for the frame. The partition should match the result of the block partitioning in step 103. We now describe entropy encoding / decoding as employed in step 111. The encoder makes many choices in the compression process, such as selecting a block partitioning scheme from several possible options based on the spatial location of values in the input image. Signaling the exact choice can involve the use of multiple bins. As used herein, a bin is a binary value (e.g., a bit value that can change depending on the context) that is treated as a variable. Entropy coding allows the encoder to discard any options that are clearly infeasible for a particular case, leaving a set of acceptable options. Each acceptable option is then assigned a codeword. The length of the codeword is based on the number of allowable options (e.g., one bin for two options, two bins for three to four options, etc.). The encoder then encodes the codeword for the selected option. This scheme reduces the size of the codeword because it is desirable to uniquely indicate a selection from a small subset of allowable options, as opposed to uniquely indicating a selection from a potentially large set of all possible options. The decoder then decodes the selection by determining the set of allowable options in a manner similar to the encoder. By determining the set of allowable options, the decoder can read the codeword and determine the selection made by the encoder.
[0062] In step 113, the decoder performs block decoding. Specifically, the decoder employs an inverse transform to generate a residual block. The decoder then uses the residual block and a corresponding prediction block to reconstruct an image block according to the partitioning. The prediction block may include both intra-predicted blocks and inter-predicted blocks, such as those generated in the encoder in step 105. The reconstructed image block is then positioned within a frame of the reconstructed video signal according to the partitioning data determined in step 111. The syntax for step 113 may also be signaled in the bitstream via entropy coding, as described above.
[0063] At step 115, filtering is performed on the frames of the reconstructed video signal at the encoder in a manner similar to step 107. For example, a noise suppression filter, a deblocking filter, an adaptive loop filter, and an SAO filter may be applied to the frames to remove blocking artifacts. After the frames are filtered, the video signal may be output to a display at step 117 for viewing by an end user.
[0064] 2 is a schematic diagram of an exemplary coding and decoding (codec) system 200 for video coding. Specifically, codec system 200 provides functionality to support implementation of operational method 100. Codec system 200 is generalized to depict components employed in both encoders and decoders. Codec system 200 receives and segments a video signal as described with reference to steps 101 and 103 of operational method 100, resulting in a segmented video signal 201. Codec system 200 then compresses segmented video signal 201 into a coded bitstream when operating as an encoder as described with reference to steps 105, 107, and 109 in method 100. When operating as a decoder, codec system 200 generates an output video signal from the bitstream as described with reference to steps 111, 113, 115, and 117 of operational method 100. Codec system 200 includes a general coder control component 211, a transform scaling and quantization component 213, an intra-picture estimation component 215, an intra-picture prediction component 217, a motion compensation component 219, a motion estimation component 221, a scaling and inverse transform component 229, a filter control analysis component 227, an in-loop filter component 225, a decoded picture buffer component 223, and a header formatting and context-adaptive binary arithmetic coding (CABAC) component 231. Such components are coupled as shown. In FIG. 2, black lines indicate the movement of data to be encoded / decoded, and dashed lines indicate the movement of control data that controls the operation of other components. The components of codec system 200 may all reside within an encoder. A decoder may include a subset of the components of codec system 200.For example, the decoder may include an intra-picture prediction component 217, a motion compensation component 219, a scaling and inverse transform component 229, an in-loop filter component 225, and a decoded picture buffer component 223. These components are now described.
[0065] The partitioned video signal 201 is a captured video sequence partitioned into several blocks of pixels by a coding tree. The coding tree employs various partitioning modes to subdivide blocks of pixels into smaller blocks of pixels. These blocks may then be further subdivided into smaller blocks. The blocks may be referred to as nodes of the coding tree. Larger parent nodes are divided into smaller child nodes. The number of times a node is subdivided is referred to as the depth of the node / coding tree. The partitioned blocks may, in some cases, be included in a coding unit (CU). For example, a CU may be a subpart of a CTU that includes a luma block, a red-difference chroma (Cr) block, and a blue-difference chroma (Cb) block, along with corresponding syntax instructions for the CU. Partitioning modes may include a binary tree (BT), a ternary tree (TT), and a quad tree (QT), which are employed to partition a node into two, three, or four child nodes of various shapes, respectively, depending on the partitioning mode employed. The segmented video signal 201 is forwarded to a general coder control component 211, a transform scaling and quantization component 213, an intra-picture estimation component 215, a filter control analysis component 227, and a motion estimation component 221 for compression.
[0066] The general coder control component 211 is configured to make decisions related to the coding of images of a video sequence into a bitstream according to application constraints. For example, the general coder control component 211 manages the optimization of bitrate / bitstream size versus reconstruction quality. Such decisions may be based on storage space / bandwidth availability and image resolution requirements. The general coder control component 211 also manages buffer utilization in relation to transmission rate to mitigate buffer underrun and overrun issues. To manage these issues, the general coder control component 211 manages segmentation, prediction, and filtering by other components. For example, the general coder control component 211 may dynamically increase compression complexity to increase resolution and bandwidth usage, or decrease compression complexity to decrease resolution and bandwidth usage. Thus, the general coder control component 211 controls other components of the codec system 200 to balance video signal reconstruction quality and bitrate considerations. The general coder control component 211 generates control data that controls the operation of the other components. Control data is also forwarded to the Header Formatting and CABAC component 231 and encoded into the bitstream to signal parameters for decoding at the decoder.
[0067] The partitioned video signal 201 is also sent to a motion estimation component 221 and a motion compensation component 219 for inter-prediction. A frame or slice of the partitioned video signal 201 may be divided into multiple video blocks. The motion estimation component 221 and the motion compensation component 219 perform inter-predictive coding of the received video blocks with respect to one or more blocks in one or more reference frames to perform temporal prediction. The codec system 200 may perform multiple coding passes to, for example, select an appropriate coding mode for each block of video data.
[0068] The motion estimation component 221 and the motion compensation component 219 may be highly integrated but are illustrated separately for conceptual purposes. Motion estimation performed by the motion estimation component 221 is a process of generating motion vectors, which estimate motion relative to a video block. A motion vector may indicate, for example, the displacement of a coded object relative to a predictive block. A predictive block is a block that is known to closely match a block to be coded in terms of pixel differences. A predictive block may also be referred to as a reference block. Such pixel differences may be determined by sum of absolute differences (SAD), sum of squared differences (SSD), or other difference metrics. HEVC employs several coded 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 included in a CU. A CU may be encoded as a prediction unit (PU) containing prediction data and / or a transform unit (TU) containing transformed residual data for the CU. The motion estimation component 221 generates motion vectors, PUs, and TUs by using rate-distortion analysis as part of a rate-distortion optimization process. For example, the motion estimation component 221 may determine multiple reference blocks, multiple motion vectors, etc. for a current block / frame and select the reference block, motion vector, etc. with the best rate-distortion performance, which balances both the quality of the video reconstruction (e.g., the amount of data lost due to compression) and the coding efficiency (e.g., the size of the final encoding).
[0069] In some examples, the codec system 200 may calculate values for sub-integer pixel positions of reference pictures stored in the decoded picture buffer component 223. For example, the video codec system 200 may interpolate values for quarter-pixel positions, eighth-pixel positions, or other fractional pixel positions of the reference pictures. Accordingly, the motion estimation component 221 may perform motion search for full-pixel and fractional pixel positions and output motion vectors with fractional pixel accuracy. The motion estimation component 221 calculates motion vectors for PUs of video blocks in inter-coded slices by comparing the positions of the PUs with the positions of predictive blocks in the reference pictures. The motion estimation component 221 outputs the calculated motion vectors as header formatting for encoding and motion to the motion compensation component 219 and as motion data to the CABAC component 231.
[0070] The motion compensation performed by the motion compensation component 219 may involve fetching or generating a predictive block based on a motion vector determined by the motion estimation component 221. Again, the motion estimation component 221 and the motion compensation component 219 may be functionally integrated in some examples. Upon receiving the motion vector for the PU of the current video block, the motion compensation component 219 may locate the predictive block to which the motion vector points. A residual video block is then formed by subtracting pixel values of the predictive block from pixel values of the current video block being coded to form pixel difference values. Generally, the motion estimation component 221 performs motion estimation with respect to the luma component, and the motion compensation component 219 uses the motion vector calculated based on the luma component for both the chroma and luma components. The predictive block and the residual block are forwarded to the transform scaling and quantization component 213.
[0071] The partitioned video signal 201 is also sent to an intra-picture estimation component 215 and an intra-picture prediction component 217. Like the motion estimation component 221 and the motion compensation component 219, the intra-picture estimation component 215 and the intra-picture prediction component 217 may be highly integrated but are illustrated separately for conceptual purposes. The intra-picture estimation component 215 and the intra-picture prediction component 217 intra-predict the current block with respect to blocks within the current frame as an alternative to the inter-prediction performed by the motion estimation component 221 and the motion compensation component 219 between frames, as described above. In particular, the intra-picture estimation component 215 determines the intra-prediction mode to use to encode the current block. In some examples, the intra-picture estimation component 215 selects an appropriate intra-prediction mode to encode the current block from multiple tested intra-prediction modes. The selected intra-prediction mode is then forwarded to the header formatting and CABAC component 231 for encoding.
[0072] For example, the intra-picture estimation component 215 may calculate rate-distortion values for various tested intra-prediction modes using a rate-distortion analysis and select an intra-prediction mode with the best rate-distortion characteristics from among the tested modes. The rate-distortion analysis typically determines the amount of distortion (or error) between an encoded block and the original unencoded block encoded to generate the encoded block, as well as the bitrate (e.g., number of bits) used to generate the encoded block. The intra-picture estimation component 215 may calculate a ratio from the distortion and rate for the various encoded blocks to determine which intra-prediction mode exhibits the best rate-distortion value for the block. In addition, the intra-picture estimation component 215 may be configured to code depth blocks of a depth map using a depth modeling mode (DMM) based on rate-distortion optimization (RDO).
[0073] The intra picture prediction component 217 may generate a residual block from the prediction block based on a selected intra prediction mode determined by the intra picture estimation component 215 when implemented in an encoder, or may read the residual block from a bitstream when implemented in a decoder. The residual block contains value differences between the prediction block and the original block, represented as a matrix. The residual block is then forwarded to the transform scaling and quantization component 213. The intra picture estimation component 215 and the intra picture prediction component 217 may operate on both the luma and chroma components.
[0074] The transform scaling and quantization component 213 is configured to further compress the residual block. The transform scaling and quantization component 213 applies a transform, such as a discrete cosine transform (DCT), a discrete sine transform (DST), or a conceptually similar transform, to the residual block to generate a video block including residual transform coefficient values. A wavelet transform, an integer transform, a subband transform, or other types of transforms could also be used. This transform may convert the residual information from the pixel value domain to a transform domain, such as the frequency domain. The transform scaling and quantization component 213 is also configured to scale the transformed residual information, for example, based on frequency. Such scaling involves applying a scale factor to the residual information so that different frequency information is quantized with different granularity, which may affect the final visual quality of the reconstructed video. The transform scaling and quantization component 213 is also configured to quantize the transform coefficients to further reduce the bit rate. The quantization process may reduce the bit depth associated with some or all of the coefficients. The degree of quantization may be changed by adjusting a quantization parameter. In some examples, the transform scaling and quantization component 213 may then perform a scan of a matrix containing the quantized transform coefficients, which are forwarded to the header formatting and CABAC component 231 and encoded into the bitstream.
[0075] The scaling and inverse transform component 229 applies the inverse operations of the transform scaling and quantization component 213 to support motion estimation. The scaling and inverse transform component 229 applies, for example, inverse scaling, transform, and / or quantization to reconstruct a residual block in the pixel domain for later use as a reference block that may become a predictive block for another current block. The motion estimation component 221 and / or motion compensation component 219 may calculate a reference block by adding the residual block back to the corresponding predictive block for use in motion estimation of a later block / frame. A filter is applied to the reconstructed reference block, thereby mitigating artifacts created during scaling, quantization, and transformation. Such artifacts could otherwise cause inaccurate predictions (and create additional artifacts) when subsequent blocks are predicted.
[0076] The filter control analysis component 227 and the in-loop filter component 225 apply filters to residual blocks and / or reconstructed image blocks. For example, a transformed residual block from the scaling and inverse transform component 229 may be combined with a corresponding prediction block from the intra-picture prediction component 217 and / or the motion compensation component 219 to reconstruct the original image block. A filter may then be applied to the reconstructed image block. In some examples, a filter may be applied to the residual block instead. Like the other components in FIG. 2, the filter control analysis component 227 and the in-loop filter component 225 are highly integrated and may be implemented together, but are depicted separately for conceptual purposes. The filters applied to the reconstructed reference block are applied to specific spatial regions and include multiple parameters for adjusting how such filters are applied. The filter control analysis component 227 analyzes the reconstructed reference block to determine where such filters should be applied and set the corresponding parameters. Such data is forwarded to the header formatting and CABAC component 231 as filter control data for encoding. The in-loop filter component 225 applies such filters based on the filter control data. The filters may include deblocking filters, noise suppression filters, SAO filters, and adaptive loop filters. Such filters may be applied in the spatial / pixel domain (e.g., on reconstructed pixel blocks) or in the frequency domain, depending on the example.
[0077] When operating as an encoder, the filtered reconstructed image blocks, residual blocks, and / or prediction blocks are stored in the decoded picture buffer component 223 for later use in motion estimation as described above. When operating as a decoder, the decoded picture buffer component 223 stores the reconstructed and filtered blocks and forwards them to a display as part of the output video signal. The decoded picture buffer component 223 may be any memory device capable of storing prediction blocks, residual blocks, and / or reconstructed image blocks.
[0078] The header formatting and CABAC component 231 receives data from various components of the codec system 200 and encodes such data into a coded bitstream for transmission to a decoder. Specifically, the header formatting and CABAC component 231 generates various headers to encode control data, such as general control data and filter control data. Furthermore, prediction data, including intra-prediction data and motion data, as well as residual data in the form of quantized transform coefficient data, are all encoded into the bitstream. The final bitstream contains all information desired for a decoder to reconstruct the original partitioned video signal 201. Such information may also include an intra-prediction mode index table (also referred to as a codeword mapping table), definitions of encoding contexts for various blocks, indications of the most likely intra-prediction modes, indications of partition information, and so on. Such data may be encoded by employing entropy coding. For example, the information may be encoded by employing context-adaptive variable length coding (CAVLC), CABAC, syntax-based context-adaptive binary arithmetic coding (SBAC), probability interval partitioning entropy (PIPE) coding, or another entropy coding technique. Following entropy coding, the coded bitstream may be transmitted to another device (e.g., a video decoder) or archived for later transmission or removal.
[0079] 3 is a block diagram illustrating an exemplary video encoder 300. Video encoder 300 may be employed to implement the encoding functionality of codec system 200 and / or to implement steps 101, 103, 105, 107, and / or 109 of operating method 100. Encoder 300 segments an input video signal, resulting in a segmented video signal 301, which is substantially similar to segmented video signal 201. Segmented video signal 301 is then compressed and encoded into a bitstream by components of encoder 300.
[0080] Specifically, the partitioned video signal 301 is forwarded to an intra-picture prediction component 317 for intra-prediction. The intra-picture prediction component 317 may be substantially similar to the intra-picture estimation component 215 and the intra-picture prediction component 217. The partitioned video signal 301 is also forwarded to a motion compensation component 321 for inter-prediction based on reference blocks in a decoded picture buffer component 323. The motion compensation component 321 may be substantially similar to the motion estimation component 221 and the motion compensation component 219. The prediction block and residual block from the intra-picture prediction component 317 and the motion compensation component 321 are forwarded to a transform and quantization component 313 for transforming and quantizing the residual block. The transform and quantization component 313 may be substantially similar to the transform scaling and quantization component 213. The transformed and quantized residual blocks and the corresponding prediction blocks (along with associated control data) are forwarded to an entropy coding component 331 for coding into the bitstream. The entropy coding component 331 may be substantially similar to the header formatting and CABAC component 231.
[0081] The transformed and quantized residual block and / or the corresponding prediction block are transferred from the transform and quantization component 313 to the inverse transform and quantization component 329 for reconstructing into a reference block for use by the motion compensation component 321. The inverse transform and quantization component 329 may be substantially similar to the scaling and inverse transform component 229. An in-loop filter in the in-loop filter component 325 is also applied to the residual block and / or the reconstructed reference block, depending on the example. The in-loop filter component 325 may be substantially similar to the filter control analysis component 227 and the in-loop filter component 225. The in-loop filter component 325 may comprise multiple filters as described with respect to the in-loop filter component 225. The filtered block is then stored in the decoded picture buffer component 323 for use as a reference block by the motion compensation component 321. The decoded picture buffer component 323 may be substantially similar to the decoded picture buffer component 223.
[0082] 4 is a block diagram illustrating an example video decoder 400. Video decoder 400 may be employed to implement the decoding functionality of codec system 200 and / or to implement steps 111, 113, 115, and / or 117 of operating method 100. Decoder 400 receives a bitstream, for example, from encoder 300, and generates a reconstructed output video signal based on the bitstream for display to an end user.
[0083] The bitstream is received by the entropy decoding component 433. The entropy decoding component 433 is configured to implement an entropy decoding scheme such as CAVLC, CABAC, SBAC, PIPE coding, or other entropy coding techniques. For example, the entropy decoding component 433 may employ header information to provide context for interpreting additional data encoded as codewords in the bitstream. The decoded information includes any desired information for decoding the video signal, such as general control data, filter control data, partition information, motion data, prediction data, and quantized transform coefficients from the residual block. The quantized transform coefficients are forwarded to the inverse transform and quantization component 429 for reconstruction into the residual block. The inverse transform and quantization component 429 may be similar to the inverse transform and quantization component 329.
[0084] The reconstructed residual block and / or predictive block are forwarded to the intra-picture prediction component 417 for reconstructing into an image block based on an intra-prediction operation. The intra-picture prediction component 417 may be similar to the intra-picture estimation component 215 and the intra-picture prediction component 217. Specifically, the intra-picture prediction component 417 employs a prediction mode to locate a reference block within a frame and applies the residual block to the result to reconstruct an intra-predicted image block. The reconstructed intra-predicted image block and / or residual block and corresponding inter-prediction data are forwarded to the decoded picture buffer component 423 via an in-loop filter component 425, which may be substantially similar to the decoded picture buffer component 223 and the in-loop filter component 225, respectively. The in-loop filter component 425 filters the reconstructed image block, residual block, and / or predictive block, and such information is stored in the decoded picture buffer component 423. The reconstructed image blocks from the decoded picture buffer component 423 are forwarded to the motion compensation component 421 for inter-prediction. The motion compensation component 421 may be substantially similar to the motion estimation component 221 and / or the motion compensation component 219. Specifically, the motion compensation component 421 employs motion vectors from reference blocks to generate prediction blocks and applies a residual block to the result to reconstruct an image block. The resulting reconstructed blocks may also be forwarded to the decoded picture buffer component 423 via an in-loop filter component 425. The decoded picture buffer component 423 continues to store additional reconstructed image blocks, which may be reconstructed into frames via partition information. Such frames may be arranged into a sequence. This sequence is output to a display as a reconstructed output video signal.
[0085] With the above in mind, video compression techniques perform spatial (intra-picture) prediction and / or temporal (inter-picture) prediction to reduce or remove redundancy inherent in video sequences. For block-based video coding, a video slice (i.e., a video picture or a portion of a video picture) may be partitioned 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 intra-coded (I) slice of a picture are encoded using spatial prediction with respect to reference samples in neighboring blocks in the same picture. Video blocks in an inter-coded (P or B) slice of a picture may use spatial prediction with respect to reference samples in neighboring blocks in the same picture or temporal prediction with respect to reference samples in other reference pictures. A picture may be referred to as a frame, and a reference picture may be referred to as a reference frame. A POC is a variable associated with each picture that uniquely identifies the associated picture among all pictures in a pre-coded layer video sequence (CLVS), indicates when the associated picture should be output from the DPB, and indicates the position of the associated picture in output order relative to the output order positions of other pictures in the same CLVS that should be output from the DPB. A flag is a variable or 1-bit syntax element that can take one of two possible values: 0 and 1.
[0086] Spatial or temporal prediction results in a predictive block for the block to be coded. Residual data represents pixel differences between the original block to be coded and the predictive block. Inter-coded blocks are encoded according to a motion vector pointing to a block of reference samples forming the predictive block and the residual data indicating the difference between the coded block and the predictive block. Intra-coded blocks are encoded according to an intra-coding mode and the residual data. For further compression, the residual data may be transformed from the pixel domain to a transform domain to obtain residual transform coefficients, which may then be quantized. The quantized transform coefficients, initially arranged in a two-dimensional array, may be scanned to generate a one-dimensional vector of transform coefficients, and entropy coding may be applied to achieve even greater compression.
[0087] Image and video compression has experienced rapid growth, resulting in a variety of coding standards. Such video coding standards include Advanced Video Coding (AVC), also known as 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, 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), Multiview Video Coding plus Depth (MVC+D), and 3D AVC (3D-AVC). HEVC includes extensions such as Scalable HEVC (SHVC), Multiview HEVC (MV-HEVC), and 3D HEVC (3D-HEVC).
[0088] There is also a new video coding standard named Versatile Video Coding (VVC) being developed by the ITU-T and ISO / IEC Joint Video Experts Team (JVET). The VVC standard has several working drafts, but one working draft (WD) of VVC in particular is referenced herein: B. Bross, J. Chen, and S. Liu, "Versatile Video Coding (Draft 5)," JVET-N1001-v3, 13th JVET Meeting, March 27, 2019 (VVC Draft 5).
[0089] Scalability in video coding is typically supported by using multi-layer coding techniques. A multi-layer bitstream includes a base layer (BL) and one or more enhancement layers (EL). Examples of scalability include spatial scalability, quality / signal-to-noise ratio (SNR) scalability, multiview scalability, etc. When multi-layer coding techniques are used, a picture or a portion thereof may be coded (1) without using a reference picture, i.e., using intra prediction; (2) by referencing a reference picture within the same layer, i.e., using inter prediction; or (3) by referencing a reference picture within another layer, i.e., using inter-layer prediction. A reference picture used for inter-layer prediction of a current picture is referred to as an inter-layer reference picture (ILRP).
[0090] 5 is a schematic diagram illustrating one example of layer-based prediction 500 as performed to determine motion vectors (MVs), for example, 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-based prediction 500 is compatible with unidirectional inter prediction and / or bidirectional inter prediction, but also performed between pictures in different layers.
[0091] Layer-based prediction 500 is applied between pictures 511, 512, 513, and 514 and pictures 515, 516, 517, and 518 in different layers. In the illustrated example, pictures 511, 512, 513, and 514 are part of layer N+1 532, and pictures 515, 516, 517, and 518 are part of layer N 531. A layer, such as layer N 531 and / or layer N+1 532, is a group of pictures that are all associated with similar values of characteristics such as similar size, quality, resolution, signal-to-noise ratio, capacity, etc. In the illustrated example, layer N+1 532 is associated with a larger image size than layer N 531. Thus, pictures 511, 512, 513, and 514 of layer N+1 532 have larger picture sizes (e.g., larger heights and widths, and therefore more samples) than pictures 515, 516, 517, and 518 of layer N 531 in this example. However, such pictures may be separated between layer N+1 532 and layer N 531 by other characteristics. Although only two layers, layer N+1 532 and layer N 531, are shown, a set of pictures may be separated into any number of layers based on relevant characteristics. Layer N+1 532 and layer N 531 may be indicated by a layer ID. A layer ID is an item of data associated with a picture and indicates that the picture is part of the indicated layer. Thus, each picture 511-518 may be associated with a corresponding layer ID, which may indicate which layer N+1 532 or layer N 531 contains the corresponding picture.
[0092] The pictures 511-518 in different layers 531-532 are configured to be displayed in alternative ways. As such, the pictures 511-518 in different layers 531-532 may share the same temporal identifier (ID) and may be included in the same AU. As used herein, an AU is a set of one or more coded pictures associated with the same display time for output from the DPB. For example, a decoder may decode and display picture 515 at the current display time if a smaller picture is desired, or the decoder may decode and display picture 511 at the current display time if a larger picture is desired. As such, the pictures 511-514 in the upper layer N+1 532 contain substantially the same image data as the corresponding pictures 515-518 in the lower layer N 531 (regardless of differences in picture size). Specifically, picture 511 contains substantially the same image data as picture 515, picture 512 contains substantially the same image data as picture 516, and so on.
[0093] Pictures 511-518 may be coded with reference to other pictures 511-518 in the same layer N 531 or N+1 532. Coding a picture with reference to another picture in the same layer results in inter-prediction 523, which is compatible with unidirectional inter-prediction and / or bidirectional inter-prediction. Inter-prediction 523 is indicated by a solid arrow. For example, picture 513 may be coded by employing inter-prediction 523 using one or two of pictures 511, 512, and / or 514 of layer N+1 532 as references, where one picture is referenced for unidirectional inter-prediction and / or two pictures are referenced for bidirectional inter-prediction. Furthermore, picture 517 may be coded by employing inter prediction 523 using one or two of pictures 515, 516, and / or 518 in layer N 531 as references, where one picture is referenced for unidirectional inter prediction and / or two pictures are referenced for bidirectional inter prediction. When a picture is used as a reference for another picture in the same layer when performing inter prediction 523, the picture may be referred to as a reference picture. For example, picture 512 may be a reference picture used to code picture 513 according to inter prediction 523. Inter prediction 523 may also be referred to as intra-layer prediction in a multi-layer context. As such, inter prediction 523 is a mechanism for coding samples of a current picture by referencing indicated samples in a reference picture different from the current picture when the reference picture and the current picture are in the same layer.
[0094] Pictures 511-518 may also be coded by referencing other pictures 511-518 in different layers. This process is known as inter-layer prediction 521 and is indicated by the dashed arrows. Inter-layer prediction 521 is a mechanism for coding samples of a current picture by referencing indicated samples in reference pictures where the current picture and the reference picture are in different layers and therefore have different layer IDs. For example, a picture in lower layer N 531 may be used as a reference picture for coding a corresponding picture in upper layer N+1 532. As a specific example, picture 511 may be coded by referencing picture 515 according to inter-layer prediction 521. In such a case, picture 515 is used as the inter-layer reference picture. An inter-layer reference picture is a reference picture used for inter-layer prediction 521. In most cases, inter-layer prediction 521 is constrained so that a current picture, such as picture 511, can only use inter-layer reference pictures that are included in the same AU and are in a lower layer, such as picture 515. When multiple layers (e.g., more than two) are available, inter-layer prediction 521 can encode / decode the current picture based on multiple inter-layer reference pictures at a lower level than the current picture.
[0095] A video encoder may employ layer-based prediction 500 to encode pictures 511-518 via many different combinations and / or permutations of inter-prediction 523 and inter-layer prediction 521. For example, picture 515 may be coded according to intra-prediction. Pictures 516-518 may then be coded according to inter-prediction 523 by using picture 515 as a reference picture. Furthermore, picture 511 may be coded according to inter-layer prediction 521 by using picture 515 as an inter-layer reference picture. Pictures 512-514 may then be coded according to inter-prediction 523 by using picture 511 as a reference picture. As such, a reference picture may serve as both a single layer reference picture and an inter-layer reference picture for different coding mechanisms. By coding the upper layer N+1 532 picture based on the lower layer N 531 picture, the upper layer N+1 532 can avoid employing intra prediction, which has significantly lower coding efficiency than inter prediction 523 and inter-layer prediction 521. As such, the coding inefficiency of intra prediction can be limited to the smallest / lowest quality pictures and, therefore, can be limited to coding a minimum amount of video data. Pictures used as reference pictures and / or inter-layer reference pictures can be indicated in entries of a reference picture list included in a reference picture list structure.
[0096] 5 may include multiple pictures. For example, one AU 506 may include pictures 511 and 515. Another AU 506 may include pictures 512 and 516. In effect, each AU 506 is a set of one or more coded pictures associated with the same display time (e.g., the same temporal ID) for output from a decoded picture buffer (DPB) (e.g., for display to a user). Each AUD 508 is an indicator or data structure used to indicate the start of an AU (e.g., AU 508) or a boundary between AUs.
[0097] Previous H.26x video coding families provided support for scalability in profiles separate from those for single-layer coding. Scalable video coding (SVC) is a scalable extension of AVC / H.264 that provides support for spatial, temporal, and quality scalability. For SVC, a flag is signaled in each macroblock (MB) in an EL picture to indicate whether the EL MB is predicted using co-located blocks from lower layers. Prediction from co-located blocks may include texture, motion vectors, and / or coding modes. SVC implementations cannot directly reuse unmodified H.264 / AVC implementations in their design. The SVC EL macroblock syntax and decoding process differ from the H.264 / AVC syntax and decoding process.
[0098] Scalable HEVC (SHVC) is an extension of the HEVC / H.265 standard that provides support for spatial and quality scalability. Multiview HEVC (MV-HEVC) is an extension of HEVC / H.265 that provides support for multiview scalability. 3D HEVC (3D-HEVC) is an extension of HEVC / H.264 that provides support for three-dimensional (3D) video coding, which is more advanced and efficient than MV-HEVC. Note that temporal scalability is included as an integral part of the single-layer HEVC codec. The design of multi-layer extensions to HEVC employs the idea that decoded pictures used for inter-layer prediction come only from the same access unit (AU), are treated as long-term reference pictures (LTRPs), and are assigned reference indices in a reference picture list along with other temporal reference pictures in the current layer. Inter-layer prediction (ILP) is achieved at the prediction unit (PU) level by setting the value of a reference index to refer to an inter-layer reference picture in a reference picture list.
[0099] In particular, both reference picture resampling and spatial scalability functions require resampling of reference pictures or parts thereof. Reference picture resampling (RPR) can be realized either at the picture level or at the coding block level. However, when RPR is referred to as a coding function, it is a function for single-layer coding. Nevertheless, it is possible, or even preferable from a codec design point of view, to use the same resampling filter for both the RPR function for single-layer coding and the spatial scalability function for multi-layer coding.
[0100] Figure 6 illustrates an example of layer-based prediction 600 that utilizes an output layer set (OLS), such as is performed to determine MVs in, for example, 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-based prediction 600 is compatible with unidirectional inter prediction and / or bidirectional inter prediction, but is also performed between pictures in different layers. The layer-based prediction in Figure 6 is similar to that in Figure 5. Therefore, for the sake of brevity, a full description of layer-based prediction will not be repeated.
[0101] Some of the layers in the coded video sequence (CVS) 690 in FIG. 6 are included in an OLS. An OLS is a set of layers in which one or more layers are designated as output layers. An output layer is a layer of the OLS that is output. FIG. 6 shows three different OLSs: OLS1, OLS2, and OLS3. As shown, OLS1 includes layer N 631 and layer N+1 632. OLS2 includes layer N 631, layer N+1 632, layer N+2 633, and layer N+3 634. OLS3 includes layer N 631. That is, OLS3 includes only a single layer. In actual applications, other OLSs may also include only a single layer. Although three OLSs are shown, a different number of OLSs may be used in actual applications. Other layers, such as layer N+4 635, are not included in the illustrated OLSs (eg, OLS1, 2, and 3), but are available for inclusion in other OLSs.
[0102] Each of the different OLSs may include any number of layers. The different OLSs are generated in an effort to accommodate the coding capabilities of a variety of different devices with varying coding capabilities. For example, OLS3, which includes only one layer, may be generated to accommodate a mobile phone with relatively limited coding capabilities. Meanwhile, OLS2, which includes four layers, may be generated to accommodate a large-screen television that can decode higher layers than a mobile phone. OLS1, which includes two layers, may be generated to accommodate a personal computer, laptop computer, or tablet computer that may be able to decode higher layers than a mobile phone but cannot decode the highest layer, such as a large-screen television.
[0103] The layers in Figure 6 may all be independent of each other. That is, each layer may be coded without using inter-layer prediction (ILP). In this case, the layer is referred to as a simulcast layer. One or more of the layers in Figure 6 may be coded using ILP. Whether a layer is a simulcast layer or whether some of the layers are coded using ILP is signaled by a flag in a video parameter set (VPS), which will be described in more detail below. When some layers use ILP, layer dependencies between layers are also signaled in the VPS.
[0104] In one embodiment, when a layer is a simulcast layer, only one layer is selected for decoding and output. In one embodiment, when several layers use ILP, all of the layers (e.g., the entire bitstream) are designated to be decoded, and certain of the layers are designated to be output layers. The one or more output layers may be, for example, 1) only the top layer, 2) all layers, or 3) the top layer plus a set of designated lower layers. For example, when the top layer plus a set of designated lower layers is designated for output by a flag in the VPS, layer N+3 634 (which is the top layer) and layers N 631 and N+1 632 (which are lower layers) from OLS2 are output.
[0105] As shown in Figure 6, each layer may consist of any number of pictures. For example, layer N 631 may include pictures 615-618, layer N+1 632 may include pictures 611-614, layer N+2 633 may include pictures 641-644, layer N+3 634 may include pictures 651-654, and layer N+4 635 may include pictures 661-664.
[0106] Video coding standards such as HEVC, SHVC, MV-HEVC, and VVC specify and signal profiles, tiers, and levels. Profiles, tiers, and levels specify restrictions on a bitstream and, therefore, on the capabilities required to decode the bitstream. Profiles, tiers, and levels may be used to indicate interoperability points between individual decoder implementations. A profile is a defined set of coding tools used to create compliant or conforming bitstreams. Each profile specifies a subset of algorithmic features and restrictions that shall be supported by all decoders conforming to that profile.
[0107] A level is a set of constraints on a bitstream (e.g., maximum luma sample rate, maximum bitrate for a resolution, etc.), i.e., a level is a set of constraints that indicate the required decoder performance to play a bitstream of a specified profile.
[0108] The levels are divided into two tiers: main and upper. The main tier is lower than the upper tier. The tiers are made to handle different applications in terms of their maximum bitrate. The main tier is designed for most applications, and the upper tier is designed for very demanding applications. The set of constraints and / or tiers corresponding to a level may be referred to herein as level information.
[0109] Each level of a tier specifies a set of restrictions on the values that can be taken by syntax elements of a particular standard (e.g., HEVC, VVC). The same set of tier and level definitions is used in all profiles, but individual implementations may support different tiers for each supported profile, and different levels within a tier. For any given profile, the level of a tier generally corresponds to a particular decoder processing load and memory capability.
[0110] Representative examples of levels and tiers for different profiles using the HEVC standard are shown in Table 1 below. [Table 1]
[0111] The profile, tier, and level (PTL) parameters are syntax structures (e.g., the i-th profile_tier_level() syntax structure) that provide the profile, tier, and / or level as noted in the table above. The decoded picture buffer (DPB) parameters are syntax structures (e.g., the i-th dpb_parameters() syntax structure) that provide the DPB size and, optionally, maximum picture reorder number and maximum latency information. The maximum picture reorder number and maximum latency information may be collectively referred to by the acronym MRML. The HRD parameters are syntax structures (e.g., the i-th ols_timing_hrd_parameters() syntax structure) that initialize and / or define the operating conditions of the HRD. Further details and specifications regarding one or more of the PTL parameters, DPB parameters, and HRD parameters are provided below.
[0112] In one embodiment, the maximum picture reorder number is specified as dpb_max_num_reorder_pics[i], which specifies the maximum allowable number of pictures in the OLS that can precede any picture in the OLS in decoding order and follow that picture in output order when Htid is equal to i. The value of dpb_max_num_reorder_pics[i] shall be in the range from 0 to dpb_max_dec_pic_buffering_minus1[i]. When i is greater than 0, dpb_max_num_reorder_pics[i] shall be greater than or equal to dpb_max_num_reorder_pics[i-1]. It is inferred to be equal to dpb_max_num_reorder_pics[MaxSubLayersMinus1] when dpb_max_num_reorder_pics[i] is not present for i in the range from 0 to MaxSubLayersMinus1-1 due to subLayerInfoFlag equal to 0. Htid is a variable that identifies the highest temporal sub-layer to be decoded.
[0113] dpb_max_dec_pic_buffering_minus1[i]+1 specifies the maximum required size of the DPB in units of the picture storage buffer when Htid is equal to i. The value of dpb_max_dec_pic_buffering_minus1[i] shall be in the range from 0 to MaxDpbSize-1, where MaxDpbSize is as specified in subclause A.4.2 of the VVC Standard. When i is greater than 0, dpb_max_dec_pic_buffering_minus1[i] shall 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 from 0 to MaxSubLayersMinus1-1 due to subLayerInfoFlag equal to 0, it is inferred to be equal to dpb_max_dec_pic_buffering_minus1[MaxSubLayersMinus1].
[0114] In one embodiment, the maximum latency information is specified as dpb_max_latency_increase_plus1[i]. A dpb_max_latency_increase_plus1[i] not equal to 0 is used to calculate the value of MaxLatencyPictures[i], which specifies the maximum number of pictures in the OLS that can precede any picture in the OLS in output order and follow that picture in decoding order when Htid is equal to i.
[0115] MaxLatencyPictures[i]=dpb_max_num_reorder_pics[i]+dpb_max_latency_increase_plus1[i]-1 is.
[0116] The DPB syntax structures (also known as DPB parameters) of the OLS described above are included in the VPS of the bitstream. Unfortunately, it is inefficient to signal all of these DPB syntax structures within the VPS when the OLS contains only a single layer (e.g., OLS3 in Figure 6).
[0117] Disclosed herein is a technique for ensuring that decoded picture buffer (DPB) parameters are included in a sequence parameter set (SPS) when an output layer set (OLS) contains only a single layer. Because the SPS contains DPB parameters for an OLS with a single layer, the video parameter set (VPS) may be removed from the bitstream, which reduces redundancy and increases coding efficiency. Therefore, coders / decoders (also known as "codecs") in video coding are improved compared to current codecs. As a practical matter, the improved video coding process provides users with a better user experience when videos are transmitted, received, and / or viewed.
[0118] Figure 7 illustrates one embodiment of a video bitstream 700. As used herein, the video bitstream 700 may also be referred to as a coded video bitstream, a bitstream, or variations thereof. As shown in Figure 7, the bitstream 700 includes a video parameter set (VPS) 704, a sequence parameter set (SPS) 706, a picture parameter set (PPS) 708, a slice header 712, and image data 720. Each of the VPS 704, SPS 706, and PPS 708 may generally be referred to as a parameter set. In one embodiment, other parameter sets and / or headers not shown in Figure 7 may also be included in the bitstream 700.
[0119] The VPS 704 contains decoding dependencies or information for reference picture set construction of the enhancement layer. The VPS 704 provides an overall perspective or view of the scalable sequence, including what kinds of operation points are provided, the profile, tier, and level of the operation points, and several other high-level properties of the bitstream 700 that can be used as the basis for session negotiation, content selection, etc.
[0120] In one embodiment, the VPS 704 includes a list of DPB syntax structures 780 for all OLSs. In one embodiment, each DPB syntax structure in the list of DPB syntax structures 780 is designated dpb_parameters(). The VPS 704 also includes a syntax structure vps_ols_dpb_params_idx[i] 782. The syntax structure vps_ols_dpb_params_idx[i] 782 specifies the index of the DPB syntax structure that applies to the i-th OLS. That is, each index value corresponds to one of the DPB syntax structures in the list. As an example, an index value of 1 in the list corresponds to dpb_parameters() for OLS1, an index value of 2 corresponds to dpb_parameters() for OLS2, and an index value of 3 corresponds to dpb_parameters() for OLS3.
[0121] When present, the value of vps_ols_dpb_params_idx[i] is in the range of 0 to VpsNumDpbParams-1.
[0122] The syntax element vps_num_dpb_params_minus1 781 specifies the number of dpb_parameters() syntax structures in the VPS 704. The value of vps_num_dpb_params_minus1 781 ranges from 0 to one less than the total number of multi-layer OLSs that may be specified as NumMultiLayerOlss.
[0123] The variable VpsNumDpbParams-1 is derived by the video decoder based on the syntax element vps_num_dpb_params_minus1 781 signaled in the bitstream (ie, the variable is not signaled in the bitstream).
[0124] In one embodiment, the variable VpsNumDpbParams-1 is derived as follows: if(vps_each_layer_is_an_ols_flag) VpsNumDpbParams=0 (34) else VpsNumDpbParams=vps_num_dpb_params_minus1+1
[0125] The variable VpsNumDpbParams-1+1 specifies the number of DPB syntax structures in the VPS 704. For example, when the value of VpsNumDpbParams-1 is 2, the number of DPB syntax structures in the VPS 704 is 3 (2+1=3).
[0126] In one embodiment, the VPS 704 includes a DPB present flag 783, which may be designated as vps_sublayer_dpb_params_present_flag, and is used to control the presence of the dpb_max_dec_pic_buffering_minus1[j], dpb_max_num_reorder_pics[j], and dpb_max_latency_increase_plus1[j] syntax elements in the dpb_parameters() syntax structure in the VPS, for j in the range from 0 to vps_dpb_max_tid[i]-1, when vps_dpb_max_tid[i] is greater than 0. When not present, the value of vps_sub_dpb_params_info_present_flag is inferred to be equal to 0.
[0127] The SPS 706 contains data common to all pictures in a Sequence of Pictures (SOP). The SPS 706 is a syntax structure that contains zero or more syntax elements that apply across the CLVs as determined by the content of syntax elements found in the PPS referenced by syntax elements found in each picture header.
[0128] In one embodiment, the dpb_parameters() that apply to the ith OLS 784 reside in the SPS 706 referenced by the layer in the ith OLS when the ith OLS is a single-layer OLS. That is, for a single-layer OLS (e.g., OLS2 in FIG. 6), the applicable dpb_parameters() syntax structures reside in the SPS referenced by the layer in the OLS.
[0129] Based on the foregoing, it will be understood that when an OLS is a single-layer OLS (e.g., the OLS includes only a single layer), the dpb_parameters() applied to the i-th OLS 784 is present in both the SPS 706 and the VPS 704 (i.e., the DPB syntax structure applied to the i-th OLS is one of the DPB syntax structures included in the DPB structure 780). Furthermore, the dpb_parameters() applied to the i-th OLS 784 in the SPS 706 is identical to the dpb_parameters() applied to the i-th OLS 784 in the VPS 704.
[0130] In contrast to the SPS 706, the PPS 708 contains data common to the entire picture. The PPS 708 is a syntax structure comprising syntax elements that apply to zero or more coded pictures. The slice header 712 is part of a coded slice that contains data elements related to all video data within the tile represented by the slice. The slice header 712 contains parameters specific to each slice in the picture. Thus, there may be one slice header 712 per slice in a video sequence. The slice header 712 may include slice type information, a picture order count (POC), a reference picture list (RPL), prediction weights, tile entry points, or deblocking parameters. The slice header 712 may also be referred to as a tile group header and / or a picture header (PH).
[0131] In one embodiment, the VPS 704 and / or SPS 706 include the following SPS syntax and semantics to implement one or more of the embodiments disclosed herein.
[0132] The VPS syntax includes the following: [Table 2A] [Table 2B] [Table 2C]
[0133] The SPS Raw Byte Sequence Payload (RBSP) syntax includes the following: [Table 3A] [Table 3B]
[0134] The DPB syntax includes the following: [Table 4]
[0135] The HRD parameter syntax includes a general HRD parameter syntax, an OLS HRD parameter syntax, and a sub-layer HRD parameter syntax.
[0136] The general HRD parameter syntax includes the following: [Table 5A] [Table 5B]
[0137] The OLS HRD parameter syntax includes the following: [Table 6]
[0138] The sublayer HRD parameter syntax includes the following: [Table 7]
[0139] The VPS semantics are as follows:
[0140] vps_max_layers_minus1+1 specifies the maximum number of layers allowed in each CVS that references the VPS.
[0141] vps_max_sub_layers_minus1+1 specifies the maximum number of temporal sublayers that may exist in each CVS that references a VPS. The value of vps_max_sub_layers_minus1 must be in the range 0 to 6.
[0142] vps_all_layers_same_num_sub_layers_flag equal to 1 specifies that the number of temporal sublayers is the same for all layers in each CVS that references the VPS. vps_all_layers_same_num_sub_layers_flag equal to 0 specifies that layers in each CVS that references the VPS may or may not have the same number of temporal sublayers. When not present, the value of vps_all_layers_same_num_sub_layers_flag is inferred to be equal to 1.
[0143] vps_all_independent_layers_flag equal to 1 specifies that all layers in the CVS are coded independently, without using inter-layer prediction. vps_all_independent_layers_flag equal to 0 specifies that one or more of the layers in the CVS may use inter-layer prediction. When not present, the value of vps_all_independent_layers_flag is inferred to be equal to 1. When vps_all_independent_layers_flag is equal to 1, the value of vps_independent_layer_flag[i] is inferred to be equal to 1. When vps_all_independent_layers_flag is equal to 0, the value of vps_independent_layer_flag[0] is inferred to be equal to 1.
[0144] vps_direct_dependency_flag[i][j] equal to 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] equal to 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] is not present for i and j in the range from 0 to vps_max_layers_minus1, it is inferred to be equal to 0.
[0145] The variable DirectDependentLayerIdx[i][j], which specifies the jth directly dependent layer of the ith layer, and the variable LayerUsedAsRefLayerFlag[j], which specifies whether the layer with layer index j is used as a reference layer by any other layer, are derived as follows: for(i=0; i<=vps_max_layers_minus1; i++) LayerUsedAsRefLayerFlag[j]=0 for(i=1; i <vps_max_layers_minus1; i++) if(!vps_independent_layer_flag[i]) for(j=i-1, k=0; j>=0; j--) if(vps_direct_dependency_flag[i][j]) { DirectDependentLayerIdx[i][k++]=j LayerUsedAsRefLayerFlag[j]=1 }
[0146] The variable GeneralLayerIdx[i], which specifies the layer index of the layer whose nuh_layer_id is equal to vps_layer_id[i], is derived as follows: for(i=0; i<=vps_max_layers_minus1; i++) GeneralLayerIdx[vps_layer_id[i]]=i
[0147] each_layer_is_an_ols_flag equal to 1 specifies that each output layer set contains only one layer, and each layer in the bitstream is itself an output layer set where the single contained layer is the only output layer. each_layer_is_an_ols_flag equal to 0 specifies that the output layer set may contain multiple layers. If vps_max_layers_minus1 is equal to 0, the value of each_layer_is_an_ols_flag is inferred to be equal to 1. Otherwise, when vps_all_independent_layers_flag is equal to 0, the value of each_layer_is_an_ols_flag is inferred to be equal to 0.
[0148] An ols_mode_idc value of 0 specifies that the total number of OLSs specified by the VPS is equal to vps_max_layers_minus1+1, the i-th OLS contains layers with layer indices from 0 to i, and for each OLS, only the top layer in the OLS is output. An ols_mode_idc value of 1 specifies that the total number of OLSs specified by the VPS is equal to vps_max_layers_minus1+1, the i-th OLS contains layers with layer indices from 0 to i, and for each OLS, all layers in the OLS are output. An ols_mode_idc value of 2 specifies that the total number of OLSs specified by the VPS is explicitly signaled, and for each OLS, an explicitly signaled set of the top layer and lower layers in the OLS are output. The value of ols_mode_idc shall be in the range from 0 to 2. The value 3 of ols_mode_idc is reserved for future use by ITU-T / ISO / IEC. When vps_all_independent_layers_flag is equal to 1 and each_layer_is_an_ols_flag is equal to 0, the value of ols_mode_idc is inferred to be equal to 2.
[0149] num_output_layer_sets_minus1+1 specifies the total number of OLSs specified by the VPS when ols_mode_idc is equal to 2.
[0150] The variable TotalNumOlss, which specifies the total number of OLSs specified by the VPS, is derived as follows: 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
[0151] layer_included_flag[i][j] specifies that the jth layer (i.e., the layer with nuh_layer_id equal to vps_layer_id[j]) is included in the ith OLS when ols_mode_idc is equal to 2. layer_included_flag[i][j] equal to 1 specifies that the jth layer is included in the ith OLS. layer_included_flag[i][j] equal to 0 specifies that the jth layer is not included in the ith OLS.
[0152] The variable NumLayersInOls[i], which specifies the number of layers in the ith OLS, and the variable LayerIdInOls[i][j], which specifies the nuh_layer_id value of the jth layer in the ith OLS, are derived as follows: 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 } }
[0153] The variable OlsLayeIdx[i][j], which specifies the OLS layer index of the layer whose nuh_layer_id is equal to LayerIdInOls[i][j], is derived as follows: for(i=0, i <TotalNumOlss; i++) for j=0; j <NumLayersInOls[i]; j++) OlsLayeIdx[i][LayerIdInOls[i][j]]=j
[0154] The lowest layer in each OLS shall be an independent layer, i.e., for each i in the range 0 to TotalNumOlss-1, the value of vps_independent_layer_flag[GeneralLayerIdx[LayerIdInOls[i][0]]] shall be equal to 1.
[0155] Each layer shall be contained within at least one OLS specified by the VPS. In other words, for each layer with a particular value of nuh_layer_id nuhLayerId equal to one of vps_layer_id[k] for k in the range 0 to vps_max_layers_minus1, there shall be at least one pair of values of i and j, where i is in the range 0 to TotalNumOlss-1 and j is in the range NumLayersInOls[i]-1, and the value of LayerIdInOls[i][j] is equal to nuhLayerId.
[0156] Any layer in the OLS may be an output layer of the OLS or a reference layer (direct or indirect) of an output layer of the OLS.
[0157] vps_output_layer_flag[i][j] specifies whether the jth layer in the ith OLS is output when ols_mode_idc is equal to 2. vps_output_layer_flag[i] equal to 1 specifies that the jth layer in the ith OLS is output. vps_output_layer_flag[i] equal to 0 specifies that the jth layer in the ith OLS is not output. The value of vps_output_layer_flag[i] is inferred to be equal to 1 when vps_all_independent_layers_flag is equal to 1 and each_layer_is_an_ols_flag is equal to 0.
[0158] The variable OutputLayerFlag[i][j], where a value of 1 specifies that the jth layer in the ith OLS is output and a value of 0 specifies that the jth layer in the ith OLS is not output, is derived as follows: 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] }
[0159] NOTE - The 0th OLS only includes the lowest layer (i.e., the layer whose nuh_layer_id is equal to vps_layer_id[0]), and for the 0th OLS, only the included layers are output.
[0160] vps_num_ptls specifies the number of profile_tier_level() syntax structures in the VPS.
[0161] A pt_present_flag[i] equal to 1 specifies that profile, tier, and general constraint information is present in the i-th profile_tier_level() syntax structure in the VPS. A pt_present_flag[i] equal to 0 specifies that profile, tier, and general constraint information is not present in the i-th profile_tier_level() syntax structure in the VPS. The value of pt_present_flag[0] is inferred to be equal to 0. When pt_present_flag[i] is equal to 0, the profile, tier, and general constraint information for the i-th profile_tier_level() syntax structure in the VPS is inferred to be the same as that of the (i-1)-th profile_tier_level() syntax structure in the VPS.
[0162] ptl_max_temporal_id[i] specifies the TemporalId of the highest sublayer representation whose level information is present in the i-th profile_tier_level() syntax structure in the VPS. The value of ptl_max_temporal_id[i] shall be in the range from 0 to vps_max_sub_layers_minus1. When vps_max_sub_layers_minus1 is equal to 0, the value of ptl_max_temporal_id[i] is inferred to be equal to 0. When vps_max_sub_layers_minus1 is greater than 0 and vps_all_layers_same_num_sub_layers_flag is equal to 1, the value of ptl_max_temporal_id[i] is inferred to be equal to vps_max_sub_layers_minus1.
[0163] vps_ptl_byte_alignment_zero_bit shall be equal to 0.
[0164] ols_ptl_idx[i] specifies the index into the list of profile_tier_level() syntax structures in the VPS for the profile_tier_level() syntax structure that applies to the ith OLS. When present, the value of ols_ptl_idx[i] shall be in the range from 0 to vps_num_ptls-1.
[0165] The profile_tier_level() syntax structure that applies to the ith OLS when NumLayersInOls[i] is equal to 1 is present in the SPS referenced by the layer in the ith OLS.
[0166] vps_num_dpb_params specifies the number of dpb_parameters() syntax structures in the VPS. The value of vps_num_dpb_params shall be in the range of 0 to 16. When not present, the value of vps_num_dpb_params is inferred to be equal to 0.
[0167] same_dpb_size_output_or_nonoutput_flag equal to 1 specifies that the layer_nonoutput_dpb_params_idx[i] syntax element is not present in the VPS. same_dpb_size_output_or_nonoutput_flag equal to 0 specifies that the layer_nonoutput_dpb_params_idx[i] syntax element may or may not be present in the VPS.
[0168] vps_sub_layer_dpb_params_present_flag is used to control the presence of the max_dec_pic_buffering_minus1[ ], max_num_reorder_pics[ ], and max_latency_increase_plus1[ ] syntax elements in the dpb_parameters() syntax structure in the VPS. When not present, vps_sub_dpb_params_info_present_flag is inferred to be equal to 0.
[0169] 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() syntax structure in the VPS. 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() syntax structure in the VPS.
[0170] dpb_max_temporal_id[i] specifies the TemporalId of the highest sub-layer representation for which a DPB parameter may exist in the i-th dpb_parameters() syntax structure in the VPS. The value of dpb_max_temporal_id[i] shall be in the range from 0 to vps_max_sub_layers_minus1. When vps_max_sub_layers_minus1 is equal to 0, the value of dpb_max_temporal_id[i] is inferred to be equal to 0. When vps_max_sub_layers_minus1 is greater than 0 and vps_all_layers_same_num_sub_layers_flag is equal to 1, the value of dpb_max_temporal_id[i] is inferred to be equal to vps_max_sub_layers_minus1.
[0171] layer_output_dpb_params_idx[i] specifies the index into the list of dpb_parameters() syntax structures in the VPS for the dpb_parameters() syntax structure 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] shall be in the range from 0 to vps_num_dpb_params-1.
[0172] If vps_independent_layer_flag[i] is equal to 1, the dpb_parameters() syntax structure that applies to the i-th layer when it is an output layer is the dpb_parameters() syntax structure that exists in the SPS referenced by the layer.
[0173] Otherwise (vps_independent_layer_flag[i] is equal to 0), the following applies:
[0174] When vps_num_dpb_params is equal to 1, the value of layer_output_dpb_params_idx[i] is inferred to be equal to 0.
[0175] It is a bitstream conformance requirement that the value of layer_output_dpb_params_idx[i] shall be such that dpb_size_only_flag[layer_output_dpb_params_idx[i]] is equal to 0.
[0176] layer_nonoutput_dpb_params_idx[i] specifies an index into the list of dpb_parameters() syntax structures in the VPS for the dpb_parameters() syntax structure 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] shall be in the range from 0 to vps_num_dpb_params-1.
[0177] If same_dpb_size_output_or_nonoutput_flag is equal to 1, the following applies:
[0178] If vps_independent_layer_flag[i] is equal to 1, the dpb_parameters() syntax structure that applies to the i-th layer when it is a non-output layer is the dpb_parameters() syntax structure that exists in the SPS referenced by the layer.
[0179] Otherwise (vps_independent_layer_flag[i] is equal to 0), the value of layer_nonoutput_dpb_params_idx[i] is inferred to be equal to layer_output_dpb_params_idx[i].
[0180] Otherwise (if same_dpb_size_output_or_nonoutput_flag is equal to 0), when vps_num_dpb_params is equal to 1, the value of layer_output_dpb_params_idx[i] is inferred to be equal to 0.
[0181] vps_extension_flag equal to 0 specifies that the vps_extension_data_flag syntax element is not present in the VPS RBSP syntax structure. vps_extension_flag equal to 1 specifies that the vps_extension_data_flag syntax element is present in the VPS RBSP syntax structure.
[0182] vps_extension_data_flag may have any value. Its presence and value do not affect decoder conformance to the profile specified in this version of this specification. Decoders conforming to this version of this specification shall ignore all vps_extension_data_flag syntax elements.
[0183] The SPS RBSP semantics are as follows:
[0184] The SPS RBSP shall be available to the decoding process before being referenced, either contained in at least one access unit with TemporalId equal to 0 or provided through external means, and the SPS NAL unit containing the SPS RBSP shall have a nuh_layer_id equal to the lowest nuh_layer_id value of the PPS NAL units that reference it.
[0185] All SPS NAL units with a particular value of sps_seq_parameter_set_id in a CVS shall have the same content.
[0186] When sps_decoding_parameter_set_id is greater than 0, it specifies the value of dps_decoding_parameter_set_id for the DPS referenced by the SPS. When sps_decoding_parameter_set_id is equal to 0, the SPS does not reference a DPS, and the DPS is not referenced when decoding each CLVS that references the SPS. The value of sps_decoding_parameter_set_id shall be the same for all SPSs referenced by coded pictures in the bitstream.
[0187] When sps_video_parameter_set_id is greater than 0, it specifies the value of vps_video_parameter_set_id for the VPS referenced by the SPS. When sps_video_parameter_set_id is equal to 0, the SPS does not reference a VPS, the VPS is not referenced when decoding each CLVS that references the SPS, the value of GeneralLayerIdx[nuh_layer_id] is inferred to be equal to 0, and the value of vps_independent_layer_flag[GeneralLayerIdx[nuh_layer_id]] is inferred to be equal to 1.
[0188] When vps_independent_layer_flag[GeneralLayerIdx[nuh_layer_id]] is equal to 1, an SPS referenced by a CLVS with a particular nuh_layer_id value nuhLayerId shall have nuh_layer_id equal to nuhLayerId.
[0189] sps_max_sub_layers_minus1+1 specifies the maximum number of temporal sub-layers that may be present in each CLVS that references an SPS. The value of sps_max_sub_layers_minus1 shall be in the range from 0 to vps_max_sub_layers_minus1 inclusive.
[0190] sps_reserved_zero_4bits shall be equal to 0 in bitstreams conforming to this version of this specification. Other values for sps_reserved_zero_4bits are reserved for future use by ITU-T|ISO / IEC.
[0191] sps_ptl_dpb_present_flag equal to 1 specifies that the profile_tier_level() and dpb_parameters() syntax structures are present in the SPS. sps_ptl_dpb_present_flag equal to 0 specifies that neither the profile_tier_level() nor the dpb_parameters() syntax structures are present in the SPS. The value of sps_ptl_dpb_present_flag shall be equal to vps_independent_layer_flag[nuh_layer_id].
[0192] If vps_independent_layer_flag[GeneralLayerIdx[nuh_layer_id]] is equal to 1, the variable MaxDecPicBuffMinus1 is set equal to max_dec_pic_buffering_minus1[sps_max_sub_layers_minus1] in the dpb_parameters() syntax structure in the SPS. Otherwise, MaxDecPicBuffMinus1 is set equal 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 structure in the VPS.
[0193] A gdr_enabled_flag equal to 1 specifies that progressive decoding refresh (GDR) pictures may be present in the CLVS that references the SPS. A gdr_enabled_flag equal to 0 specifies that no GDR pictures are present in the CLVS that references the SPS.
[0194] 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 structure in the SPS. When not present, sps_sub_dpb_params_info_present_flag is inferred to be equal to 0.
[0195] long_term_ref_pics_flag equal to 0 specifies that LTRP is not used for inter prediction of any coded pictures in CLVS. long_term_ref_pics_flag equal to 1 specifies that LTRP may be used for inter prediction of one or more coded pictures in CLVS.
[0196] The general profile, tier, and level semantics are as follows:
[0197] The profile_tier_level() syntax structure provides level information and, optionally, profile, tier, subprofile, and general constraint information (denoted as PT information).
[0198] When the profile_tier_level() syntax structure is included in a DPS, OlsInScope is an OLS that includes all layers in the entire bitstream that references the DPS. When the profile_tier_level() syntax structure is included in a VPS, OlsInScope is one or more OLSs specified by the VPS. When the profile_tier_level() syntax structure is included in an SPS, OlsInScope is an OLS that includes only the lowest layer among the layers that reference the SPS, which shall be independent layers.
[0199] general_profile_idc indicates the profile to which OlsInScope conforms as specified in Annex A of the VVC standard. Bitstreams shall not contain values of general_profile_idc other than those specified in Annex A. Other values of general_profile_idc are reserved for future use by ITU-T|ISO / IEC.
[0200] general_tier_flag specifies the tier context for the interpretation of general_level_idc as specified in Appendix A.
[0201] num_sub_profiles specifies the number of general_sub_profile_idc[i] syntax elements.
[0202] general_sub_profile_idc[i] indicates the ith interoperability metadata registered as specified by Recommendation ITU-T T.35, the content of which is not specified by the VVC standard.
[0203] general_level_idc indicates the level to which OlsInScope conforms as specified in Annex A. Bitstreams shall not contain values of general_level_idc other than those specified in Annex A. Other values of general_level_idc are reserved for future use by ITU-T|ISO / IEC.
[0204] NOTE 1 - A higher value of general_level_idc indicates a higher level. The maximum level signaled in a DPS for an OlsInScope may be higher than the level signaled in an SPS for a CVS contained within the OlsInScope.
[0205] NOTE 2 - When OlsInScope conforms to multiple profiles, general_profile_idc should indicate the profile that provides the preferred decoded result or preferred bitstream identification, as determined by the encoder (in a manner not specified herein).
[0206] NOTE 3 - When the profile_tier_level() syntax structure contained in the DPS and the CVS of OlsInScope conform to different profiles, the general_profile_idc and level_idc should indicate the profile and level of the decoder that can decode the OlsInScope.
[0207] sub_layer_level_present_flag[i] equal to 1 specifies that level information is present in the profile_tier_level() syntax structure for the sub-layer representation with TemporalId equal to i. sub_layer_level_present_flag[i] equal to 0 specifies that level information is not present in the profile_tier_level() syntax structure for the sub-layer representation with TemporalId equal to i.
[0208] ptl_alignment_zero_bits shall be equal to 0.
[0209] The semantics of the syntax element sub_layer_level_idc[i] are the same as the syntax element general_level_idc, apart from specifying the inference of absent values, but it applies to sub-layer expressions with TemporalId equal to i.
[0210] The DPB semantics are as follows:
[0211] The dpb_parameters(maxSubLayersMinus1, subLayerInfoFlag) syntax structure provides information on the DPB size, the maximum number of picture reorders, and the maximum latency for each CLV in the CVS.
[0212] When the dpb_parameters() syntax structure is included in a VPS, the OLS to which the dpb_parameters() syntax structure applies is specified by the VPS. When the dpb_parameters() syntax structure is included in an SPS, it applies to the OLS that includes only the lowest layer among the layers that reference the SPS, which shall be independent layers.
[0213] max_dec_pic_buffering_minus1[i]+1 specifies, for each CLVS in the CVS, the maximum required size of the decoded picture buffer in units of the picture storage buffer when Htid is equal to i. The value of max_dec_pic_buffering_minus1[i] shall be in the range from 0 to MaxDpbSize-1, where MaxDpbSize is as specified elsewhere. When i is greater than 0, max_dec_pic_buffering_minus1[i] shall be greater than or equal to max_dec_pic_buffering_minus1[i-1]. When max_dec_pic_buffering_minus1[i] is not present for i in the range from 0 to maxSubLayersMinus1-1 due to subLayerInfoFlag equal to 0, it is inferred to be equal to max_dec_pic_buffering_minus1[maxSubLayersMinus1].
[0214] max_num_reorder_pics[i] specifies, for each CLVS in the CVS, the maximum allowable number of CLVS pictures that can precede any picture in the CLVS in decoding order and follow it in output order when Htid is equal to i. The value of max_num_reorder_pics[i] shall be in the range from 0 to max_dec_pic_buffering_minus1[i]. When i is greater than 0, max_num_reorder_pics[i] shall 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 from 0 to maxSubLayersMinus1-1 due to subLayerInfoFlag equal to 0, it is inferred to be equal to max_num_reorder_pics[maxSubLayersMinus1].
[0215] max_latency_increase_plus1[i] not equal to 0 is used to calculate the value of MaxLatencyPictures[i], which specifies, for each CLVS in the CVS, the maximum number of pictures in the CLVS that can precede in output order and follow in decoding order any picture in the CLVS when Htid is equal to i.
[0216] When max_latency_increase_plus1[i] is not equal to 0, the value of MaxLatencyPictures[i] is specified as follows: MaxLatencyPictures[i]=max_num_reorder_pics[i]+max_latency_increase_plus1[i]-1
[0217] When max_latency_increase_plus1[i] is equal to 0, the corresponding limit is not expressed.
[0218] The value of max_latency_increase_plus1[i] shall be in the range of 0 to 2-2. When max_latency_increase_plus1[i] is not present for i in the range of 0 to maxSubLayersMinus1-1 due to subLayerInfoFlag equal to 0, it is inferred to be equal to max_latency_increase_plus1[maxSubLayersMinus1].
[0219] HRD parameter semantics include general HRD parameter semantics.
[0220] General HRD parameter semantics are as follows:
[0221] The general_hrd_parameters() syntax structure specifies the HRD parameters used in HRD calculations.
[0222] num_ols_hrd_params_minus1+1 specifies the number of ols_hrd_parameters() syntax structures present in the general_hrd_parameters() syntax structure. The value of num_ols_hrd_params_minus1 shall be in the range of 0 to 63. When TotalNumOlss is greater than 1, the value of num_ols_hrd_params_minus1 is inferred to be equal to 0.
[0223] hrd_cpb_cnt_minus1+1 specifies the number of alternative CPB specifications in the CVS bitstream. The value of hrd_cpb_cnt_minus1 must be in the range of 0 to 31.
[0224] hrd_max_temporal_id[i] specifies the TemporalId of the top-level sublayer representation whose HRD parameters are included in the i-th layer_level_hrd_parameters() syntax structure. The value of hrd_max_temporal_id[i] shall be in the range from 0 to vps_max_sub_layers_minus1. When vps_max_sub_layers_minus1 is equal to 0, the value of hrd_max_temporal_id[i] is inferred to be equal to 0.
[0225] ols_hrd_idx[i] specifies the index of the ols_hrd_parameters() syntax structure that applies to the i-th OLS. The value of ols_hrd_idx[[i] shall be in the range from 0 to num_ols_hrd_params_minus1. When not present, the value of ols_hrd_idx[[i] is inferred to be equal to 0.
[0226] The reference picture list structure semantics are as follows:
[0227] The ref_pic_list_struct(listIdx, rplsIdx) syntax structure may be present in the SPS or in the slice header. Depending on whether the syntax structure is included in the slice header or the SPS, the following applies:
[0228] - If present in a slice header, the ref_pic_list_struct(listIdx, rplsIdx) syntax structure specifies the reference picture list listIdx of the current picture (the picture containing the slice).
[0229] - Otherwise (if present in the SPS), the ref_pic_list_struct(listIdx, rplsIdx) syntax structure specifies candidates for the reference picture list listIdx, and the term "current picture" in the semantics specified in the rest of this section refers to each picture that 1) has one or more slices with ref_pic_list_idx[listIdx] equal to an index into the list of ref_pic_list_struct(listIdx, rplsIdx) syntax structures contained in the SPS, and 2) is in a CVS that references the SPS.
[0230] num_ref_entries[listIdx][rplsIdx] specifies the number of entries in the ref_pic_list_struct(listIdx, rplsIdx) syntax structure. The value of num_ref_entries[listIdx][rplsIdx] shall be in the range of 0 to MaxDecPicBuffMinus1+14.
[0231] The VPS 704, SPS 706, and PPS 708 are contained in different types of network abstraction layer (NAL) units. A NAL unit is a syntax structure that contains an indication of the type of data that follows (e.g., coded video data). NAL units are classified into video coding layer (VCL) NAL units and non-VCL NAL units. VCL NAL units contain data that represent the values of samples in a video picture, while non-VCL NAL units contain any relevant additional information, such as parameter sets (critical data that can apply to multiple VCL NAL units) and additional enhancement information (timing information and other supplementary data that may enhance the usability of the decoded video signal but are not necessary for decoding the values of samples in a video picture).
[0232] In one embodiment, the VPS 704 is included in a non-VCL NAL unit designated as a VPS NAL unit. Thus, the VPS NAL unit has a VPS NUT. In one embodiment, the SPS 706 is a non-VCL NAL unit designated as an SPS NAL unit. Thus, the SPS NAL unit has an SPS NUT. In one embodiment, the PPS 708 is included in a non-VCL NAL unit designated as a PPS NAL unit. Thus, the PPS NAL unit has a PPS NUT.
[0233] The slice header 712 is a syntax structure that contains syntax elements that apply to all slices of a coded picture (e.g., picture 725). In one embodiment, the slice header 712 is in a VCL NAL.
[0234] The image data 720 includes video data encoded according to inter-, intra-, or inter-layer prediction, as well as corresponding transformed and quantized residual data. As shown in FIG. 7, the image data 720 includes one or more optically isolated structures (OLSs) 721. The one or more OLSs 721 are similar to OLS1, OLS2, and OLS3 of FIG. 6. Each OLS 721 includes one or more layers 723. The layers 723 are similar to layers 631-635 of FIG. 6. Each of the layers 723 includes one or more pictures 725. The pictures 725 are similar to pictures 615-618, 611-614, 641-644, 651-654, and 661-664 of FIG. 6.
[0235] Each picture 725 is an array of luma samples in monochrome format, or an array of luma samples and two corresponding arrays of chroma samples in 4:2:0, 4:2:2, and 4:4:4 color formats. The pictures 725 may be either frames or fields. However, in one CVS (e.g., CVS 690), either all pictures 725 are frames or all pictures 725 are fields. The CVS 690 is a coded video sequence for all coded layered video sequences (CLVSs) in the video bitstream 600. In particular, the CVS 690 and the CLVS are the same when the video bitstream 600 contains a single layer. The CVS 690 and the CLVS differ only when the video bitstream 600 contains multiple layers (e.g., as shown in Figures 5 and 6).
[0236] Each picture 725 includes one or more slices 727. A slice 727 is an integer number of complete tiles or an integer number of contiguous complete CTU rows within a tile of a picture (e.g., picture 725). Each slice 727 is contained exclusively within a single NAL unit (e.g., a VCL NAL unit). A tile (not shown) is a rectangular region of CTUs within a particular tile column and a particular tile row within a picture (e.g., picture 725). A CTU (not shown) is a CTB of luma samples, two corresponding CTBs of chroma samples for a picture with a three-sample array, or a CTB of samples for a monochrome picture or a picture coded using three separate color planes and syntax structures used to code the samples. A CTB (not shown) is an N×N block of samples for some value of N such that dividing the components into CTBs is partitioning. A block (not shown) is an M×N (M columns by N rows) array of samples (e.g., pixels) or an M×N array of transform coefficients.
[0237] The picture 725 and its slices 727 contain data associated with the image or video being encoded or decoded. Thus, the picture 725 and its slices 727 may simply be referred to as the payload or data carried in the bitstream 700.
[0238] Those skilled in the art will appreciate that the bitstream 700 may include other parameters and information in practical applications.
[0239] Sub-bitstream 701 may be extracted from bitstream 700 according to sub-bitstream extraction process 703. Sub-bitstream extraction process 703 is a designated mechanism that removes NAL units that are not part of a target set from bitstream 700, resulting in an output sub-bitstream 701 that includes NAL units that are included in the target set. Sub-bitstream extraction process 703 may be performed by an encoder or associated slicer that is configured to dynamically modify bitstream 700 based on user behavior / requests.
[0240] Because SPS 706 includes dpb_parameters() for i-th OLS 784 when the i-th OLS includes only a single layer (e.g., OLS3 in FIG. 6), VPS 704 can be removed in extraction process 703. That is, because the same dpb_parameters() for i-th OLS 784 is also present in SPS 706, sub-bitstream 701 does not need to include VPS 704 in sub-bitstream 701. Thus, the decoder may obtain dpb_parameters() for i-th OLS 784 from SPS 706 when the i-th OLS includes only a single layer.
[0241] FIG. 8 illustrates an embodiment of a decoding method 800 implemented by a video decoder (e.g., video decoder 400). Method 800 may be executed after a bitstream is received directly or indirectly from a video encoder (e.g., video encoder 300). Method 800 improves the decoding process by ensuring that decoded picture buffer (DPB) parameters are included in a sequence parameter set (SPS) when an output layer set (OLS) contains only a single layer. Because the SPS contains DPB parameters for an OLS with a single layer, the video parameter set (VPS) may be removed from the bitstream, which reduces redundancy and increases coding efficiency. Therefore, coders / decoders (also known as "codecs") in video coding are improved compared to current codecs. As a practical matter, the improved video coding process provides a better user experience when video is transmitted, received, and / or viewed.
[0242] In block 802, the video decoder receives a sub-bitstream (e.g., sub-bitstream 701) having a sequence parameter set (e.g., SPS 706) with a decoded picture buffer (DPB) syntax structure (e.g., dpb_parameters() for the i-th OLS 784) for an output layer set (OLS) having only one layer (e.g., OLS3).
[0243] In one embodiment, the DPB syntax structure is designated dpb_parameters(). In one embodiment, the single layer is the i-th layer and the OLS is the i-th OLS. In one embodiment, the DPB syntax structure resides within the i-th profile_tier_level() syntax structure in the SPS. In one embodiment, the sub-bitstream does not include a video parameter set (VPS 704). That is, the VPS is removed as part of the extraction process 703.
[0244] In block 804, the video decoder obtains the DPB syntax structure for the OLS having one layer from the SPS. In one embodiment, the SPS is referenced by only one layer in the OLS.
[0245] In block 806, the video decoder decodes a picture from only one layer (e.g., picture 725) using the DPB syntax structure to obtain a decoded picture. In one embodiment, the decoded picture is stored in a decoded picture buffer (DPB) until or before it is displayed.
[0246] After the pictures are decoded, they may be used to generate or form an image or video sequence for display to a user on a display or screen of an electronic device (e.g., a smartphone, tablet, laptop, personal computer, etc.).
[0247] FIG. 9 is an embodiment of a method 900 for encoding a video bitstream implemented by a video encoder (e.g., video encoder 300). Method 900 may be performed when pictures (e.g., from a video) are encoded into a video bitstream and then transmitted toward a video decoder (e.g., video decoder 400). Method 900 improves the encoding process by ensuring that decoded picture buffer (DPB) parameters are included in a sequence parameter set (SPS) when an output layer set (OLS) contains only a single layer. Because the SPS contains DPB parameters for an OLS with a single layer, the video parameter set (VPS) may be removed from the bitstream, which reduces redundancy and increases coding efficiency. Therefore, coders / decoders (also known as "codecs") in video coding are improved compared to current codecs. As a practical matter, the improved video coding process provides a better user experience when video is transmitted, received, and / or viewed.
[0248] In block 902, the video encoder generates a video parameter set (e.g., VPS 704) and a sequence parameter set (e.g., SPS 706). The VPS includes a list of decoded picture buffer (DPB) syntax structures (e.g., PTL syntax structure 780) for all output layer sets. The SPS includes a DPB syntax structure for each OLS that has only one layer (e.g., dpb_parameters() for the i-th OLS 784). For example, the SPS includes the DPB syntax structure for OLS3 of FIG. 6, as specified in dpb_parameters() for OLS3 of FIG. 7. The SPS does not include a DPB syntax structure for any OLS that has multiple layers. For example, the SPS does not include the DPB syntax structures for OLS1 and OLS2 of FIG. 6, as specified in dpb_parameters() for OLS2 and dpb_parameters() for OLS3 of FIG. 7.
[0249] In one embodiment, the VPS includes an index into the list of PTL syntax structures, where the index is designated vps_ols_dpb_params_idx[i]. In one embodiment, the value of vps_ols_dpb_params_idx[i] ranges from 0 to the total number of DPB syntax structures in the VPS. In one embodiment, the VPS includes vps_num_dpb_params_minus1, where vps_num_dpb_params_minus1+1 specifies the total number of DPB syntax structures.
[0250] At block 904, the video encoder encodes the VPS and SPS into a video bitstream. At block 906, the video encoder stores the video bitstream for communication to a video decoder. In one embodiment, the method 900 further includes extracting a sub-bitstream (e.g., sub-bitstream 701) from the bitstream (e.g., bitstream 700). As described above, the extraction process 703 retains the SPS but removes the VPS. That is, the sub-bitstream includes the SPS from the bitstream but does not include the VPS from the bitstream.
[0251] Like the video bitstream, the sub-bitstreams may be stored in memory for communication to a video decoder. In one embodiment, the video bitstream and / or the sub-bitstreams are transmitted to a video decoder. Once received by the video decoder, the encoded video bitstream and / or the encoded sub-bitstreams may be decoded (e.g., as described above) to generate or form images or video sequences for display to a user on a display or screen of an electronic device (e.g., a smartphone, tablet, laptop, personal computer, etc.).
[0252] Additional and / or supplemental details are provided below.
[0253] The general decoding process is as follows:
[0254] The input to this process is a bitstream BitstreamToDecode. The output of this process is a list of decoded pictures.
[0255] The decoding process is specified such that all decoders that conform to a specified profile and level will produce numerically identical cropped decoded output pictures when invoking the decoding process associated with that profile on a bitstream that conforms to that profile and level. Any decoding process that produces cropped decoded output pictures identical to those produced by the process described herein (with the correct output order or output timing, as specified) conforms to the decoding process requirements of the VVC standard.
[0256] For each IRAP AU in the bitstream, the following applies:
[0257] - The variable NoIncorrectPicOutputFlag is set equal to 1 if the AU is the first AU in decoding order in the bitstream, or the respective picture is an Instantaneous Decoding Refresh (IDR) picture, or the respective picture is the first picture of the layer that follows the end of the sequence NAL unit in decoding order.
[0258] Otherwise, if some external means not specified herein is available to set the variable HandleCraAsCvsStartFlag to a value for the AU, then HandleCraAsCvsStartFlag is set equal to the value provided by the external means, and NoIncorrectPicOutputFlag is set equal to HandleCraAsCvsStartFlag.
[0259] Otherwise, HandleCraAsCvsStartFlag and NoIncorrectPicOutputFlag are both set equal to 0.
[0260] For each GDR AU in the bitstream, the following applies:
[0261] The variable NoIncorrectPicOutputFlag is set equal to 1 if the AU is the first AU in decoding order in the bitstream or if the respective picture is the first picture of the layer following the end of the sequence NAL unit in decoding order.
[0262] Otherwise, if some external means not specified herein is available to set the variable HandleGdrAsCvsStartFlag to a value for the AU, HandleGdrAsCvsStartFlag is set equal to the value provided by the external means, and NoIncorrectPicOutputFlag is set equal to HandleGdrAsCvsStartFlag.
[0263] Otherwise, HandleGdrAsCvsStartFlag and NoIncorrectPicOutputFlag are both set equal to 0.
[0264] NOTE – For both IRAP and GDR pictures, the above operations are necessary to identify the CVS in the bitstream.
[0265] Section 8.1.2 is called repeatedly for each coded picture in BitstreamToDecode in decoding order.
[0266] The decoding process for constructing a reference picture list is as follows.
[0267] This process is invoked at the beginning of the decoding process for each slice of a non-IDR picture.
[0268] Reference pictures are addressed through a reference index, which is an index into a reference picture list. When decoding an I slice, the reference picture list is not used in decoding the slice data. When decoding a P slice, only reference picture list 0 (i.e., RefPicList[0]) is used in decoding the slice data. When decoding a B slice, both reference picture list 0 and reference picture list 1 (i.e., RefPicList[1]) are used in decoding the slice data.
[0269] It is a requirement for bitstream conformance that the following constraints apply:
[0270] - For each i equal to 0 or 1, num_ref_entries[i][RplsIdx[i]] shall not be less than NumRefIdxActive[i].
[0271] - The picture referenced by each active entry in RefPicList[0] or RefPicList[1] shall be present in the DPB and shall have a TemporalId less than or equal to the TemporalId of the current picture.
[0272] - The picture referenced by each entry in RefPicList[0] or RefPicList[1] shall not be the current picture and shall have non_reference_picture_flag equal to 0.
[0273] - A short-term reference picture (STRP) entry in RefPicList[0] or RefPicList[1] of a slice of a picture and an LTRP entry in RefPicList[0] or RefPicList[1] of the same slice or a different slice of the same picture shall not refer to the same picture.
[0274] - There shall be no LTRP entries in RefPicList[0] or RefPicList[1] where the difference between the PicOrderCntVal of the current picture and the PicOrderCntVal of the picture referenced by that entry is 224 or more.
[0275] - Let setOfRefPics be the set of unique pictures referenced by all entries in RefPicList[0] with the same nuh_layer_id as the current picture and all entries in RefPicList[1] with the same nuh_layer_id as the current picture. The number of pictures in setOfRefPics shall be less than or equal to MaxDecPicBuffMinus1, and setOfRefPics shall be the same for all slices of a picture.
[0276] - When the current picture is a Progressive Temporal Sub-layer Access (STSA) picture, there shall be no active entry in RefPicList[0] or RefPicList[1] with TemporalId equal to the TemporalId of the current picture.
[0277] When the current picture is the picture that follows, in decoding order, an STSA picture with a TemporalId equal to the TemporalId of the current picture, there shall be no picture with a TemporalId equal to the TemporalId of the current picture included as an active entry in RefPicList[0] or RefPicList[1] that precedes the STSA picture in decoding order.
[0278] - The pictures referenced by each ILRP entry in RefPicList[0] or RefPicList[1] of a slice of the current picture shall be in the same access unit as the current picture.
[0279] - The picture referenced by each ILRP entry in RefPicList[0] or RefPicList[1] of a slice of the current picture shall be present in the DPB and shall have a nuh_layer_id less than the nuh_layer_id of the current picture.
[0280] - Each ILRP entry in RefPicList[0] or RefPicList[1] of a slice shall be an active entry.
[0281] The HRD general aspects of Section C.1 of the VVC standard include:
[0282] This appendix specifies the Hypothetical Reference Decoder (HRD) and its use for checking the conformance of bitstreams and decoders.
[0283] A set of bitstream conformance tests is required to check the conformance of the entire bitstream, denoted as the entire Bitstream. The set of bitstream conformance tests is to test the conformance of each OP of each OLS specified by the VPS.
[0284] For each test, the following sequence of steps are applied in the order listed, followed by the process described after these steps in this section.
[0285] 1. An operation point to be tested, denoted targetOp, is selected by selecting the target OLS with the OLS index opOlsIdx and the highest TemporalId value opTid. The value of opOlsIdx is in the range 0 to TotalNumOlss-1. The value of opTid is in the range 0 to vps_max_sub_layers_minus1. Each pair of selected values of opOlsIdx and opTid shall be such that the sub-bitstream output by invoking the sub-bitstream extraction process specified in Section C.6 with entireBitstream, opOlsIdx, and opTid as inputs satisfies the following condition:
[0286] - There is at least one VCL NAL unit with nuh_layer_id value equal to nuh_layer_id in LayerIdInOls[opOlsIdx] in BitstreamToDecode.
[0287] - There is at least one VCL NAL unit in BitstreamToDecode whose TemporalId is equal to opTid.
[0288] 2. If the layers in targetOp include all layers in the entireBitstream and opTid is greater than or equal to the highest TemporalId value among all NAL units in the entireBitstream, then BitstreamToDecode is set to be identical to the entireBitstream. Otherwise, BitstreamToDecode is set to be the output by invoking the sub-bitstream extraction process as specified in Section C.6 with the entireBitstream, opOlsIdx, and opTid as input.
[0289] 3. The values of TargetOlsIdx and Htid are set equal to the opOlsIdx and opTid of targetOp, respectively.
[0290] 4. A value for ScIdx is selected. The selected ScIdx shall be in the range of 0 to hrd_cpb_cnt_minus1.
[0291] 5. The access unit in BitstreamToDecode associated with the buffering period SEI message applicable to TargetOlsIdx (present in TargetLayerBitstream or available through external means not specified herein) is selected as the HRD initialization point and is referenced as access unit 0 for each layer of the target OLS.
[0292] 6. The ols_hrd_parameters() and sub_layer_hrd_parameters() syntax structures applicable to BitstreamToDecode are selected as follows:
[0293] The ols_hrd_idx[TargetOlsIdx]th ols_hrd_parameters() syntax structure in the VPS (or provided through external means not specified herein) is selected.
[0294] - Within the selected ols_hrd_parameters() syntax structure, if BitstreamToDecode is a Type I bitstream, the sub_layer_hrd_parameters(Htid) syntax structure that comes immediately after the condition "if(general_vcl_hrd_params_present_flag)" is selected and the variable NalHrdModeFlag is set equal to 0, otherwise (if BitstreamToDecode is a Type II bitstream), the sub_layer_hrd_parameters(Htid) syntax structure that comes immediately after either the condition "if(general_vcl_hrd_params_present_flag)" (in this case the variable NalHrdModeFlag is set equal to 0) or the condition "if(general_nal_hrd_params_present_flag)" (in this case the variable NalHrdModeFlag is set equal to 1) is selected. When BitstreamToDecode is a Type II bitstream and NalHrdModeFlag is equal to 0, all non-VCL NAL units except filler data NAL units, as well as all leading_zero_8bits, zero_byte, start_code_prefix_one_3bytes, and trailing_zero_8bits syntax elements that form the byte stream from the NAL unit stream (as specified in Appendix B), when present, are discarded from BitstreamToDecode, and the remaining bitstream is assigned to BitstreamToDecode.
[0295] 7. When decoding_unit_hrd_params_present_flag is equal to 1, the CPB is scheduled to operate either at the access unit level (in this case the variable DecodingUnitHrdFlag is set equal to 0) or at the decoding unit level (in this case the variable DecodingUnitHrdFlag is set equal to 1). Otherwise, DecodingUnitHrdFlag is set equal to 0 and the CPB is scheduled to operate at the access unit level.
[0296] 8. For each access unit in BitstreamToDecode starting from access unit 0, a buffering period SEI message (present in BitstreamToDecode or available through external means not specified herein) associated with the access unit and applied to TargetOlsIdx is selected, a picture timing period SEI message (present in BitstreamToDecode or available through external means not specified herein) associated with the access unit and applied to TargetOlsIdx is selected, and when DecodingUnitHrdFlag is equal to 1 and decoding_unit_cpb_params_in_pic_timing_sei_flag is equal to 0, a decoding unit information SEI message (present in BitstreamToDecode or available through external means not specified herein) associated with a decoding unit in the access unit and applied to TargetOlsIdx is selected.
[0297] Each conformance test consists of a combination of one option in each of the steps above. When there are multiple options for a step, only one option is selected for any particular conformance test. All possible combinations of all steps form the complete set of conformance tests. For each operation point under test, the number of bitstream conformance tests to be performed is equal to n0*n1*n2*n3, where the values of n0, n1, n2, and n3 are specified as follows:
[0298] - n1 is equal to hrd_cpb_cnt_minus1+1.
[0299] n1 is the number of access units in the BitstreamToDecode associated with the buffering period SEI message.
[0300] - n2 is derived as follows:
[0301] - If BitstreamToDecode is a Type I bitstream, n0 is equal to 1.
[0302] - Otherwise (if BitstreamToDecode is a Type II bitstream), n0 is equal to 2.
[0303] - n3 is derived as follows:
[0304] - If decoding_unit_hrd_params_present_flag is equal to 0, n3 is equal to 1.
[0305] - Otherwise, n3 is equal to 2.
[0306] The HRD includes a bitstream extractor (optionally present), a coded picture buffer (CPB), an instantaneous decoding process, a decoded picture buffer (DPB) that conceptually contains sub-DPBs for each layer, and output cropping.
[0307] For each bitstream conformance test, the CPB size (number of bits) is CpbSize[Htid][ScIdx] as specified in Section 7.4.5.2, where ScIdx and the HRD parameters are specified above in this section, and the DPB parameters max_dec_pic_buffering_minus1[Htid], max_num_reorder_pics[Htid], and MaxLatencyPictures[Htid] for each layer are found in or derived from the dpb_parameters() syntax structure that applies to that layer depending on whether the layer is an independent layer and whether the layer is an output layer of the target OLS.
[0308] HRD works as follows:
[0309] - The HRD is initialized with decoding unit 0, and both the CPB and each sub-DPB of the DPB are set to empty (the sub-DPB fill amount for each sub-DPB is set to be equal to 0).
[0310] NOTE – After initialization, the HRD is not reinitialized by subsequent buffering period SEI messages.
[0311] - Data associated with decoding units flowing into each CPB according to a specified arrival schedule is delivered by a virtual stream scheduler (HSS).
[0312] - The data associated with each decoding unit is removed and instantaneously decoded by the instantaneous decoding process at the CPB removal time of the decoding unit.
[0313] - Each decoded picture is placed in a DPB.
[0314] - A decoded picture is removed from the DPB when it is no longer needed for inter-prediction reference and no longer needed for output.
[0315] The operation of the decoded picture buffer is provided.
[0316] The specifications in this section apply independently to each set of Decoded Picture Buffer (DPB) parameters selected as specified in Section C.1.
[0317] The decoded picture buffer conceptually consists of sub-DPBs, each of which contains a picture storage buffer for storing decoded pictures of one layer. Each of the picture storage buffers may contain decoded pictures marked "used for reference" or retained for future output. The processes specified in Sections C3.2, C3.3, and C3.4 are applied sequentially as specified below, in order of increasing nuh_layer_id values of the layers in the OLS, and applied independently for each layer, starting with the lowest layer in the OLS. When these processes are applied to a particular layer, only the sub-DPB for that particular layer is affected. In the description of these processes, DPB refers to the sub-DPB for that particular layer, and that particular layer is referred to as the current layer.
[0318] NOTE – In the operation of the Output Timing DPB, decoded pictures in the same access unit with PicOutputFlag equal to 1 are output consecutively in ascending order of the nuh_layer_id values of the decoded pictures.
[0319] Let picture n and current picture be the coded or decoded pictures of access unit n for a particular value of nuh_layer_id, where n is a non-negative integer value.
[0320] Removing a picture from the DPB before decoding the current picture is described.
[0321] Removal of a picture from the DPB before decoding of the current picture (but after parsing the slice header of the first slice of the current picture) occurs instantaneously at the CPB removal time of the first decoding unit of access unit n (including the current picture) and proceeds as follows:
[0322] - The decoding process for reference picture list construction as specified in subclause 8.3.2 is invoked, and the decoding process for reference picture marking as specified in subclause 8.3.3 is invoked.
[0323] - When the current AU is a CVSS AU that is not AU 0, the following ordered steps are applied:
[0324] 1. The variable NoOutputOfPriorPicsFlag is derived for the decoder under test as follows:
[0325] - 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 for any picture in the current AU is greater than or equal to the value of pic_width_in_luma_samples, respectively, derived for the preceding picture in the same CLVS. If the value of es, 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] is different, NoOutputOfPriorPicsFlag may (and should not) be set to 1 by the decoder under test, regardless of the value of no_output_of_prior_pics_flag.
[0326] NOTE - Although setting NoOutputOfPriorPicsFlag equal to no_output_of_prior_pics_flag is preferred under these conditions, the decoder under test is permitted to set NoOutputOfPriorPicsFlag to 1 in this case.
[0327] Otherwise, NoOutputOfPriorPicsFlag is set equal to no_output_of_prior_pics_flag.
[0328] 2. The derived value of NoOutputOfPriorPicsFlag for the decoder under test is applied to the HRD so that when the value of NoOutputOfPriorPicsFlag is equal to 1, all picture storage buffers in the DPB are emptied without outputting the pictures they contain, and the DPB fullness is set to 0.
[0329] - All pictures k in the DPB are removed from the DPB when both of the following conditions are true for any picture k in the DPB:
[0330] - Picture k is marked as "unused for reference".
[0331] - Picture k has PictureOutputFlag equal to 0 or its DPB output time is less than or equal to the CPB removal time of the first decoding unit of the current picture n (denoted as decoding unit m), i.e., DpbOutputTime[k] is less than or equal to DuCpbRemovalTime[m].
[0332] - For each picture removed from the DPB, the DPB fullness is decremented by one.
[0333] The operation of the output order DPB will now be described.
[0334] The specifications in this section apply independently to each set of Decoded Picture Buffer (DPB) parameters selected as specified in Section C.1.
[0335] The decoded picture buffer is conceptually composed of sub-DPBs, each containing a picture storage buffer for storing decoded pictures of one layer. Each picture storage buffer contains decoded pictures that are marked as "used for reference" or are retained for future output.
[0336] The process for outputting and removing pictures from the DPB before decoding the current picture as specified in section C.5.2.2 is invoked, followed by the process for marking and storing the current decoded picture as specified in section C.3.4, followed finally by the process for additional bumping as specified in section C.5.2.3. The "bumping" process is specified in section C.5.2.4 and is invoked as specified in sections C.5.2.2 and C.5.2.3.
[0337] These processes are applied independently to each layer in the OLS in order of increasing nuh_layer_id values, starting from the lowest layer. When these processes are applied to a particular layer, only the sub-DPBs for that particular layer are affected.
[0338] NOTE - In the operation of the Output Order DPB, as in the operation of the Output Timing DPB, decoded pictures with PicOutputFlag equal to 1 within the same access unit are also output consecutively in ascending order of the nuh_layer_id values of the decoded pictures.
[0339] Let picture n and current picture be the coded or decoded pictures of access unit n for a particular value of nuh_layer_id, where n is a non-negative integer value.
[0340] Outputting and removing pictures from the DPB is described.
[0341] The output and removal of a picture from the DPB before decoding the current picture (but after parsing the slice header of the first slice of the current picture) occurs the instant the first decoding unit of the access unit containing the current picture is removed from the CPB, and proceeds as follows:
[0342] - The decoding process for reference picture list construction as specified in subclause 8.3.2 is invoked, and the decoding process for reference picture marking as specified in subclause 8.3.3 is invoked.
[0343] - If the current AU is a CVSS AU that is not AU0, then the following ordered steps are applied:
[0344] 1. The variable NoOutputOfPriorPicsFlag is derived for the decoder under test as follows:
[0345] - 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 for any picture in the current AU is greater than or equal to the value of pic_width_in_luma_samples, respectively, derived for the preceding picture in the same CLVS. If the value of es, 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] is different, NoOutputOfPriorPicsFlag may (and should not) be set to 1 by the decoder under test, regardless of the value of no_output_of_prior_pics_flag.
[0346] NOTE - Although setting NoOutputOfPriorPicsFlag equal to no_output_of_prior_pics_flag is preferred under these conditions, the decoder under test is permitted to set NoOutputOfPriorPicsFlag to 1 in this case.
[0347] Otherwise, NoOutputOfPriorPicsFlag is set equal to no_output_of_prior_pics_flag.
[0348] 2. The value of the variable NoOutputOfPriorPicsFlag derived for the decoder under test is applied for HRD as follows:
[0349] - If NoOutputOfPriorPicsFlag is equal to 1, all picture storage buffers in the DPB are emptied without output of the pictures they contain, and the DPB fullness is set to be equal to 0.
[0350] - Otherwise (NoOutputOfPriorPicsFlag is equal to 0), all picture storage buffers containing pictures marked as "not needed for output" and "unused for reference" are emptied (without output), all non-empty picture storage buffers in the DPB are emptied by repeatedly invoking the "bumping" process specified in clause C.5.2.4, and the DPB fill amount is set equal to 0.
[0351] - Otherwise (if the current picture is not a CLVSS picture), all picture storage buffers containing pictures marked "not needed for output" and "unused for reference" are emptied (without output). For each picture storage buffer emptied, the DPB fullness is decremented by 1. When one or more of the following conditions are true, the "bumping" process specified in Section C.5.2.4 is invoked repeatedly, further decrementing the DPB fullness by 1 for each additional picture storage buffer emptied, until none of the following conditions are true:
[0352] The number of pictures in the DPB that are marked as "needed for output" is greater than max_num_reorder_pics[Htid].
[0353] max_latency_increase_plus1[Htid] is not equal to 0 and there is at least one picture in the DPB marked as "needed for output" whose associated variable PicLatencyCount is greater than or equal to MaxLatencyPictures[Htid].
[0354] The number of pictures in the DPB is greater than or equal to max_dec_pic_buffering_minus1[Htid]+1.
[0355] Additional bumping is described.
[0356] The process specified in this section occurs the instant the last decoding unit of access unit n, which contains the current picture, is removed from the CPB.
[0357] When the current picture has PictureOutputFlag equal to 1, for each picture in the DPB that is marked as "needed for output" and follows the current picture in output order, the associated variable PicLatencyCount is set equal to PicLatencyCount+1.
[0358] The following applies:
[0359] If the current decoded picture has PictureOutputFlag equal to 1, it is marked as "needed for output" and its associated variable PicLatencyCount is set equal to 0.
[0360] - Otherwise (current decoded picture has PictureOutputFlag equal to 0), it is marked as "not needed for output".
[0361] When one or more of the following conditions are true, the "bumping" process specified in Section C.5.2.4 is repeatedly invoked until none of the following conditions are true:
[0362] - The number of pictures in the DPB marked as "needed for output" is greater than max_num_reorder_pics[Htid].
[0363] - max_latency_increase_plus1[Htid] is not equal to 0 and there is at least one picture in the DPB marked as "needed for output" whose associated variable PicLatencyCount is greater than or equal to MaxLatencyPictures[Htid].
[0364] A bumping process is described.
[0365] The "bumping" process consists of the following ordered steps:
[0366] The picture or pictures that are first for output are selected as those with the smallest value of PicOrderCntVal of all pictures in the DPB marked "required for output".
[0367] Each of these pictures is cropped using the adaptive cropping window for the picture, in ascending nuh_layer_id order, the cropped picture is output, and the picture is marked as "not needed for output".
[0368] Each picture storage buffer that contains a picture marked as "unused for reference" and that was one of the cropped and output pictures is emptied and the fullness of the associated sub-DPB is decremented by one.
[0369] NOTE - For any two pictures picA and picB that belong to the same CVS and are output by the "bumping process", when picA is output earlier than picB, the value of PicOrderCntVal of picA is less than the value of PicOrderCntVal of picB.
[0370] The sub-bitstream extraction process is described.
[0371] The inputs to this process are the bitstream inBitstream, the target OLS index targetOlsIdx, and the target highest TemporalId value tIdTarget.
[0372] The output of this process is the sub-bitstream outBitstream.
[0373] Taking as input a bitstream, targetOlsIdx equal to an index into the list of OLSs specified in the VPS, and tIdTarget equal to any value in the range 0 to 6, it is a requirement of bitstream conformance with respect to an input bitstream that any output sub-bitstream that is the output of a process specified in this section that satisfies the following conditions is a conforming bitstream:
[0374] - The output sub-bitstream contains at least one VCL NAL unit with nuh_layer_id equal to each of the nuh_layer_id values in LayerIdInOls[targetOlsIdx].
[0375] - The output sub-bitstream contains at least one VCL NAL unit with TemporalId equal to tIdTarget.
[0376] NOTE - A conforming bitstream contains one or more coded slice NAL units with TemporalId equal to 0, but may not contain any coded slice NAL units with nuh_layer_id equal to 0.
[0377] The output sub-bitstream OutBitstream is derived as follows.
[0378] The bitstream outBitstream is set to be identical to the bitstream inBitstream.
[0379] - Remove all NAL units with TemporalId greater than tIdTarget from outBitstream.
[0380] - Remove all NAL units with nuh_layer_id that are not included in the list LayerIdInOls[targetOlsIdx] from outBitstream.
[0381] - Remove from outBitstream all SEI NAL units containing scalable nesting SEI messages with nesting_ols_flag equal to 1, no value of i in the range from 0 to nesting_num_olss_minus1, and NestingOlsIdx[i] equal to targetOlsIdx.
[0382] - Remove all SEI NAL units from outBitstream, including non-scalable nested SEI messages with payloadType equal to 0 (buffering duration), 1 (picture timing), or 130 (decoding unit information), when targetOlsIdx is greater than 0.
[0383] A scalable nesting SEI message syntax is presented.
[0384] [Table 8] General SEI payload semantics are presented.
[0385] On the applicable layer or OLS of a non-scalable nested SEI message, the following applies:
[0386] - For non-scalable nested SEI messages, when payloadType is equal to 0 (buffering duration), 1 (picture timing), or 130 (decoding unit information), the non-scalable nested SEI message applies only to the 0th OLS.
[0387] - For non-scalable nested SEI messages, when payloadType is equal to any value in VclAssociatedSeiList, the non-scalable nested SEI message applies only to the layer with nuh_layer_id equal to the nuh_layer_id of the SEI NAL unit up to which the VCL NAL unit containing the SEI message belongs.
[0388] It is a bitstream conformance requirement that the following restrictions apply to the values of nuh_layer_id in SEI NAL units:
[0389] - When a non-scalable nested SEI message has payloadType equal to 0 (buffering duration), 1 (picture timing), or 130 (decoding unit information), the SEI NAL unit containing the non-scalable nested SEI message shall have nuh_layer_id equal to vps_layer_id[0].
[0390] - When a non-scalable nested SEI message has payloadType equal to any value in VclAssociatedSeiList, the SEI NAL unit containing the non-scalable nested SEI message shall have nuh_layer_id equal to the value of nuh_layer_id of the VCL NAL unit associated with the SEI NAL unit.
[0391] - An SEI NAL unit containing a scalable nesting SEI message shall have nuh_layer_id equal to the lowest value of nuh_layer_id of all layers to which the scalable nesting SEI message applies (when nesting_ols_flag in the scalable nesting SEI message is equal to 0) or the lowest value of nuh_layer_id of all layers in the OLS to which the scalable nesting SEI message applies (when nesting_ols_flag in the scalable nesting SEI message is equal to 1).
[0392] Scalable nesting SEI message semantics are presented.
[0393] Scalable nesting SEI messages provide a mechanism to associate SEI messages with a particular OLS or with a particular layer.
[0394] A scalable nesting SEI message includes one or more SEI messages. An SEI message included in a scalable nesting SEI message is also referred to as a scalable nest SEI message.
[0395] It is a bitstream conformance requirement that the following restrictions apply to the inclusion of SEI messages within a scalable nesting SEI message:
[0396] - SEI messages with payloadType equal to 132 (decoded picture hash) or 133 (scalable nesting) shall not be included in a scalable nesting SEI message.
[0397] - When a scalable nesting SEI message contains a buffering period, picture timing, or decoding unit information SEI message, the scalable nesting SEI message shall not contain any other SEI message with payloadType not equal to 0 (buffering period), 1 (picture timing), or 130 (decoding unit information).
[0398] It is a bitstream conformance requirement that the following restrictions apply to the values of nal_unit_type of SEI NAL units that contain scalable nesting SEI messages:
[0399] - When a scalable nesting SEI message contains an SEI message with payloadType equal to 0 (buffering period), 1 (picture timing), 130 (decoding unit information), 145 (dependent RAP indication), or 168 (frame field information), the SEI NAL unit containing the scalable nesting SEI message shall have nal_unit_type equal to PREFIX_SEI_NUT.
[0400] nesting_ols_flag equal to 1 specifies that the scalable nested SEI message applies to a specific OLS. nesting_ols_flag equal to 0 specifies that the scalable nested SEI message applies to a specific layer.
[0401] It is a bitstream conformance requirement that the following restrictions apply to the value of nesting_ols_flag:
[0402] - The value of nesting_ols_flag shall be equal to 1 when the scalable nesting SEI message contains an SEI message with payloadType equal to 0 (buffering duration), 1 (picture timing), or 130 (decoding unit information).
[0403] - When a scalable nesting SEI message contains an SEI message with payloadType equal to a value in VclAssociatedSeiList, the value of nesting_ols_flag shall be equal to 0.
[0404] nesting_num_olss_minus1+1 specifies the number of OLSs to which the scalable nested SEI message applies. The value of nesting_num_olss_minus1 shall be in the range from 0 to TotalNumOlss-1.
[0405] nesting_ols_idx_delta_minus1[i] is used to derive the variable NestingOlsIdx[i], which specifies the OLS index of the ith OLS to which the scalable nesting SEI message applies when nesting_ols_flag is equal to 1. The value of nesting_ols_idx_delta_minus1[i] shall be in the range from 0 to TotalNumOlss-2.
[0406] The variable NestingOlsIdx[i] is derived as follows: if(i==0) NestingOlsIdx[i]=nesting_ols_idx_delta_minus1[i] else NestingOlsIdx[i]=NestingOlsIdx[i-1]+nesting_ols_idx_delta_minus1[i]+1
[0407] nesting_all_layers_flag equal to 1 specifies that the scalable nested SEI message applies to all layers with nuh_layer_id greater than or equal to the nuh_layer_id of the current SEI NAL unit. nesting_all_layers_flag equal to 0 specifies that the scalable nested SEI message may or may not apply to all layers with nuh_layer_id greater than or equal to the nuh_layer_id of the current SEI NAL unit.
[0408] nesting_num_layers_minus1+1 specifies the number of layers to which the scalable nested SEI message applies. The value of nesting_num_layers_minus1 shall be in the range from 0 to vps_max_layers_minus1-GeneralLayerIdx[nuh_layer_id], where nuh_layer_id is the nuh_layer_id of the current SEI NAL unit.
[0409] nesting_layer_id[i] specifies the nuh_layer_id value of the i-th layer to which the scalable nested SEI message applies when nesting_all_layers_flag is equal to 0. The value of nesting_layer_id[i] shall be greater than nuh_layer_id, where nuh_layer_id is the nuh_layer_id of the current SEI NAL unit.
[0410] The variable NestingNumLayers, which specifies the number of layers to which the scalable nested SEI message applies when nesting_ols_flag is equal to 0, and the list NestingLayerId[i], for i in the range 0 to NestingNumLayers-1, which specifies the list of layer nuh_layer_id values to which the scalable nested SEI message applies, are derived as follows, where nuh_layer_id is the nuh_layer_id of the current SEI NAL unit: if(nesting_all_layers_flag) { NestingNumLayers= ps_max_layers_minus1+1-GeneralLayerIdx[nuh_layer_id] for(i=0; i <NestingNumLayers; i++) NestingLayerId[i]=vps_layer_id[GeneralLayerIdx[nuh_layer_id]+i] } else { NestingNumLayers=nesting_num_layers_minus1+1 for(i=0; i <NestingNumLayers; i++) NestingLayerId[i]=(i==0) ? nuh_layer_id: nesting_layer_id[i] }
[0411] nesting_num_seis_minus1+1 specifies the number of scalable nested SEI messages. The value of nesting_num_seis_minus1 shall be in the range of 0 to 63.
[0412] nesting_zero_bit shall be equal to 0.
[0413] 10 is a schematic diagram of a video coding device 1000 (e.g., video encoder 300 or video decoder 400) according to one embodiment of the present disclosure. The video coding device 1000 is suitable for implementing the disclosed embodiments as described herein. The video coding device 1000 comprises a receive port 1010 and a receiver unit (Rx) 1020 for receiving data, a processor, logic unit, or central processing unit (CPU) 1030 for processing data, a transmitter unit (Tx) 1040 and a transmit port 1050 for transmitting data, and a memory 1060 for storing data. The video coding device 1000 may also comprise optical-electrical (OE) and electrical-optical (EO) components coupled to the receive port 1010, the receiver unit 1020, the transmitter unit 1040, and the transmit port 1050 for transmitting or receiving optical or electrical signals.
[0414] The processor 1030 is implemented by hardware and software. The processor 1030 may be implemented as one or more CPU chips, 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 1030 communicates with the receive port 1010, the receiver unit 1020, the transmitter unit 1040, the transmit port 1050, and the memory 1060. The processor 1030 includes a coding module 1070. The coding module 1070 implements the disclosed embodiments described above. For example, the coding module 1070 implements, processes, prepares, or provides various codec functions. Thus, the inclusion of the coding module 1070 substantially improves the functionality of the video coding device 1000 and transforms the video coding device 1000 into different states. Alternatively, the coding module 1070 is implemented as instructions stored in the memory 1060 and executed by the processor 1030 .
[0415] Video coding device 1000 may also include input and / or output (I / O) devices 1080 for communicating data to and receiving data from a user. I / O devices 1080 may include output devices such as a display for displaying video data, speakers for outputting audio data, etc. I / O devices 1080 may also include input devices such as a keyboard, mouse, trackball, etc., and / or corresponding interfaces for interactively manipulating such output devices.
[0416] Memory 1060 may include one or more disks, tape drives, and solid state drives, and may be used as overflow data storage devices to store programs when such programs are selected for execution and to store instructions and data read during the execution of the programs. Memory 1060 may 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).
[0417] 11 is a schematic diagram of one embodiment of a means for coding 1100. In one embodiment, the means for coding 1100 is implemented in a video coding device 1102 (e.g., video encoder 300 or video decoder 400). The video coding device 1102 includes a means for receiving 1101. The means for receiving 1101 is configured to receive pictures to encode or receive a bitstream to decode. The video coding device 1102 includes a means for transmitting 1107 coupled to the means for receiving 1101. The means for transmitting 1107 is configured to transmit the bitstream to a decoder or transmit the decoded images to a display means (e.g., one of I / O devices 1080).
[0418] The video coding device 1102 includes a storage means 1103. The storage means 1103 is coupled to at least one of the receiving means 1101 or the transmitting means 1107. The storage means 1103 is configured to store instructions. The video coding device 1102 also includes a processing means 1105. The processing means 1105 is coupled to the storage means 1103. The processing means 1105 is configured to execute the instructions stored in the storage means 1103 to perform the methods disclosed herein.
[0419] It should also be understood that the steps of the exemplary methods described herein do not necessarily have to be performed in the order described, and the order of the steps of such methods should be understood to be merely exemplary. Similarly, additional steps may be included in such methods, and certain steps may be omitted or combined, in methods consistent with various embodiments of the present disclosure.
[0420] While several embodiments are provided in this disclosure, it should be understood that the disclosed systems and methods may be embodied in many other specific forms without departing from the spirit or scope of the disclosure. The examples should be considered illustrative and not restrictive, and the invention should not be limited to the details set forth in the specification. For example, various elements or components may be combined or integrated in another system, or certain features may be omitted or not implemented.
[0421] Additionally, techniques, systems, subsystems, and methods described and illustrated in various embodiments as being discrete or separate may be combined or integrated with other systems, modules, techniques, or methods without departing from the scope of the present disclosure. Other items shown or described as being coupled or directly coupled or in communication with each other may be indirectly coupled or in communication through some interface, device, or intermediate component, whether electrical, mechanical, or otherwise. Other examples of changes, substitutions, and alterations will be ascertainable by those skilled in the art and could be made without departing from the spirit and scope disclosed herein. [Explanation of symbols]
[0422] 1 OLS 2. OLS 3. OLS 100 How it works 200 Coding and Decoding (Codec) Systems 201 Segmented Video Signal 211 General Coder Control Component 213 Transform Scaling and Quantization Components 215 In-Picture Estimation Component 217 Intra-Picture Prediction Component 219 Motion Compensation Component 221 Motion Estimation Component 223 Decoded Picture Buffer Component 225 In-Loop Filter Components 227 Filter Control Analysis Component 229 Scaling and Inverse Transformation Components 231 Header Formatting and Context-Adaptive Binary Arithmetic Coding (CABAC) Components 300 Video Encoder 301 Segmented Video Signal 313 Transform and Quantize Components 317 Intra-Picture Prediction Component 321 Motion Compensation Component 323 Decoded Picture Buffer Component 325 In-Loop Filter Components 329 Inverse Transform and Quantization Components 331 Entropy Coding Component 400 Video Decoder 417 Intra-Picture Prediction Component 421 Motion Compensation Component 423 Decoded Picture Buffer Component 425 In-Loop Filter Components 429 Inverse Transform and Quantization Components 433 Entropy Decoding Component 500 Layer-based Prediction 506 AU 508 AUD 511, 512, 513, 514 Pictures 515, 516, 517, 518 Pictures 521 Inter-layer prediction 523 Inter Prediction 531 Layer N 532 Layer N+1 600 Layer-based Prediction 611~614 Pictures 615~618 Pictures 631 Layer N 632 Layer N+1 633 Layer N+2 634 Layer N+3 635 Layer N+4 641~644 Pictures 651~654 Pictures 661~664 Pictures 690 Coded Video Sequence (CVS) 700 Video Bitstream 701 sub-bitstream 703 Sub-Bitstream Extraction Process 704 Video Parameter Set (VPS) 706 Sequence Parameter Set (SPS) 708 Picture Parameter Set (PPS) 712 slice header 720 image data 721 OLS 723 Layer 725 Pictures 727 slices 780 DPB Syntax Structure 781 Syntax Structure vps_num_dpb_params_minus1 782 Syntax structure vps_ols_dpb_params_idx[i] 783 Profile Tier (PT) Presence Flag 784 OLS 800 ways 900 ways 1000 Video Coding Devices 1010 inbound port 1020 Receiver Unit (Rx) 1030 Processor, Logic Unit, or Central Processing Unit (CPU) 1040 Transmitter Unit (Tx) 1050 outbound port 1060 memory 1070 Coding Module 1080 input and / or output (I / O) devices 1100 Coding Tools 1101 Receiving means 1102 Video Coding Device 1103 Memory means 1105 Processing means 1107 Means of transmission
Claims
1. 1. A method of decoding implemented by a video decoder, comprising: receiving, by the video decoder, a sub-bitstream having a sequence parameter set (SPS) comprising a decoded picture buffer (DPB) syntax structure for an output layer set (OLS) having only one layer; obtaining, by the video decoder, the DPB syntax structure for the OLS having the one layer from the SPS; and decoding, by the video decoder, pictures from the only one layer using the DPB syntax structure to obtain decoded pictures.
2. The method of claim 1 , wherein the DPB syntax structure is designated as dpb_parameters().
3. The method of claim 1 or 2, wherein the single layer is the i-th layer and the OLS is the i-th OLS.
4. The method of claim 1 , wherein the DPB syntax structure is present in the i-th dpb_parameters() syntax structure in the SPS.
5. The method according to any one of claims 1 to 4, wherein the sub-bitstream does not include a video parameter set (VPS).
6. 6. The method of claim 1, further comprising storing the decoded picture in a DPB before it is displayed.
7. The method of claim 1 , wherein the SPS is referenced by the only one layer in the OLS.
8. The method of claim 1 , further comprising the step of displaying the decoded picture on a display of an electronic device.
9. 1. A method of encoding implemented by a video encoder, comprising: generating, by the video encoder, a video parameter set (VPS) and a sequence parameter set (SPS), the VPS including a list of decoded picture buffer (DPB) syntax structures for all output layer sets (OLSs), and the SPS including the DPB syntax structure for each OLS having only one layer; encoding, by the video encoder, the VPS and the SPS into a video bitstream; storing, by the video encoder, the video bitstream for communication to a video decoder.
10. 10. The method of claim 9, wherein the VPS includes an index into the list of DPB syntax structures, the index designated as vps_ols_dpb_params_idx[i].
11. 11. The method of claim 9 or 10, wherein the value of vps_ols_dpb_params_idx[i] is in the range from 0 to the total number of DPB syntax structures in the VPS.
12. 12. The method of claim 10 or 11, wherein the VPS includes vps_num_dpb_params_minus1, and vps_num_dpb_params_minus1+1 specifies the total number of the DPB syntax structures in the VPS.
13. 13. The method of claim 10, further comprising the step of extracting a sub-bitstream from the bitstream, the sub-bitstream including the SPS from the bitstream but not the VPS from the bitstream.
14. 14. The method of claim 10, further comprising transmitting the sub-bitstream to a video decoder.
15. a receiver configured to receive a sub-bitstream having a sequence parameter set (SPS) comprising a decoded picture buffer (DPB) syntax structure for an output layer set (OLS) having only one layer; a processor coupled to the memory, the processor causing the decoding device to: setting the number of layers in the OLS to be equal to 1 based on the OLS having only one layer; obtaining the DPB syntax structure for the OLS having one layer from the SPS when the number of layers in the OLS is set equal to 1; and decoding a picture from the only one layer using the DPB syntax structure to obtain a decoded picture.
16. 16. The decoding device of claim 15, wherein the DPB syntax structure is specified as dpb_parameters(), the single layer is the i-th layer, and the OLS is the i-th OLS.
17. 17. A decoding device according to claim 15 or 16, wherein the DPB syntax structure is present within the i-th dpb_parameters() syntax structure within the SPS.
18. 18. The decoding device according to claim 15, wherein the sub-bitstream does not include a video parameter set (VPS).
19. 19. The decoding device according to claim 15, wherein the SPS is referenced by the only one layer in the OLS.
20. 20. The decoding device of claim 15, further comprising a display configured to display the decoded picture.
21. 1. An encoding device, comprising: a memory containing instructions; a processor coupled to the memory, the processor configuring the encoding device to: generating a video parameter set (VPS) and a sequence parameter set (SPS), the VPS including a list of decoded picture buffer (DPB) syntax structures for all output layer sets (OLSs), and the SPS including the DPB syntax structure for each OLS having only one layer; encoding the VPS and the SPS into a video bitstream; and a transmitter coupled to the processor, the transmitter configured to transmit the video bitstream to a video decoder.
22. 22. The encoding device of claim 21, wherein the VPS includes an index into the list of DPB syntax structures, the index designated as vps_ols_dpb_params_idx[i].
23. 23. The encoding device of claim 21 or 22, wherein the value of vps_ols_dpb_params_idx[i] is in the range from 0 to the total number of the DPB syntax structures in the VPS.
24. 26. The encoding device of claim 23, wherein the VPS includes vps_num_dpb_params_minus1, and vps_num_dpb_params_minus1+1 specifies the total number of the DPB syntax structures in the VPS.
25. a receiver configured to receive pictures to encode or to receive a bitstream to decode; a transmitter coupled to the receiver, the transmitter configured to transmit the bitstream to a decoder or to transmit decoded images to a display; a memory coupled to at least one of the receiver or the transmitter, the memory configured to store instructions; a processor coupled to the memory, the processor configured to execute the instructions stored in the memory to perform the method of any one of claims 1 to 8 and any one of claims 9 to 14.
26. 26. The coding apparatus of claim 25, further comprising a display configured to display the decoded picture.
27. An encoder; 27. A system comprising an encoder and a decoder in communication with said encoder, wherein said encoder or said decoder comprises a decoding device, encoding device or coding apparatus according to any one of claims 15 to 26.
28. A means for coding, comprising: receiving means configured to receive pictures to encode or to receive a bitstream to decode; transmission means coupled to said receiving means, said transmission means being configured to transmit said bitstream to decoding means or to transmit decoded images to display means; a storage means coupled to at least one of said receiving means or said transmitting means, said storage means configured to store instructions; and processing means coupled to said storage means, said processing means being configured to execute the instructions stored in said storage means to perform the method of any one of claims 1 to 8 and any one of claims 9 to 14.