Support of mixed irap and non-irap pictures within access unit in multi-layer video bitstreams

By obtaining the POC MSB length of the IRAP picture, we solve the encoding error problem of IRAP and non-IRAP pictures in multi-layer video encoding, ensuring the consistent POC values ​​in the same access unit, improving the reliability and user experience of video encoding.

JP2025016694APending Publication Date: 2025-02-04HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2024193497
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2019-09-24
Filing Date
2024-11-05
Publication Date
2025-02-04

AI Technical Summary

Technical Problem

In prior art, when dealing with multi-layer video encoding, encoding errors in hybrid Intra Access Point (IRAP) and non-IRAP pictures are difficult to solve, especially encoding errors caused in the same access unit.

Method used

By obtaining the highest bit (MSB) length of the IRAP picture sequential count (POC) of the IRAP picture instead of simply resetting it, ensure that the POC MSB values ​​of the IRAP and non-IRAP pictures are consistent in the same access unit, avoiding encoding errors.

Benefits of technology

It effectively avoids encoding errors, improves the reliability and user experience of video encoding, and ensures the quality of video during sending, receiving and viewing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025016694000001_ABST
    Figure 2025016694000001_ABST
Patent Text Reader

Abstract

To provide a method of decoding implemented by a video decoder.SOLUTION: A method includes receiving a bitstream 900 including a sequence parameter set (SPS) containing a first flag and an indicator of a length of a picture order count (POC) most significant bits (MSB) value when present in a header referring to the SPS. A value of the first flag specifies that a second flag is present in the header referring to the SPS, and a value of the second flag specifies that the POC MSB value is present in the header. The method also includes: determining a POC value based on the POC MSB value; identifying a picture from the bitstream based on the POC value; and decoding the picture to obtain a decoded picture.SELECTED DRAWING: Figure 10
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] [CROSS REFERENCE TO RELATED APPLICATIONS] This patent application claims the benefit of U.S. Provisional Patent Application No. 62 / 905,141, entitled “Support for Mixed RAP and Non-IRAP Pictures within Access Units in Multi-Layer Video Bitstreams,” filed on September 24, 2019 by Ye-Kui Wang.

[0002] In general, this disclosure relates to multi-layer video bitstreams in video coding. More specifically, this disclosure relates to supporting multi-layer video bitstreams that include both intra random access point (IRAP) and non-IRAP pictures. [Background technology]

[0003] The amount of video data required to render even a relatively short video can be significant, which can result in difficulties when streaming or otherwise communicating the data over communication networks with limited bandwidth capacity. Thus, video data is generally compressed before being communicated over modern telecommunications networks. The size of the video can also be an issue when the video is stored on a storage device, since memory resources may be limited. Video compression devices often use software and / or hardware at the source to code the video data before transmission or storage, thereby reducing the amount of data required to represent a digital video image. The compressed data is then received at the destination by a video decompression device, which decodes the video data. Limited network resources and an ever-increasing demand for high video quality have led to a desire for improved compression / decompression techniques that improve compression ratios with little or no sacrifice in image quality. Summary of the Invention

[0004] A first aspect relates to a method of decoding implemented by a video decoder, the method comprising: receiving, by the video decoder, a bitstream including a sequence parameter set (SPS) and a header referencing the SPS, where the SPS includes a first flag, where the header includes a second flag, a picture order count (POC) most significant bit (MSB) value length indicator, and a POC MSB value, where the value of the first flag specifies that the second flag is present in the header, and where the value of the second flag specifies that the POC MSB value is present in the header; determining, by the video decoder, a POC value based on the POC MSB value; identifying, by the video decoder, a picture from the bitstream based on the POC value; and decoding, by the video decoder, the picture to obtain a decoded picture.

[0005] The method provides a technique for simplifying picture order count (POC) derivation in multi-layer video coding when the same access unit (AU) includes both IRAP and non-IRAP pictures. In single-layer video coding, the POC most significant bit (MSB) value is reset when an IRAP picture is encountered. In multi-layer video coding where the same AU includes both IRAP and non-IRAP pictures in different layers, resetting the POC MSB value when an IRAP picture is encountered may result in IRAP and non-IRAP pictures having different POC MSB values, which may cause coding errors. To solve this, instead of resetting the POC MSB value for the IRAP picture, the POC MSB value for the IRAP picture and the POC MSB length for the IRAP picture are obtained from the bitstream. That is, the POC MSB value for the IRAP picture and the POC MSB length for the IRAP picture are signaled in the bitstream. This ensures that the POC MSB values ​​of IRAP and non-IRAP pictures in the same AU remain the same, eliminating potential coding errors. Thus, the coder / decoder (i.e., "codec") in video coding is improved compared to current codecs. In practical terms, the improvement of the video coding process provides a better user experience when videos are transmitted, received, and / or viewed.

[0006] Optionally, in any of the preceding aspects, another implementation of the aspect provides that the first flag includes a POC MSB flag designated as sps_poc_msb_cycle_flag.

[0007] Optionally, in any of the preceding aspects, another implementation of the aspect provides that the value of the first flag is one.

[0008] Optionally, in any of the preceding aspects, another implementation of the aspect provides that the second flag includes another POC MSB flag and is designated as ph_poc_msb_cycle_present_flag.

[0009] Optionally, in any of the preceding aspects, another implementation of the aspect provides that the value of the second flag is one.

[0010] Optionally, in any of the preceding aspects, another implementation of the aspect provides that the POC value is determined by concatenating a POC MSB value to a POC least significant bit (LSB) value.

[0011] Optionally, in any of the preceding aspects, another implementation of the aspect provides that the second flag is a picture level flag.

[0012] Optionally, in any of the preceding aspects, another implementation of the aspect provides that the length indicator+1 specifies the length of the POC MSB in bits.

[0013] Optionally, in any of the preceding aspects, another implementation of the aspect provides for displaying the picture in a decoded state on a display of an electronic device.

[0014] A second aspect relates to a method of encoding implemented by a video encoder, the method comprising: setting, by the video encoder, a first flag in a sequence parameter set (SPS) to a value that specifies that a second flag is present in a header that references the SPS; providing, by the video encoder, an indicator in the SPS of a length of a Picture Order Count (POC) Most Significant Bit (MSB) value in the header; setting, by the video encoder, a second flag in the header to a value that specifies that the POC MSB value is present in the header; encoding, by the video encoder, the SPS and the header into a bitstream; and storing, by the video encoder, the bitstream for communication to a video decoder.

[0015] The method provides a technique for simplifying picture order count (POC) derivation in multi-layer video coding when the same access unit (AU) includes both IRAP and non-IRAP pictures. In single-layer video coding, the POC most significant bit (MSB) value is reset when an IRAP picture is encountered. In multi-layer video coding where the same AU includes both IRAP and non-IRAP pictures in different layers, resetting the POC MSB value when an IRAP picture is encountered may result in IRAP and non-IRAP pictures having different POC MSB values, which may cause coding errors. To solve this, instead of resetting the POC MSB value for the IRAP picture, the POC MSB value for the IRAP picture and the POC MSB length for the IRAP picture are obtained from the bitstream. That is, the POC MSB value for the IRAP picture and the POC MSB length for the IRAP picture are signaled in the bitstream. This ensures that the POC MSB values ​​of IRAP and non-IRAP pictures in the same AU remain the same, eliminating potential coding errors. Thus, the coder / decoder (i.e., "codec") in video coding is improved compared to current codecs. In practical terms, the improvement of the video coding process provides a better user experience when videos are transmitted, received, and / or viewed.

[0016] Optionally, in any of the above-mentioned aspects, another implementation of the aspect provides that the first flag includes a POC MSB flag designated as sps_poc_msb_cycle_flag, and a value of the first flag is one.

[0017] Optionally, in any of the above-mentioned aspects, another implementation of the aspect provides that the second flag includes another POC MSB flag and is specified as ph_poc_msb_cycle_present_flag, and the value of the second flag is 1.

[0018] Optionally, in any of the above-mentioned aspects, another implementation of the aspect provides that the POC value is determined by adding the POC MSB value to the POC least significant bit (LSB) value, and the second flag is a picture level flag.

[0019] A third aspect relates to a decoding device comprising: a receiver configured to receive a bitstream including a sequence parameter set (SPS), the SPS including a first flag and an indicator of a length of a picture order count (POC) most significant bit (MSB) value when present in a header referencing the SPS; a memory coupled to the receiver, the memory storing instructions; and a processor coupled to the memory, the processor configured to execute instructions to cause the decoding device to determine whether a second flag is present in the header referencing the SPS based on a value of the first flag; when the second flag is present, determine whether a POC MSB value is present in the header based on the value of the second flag; when the POC MSB value is present, determine a POC value based on the POC MSB value; identify a picture from the bitstream based on the POC value; and decode the picture to obtain a decoded picture.

[0020] A decoding device provides a technique for simplifying picture order count (POC) derivation in multi-layer video coding when the same access unit (AU) includes both IRAP and non-IRAP pictures. In single-layer video coding, a POC most significant bit (MSB) value is reset when an IRAP picture is encountered. In multi-layer video coding where the same AU includes both IRAP and non-IRAP pictures in different layers, resetting a POC MSB value when an IRAP picture is encountered may result in IRAP and non-IRAP pictures having different POC MSB values, which may cause coding errors. To solve this, instead of resetting the POC MSB value for the IRAP picture, the POC MSB value for the IRAP picture and the POC MSB length for the IRAP picture are obtained from a bitstream. That is, the POC MSB value for the IRAP picture and the POC MSB length for the IRAP picture are signaled in the bitstream. This ensures that the POC MSB values ​​of IRAP and non-IRAP pictures in the same AU remain the same, eliminating potential coding errors. Thus, the coder / decoder (i.e., "codec") in video coding is improved compared to current codecs. In practical terms, the improvement of the video coding process provides a better user experience when videos are transmitted, received, and / or viewed.

[0021] Optionally, in any of the preceding aspects, another implementation of the aspect provides that the first flag includes a POC MSB flag designated as sps_poc_msb_cycle_flag.

[0022] Optionally, in any of the preceding aspects, another implementation of the aspect provides that the second flag includes another POC MSB flag and is designated as ph_poc_msb_cycle_present_flag.

[0023] Optionally, in any of the preceding aspects, another implementation of the aspect provides that the second flag is a picture level flag.

[0024] A fourth aspect relates to an encoding device comprising: a memory including instructions; a processor coupled to the memory, the processor configured to implement instructions that cause the encoding device to set a first flag in a sequence parameter set (SPS) to a value specifying that a second flag is present in a header that references the SPS; provide an indicator in the SPS of a length of a Picture Order Count (POC) Most Significant Bit (MSB) value when present in the header that references the SPS; set the second flag to a value specifying that the POC MSB value is present in the header; and encode the SPS and the header into a bitstream; and a transmitter coupled to the processor, the transmitter configured to transmit the bitstream to a video decoder.

[0025] The encoding device provides a technique for simplifying picture order count (POC) derivation in multi-layer video coding when the same access unit (AU) includes both IRAP and non-IRAP pictures. In single-layer video coding, the POC most significant bit (MSB) value is reset when an IRAP picture is encountered. In multi-layer video coding where the same AU includes both IRAP and non-IRAP pictures in different layers, resetting the POC MSB value when an IRAP picture is encountered may result in IRAP and non-IRAP pictures having different POC MSB values, which may cause coding errors. To solve this, instead of resetting the POC MSB value for the IRAP picture, the POC MSB value for the IRAP picture and the POC MSB length for the IRAP picture are obtained from the bitstream. That is, the POC MSB value for the IRAP picture and the POC MSB length for the IRAP picture are signaled in the bitstream. This ensures that the POC MSB values ​​of IRAP and non-IRAP pictures in the same AU remain the same, eliminating potential coding errors. Thus, the coder / decoder (i.e., "codec") in video coding is improved compared to current codecs. In practical terms, the improvement of the video coding process provides a better user experience when videos are transmitted, received, and / or viewed.

[0026] Optionally, in any of the above-mentioned aspects, another implementation of the aspect provides that the first flag includes a POC MSB flag designated as sps_poc_msb_cycle_flag, and the second flag includes another POC MSB flag and is designated as ph_poc_msb_cycle_present_flag.

[0027] Optionally, in any of the preceding aspects, another implementation of the aspect provides that the second flag is a picture level flag.

[0028] A fifth aspect relates to a coding device comprising: a receiver configured to receive pictures to encode or to receive a bitstream to decode, a transmitter coupled to the receiver and 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 and configured to store instructions, and a processor coupled to the memory and configured to execute the instructions stored in the memory to perform any of the methods disclosed herein.

[0029] A coding apparatus provides a technique for simplifying picture order count (POC) derivation in multi-layer video coding when the same access unit (AU) includes both IRAP and non-IRAP pictures. In single-layer video coding, a POC most significant bit (MSB) value is reset when an IRAP picture is encountered. In multi-layer video coding where the same AU includes both IRAP and non-IRAP pictures in different layers, resetting the POC MSB value when an IRAP picture is encountered may result in IRAP and non-IRAP pictures having different POC MSB values, which may cause coding errors. To solve this, instead of resetting the POC MSB value for the IRAP picture, the POC MSB value for the IRAP picture and the POC MSB length for the IRAP picture are obtained from the bitstream. That is, the POC MSB value for the IRAP picture and the POC MSB length for the IRAP picture are signaled in the bitstream. This ensures that the POC MSB values ​​of IRAP and non-IRAP pictures in the same AU remain the same, eliminating potential coding errors. Thus, the coder / decoder (i.e., "codec") in video coding is improved compared to current codecs. In practical terms, the improvement of the video coding process provides a better user experience when videos are transmitted, received, and / or viewed.

[0030] Optionally, in any of the above aspects, another implementation of the aspect provides a display configured to display the decoded picture.

[0031] A sixth aspect relates to a system comprising an encoder and a decoder in communication with the encoder, the encoder or decoder comprising a decoding device, encoding device or coding apparatus as disclosed herein.

[0032] The system provides a technique for simplifying picture order count (POC) derivation in multi-layer video coding when the same access unit (AU) includes both IRAP and non-IRAP pictures. In single-layer video coding, the POC most significant bit (MSB) value is reset when an IRAP picture is encountered. In multi-layer video coding where the same AU includes both IRAP and non-IRAP pictures in different layers, resetting the POC MSB value when an IRAP picture is encountered may result in IRAP and non-IRAP pictures having different POC MSB values, which may cause coding errors. To solve this, instead of resetting the POC MSB value for the IRAP picture, the POC MSB value for the IRAP picture and the POC MSB length for the IRAP picture are obtained from the bitstream. That is, the POC MSB value for the IRAP picture and the POC MSB length for the IRAP picture are signaled in the bitstream. This ensures that the POC MSB values ​​of IRAP and non-IRAP pictures in the same AU remain the same, eliminating potential coding errors. Thus, the coder / decoder (i.e., "codec") in video coding is improved compared to current codecs. In practical terms, the improvement of the video coding process provides a better user experience when videos are transmitted, received, and / or viewed.

