Picture Header Signaling in Video Coding
By ensuring each picture unit in video coding has a single picture header, the method addresses the challenge of determining picture starting points in multi-layer bitstreams, improving codec performance and user experience.
Patent Information
- Application Number
- JP2022518814
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-09-24
- Filing Date
- 2020-08-05
- Publication Date
- 2026-01-27
- Estimated Expiration
- 2040-08-05
AI Technical Summary
Existing video coding technologies face challenges in accurately determining picture starting points in multi-layer bitstreams, leading to coding errors and suboptimal user experiences, especially in environments with limited network resources.
Implementing a video coding method that ensures each picture unit (PU) has a single picture header, allowing for accurate determination of picture and access unit starting points even in multi-layer bitstreams, thereby improving codec performance and user experience.
This approach enhances video coding by reducing coding errors and providing a better user experience during transmission, reception, and viewing of videos, especially in bandwidth-constrained environments.
Smart Images

Figure 0007806383000040 
Figure 0007806383000041 
Figure 0007806383000042
Abstract
Description
[Technical Field]
[0001] This application claims the benefit of U.S. Provisional Patent Application No. 62 / 905,150, filed September 24, 2019, by Fnu Hendry et al., entitled "Signalling of Picture Header in Video Coding," which is incorporated herein by reference.
[0002] Generally, this disclosure describes techniques for determining picture starting points in video coding. More specifically, this disclosure ensures that picture starting points can be accurately determined in multi-layer bitstreams in video coding. [Background technology]
[0003] The amount of video data required to render even a relatively short video can be substantial. This can pose challenges when data is streamed or otherwise communicated across communications networks with limited bandwidth capabilities. Therefore, video data is typically compressed before being communicated across today's telecommunications networks. When video is stored on storage devices, video size can also be an issue because memory resources may be limited. Video compression devices often use software and / or hardware to code video data at the source 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 decompressor device, which decodes the video data. With limited network resources and ever-increasing demands for higher video quality, improved compression and decompression techniques that increase compression ratios with little or no sacrifice in image quality are desirable. Summary of the Invention
[0004] A first aspect relates to a method of decoding implemented by a video decoder, said method comprising: The video decoder performs only one coding was receiving a picture unit (PU) containing a picture; the only one coding by the video decoder was decoding a picture from the PU to obtain a decoded picture; Includes.
[0005] The method provides a technique for ensuring that a PU has one and only one picture. When each picture is associated with one, and possibly only one, picture header within the PU, the start point of each picture and the start point of an AU can be determined based on the picture header, even when a multi-layer bitstream is used. By configuring the PU to have a single picture header and a single picture, a multi-layer bitstream can be used in video coding without causing coding errors. Therefore, the coder / decoder (also known as a "codec") in video coding is improved over current codecs. In practical terms, the improved video coding process provides users with a better user experience when videos are transmitted, received, and / or viewed.
[0006] Optionally, in any of the aforementioned aspects, another implementation of the aspect is such that the PU includes one Picture Header (PH) Network Abstraction Layer (NAL) unit, and the one PH NAL unit is the only coding was Another implementation of the picture header is provided.
[0007] Optionally, in any of the above aspects, another implementation of this aspect provides that the PU includes one or more video coding layer (VCL) NAL units.
[0008] Optionally, in any of the above aspects, another implementation of this aspect provides that the PU includes one or more non-video coding layer (VCL) NAL units.
[0009] Optionally, in any of the above aspects, another implementation of this aspect is was The present invention provides that a picture includes one or more slices, each slice including a slice header, and each of the one or more slices is disposed within a video coding layer (VCL) NAL unit.
[0010] Optionally, in any of the above aspects, another implementation of this aspect provides that the PU includes decoding capability information (DCI) disposed in a DCI NAL unit.
[0011] Optionally, in any of the above aspects, another implementation of this aspect provides that the PU includes a video parameter set (VPS) disposed in a VPS NAL unit.
[0012] Optionally, in any of the above-described aspects, another implementation of this aspect provides that the PU includes a sequence parameter set (SPS) arranged in an SPS NAL unit and a picture parameter set (PPS) arranged in a PPS NAL unit.
[0013] Optionally, in any of the above aspects, another implementation of this aspect provides displaying the decoded picture on a display of an electronic device.
[0014] A second aspect relates to a method of encoding implemented by a video encoder, said method comprising: The video encoder performs only one coding was generating a picture unit (PU) containing a picture; encoding, by the video encoder, the PU into a video bitstream; storing the video bitstream for communication by the video encoder to a video decoder; Includes.
[0015] The method provides a technique for ensuring that a PU has one and only one picture. When each picture is associated with one, and possibly only one, picture header within the PU, the start point of each picture and the start point of an AU can be determined based on the picture header, even when a multi-layer bitstream is used. By configuring the PU to have a single picture header and a single picture, a multi-layer bitstream can be used in video coding without causing coding errors. Therefore, the coder / decoder (also known as a "codec") in video coding is improved over current codecs. In practical terms, the improved video coding process provides users with a better user experience when videos are transmitted, received, and / or viewed.
[0016] Optionally, in any of the aforementioned aspects, another implementation of the aspect is such that the PU includes one Picture Header (PH) Network Abstraction Layer (NAL) unit, and the one PH NAL unit is the only coding was Another implementation of the picture header is provided.
[0017] Optionally, in any of the above-described aspects, another implementation of this aspect provides that the PU includes one or more video coding layer (VCL) NAL units and one or more non-video coding layer (VCL) NAL units.
[0018] Optionally, in any of the above aspects, another implementation of this aspect is wasThe present invention provides that a picture includes one or more slices, each slice including a slice header, and each of the one or more slices is disposed within a video coding layer (VCL) NAL unit.
[0019] A third aspect relates to a decoding device, Only one coding was a receiver configured to receive a picture unit (PU) containing a picture; a memory coupled to the receiver, the memory storing instructions; and a processor coupled to the memory, the processor executing the instructions to cause the decoding device to decode the only one coded picture from the PU to obtain a decoded picture; Includes.
[0020] The decoding device provides a technique to ensure that a PU has one and only one picture. When each picture is associated with one, and possibly only one, picture header in the PU, the start point of each picture and the start point of an AU can be determined based on the picture header, even when a multi-layer bitstream is used. By configuring the PU to have a single picture header and a single picture, a multi-layer bitstream can be used in video coding without causing coding errors. Therefore, the coder / decoder (also known as a "codec") in video coding is improved over current codecs. In practice, 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 of the aspect is such that the PU includes one Picture Header (PH) Network Abstraction Layer (NAL) unit, and the one PH NAL unit is the only coding was Another implementation of the picture header is provided.
[0022] Optionally, in any of the above-described aspects, another implementation of this aspect provides that the PU includes one or more video coding layer (VCL) NAL units and one or more non-video coding layer (VCL) NAL units.
[0023] Optionally, in any of the above aspects, another implementation of this aspect is was The present invention provides that a picture includes one or more slices, each slice including a slice header, and each of the one or more slices is disposed within a video coding layer (VCL) NAL unit.
[0024] A fourth aspect relates to an encoding device, comprising: a memory containing instructions; a processor coupled to the memory, the processor executing the instructions to cause the encoding device to: Only one coding was generating a picture unit (PU) containing the picture; a processor that encodes the PUs into a video bitstream; a transmitter coupled to the processor, the transmitter configured to transmit the video bitstream to a video decoder; Includes.
[0025] The encoding device provides a technique to ensure that a PU has one and only one picture. When each picture is associated with one, and possibly only one, picture header in the PU, the start point of each picture and the start point of an AU can be determined based on the picture header, even when a multi-layer bitstream is used. By configuring the PU to have a single picture header and a single picture, a multi-layer bitstream can be used in video coding without causing coding errors. Therefore, the coder / decoder (also known as a "codec") in video coding is improved over current codecs. In practical terms, the improved video coding process provides users with a better user experience when videos are transmitted, received, and / or viewed.
[0026] Optionally, in any of the aforementioned aspects, another implementation of the aspect is such that the PU includes one Picture Header (PH) Network Abstraction Layer (NAL) unit, and the one PH NAL unit is the only coding was Another implementation of the picture header is provided.
[0027] Optionally, in any of the aforementioned aspects, another implementation of the aspect is where the PU includes one or more video coding layer (VCL) NAL units and one or more non-video coding layer (VCL) NAL units, and was A picture includes one or more slices, each slice including a slice header, and each of the one or more slices is disposed within one of the one or more VCL NAL units.
[0028] A fifth aspect relates to a coding device, the coding device comprising: a receiver configured to receive and encode a picture or receive and decode a bitstream; a transmitter coupled to the receiver, the transmitter configured to transmit the bitstream to a decoder or to transmit a decoded image to a display; a memory coupled to at least one of the receiver or the transmitter, the memory configured to store instructions; and a processor coupled to the memory, the processor configured to execute the instructions stored in the memory in order to perform a method according to any one of claims 1 to 9 and any one of claims 10 to 13; Includes.
[0029] Optionally, in any of the above aspects, another implementation of this aspect provides a display configured to display the decoded picture.
[0030] The coding device provides a technique to ensure that a PU has one and only one picture. When each picture is associated with one, and possibly only one, picture header in the PU, the start point of each picture and the start point of an AU can be determined based on the picture header, even when a multi-layer bitstream is used. By configuring the PU to have a single picture header and a single picture, a multi-layer bitstream can be used in video coding without causing coding errors. Therefore, the coder / decoder (also known as a "codec") in video coding is improved over current codecs. In practical terms, the improved video coding process provides users with a better user experience when videos are transmitted, received, and / or viewed.
[0031] A sixth aspect relates to a system, said system comprising: An encoder; a decoder in communication with the encoder, the encoder or decoder comprising a decoding device, an encoding device, or a coding apparatus as disclosed herein; Includes.
[0032] The system provides a technique to ensure that a PU has one and only one picture. When each picture is associated with one, and possibly only one, picture header within the PU, the start point of each picture and the start point of an AU can be determined based on the picture header, even when a multi-layer bitstream is used. By configuring the PU to have a single picture header and a single picture, a multi-layer bitstream can be used in video coding without causing coding errors. Therefore, the coder / decoder (also known as a "codec") in video coding is improved over current codecs. In practical terms, the improved video coding process provides users with a better user experience when videos are transmitted, received, and / or viewed.
[0033] A seventh aspect relates to a coding means, the coding means comprising: receiving means configured to receive and encode a picture or to receive and decode a bitstream; transmitting means coupled to said receiving means, said transmitting means configured to transmit said bitstream to decoding means or to transmit a decoded image to display means; a storage means coupled to at least one of the receiving means or the transmitting means, the storage means configured to store instructions; processing means coupled to said storage means, said processing means configured to execute the instructions stored on said storage means in order to perform any of the methods described herein; Includes.
[0034] The coding means provides a technique for ensuring that a PU has one and only one picture. When each picture is associated with one, and possibly only one, picture header in the PU, the start point of each picture and the start point of an AU can be determined based on the picture header, even when a multi-layer bitstream is used. By configuring the PU to have a single picture header and a single picture, a multi-layer bitstream can be used in video coding without causing coding errors. Therefore, the coder / decoder (also known as a "codec") in video coding is improved over current codecs. In practical terms, the improved video coding process provides users with a better user experience when videos are transmitted, received, and / or viewed.
[0035] For purposes of clarity, any one of the above-described embodiments may be combined with any one or more of the other above-described embodiments to create new embodiments that are within the scope of the present disclosure.
[0036] The above and other features will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings and claims. [Brief explanation of the drawings]
[0037] 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, wherein like reference numerals represent like parts.
[0038] [Figure 1] 1 is a flowchart of an exemplary method for coding a video signal.
[0039] [Figure 2] 1 is a schematic diagram of an example coding and decoding (codec) system for video coding.
[0040] [Figure 3] FIG. 1 is a schematic diagram illustrating an exemplary video encoder.
[0041] [Figure 4] FIG. 1 is a schematic diagram illustrating an exemplary video decoder.
[0042] [Figure 5] 1 shows an example of multi-layer coding for spatial scalability.
[0043] [Figure 6] 1 illustrates a video bitstream configured to implement a gradual decoding refresh (GDR) technique.
[0044] [Figure 7] FIG. 1 is a schematic diagram illustrating undesirable motion search when using encoder constraints to support GDR.
[0045] [Figure 8] 1 illustrates an embodiment of a video bitstream.
[0046] [Figure 9] 1 is an embodiment of a method for decoding a coded video bitstream.
[0047] [Figure 10] 1 is an embodiment of a method for coding a video bitstream.
[0048] [Figure 11] 1 is a schematic diagram of a video encoding device;
[0049] [Figure 12] FIG. 2 is a schematic diagram of an embodiment of a means for coding; DETAILED DESCRIPTION OF THE INVENTION
[0050] It should be understood at the outset that, although illustrative implementations of one or more embodiments are provided below, the disclosed systems and / or methods may be implemented using any number of technologies, whether currently known or existing. The present disclosure should in no way be limited to the illustrative implementations, drawings, and technologies described below, including the exemplary designs and implementations shown and described herein, but may be modified within the scope of the appended claims, along with their full range of equivalents.
[0051] The following terms are defined as follows, unless used in a contradictory context herein. In particular, the following definitions are intended to provide further clarity to the present disclosure. However, terms may be described differently in different contexts. Therefore, the following definitions should be considered as supplemental and not as limiting of any other definitions provided for such terms herein.
[0052] A bitstream is a sequence of bits containing video data to be compressed for transmission between an encoder and a decoder. An encoder is a device configured to use an encoding process to compress video data into a bitstream. A decoder is a device configured to use a decoding process to reconstruct video data from the bitstream for display. A picture is an array of chroma samples and / or luma samples that generate a frame or a field thereof. For clarity of discussion, the picture being coded or decoded may be referred to as the current picture. A reference picture is a picture that contains 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 use two reference picture lists, which may 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. Inter-prediction is a mechanism for coding samples of a current picture by reference to indicated samples in a reference picture different from the current picture, where 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. A slice header is a coding structure that contains data elements related to all the video data in the tiles represented in the slice. wasA sequence parameter set (SPS) is a parameter set containing data related to a sequence of pictures. An access unit (AU) is one or more coding units associated with the same display time (e.g., the same picture order count) for output from the decoded picture buffer (DPB) (e.g., for presentation to a user). was A set of pictures. An access unit delimiter (AUD) is a designator 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.
[0053] The following abbreviations are used herein: coding tree block (CTB), coding tree unit (CTU), coding unit (CU), coding was coded video sequence (CVS), Joint Video Experts Team (JVET), 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] FIG. 1 is a flowchart of an exemplary operational method 100 for coding a video signal. Specifically, a video signal is encoded by an encoder. The encoding process compresses the video signal by utilizing various mechanisms to reduce the video file size. The smaller file size allows for the transmission of the compressed video file to a user while reducing the associated bandwidth overhead. A decoder then decodes the compressed video file to reconstruct the original video signal for display to the end user. The decoding process typically mirrors the encoding process, allowing 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 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 the visual impression of movement. The frames include pixels represented in terms of light, referred to herein as luma components (or luma samples), and color, referred to herein as chroma components (or chroma samples). In some examples, the frames may also include depth values to support three-dimensional displays.
[0056] In step 103, the video is partitioned into blocks. Partitioning involves subdividing pixels within each frame into square and / or rectangular blocks for compression. For example, in High Efficiency Video Coding (HEVC) (also known as H.265 and MPEG-H Part 2), a frame can first be divided into coding tree units (CTUs), which are blocks of a predetermined size (e.g., 64 pixels by 64 pixels). A CTU contains both luma and chroma samples. The coding tree may be utilized to divide the CTUs into blocks and then iteratively 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 light 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 utilized to compress the image blocks partitioned in step 103. For example, inter-prediction and / or intra-prediction may be utilized. Inter-prediction is designed to take advantage of the fact that objects in a common scene tend to appear in consecutive frames. Thus, blocks depicting an object in a reference frame need not be repeatedly shown in adjacent frames. Specifically, an object such as a table may remain in a constant position across multiple frames. Thus, the table may be shown once, and adjacent frames can reference back to the reference frame. A pattern matching mechanism may be utilized to match objects across multiple frames. Furthermore, a moving object may be displayed across multiple frames, for example, due to object motion or camera motion. As a specific example, a video may show a car moving across the screen across multiple frames. To indicate such motion, a motion vector may be utilized. 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. Thus, inter-prediction allows an image block in a current frame to be coded 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. Intra prediction takes advantage of the fact that luma and chroma components tend to be clustered within a frame. For example, some green patches in a tree tend to be located adjacent to similar green patches. Intra prediction utilizes multiple directional prediction modes (e.g., 33 in HEVC), planar mode, and direct current (DC) mode. The directional mode indicates that the current block is similar / identical to samples of neighboring blocks in the corresponding direction. The 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. The planar mode effectively indicates a smooth transition of light / color across the row / column by utilizing a relatively constant gradient of changing values. The DC mode is used for boundary smoothing and indicates that the block is similar / identical to the average value associated with samples of all neighboring blocks associated with the angular direction of the directional prediction mode. Therefore, intra-predicted blocks can represent image blocks as various related prediction modes instead of actual values. Furthermore, inter-predicted blocks can represent image blocks as motion vector values instead of actual values. In either case, the prediction block may not accurately represent the image in some cases. Any differences are stored in a 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 the generation of blocky images at the decoder. Furthermore, block-based prediction schemes may encode blocks and then reconstruct the encoded blocks for later use as reference blocks. In-loop filtering schemes iteratively apply noise suppression filters, deblocking filters, adaptive loop filters, and sample adaptive offset (SAO) filters to blocks / filters. These filters mitigate such blocky artifacts so that the encoded file can be accurately reconstructed. Furthermore, these filters mitigate artifacts in the reconstructed reference blocks so that they are less likely to introduce additional artifacts in subsequent blocks that are coded based on the reconstructed reference blocks.
[0060] Once the video signal has been partitioned, compressed, and filtered, the resulting data is encoded into a bitstream at step 109. The bitstream includes the data described above and any desired signaling data to support proper video signal reconstruction at the decoder. For example, such data may include partition data, prediction data, residual blocks, and various flags that provide coding instructions to the decoder. The bitstream may be stored in memory for transmission to the decoder upon request. The bitstream may be broadcast and / or multicast to multiple decoders. Generating the bitstream is an iterative process. Thus, steps 101, 103, 105, 107, and 109 may occur sequentially and / or simultaneously across multiple frames and blocks. The order shown in FIG. 1 is presented for clarity and ease of discussion and is not intended to limit the video coding process to any particular order.
[0061] In step 111, the decoder receives the bitstream and begins the decoding process. Specifically, the decoder converts the bitstream into corresponding syntax and video data using an entropy decoding scheme. In step 111, the decoder uses the syntax from the bitstream to determine the frame partition. The partition should match the block partition results from step 103. The entropy encoding / decoding used in step 111 is described below. During the compression process, the encoder generates many options, such as selecting a block partition scheme from several possible options based on the spatial location of values within the input image. Signaling the exact option may utilize a large number of bins. As used herein, a bin is a binary value treated as a variable (e.g., a bit value that can change depending on the context). Entropy coding allows the encoder to discard any options that are clearly not feasible in 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 choices (e.g., one bin for two choices, two bins for three or four choices, etc.). The encoder then encodes a codeword for the selected choice. This scheme reduces the size of the codeword because it is desirably large to uniquely represent a choice from a small subset of possible choices, as opposed to uniquely representing a choice from a potentially large set of all possible choices. The decoder then decodes the choices by determining the set of allowable choices in a similar manner to the encoder. By determining the set of allowable choices, the decoder can read the codeword and determine the choice made by the encoder.
[0062] In step 113, the decoder performs block decoding. Specifically, the decoder generates a residual block using an inverse transform. Then, the decoder uses the residual block and the corresponding prediction block to reconstruct an image block according to the partition. The prediction block may include both the intra-prediction block and the inter-prediction block generated in step 105 in the encoder. The reconstructed image block is then positioned into a frame of the reconstructed video signal according to the partition data determined in step 111. The syntax of step 113 may also be signaled in the bitstream by entropy coding as described above.
[0063] In step 115, filtering is performed on the frames of the reconstructed video signal in a manner similar to step 107 in the encoder. 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. Once the frames have been filtered, the video signal can be output to a display in 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 the implementation of operating method 100. Codec system 200 is generalized to illustrate components utilized in both an encoder and a decoder. Codec system 200 receives and partitions the video signal described above with respect to steps 101 and 103 in operating method 100, resulting in partitioned video signal 201. Codec system 200 then codes partitioned video signal 201 when operating as an encoder described above with respect to steps 105, 107, and 109 in method 100. was2, the codec system 200 compresses the encoded / decoded data into a bitstream. When operating as a decoder, the codec system 200 generates an output video signal from the bitstream as described above with respect to steps 111, 113, 115, and 117 in the operating method 100. The 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 format and context adaptive binary arithmetic coding (CABAC) component 231. These components are coupled as shown. In FIG. 2, the black lines indicate the movement of data to be coded / decoded, while the dashed lines indicate the movement of control data that controls the operation of the other components. The components of the codec system 200 may all reside within an encoder. The decoder may include some of the components of the 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 described herein.
[0065] The partitioned video signal 201 is a captured video sequence that has been partitioned into blocks of pixels by a coding tree. The coding tree utilizes various partitioning modes to subdivide blocks of pixels into smaller blocks of pixels. These blocks can then be further subdivided into smaller blocks. Blocks may be referred to as nodes on 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 be included in a coding unit (CU) in some cases. For example, a CU may be a subportion of a CTU that includes a luma block, a red differential chroma (Cr) block, and a blue differential chroma (Cb) block, as well as the corresponding syntax instructions for the CU. Partitioning modes may include a binary tree (BT), a triple tree (TT), and a quad tree (QT), which are used to partition a node into two, three, or four child nodes, each of which has a shape that varies depending on the partitioning mode used. The partitioned 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 generic 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 generic 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 generic coder control component 211 also manages buffer utilization in terms of conversion speed to mitigate buffer underrun and overrun issues. To address these issues, the generic coder control component 211 manages partitioning, prediction, and filtering by other components. For example, the generic coder control component 211 may dynamically increase compression complexity to increase resolution, or increase bandwidth usage or decrease compression complexity to reduce resolution and bandwidth usage. Thus, the generic coder control component 211 controls other components of the codec system 200 to balance video signal reconstruction quality and bitrate concerns. The generic coder control component 211 generates control data that controls the operation of other components. Control data is also forwarded to the header format and CABAC component 231 to be encoded into the bitstream to signal parameters for decoding at the decoder.
[0067] The partitioned video signal 201 is also transmitted 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 relative to one or more blocks in one or more reference frames to provide temporal prediction. The codec system 200 may perform multiple coding passes, for example, to 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 shown separately for conceptual purposes. Motion estimation, performed by the motion estimation component 221, is the process of generating motion vectors that estimate motion for video blocks. Motion vectors are used to estimate motion, for example, relative to a predictive block. was The prediction block may indicate the placement of an object. A prediction block is a block that is found to closely match the block to be coded in terms of pixel differences. A prediction block may also be called a reference block. Such pixel differences may be determined by sum of absolute difference (SAD), sum of square difference (SSD), or other difference metrics. HEVC uses several coding units, including CTUs, coding tree blocks (CTBs), and CUs. was The motion estimation component 221 uses a rate-distortion analysis to generate motion vectors, prediction units, and TUs. For example, a CTU can be divided into CTBs, which can then be divided into CBs for inclusion in a CU. A CU can be coded as a prediction unit containing prediction data and / or a transform unit (TU) containing transformed residual data of the CU. The motion estimation component 221 uses rate-distortion analysis as part of a rate-distortion optimization process to generate motion vectors, prediction units, and TUs. For example, the motion estimation component 221 may determine multiple reference blocks, multiple motion vectors, etc. for the current block / frame and may select the reference block, motion vector, etc. with optimal rate-distortion characteristics. The optimal rate-distortion characteristics balance both the quality of the video reconstruction (e.g., the amount of data loss 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 picture positions of the reference picture 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 picture. Thus, the motion estimation component 221 may perform motion searches relative to whole pixel positions and fractional pixel positions and output motion vectors with fractional pixel accuracy. The motion estimation component 221 may perform inter-coding operations by comparing the positions of the prediction units with the positions of the prediction blocks of the reference pictures. was The motion estimation component 221 calculates motion vectors for prediction units of video blocks in the slice, and outputs the calculated motion vectors as motion data to the header format and CABAC component 231 and motion to the motion compensation component 219 for encoding.
[0070] The motion compensation performed by motion compensation component 219 may include fetching or generating a predictive block based on the motion vector determined by motion estimation component 221. Again, motion estimation component 221 and motion compensation component 219 may be functionally integrated in some examples. Upon receiving the motion vector of the prediction unit of the current video block, motion compensation component 219 may locate the predictive block pointed to by the motion vector. 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, motion estimation component 221 performs motion estimation with respect to the luma component, and 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 residual block are forwarded to 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 shown separately for conceptual purposes. Instead of inter-prediction performed by the inter-frame motion estimation component 221 and the motion compensation component 219 as described above, 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. In particular, the intra picture estimation component 215 determines the intra-prediction mode to be used to encode the current block. In some examples, the intra picture estimation component 215 selects an appropriate intra-prediction mode for encoding the current block from multiple tested intra-prediction modes. The selected intra-prediction mode is then forwarded to the header format 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 rate-distortion analysis and select an intra prediction mode with optimal rate-distortion characteristics among the tested modes. The rate-distortion analysis generally determines the amount of distortion (or error) between a coded block and the original uncoded block that was coded to generate the coded block, as well as the bit rate (e.g., number of bits) used to generate the coded block. The intra picture estimation component 215 may calculate a ratio from the distortion and rate for various coded blocks to determine which intra prediction mode exhibits the optimal rate-distortion value for the block. Furthermore, the intra picture estimation component 215 may be configured to code depth blocks of the depth map using depth modeling mode (DMM) based on rate-distortion optimization (RDO).
[0073] The intra picture prediction component 217, when implemented in an encoder, may generate a residual block from the prediction block based on the selected intra prediction mode determined by the intra picture estimation component 215, or, when implemented in a decoder, may read the residual block from the bitstream. 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 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 containing residual transform coefficient values. A wavelet transform, an integer transform, a subband transform, or other types of transforms may also be used. The 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 includes applying a scaling factor to the residual information. As a result, 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 varied 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. The quantized transform coefficients are forwarded to the header format and CABAC component 231 for encoding into the bitstream.
[0075] The scaling and inverse transform component 229 applies the inverse processing of the transform scaling and quantization component 213 to support motion estimation. The scaling and inverse transform component 229 applies inverse scaling, transform, and / or quantization to reconstruct a residual block in the pixel domain for later use as a reference block, which may become a predictive block for another current block, for example. 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 to reduce artifacts produced during scaling, quantization, and transform. Such artifacts may otherwise result in inaccurate predictions (and generate 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 to 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. The filter may then be applied to the reconstructed image block. In some examples, the filter may instead be applied to the residual block. Like the other components in FIG. 2, the filter control analysis component 227 and the in-loop filter component 225 may be highly integrated and implemented together, but are shown 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 when such filters should be applied and set the corresponding parameters. Such data is forwarded to the header format 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 and forwards the reconstructed and filtered blocks 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 format and CABAC component 231 receives data from various components of the codec system 200 and codes such data for transmission towards the decoder. wasThe resulting bitstream is then encoded into a bitstream. Specifically, the header format and CABAC component 231 generates various headers for encoding control data, such as general control data and filter control data. Additionally, prediction data, including intra-prediction and motion data, and residual data in the form of quantized transform coefficient data are all encoded within the bitstream. The final bitstream contains all information desired by a decoder to reconstruct the original partitioned video signal 201. Such information may also include an intra-prediction mode index table (also called a codeword mapping table), definitions of the coding contexts of various blocks, indications of the most likely intra-prediction mode, indications of partition information, etc. Such data may be encoded using entropy coding. The resulting bitstream may be encoded using entropy coding. For example, the information may be encoded using context adaptive variable length coding (CAVLC), 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 stored for later transmission or retrieval.
[0079] 3 is a block diagram illustrating an example video encoder 300. Video encoder 300 may be utilized to implement the encoding functionality of codec system 200 and / or to implement steps 101, 103, 105, 107, and / or 109 of method of operation 100. Encoder 300 partitions an input video signal to produce a partitioned video signal 301 that is substantially similar to partitioned video signal 201. Partitioned 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 blocks and residual blocks 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 blocks. 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 corresponding prediction blocks (together with associated control data) are forwarded to an entropy coding component 313 for coding into a bitstream. The entropy coding component 331 may be substantially similar to the header format and CABAC component 231 .
[0081] The transformed and quantized residual block and / or the corresponding prediction block are also 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 include multiple filters as discussed 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 exemplary video decoder 400. Video decoder 400 may be utilized to implement the decoding functionality of codec system 200 and / or to implement steps 111, 113, 115, and / or 117 of method of operation 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 utilize 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 prediction 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 uses a prediction mode to identify the location of a reference block within a frame and applies a residual block to the result to reconstruct an intra predicted image block. The reconstructed intra predicted image block and / or residual block, and the 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 prediction block, and such information is stored in the decoded picture buffer component 423. The reconstructed image block from the decoded picture buffer component 423 is 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 uses a motion vector from a reference block to generate a prediction block and provides a residual block as the result to reconstruct an image block. The resulting reconstructed block may be transferred to the decoded picture buffer component 423 via an in-loop filter component 425. The decoded picture buffer component 423 may continue to store additional reconstructed image blocks that can be reconstructed into frames according to the partition information. Such frames may be arranged in a sequence. The 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. In block-based video coding, video slices (i.e., video pictures or portions of video pictures) 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. Intra-Coding of Pictures was (I) Video blocks within a slice are coded using spatial prediction with respect to reference samples in neighboring blocks within the same picture. was Video blocks in a (P or B) slice may utilize 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.
[0086] Spatial or temporal prediction produces a predicted block of the block to be coded. The residual data represents pixel differences between the original block to be coded and the predicted block. was The block is a prediction block, and the coding was The block is coded according to residual data that indicates the difference between the block and a prediction block. wasThe block is coded according to an intra-coding mode and residual data. For further compression, the residual data may be transformed from the pixel domain to a transform domain, resulting in residual transform coefficients, which may then be quantized. The quantized transform coefficients may first be organized into a two-dimensional array and scanned to generate a one-dimensional vector of transform coefficients, and entropy coding may be applied to achieve even more 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 supports Scalable Video Coding (SVC), Multiview Video Coding (MVC), and Multiview Video Coding plus Depth. HEVC includes extensions such as Scalable HEVC (SHVC), Multiview HEVC (MV-HEVC), and 3D HEVC (3D-HEVC).
[0088] There is also a new coding standard named Versatile Video Coding (VVC) by the ITU-T and ISO / IEC Joint Video Experts Team (JVET). The VVC standard has several working drafts, but one VVC Working Draft (WD) in particular is referenced here: 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] The picture partition scheme in HEVC is discussed.
[0090] HEVC includes four different picture partitioning schemes: normal slice, dependent slice, tile, and Wavefront Parallel Processing (WPP), which may be applied for Maximum Transfer Unit (MTU) matching, parallel processing, and reduced end-to-end delay.
[0091] Normal slices are similar to those in H.264 / AVC. Each normal slice is encapsulated in its own NAL unit, and intra-picture prediction (intra-sample prediction, motion information prediction, coding mode prediction) and entropy coding dependencies across slice boundaries are disabled. Therefore, normal slices can be reconstructed independently of other normal slices in the same picture (although interdependencies may still exist due to loop filtering operations).
[0092] Regular slices are the only tool available for parallelization in H.264 / AVC, in a virtually identical format. Regular slice-based parallelization does not require much inter-processor or inter-core communication (except for inter-processor or inter-core sharing for motion compensation when decoding predictively coded pictures, which is typically much heavier than inter-processor or inter-core data sharing with intra-picture prediction). However, for the same reason, the use of regular slices can incur significant coding overhead due to the bit cost of slice headers and the lack of prediction across slice boundaries. Furthermore, due to the intra-picture independence of regular slices, regular slices (in contrast to other tools described below) also serve as an important mechanism for bitstream partitioning to meet MTU size requirements, with each regular slice being encapsulated in its own Network Adaptation Layer (NAL) unit. Often, the goals of parallelization and MTU size compliance impose conflicting requirements on slice layout within a picture. The realization of this situation led to the development of the parallelization tools described below.
[0093] Dependent slices have short slice headers and allow for partitioning of the bitstream at treeblock boundaries without breaking intra-picture prediction. Essentially, dependent slices provide fragmentation of normal slices into multiple NAL units, resulting in reduced end-to-end delay by allowing portions of a normal slice to be sent before the coding of the entire normal slice is complete.
[0094] In WPP, pictures are partitioned into single-row coding tree blocks (CTBs). Entropy decoding and prediction are permitted to use data from CTBs in other partitions. Parallel processing is possible through parallel decoding of CTB rows, where the start of decoding of a CTB row is delayed by two CTBs to ensure that data associated with CTBs above and to the right of the current CTB is available before the current CTB is decoded. This staggered start (which appears as a wavefront when graphically represented) allows parallelization with up to as many processors / cores as the picture contains. Because intra-picture prediction between neighboring treeblock rows within a picture is permitted, the inter-processor / inter-core communication required to enable intra-picture prediction can be significant. WPP partitioning does not result in the generation of additional NAL units compared to when it is not applied. Therefore, WPP is not a tool for MTU size adaptation. However, if MTU size adaptation is required, slicing can usually be used with WPP, with certain coding overhead.
[0095] Tiles define horizontal and vertical boundaries that partition a picture into tile columns and rows. The scan order of the CTBs is changed to be local within the tile (in the tile's CTB raster scan order) before decoding the top-left CTB of the next tile in the picture's tile raster scan order. Like regular slices, tiles break intra-picture prediction dependencies as well as entropy decoding dependencies. However, tiles are not required to be contained in individual NAL units (similar to WPP in this respect), and therefore tiles cannot be used for MTU size adaptation. Each tile can be processed by one processor / core, and the inter-processor / inter-core communication required for intra-picture prediction between processing units decoding neighboring tiles is limited to carrying a shared slice header if the slice spans more than one tile and sharing reconstructed samples and metadata related to loop filtering. When more than one tile or WPP segment is included in a slice, the entry point byte offset of each tile or WPP segment other than the first one in the slice is signaled in the slice header.
[0096] For simplicity, constraints on the application of four different partitioning schemes are specified in HEVC. coded A video sequence cannot contain both tiles and wavefronts for most of the profiles specified in HEVC. For each slice and tile, one or both of the following conditions must be met: 1) Coding of the entire slice was 1) all treeblocks belong to the same tile, and 2) all codings within a tile was Treeblocks belong to the same slice. Finally, a wavefront segment contains exactly one CTB row, and when WPP is used, if a slice starts within a CTB row, it must end within the same CTB row.
[0097] The picture partition scheme in VVC is discussed.
[0098] HEVC includes four different picture partitioning schemes: slice, tile and brick, and Wavefront Parallel Processing (WPP), which may be applied for Maximum Transfer Unit (MTU) size adaptation, parallel processing, and reduced end-to-end delay.
[0099] Tiles in VVC are similar to tiles in HEVC. Tiles define horizontal and vertical boundaries that partition a picture into tile columns and rows. In VVC, the concept of tiles is further refined by further dividing tiles horizontally to form bricks. Tiles that are not further divided are also considered bricks. The scan order of the CTBs is changed to be local within a brick (in the CTB raster scan order of the brick) before decoding the top-left CTB of the next brick in the brick raster scan order of the picture.
[0100] A slice in VVC contains one or more bricks. Each slice is encapsulated in its own NAL unit, and intra-picture prediction (intra-sample prediction, motion information prediction, coding mode prediction) and entropy coding dependencies across slice boundaries are disabled. Therefore, regular slices can be reconstructed independently from other regular slices in the same picture (although they may still have interdependencies due to loop filtering operations). VVC defines two types of slices: rectangular slices and raster scan slices. A rectangular slice contains one or more bricks that occupy a rectangular area in a picture. A raster scan slice contains one or more bricks in the raster scan order of the bricks in the picture.
[0101] The WPP feature in VVC is similar to the WPP feature in HEVC, except that the HEVC WPP has two CTU delays, while the VVC WPP has one CTU delay. In the HEVC WPP, a new decoding thread can start decoding the first CTU in its assigned row of CTUs after the previous row of CTUs has decoded its first two CTUs. On the other hand, in the VVC WPP, a new decoding thread can start decoding the first CTU in its assigned row of CTUs after the previous row of CTUs has decoded its first CTU.
[0102] Signaling within a PPS for tiles, bricks, and slices is discussed.
[0103] The current signaling within the PPS for tiles, bricks, and slices (especially rectangular slices) is as follows: [Table 1-1] [Table 1-2]
[0104] A slice is associated with a slice header that contains syntax elements that describe the characteristics of the slice that are necessary to decode the slice. An example slice header syntax table and an introduction to slice header semantics are given below.
[0105] General slice header syntax [Table 2]
[0106] General slice header semantics
[0107] When present, the values of each of the slice header syntax elements slice_pic_parameter_set_id, non_reference_picture_flag, colour_plane_id, slice_pic_order_cnt_lsb, recovery_poc_cnt, no_output_of_prior_pics_flag, pic_output_flag, and slice_temporal_mvp_enabled_flag shall be used for coding was It should be the same in all slice headers of a picture.
[0108] The variable CuQpDeltaVal specifies the difference between the luma quantization parameter of a coding unit that contains cu_qp_delta_abs and its prediction, and is set equal to 0. The variables CuQpOffsetCb, CuQpOffsetCr, and CuQpOffsetCbCr specify the values to be used when determining the respective values of the Qp′Cb, Qp′Cr, and Qp′CbCr quantization parameters of a coding unit that contains cu_chroma_qp_offset_flag, and are all set equal to 0.
[0109] Access unit delimiters are discussed.
[0110] At the 15th JVET meeting in Gothenburg, it was agreed that an access unit delimiter (AUD) must be present for each picture in a VVC bitstream. The AUD must be present before the first slice of each picture. This helps decoder implementations to detect the beginning of a new picture in a VVC bitstream.
[0111] The syntax and semantics of AUD RBSP are as follows: [Table 3]
[0112] The access unit delimiter indicates the start of an access unit and the coding of the NAL unit within the access unit that contains the access unit delimiter. was Used to indicate the type of slice present in a picture. There is no canonical decoding process associated with the access unit delimiter.
[0113] pic_type is the coding in the access unit including the access unit delimiter NAL unit. was Indicates that the slice_type values of all slices of the picture are members of the set listed in Table 7-3 for a given value of pic_type. Values of pic_type SHOULD be set equal to 0, 1, or 2 in bitstreams conforming to this version of this specification. Other values of pic_type are reserved for future use by ITU-T / ISO / IEC. Decoders conforming to this version of this specification SHOULD ignore reserved values of pic_type. Table 7-3 Interpretation of pic_type [Table 4]
[0114] Issues with access unit delimiters are discussed.
[0115] Requiring an AUD to exist for each picture can cause several problems, as identified below.
[0116] It is expected that there is only one access unit delimiter per picture or access unit and that it is included in the first NAL unit in the access unit. However, if an access unit contains more than one picture, as in the case of a multi-layer bitstream, the access unit delimiter can only aid in the detection of each access unit, not each picture.
[0117] In a single-layer bitstream, because there is one AUD per picture, some syntax elements that are currently signaled in the slice header but are constrained to be the same for all slices of the same picture should be moved to the AUD. Such syntax elements may be called picture-level syntax elements. However, if the NAL unit containing the AUD is assumed to be the first NAL unit in an access unit, the NAL unit containing the AUD may precede NAL units containing parameter sets such as SPS, PPS, etc. The order of AUDs and parameter sets limits the flexibility of moving picture-level syntax elements from slice headers to AUDs, and the parsing of these syntax elements may have dependencies on the information signaled in the parameter sets.
[0118] The description of the techniques disclosed herein is based on Versatile Video Coding (VVC), a video coding standard under development by the ITU-T and ISO / IEC joint video experts team (JVET), although the techniques also apply to other video codec specifications.
[0119] As mentioned above, AUD is used to indicate the start of each AU, and therefore the start of a picture, when the bitstream contains a single layer. However, because a multi-layer bitstream contains multiple pictures at different resolutions within the same AU, AUD cannot provide the same function for a multi-layer bitstream. Therefore, when an access unit contains more than one picture, as in a multi-layer bitstream, AUD can only indicate the start of an AU, and cannot indicate the start of a particular picture within the AU.
[0120] This specification discloses a technique for ensuring that a PU has one and only one picture. When each picture is associated with one, and possibly only one, picture header in the PU, the start point of each picture and the start point of an AU can be determined based on the picture header, even when a multi-layer bitstream is used. By configuring the PU to have a single picture header and a single picture, a multi-layer bitstream can be used in video coding without causing coding errors. Therefore, the coder / decoder (also known as a "codec") in video coding is improved over current codecs. In practical terms, the improved video coding process provides users with a better user experience when videos are transmitted, received, and / or viewed.
[0121] Scalability in video coding is 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 (SNR) scalability, and multiview scalability. When multi-layer coding techniques are used, a picture or a portion thereof can be coded (1) without using a reference picture, i.e., by using intra-prediction; (2) by referencing a reference picture in the same layer, i.e., by using inter-prediction; or (3) by referencing a reference picture in another layer, i.e., by using inter-layer prediction. A reference picture used for inter-layer prediction of a current picture is called an inter-layer reference picture (ILRP).
[0122] 5 is a schematic diagram illustrating an example of layer-based prediction 500, as may be performed to determine 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 may also be performed between pictures of different layers.
[0123] 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 similarly valued 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 in 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 in layer N 531 in this example. However, such pictures may be separated between layer N+1 532 and layer N 531 by other characteristics. While 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 to indicate which layer N+1 532 or layer N 531 contains the corresponding figure.
[0124] Pictures 511-518 in different layers 531-532 are configured to be displayed alternatively. Thus, pictures 511-518 in different layers 531-532 may share the same temporal identifier (ID) if the pictures are contained within the same AU. As used herein, an AU refers to one or more coding units associated with the same display time for output from the DPB. was A picture is a collection of pictures. For example, if a smaller picture is desired, the decoder may decode and display picture 515 at the current display time, and if a larger picture is desired, the decoder may decode and display picture 511 at the current display time. In this way, pictures 511-514 in upper layer N+1 532 contain substantially the same image data as corresponding pictures 515-518 in lower layer N 531 (despite the difference 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.
[0125] Pictures 511-518 can be coded by referencing other pictures 511-518 in the same layer N 531 or N+1 532. Coding a picture by referencing another picture in the same layer results in inter-prediction 523, which is compatible 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 in 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. Thus, inter prediction 523 is a mechanism for coding samples of a current picture by reference to indicated samples in a reference picture different from the current picture, where the reference picture and the current picture are in the same layer.
[0126] Pictures 511-518 can also be coded by referencing other pictures 511-518 in different layers. This process is known as interlayer prediction 521 and is indicated by the dashed arrows. Interlayer prediction 521 is a mechanism for coding samples of a current picture by referencing indicated samples in a reference picture when 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 can be used as a reference picture to code a corresponding picture in upper layer N+1 532. As a specific example, picture 511 can be coded by referencing picture 515 according to interlayer prediction 521. In such a case, picture 515 is used as the interlayer reference picture. An interlayer reference picture is a reference picture used for interlayer prediction 521. In most cases, interlayer prediction 521 is constrained so that a current picture, such as picture 511, can only use interlayer reference pictures that are contained in the same AU and are in a lower layer, such as picture 515. If multiple layers (e.g., two or more) 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.
[0127] A video encoder can use layer-based prediction 500 to encode pictures 511-518 through 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. Then, by using picture 515 as a reference picture, pictures 516-518 may be coded according to inter-prediction 523. Furthermore, picture 511 may be coded according to inter-layer prediction 521 by using picture 515 as an inter-layer reference picture. Then, by using picture 511 as a reference picture, pictures 512-514 may be coded according to inter-prediction 523. In this manner, a reference picture can function as both a single-layer reference picture and an inter-layer reference picture for different coding mechanisms. By coding upper layer N+1 532 picture based on lower layer N 531 picture, upper layer N+1 532 can avoid using intra-prediction, which has much lower coding efficiency than inter-prediction 523 and inter-layer prediction 521. Therefore, the poor coding efficiency of intra prediction may be limited to pictures of the smallest / lowest quality, and therefore may be limited to coding a minimum amount of video data. Pictures used as reference pictures and / or interlayer reference pictures may be indicated in reference picture list entries included in a reference picture list structure.
[0128] Each AU 506 in Figure 5 may contain several pictures. For example, one AU 506 may contain pictures 511 and 515. Another AU 506 may contain pictures 512 and 516. In effect, each AU 506 may contain one or more coding pictures associated with the same display time (e.g., the same time ID) for output from a decoded picture buffer (DPB) (e.g., for display to a user). was Each AUD 508 is a pointer or data structure used to indicate the start of an AU (e.g., AU 506) or the boundary between AUs.
[0129] Previous H.26x video coding families provided scalability support 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. In SVC, a flag is signaled within each macroblock (MB) in an EL picture to indicate whether the EL MB is predicted using co-located blocks from lower layers. Predictions from co-located blocks may include texture, motion vectors, and / or coding modes. SVC implementations cannot directly reuse unmodified H.264 / AVC implementations for their design. The syntax and decoding process for SVC EL macroblocks differ from those of H.264 / AVC.
[0130] 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 (3DHEVC) is an extension of HEVC / H.264 that provides support for more advanced and efficient three-dimensional (3D) video coding 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 utilizes 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 the reference picture list along with other temporal reference pictures of the current layer. Inter-layer prediction (ILP) is achieved at the prediction unit level by setting the value of a reference index to refer to an inter-layer reference picture in a reference picture list.
[0131] Notably, both reference picture resampling and spatial scalability features require resampling of the reference picture or a portion thereof. Reference picture resampling (RPR) can be realized at either the picture level or the coding block level. However, when RPR is referred to as a coding feature, it is a feature for single-layer coding. Even so, it may be possible or desirable from a codec design perspective to use the same resampling filter for both the RPR feature of single-layer coding and the spatial scalability feature of multi-layer coding.
[0132] 6 illustrates a video bitstream 650 configured to implement a gradual decoding refresh (GDR) technique. As used herein, the video bitstream 650 refers to a coding was It may represent a video bitstream, a bitstream, or variations thereof. As shown in Figure 6, the bitstream 650 includes a sequence parameter set (SPS) 652, a picture parameter set (PPS) 654, a slice header 656, and image data 658.
[0133] The SPS 652 contains data that is common to all pictures in a sequence of pictures (SOP). In contrast, the PPS 654 contains data that is common to the entire picture. The slice header 656 contains information about the current slice, such as the slice type, which reference pictures are used, etc. The SPS 652 and PPS 654 may collectively be referred to as parameter sets. The SPS 652, PPS 654, and slice header 656 are types of Network Abstraction Layer (NAL) units. NAL units define the type of data that follows (e.g., coding wasThe bitstream 650 is a syntax structure that contains an indication of the video data. NAL units are classified into video coding layer (VCL) and non-VCL NAL units. VCL NAL units contain data representing the values of samples in a video picture, while non-VCL NAL units contain any relevant additional information, such as parameter sets (critical data applicable to multiple VCL NAL units) and supplemental extension information (timing information and other supplemental data that is not necessary for decoding the values of samples in a video picture but that may enhance the usefulness of the decoded video signal). Those skilled in the art will understand that the bitstream 650 may contain other parameters and information in actual applications.
[0134] 6 includes data related to the image or video being encoded or decoded. The image data 658 may simply be referred to as the payload or data carried within the bitstream 650. In one embodiment, the image data 658 includes a CVS 608 (or CLVS) that includes a GDR picture 602, one or more trailing pictures 604, and a restoration point picture 606. In an embodiment, the GDR picture 602 is referred to as a CVS starting (CVSS) picture. The CVS 608 is used to decode each coding was Coding for coded layer video sequences (CLVS) was 6 is a video sequence. Notably, if the video bitstream 650 contains a single layer, the CVS and CLVS are the same. The CVS and CLVS differ only if the video bitstream 650 contains multiple layers. In an embodiment, the trailing picture 604 precedes the restoration point picture 606 in the GDR period, and therefore the trailing picture 604 can be considered a form of a GDR picture.
[0135] In an embodiment, the GDR picture 602, the trailing picture 604, and the recovery point picture 606 may define a GDR period within the CVS 608. In an embodiment, the decoding order begins with the GDR picture 602, continues with the trailing picture 604, and then proceeds to the recovery picture 606.
[0136] A CVS 608 is a series of pictures (or portions thereof) starting with a GDR picture 602 and including all pictures (or portions thereof) up to but not including the next GDR picture, or up to the end of the bitstream. A GDR period is a series of pictures starting with a GDR picture 602 and including all pictures up to and including a restoration point picture 606. The decoding process for a CVS 608 always starts with a GDR picture 602.
[0137] 6, the GDR technique 600 or principle operates on a series of pictures beginning with a GDR picture 602 and ending with a restoration point picture 606. The GDR picture 602 includes a refreshed / clean region 610 containing blocks that were all coded using intra prediction (i.e., intra-predicted blocks) and an unrefreshed / dirty region 612 containing blocks that were all coded using inter prediction (i.e., inter-predicted blocks).
[0138] The trailing picture 604 immediately adjacent to the GDR picture 602 includes a refresh / clean region 610 having a first portion 610A coded using intra prediction and a second portion 610B coded using inter prediction. The second portion 610B is coded, for example, by referencing the refresh / clean region 610 of a previous picture in the GDR period of the CVS 608. As shown, the refresh / clean region 610 of the trailing picture 604 expands as the coding process moves or progresses in a consistent direction (e.g., from left to right), causing the unrefreshed / dirty region 612 to shrink accordingly. Ultimately, a restoration point picture 606 containing only the refresh / clean region 610 results from the coding process. Notably, as described further below, the second portion 610B of the refresh / clean region 610, coded as an inter-predicted block, may only reference the refresh / clean region 610 in the reference picture.
[0139] 6, the GDR picture 602, the trailing picture 604, and the restoration point picture 606 in the CVS 608 are each contained within their own VCL NAL unit 630. A set of VCL NAL units 630 in the CVS 608 may be referred to as an access unit.
[0140] In an embodiment, the VCL NAL unit 630 containing the GDR picture 602 in the CVS 608 has a GDR NAL unit type (GDR_NUT). That is, in an embodiment, the VCL NAL unit 630 containing the GDR picture 602 in the CVS 608 has a unique NAL unit type relative to the trailing picture 604 and the restoration point picture 606. In an embodiment, the GDR_NUT allows the bitstream 650 to begin with the GDR picture 602 instead of requiring the bitstream 650 to begin with an intra random access point (IRAP) picture. Designating the VCL NAL unit 630 of the GDR picture 602 as GDR_NUT can indicate to a decoder, for example, that the initial VCL NAL unit 630 in the CVS 608 contains the GDR picture 602. In an embodiment, the GDR picture 602 is the initial picture in the CVS 608. In an embodiment, the GDR picture 602 is the initial picture in a GDR period.
[0141] 7 is a schematic diagram illustrating an undesirable motion search 700 when using encoder constraints to support GDR. As shown, the motion search 700 shows a current picture 702 and a reference picture 704. The current picture 702 and the reference picture 704 each include a refreshed region 706 coded using intra-prediction, a refreshed region 708 coded using inter-prediction, and an unrefreshed region 710. The refreshed region 706, the refreshed region 708, and the unrefreshed region 710 are similar to the first portion 610A of the refresh / clean region 610, the second portion 610B of the refresh / clean region 610, and the unrefreshed / dirty region 612 in FIG. 6.
[0142] During the motion search 700 process, the encoder is constrained or prevented from selecting any motion vector 712 that results in some of the samples of the reference block 714 being located outside the refresh region 706. This occurs even if the reference block 714 offers the best rate-distortion cost criterion in predicting the current block 716 in the current picture 702. Thus, Figure 7 illustrates why the motion search 700 is not optimal when using encoder constraints to support GDR.
[0143] 8 illustrates an embodiment of a video bitstream 800. As used herein, a video bitstream 800 refers to a coding was It may represent a video bitstream, a bitstream, or a variation thereof. As shown in Fig. 8, a bitstream 800 includes at least one picture unit (PU). Although three PUs 801 are shown in Fig. 8, in actual applications, a different number of PUs 801 may exist in the bitstream 800. Each PU 801 is composed of exactly one coding picture unit (PU) that are consecutive in decoding order and associated with each other according to a specified classification rule. was A set of NAL units containing pictures (e.g., picture 814).
[0144] In an embodiment, each PU 801 includes one or more of a decoding capability information (DCI) 802, a video parameter set (VPS) 804, a sequence parameter set (SPS) 806, a picture parameter set (PPS) 808, a picture header (PH) 812, and a picture 814. In an embodiment, the PU 801 does not include a PH 812. That is, the PU includes zero PHs. Each of the DCI 802, VPS 804, SPS 806, and PPS 808 may be collectively referred to as a parameter set. In an embodiment, other parameter sets not shown in FIG. 8 may be included in the bitstream 800, e.g., an adaptation parameter set (APS), which is a syntax structure including syntax elements that apply to zero or more slices as determined by zero or more syntax elements found in a slice header.
[0145] DCI 802, which may also be referred to as a decoding parameter set (DPS) or decoder parameter set, is a syntax structure containing syntax elements that apply to the entire bitstream. DCI 802 contains parameters that remain constant for the lifetime of a video bitstream (e.g., bitstream 800), which can translate to the lifetime of a session. DCI 802 can include profile, level, and subprofile information to determine a maximum complexity interoperability point that is guaranteed never to be exceeded, even if splicing of video sequences occurs within a session. It can also optionally include constraint flags, which indicate that the video bitstream is constrained in the use of certain features, as indicated by the values of those flags. This allows a bitstream to be labeled as not using certain tools, particularly enabling resource allocation in decoder implementations. Like all parameter sets, DCI 802 is present when first referenced, meaning it must be referenced by the first picture of a video sequence and transmitted between the first NAL units of the bitstream. Multiple DCIs 802 may exist in a bitstream, but the values of syntax elements therein shall not be contradictory when referenced.
[0146] The VPS 804 contains decoding dependencies or information for the reference picture set configuration of the enhancement layer. The VPS 804 provides an overall perspective or view of the scalable sequence, including what types of operation points are provided, the operation point profiles, tiers, and levels, and several other high-level characteristics of the bitstream that can be used as the basis for session negotiation, content selection, etc.
[0147] The SPS 806 contains data that is common to all pictures in a sequence of pictures (SOP). The SPS 806 is a syntax structure that contains zero or more CLV-wide syntax elements, as determined by the content of syntax elements found in the PPS referenced by syntax elements found in each picture header. In contrast, the PPS 808 contains data that is common to an entire picture. The PPS 808 contains zero or more coding elements, as determined by the content of syntax elements found in each picture header (e.g., PH812). was A syntax structure that contains syntax elements that apply to the entire picture.
[0148] DCI 802, VPS 804, SPS 806, and PPS 808 are contained in different types of Network Abstraction Layer (NAL) units. NAL units are used to describe the type of data they contain (e.g., coding was NAL units are syntax structures that contain indications of the video data within a video coding layer (VCL). NAL units are classified into video coding layer (VCL) and non-VCL NAL units. VCL NAL units contain data representing the values of samples within a video picture, while non-VCL NAL units contain any relevant additional information, such as parameter sets (critical data that is applicable to many VCL NAL units) and supplemental extension information (timing information and other supplemental data that is not necessary for decoding the values of samples within a video picture but that may increase the usefulness of the decoded video signal).
[0149] In an embodiment, DCI 802 is included in a non-VCL NAL unit designated as a DCI NAL unit or a DPS NAL unit. That is, a DCI NAL unit has a DCI NAL unit type (NUT), and a DPS NAL unit has a DPS NUT. In an embodiment, VPS 804 is included in a non-VCL NAL unit designated as a DPS NAL unit. Therefore, the VPS NAL unit has a VPS NUT. In an embodiment, SPS 806 is a non-VCL NAL unit designated as an SPS NAL unit. Therefore, the SPS NAL unit has an SPS NUT. In an embodiment, PPS 808 is included in a non-VCL NAL unit designated as a PPS NAL unit. Therefore, the PPS NAL unit has a PPS NUT.
[0150] PH812 is coding wasPH 812 is a syntax structure that includes syntax elements that apply to all slices (e.g., slice 818) of a picture (e.g., picture 814). In an embodiment, PH 812 is a new type of non-VCL NAL unit designated as a PH NAL unit. Thus, a PH NAL unit has a PH NUT (e.g., PH_NUT). In an embodiment, each PU 801 includes only one PH 812. That is, a PU 801 includes a single or isolated PH 812. In an embodiment, exactly one PH NAL unit exists for each picture 801 in the bitstream 800. In an embodiment, a PU 801 includes zero PHs and zero PH NAL units. For example, if picture 814 includes only one slice 818, then no PH 812 is required because picture 814 and slice 818 are the same size. In fact, the parameters of picture 814 and slice 818 are comparable in size and are the same, and therefore can be included in a slice header (e.g., slice header 820). In an embodiment, the PU 801 includes the PH in a PH NAL unit even if the picture 814 includes only one slice 818.
[0151] In an embodiment, a PH NAL unit associated with a PH 812 has a temporal ID and a layer ID. The temporal ID indicates the temporal position of the PH NAL unit relative to other PH NAL units in a bitstream (e.g., bitstream 801). The layer ID indicates the layer (e.g., layer 531 or layer 532) that contains the PH NAL unit. In an embodiment, the temporal ID is similar to, but distinct from, a POC. The POC uniquely identifies each picture in sequence. In a single-layer bitstream, the temporal ID and the POC are the same. In a multi-layer bitstream (e.g., see FIG. 5), pictures within the same AU have different POCs but the same temporal ID.
[0152] In an embodiment, a PH NAL unit precedes a VCL NAL unit that contains the first slice 818 of the associated picture 814. This establishes an association between a PH 812 and a slice 818 of the associated picture 814 without having to have a picture header ID signaled in the PH 812 and referenced from a slice header 820. Thus, it can be inferred that all VCL NAL units between two PHs 812 belong to the same picture 814, and that the picture 814 is associated with the first PH 812 between the two PHs 812. In an embodiment, the first VCL NAL unit following a PH 812 contains the first slice 818 of the picture 814 associated with the PH 812.
[0153] In an embodiment, a PH NAL unit follows a picture-level parameter set (e.g., PPS) or a higher-level parameter set, such as DCI (also known as DPS), VPS, SPS, or PPS, with a temporal ID and layer ID that are both smaller than the temporal ID and layer ID of the PH NAL unit, respectively. As a result, these parameter sets are not repeated within a picture or access unit. This ordering allows PH 812 to be resolved immediately. That is, parameter sets containing parameters related to the entire picture are placed before the PH NAL unit in the bitstream. Those containing parameters for a portion of a picture are placed after the PH NAL unit.
[0154] As one alternative, PH NAL units follow a picture level parameter set and prefix supplemental enhancement information (SEI) messages, or higher level parameter sets such as DCI (also known as DPS), VPS, SPS, PPS, APS, SEI messages.
[0155] In an embodiment, the PH 812 may include a syntax element (e.g., a flag, etc.) that specifies the picture type of the picture 814 associated with the PH 812. The picture type may include, but is not limited to, the following types: an instantaneous decoder refresh (IDR) picture, a clean random access (CRA) picture, a GDR picture, a non-GDR picture that is a non-IRAP picture that includes only intra-predicted slices (I-slices), a non-GDR picture that is a non-IRAP picture that includes only unidirectional inter-predicted slices (P-slices), and a non-GDR picture that is a non-IRAP picture that includes only bidirectional inter-predicted slices (B-slices), P-slices, and I-slices. Thus, a single flag in the PH 812 may indicate whether all slices (e.g., slices 818) in a picture (e.g., picture 814) are, for example, slices of a GDR picture (e.g., GDR picture 602). It also supports signaling the restoration point picture order count (POC) for GDR pictures once within the PH 812 instead of in every slice header (e.g., slice header 820).
[0156] In an embodiment, one or more syntax elements are signaled within the PH 812 instead of the slice header 820 of the picture 814 associated with the PH 812. These syntax elements include the PPS ID referenced by the picture 814, a flag specifying whether the picture 814 is a reference picture, the color planes of the picture 814, the POC least significant bit (LSB) of the picture 814, the restoration point POC if the picture 814 is a GDR picture (e.g., GDR picture 602), a flag specifying whether the picture before the picture 814 is output, and a flag specifying whether the picture is an output picture. The PPS ID is an identifier that identifies the specific PPS of the picture 814. The color planes of the picture 814 include the luma and chroma components (e.g., Y, Cb, and Cr) of the picture 814. The POC LSB is a bit (or bits) that identifies the POC. A POC is associated with each picture (e.g., picture 814), uniquely identifies the associated picture among all pictures in the CLVS, and indicates the position of the associated picture in the output order relative to the output order positions of other pictures in the same CLVS that should be output from the DPB when the associated picture is output from the DPB. A restoration point POC is a POC that identifies a restoration point and, consequently, identifies the restoration point picture.
[0157] Moving these syntax elements from the slice header 820 to the PH 812 allows the syntax elements to be signaled only once for the entire picture 814, instead of repeating the syntax elements in each slice header 820. This reduces redundancy and increases coding efficiency.
[0158] A picture 814 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. In an embodiment, each PU 801 contains one and only one picture 814. Thus, within each PU 801, there is only one PH 812 and only one picture 814 corresponding to that PH 812. That is, a PU 801 contains a single or isolated picture 814.
[0159] Pictures 814 may be frames or fields. However, in a single CVS 816, all pictures 814 are frames or all pictures 814 are fields. The CVS 816 determines whether each coding element in the video bitstream 800 is a frame or a field. was Coding for coded layer video sequences (CLVS) was A video sequence. Notably, if video bitstream 800 contains a single layer, CVS 816 and CLVS are the same. CVS 816 and CLVS differ only if video bitstream 800 contains multiple layers (e.g., as shown in Figure 5).
[0160] The PUs 801 may collectively include a CLVS, which, in decoding order, coded A sequence of PUs 801 with the same value of nuh_layer_id consisting of a coded layer video sequence start (CLVSS) PU, followed by zero or more PUs 801 including all subsequent PUs 801 up to, but not including, a subsequent PU 801 that is a CLVSS PU. A CLVSS PU is a coded layer video sequence start (CLVSS) PU. wasA picture (e.g., picture 814) is a PU 801 that is a CLVSS picture. A CLVSS picture is a coding that is an IRAP picture with NoOutputBeforeRecoveryFlag equal to 1 or a GDR picture (e.g., GDR picture 602) with NoOutputBeforeRecoveryFlag equal to 1. was It's a picture.
[0161] Each picture 814 includes one or more slices 818. A slice 818 is an integer number of complete tiles or an integer number of contiguous complete CTU rows within the tiles of a picture (e.g., picture 814). Each slice 818 is contained exclusively in a single NAL unit (e.g., a VCL NAL unit). A tile (not shown) is a rectangular area of a CTU within a particular tile column and a particular tile row within a picture (e.g., picture 814). A tile is a partitioned portion of a picture generated by horizontal and vertical boundaries. A tile may be rectangular and / or square. Specifically, a tile includes four sides connected at right angles. The four sides include two pairs of parallel sides. Furthermore, the sides within a pair of parallel sides are of equal length. Thus, a tile may be any rectangular shape, and a square is a special case of a rectangle where all four sides are of equal length. An image / picture can include one or more tiles. A CTU (not shown) is a CTB of luma samples, two corresponding CTBs of chroma samples for a picture with three sample arrays, or a CTB of samples for a monochrome picture or a picture coded using a syntax structure used to code three separate color planes and samples. A CTB (not shown) may be an N x N block of samples, for some value of N. Consequently, the division of components into CTBs is a partition. A block (not shown) is an M x N (M columns x N rows) array of samples (e.g., pixels) or an M x N array of transform coefficients.
[0162] In an embodiment, each slice 818 includes a slice header 820. The slice header 820 includes a coding header that includes data elements related to all tiles or CTU rows within the tile represented in the slice 818. was It is part of the slice 818. That is, the slice header 820 contains information about the slice 818, such as the slice type, which reference pictures are used, etc.
[0163] The pictures 814 and their slices 818 contain data related to the image or video being coded or decoded, and thus may be referred to simply as the payload or data carried within the bitstream 800.
[0164] Those skilled in the art will understand that the bitstream 800 may include other parameters and information in practical applications.
[0165] 9 is an embodiment of a decoding method 900 implemented by a video decoder (e.g., video decoder 400). Method 900 may be performed after a bitstream is received directly or indirectly from a video encoder (e.g., video encoder 300). Method 900 improves the decoding process by ensuring that a picture has only one picture header and only one picture. In this way, the start point of an access unit, and therefore a picture, can be determined within a multi-layer bitstream. By constraining a picture to have a single picture header and a single picture, a multi-layer bitstream can be utilized in video coding without introducing coding errors. As a practical matter, this therefore improves codec performance, leading to a better user experience.
[0166] In block 902, the video decoder generates only one PH NAL unit and only one coding wasA PU (e.g., PU 801) is received that includes a picture (e.g., picture 814). In an embodiment, only one PH NAL unit includes a picture header. In an embodiment, the PU includes one or more video coding layer (VCL) NAL units. In an embodiment, the PU includes one or more non-video coding layer (VCL) NAL units.
[0167] In an embodiment, only one coding was A picture includes one or more slices (e.g., slice 818), each including a slice header (e.g., slice header 820). In an embodiment, each of the one or more slices is disposed in a VCL NAL unit. In an embodiment, a PU includes decoding capability information (DCI) disposed in a DCI NAL unit. In an embodiment, a PU includes a video parameter set (VPS) disposed in a VPS NAL unit. In an embodiment, a PU includes a sequence parameter set (SPS) disposed in an SPS NAL unit and a picture parameter set (PPS) disposed in a PPS NAL unit. In an embodiment, the VPS, SPS, and PPS are each included in a non-VCL NAL unit.
[0168] In block 904, the video decoder extracts only one coding image from the PU to obtain a decoded picture. wasDecoding a Picture. In an embodiment, decoding a PU includes decoding various slices 818 of a picture 814 according to information or instructions in one or more of the DCI 802, VPS 804, SPS 806, PPS 808, PH 812, and slice header 820. Once decoded, the picture 814 may be used to produce or generate an image or video sequence for presentation to a user on a display or screen of an electronic device (e.g., a smartphone, tablet, laptop, personal computer, etc.).
[0169] FIG. 10 is an embodiment of a method 1000 for encoding a video bitstream implemented by a video encoder (e.g., video encoder 300). Method 1000 may be performed when pictures (e.g., from a video) are encoded into a video bitstream and transmitted to a video decoder (e.g., video decoder 400). Method 1000 improves the encoding process by ensuring that a picture has only one picture header and only one picture. In this way, the start of an access unit, and therefore a picture, can be determined within a multi-layer bitstream. By constraining pictures to have a single picture header and a single picture, multi-layer bitstreams can be utilized in video coding without introducing coding errors. As a practical matter, this therefore improves codec performance, leading to a better user experience.
[0170] In block 1002, the video encoder generates only one PH NAL unit and only one coding wasGenerate a PU (e.g., PU 801) that includes a picture (e.g., picture 814). In an embodiment, only one PH NAL unit includes a picture header. In an embodiment, the PU includes one or more video coding layer (VCL) NAL units and one or more non-video coding layer (VCL) NAL units.
[0171] In an embodiment, only one coding was A picture contains one or more slices, each containing a slice header, and each of the one or more slices is arranged within a video coding layer (VCL) NAL unit. For example, a VCL NAL unit may be used to code a trailing picture or sub-picture. was TRAIL_NUT, including slices, step-wise temporal sublayer access (STSA) picture or subpicture coding was STSA_NUT containing slices, random access decodable leading (RADL) picture or sub-picture coding was RADL_NUT, including slices, random access skipped leading (RASL) picture or subpicture coding was RASL_NUT containing slices, instantaneous decoder refresh (IDR) picture or sub-picture coding was IDR_W_RADL or IDR_N_LP containing slices, clean random access (CRA) picture or subpicture coding wasCoding of CRA_NUT, GDR pictures or subpictures containing slices was It may be a GDR_NUT containing a slice, or a VCL NAL unit containing an intra random access point (IRAP) picture or sub-picture.
[0172] At block 1004, the video encoder encodes the PU into a video bitstream (e.g., bitstream 800). At block 1006, the video encoder stores the video bitstream for communication to a video decoder. The video bitstream may be stored in memory until the video bitstream is transmitted to the video decoder. Once received by the video decoder, the encoded video bitstream may be decoded (e.g., as described above) to produce or generate 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.).
[0173] The following syntax and semantics may be used to implement the embodiments disclosed herein. The following description is compared to the base text, which is the latest VVC draft specification. In other words, only deltas are described, while text in the base text not mentioned below applies as written. Text added to the base text is shown in bold or underlined, and deleted text is shown in italics.
[0174] Picture Header RBSP Syntax [Table 5]
[0175] Slice Header RBSP Syntax [Table 6]
[0176] Picture Header RBSP Semantics
[0177] The picture header indicates that the next VCL NAL unit in decoding order is the first coding was Coding as a slice was Contains information that is common to all slices of a picture.
[0178] pic_type indicates the coded picture characterization listed in Table 7-3 for a given value of pic_type. Values of pic_type SHOULD be set equal to 0 through 5, inclusive, in bitstreams conforming to this version of this specification. Other values of pic_type are reserved for future use by ITU-T / ISO / IEC. Decoders conforming to this version of this specification SHOULD ignore reserved values of pic_type. Table 7-3 Interpretation of pic_type [Table 7]
[0179] pic_parameter_set_id specifies the value of pps_pic_parameter_set_id for the PPS in use. The value of pic_parameter_set_id should be in the range 0 to 63 inclusive.
[0180] non_reference_picture_flag equal to 1 specifies that the picture associated with the picture header is not used as a reference picture. non_reference_picture_flag equal to 0 specifies that the picture is or is not used as a reference picture.
[0181] color_plane_id specifies the color plane associated with the picture associated with the picture header when separate_color_plane_flag is equal to 1. The value of color_plane_id should be in the range 0 to 2 inclusive. color_plane_id values 0, 1, and 2 correspond to the Y, Cb, and Cr planes, respectively.
[0182] Note: There is no dependency between the decoding processes of pictures with different color_plane_id values.
[0183] pic_order_cnt_lsb specifies the picture order count modulo MaxPicOrderCntLsb for the picture associated with the picture header. The length of the pic_order_cnt_lsb syntax element is log2_max_pic_order_cnt_lsb_minus4 + 4 bits. The value of pic_order_cnt_lsb should be in the range from 0 to MaxPicOrderCntLsb-1, inclusive.
[0184] recovery_poc_cnt specifies the recovery point of a decoded picture in output order. If the current GDR picture is followed in the CVS by a picture picA with a PicOrderCntVal equal to the current GDR picture's PicOrderCntVal plus the value of recover_poc_cnt, then picture picA is called the recovery point picture. Otherwise, the first picture in output order with a PicOrderCntVal greater than the current picture's PicOrderCntVal plus the value of recover_poc_cnt is called the recovery point picture. The recovery point picture should not precede the current GDR picture in decoding order. The value of recovery_poc_cnt should be in the range from 0 to MaxPicOrderCntLsb-1, inclusive.
[0185] The variable RpPicOrderCntVal is derived as follows:
[0186] RpPicOrderCntVal=PicOrderCntVal+recovery_poc_cnt (7-94)
[0187] The no_output_of_prior_pics_flag affects the output of previously decoded pictures in the decoded picture buffer after decoding a CLVSS picture that is not the first picture of the bitstream specified in Annex C.
[0188] pic_output_flag affects the decoded picture output and deletion process as specified in Annex C. If pic_output_flag is not present, it is inferred to be equal to 1.
[0189] pic_temporal_mvp_enabled_flag specifies whether a temporal motion vector predictor can be used for inter prediction. If pic_temporal_mvp_enabled_flag is equal to 0, the picture syntax element associated with the picture header should constrain the temporal motion vector predictor not to be used for decoding the picture. Otherwise (equal to pic_temporal_mvp_enabled_flagga1), the temporal motion vector predictor may be used for decoding the picture.
[0190] If pic_temporal_mvp_enabled_flag is not present, the following applies:
[0191] - If sps_temporal_mvp_enabled_flag is equal to 0, the value of pic_temporal_mvp_enabled_flag is inferred to be equal to 0.
[0192] - Otherwise (sps_temporal_mvp_enabled_flag is equal to 1), the value of pic_temporal_mvp_enabled_flag is inferred to be equal to pps_temporal_mvp_enabled_idc-1.
[0193] NAL unit header semantics.
[0194] nuh_layer_id specifies the identifier of the layer to which a VCL NAL unit belongs, or the identifier of the layer to which a non-VCL NAL unit applies.
[0195] The value of nuh_layer_id is was It should be the same for all VCL NAL units of a picture. was The value of nah_layer_id for a picture or layer access unit is was The value of nah_layer_id in the VCL NAL unit of a picture or layer access unit.
[0196] If nal_unit_type is equal to PH_NUT, the value of nuh_layer_id should be equal to the value of nuh_layer_id of the VCL NAL unit of the layer access unit that contains the picture header NAL unit. Table 7-1 NAL unit type codes and NAL unit type classes [Table 8-1] [Table 8-2]
[0197] nuh_temporal_id_plus1-1 specifies the temporal identifier of the NAL unit.
[0198] The value of nuh_temporal_id_plus1 must not be equal to 0.
[0199] The variable TemporalId is derived as follows:
[0200] TemporalId=nuh_temporal_id_plus1-1 (7-1)
[0201] If nal_unit_type is in the range from IDR_W_RADL to RSV_IRAP_VCL13, inclusive, then TemporalId shall be equal to 0.
[0202] When nal_unit_type is equal to STSA_NUT, TemporalId should not be equal to 0.
[0203] The value of TemporalId should be the same for all VCL NAL units of a layer access unit. was The value of TemporalId for a picture or layer access unit is coded was The value of TemporalId of the VCL NAL units of a picture or layer access unit. [Ed.(YK): Check whether all layer AUs in an AU should be required to have the same value of TemporariId.] The value of TemporariId of a sub-layer representation is the maximum value of TemporariId of all VCL NAL units of the sub-layer representation.
[0204] The values of TemporalId for non-VCL NAL units are constrained as follows:
[0205] - If nal_unit_type is equal to DPS_NUT, VPS_NUT, or SPS_NUT, TemporalId is equal to 0 and the TemporalId of the layer access unit containing the NAL unit SHOULD be equal to 0.
[0206] - Otherwise, if nal_unit_type is equal to PH_NUT, TemporalId should be equal to the TemporalId of the layer access unit that contains the NAL unit.
[0207] Otherwise, if nal_unit_type is not equal to EOS_NUT and is not equal to EOB_NUT, TemporalId should be greater than or equal to the TemporalId of the layer access unit that contains the NAL unit.
[0208] NOTE 5: If the NAL unit is a non-VCL NAL unit, the value of TemporalId is equal to the minimum of the TemporalId values of all layer access units to which the non-VCL NAL unit applies. If nal_unit_type is equal to PPS_NUT or APS_NUT, TemporalId is the minimum of all PPS and APS values that may be included at the beginning of the bitstream and may be the first coding was The picture has a TemporalId of 0, so it may be greater than or equal to the TemporalId of the stored layer access unit. If nal_unit_type is equal to PREFIX_SEI_NUT or SUFFIX_SEI_NUT, the SEI NAL unit may contain information that applies to bitstream subsets that contain layer access units with a TemporalId value greater than the TemporalId of the layer access unit that contains the SEI NAL unit, so the TemporalId may be greater than or equal to the TemporalId of the stored layer access unit.
[0209] NAL units and coding was The order of pictures and their association to layer access units and access units.
[0210] This section defines the NAL units and coding schemes for CVS that conform to one or more profiles specified in Annex A and are decoded using the decoding processes specified in Sections 2 to 10. was It defines the order of pictures and their association to layer access units and access units.
[0211] The layer access unit is One picture header NAL unit and , Contains one or more VCL NAL units One coding was It consists of a picture, zero or more VCL NAL units, and zero or more non-VCL NAL units. was The association of VCL NAL units to pictures is described in section 7.4.2.4.4.
[0212] An access unit consists of an access unit delimiter NAL unit and one or more layer access units in descending order of nuh_layer_id.
[0213] The first access unit of the bitstream starts from the first NAL unit of the bitstream.
[0214] Let firstPicHeaderNalUnitInAu be the picture header NAL unit that is the picture header of the first coded picture from which a PicOrderCntVal different from the PicOrderCntVal of the previous coded picture is derived. The first of the following NAL units that precede firstPicHeaderNalUnitInAu and that follows the last VCL NAL unit that precedes firstPicHeaderNalUnitInAu, if any, specifies the start of a new access unit:
[0215] -DPS NAL units (if present),
[0216] -VPS NAL units (if present),
[0217] -SPS NAL units (if present),
[0218] -PPS NAL units (if present),
[0219] -APS NAL units (if present),
[0220] - prefix SEI NAL unit (if present),
[0221] - NAL units with nal_unit_type in the range RSV_NVCL_25 to RSV_NVCL_26 (if present),
[0222] -NAL units with nal_unit_type in the range UNSPEC28 to UNSPEC29.
[0223] NOTE: Only the first NAL unit, if any, that precedes firstPicHeaderNalUnitInAu and follows the last VCL NAL unit that precedes firstPicHeaderNalUnitInAu is one of the above NAL units.
[0224] If there is no NAL unit as described above that precedes firstPicHeaderNalUnitInAu and follows the last VCL NAL unit that precedes firstPicHeaderNalUnitInAu, then firstPicHeaderNalUnitInAu starts a new access unit, if any.
[0225] Layer access unit or coding within an access unit wasThe order of pictures and non-VCL NAL units should obey the following constraints:
[0226] - Each layer access unit shall contain one and only one picture header NAL unit, which precedes the first VCL NAL unit of the layer access unit.
[0227] If DPS NAL units, VPS NAL units, SPS NAL units, or PPS NAL units are present within a layer access unit, they should precede the picture header NAL unit of the layer access unit.
[0228] When APS NAL units, prefix SEI NAL units, NAL units with nal_unit_type in the range RSV_NVCL_25 to RSV_NVCL_26, or NAL units with nal_unit_type in the range UNSPEC28 to UNSPEC29 are present in a layer access unit, they MUST NOT follow the last VCL NAL unit of the layer access unit.
[0229] - A NAL unit with nal_unit_type equal to SUFFIX_SEI_NUT or RSV_NVCL_27 or in the range UNSPEC30 to UNSPEC31 in a layer access unit should not precede the first VCL NAL unit of a layer access unit.
[0230] When an end of sequence NAL unit is present within an access unit, it should be the last NAL unit among all NAL units within the access unit other than the end of bitstream NAL unit (if present).
[0231] When the end of a bitstream NAL unit occurs within an access unit, it should be the last NAL unit within the access unit.
[0232] Slice Header RBSP Semantics
[0233] (outside 1) TIFF0007806383000011.tif29170
[0234] The variable CuQpDeltaVal specifies the difference between the luma quantization parameter of the coding unit containing cu_qp_delta_abs and its prediction, and is set equal to 0. Cb , CuQpOffset Cr , and CuQpOffset CbCr is the Qp′ of the coding unit that contains the cu_chroma_qp_offset_flag. Cb , Qp′ Cr , and Qp′ CbCr Specifies the values that should be used when determining the values of each of the quantization parameters, and are all set equal to 0.
[0235] (outside 2) TIFF0007806383000012.tif17170
[0236] It is a bitstream conformance requirement that the value of TemporalId of the current picture be greater than or equal to the value of TemporalId of the PPS with pps_pic_parameter_set_id equal to slice_pic_parameter_set_id.
[0237] slice_address specifies the slice address of the slice. When not present, the value of slice_address is inferred to be equal to 0.
[0238] If rect_slice_flag is equal to 0, the following applies:
[0239] -The slice address is the brick ID specified in equation (7-59).
[0240] -slice_address is Ceil(Log2(NumBricksInPic)) bits long.
[0241] The value of -slice_address should be in the range 0 to NumBricksInPic-1 inclusive.
[0242] Otherwise (rect_slice_flag equals 1), the following applies:
[0243] - The slice address is the slice ID of the slice.
[0244] - The length of the slice_address is signalled_slice_id_length_minus1+1 bits.
[0245] If signalled_slice_id_flag is equal to 0, the value of slice_address shall be in the range 0 to num_slices_in_pic_minus1, inclusive. Otherwise, the value of slice_address shall be in the range 0 to 2, inclusive. (signalled_slice_id_length_minus1+1) Should be in the range -1.
[0246] It is a requirement for bitstream conformance that the following constraints apply:
[0247] -slice_address value is the same as coding was Any other coding of the picture was It must not be equal to the value of slice_address of the slice NAL unit.
[0248] When -rect_slice_flag is equal to 0, the slices of the picture should be in ascending order of their slice_address values.
[0249] The shape of a picture slice must be such that each brick, when decoded, has its entire left and top boundaries consisting of the picture boundary or of a previously decoded brick.
[0250] num_bricks_in_slice_minus1, if present, specifies the number of bricks in the slice minus 1. The value of num_bricks_in_slice_minus1 should be in the range 0 to NumBricksInPic-1, inclusive. If rect_slice_flag is equal to 0 and single_brick_per_slice_flag is equal to 1, the value of num_bricks_in_slice_minus1 is inferred to be equal to 0. If single_brick_per_slice_flag is equal to 1, the value of num_bricks_in_slice_minus1 is inferred to be equal to 0.
[0251] The variables NumBricksInCurrSlice, which specifies the number of bricks in the current slice, and SliceBrickIdx[i], which specifies the brick index of the ith brick in the current slice, are derived as follows:
number
[0252] The variables SubPicIdx, SubPicLeftBoundaryPos, SubPicTopBoundaryPos, SubPicRightBoundaryPos, and SubPicBotBoundaryPos are derived as follows:
number
[0253] (Outside 3) TIFF0007806383000015.tif22170
[0254] slice_type specifies the coding type of the slice according to Table 7-11. Table 7-11 Association of names to slice_type [Table 9]
[0255] If nal_unit_type is a value of nal_unit_type in the range IDR_W_RADL to CRA_NUT, inclusive, and the current picture is the first picture in an access unit, slice_type shall be equal to 2. When not present, the slice_type value is inferred to be equal to 2.
[0256] (outside 4) TIFF0007806383000017.tif22170
[0257] (outside 5) TIFF0007806383000018.tif6170
[0258] (outside 6) TIFF0007806383000019.tif22170
[0259] (outside 7) TIFF0007806383000020.tif50170
[0260] (outside 8) TIFF0007806383000021.tif6170
[0261] (outer 9) TIFF0007806383000022.tif7170
[0262] (Outside 10) TIFF0007806383000023.tif16170
[0263] (Outside 11) TIFF0007806383000024.tif17170
[0264] (Outside 12) TIFF0007806383000025.tif34170
[0265] (Outside 13) TIFF0007806383000026.tif6170
[0266] (Outside 14) TIFF0007806383000027.tif13170
[0267] (Outside 15) TIFF0007806383000028.tif17170
[0268] (Outside 16) TIFF0007806383000029.tif34170
[0269] Picture order count decoding process.
[0270] The output of this process is PicOrderCntVal, the picture order count of the current picture.
[0271] Each coding was A picture is associated with a picture order count variable denoted as PicOrderCntVal.
[0272] If the current picture is not a CLVSS picture, the variables prevPicOrderCntLsb and prevPicOrderCntMsb are derived as follows:
[0273] - Let prevTid0Pic be the previous picture in decoding order that has nuh_layer_id equal to the nuh_layer_id of the current picture and TemporalId equal to 0 and is not a RASL or RADL picture.
[0274] - The variable prevPicOrderCntLsb is the pic_order_cnt_lsb is set equal to
[0275] - The variable prevPicOrderCntMsb is set equal to the PicOrderCntMsb of prevTid0Pic.
[0276] The variable PicOrderCntMsb for the current picture is derived as follows:
[0277] If the current picture is a CLVSS picture, PicOrderCntMsb is set equal to 0.
[0278] Otherwise, PicOrderCntMsb is derived as follows:
number
[0279] PicOrderCntVal is derived as follows:
number
[0280] NOTE 1: For CLVSS pictures, PicOrderCntMsb is set equal to 0, so all CLVSS pictures have PicOrderCntVal equal to pic_order_cnt_lsb.
[0281] The value of PicOrderCntVal is -2 inclusive. 31 ~2 31 Should be in the range -1.
[0282] In one CVS, any two codings with the same value of nuh_layer_id was The PicOrderCntVal values of the pictures should not be the same.
[0283] All pictures in any particular access unit have the same value of PicOrderCntVal.
[0284] The function PicOrderCnt(picX) is specified as follows:
number
[0285] The function DiffPicOrderCnt(picA,picB) is specified as follows:
number
[0286] The resulting bit stream is -2 inclusive. 15 From 2 15 It should not contain data that results in the value of DiffPicOrderCnt(picA, picB) used in the decoding process being outside the range of -1.
[0287] Note 2: Let X be the current picture, and Y and Z be two other pictures in the same CVS. If DiffPicOrderCnt(X,Y) and DiffPicOrderCnt(X,Z) are both positive or both negative, then Y and Z are considered to have the same output order in the direction from X.
[0288] A typical decoding process that produces unavailable reference pictures.
[0289] If the current picture is a CRA picture with NoIncorrectPicOutputFlag set to 1, or a GDR picture with NoIncorrectPicOutputFlag set to 1, this process was Called once per picture.
[0290] When this process is called, the following applies:
[0291] - for each RefPicList[i][j], i in the range 0 to 1 inclusive and j in the range 0 to num_ref_entries[i][RplsIdx[i]]-1, inclusive, equals "no reference picture", a picture is generated as specified in Section 8.3.4.2, with the following applying:
[0292] - The value of nuh_layer_id of the created picture is set equal to the nuh_layer_id of the current picture.
[0293] If st_ref_pic_flag[i][RplsIdx[i]][j] is equal to 1, the value of PicOrderCntVal of the generated picture is set equal to RefPicPocList[i][j] and the generated picture is marked as "used for short-term reference".
[0294] - Otherwise (st_ref_pic_pic_flag[i][RplsIdx[][j] is equal to 0), the value of PicOrderCntVal for the generated image is set equal to RefPicLtPocList[i][j], and the pic_order_cnt_lsb The value of is assumed to be equal to (RefPicLtPocList[i][j]&(MaxPicOrderCntLsb-1)) and the generated picture is marked as "used for long term reference".
[0295] The value of PicOutputFlag of the generated reference picture is set equal to 0.
[0296] - RefPicList[i][j] is set to the generated reference pictures.
[0297] Derivation process for temporal luma motion vector prediction.
[0298] The variables mvLXCol and availableFlagLXCol are derived as follows:
[0299] - pic_temporal_mvp_enabled_flag If cbWidth*cbHeight is equal to 0 or (cbWidth*cbHeight) is less than or equal to 32, then both components of mvLXCol are set equal to 0 and avalableFlagLXCol is set equal to 0.
[0300] -Other cases ( pic_temporal_mvp_enabled_flag is equal to 1), the following ordered steps are applied:
[0301] 1. The bottom right co-position motion vector, and the bottom and right boundary sample positions are derived as follows:
number
[0302] -If yCb>>CtbLog2SizeY is equal to yColBr>>CtbLog2SizeY and yColBr is less than or equal to botBoundaryPos and xColBr is less than or equal to rightBoundaryPos, then the following applies:
[0303] The variable colCb specifies the luma coding block that covers the modified position given by ((xColBr>>3)<<3, (yColBr>>3)<<3) inside the co-located picture specified by ColPic.
[0304] - The luma position (xColCb, yColCb) is set equal to the top-left sample of the co-located luma coding block specified by colCb relative to the top-left luma sample of the co-located picture specified by ColPic.
[0305] The co-located motion vector derivation process specified in Section 8.5.2.12 is called with currentCb, colCb, ((xColCb, yColCb), refIdxLX, and sbFlag set to 0 as inputs, and the output is assigned to mvLXCol and availableFlagLXCol.
[0306] Otherwise, both components of mvLXCol are set equal to 0 and avalableFlagLXCol is set equal to 0.
[0307] 2. If availableFlagLXCol is equal to 0, the central co-location motion vector is derived as follows:
number
[0308] The variable colCb specifies the luma coding block that covers the modified position given by ((xColCtr>>3)<<3, (yColCtr>>3)<<3) inside the co-located picture specified by ColPic.
[0309] - The luma position (xColCb, yColCb) is set equal to the top-left sample of the co-located luma coding block specified by colCb relative to the top-left luma sample of the co-located picture specified by ColPic.
[0310] The co-located motion vector derivation process specified in Section 8.5.2.12 is called with currentCb, colCb, ((xColCb, yColCb), refIdxLX, and sbFlag set to 0 as inputs, and the output is assigned to mvLXCol and availableFlagLXCol.
[0311] Sub-block based temporal merging candidate derivation process.
[0312] The availability flag availableFlagSbCol is derived as follows:
[0313] If one or more of the following conditions are true, availableFlagSbCol is set equal to 0:
[0314] - pic_temporal_mvp_enabled_flag i is equal to 0.
[0315] -ps_sbtmvp_enabled_flag equals 0.
[0316] -cbWidth is less than 8.
[0317] -cbHeight is less than 8.
[0318] Otherwise, the following ordered steps apply:
[0319] 1. The position (xCtb, yCtb) of the top left sample of the luma coding tree block including the current coding block and the position (xCtr, yCtr) of the bottom right center sample of the current luma coding block are derived as follows:
number
[0320] 2. The luma position (xColCtrCb, yColCtrCb) is set equal to the top-left sample of the co-located luma coding block covering the position given by (xCtr, yCtr) in ColPic relative to the top-left luma sample of the co-located picture specified by ColPic.
[0321] 3. The sub-block based temporal merge based motion data derivation process specified in Section 8.5.5.4 is invoked with the position (xCtb, yCtb), position (xColCtrCb, yColCtrCb), availability flag availableFlagA1, prediction list usage flag predFlagLXA1, reference refIdxLXA1, and motion vector mvLXA1 as inputs, where X is 0 and 1, and the prediction list usage flag ctrPredFlagLX of the co-located block, where X is 0 and 1, and the temporal motion vector tempMv as output.
[0322] 4. The variable availableFlagSbCol is derived as follows:
[0323] If both ctrPredFlagL0 and ctrPredFlagL1 are equal to 0, then availableFlagSbCol is set equal to 0.
[0324] Otherwise, availableFlagSbCol is set equal to 1.
[0325] A process for deriving motion vector merge candidates for the configured affine control points.
[0326] The fourth (co-located bottom right) control point motion vector cpMvLXCorner[3], reference index refIdxLXCorner[3], prediction list usage flag predFlagLXCorner[3], and availability flag availableFlagCorner[3], where X is 0 and 1, are derived as follows:
[0327] The reference index of the temporal merge candidate refIdxLXCorner[3] is set equal to 0, where X is 0 or 1.
[0328] The variables mvLXCol and availableFlagLXCol are derived as follows, where X is 0 or 1:
[0329] - pic_temporal_mvp_enabled_flag is set equal to 0, then both components of mvLXCol are set equal to 0 and avalableFlagLXCol is set equal to 0.
[0330] In other cases ( pic_temporal_mvp_enabled_flag is equal to 1), the following applies:
number
[0331] -If yCb>>CtbLog2SizeY is equal to yColBr>>CtbLog2SizeY and yColBr is less than pic_height_in_luma_samples and xColBr is less than pic_width_in_luma_samples then the following applies:
[0332] The variable colCb specifies the luma coding block that covers the modified position given by ((xColBr>>3)<<3, (yColBr>>3)<<3) inside the co-located picture specified by ColPic.
[0333] - The luma position (xColCb, yColCb) is set equal to the top-left sample of the co-located luma coding block specified by colCb relative to the top-left luma sample of the co-located picture specified by ColPic.
[0334] The co-located motion vector derivation process specified in Section 8.5.2.12 is called with inputs currCb, colCb, (xColCb, yColCb), refIdxLXCorner[3], and sbFlag set equal to 0, and the output is assigned to mvLXCol and availableFlagLXCol.
[0335] Otherwise, both components of mvLXCol are set equal to 0 and avalableFlagLXCol is set equal to 0.
[0336] The variables availableFlagCorner[3], predFlagL0Corner[3], cpMvL0Corner[3] and predFlagL1Corner[3] are derived as follows:
number
[0337] If slice_type is equal to B, the variables avalableFlagCorner[3], predFlagL1Corner[3], and cpMvL1Corner[3] are derived as follows:
number
[0338] 11 is a schematic diagram of a video coding device 1100 (e.g., video encoder 300 or video decoder 400) according to an embodiment of the present disclosure. The video coding device 1100 is suitable for implementing embodiments of the disclosure as described herein. The video coding device 1100 includes an ingress port 1110 and receiver units (Rx) 1120 for receiving data, a processor, logic unit, or central processing unit (CPU) 1130 for processing data, a transmitter unit (Tx) 1140 and egress port 1150 for transmitting data, and a memory 1160 for storing data. The video coding device 1100 may also include optical-to-electrical (OE) components and electrical-to-optical (EO) components for egress or ingress of optical or electrical signals connected to an ingress port 1110, a receiver unit 1120, a transmitter unit 1140, and an egress port 1150.
[0339] The processor 1130 is implemented in hardware and software. The processor 1130 may be implemented as one or more CPU chips, cores (e.g., multi-core processors), field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), and digital signal processors (DSPs). The processor 1130 communicates with the ingress port 1110, the receiver unit 1120, the transmitter unit 1140, the egress port 1150, and the memory 1160. The processor 1130 includes a coding module 1170. The coding module 1170 implements embodiments of the disclosure described above. For example, the coding module 1170 implements, processes, prepares, or provides various codec functions. The inclusion of the coding module 1170 thus provides substantial improvements to the functionality of the video coding device 1100 and results in the transformation of the video coding device 1100 into different states. Alternatively, the coding module 1170 is implemented as instructions stored in the memory 1160 and executed by the processor 1130 .
[0340] Video coding device 1100 may also include input and / or output (I / O) devices 1180 for communicating data to and from a user. I / O devices 1180 may include output devices such as a display for displaying video data, speakers for outputting audio data, etc. I / O devices 1180 may also include input devices such as a keyboard, mouse, trackball, etc., and / or corresponding interfaces for interfacing with such output devices.
[0341] Memory 1160 may include one or more disks, tape drives, and solid-state drives, and may be used to store programs when they are selected for execution and as overflow data storage for storing instructions and data read during the execution of the programs. Memory 1160 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).
[0342] 12 is a schematic diagram of an embodiment of a means for coding 1200. In an embodiment, the means for coding 1200 is implemented within a video coding device 1202 (e.g., video encoder 300 or video decoder 400). The video coding device 1202 includes a means for receiving 1201. The means for receiving 1201 is configured to receive a picture to encode or a bitstream to decode. The video coding device 1202 includes a means for transmitting 1207 coupled to the means for receiving 1201. The means for transmitting 1207 is configured to transmit the bitstream to a decoder or transmit the decoded image to a display means (e.g., one of the I / O devices 1180).
[0343] The video coding device 1202 includes a storage means 1203. The storage means 1203 is coupled to at least one of the receiving means 1201 or the transmitting means 1207. The storage means 1203 is configured to store instructions. The video coding device 1202 further includes a receiving means 1205. The processing means 1205 is coupled to the storage means 1203. The processing means 1205 is configured to execute the instructions stored in the storage means 1203 to perform the methods disclosed herein.
[0344] It should be further 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 exemplary only. Similarly, additional steps may be included in such methods, and certain steps may be omitted or combined in methods according to various embodiments of the present disclosure.
[0345] Although several embodiments have been 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 of the present invention should be considered illustrative and not restrictive, and are not intended to be limited to the details given herein. For example, various elements or components may be combined or integrated into another system, or certain features may be omitted or not implemented.
[0346] Additionally, the techniques, systems, subsystems, and methods described and illustrated in various embodiments 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 discussed as coupled or directly coupled or in communication with each other may instead be indirectly coupled or communicate through some interface, device, or intermediate component, whether electrical, mechanical, or otherwise. Other examples of modifications, substitutions, and alterations will be ascertainable by those skilled in the art and may be made without departing from the spirit and scope of the present disclosure.
Claims
1. 1. A method of decoding implemented by a video decoder, comprising: receiving, by the video decoder, a video bitstream, the video bitstream including a plurality of sets, each set of the plurality of sets including one or more non-video coding layer (non-VCL) NAL units and only one coded picture, the plurality of sets included in the same access unit, the non-VCL NAL units including a PH NAL unit used to convey a picture header (PH), within each of the plurality of sets, a non-VCL NAL unit other than the PH NAL unit including a picture level or higher level parameter set is arranged before the PH NAL unit and the only coded picture, the PH NAL unit having a picture header NAL unit type (PH_NUT) and an associated video coding layer (VCL) NAL unit, the PH_NUT indicating that a layer identifier (ID) of the PH NAL unit is equal to the layer ID of the associated VCL NAL unit and that a temporal ID of the PH NAL unit is equal to the temporal ID of the associated VCL NAL unit; decoding, by the video decoder, the coded picture from the video bitstream to obtain a decoded picture; A method comprising:
2. The method of claim 1 , wherein one PH NAL unit includes the picture header corresponding to only one coded picture.
3. The method according to any one of claims 1 to 2, wherein each of the coded pictures is associated with one or more Video Coding Layer (VCL) NAL units.
4. The method according to any one of claims 1 to 3, wherein each of the coded pictures is associated with one or more non-video coding layer (non-VCL) NAL units.
5. 5. The method of claim 1, wherein each of the coded pictures includes one or more slices, each slice including a slice header, and each of the one or more slices is arranged in a video coding layer (VCL) NAL unit.
6. The method according to any of claims 1 to 5, wherein each of the coded pictures is associated with a decoding parameter set (DPS) that is placed in a DPS NAL unit.
7. The method according to any of claims 1 to 6, wherein each of the coded pictures is associated with a video parameter set (VPS) that is placed in a VPS NAL unit.
8. 7. The method of claim 1, wherein each of the coded pictures is associated with a sequence parameter set (SPS) located in an SPS NAL unit and a picture parameter set (PPS) located in a PPS NAL unit.
9. The method according to any one of claims 1 to 6, further comprising the step of displaying the decoded picture on a display of an electronic device.
10. 1. A method of encoding performed by a video encoder, the method comprising: generating, by the video encoder, a video bitstream, the video bitstream including a plurality of sets, each set including one or more non-video coding layer (non-VCL) NAL units and only one coded picture, the plurality of sets included in the same access unit, the non-VCL NAL units including a PH NAL unit used to convey a picture header (PH), within each of the plurality of sets, a non-VCL NAL unit other than the PH NAL unit including a picture-level or higher-level parameter set is arranged before the PH NAL unit and the only coded picture, the PH NAL unit having a picture header NAL unit type (PH_NUT) and an associated video coding layer (VCL) NAL unit, the PH_NUT indicating that a layer identifier (ID) of the PH NAL unit is equal to the layer ID of the associated VCL NAL unit and that a temporal ID of the PH NAL unit is equal to the temporal ID of the associated VCL NAL unit; storing the video bitstream for communication by the video encoder to a video decoder; A method comprising:
11. The method of claim 10 , wherein one PH NAL unit includes the picture header corresponding to only one coded picture.
12. The method according to any one of claims 10 to 11, wherein each of the coded pictures is associated with one or more video coding layer (VCL) NAL units and one or more non-video coding layer (non-VCL) NAL units.
13. 13. The method of claim 10, wherein each of the coded pictures includes one or more slices, each slice including a slice header, and each of the one or more slices is arranged in a video coding layer (VCL) NAL unit.
14. A decoding device, comprising: a receiver configured to receive a video bitstream, the video bitstream including a plurality of sets, each set including one or more non-video coding layer (non-VCL) NAL units and only one coded picture, the plurality of sets included in the same access unit, the non-VCL NAL units including a PH NAL unit used to convey a picture header (PH), within each of the plurality of sets, a non-VCL NAL unit other than the PH NAL unit including a picture level or higher level parameter set is arranged before the PH NAL unit and the only coded picture, the PH NAL unit having a picture header NAL unit type (PH_NUT) and an associated video coding layer (VCL) NAL unit, the PH_NUT indicating that a layer identifier (ID) of the PH NAL unit is equal to the layer ID of the associated VCL NAL unit and that a temporal ID of the PH NAL unit is equal to the temporal ID of the associated VCL NAL unit; a memory coupled to the receiver, the memory storing instructions; and a processor coupled to the memory, the processor configured to execute the instructions to cause the decoding device to decode the coded picture from the video bitstream to obtain a decoded picture; A decoding device comprising:
15. The decoding device of claim 14 , wherein one PH NAL unit includes the picture header corresponding to only one coded picture.
16. 16. The decoding device according to claim 14, wherein each of the coded pictures is associated with one or more video coding layer (VCL) NAL units and one or more non-video coding layer (non-VCL) NAL units.
17. A decoding device as described in any one of claims 15 to 16, wherein each of the coded pictures includes one or more slices, each slice including a slice header, and each of the one or more slices is placed in a video coding layer (VCL) NAL unit.
18. 1. An encoding device, comprising: a memory containing instructions; a processor coupled to the memory, the processor executing the instructions to cause the encoding device to generate a video bitstream, the video bitstream including a plurality of sets, each set of the plurality of sets including one or more non-video coding layer (non-VCL) NAL units and only one coded picture, the plurality of sets included in the same access unit, the non-VCL NAL units including a PH NAL unit used to convey a picture header (PH), within each of the plurality of sets including a parameter set at a picture level or higher, the non-VCL NAL units other than the PH NAL units being positioned before the PH NAL units and the only coded picture, the PH NAL units having a picture header NAL unit type (PH_NUT) and an associated video coding layer (VCL) NAL unit, the PH_NUT including a layer identifier (ID) of the PH NAL unit equal to the layer ID of the associated VCL NAL unit, and a temporal ID of the PH NAL unit equal to the layer ID of the associated VCL NAL unit, a processor indicating that the NAL unit's time ID is equal to the time ID of the NAL unit; a transmitter coupled to the processor, the transmitter configured to transmit the video bitstream to a video decoder; An encoding device comprising:
19. The encoding device of claim 18 , wherein one PH NAL unit includes the picture header corresponding to only one coded picture.
20. 20. The encoding device according to claim 18, wherein each of the coded pictures is associated with one or more video coding layer (VCL) NAL units and one or more non-video coding layer (non-VCL) NAL units, each of the coded pictures includes one or more slices, each slice includes a slice header, and each of the one or more slices is located in one of the one or more VCL NAL units.
21. 1. A coding device comprising: a receiver configured to receive and encode pictures or receive and decode a video bitstream; a transmitter coupled to the receiver, the transmitter configured to transmit the video bitstream to a decoder or transmit a decoded image to a display; a memory coupled to at least one of the receiver or the transmitter, the memory configured to store instructions; and a processor coupled to said memory, said processor configured to execute said instructions stored in said memory in order to perform a method according to any one of claims 1 to 9 or any one of claims 10 to 13; Coding equipment including.
22. 22. The coding apparatus of claim 21, further comprising a display configured to display the decoded picture.
23. An encoder; a decoder in communication with the encoder; wherein the encoder or the decoder comprises a decoding device according to any one of claims 14 to 17, an encoding device according to any one of claims 18 to 20, or a coding apparatus according to any one of claims 21 to 22.
24. A means for coding, comprising: receiving means configured to receive and encode a picture or receive and decode a video bitstream; transmitting means coupled to said receiving means, said transmitting means configured to transmit said video bitstream to decoding means or to transmit decoded images to display means; a storage means coupled to at least one of the receiving means or the transmitting means, the storage means configured to store instructions; processing means coupled to said storage means, said processing means being configured to execute the instructions stored in said storage means in order to perform a method according to any one of claims 1 to 9 or any one of claims 10 to 13; A means of coding including:
25. A computer-readable storage medium storing a computer program, the computer program being executable by a processor, the computer program causing the processor to perform the method of any one of claims 1 to 9 or any one of claims 10 to 13 when the computer program is executed by the processor.
26. A program comprising program code for carrying out the method according to any one of claims 1 to 9 or any one of claims 10 to 13 when the program is run on a computer or processor.
27. A coder comprising processing circuitry for carrying out the method of any one of claims 1 to 9 or any one of claims 10 to 13.
Citation Information
Patent Citations
Moving picture decoder and moving picture decoding method
JP2013048307A
Random access in AVS-M video bitstreams
US20060171471A1
Image coding method, image decoding method, image coding apparatus, image decoding apparatus, and image coding and decoding apparatus
US20130070841A1
Signaling for sub-decoded picture buffer (sub-DPB) based DPB operations in video coding
US20150103884A1
Apparatus, a method and a computer program for video coding and decoding
US20150195573A1