[0033] A seventh aspect relates to a means for coding, comprising receiving means configured to receive pictures to encode or to receive a bitstream to decode, transmitting means coupled to the receiving means and configured to transmit the bitstream to the decoding means or to transmit the decoded images to the display means, storage means coupled to at least one of the receiving means or the transmitting means and configured to store instructions, and processing means coupled to the storage means and configured to execute the instructions stored in the storage means to perform any of the methods disclosed herein.

[0034] The coding means provides a technique for simplifying picture order count (POC) derivation in multi-layer video coding when the same access unit (AU) includes both IRAP and non-IRAP pictures. In single-layer video coding, the POC most significant bit (MSB) value is reset when an IRAP picture is encountered. In multi-layer video coding where the same AU includes both IRAP and non-IRAP pictures in different layers, resetting the POC MSB value when an IRAP picture is encountered may result in IRAP and non-IRAP pictures having different POC MSB values, which may cause coding errors. To solve this, instead of resetting the POC MSB value for the IRAP picture, the POC MSB value for the IRAP picture and the POC MSB length for the IRAP picture are obtained from the bitstream. That is, the POC MSB value for the IRAP picture and the POC MSB length for the IRAP picture are signaled in the bitstream. This ensures that the POC MSB values ​​of IRAP and non-IRAP pictures in the same AU remain the same, eliminating potential coding errors. Thus, the coder / decoder (i.e., "codec") in video coding is improved compared to current codecs. In practical terms, the improvement of the video coding process provides 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 within the scope of the present disclosure.

[0036] These and other features will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings and claims. [Brief description 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, in which like reference numerals represent like parts.

[0038] [Figure 1] 4 is a flowchart of an exemplary method for coding a video signal.

[0039] [Diagram 2] 1 is a schematic diagram of an example coding and decoding (codec) system for video coding.

[0040] [Diagram 3] FIG. 1 is a schematic diagram illustrating an exemplary video encoder.

[0041] [Figure 4] FIG. 2 is a schematic diagram illustrating an exemplary video decoder.

[0042] [Diagram 5] An example is given for multi-layer coding of spatial scalability.

[0043] [Figure 6] A representation of the relationship between IRAP pictures relative to the leading picture and the trailing pictures in decoding order and presentation order.

[0044] [Figure 7] 1 illustrates a video bitstream configured to implement a gradual decoding refresh (GDR) technique.

[0045] [Figure 8] FIG. 1 is a schematic diagram illustrating undesirable motion search when using encoder constraints to support GDR.

[0046] [Figure 9] 1 illustrates an embodiment of a video bitstream.

[0047] [Figure 10] 1 is an embodiment of a method for decoding a coded video bitstream.

[0048] [Figure 11] 1 is an embodiment of a method for encoding a coded video bitstream.

[0049] [Figure 12] 1 is a schematic diagram of a video coding device.

[0050] [Figure 13] FIG. 2 is a schematic diagram of an embodiment of a means for coding. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0051] Although exemplary implementations according to one or more embodiments are provided below, it should be understood at the outset that the disclosed systems and / or methods may be implemented using any number of techniques, whether currently known or in existence. The present disclosure should in no way be limited to the exemplary implementations, drawings, and techniques shown below, including the exemplary design examples and implementations shown and described herein, but may be modified within the full scope of equivalents thereof, together with the appended claims.

[0052] The following terms are defined as follows, unless used in a contrary context herein. Specifically, the following definitions are intended to provide additional clarity to the present disclosure. However, terms may be explained differently in different contexts. Accordingly, the following definitions should be considered supplementary and should not be considered as limiting any other definitions of the explanations provided for such terms herein.

[0053] A bitstream is a sequence of bits that contains compressed video data for transmission between an encoder and a decoder. An encoder is a device configured to compress video data into a bitstream using an encoding process. A decoder is a device configured to reconstruct a bitstream into video data for display using a decoding process. A picture is an array of luma samples and / or chroma samples that make up a frame or a field thereof. For clarity of explanation, a picture being encoded or decoded may be referred to as a current picture. A reference picture is a picture that contains reference samples that may 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 represented 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 referencing 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 in a reference picture list structure that indicates a reference picture associated with the reference picture list. A slice header is a part of a coded slice that contains data elements related to all video data in the tile represented in the slice. A sequence parameter set (SPS) is a parameter set that contains data about a sequence of pictures. A picture parameter set (PPS) is a syntax structure that contains syntax elements that apply to zero or more entire coded pictures, as determined by the syntax elements found in each picture header.

[0054] A flag is a variable or single-bit syntax element that can take one of two possible values ​​0 and 1. An access unit (AU) is a set of one or more coded pictures associated with the same display time (e.g., the same picture order count) for output from a decoded picture buffer (DPB) (e.g., for display to a user). An access unit delimiter (AUD) is an indicator or data structure used to indicate the start of an AU or the boundary between AUs. A decoded video sequence is a sequence of pictures reconstructed by a decoder in preparation for display to a user.

[0055] A coded video sequence (CVS) is a sequence of access units (AUs) including, in decoding order, a coded video sequence start (CVSS) AU followed by zero or more AUs that are not CVSS AUs, including all subsequent AUs up to but not including any subsequent AUs that are CVSS AUs. A CVSS AU is an AU for which there is a prediction unit (PU) for each layer specified by a video parameter set (VPS), and the coded picture in each PU is a coded layer video sequence start (CLVSS) picture. In an embodiment, each picture is within an AU. A PU is a set of network abstraction layer (NAL) units associated with each other according to a specified classification rule, consecutive in decoding order, and containing exactly one coded picture.

[0056] The Picture Order Count (POC) is a variable associated with each picture that uniquely identifies the associated picture among all pictures in the CLVS and indicates the position of the associated picture in the output order when the associated picture is output from the DPB relative to the output order positions of other pictures in the same CLVS that are output from the DPB. The Most Significant Bit (MSB, also called high-order bit) is the bit position in a binary number that has the largest value. The MSB is sometimes referred to as the high-order bit or left-most bit due to the positional convention of writing the larger digit further to the left. The Picture Header (PH) is a syntax structure that contains syntax elements that apply to all slices of a coded picture.

[0057] The following acronyms are used in this specification: Access Unit (AU), Coding Tree Block (CTB), Coding Tree Unit (CTU), Coding Unit (CU), Coded Layer Video Sequence (CLVS), Coded Layer Video Sequence Start (CLVSS), Coded Video Sequence (CVS), Coded Video Sequence Start (CVSS), Joint Video Experts Team (JVET), Motion Constrained Tile Set (MCTS), Maximum Transmission Unit (MTU), Network Abstraction Layer (NAL), Output Layer Set (OLS), Picture Order Count (POC), Picture Parameter Set (PPS), Random Access Point (RAP), Raw Byte Sequence Payload (RBSP), Sequence Parameter Set (SPS), Video Parameter Set (VPS), Versatile Video Coding (VVC), and Working Draft (WD).

[0058] 1 is a flow chart of an exemplary operational method 100 of coding a video signal. Specifically, a video signal is encoded in an encoder. The encoding process compresses the video signal by utilizing various mechanisms to reduce the video file size. The smaller file size allows the compressed video file to be transmitted to a user while reducing the associated bandwidth overhead. A decoder then decodes the compressed video file to reconstruct the original video signal for display to an end user. The decoding process generally mirrors the encoding process so that the decoder can consistently reconstruct the video signal.

[0059] At stage 101, a video signal is input to an encoder. For example, the video signal may be an uncompressed video file stored in memory. As another example, the video file may be captured by a video capture device, such as a video camera, and encoded to support live streaming of the video. The video file may include both audio and video components. The video component includes a series of image frames that, when viewed in sequence, present a visual impression of motion. The frames include pixels that are expressed in terms of light, referred to herein as luma components (or luma samples), and color, referred to herein as chroma components (or color samples). In some examples, the frames may also include depth values ​​to support three-dimensional viewing.

[0060] At stage 103, the video is partitioned into blocks. Partitioning involves subdividing pixels in each frame into square and / or rectangular blocks for compression. For example, in High Efficiency Video Coding (HEVC) (also known as H.265 and MPEG-H Part 2), a frame may first be divided into coding tree units (CTUs), which are blocks of a predefined size (e.g., 64 pixels by 64 pixels). The CTUs include both luma and chroma samples. The coding tree may be utilized to divide the CTUs into blocks, which may then be recursively subdivided until a configuration that supports further encoding is realized. For example, the luma component of a frame may be subdivided until each block contains relatively homogenous illumination values. Furthermore, the chroma component of a frame may be subdivided until each block contains relatively homogenous color values. Accordingly, the partitioning scheme varies depending on the content of the video frame.

[0061] At stage 105, various compression mechanisms are utilized to compress the image blocks partitioned at stage 103. For example, inter-prediction and / or intra-prediction may be utilized. Inter-prediction is designed to utilize the fact that objects in a common scene tend to appear in successive frames. Accordingly, blocks that render an object in a reference frame do not need to be repeatedly represented in adjacent frames. In particular, an object such as a table may remain in a constant position across multiple frames. Thus, once a table is represented, adjacent frames may be referenced back to the reference frame. Pattern matching mechanisms may be utilized to match objects across multiple frames. Furthermore, moving objects may be represented across multiple frames, e.g., due to object motion or camera motion. As a particular example, a video may show a car moving across the screen across multiple frames. Motion vectors may be utilized to represent such motion. A motion vector is a two-dimensional vector that provides an offset from the object's coordinates in a frame to the object's coordinates in a reference frame. Thus, inter-prediction may encode an image block in a current frame as a set of motion vectors that indicate an offset from a corresponding block in a reference frame.

[0062] Intra prediction encodes blocks in a common frame. Intra prediction utilizes the fact that luma and chroma components tend to cluster in a frame. For example, a green patch in a part of a tree tends to be located adjacent to a similar patch of green. 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 / same as the samples of the neighboring blocks in the corresponding direction. The planar mode indicates that a series of blocks along a row / column (e.g., a plane) may be interpolated based on the neighboring blocks at the edge of the row. The planar mode essentially indicates a smooth transition of light / color across the row / column by utilizing a relatively constant slope in changing values. The DC mode is used for boundary smoothing and indicates that the block is similar / same as the average value associated with the samples of all neighboring blocks associated with the angular direction of the directional prediction mode. Accordingly, the intra prediction block may represent the image block as various correlated prediction mode values ​​instead of the actual value. Furthermore, inter-prediction blocks may represent image blocks as motion vector values ​​instead of actual values. In either case, the prediction block may not represent the image block exactly 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.

[0063] Various filtering techniques may be applied in stage 107. In HEVC, filters are applied according to an in-loop filtering scheme. Block-based prediction as discussed above may result in creating a blocky image at the decoder. Furthermore, the block-based prediction scheme may code a block and then reconstruct the coded block for later use as a reference block. The in-loop filtering scheme repeatedly applies a noise suppression filter, a deblocking filter, an adaptive loop filter, and a sample adaptive offset (SAO) filter to the block / frame. These filters mitigate such blocking artifacts so that the coded file can be accurately reconstructed. Furthermore, these filters mitigate artifacts to the reconstructed reference block, so that the artifacts are less likely to create additional artifacts in subsequent blocks coded based on the reconstructed reference block.

[0064] Once the video signal has been partitioned, compressed, and filtered, the resulting data is encoded in a bitstream at stage 109. The bitstream includes the data discussed above as well as any signaling data desired 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 also be broadcast and / or multicast to multiple decoders. Creation of the bitstream is an iterative process. Accordingly, stages 101, 103, 105, 107, and 109 may occur consecutively and / or simultaneously across many frames and blocks. The order depicted in FIG. 1 is present for clarity and ease of explanation, and is not intended to limit the video coding process to a particular order.

[0065] The decoder receives the bitstream and begins the decoding process at step 111. Specifically, the decoder utilizes an entropy decoding scheme to convert the bitstream into corresponding syntax and video data. In step 111, the decoder utilizes syntax data from the bitstream to determine the partitions for the frame. The partitioning should match the result of the block partitioning in step 103. The entropy coding / decoding as utilized in step 111 is now described. During the compression process, the encoder makes many choices, such as the selection of a block partitioning scheme, from several possible choices based on the spatial location of values ​​in the input image. Signaling the exact choice may utilize a number of bins. As used herein, a bin is a binary value that is treated as a variable (e.g., a bit value that can change depending on the context). Entropy coding allows the encoder to discard any choices that are clearly not feasible in a particular case, leaving a set of acceptable choices. Each acceptable choice 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 to four choices, etc.). The encoder then encodes a codeword for the selected choice. This scheme reduces the size of the codeword because the codeword is only as large as desired to uniquely indicate a selection from a small subset of allowable choices, as opposed to uniquely indicating a selection from a large possible set of all possible choices. The decoder then decodes the selection by determining the set of allowable choices in a similar manner as the encoder. By determining the set of allowable choices, the decoder can read the codeword and determine the selection made by the encoder.

[0066] In step 113, the decoder performs block decoding. Specifically, the decoder uses an inverse transform to generate a residual block. The decoder then uses the residual block and a corresponding prediction block to reconstruct an image block according to the partitioning. The prediction block may include both intra-prediction blocks and inter-prediction blocks as generated in the encoder in step 105. The reconstructed image block is then positioned in a frame of the reconstructed video signal according to the partitioning data determined in step 111. The syntax for step 113 may also be signaled in the bitstream via entropy coding as discussed above.

[0067] 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 a SAO filter may be applied to the frames to remove block artifacts. Once the frames are filtered, the video signal may be output to a display in step 117 for viewing by an end user.

[0068] 2 is a schematic diagram of an exemplary coding and decoding (codec) system 200 for video coding. Specifically, the codec system 200 provides functionality supporting the implementation of the operational method 100. The codec system 200 is generalized to depict components utilized in both an encoder and a decoder. The codec system 200 receives and partitions a video signal, as discussed with respect to steps 101 and 103 in the operational method 100, resulting in a partitioned video signal 201. The codec system 200 then compresses the partitioned video signal 201 into a coded bitstream when acting as an encoder, as discussed with respect to steps 105, 107, and 109 in the method 100. When acting as a decoder, the codec system 200 generates an output video signal from the bitstream, as discussed with respect to steps 111, 113, 115, and 117 in the operational method 100. Codec system 200 includes a general coder control component 211, a transform scaling and quantization component 213, an intra-picture estimation component 215, an intra-picture prediction component 217, a motion compensation component 219, a motion estimation component 221, a scaling and inverse transform component 229, a filter control analysis component 227, an in-loop filter component 225, a decoded picture buffer component 223, and a header format and context adaptive binary arithmetic coding (CABAC) component 231. Such components are coupled as shown. In FIG. 2, the black lines indicate the movement of data to be coded / decoded, and the dashed lines indicate the movement of control data that controls the operation of the other components. The components of codec system 200 may all be present in an encoder. A decoder may include a subset of the components of codec system 200.For example, the decoder may include an intra-picture prediction component 217, a motion compensation component 219, a scaling and inverse transform component 229, an in-loop filter component 225, and a decoded picture buffer component 223. These components are now described.

[0069] 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 split modes to subdivide the blocks of pixels into smaller blocks of pixels. These blocks may then be further subdivided into smaller blocks. The blocks may be referred to as nodes 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 sub-part of a CTU that includes a luma block, a red-difference chroma (Cr) block, and a blue-difference chroma (Cb) block following the corresponding syntax instructions for the CU. Split modes may include a binary tree (BT), a ternary tree (TT), and a quad tree (QT) that are utilized to partition a node into 2, 3, or 4 child nodes, respectively, which take various shapes depending on the split mode utilized. 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.

[0070] The generic coder control component 211 is configured to make decisions regarding coding 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 made based on storage space / bandwidth availability and image resolution requirements. The generic coder control component 211 also manages buffer utilization in view of transmission rate to mitigate buffer underrun and overrun issues. To manage 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 and increase bandwidth utilization, or may decrease compression complexity to decrease resolution and bandwidth utilization. Thus, the generic coder control component 211 controls other components of the codec system 200 to balance video signal reconstruction quality and bitrate issues. The generic coder control component 211 creates control data, which controls the operation of other components. Control data is also forwarded to the CABAC component 231 in a header format that is encoded into the bitstream to signal parameters for decoding at the decoder.

[0071] The partitioned video signal 201 is also sent to a motion estimation component 221 and a motion compensation component 219 for inter prediction. A frame or slice of the partitioned video signal 201 may be divided into multiple video blocks. The motion estimation component 221 and the motion compensation component 219 perform inter predictive coding of the received video blocks by comparing them to one or more blocks in one or more reference frames to provide temporal prediction. The codec system 200 may perform multiple coding passes to, for example, select an appropriate coding mode for each block of video data.

[0072] 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 a process that generates motion vectors that estimate the motion of a video block. A motion vector may indicate the displacement of a coded object compared to a predictive block, for example. A predictive block is a block that is found to be a good match to a block to be coded in terms of pixel difference. A predictive block may also be referred to as a reference block. Such pixel difference may be determined by sum of absolute difference (SAD), sum of squared difference (SSD), or other difference metric. HEVC utilizes several coded objects, including CTUs, coding tree blocks (CTBs), and CUs. For example, a CTU may be divided into CTBs, which may in turn be divided into CBs for inclusion in a CU. A CU may be coded as a prediction unit (PU) that includes prediction data and / or a transform unit (TU) that includes transformed residual data for the CU. The motion estimation component 221 uses rate-distortion analysis as part of a rate-distortion optimization process to generate motion vectors, PUs, 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 the best rate-distortion characteristics. The best rate-distortion characteristics balance both the quality of the video reconstruction (e.g., the amount of data lost due to compression) and the coding efficiency (e.g., the size of the final encoding).

[0073] In some examples, the codec system 200 may calculate values ​​for sub-integer pixel 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 for full-pixel positions and fractional pixel positions and output motion vectors with fractional pixel accuracy. The motion estimation component 221 calculates motion vectors for PUs of video blocks in inter-coding slices by comparing the positions of the PUs with the positions of the predictive blocks of the reference pictures. The motion estimation component 221 outputs the calculated motion vectors as motion data to the header format and CABAC component 231 for encoding, and also outputs motion to the motion compensation component 219.

[0074] The motion compensation performed by the motion compensation component 219 may require fetching or generating a predictive block based on a motion vector determined by the motion estimation component 221. Again, the motion estimation component 221 and the motion compensation component 219 may be functionally integrated in some examples. Upon receiving the motion vector for the PU of the current video block, the motion compensation component 219 may locate the predictive block to which the motion vector points. A residual video block is then formed by subtracting pixel values ​​of the predictive block from pixel values ​​of the current video block being coded to form pixel difference values. Generally, the motion estimation component 221 performs motion estimation on the luma component, and the motion compensation component 219 uses the motion vector calculated based on the luma component for both the chroma and luma components. The predictive block and the residual block are forwarded to the transform scaling and quantization component 213.

[0075] The partitioned video signal 201 is also sent to an intra picture estimation component 215 and an intra picture prediction component 217. As with 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. As an alternative to the 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 a current block compared to a block in a current frame. In particular, the intra picture estimation component 215 determines an intra prediction mode to use to encode the current block. In some examples, the intra picture estimation component 215 selects an appropriate intra prediction mode for encoding the current block from a plurality of tested intra prediction modes. The selected intra prediction mode is then forwarded to the header format and CABAC component 231 for encoding.

[0076] For example, the intra picture estimation component 215 may use a rate-distortion analysis to calculate rate-distortion values ​​for various tested intra prediction modes and select an intra prediction mode with the best rate-distortion characteristics among the tested modes. The rate-distortion analysis generally determines the amount of distortion (or error) between an encoded block and the original pre-encoded block that was encoded to produce the encoded block, and the bit rate (e.g., number of bits) used to generate the encoded block. The intra picture estimation component 215 may calculate a ratio from the distortion and rate of various encoded blocks and determine which intra prediction mode exhibits the best rate-distortion value for the block. Furthermore, the intra picture estimation component 215 may be configured to code the depth blocks of the depth map using a depth modeling mode (DMM) based on a rate-distortion optimization (RDO).

[0077] The intra-picture prediction component 217 may generate a residual block from the prediction block based on a selected intra-prediction mode determined by the intra-picture estimation component 215 when implemented on an encoder, or may read the residual block from the bitstream when implemented on a decoder. The residual block includes 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.

[0078] 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 produce a video block that includes 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 a pixel value domain to a transform domain, such as a 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 may include applying a scale factor to the residual information to quantize different frequency information 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 modified by adjusting a quantization parameter. In some examples, the transform scaling and quantization component 213 may then perform a scan of a matrix containing the quantized transform coefficients, which are forwarded to the header format and CABAC component 231 to be encoded in the bitstream.

[0079] The scaling and inverse transform component 229 applies the inverse operations of the transform scaling and quantization component 213 to support motion estimation. The scaling and inverse transform component 229 applies inverse scaling, transformation, and / or quantization to reconstruct a residual block in the pixel domain, for example, for later use as a reference block that may be a predictive block for another current block. The motion estimation component 221 and / or the motion compensation component 219 may calculate a reference block by adding the residual block back to the corresponding predictive block to use motion estimation of a later block / frame. Filters are applied to the reconstructed reference block to mitigate artifacts created during the scaling, quantization, and transformation. Such artifacts would otherwise cause inaccurate predictions (and create additional artifacts) when subsequent blocks are predicted.

[0080] The filter control analysis component 227 and the in-loop filter component 225 apply filters to the residual block and / or the reconstructed image block. For example, the transformed residual block from the scaling and inverse transform component 229 may be combined with the 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. As with the other components in FIG. 2, the filter control analysis component 227 and the in-loop filter component 225 are highly integrated and may be implemented together, but are depicted separately for conceptual purposes. The filter applied to the reconstructed reference block is applied to a particular spatial region and includes multiple parameters to adjust how such a filter is applied. The filter control analysis component 227 analyzes the reconstructed reference block and sets the corresponding parameters to determine where such a filter should be applied. Such data is forwarded as filter control data to the header format and CABAC component 231 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 the reconstructed pixel blocks) or in the frequency domain, depending on the example.

[0081] When operating as an encoder, the filtered reconstructed image blocks, residual blocks, and / or predictive blocks are stored in the decoded picture buffer component 223 for later use in motion estimation as discussed above. When operating as a decoder, the decoded picture buffer component 223 stores the reconstructed and filtered blocks and forwards them as part of the output video signal towards the display. The decoded picture buffer component 223 may be any memory device capable of storing predictive blocks, residual blocks, and / or reconstructed image blocks.

[0082] The header format and CABAC component 231 receives data from various components of the codec system 200 and encodes such data into a coded bitstream for transmission towards a decoder. In particular, the header format and CABAC component 231 generates various headers to encode control data such as global control data and filter control data. Furthermore, prediction data including intra prediction and motion data, and residual data in the form of quantized transform coefficient data are all encoded in the bitstream. The final bitstream contains all information required by the 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 coding contexts for various blocks, indications of the most likely intra prediction modes, indications of partition information, etc. Such data may be encoded by utilizing entropy coding. For example, the information may be coded utilizing context-adaptive variable length coding (CAVLC), CABAC, syntax-based context-adaptive binary arithmetic coding (SBAC), probability interval partitioning entropy (PIPE) coding, or another entropy coding technique. Following entropy coding, the coded bitstream may be transmitted to another device (e.g., a video decoder) or archived for later transmission or retrieval.

[0083] 3 is a block diagram illustrating an example video encoder 300. The video encoder 300 may be utilized to implement the encoding functionality of the codec system 200 and / or to implement stages 101, 103, 105, 107 and / or 109 of the method of operation 100. The encoder 300 partitions an input video signal, resulting in a partitioned video signal 301, which is substantially similar to the partitioned video signal 201. The partitioned video signal 301 is then compressed and encoded into a bitstream by components of the encoder 300.

[0084] 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 a reference block in a decoded picture buffer component 323. The motion compensation component 321 may be substantially similar to the motion estimation component 221 and the motion compensation component 219. The prediction block and the residual block from the intra-picture prediction component 317 and the motion compensation component 321 are forwarded to a transform and quantization component 313 for transform and quantization of the residual block. The transform and quantization component 313 may be substantially similar to the transform scaling and quantization component 213. The transformed and quantized residual block and the corresponding prediction block (along with associated control data) are forwarded to an entropy coding component 331 for coding into a bitstream. The entropy coding component 331 may have a header format substantially similar to the CABAC component 231.

[0085] The transformed and quantized residual block, and / or the corresponding prediction block, are also forwarded from the transform and quantization component 313 to the inverse transform and quantization component 329 for reconstruction 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 described with respect to the in-loop filter component 225. The filtered block is then stored in the decoded picture buffer component 323 for use as a reference block by the motion compensation component 321. The decoded picture buffer component 323 may be substantially similar to the decoded picture buffer component 223.

[0086] 4 is a block diagram illustrating an example video decoder 400. The video decoder 400 may be utilized to implement the decoding functionality of the codec system 200 and / or to implement stages 111, 113, 115 and / or 117 of the method of operation 100. The decoder 400 receives a bitstream, for example from the encoder 300, and generates a reconstructed output video signal based on the bitstream for display to an end user.

[0087] 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 to interpret additional data encoded as codewords in the bitstream. The decoded information includes any desired information for decoding a video signal, such as global 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 to be reconstructed into the residual block. The inverse transform and quantization component 429 may be similar to the inverse transform and quantization component 329.

[0088] The reconstructed residual block and / or predictive block are forwarded to the intra picture prediction component 417 for reconstruction 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 utilizes the prediction mode to locate a reference block in a frame and applies the residual block to the result to reconstruct an intra predicted image block. The reconstructed intra predicted image block and / or residual block, and the corresponding inter prediction data are forwarded to the decoded picture buffer component 423 via the 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, the residual block, and / or the predictive 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 utilizes a motion vector from a reference block to generate a prediction block and applies a residual block to the result to reconstruct an image block. The resulting reconstructed block may also be forwarded to the decoded picture buffer component 423 via the in-loop filter component 425. The decoded picture buffer component 423 continues to store additional reconstructed image blocks, which may be reconstructed into frames via the partition information. Such frames may also be arranged into sequences. The sequences are output as a reconstructed output video signal toward a display.

[0089] In light of the above, such video compression techniques perform spatial (intra-picture) prediction and / or temporal (inter-picture) prediction to reduce or remove redundancy inherent in video sequences. For block-based video coding, 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. Video blocks in an intra-coded (I) slice of a picture are encoded using spatial prediction with respect to reference samples in neighboring blocks in the same picture. Video blocks included in an inter-coded (P or B) slice of a picture may use spatial prediction with respect to reference samples in neighboring blocks in the same picture or temporal prediction with respect to reference samples in other reference pictures. A picture may be referred to as a frame, and a reference picture may be referred to as a reference frame.

[0090] Spatial or temporal prediction results in a predictive block for the block to be coded. The residual data represents pixel differences between the original block to be coded and the predictive block. Inter-coded blocks are coded according to a motion vector pointing to a block of reference samples forming the predictive block, and the residual data indicating the differences between the coded block and the predictive block. Intra-coded blocks are coded according to an intra-coding mode and the residual data. For further compression, the residual data may be transformed from the pixel domain to a transform domain, resulting in residual transform coefficients, which may then be quantized. The quantized transform coefficients are initially arranged in a two-dimensional array and may be scanned to produce a one-dimensional vector of transform coefficients, and entropy coding may be applied to achieve further compression.

[0091] Image and video compression is experiencing rapid growth, resulting in a variety of coding standards. Such video coding standards include ITU-T H.261, International Organization for Standardization / International Electrotechnical Commission (ISO / IEC) MPEG-1 Part 2, ITU-T H.262 or ISO / IEC MPEG-2 Part 2, ITU-T H.263, ISO / IEC MPEG-4 Part 2, Advanced Video Coding (AVC) (also known as ITU-T H.264 or ISO / IEC MPEG-4 Part 10), and High Efficiency Video Coding (HEVC) (also known as ITU-T H.265 or MPEG-H Part 2). AVC includes extensions such as Scalable Video Coding (SVC), Multiview Video Coding (MVC) and Multiview Video Coding + Depth (MVC+D), as well as 3D AVC (3D-AVC). HEVC includes extensions such as Scalable HEVC (SHVC), Multi-view HEVC (MV-HEVC), and 3D HEVC (3D-HEVC).

[0092] There is also an emerging video coding standard named Multipurpose Video Coding (VVC), which is being developed by the ITU-T and ISO / IEC Joint Video Experts Team (JVET). The VVC standard has multiple working drafts, but one VVC Working Draft (WD) in particular is referenced here: "Multipurpose Video Coding (Draft 5)" by B. Bross, J. Chen and S. Liu, JVET-N1001-v3 (VVC Draft 5), 13th JVET Meeting, March 27, 2019.

[0093] Layered video coding is also referred to as scalable video coding or video coding with scalability. Scalability in video coding is usually supported by using a multi-layer coding technique. A multi-layer bitstream includes a base layer (BL) and one or more enhancement layers (EL). Examples of scalability include spatial scalability, quality / signal-to-noise ratio (SNR) scalability, multi-view scalability, etc. When using a multi-layer coding technique, a picture or a part thereof may be coded (1) without using a reference picture (i.e., using intra prediction), (2) by referring to a reference picture in the same layer (i.e., using inter prediction), or (3) by referring to a reference picture in another layer (i.e., using inter-layer prediction). A reference picture used for inter-layer prediction of a current picture is called an inter-layer reference picture (ILRP).

[0094] 5 is a schematic diagram illustrating an example of layer-based prediction 500 performed to determine motion vectors (MVs), for example, in the block compression stage 105, the block decoding stage 113, the motion estimation component 221, the motion compensation component 219, the motion compensation component 321 and / or the motion compensation component 421. The layer-based prediction 500 is compatible with unidirectional inter prediction and / or bidirectional inter prediction, but also performed between pictures of different layers.

[0095] 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 example shown, pictures 511, 512, 513, and 514 are part of layer N+1 532, and pictures 515, 516, 517, and 518 are part of layer N 531. A layer, such as layer N 531 and / or layer N+1 532, is a group of pictures that are all associated with similar values ​​of characteristics such as similar size, quality, resolution, signal-to-noise ratio, capacity, etc. In the example shown, layer N+1 532 is associated with a larger image size than layer N 531. Thus, in this example, pictures 511, 512, 513 and 514 in layer N+1 532 have a larger picture size (e.g., larger height and width, and therefore more samples) than pictures 515, 516, 517 and 518 in layer N 531. However, such pictures may be divided between layer N+1 532 and layer N 531 by other characteristics. Although only two layers, layer N+1 532 and layer N 531, are shown, a set of pictures may be divided into any number of layers based on associated characteristics. Layer N+1 532 and layer N 531 may also be indicated by a layer identifier (ID). A layer ID is an item of data associated with a picture to indicate that the picture is part of the indicated layer. Thus, each picture 511-518 may be associated with a corresponding layer ID to indicate whether layer N+1 532 or layer N 531 contains the corresponding picture.

[0096] Pictures 511-518 in different layers 531-532 are configured to be displayed in different ways. Thus, pictures 511-518 in different layers 531-532 can share the same time identifier (ID) and can be included in the same AU. As used herein, an AU is a set of one or more coded pictures associated with the same display time for output from the DPB. For example, if a smaller picture is desired, the decoder may decode and display picture 515 at the current display time, or if a larger picture is desired, the decoder may decode and display picture 511 at the current display time. Thus, pictures 511-514 in the upper layer N+1 532 contain substantially identical image data as corresponding pictures 515-518 in the lower layer N 531 (despite differences in picture size). Specifically, picture 511 contains substantially the same image data as picture 515, picture 512 contains substantially the same image data as picture 516, and so on.

[0097] Pictures 511-518 may be coded with reference to other pictures 511-518 in the same layer N 531 or N+1 532. Coding a picture with reference to another picture in the same layer results in inter prediction 523. This is compatible with unidirectional inter prediction and / or bidirectional inter prediction. Inter prediction 523 is depicted with a solid arrow. For example, picture 513 may be coded by utilizing 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 utilizing inter prediction 523 using one or two of pictures 515, 516 and / or 518 in layer N 531 as references. Here, 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 called 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 a sample of a current picture by referring to an indicated sample in a reference picture different from the current picture. Here, the reference picture and the current picture are in the same layer.

[0098] Pictures 511-518 may also be coded by referencing other pictures 511-518 in different layers. This process is known as interlayer prediction 521 and is depicted by dashed arrows. Interlayer prediction 521 is a mechanism for coding samples of a current picture by referencing indicated samples in reference pictures, where the current picture and the reference picture are in different layers and therefore have different layer IDs. For example, a picture in lower layer N 531 may be used as a reference picture to code a corresponding picture in upper layer N+1 532. As a specific example, picture 511 may be coded by referencing picture 515 according to interlayer prediction 521. In such a case, picture 515 is used as an interlayer reference picture. An interlayer reference picture is a reference picture used for interlayer prediction 521. In most cases, there is a constraint in interlayer prediction 521 such that a current picture, such as picture 511, can only use interlayer reference pictures that are included in the same AU and are in a lower layer, such as picture 515. When multiple (eg, more than two) layers are available, inter-layer prediction 521 can encode / decode the current picture based on multiple inter-layer reference pictures at lower levels than the current picture.

[0099] A video encoder can utilize layer-based prediction 500 to encode pictures 511-518 via many different combinations and / or reordering of inter prediction 523 and inter layer prediction 521. For example, picture 515 may be coded according to intra prediction. Pictures 516-518 may then be coded according to inter prediction 523 by using picture 515 as a reference picture. Furthermore, picture 511 may be coded according to inter layer prediction 521 by using picture 515 as an inter layer reference picture. Pictures 512-514 may then be coded according to inter prediction 523 by using picture 511 as a reference picture. Thus, a reference picture may function as both a single layer reference picture and an inter layer reference picture for different coding mechanisms. By coding the upper layer N+1 532 picture based on the lower layer N 531 picture, the upper layer N+1 532 may avoid utilizing intra prediction, which has much lower coding efficiency than inter prediction 523 and inter-layer prediction 521. Thus, the low coding efficiency of intra prediction may be limited to pictures of the smallest / lowest quality and thus limited to coding a minimum amount of video data. Pictures used as reference pictures and / or inter-layer reference pictures may be indicated in entries of reference picture lists included in a reference picture list structure.

[0100] Each AU 506 in FIG. 5 may include multiple pictures. For example, one AU 506 may include pictures 511 and 515. Another AU 506 may include pictures 512 and 516. In effect, each AU 506 is a set of one or more coded pictures associated with the same display time (e.g., the same time ID) for output from a decoded picture buffer (DPB) (e.g., for display to a user). Each access unit delimiter (AUD) 508 is an indicator or data structure used to indicate the start of an AU (e.g., AU 506) or a boundary between AUs.

[0101] In an embodiment, one AU (e.g., AU 506) includes an intra random access point (IRAP) picture (e.g., picture 515) in one layer (e.g., layer N 531) and a non-IRAP picture (e.g., picture 511) in another layer (e.g., layer N+1 532). That is, the same AU includes both IRAP and non-IRAP pictures in different layers. Although an AU is shown as including one IRAP picture and one non-IRAP picture, in actual applications, a different number of IRAP and non-IRAP pictures may be included in an AU. IRAP pictures are described in more detail below.

[0102] The previous H.26x video coding family provides support for scalability in profiles separate from the profile for single-layer coding. Scalable Video Coding (SVC) is a scalable extension of AVC / H.264 that provides support for spatial, temporal, and quality scalability. For SVC, a flag is signaled in each macroblock (MB) in an EL picture to indicate whether the EL MB is predicted using collected blocks from lower layers. Predictions from collected blocks may include texture, motion vectors, and / or coding modes. SVC implementations cannot directly reuse unmodified H.264 / AVC implementations in their design. The SVC EL macroblock syntax and decoding process are different from the H.264 / AVC syntax and decoding process.

[0103] Scalable HEVC (SHVC) is an extension of the HEVC / H.265 standard that provides support for spatial and quality scalability, Multi-view HEVC (MV-HEVC) is an extension of HEVC / H.265 that provides support for multi-view scalability, and 3D HEVC (3D-HEVC) 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 of HEVC utilizes the idea that decoded pictures used for inter-layer prediction only come from the same access unit (AU) and are treated as long-term reference pictures (LTRPs) and are assigned reference indices in a reference picture list together with other temporal reference pictures in the current layer. Inter-layer prediction (ILP) is realized at the prediction unit (PU) level by setting the value of the reference index to refer to an inter-layer reference picture in the reference picture list.

[0104] In particular, both the reference picture resampling function and the spatial scalability function require resampling of the reference picture or a part thereof. Reference picture resampling (RPR) can be realized either at the picture level or at the coding block level. However, when RPR is referred to as a coding function, it is a function of single-layer coding. Even so, from the point of view of codec design, it is possible, or even preferable, to use the same resampling filter for both the RPR function of single-layer coding and the spatial scalability function of multi-layer coding.

[0105] The latest VVC draft supports layered video coding. A VVC bitstream can contain multiple layers. The layers can be completely independent from each other, i.e., each layer is coded without using inter-layer prediction (ILP). In this case, the layers are also referred to as simulcast layers. Some of the layers can also be coded using ILP. A flag in the VPS is used to indicate whether a layer is a simulcast layer or whether some layers use ILP. When some layers use ILP, the layer dependency relationship between layers is also signaled in the VPS.

[0106] Unlike SHVC and MV-HEVC, the latest VVC draft does not specify an OLS. An OLS is a set of layers in which one or more layers are designated as output layers. An output layer is a layer of the output layer set that is output.

[0107] The latest VVC draft specifies that when a layer is a simulcast layer, only one layer can be selected for decoding and output. In the latest VVC draft, when some layers use ILP, all of the layers in the bitstream are specified to be decoded, but only certain layers are specified to be output layers. The output layers can be indicated to be 1) only the highest layer, 2) all layers, or 3) the highest layer plus the set of indicated lower layers.

[0108] FIG. 6 is a representation 600 of the relationship between an Intra Random Access Point (IRAP) picture 602 relative to a leading picture 604 and a trailing picture 606 in decoding order 608 and presentation order 610 (i.e., output order). In an embodiment, the IRAP picture 602 is referred to as a Clean Random Access (CRA) picture, or an Immediate Decoder Refresh (IDR) picture with a Random Access Decodable (RADL) picture. In HEVC, IDR pictures, CRA pictures, and Broken Link Access (BLA) pictures are all considered as IRAP pictures 602. For VVC, it was agreed at the 12th JVET meeting in October 2018 to have both IDR and CRA pictures as IRAP pictures. In an embodiment, Broken Link Access (BLA) pictures and Gradual Decoder Refresh (GDR) pictures may also be considered as IRAP pictures. The decoding process for a coded video sequence always starts with the IRAP. An IRAP picture provides a Random Access Point (RAP).

[0109] As shown in Figure 6, leading pictures 604 (e.g., pictures 2 and 3) follow the IRAP picture 602 in decoding order 608 but precede the IRAP picture 602 in presentation order 610. A trailing picture 606 follows the IRAP picture 602 in both decoding order 608 and presentation order 610. Although two leading pictures 604 and one trailing picture 606 are depicted in Figure 6, those skilled in the art will understand that in actual applications, there may be more or fewer leading pictures 604 and / or trailing pictures 606 in the decoding order 608 and presentation order 610.

[0110] The leading pictures 604 in FIG. 6 are divided into two types: random access skip leading (RASL) and RADL. If the decoding starts with an IRAP picture 602 (e.g., picture 1), the RADL picture (e.g., picture 3) can be properly decoded. However, the RASL picture (e.g., picture 2) cannot be properly decoded. Thus, the RASL picture is discarded. Considering the difference between RADL and RASL pictures, the type of the leading picture 604 associated with the IRAP picture 602 must be identified as either RADL or RASL for efficient and proper coding. In HEVC, it is constrained that, if a RASL picture and a RADL picture exist, for the RASL picture and the RADL picture associated with the same IRAP picture 602, the RASL picture must come before the RADL picture in the presentation order 610.

[0111] The IRAP picture 602 provides two important features / advantages: First, the presence of the IRAP picture 602 indicates that the decoding process can start from this picture. This feature enables a random access feature where the decoding process starts at that position in the bitstream as long as the IRAP picture 602 is present at that position, which is not necessarily at the beginning of the bitstream. Second, the presence of the IRAP picture 602 refreshes the decoding process such that the coded pictures (except for RASL pictures) starting with the IRAP picture 602 are coded without any reference to previous pictures. Thus, the presence of the IRAP picture 602 in the bitstream results in preventing any errors that may occur when decoding coded pictures that are before the IRAP picture 602 from propagating to the IRAP picture 602 and the pictures that come after the IRAP picture 602 in the decoding order 608.

[0112] Although the IRAP picture 602 provides an important function, it comes at a cost to compression efficiency. The presence of the IRAP picture 602 causes a sudden increase in the bit rate. This cost to compression efficiency is due to two reasons. First, because the IRAP picture 602 is an intra-predicted picture, the picture itself will require relatively more bits to represent compared to other pictures that are inter-predicted pictures (e.g., leading picture 604, trailing picture 606). Second, because the presence of the IRAP picture 602 interrupts temporal prediction (because the decoder refreshes the decoding process, one of the actions of which is to remove previous reference pictures in the decoded picture buffer (DPB)), the IRAP picture 602 reduces the coding efficiency (i.e., requires more bits to represent) of pictures that come after the IRAP picture 602 in the decoding order 608, because such pictures have fewer reference pictures for inter-predictive coding.

[0113] Among the picture types considered to be IRAP pictures 602, HEVC's IDR pictures are signaled and derivated differently compared to other picture types. Some of the differences are as follows:

[0114] For the signaling and derivation of the Picture Order Count (POC) value for an IDR picture, the Most Significant Bit (MSB) portion of the POC is simply set equal to 0, rather than being derived from the previous significant picture.

[0115] Regarding the signaling information required for reference picture management, the slice header of an IDR picture does not include information that needs to be signaled to support reference picture management. For other picture types (i.e., CRA, trailing, temporal sub-layer access (TSA), etc.), information such as the Reference Picture Set (RPS) described below or other forms of similar information (e.g., reference picture list) are required for the reference picture marking process (i.e., the process of determining the status of reference pictures in the decoded picture buffer (DPB) that are used for reference or not used for reference). However, for an IDR picture, there is no need to signal such information, because the presence of the IDR indicates that the decoding process must simply mark all reference pictures in the DPB as not used for reference.

[0116] In HEVC and VVC, IRAP pictures and leading pictures are given different NAL unit types (NUTs) so that they can be easily identified by system level applications. For example, a video splicer needs to understand the coded picture types without understanding excessive details of syntax elements in the coded bitstream, in particular to distinguish IRAP pictures from non-IRAP pictures and leading pictures from trailing pictures (including determining RASL and RADL pictures). A trailing picture is a picture that is associated with an IRAP picture and follows the IRAP picture in output order. A picture associated with a particular IRAP picture follows the particular IRAP picture in decoding order and precedes any other IRAP picture in decoding order. To this end, giving IRAP and leading pictures their own NAL unit types may aid such applications.

[0117] In HEVC, every picture is assigned a POC value, denoted as PicOrderCntVal. There are three main uses of POC: to uniquely identify a picture, to indicate the output position relative to other pictures in the same CVS, and to perform motion vector scaling in the lower-level video coding layer (VCL) decoding process. Every picture in the same CVS has a unique POC value. Pictures from different CVSs may share the same POC value, but the pictures can still be uniquely identified because a picture from one CVS cannot be mixed with any picture in another CVS. Gaps in POC values ​​are allowed in CVSs, i.e., the difference in POC values ​​between two consecutive pictures in the output order may differ by more than 1 (indeed, the amount by which the POC values ​​for consecutive pictures may vary can vary arbitrarily).

[0118] In HEVC, the POC value of a picture is signaled using a codeword in the slice header. The range of allowed POC values ​​is -2 31 From 2 31 Since the current picture's POC value is −1, only the least significant bit (POC LSB) of the POC value is signaled to save bits in the slice header. The number of bits to use for the POC LSB can be between 4 and 16 and is signaled in the SPS. The remaining bits are the most significant POC value bits (POC MSB). Since only the POC LSB is signaled in the slice header, the POC MSB of the current picture is derived from the previous picture called prevTid0Pic. For the POC derivation to work in the same manner even when a picture is deleted, prevTid0Pic is set to the previous picture in temporal layer 0 that is not a RASL picture, a RADL picture, or a sub-layer non-reference picture. The decoder derives the POC MSB value by comparing the POC value of the current picture with the POC value of the prevTid0Pic picture.

[0119] Unfortunately, existing coding designs have shortcomings. For example, in SHVC and MV-HEVC, mixed IRAP and non-IRAP pictures can be included within the same access unit (e.g., pictures 511 and 515 in AU 506 in FIG. 5), but the design is very complex. In fact, the general decoding process of this design is specified in SHVC and MV-HEVC using multiple pages of text in clause F.8.1 of the latest HEVC standard. The text involves the use of many global flags / variables / lists, including NoClrasOutputFlag, LayerInitializedFlag, LayerResetFlag, FirstPicInLayerDecodedFlag, NumPredictedLayers, IdPredictedLayer, IdDirectRefLayer, NumDirectRefLayers, NumActiveRefLayerPics, NumActiveRefLayerPics0, NumActiveRefLayerPics1, etc. Many other places in SHVC and MV-HEVC that provide support for mixed IRAP and non-IRAP pictures within an access unit are also complex, including the POC derivation process.

[0120] A technique is disclosed herein for simplifying picture order count (POC) derivation in multi-layer video coding when the same access unit (AU) includes both IRAP and non-IRAP pictures. In single-layer video coding, the POC most significant bit (MSB) value is reset when an IRAP picture is encountered. In multi-layer video coding where the same AU includes both IRAP and non-IRAP pictures in different layers, resetting the POC MSB value when an IRAP picture is encountered may result in IRAP and non-IRAP pictures having different POC MSB values, which may cause coding errors. To solve this, instead of resetting the POC MSB value for the IRAP picture, the POC MSB value for the IRAP picture and the POC MSB length for the IRAP picture are obtained from the bitstream. That is, the POC MSB value for the IRAP picture and the POC MSB length for the IRAP picture are signaled in the bitstream (instead of being derived as in HEVC). This ensures that the POC MSB values ​​of IRAP and non-IRAP pictures in the same AU remain the same, eliminating potential coding errors. Thus, the coder / decoder (i.e., "codec") in video coding is improved compared to current codecs. In practical terms, the improvement of the video coding process provides a better user experience when videos are transmitted, received, and / or viewed.

[0121] 7 illustrates a video bitstream 750 configured to implement a gradual decoding refresh (GDR) technique 700. As used herein, the video bitstream 750 may also be referred to as a coded video bitstream, a bitstream, or variations thereof. As shown in FIG. 7, the bitstream 750 includes a sequence parameter set (SPS) 752, a picture parameter set (PPS) 754, a slice header 756, and image data 758.

[0122] The SPS 752 contains data common to all pictures in a sequence of pictures (SOP). In contrast, the PPS 754 contains data common to the entire picture. The slice header 756 contains information about the current slice, such as the slice type, which of the reference pictures are used, etc. The SPS 752 and PPS 754 may be collectively referred to as a parameter set. The SPS 752, PPS 754, and slice header 756 are types of network abstraction layer (NAL) units. A NAL unit is a syntax structure that contains an indication of the type of data that follows (e.g., coding video data). NAL units are classified into video coding layer (VCL) and non-VCL NAL units. The VCL NAL units contain data representing values ​​of samples in a video picture, and the non-VCL NAL units contain any associated additional information, such as parameter sets (important data that may apply to multiple VCL NAL units) and supplemental enhancement information (timing information and other supplemental data that may facilitate the usability of the decoded video signal but are not necessary for decoding the values ​​of samples in a video picture). Those skilled in the art will appreciate that bitstream 750 may contain other parameters and information in practical applications.

[0123] The image data 758 of FIG. 7 includes data associated with the image or video being encoded or decoded. The image data 758 may simply be referred to as the payload or data carried in the bitstream 750. In an embodiment, the image data 758 includes a CVS 708 (or CLVS) that includes the GDR picture 702, one or more trailing pictures 704, and the recovery point picture 706. In an embodiment, the GDR picture 702 is referred to as a CVS start (CVSS) picture. The CVS 708 is a coded video sequence for all coded layer video sequences (CLVS) in the video bitstream 750. In particular, when the video bitstream 750 includes a single layer, the CVS and CLVS are identical. The CVS and CLVS are different only when the video bitstream 750 includes multiple layers. In an embodiment, the trailing pictures 704 may be considered a form of GDR picture because they precede the recovery point picture 706 in the GDR period.

[0124] In an embodiment, the GDR picture 702, the trailing picture 704, and the recovery point picture 706 may define a GDR period in the CVS 708. In an embodiment, the decoding order starts with the GDR picture 702, continues to the trailing picture 704, and then proceeds to the recovery picture 706.

[0125] A CVS 708 is a series of pictures (or a portion thereof) that starts with a GDR picture 702 and includes all pictures (or a portion thereof) up to (but not including) the next GDR picture or up to the end of the bitstream 750. A GDR period is a series of pictures that starts with a GDR picture 702 and includes all pictures up to (and including) a recovery point picture 706. The decoding process for a CVS 708 always starts with a GDR picture 702.

[0126] 7, the GDR technique 700 or principle operates on a sequence of pictures starting with a GDR picture 702 and ending with a recovery point picture 706. The GDR picture 702 includes a refreshed / clean region 710 that contains blocks that are all coded using intra prediction (i.e., intra-predicted blocks) and an unrefreshed / dirty region 712 that contains blocks that are all coded using inter prediction (i.e., inter-predicted blocks).

[0127] A trailing picture 704 immediately adjacent to the GDR picture 702 includes a refresh / clean region 710 having a first portion 710A coded using intra prediction and a second portion 710B coded using inter prediction. The second portion 710B is coded, for example, by referencing the refresh / clean region 710 of a preceding picture in the GDR period of the CVS 708. As shown, the refresh / clean region 710 of the trailing picture 704 expands as the coding process moves or progresses in a consistent direction (e.g., from left to right), and the unrefreshed / dirty region 712 correspondingly shrinks. Eventually, a recovery point picture 706 including only the refresh / clean region 710 is obtained from the coding process. In particular, as described further below, the second portion 710B of the refresh / clean region 710 coded as an inter prediction block may only point to the refresh / clean region 710 in the reference picture.

[0128] As shown in FIG. 7, slices of a GDR picture 702, a trailing picture 704, and a recovery point picture 706 in a CVS 708 are each contained within their own VCL NAL unit 730.

[0129] In an embodiment, the VCL NAL unit 730 that contains the GDR picture 702 in the CVS 708 has a GDR NAL unit type (GDR_NUT). That is, in an embodiment, the VCL NAL unit 730 that contains the GDR picture 702 in the CVS 708 has its own unique NAL unit type for the trailing picture 704 and the recovery point picture 706. In an embodiment, the GDR_NUT allows the bitstream 750 to start with the GDR picture 702, and the bitstream 750 does not have to start with an intra random access point (IRAP) picture. Designating the VCL NAL unit 730 of the GDR picture 702 as GDR_NUT may indicate to a decoder, for example, that the first VCL NAL unit 730 in the CVS 708 contains the GDR picture 702. In an embodiment, the GDR picture 702 is the first picture in the CVS 708. In an embodiment, the GDR picture 702 is the first picture in the GDR period.

[0130] 8 is a schematic diagram illustrating an undesirable motion search 800 when using encoder constraints to support GDR. As shown, the motion search 800 renders a current picture 802 and a reference picture 804. The current picture 802 and the reference picture 804 each include a refreshed region 806 coded with intra prediction, a refreshed region 808 coded with inter prediction, and an unrefreshed region 810. The refreshed region 806, the refreshed region 808, and the unrefreshed region 810 are similar to the first portion 710A of the refresh / clean region 710, the second portion 710B of the refresh / clean region 710, and the unrefreshed / dirty region 712 in FIG. 7.

[0131] During the motion search 800 process, the encoder is constrained or prevented from selecting any motion vector 812 that results in some of the samples of the reference block 814 being located outside the refresh region 806. This occurs when the reference block 814 provides the best rate-distortion cost criterion when predicting the current block 816 in the current picture 802. Thus, Figure 8 illustrates the reason for non-optimality in the motion search 800 when using encoder constraints to support GDR.

[0132] FIG. 9 illustrates an embodiment of a video bitstream 900. As used herein, the video bitstream 900 may also be referred to as a coded video bitstream, a bitstream, or variations thereof. As illustrated in FIG. 9, the bitstream 900 includes at least one picture unit (PU) 901. Although three of the PUs 901 are illustrated in FIG. 9, in actual applications, a different number of PUs 901 may exist in the bitstream 900. Each PU 901 is a set of NAL units associated with each other according to a specified classification rule, is consecutive in decoding order, and includes exactly one coded picture (e.g., picture 914).

[0133] In an embodiment, each PU 901 includes one or more of a decoding capability information (DCI) 902, a video parameter set (VPS) 904, a sequence parameter set (SPS) 906, a picture parameter set (PPS) 908, a picture header (PH) 912, and a picture 914. Each of the DCI 902, VPS 904, SPS 906, and PPS 908 may be collectively referred to as a parameter set. In an embodiment, other parameter sets not shown in FIG. 9 may also be included in the bitstream 900, such as, for example, an adaptation parameter set (APS), which is a syntax structure that includes syntax elements that apply to zero or more slices as determined by zero or more syntax elements found in a slice header.

[0134] The DCI 902, which may also be referred to as a Decoding Parameter Set (DPS) or Decoder Parameter Set, is a syntax structure that contains syntax elements that apply to the entire bitstream. The DCI 902 contains parameters that remain constant over the lifetime of a video bitstream (e.g., bitstream 900), which may be the lifetime of a session. The DCI 902 may contain profile, level, and sub-profile information to determine a maximum complexity interoperability point that is guaranteed never to be exceeded even if splicing of video sequences occurs during a session. It further optionally contains constraint flags, which indicate that the video bitstream is constrained to the use of certain features as indicated by the values ​​of those flags. This allows the bitstream to be labeled not to use certain tools, allowing resource allocation in decoder implementations, among other things. As with all parameter sets, the DCI 902 is present when first referenced and is referenced by the very first picture in a video sequence. This suggests that it needs to be transmitted in the first NAL unit in the bitstream. There can be multiple DCIs 902 in a bitstream, but the values ​​of syntax elements therein cannot be inconsistent when referenced.

[0135] The VPS 904 contains decoding dependencies or information about the reference picture set configuration of the enhancement layers. The VPS 904 provides an overall perspective or view of the scalable sequence, including what types of operation points are provided, the profile, tier, and level of the operation points, and some other high-level characteristics of the bitstream that can be used as a substrate for session negotiation and content selection.

[0136] The SPS 906 contains data common to all pictures in a sequence of pictures (SOP). The SPS 906 is a syntax structure that contains syntax elements that apply across zero or more CLVSs, as determined by the content of syntax elements found in a PPS referenced by syntax elements found in each picture header. In contrast, the PPS 908 contains data common to an entire picture. The PPS 908 is a syntax structure that contains syntax elements that apply across zero or more pre-coded pictures, as determined by syntax elements found in each picture header (e.g., PH 912).

[0137] In an embodiment, the SPS 906 includes a first flag 930, which is a POC MSB flag designated as sps_poc_msb_cycle_flag. When the first flag 930 has a first value (e.g., 1), the first flag 930 specifies that each header (e.g., picture header 912) includes another POC MSB flag, a second flag 940, which is designated as ph_poc_msb_cycle_present_flag. When the first flag 930 has a second value (e.g., 0), the first flag 930 specifies that the header (e.g., picture header 912) does not include the second flag 940. As used herein, the second flag 940 may be referred to as a ph_poc_msb_cycle_present_flag syntax element.

[0138] The SPS 906 also includes an indicator of the length 950 of the POC MSB value when it is included in a header that references the SPS 906. In an embodiment, the length 950 indicator is specified as sps_poc_msb_cycle_len_minus1. In an embodiment, sps_poc_msb_cycle_len_minus1+1 specifies the length in bits of the POC MSB value when it is present in a header that references the SPS. In an embodiment, the value of the indicator ranges from zero (0) to 32-sps_log2_max_pic_order_cnt_lsb_minus4-5, inclusive. sps_log2_max_pic_order_cnt_lsb_minus4 specifies the value of a variable MaxPicOrderCntLsb (e.g., maximum picture order count LSB) used in the decoding process for picture order count, such as MaxPicOrderCntLsb=2. (sps_log2_max_pic_order_cnt_lsb_minus4+4) Here, the value of sps_log2_max_pic_order_cnt_lsb_minus4 must be in the range 0 to 12 (inclusive).

[0139] The second flag 940 specifies whether the POC MSB value 960 is present in the header. In an embodiment, the POC MSB value 960 is present for a mixed AU that includes both IRAP and non-IRAP pictures as described herein. When the second flag 940 has a first value (e.g., 1), the second flag 940 specifies that the POC MSB value 960 is present in the header (e.g., picture header 912). When the second flag 940 has a second value (e.g., 0), the second flag 940 specifies that the POC MSB value 960 is not present in the header. In an embodiment, the POC MSB value 960 may be referred to as a POC MSB value syntax element or POC MSB value syntax elements.

[0140] The POC MSB value 960 specifies the value of the POC MSB cycle of the current picture (e.g., picture 914). In an embodiment, the POC MSB value 960 is specified as ph_poc_msb_cycle_val. Thus, the POC MSB value 960 is explicitly signaled in the bitstream 900 instead of being derived based on a previous picture. In an embodiment, the POC MSB value signaled in the bitstream is used to obtain the POC value. In an embodiment, the POC value is determined by concatenating the POC MSB value and the POC LSB. This may also be signaled in the bitstream 900.

[0141] Each coded picture is associated with a picture order count variable, denoted as PicOrderCntVal, which is derived as PicOrderCntVal=PicOrderCntMsb+ph_pic_order_cnt_lsb, where PicOrderCntMsb is the POC MSB and ph_pic_order_cnt_lsb is the POC LSB.

[0142] As will be explained more fully below, the use of the above flags allows for asynchronous IRAP pictures between layers. The POC processing described herein ensures that the POC values ​​of all pictures in an AU are identical. To achieve this, the POC MSB value is signaled (instead of derived) for IRAP pictures, i.e., IDR, CRA, and GDR pictures. This allows for a significantly simpler design for POC derivation compared to the mixed POC reset and POC MSB signaling mechanisms in SHVC and MV-HEVC.

[0143] DCI 902, VPS 904, SPS 906, and PPS 908 are included in different types of network abstraction layer (NAL) units. NAL units are syntax structures that contain an indication of the type of data that follows (e.g., coding video data). NAL units are classified into video coding layer (VCL) and non-VCL NAL units. VCL NAL units contain data that represent values ​​of samples in a video picture, and non-VCL NAL units contain any associated additional information such as parameter sets (important data that may apply to multiple VCL NAL units) and supplemental enhancement information (timing information and other supplemental data that may facilitate the usability of the decoded video signal but are not necessary for decoding values ​​of samples in a video picture).

[0144] In an embodiment, DCI 902 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 904 is included in a non-VCL NAL unit designated as a VPS NAL unit. Thus, the VPS NAL unit has a VPS NUT. In an embodiment, SPS 906 is a non-VCL NAL unit designated as an SPS NAL unit. Thus, the SPS NAL unit has an SPS NUT. In an embodiment, PPS 908 is included in a non-VCL NAL unit designated as a PPS NAL unit. Thus, the PPS NAL unit has a PPS NUT.

[0145] PH 912 is a syntax structure that includes syntax elements that apply to all slices (e.g., slice 918) of a coded picture (e.g., picture 914). In an embodiment, PH 912 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, there is only one PH 912 included in each PU 901. That is, PU 901 includes a single or standalone PH 912. In an embodiment, exactly one PH NAL unit exists for each picture 914 in bitstream 900.

[0146] In an embodiment, a PH NAL unit associated with PH 912 has a temporal ID and a layer ID. The temporal ID indicates the location of the PH NAL unit in time relative to other PH NAL units in a bitstream (e.g., bitstream 900). 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 different from, the 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 (see, e.g., FIG. 5), pictures in the same AU have different POCs but the same temporal ID.

[0147] In an embodiment, a PH NAL unit precedes a VCL NAL unit that includes a first slice 918 of an associated picture 914. This establishes an association between the PH 912 and a slice 918 of the picture 914 associated with the PH 912 without requiring a picture header ID to be signaled in the PH 912 and referenced from a slice header 920. Thus, it can be inferred that all VCL NAL units between two PHs 912 belong to the same picture 914, and that the picture 914 is associated with the first PH 912 between the two PHs 912. In an embodiment, the first VCL NAL unit following a PH 912 includes the first slice 918 of the picture 914 associated with the PH 912.

[0148] In an embodiment, the PH NAL unit follows a picture-level parameter set (e.g., PPS) or a higher-level parameter set, such as DCI (i.e., DPS), VPS, SPS, PPS, etc., that has both a temporal ID and a layer ID that are smaller than the temporal ID and layer ID of the PH NAL unit, respectively. Therefore, those parameter sets are not repeated within a picture or an access unit. This order allows PH 912 to be resolved immediately. That is, parameter sets that contain parameters related to the entire picture are positioned before the PH NAL unit in the bitstream. Any that contain parameters for a part of a picture are positioned after the PH NAL unit.

[0149] In one alternative, the PH NAL unit follows a picture-level parameter set and a prefix supplemental extension information (SEI) message or a higher level parameter set such as a DCI (i.e., DPS), VPS, SPS, PPS, APS, SEI message.

[0150] In an embodiment, the PH 912 may include a syntax element (e.g., a flag, etc.) that specifies the picture type of the picture 914 associated with the PH 912. The picture type may include, but is not limited to, the following types: an immediate decoder refresh (IDR) picture, a clean random access (CRA) picture, a GDR picture, a non-GDR picture and a non-IRAP picture that includes only intra-predicted slices (I-slices), a non-GDR picture and a non-IRAP picture that includes only unidirectional inter-predicted slices (P-slices) and I-slices, and a non-GDR picture and 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 912 may indicate whether all slices (e.g., slices 918) in a picture (e.g., picture 914) are, for example, slices of a GDR picture (e.g., GDR picture 702). It also supports signaling of the restoration point picture order count (POC) for GDR pictures once in the PH 912 instead of in every slice header (eg, slice header 920).

[0151] In an embodiment, one or more syntax elements are signaled in the PH 912 rather than in the slice header 920 of the picture 914 associated with the PH 912. These syntax elements are: a PPS ID referenced by the picture 914, a flag specifying whether the picture 914 is a reference picture, a color plane of the picture 914, a POC least significant bit (LSB) of the picture 914, a restoration point POC if the picture 914 is a GDR picture (e.g., the GDR picture 702), a flag specifying whether a picture before the picture 914 is output, and a flag specifying whether the picture 914 is an output picture. The PPS ID is an identifier that identifies a particular PPS for the picture 914. The color plane of the picture 914 includes the luma and chroma components (e.g., Y, Cb, Cr, etc.) for the picture 914. The POC LSB is a bit (or bits) that identifies the POC. A POC is a variable associated with each picture (e.g., picture 914) that uniquely identifies the associated picture among all pictures in the CLVS and indicates the position of the associated picture in the output order when the associated picture is output from the DPB relative to the output order positions of other pictures in the same CLVS that are output from the DPB. A recovery point POC is a POC that identifies a recovery point, and thus a recovery point picture.

[0152] Moving these syntax elements from the slice header 920 to the PH 912 allows the syntax elements to be signaled once for the entire picture 914 instead of repeating the syntax elements in each slice header 920. This reduces redundancy and increases coding efficiency.

[0153] A picture 914 is an array of luma samples in a 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, there is only one picture 914 included in each PU 901. Thus, in each PU 901, there is only one PH 912 and only one picture 914 corresponding to that PH 912. That is, a PU 901 includes a single or single picture 914.

[0154] Pictures 914 can be either frames or fields. However, in one CVS 916, either all pictures 914 are frames or all pictures 914 are fields. CVS 916 is a coded video sequence for all coded layered video sequences (CLVS) in video bitstream 900. In particular, CVS 916 and CLVS are identical when video bitstream 900 contains a single layer. CVS 916 and CLVS differ only when video bitstream 900 contains multiple layers (e.g., as shown in FIG. 5).

[0155] A PU 901 may collectively include a CLVS, which is a sequence of PUs 901 with the same value of nuh_layer_id, consisting of zero or more PUs 901 that are not CLVSS PUs, including, in decoding order, a Coded Layer Video Sequence Start (CLVSS) PU, followed by all subsequent PUs 901 up to but not including any subsequent PUs 901 that are CLVSS PUs. A CLVSS PU is a PU 901 for which a coded picture (e.g., picture 914) is a CLVSS picture. A CLVSS picture is a coded picture that is an IRAP picture with NoOutputBeforeRecoveryFlag equal to 1 or a GDR picture (e.g., GDR picture 702) with NoOutputBeforeRecoveryFlag equal to 1.

[0156] Each picture 914 includes one or more slices 918. A slice 918 is an integer number of complete tiles or an integer number of contiguous complete CTU rows within a tile of a picture (e.g., picture 914). Each slice 918 is exclusively contained in a single NAL unit (e.g., a VCL NAL unit). A tile (not shown) is a rectangular region of CTUs in a particular tile column and a particular tile row in a picture (e.g., picture 914). A CTU (not shown) is a CTB of luma samples, two corresponding CTBs of chroma samples for a picture with a three sample arrangement, or a CTB of samples for a monochrome picture or a picture coded using three separate color planes and a syntax structure used to code the samples. A CTB (not shown) is an N×N block of samples for some value of N such that the division of the components into CTBs is a partitioning. A block (not shown) is an MxN (M columns by N rows) array of samples (eg, pixels) or an MxN array of transform coefficients.

[0157] In an embodiment, each slice 918 includes a slice header 920. The slice header 920 is a part of the coded slice 918 that contains data elements related to all tiles or CTU rows within the tile represented in the slice 918. That is, the slice header 920 includes information about the slice 918, such as, for example, the slice type, which reference pictures are used, etc.

[0158] The pictures 914 and their slices 918 contain data associated with the image or video being encoded or decoded. Thus, the pictures 914 and their slices 918 may simply be referred to as the payload or data carried in the bitstream 900.

[0159] Those skilled in the art will understand that in practical applications, the bitstream 900 may include other parameters and information.

[0160] FIG. 10 is an embodiment of a method 1000 of decoding implemented by a video decoder (e.g., video decoder 400). Method 1000 may be executed after a bitstream is received directly or indirectly from a video encoder (e.g., video encoder 300). Method 1000 improves the decoding process by providing a technique to simplify POC derivation in multi-layer video coding when the same AU includes both IRAP and non-IRAP pictures. In single-layer video coding, the POC MSB value is reset when an IRAP picture is encountered. In multi-layer video coding where the same AU includes both IRAP and non-IRAP pictures in different layers, resetting the POC MSB value when an IRAP picture is encountered may result in IRAP and non-IRAP pictures having different POC MSB values, which may cause coding errors. To solve this, instead of resetting the POC MSB value for the IRAP picture, the POC MSB value for the IRAP picture and the POC MSB length for the IRAP picture are obtained from the bitstream. That is, the POC MSB value for an IRAP picture and the POC MSB length for an IRAP picture are signaled in the bitstream. This ensures that the POC MSB values ​​of IRAP and non-IRAP pictures in the same AU remain the same, eliminating potential coding errors. Thus, the coder / decoder (i.e., "codec") in video coding is improved compared to current codecs. In practical terms, the improvement of the video coding process provides a better user experience when a video is transmitted, received, and / or viewed.

[0161] In block 1002, a video decoder receives a bitstream including an SPS (e.g., SPS 906) including a first flag (e.g., first flag 930) and an indicator of a length (e.g., an indicator of length 950) of a POC MSB value (e.g., POC MSB value 960) when a POC MSB value is present in a header (e.g., picture header 912) that references the SPS. In an embodiment, the first flag is a POC MSB flag designated as sps_poc_msb_cycle_flag. A value of the first flag specifies whether a second flag (e.g., second flag 940) is present in the header that references the SPS. In an embodiment, when the value of the first flag is 1, the second flag is present in each header that references the SPS. In an embodiment, when the value of the first flag is 0, the second flag is not present in the header that references the SPS.

[0162] In an embodiment, the second flag is another POC MSB flag and is specified as ph_poc_msb_cycle_present_flag. The value of the second flag specifies whether a POC MSB value is present in the header. In an embodiment, the POC MSB value 960 is present for mixed AUs that include both IRAP and non-IRAP pictures as described herein. In an embodiment, when the value of the second flag is 1, the POC MSB value is present in the header that references the SPS. In an embodiment, when the value of the second flag is 0, the POC MSB value is not present in the header that references the SPS.

[0163] In block 1004, the video decoder determines a POC value based on the POC MSB value. The POC value is a variable associated with each picture. The POC value uniquely identifies the associated picture among all pictures in the CLVS, identifies when the associated picture is output from the DPB, 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 are output from the DPB. In an embodiment, the POC value is determined by concatenating or otherwise combining the POC MSB value and the POS LSB value (e.g., POC value=POC MSB+POC LSB).

[0164] At block 1006, the video decoder identifies a picture (e.g., picture 914) from the bitstream based on the POC value. At block 1008, the video decoder decodes the picture to obtain a decoded picture. Once decoded, the picture may be used to generate or create 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.).

[0165] FIG. 11 is an embodiment of a method 1100 for encoding a video bitstream implemented by a video encoder (e.g., video encoder 300). Method 1100 may be performed when a picture (e.g., from a video) is encoded into a video bitstream and then transmitted to a video decoder (e.g., video decoder 400). Method 1100 improves the encoding process by providing a technique that simplifies POC derivation in multi-layer video coding when the same AU includes both IRAP and non-IRAP pictures. In single-layer video coding, the POC MSB value is reset when an IRAP picture is encountered. In multi-layer video coding where the same AU includes both IRAP and non-IRAP pictures in different layers, resetting the POC MSB value when an IRAP picture is encountered may result in IRAP and non-IRAP pictures having different POC MSB values, which may cause coding errors. To solve this, instead of resetting the POC MSB value for the IRAP picture, the POC MSB value for the IRAP picture and the POC MSB length for the IRAP picture are obtained from the bitstream. That is, the POC MSB value for the IRAP picture and the POC MSB length for the IRAP picture are signaled in the bitstream. This ensures that the POC MSB values ​​of the IRAP and non-IRAP pictures in the same AU remain the same, eliminating potential coding errors. Thus, the coder / decoder (i.e., "codec") in video coding is improved compared to the current codec. In practical terms, the improvement of the video coding process provides a better user experience when the video is transmitted, received, and / or viewed.

[0166] In block 1102, the video encoder sets a first flag (e.g., first flag 930) in an SPS (e.g., SPS 906) to a value that specifies that a second flag (e.g., second flag 940) is present in a header that references the SPS. In an embodiment, the first flag is a POC MSB flag designated as sps_poc_msb_cycle_flag. In an embodiment, when the value of the first flag is 1, the second flag is present in the header that references the SPS. In an embodiment, when the value of the first flag is 0, the second flag is not present in the header that references the SPS.

[0167] In block 1104, the video encoder provides an indicator of the length (eg, an indicator of length 950) of the POC MSB value (eg, POC MSB value 960) in the SPS when the POC MSB value is present in a header that references the SPS.

[0168] In block 1106, the video encoder sets a second flag to a value that specifies the presence of a POC MSB value in the header. In an embodiment, the second flag is another POC MSB flag and is specified as ph_poc_msb_cycle_present_flag. In an embodiment, when the value of the second flag is 1, the POC MSB value is present in the header that references the SPS. In an embodiment, when the value of the second flag is 0, the POC MSB value is not present in the header that references the SPS.

[0169] At block 1108, the video encoder encodes the SPS and the header into a bitstream. At block 1110, the video encoder stores the bitstream for communication to the video decoder. The video bitstream may be stored in a memory until it is transmitted to the video decoder. Once received by the video decoder, the encoded video bitstream may be decoded (e.g., as described above) to generate or create 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.).

[0170] The following syntax and semantics may be utilized to implement the embodiments disclosed herein: The following description is relative to the base text, which is the latest VVC draft specification.

[0171] In an embodiment, the associated IRAP picture (of a particular picture with nuh_layer_id equal to a particular value layerId) is the previous IRAP picture in decoding order (if any) with nuh_layer_id equal to layerId, and there is no GDR picture in between with nuh_layer_id equal to layerId. 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. Values ​​of nuh_layer_id shall range from 0 to 55, inclusive. Other values ​​of nuh_layer_id are reserved for future use by ITU-T|ISO / IEC.

[0172] As used herein, a PU may also be referred to as a layer access unit. In an embodiment, a clean random access (CRA) layer access unit is a layer access unit whose coded picture is a CRA picture. In an embodiment, a clean random access (CRA) picture is an IRAP picture whose VCL NAL unit has nal_unit_type equal to CRA_NUT. In an embodiment, a CRA picture does not use inter prediction in its decoding process and may be the first picture in the bitstream or may appear later in the bitstream in decoding order. In an embodiment, a CRA picture may have an associated RADL or RASL picture. When a CRA picture has NoOutputBeforeRecoveryFlag equal to 1, the associated RASL pictures are not output by the decoder because they may not be decodable since they may contain references to pictures that are not present in the bitstream.

[0173] In an embodiment, a coded layer video sequence (CLVS) is a sequence of PUs with the same value of nuh_layer_id, consisting of zero or more PUs that are not CLVSS PUs, including, in decoding order, a CLVSS PU followed by all subsequent PUs up to but not including any subsequent PU that is a CLVSS PU. In an embodiment, a CLVSS PU may be an IDR PU, a CRA PU, or a GDR PU. The value of NoOutputBeforeRecoveryFlag is equal to 1 for each IDR PU, and for each CRA PU that has HandleCraAsClvsStartFlag equal to 1, and for each CRA or GDR PU that is the first PU in a layer of a bitstream in decoding order or the first PU in a layer of a bitstream that follows an EOS NAL unit in decoding order.

[0174] In an embodiment, a coded layer video sequence start (CLVSS) layer access unit is a layer access unit where the coded picture is a CLVSS picture. A coded layer video sequence start (CLVSS) picture is a coded picture that is an IRAP picture with NoIncorrectPicOutputFlag equal to 1 or a GDR picture with NoIncorrectPicOutputFlag equal to 1.

[0175] In an embodiment, a coded video sequence (CVS) is a sequence of access units that consists, in decoding order, of a CVSS access unit followed by zero or more access units that are not CVSS access units, including all subsequent access units up to (but not including) any subsequent access units that are CVSS access units.

[0176] In an embodiment, a coded video sequence start (CVSS) access unit is an access unit where there is a layer access unit for each layer in the CVS and the coded picture in each layer access unit is a CLVSS picture. Note that this requires that each CVSS AU is a complete AU and that each picture in a CVSS AU is a CLVSS picture. In an embodiment, a gradual decoding refresh (GDR) access unit is an access unit where the coded picture in each current layer access unit is a GDR picture. In an embodiment, a gradual decoding refresh (GDR) layer access unit is a layer access unit where the coded picture is a GDR picture. In an embodiment, a gradual decoding refresh (GDR) picture is a picture where each VCL NAL unit has a nal_unit_type equal to GDR_NUT.

[0177] The SPS syntax is as follows: [Table 1]

[0178] In an embodiment, the syntax elements in bold above may be included in the VPS.

[0179] The slice header syntax is as follows: [Table 2]

[0180] In an embodiment, the syntax condition part "&& nal_unit_type >= IDR_W_RADL && nal_unit_type <= GDR_NUT" may be deleted, i.e., when poc_msb_in_rap_pics_flag is equal to 1, poc_msb_val is signaled for slices with any value of nal_unit_type.

[0181] In an embodiment, we add one picture-level flag to be conditional on the presence of the syntax element poc_msb_val, i.e., to allow the encoder to decide whether to signal or not signal poc_msb_val for each slice of an IRAP or GDR picture individually when poc_msb_in_rap_pics_flag is equal to 1.

[0182] In an embodiment, both of the above alternatives apply. In an embodiment, poc_msb_val is signaled using se(v) or ue(v), and the poc_msb_len_minus1 syntax element is removed from the SPS syntax.

[0183] NAL unit header semantics are provided.

[0184] 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.

[0185] The value of nuh_layer_id shall be the same for all VCL NAL units of a coded picture. The value of nuh_layer_id of a coded picture or layer access unit is the value of nuh_layer_id of the VCL NAL units of the coded picture or layer access unit.

[0186] nal_unit_type specifies the NAL unit type, i.e., the type of RBSP data structure contained in the NAL unit.

[0187] The value of nal_unit_type shall be the same for all coded slice NAL units of a picture. A picture or layer access unit is said to have the same NAL unit type as the coded slice NAL unit of the picture or layer access unit. Note that the above two paragraphs allow VCL NAL units within an AU to have different NAL unit types, which allows for mixed RAP and non-RAP pictures within an AU. A RAP picture is an IDR, CAR, or GDR picture.

[0188] The value of nal_unit_type shall be the same for pictures in a CVSS access unit.

[0189] The order of the access units and their association with the CVS are provided.

[0190] A standard-conforming bitstream includes one or more CVSs. A CVS is composed of one or more access units. The first access unit of a CVS is a CVSS access unit. Here, each current layer access unit is a CLVSS layer access unit that is either an IRAP layer access unit with NoIncorrectPicOutputFlag equal to 1 or a GDR layer access unit with NoIncorrectPicOutputFlag equal to 1. Each CVSS access unit shall have a picture in each of the layers present in the CVS. As a requirement for bitstream conformance, each layer access unit in the next access unit after an access unit containing an end-of-sequence NAL unit or an end-of-bitstream NAL unit shall be an IRAP layer access unit, which may be an IDR layer access unit or a CRA layer access unit, or a GDR layer access unit, when present.

[0191] SPS semantics are provided.

[0192] log2_max_pic_order_cnt_lsb_minus4 specifies the value of the variable MaxPicOrderCntLsb used in the decoding process for picture order counting as follows:

[0193] MaxPicOrderCntLsb=2(log2_max_pic_order_cnt_lsb_minus4+4)

[0194] The value of log2_max_pic_order_cnt_lsb_minus4 shall be in the range of 0 to 12, inclusive.

[0195] poc_msb_in_rap_pics_flag equal to 1 specifies that the poc_msb_val syntax element is signaled for pictures that reference an SPS and whose VCL NAL units have a nal_unit_type in the range from IDR_W_RADL to GDR_NUT (inclusive). poc_msb_in_rap_pics_flag equal to 0 specifies that the poc_msb_val syntax element is not signaled for pictures that reference an SPS.

[0196] poc_msb_len_minus1+1, when present, specifies the length in bits of the poc_msb_val syntax element. The value of poc_msb_len_minus1 shall range from 0 to 32-log2_max_pic_order_cnt_lsb_minus4-5, inclusive.

[0197] Slice header semantics are provided.

[0198] slice_pic_order_cnt_lsb specifies the picture order count modulo MaxPicOrderCntLsb for the current picture. The length of the slice_pic_order_cnt_lsb syntax element is log2_max_pic_order_cnt_lsb_minus4+4 bits. The value of slice_pic_order_cnt_lsb shall range from 0 to MaxPicOrderCntLsb-1, inclusive.

[0199] poc_msb_val specifies the POC MSB value of the current picture. The length of the syntax element poc_msb_val is poc_msb_len_minus1+1 bits.

[0200] A decoding process for a coded picture is provided.

[0201] PictureOutputFlag is set as follows:

[0202] If one of the following conditions is true, PictureOutputFlag is set equal to 0:

[0203] The current picture is a RASL picture and the associated IRAP picture's NoIncorrectPicOutputFlag is equal to 1.

[0204] gdr_enabled_flag is equal to 1 and the current picture is a GDR picture with NoIncorrectPicOutputFlag equal to 1.

[0205] gdr_enabled_flag is equal to 1, the current picture is associated with a GDR picture that has NoIncorrectPicOutputFlag equal to 1, and the current picture's PicOrderCntVal is less than the RpPicOrderCntVal of the associated GDR picture.

[0206] The current picture does not belong to an output layer.

[0207] Otherwise, PictureOutputFlag is set equal to pic_output_flag.

[0208] A picture order count decoding process is provided.

[0209] The output of this process is PicOrderCntVal, the picture order count of the current picture.

[0210] Each coded picture is associated with a picture order count variable, denoted as PicOrderCntVal.

[0211] When poc_msb_val is not present for a picture and the current picture is not a CLVSS picture, the variables prevPicOrderCntLsb and prevPicOrderCntMsb are derived as follows:

[0212] 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 that is not a RASL or RADL picture.

[0213] The variable prevPicOrderCntLsb is set equal to the slice_pic_order_cnt_lsb of prevTid0Pic.

[0214] The variable prevPicOrderCntMsb is set equal to the PicOrderCntMsb of prevTid0Pic.

[0215] The variable PicOrderCntMsb for the current picture is derived as follows:

[0216] If poc_msb_val is present for the picture, PicOrderCntMsb is set equal to poc_msb_val x MaxPicOrderCntLsb.

[0217] Otherwise (poc_msb_val is not present for the picture), if the current picture is a CLVSS picture, PicOrderCntMsb is set equal to 0.

[0218] Otherwise, PicOrderCntMsb is derived as follows: if((slice_pic_order_cnt_lsb < prevPicOrderCntLsb) && ((prevPicOrderCntLsb - slice_pic_order_cnt_lsb) >= (MaxPicOrderCntLsb / 2))) PicOrderCntMsb = prevPicOrderCntMsb + MaxPicOrderCntLsb (8-1) else if((slice_pic_order_cnt_lsb > prevPicOrderCntLsb) && ((slice_pic_order_cnt_lsb - prevPicOrderCntLsb) > (MaxPicOrderCntLsb / 2))) PicOrderCntMsb = prevPicOrderCntMsb - MaxPicOrderCntLsb else PicOrderCntMsb = prevPicOrderCntMsb

[0219] PicOrderCntVal is derived as follows:

[0220] PicOrderCntVal = PicOrderCntMsb + slice_pic_order_cnt_lsb (8-2)

[0221] Note that all CLVSS pictures for which poc_msb_val is absent have PicOrderCntVal equal to slice_pic_order_cnt_lsb, because for those pictures PicOrderCntMsb is set equal to 0.

[0222] The value of PicOrderCntVal must be in the range of -231 to 231-1, inclusive.

[0223] In one CVS, the PicOrderCntVal values ​​for any two coded pictures with the same value of nuh_layer_id shall not be identical.

[0224] All pictures in any particular access unit shall have the same value of PicOrderCntVal.

[0225] The function PicOrderCnt(picX) is specified as follows:

[0226] PicOrderCnt(picX) = PicOrderCntVal (8-3) of picture picX

[0227] The function DiffPicOrderCnt(picA,picB) is specified as follows:

[0228] DiffPicOrderCnt(picA,picB) = PicOrderCnt(picA) - PicOrderCnt(picB) (8-4)

[0229] The bitstream shall not contain data that results in a value of DiffPicOrderCnt(picA,picB) used in the decoding process that is not in the range of -215 to 215-1 (inclusive).

[0230] Note that if X is the current picture, and Y and Z are two other pictures in the same CVS, then Y and Z are considered to be in the same output order direction from X when DiffPicOrderCnt(X,Y) and DiffPicOrderCnt(X,Z) are both positive or both negative.

[0231] FIG. 12 is a schematic diagram of a video coding device 1200 (e.g., video encoder 300 or video decoder 400) according to an embodiment of the disclosure. The video coding device 1200 is suitable for implementing the disclosed embodiments described herein. The video coding device 1200 includes an ingress port 1210 and a receiver unit (Rx) 1220 for receiving data, a processor, logic unit, or central processing unit (CPU) 1230 for processing data, a transmitter unit (Tx) 1240 and an egress port 1250 for transmitting data, and a memory 1260 for storing data. The video coding device 1200 may also include optical / electrical (OE) components and electrical / optical (EO) components coupled to the ingress port 1210, the receiver unit 1220, the transmitter unit 1240, and the egress port 1250 for egress or ingress of optical or electrical signals.

[0232] The processor 1230 is implemented by hardware and software. The processor 1230 may be implemented as one or more CPU chips, cores (e.g., as a multi-core processor), field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), and digital signal processors (DSPs). The processor 1230 communicates with the ingress port 1210, the receiver unit 1220, the transmitter unit 1240, the egress port 1250, and the memory 1260. The processor 1230 includes a coding module 1270. The coding module 1270 implements the disclosed embodiments described above. For example, the coding module 1270 implements, processes, prepares, or provides various codec functions. Thus, the inclusion of the coding module 1270 provides a significant improvement in the functionality of the video coding device 1200 and provides the transformation of the video coding device 1200 into different states. Alternatively, the coding module 1270 may be implemented as instructions stored in the memory 1260 and executed by the processor 1230 .

[0233] Video coding device 1200 may also include input and / or output (I / O) devices 1280 for communicating data to and from a user. I / O devices 1280 may include output devices such as a display for displaying video data, speakers for outputting audio data, etc. I / O devices 1280 may also include input devices such as a keyboard, mouse, trackball, etc., and / or corresponding interfaces for interacting with such output devices.

[0234] Memory 1260 may include one or more disks, tape drives, and solid state drives, and may be used as an overflow data storage device for storing programs when such programs are selected for execution, as well as for storing instructions and data read during program execution. Memory 1260 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).

[0235] 13 is a schematic diagram of an embodiment of a means for coding 1300. In an embodiment, the means for coding 1300 is implemented in a video coding device 1302 (e.g., video encoder 300 or video decoder 400). The video coding device 1302 includes a means for receiving 1301. The means for receiving 1301 is configured to receive pictures to encode or to receive a bitstream to decode. The video coding device 1302 includes a means for transmitting 1307 coupled to the means for receiving 1301. The means for transmitting 1307 is configured to transmit the bitstream to a decoder or to transmit decoded images to a display means (e.g., one of the I / O devices 1280).

[0236] The video coding device 1302 includes a storage means 1303. The storage means 1303 is coupled to at least one of the receiving means 1301 or the transmitting means 1307. The storage means 1303 is configured to store instructions. The video coding device 1302 also includes a processing means 1305. The processing means 1305 is coupled to the storage means 1303. The processing means 1305 is configured to execute the instructions stored in the storage means 1303 to perform the methods disclosed herein.

[0237] It should also be understood that the steps of the exemplary methods described herein do not necessarily have to be performed in the order described, and the order of steps of such methods should be understood as merely exemplary. Similarly, additional steps may be included in such methods, and certain steps may be omitted or combined in a manner consistent with various embodiments of the present disclosure.

[0238] Although multiple 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 should be considered as illustrative and not limiting, and the intention should not be limited to the details given herein. For example, various elements or components may be combined or integrated in another system, or certain features may be omitted or not implemented.

[0239] Additionally, the techniques, systems, subsystems, and methods described and illustrated individually or separately 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 elements shown and described as coupled to each other, directly coupled to each other, or in communication with each other may be indirectly coupled or in communication through some interface, device, or intermediate component, whether electrical, mechanical, or otherwise. Other examples of changes, substitutions, and modifications will be ascertainable by those skilled in the art, and may be made without departing from the spirit and scope disclosed herein. [Other possible items] (Item 1) 1. A method of decoding implemented by a video decoder, comprising: receiving, by the video decoder, a bitstream including a sequence parameter set (SPS) and a header referencing the SPS, the SPS including a first flag, the header including a second flag, a length indicator of a Picture Order Count (POC) Most Significant Bit (MSB) value, and the POC MSB value, a value of the first flag specifying that the second flag is present in the header and a value of the second flag specifying that the POC MSB value is present in the header; determining, by the video decoder, a POC value based on the POC MSB value; identifying, by the video decoder, a picture from the bitstream based on the POC value; decoding, by the video decoder, the picture to obtain a decoded picture; A method for providing the above. (Item 2) 2. The method of claim 1, wherein the first flag includes a POC MSB flag designated as sps_poc_msb_cycle_flag. (Item 3) 3. The method of claim 1, wherein the value of the first flag is 1. (Item 4) 4. The method of any one of items 1 to 3, wherein the second flag comprises another POC MSB flag and is designated as ph_poc_msb_cycle_present_flag. (Item 5) 5. The method of any one of items 1 to 4, wherein the value of the second flag is 1. (Item 6) 6. The method of any of items 1 to 5, wherein the POC value is determined by concatenating the POC MSB value to a POC least significant bit (LSB) value. (Item 7) 7. The method according to any of items 1 to 6, wherein the second flag is a picture level flag. (Item 8) 8. The method of claim 1, wherein the length indicator+1 specifies the length of the POC MSB in bits. (Item 9) 9. The method according to any of items 1 to 8, further comprising displaying the decoded picture on a display of an electronic device. (Item 10) 1. A method of encoding implemented by a video encoder, comprising: setting, by the video encoder, a first flag in a sequence parameter set (SPS) to a value that indicates the presence of a second flag in a header that references the SPS; providing, by the video encoder, in the SPS, an indicator of a length of a Picture Order Count (POC) Most Significant Bit (MSB) value in the header; setting, by the video encoder, the second flag in the header to a value that specifies that the POC MSB value is present in the header; encoding, by the video encoder, the SPS and the header into a bitstream; storing, by the video encoder, the bitstream for communication to a video decoder; A method for providing the above. (Item 11) Item 11. The method of item 10, wherein the first flag includes a POC MSB flag designated as sps_poc_msb_cycle_flag, and the value of the first flag is one. (Item 12) 12. The method of any of items 10 to 11, wherein the second flag comprises another POC MSB flag and is designated as ph_poc_msb_cycle_present_flag, and the value of the second flag is 1. (Item 13) 13. The method according to any of items 10 to 12, wherein the POC value is determined by adding the POC MSB value to a POC Least Significant Bit (LSB) value, and the second flag is a picture level flag. (Item 14) 1. A decoding device, comprising: a receiver configured to receive a bitstream including a sequence parameter set (SPS) including a first flag and, when present in a header referencing the SPS, an indicator of a length of a picture order count (POC) most significant bit (MSB) value; a memory coupled to the receiver, the memory storing instructions; a processor coupled to the memory, the processor further comprising: determining whether a second flag is present in the header that references the SPS based on the value of the first flag; determining whether the POC MSB value is present in the header based on a value of the second flag when the second flag is present; determining a POC value based on the POC MSB value when the POC MSB value is present; identifying a picture from the bitstream based on the POC value; Decoding the picture to obtain a decoded picture. a processor configured to execute instructions to cause A decryption device comprising: (Item 15) Item 15. The decoding device of item 14, wherein the first flag includes a POC MSB flag designated as sps_poc_msb_cycle_flag. (Item 16) A decoding device as described in any of items 14 to 15, wherein the second flag includes another POC MSB flag and is designated as ph_poc_msb_cycle_present_flag. (Item 17) 17. A decoding device according to any of items 14 to 16, wherein the second flag is a picture level flag. (Item 18) 1. A coding device, comprising: a memory containing instructions; a processor coupled to the memory, setting a first flag in a sequence parameter set (SPS) to a value that specifies the presence of a second flag in a header that references the SPS; providing in the SPS an indicator of the length of a Picture Order Count (POC) Most Significant Bit (MSB) value when present in the header referencing the SPS; setting the second flag to a value that specifies that the POC MSB value is present in the header; and encoding said SPS and said header into a bitstream; a processor configured to implement instructions to cause the encoding device to: a transmitter coupled to the processor, the transmitter configured to transmit the bitstream to a video decoder; 1. An encoding device comprising: (Item 19) Item 19. The encoding device of item 18, wherein the first flag includes a POC MSB flag designated as sps_poc_msb_cycle_flag, and the second flag includes another POC MSB flag designated as ph_poc_msb_cycle_present_flag. (Item 20) 20. An encoding device according to any of items 18 to 19, wherein the second flag is a picture level flag. (Item 21) 1. A coding device, comprising: a receiver configured to receive pictures to encode or to receive a bitstream to decode; a transmitter coupled to the receiver, the transmitter configured to transmit the bitstream to a decoder or to transmit 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; a processor coupled to the memory, the processor configured to execute the instructions stored in the memory to perform the method according to any one of items 1 to 9 or any one of items 10 to 13; A coding device comprising: (Item 22) 21. The coding apparatus of item 20, further comprising a display configured to display the decoded picture. (Item 23) 1. A system comprising: An encoder; a decoder in communication with the encoder; The encoder or decoder comprises a decoding device, an encoding device or a coding apparatus according to any one of items 15 to 22. system. (Item 24) A means for coding, comprising: Receiving means adapted to receive pictures to be encoded or to receive a bitstream to be decoded; a transmitting means coupled to said receiving means, said transmitting means being configured to transmit said bitstream to a decoding means or to transmit a decoded image to a display means; a storage means coupled to at least one of said receiving means or said transmitting means, said storage means configured to store instructions; a processing means coupled to said storage means, said processing means being configured to execute the instructions stored in said storage means to perform the method according to any one of items 1 to 9 and any one of items 10 to 13; The means for providing the above. (Item 2-1) 1. A method of decoding implemented by a video decoder, comprising: receiving, by the video decoder, a bitstream including a sequence parameter set (SPS) and a header referencing the SPS, the SPS including a first flag, the header including a second flag, a length indicator of a Picture Order Count (POC) Most Significant Bit (MSB) value, and the POC MSB value, a value of the first flag specifying that the second flag is present in the header and a value of the second flag specifying that the POC MSB value is present in the header; determining, by the video decoder, a POC value based on the POC MSB value; identifying, by the video decoder, a picture from the bitstream based on the POC value; decoding, by the video decoder, the picture to obtain a decoded picture; A method for providing the above. (Item 2-2) The method of item 2-1, wherein the first flag includes a POC MSB flag specified as sps_poc_msb_cycle_flag. (Item 2-3) The method according to item 2-1 or 2-2, wherein the value of the first flag is 1. (Item 2-4) A method according to any one of items 2-1 to 2-3, wherein the second flag comprises another POC MSB flag and is designated as ph_poc_msb_cycle_present_flag. (Item 2-5) The method according to any one of items 2-1 to 2-4, wherein the value of the second flag is 1. (Item 2-6) The method according to any one of items 2-1 to 2-5, wherein the POC value is determined by concatenating the POC MSB value with a POC least significant bit (LSB) value. (Item 2-7) The method of any one of items 2-1 to 2-6, wherein the second flag is a picture level flag. (Item 2-8) The method of any one of items 2-1 to 2-7, wherein the length indicator+1 specifies the length of the POC MSB in bits. (Item 2-9) The method of any one of items 2-1 to 2-8, further comprising displaying the picture in a decoded state on a display of an electronic device. (Item 2-10) 1. A decoding device, comprising: a receiver configured to receive a bitstream including a sequence parameter set (SPS) including a first flag and, when present in a header referencing the SPS, an indicator of a length of a picture order count (POC) most significant bit (MSB) value; a memory coupled to the receiver, the memory storing instructions; a processor coupled to the memory, the processor further comprising: determining whether a second flag is present in the header that references the SPS based on the value of the first flag; determining whether the POC MSB value is present in the header based on a value of the second flag when the second flag is present; determining a POC value based on the POC MSB value when the POC MSB value is present; identifying a picture from the bitstream based on the POC value; Decoding the picture to obtain a decoded picture. a processor configured to execute the instructions to A decryption device comprising: (Item 2-11) A decoding device as described in items 2-10, wherein the first flag includes a POC MSB flag specified as sps_poc_msb_cycle_flag. (Item 2-12) A decoding device as described in item 2-10 or item 2-11, wherein the second flag includes another POC MSB flag and is specified as ph_poc_msb_cycle_present_flag. (Item 2-13) A decoding device described in any one of items 2-10 to 2-12, wherein the second flag is a picture level flag. (Item 2-14) A computer-readable storage medium having a program recorded thereon, the program causing a computer to execute the method according to any one of items 2-1 to 2-9. (Item 2-15) A computer program stored on a computer-readable storage medium, the computer program being configured to cause a computer to carry out the method according to any one of items 2-11 to 2-9.

Claims

1. 1. A decoding method performed by a video decoder, comprising: receiving, by the video decoder, a bitstream; converting, by the video decoder, using an entropy decoding scheme to obtain a sequence parameter set (SPS), a header referencing the SPS, and a picture parameter set (PPS), the SPS including a first flag and an indicator of a length of a picture order count (POC) most significant bit (MSB) value, the header including a second flag and the POC MSB value, the value of the first flag specifying that the second flag is present in the header, the value of the second flag specifying that the POC MSB value is present in the header, the SPS being a syntax structure including syntax elements that apply to zero or more entire coded layer video sequences (CLVSs) as determined by content of syntax elements found in the PPS referenced by syntax elements found in each picture header, and the PPS being a syntax structure including syntax elements that apply to zero or more entire coded pictures as determined by syntax elements found in each picture header; determining, by the video decoder, a POC value based on the POC MSB value; identifying, by the video decoder, a picture from the bitstream based on the POC value; and decoding, by the video decoder, the picture to obtain a decoded picture.

2. The method of claim 1 , wherein the first flag comprises a POC MSB flag designated as sps_poc_msb_cycle_flag.

3. The method of claim 1 or 2, wherein the value of the first flag is one.

4. The method of claim 1 , wherein the second flag comprises another POC MSB flag and is designated as ph_poc_msb_cycle_present_flag.

5. The method of claim 1 , wherein the value of the second flag is one.

6. The method of claim 1 , wherein the POC value is determined by concatenating the POC MSB value to a POC least significant bit (LSB) value.

7. The method of claim 1 , wherein the second flag is a picture-level flag.

8. The method of claim 1 , wherein the length indicator+1 specifies the length of the POC MSB in bits.

9. The method of claim 1 , further comprising displaying the decoded picture on a display of an electronic device.

10. 1. An encoding method performed by a video encoder, comprising: obtaining, by the video encoder, a Picture Parameter Set (PPS), the PPS being a syntax structure that includes syntax elements that apply to zero or more entire coded pictures as determined by syntax elements found in each picture header; setting, by the video encoder, a first flag in a sequence parameter set (SPS) to a value to specify that a second flag is present in a header that references the SPS, the SPS being a syntax structure that includes syntax elements that apply to zero or more entire Coded Layer Video Sequences (CLVSs) as determined by content of syntax elements found in the PPS referenced by syntax elements found in each picture header; providing, by the video encoder, in the SPS, an indicator of a length of a Picture Order Count (POC) Most Significant Bit (MSB) value in the header; setting, by the video encoder, the second flag in the header to a value to specify that the POC MSB value is present in the header; converting, by the video encoder, the SPS, the PPS, and the header into a bitstream using an entropy coding scheme; storing, by the video encoder, the bitstream for communication to a video decoder.

11. 11. The method of claim 10, wherein the first flag comprises a POC MSB flag designated as sps_poc_msb_cycle_flag, and the value of the first flag is one.

12. 12. The method of claim 10 or 11, wherein the second flag comprises another POC MSB flag and is designated as ph_poc_msb_cycle_present_flag, and the value of the second flag is one.

13. 13. The method of claim 10, wherein a POC value is determined by adding the POC MSB value to a POC Least Significant Bit (LSB) value, and the second flag is a picture level flag.

14. 1. A decoding device, comprising: a receiver configured to receive the bitstream; entropy decoding means for converting the bitstream to obtain a Sequence Parameter Set (SPS), a header referencing the SPS, and a Picture Parameter Set (PPS), the SPS including a first flag and an indicator of a length of a Picture Order Count (POC) Most Significant Bit (MSB) value, the header including a second flag and the POC MSB value, the value of the first flag specifying that the second flag is present in the header, the value of the second flag specifying that the POC MSB value is present in the header, the SPS being a syntax structure including syntax elements that apply to zero or more entire Coded Layer Video Sequences (CLVS) as determined by content of syntax elements found in the PPS referenced by syntax elements found in each picture header, and the PPS being a syntax structure including syntax elements that apply to zero or more entire coded pictures as determined by syntax elements found in each picture header; a memory coupled to said entropy decoding means for storing instructions; a processor coupled to the memory, A decoding device, wherein the processor is configured to execute the instructions to cause the decoding device to perform the method of any one of claims 1 to 9.

15. 1. A coding device, comprising: a memory containing instructions; A processor coupled to the memory, the processor configured to execute the instructions to cause the encoding device to perform the method of any one of claims 10 to 13.

16. a receiver configured to receive pictures to encode or to receive a bitstream to decode; a transmitter coupled to the receiver, the transmitter configured to transmit the bitstream to a decoder or to transmit 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; A coding apparatus comprising: a processor coupled to the memory, the processor executing the instructions stored in the memory to perform the method according to any one of claims 1 to 9 and the method according to any one of claims 10 to 13.