Method for adaptation parameter set reference and constraint in coded video stream

JP2024091956A5Active Publication Date: 2024-12-04TENCENT AMERICA LLC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2024072815
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2020-09-30
Filing Date
2024-04-26
Publication Date
2024-12-04
Estimated Expiration
2040-10-05

AI Technical Summary

Technical Problem

Existing video encoding and decoding technologies face challenges in efficiently adapting to changes in image size and resolution within a video sequence, leading to inefficiencies in bandwidth and storage requirements, particularly in applications requiring flexible resolution adjustments.

Method used

The implementation of adaptive parameter sets (APS) in the video encoding and decoding process, allowing for dynamic resolution changes through mechanisms like reference image resampling, with signaling options for ARC parameters to manage these changes effectively.

Benefits of technology

This approach significantly reduces bandwidth and storage needs by enabling flexible resolution adjustments, enhancing encoding efficiency and compatibility across various video applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

To provide a method of decoding an encoded video bitstream using at least one processor.SOLUTION: A method includes the steps of: obtaining from an encoded video bitstream a coded video sequence including a picture unit corresponding to a coded picture; obtaining a picture header (PH) network abstraction layer (NAL) unit included in the picture unit; obtaining at least one video coding layer (VCL) network abstraction layer (NAL) unit included in the picture unit; decoding the coded picture based on the PH NAL unit, the at least one VCL NAL unit, and an adaptation parameter set (APS) included in an APS NAL unit obtained from the coded video sequence; and outputting the decoded picture. The APS NAL unit is available to the at least one processor before the at least one VCL NAL unit.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This application claims priority to U.S. Provisional Patent Application No. 62 / 954,096, filed December 27, 2019, and U.S. Patent Application No. 17 / 038,541, filed September 30, 2020, both of which are incorporated herein in their entireties.

[0002] The disclosed subject matter relates to video encoding and decoding, and more particularly, to adaptive parameter set references and constraints in encoded video streams. [Background technology]

[0003] Video encoding and decoding using inter-picture prediction with motion compensation is known. Uncompressed digital video can consist of a sequence of images, each image having spatial dimensions of, for example, 1920x1080 luminance samples and associated chrominance samples. The sequence of images can have a fixed or variable image rate (also informally known as frame rate), for example, 60 images per second or 60 Hz. Uncompressed video has significant bitrate requirements. For example, 1080p60 4:2:0 video (1920x1080 luminance sample resolution at a frame rate of 60 Hz) with 8 bits per sample requires a bandwidth approaching 1.5 Gbit / s. One hour of such video requires more than 600 GByte of storage space.

[0004] One of the goals of video encoding and decoding can be the reduction of redundancy in the input video signal through compression. Compression can help reduce the aforementioned bandwidth or storage space requirements, in some cases by more than two orders of magnitude. Both lossless and lossy compression, as well as combinations thereof, can be used. Lossless compression refers to techniques where an exact copy of the original signal can be reconstructed from the compressed original signal. When using lossy compression, the reconstructed signal may not be identical to the original signal, but the distortion between the original and reconstructed signals is small enough to make the reconstructed signal useful for the intended application. For video, lossy compression is widely adopted. The amount of acceptable distortion varies by application; for example, users of a particular consumer streaming application may tolerate higher distortion than users of a television contribution application. The achievable compression ratio can reflect that a higher acceptable distortion can result in a higher compression ratio.

[0005] Video encoders and decoders may utilize techniques from a number of broad categories, including, for example, motion compensation, transform, quantization, and entropy coding, some of which may be introduced below.

[0006] Historically, video encoders and decoders have tended to work with a given picture size that was defined and remained constant for a coded video sequence (CVS), group of pictures (GOP), or similar multi-picture time frame in most cases. For example, in MPEG-2, system designs are known to change the horizontal resolution (and, thereby, the picture size) depending on factors such as scene activity, but only in I-pictures and therefore usually for GOPs. Resampling of reference pictures to use different resolutions within a CVS is known, for example, from ITU-T Rec. H.263 Annex P. However, here the picture size does not change, only the reference picture is resampled, so that only a part of the picture canvas may be used (in the case of downsampling) or only a part of the scene may be captured (in the case of upsampling). Furthermore, H.263 Annex Q allows for resampling individual macroblocks by a factor of two upwards or downwards (in each dimension). Again, the picture size remains the same. The size of the macroblocks is fixed in H.263, so there is no need to signal it. Summary of the Invention [Means for solving the problem]

[0007] In one embodiment, a method for decoding an encoded video bitstream using at least one processor is provided, the method including: obtaining, from the encoded video bitstream, a coded video sequence including an image unit corresponding to a coded image; obtaining a picture header (PH) network abstraction layer (NAL) unit included in the image unit; obtaining at least one video coding layer (VCL) network abstraction layer (NAL) unit included in the image unit; decoding the coded image based on the PH NAL unit, the at least one VCL NAL unit, and an adaptation parameter set (APS) included in the APS NAL unit obtained from the coded video sequence; and outputting the decoded image, wherein the APS NAL unit is available to the at least one processor before the at least one VCL NAL unit.

[0008] In one embodiment, a device for decoding an encoded video bitstream is provided, the device including: at least one memory configured to store program code; and at least one processor configured to read the program code and operate as instructed by the program code, the program code including: a first obtaining code configured to cause the at least one processor to obtain, from the encoded video bitstream, a coded video sequence including an image unit corresponding to a coded image; a second obtaining code configured to cause the at least one processor to obtain a picture header (PH) network abstraction layer (NAL) unit included in the image unit; a third obtaining code configured to cause the at least one processor to obtain at least one video coding layer (VCL) network abstraction layer (NAL) unit included in the image unit; a decoding code configured to cause the at least one processor to decode the coded image based on the PH NAL unit, the at least one VCL NAL unit, and an adaptation parameter set (APS) included in the APS NAL unit obtained from the coded video bitstream; and an output code configured to cause the at least one processor to output the decoded image, the APS NAL unit including the at least one VCL It is available to at least one processor before the NAL unit.

[0009] In one embodiment, a non-transitory computer-readable medium is provided that stores instructions, the instructions including one or more instructions that, when executed by one or more processors of a device for decoding an encoded video bitstream, cause the one or more processors to obtain, from the encoded video bitstream, a coded video sequence including an image unit corresponding to a coded image; obtain a picture header (PH) network abstraction layer (NAL) unit included in the image unit; obtain at least one video coding layer (VCL) network abstraction layer (NAL) unit included in the image unit; decode the coded image based on the PH NAL unit, the at least one VCL NAL unit, and an adaptation parameter set (APS) included in the APS NAL unit obtained from the coded video sequence; and output the decoded image, wherein the APS NAL unit is available to the at least one processor before the at least one VCL NAL unit.

[0010] Further features, nature and various advantages of the disclosed subject matter will become more apparent from the following detailed description and the accompanying drawings. [Brief description of the drawings]

[0011] [Figure 1] FIG. 1 is a schematic diagram of a simplified block diagram of a communication system according to one embodiment. [Diagram 2] FIG. 1 is a schematic diagram of a simplified block diagram of a communication system according to one embodiment. [Diagram 3] FIG. 2 is a schematic diagram of a simplified block diagram of a decoder according to one embodiment. [Figure 4] FIG. 2 is a schematic diagram of a simplified block diagram of an encoder according to one embodiment. [Figure 5A] FIG. 1 is a schematic diagram of options for signaling ARC parameters according to one embodiment. [Figure 5B] FIG. 13 is another schematic diagram of options for signaling ARC parameters according to one embodiment. [Figure 5C]FIG. 13 is yet another schematic diagram of options for signaling ARC parameters according to one embodiment. [Figure 5D] FIG. 13 is yet another schematic diagram of options for signaling ARC parameters according to one embodiment. [Figure 5E] FIG. 13 is yet another schematic diagram of options for signaling ARC parameters according to one embodiment. [Figure 6A] FIG. 2 is a schematic diagram of an example syntax table according to one embodiment. [Figure 6B] FIG. 2 is another schematic diagram of an example syntax table according to one embodiment. [Figure 7] 1 is an example of a prediction structure for scalability with adaptive resolution change, according to one embodiment. [Figure 8] FIG. 2 illustrates an example of a syntax table according to one embodiment. [Figure 9] FIG. 1 is a schematic diagram of a simplified block diagram of parsing and decoding of POC cycles per access unit and access unit count values ​​according to one embodiment. [Figure 10] FIG. 2 is a schematic diagram of a video bitstream structure including multiple sub-images according to one embodiment. [Figure 11] FIG. 13 is a schematic diagram of a display of a selected sub-image with enhanced resolution, according to one embodiment. [Figure 12] FIG. 2 is a block diagram of a decoding and display process for a video bitstream containing multiple sub-images according to one embodiment. [Figure 13] FIG. 2 is a schematic diagram of a 360 degree video display with an enhanced layer of sub-images, according to one embodiment. [Figure 14] FIG. 2 illustrates an example of layout information for a sub-image and its corresponding layer and image prediction structures according to one embodiment. [Figure 15] FIG. 1 illustrates an example of layout information for a sub-picture and its corresponding layer and picture prediction structures with local region spatial scalability format according to one embodiment. [Figure 16A]FIG. 13 illustrates an example syntax table of sub-image layout information according to one embodiment. [Figure 16B] FIG. 11 is another diagram illustrating an example of a syntax table of sub-image layout information according to one embodiment. [Figure 17] FIG. 13 illustrates an example syntax table of an SEI message for sub-image layout information, according to one embodiment. [Figure 18] A diagram illustrating an example syntax table showing profile / tier / level information for output layers and each output layer set, according to one embodiment. [Figure 19] A diagram illustrating an example syntax table indicating output layer modes for each output layer set, according to one embodiment. [Figure 20] FIG. 13 illustrates an example syntax table showing the current sub-image of each layer for each output layer set, according to one embodiment. [Figure 21] FIG. 2 is a schematic diagram of bitstream conformance requirements according to one embodiment. [Figure 22] 1 is a flowchart of an exemplary process for decoding an encoded video bitstream, according to one embodiment. [Diagram 23] FIG. 1 is a schematic diagram of a computer system according to one embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] FIG. 1 shows a simplified block diagram of a communication system (100) according to one embodiment of the present disclosure. The system (100) may include at least two terminals (110-120) interconnected via a network (150). For unidirectional transmission of data, a first terminal (110) may encode video data at a local location for transmission to another terminal (120) via the network (150). The second terminal (120) may receive the encoded video data of the other terminal from the network (150), decode the encoded data, and display the restored video data. Unidirectional data transmission may be common in media serving applications, etc.

[0013] 1 illustrates a second pair of terminals (130, 140) provided to support bidirectional transmission of encoded video, such as may occur during a video conference. For the bidirectional transmission of data, each terminal (130, 140) may encode video data captured at a local location for transmission to the other terminal over the network (150). Each terminal (130, 140) may also receive encoded video data transmitted by the other terminal, decode the encoded data, and display the reconstructed video data on a local display device.

[0014] In FIG. 1, the terminals (110-140) are shown as servers, personal computers, and smartphones, although the principles of the present disclosure may not be so limited. The embodiments of the present disclosure apply to laptop computers, tablet computers, media players, and / or dedicated video conferencing equipment. The network (150) represents any number of networks that convey encoded video data between the terminals (110-140), including, for example, wired and / or wireless communication networks. The communication network (150) may exchange data over circuit-switched channels and / or packet-switched channels. Representative networks include telecommunications networks, local area networks, wide area networks, and / or the Internet. For purposes of this description, the architecture and topology of the network (150) may not be important to the operation of the present disclosure, unless otherwise described herein below.

[0015] 2 illustrates the arrangement of video encoders and decoders in a streaming environment as an example of an application of the disclosed subject matter. The disclosed subject matter may be equally applicable to other video-enabled applications including, for example, video conferencing, digital TV, storage of compressed video on digital media including CDs, DVDs, memory sticks, etc.

[0016] The streaming system may include a capture subsystem (213), which may include a video source (201), such as a digital camera, that generates an uncompressed video sample stream (202). The sample stream (202), shown as a thick line to highlight the high amount of data compared to an encoded video bitstream, may be processed by an encoder (203) coupled to the camera (201). The encoder (203) may include hardware, software, or a combination thereof to enable or implement aspects of the disclosed subject matter, as described in more detail below. The encoded video bitstream (204), shown as a thin line to highlight the lower amount of data compared to the sample stream, may be stored on a streaming server (205) for future use. One or more streaming clients (206, 208) may access the streaming server (205) to retrieve copies (207, 209) of the encoded video bitstream (204). The client (206) may include a video decoder (210) that decodes an incoming copy of the encoded video bitstream (207) and generates an outgoing video sample stream (211) that can be rendered on a display (212) or other rendering device (not shown). In some streaming systems, the video bitstreams (204, 207, 209) may be encoded according to a particular video encoding / compression standard, such as ITU-T Recommendation H.265. A video encoding standard informally known as Versatile Video Coding (VVC) is under development. The disclosed subject matter may be used in the context of VVC.

[0017] FIG. 3 may be a functional block diagram of a video decoder (210) according to one embodiment of the disclosure.

[0018] The receiver (310) may receive one or more codec video sequences to be decoded by the decoder (210); in the same or another embodiment, one coded video sequence at a time, with the decoding of each coded video sequence being independent of the other coded video sequences. The coded video sequences may be received from a channel (312), which may be a hardware / software link to a storage device that stores the encoded video data. The receiver (310) may receive the encoded video data with other data, e.g., coded audio data and / or auxiliary data streams, which may be transferred to each using an entity (not shown). The receiver (310) may separate the coded video sequences from the other data. To combat network jitter, a buffer memory (315) may be coupled between the receiver (310) and the entropy decoder / parser (320) (hereinafter the "parser"). When the receiver (310) is receiving data from a storage / forwarding device of sufficient bandwidth and controllability, or from an isocyclonic network, the buffer (315) may not be needed or may be small. For use in a best effort packet network such as the Internet, the buffer (315) may be required and may be relatively large, preferably of adaptive size.

[0019] The video decoder (210) may include a parser (320) for reconstructing symbols (321) from the entropy-coded video sequence. These categories of symbols include information used to manage the operation of the decoder (210) and potentially information for controlling a rendering device (212), such as a display, that is not an integral part of the decoder but may be coupled to it, as shown in FIG. 3. The control information for the rendering device(s) may be in the form of supplemental enhancement information (SEI messages) or video usability information (VUI) parameter set fragments (not shown). The parser (320) may parse and / or entropy decode the received encoded video sequence. The encoding of the encoded video sequence may follow a video coding technique or standard and may follow principles well known to those skilled in the art, including variable length coding, Huffman coding, arithmetic coding with or without context sensitivity, etc. The parser (320) may extract a set of subgroup parameters for at least one of the subgroups of pixels in the video decoder from the encoded video sequence based on at least one parameter corresponding to the group. A subgroup may include a group of pictures (GOP), a picture, a subpicture, a tile, a slice, a brick, a macroblock, a coding tree unit (CTU) coding unit (CU), a block, a transform unit (TU), a prediction unit (PU), etc. A tile may indicate a rectangular region of a CU / CTU in a particular tile column and row in a picture. A brick may indicate a rectangular region of a CU / CTU column in a particular tile. A slice may indicate one or more bricks of a picture contained in a NAL unit. A subpicture may indicate a rectangular region of one or more slices in a picture. The entropy decoder / parser may also extract information from the coded video sequence, such as transform coefficients, quantizer parameter values, motion vectors, etc.

[0020] The parser (320) may perform entropy decoding and / or parsing operations on the video sequence received from the buffer (315) to produce symbols (321).

[0021] The reconstruction of the symbols (321) can involve several different units, depending on the type of coded video picture or part thereof (e.g., inter and intra pictures, inter and intra blocks), and other factors. Which units are involved and how may be controlled by subgroup control information parsed from the coded video sequence by the parser (320). The flow of such subgroup control information between the parser (320) and the following units is not shown for clarity.

[0022] Beyond the functional blocks already mentioned, the decoder 210 can be conceptually subdivided into several functional units as described below. In an actual implementation operating under commercial constraints, many of these units will interact closely with each other and may be at least partially integrated with each other. However, for purposes of describing the disclosed subject matter, the following conceptual subdivision into functional units is appropriate:

[0023] The first unit is a scalar and / or inverse transform unit (351), which receives quantized transform coefficients and control information from the parser (320) including which transform to use, block size, quantization factors, quantization scaling matrices, etc. as symbol(s) (321) and can output blocks containing sample values ​​that can be input to an aggregator (355).

[0024] In some cases, the output samples of the scaler and / or inverse transform (351) may relate to intra-coded blocks; i.e., intra-coded blocks that do not use prediction information from a previously reconstructed image, but can use prediction information from a previously reconstructed portion of the current image. Such prediction information may be provided by an intra-image prediction unit (352). In some cases, the intra-image prediction unit (352) generates a block of the same size and shape as the block being reconstructed using surrounding already reconstructed information fetched from the current (partially reconstructed) image (358). The aggregator (355) adds, possibly on a sample-by-sample basis, the prediction information generated by the intra-prediction unit (352) to the output sample information provided by the scaler and / or inverse transform unit (351).

[0025] In other cases, the output samples of the scaler and / or inverse transform unit (351) may relate to an inter-coded, potentially motion-compensated block. In such cases, the motion compensation prediction unit (353) may access a reference picture memory (357) to fetch samples used for prediction. After motion compensating the fetched samples according to the symbols (321) related to the block, these samples may be added by the aggregator (355) to the output of the scaler and / or inverse transform unit (in this case referred to as residual samples or residual signals) to generate output sample information. The addresses in the reference picture memory format from which the motion compensation unit fetches prediction samples may be controlled by motion vectors available to the motion compensation unit in the form of symbols (321), which may have, for example, X, Y, and reference picture components. Motion compensation may also include interpolation of sample values ​​fetched from the reference picture memory when sub-sample accurate motion vectors are used, motion vector prediction mechanisms, etc.

[0026] The output samples of the aggregator (355) can have various loop filtering techniques applied in a loop filter unit (356). The video compression techniques can include in-loop filter techniques controlled by parameters contained in the coded video bitstream and made available to the loop filter unit (356) as symbols (321) from the parser (320), but can also be responsive to meta-information obtained during decoding of previous (decoding order) parts of the coded image or coded video sequence, or to previously reconstructed, loop filtered sample values.

[0027] The output of the loop filter unit (356) may be a sample stream that can be output to the rendering device (212) and also stored in a reference image memory for use in future inter-image prediction.

[0028] Once fully reconstructed, a particular encoded picture may be used as a reference picture for future predictions. Once an encoded picture is fully reconstructed and identified as a reference picture (e.g., by the parser (320)), the current reference picture (358) may become part of the reference picture buffer (357) and the new current picture memory may be relocated before beginning reconstruction of a subsequent encoded picture.

[0029] The video decoder 210 may perform decoding operations according to a given video compression technique, which may be documented in a standard, such as ITU-T Rec. H.265. The encoded video sequence may comply with the syntax specified in the video compression technique or standard being used, in the sense of conforming to the syntax of the video compression technique or standard as specified in the video compression technique document or standard, particularly the profile documents therein. Also, what is required for compliance may be that the complexity of the encoded video sequence is within the bounds defined by the level of the video compression technique or standard. In some cases, the level limits the maximum picture size, maximum frame rate, maximum reconstruction sample rate (e.g., measured in megasamples per second), maximum reference picture size, etc. The limits set by the level may in some cases be further limited by a hypothetical reference decoder (HRD) specification and metadata for HRD buffer management signaled in the encoded video sequence.

[0030] In one embodiment, the receiver (310) can receive additional (redundant) data with the encoded video. The additional data may be included as part of the encoded video sequence(s). The additional data may be used by the video decoder (210) to properly decode the data and / or to more accurately reconstruct the original video data. The additional data may be in the form of, for example, temporal, spatial, or SNR enhancement layers, redundant slices, redundant images, forward error correction codes, etc.

[0031] FIG. 4 may be a functional block diagram of a video encoder (203) according to one embodiment of the disclosure.

[0032] The encoder (203) may receive video samples from a video source (201) (not part of the encoder) that may capture the video image(s) to be encoded by the encoder (203).

[0033] The video source (201) may provide a source video sequence to be encoded by the encoder (203) in the form of a digital video sample stream that may be of any suitable bit depth (e.g., 8-bit, 10-bit, 12-bit, ...), any color space (e.g., BT.601 Y CrCB, RGB, ...), and any suitable sampling structure (e.g., Y CrCb 4:2:0, Y CrCb 4:4:4). In a media serving system, the video source (201) may be a storage device that stores pre-prepared video. In a video conferencing system, the video source (203) may be a camera that captures local image information as a video sequence. The video data may be provided as a number of individual images that give motion when viewed in succession. The image itself may be organized as a spatial array of pixels, each pixel may contain one or more samples depending on the sampling structure, color space, etc. in use. Those skilled in the art can easily understand the relationship between pixels and samples. The following description focuses on samples.

[0034] According to one embodiment, the encoder (203) can encode and compress the images of a source video sequence into an encoded video sequence (443) in real-time or under any other time constraint required by an application. Enforcing an appropriate encoding rate is one function of the controller (450). The controller controls and is operatively coupled to other functional units as described below. Coupling is not shown for clarity. Parameters set by the controller may include rate control related parameters (picture skip, quantizer, lambda value for rate distortion optimization techniques, ...), picture size, group of pictures (GOP) layout, maximum motion vector search range, etc. Those skilled in the art can easily identify other functions of the controller (450) as they may relate to a video encoder (203) optimized for a certain system design.

[0035] Some video encoders operate in a way that those skilled in the art can easily recognize as a "coding loop." As an oversimplified explanation, the coding loop can consist of an encoding part of the encoder (430) (hereinafter "source coder") (responsible for creating symbols based on the input image to be coded and the reference image(s)), and a (local) decoder (433) embedded in the encoder (203) that reconstructs the symbols to generate sample data, which the (remote) decoder also generates (since in the video compression techniques considered in the disclosed subject matter, any compression between the symbols and the coded video bitstream is lossless). That reconstructed sample stream is input to a reference image memory (434). Since the decoding of the symbol stream results in bit-exact results independent of the decoder location (local or remote), the reference image buffer contents are also bit-exact between the local and remote encoders. In other words, the predictor part of the encoder "sees" exactly the same sample values ​​as the decoder "sees" when using prediction during decoding. This basic principle of reference image synchrony (and the resulting drift if synchrony cannot be maintained, eg, due to channel errors) is well known to those skilled in the art.

[0036] The operation of the "local" decoder (433) may be the same as the operation of the "remote" decoder (210) already described in detail in connection with Figure 3. However, with brief reference also to Figure 4, because symbols are available and the encoding and / or decoding of symbols into a coded video sequence by the entropy coder (445) and parser (320) may be lossless, the entropy decoding portion of the decoder (210), including the channel (312), receiver (310), buffer (315), and parser (320), may not be fully implemented in the local decoder (433).

[0037] An observation that can be made at this point is that any decoder techniques, except for parsing and / or entropy decoding, present in the decoder must also be present in substantially identical functional form in the corresponding encoder. For this reason, the disclosed subject matter focuses on the decoder operation. A description of the encoder techniques can be omitted since they are the inverse of the decoder techniques described generically. Only in certain areas are more detailed descriptions required and are provided below.

[0038] As part of its operation, the source coder (430) may perform motion-compensated predictive coding, which predictively codes an input frame with reference to one or more previously coded frames from the video sequence designated as “reference frames.” In this manner, the coding engine (432) codes differences between pixel blocks of the input frame and pixel blocks of reference frame(s) that may be selected as predictive reference(s) for the input frame.

[0039] The local video decoder (433) may decode the encoded video data of a frame that may be designated as a reference frame based on the symbols generated by the source coder (430). The operation of the encoding engine (432) may advantageously be a lossy process. When the encoded video data may be decoded in a video decoder (not shown in FIG. 4), the reconstructed video sequence may be a copy of the source video sequence, usually with some errors. The local video decoder (433) may replicate the decoding process that may be performed by the video decoder to the reference frame, and the reconstructed reference frame may be stored in a reference image cache (434). In this way, the encoder (203) may locally store a copy of the reconstructed reference frame that has a common content as the reconstructed reference frame obtained by the far-end video decoder (without transmission errors).

[0040] The predictor (435) may perform a prediction search for the coding engine (432). That is, for a new frame to be coded, the predictor (435) may search the reference image memory (434) for sample data (as candidate reference pixel blocks) or specific metadata of the reference images, such as motion vectors, block shapes, etc., that may serve as suitable prediction references for the new image. The predictor (435) may operate on a pixel block-by-block basis of samples to find suitable prediction references. In some cases, as determined by the search results obtained by the predictor (435), the input image may have prediction references drawn from multiple reference images stored in the reference image memory (434).

[0041] The controller (450) can manage the encoding operations of the video coder (430), including, for example, setting the parameters and subgroup parameters used to encode the video data.

[0042] The output of all the aforementioned functional units may be subject to entropy coding in an entropy coder (445), which converts the symbols produced by the various functional units into a coded video sequence by losslessly compressing the symbols according to techniques known to those skilled in the art, such as Huffman coding, variable length coding, arithmetic coding, etc.

[0043] The transmitter (440) can buffer the encoded video sequence(s) produced by the entropy coder (445) and prepare them for transmission over a communication channel (460), which can be a hardware / software link to a storage device that stores the encoded video data. The transmitter (440) can merge the encoded video data from the video coder (430) with other data to be transmitted, such as encoded audio data and / or auxiliary data streams (sources not shown).

[0044] A controller (450) can manage the operation of the encoder (203). During encoding, the controller (450) can assign a particular encoded image type to each encoded image, which can affect the encoding technique that can be applied to the respective image. For example, images are often assigned as one of the following frame types:

[0045] An intra-picture (I-picture) may be a picture that can be coded and decoded without using other frames in a sequence as a source of prediction. Some video codecs allow different types of intra-pictures, including, for example, independent decoder refresh pictures. Those skilled in the art are aware of these variations of I-pictures and their respective uses and characteristics.

[0046] A predicted image (P-image) may be an image that can be encoded and decoded using intra- or inter-prediction, which uses at most one motion vector and reference index to predict sample values ​​for each block.

[0047] A bidirectionally predicted image (B-image) may be an image that can be coded and decoded using intra- or inter-prediction that uses up to two motion vectors and reference indices to predict the sample values ​​of each block. Similarly, multiple predicted images may use more than two reference images and associated metadata for the reconstruction of a single block.

[0048] A source image is generally spatially subdivided into multiple sample blocks (e.g., blocks of 4x4, 8x8, 4x8, or 16x16 samples each) and may be coded block by block. Blocks may be predictively coded with reference to other (already coded) blocks as determined by a coding assignment applied to the respective image of the block. For example, blocks of an I image may be non-predictively coded or predictively coded with reference to already coded blocks of the same image (spatial or intra prediction). Pixel blocks of a P image may be coded non-predictively, via spatial prediction, or via temporal prediction, with reference to one previously coded reference image. Blocks of a B image may be coded non-predictively, via spatial prediction, or via temporal prediction, with reference to one or two previously coded reference images.

[0049] The video coder (203) may perform encoding operations according to a given video encoding technique or standard, such as ITU-T Rec. H.265. In its operations, the video coder (203) may perform various compression operations, including predictive encoding operations that exploit temporal and spatial redundancy in the input video sequence. Thus, the encoded video data may conform to a syntax specified by the video encoding technique or standard being used.

[0050] In one embodiment, the transmitter (440) can transmit additional data along with the encoded video. The video coder (430) may include such data as part of the coded video sequence. The additional data may include temporal / spatial / SNR enhancement layers, other forms of redundant data such as redundant pictures and slices, Supplemental Enhancement Information (SEI) messages, Visual Usability Information (VUI) parameter set fragments, etc.

[0051] Recently, compression domain aggregation, or extraction of multiple semantically independent image parts into a single video image, has attracted attention. In particular, for example, in the context of 360-degree encoding or certain surveillance applications, multiple semantically independent source images (e.g., six cubic surfaces of a cube-projected 360-degree scene, or individual camera inputs in the case of a multi-camera surveillance setup) may require separate adaptive resolution settings to address different scene-specific activities at a given time. In other words, the encoder may choose to use different resampling factors for the different semantically independent images that make up the entire 360-degree or surveillance scene at a given time. Once combined into a single image, it requires that resampling of the reference image is performed for the parts of the encoded image, and adaptive resolution encoding signaling is available.

[0052] The following introduces several terms that will be referenced in the remainder of this description.

[0053] A sub-image may refer to a rectangular arrangement of samples, blocks, macroblocks, coding units, or similar entities that may be semantically grouped and coded independently at a changed resolution in some cases. One or more sub-images may form an image. One or more coded sub-images may form a coded image. One or more sub-images may be assembled into an image, and one or more sub-images may be extracted from an image. In certain circumstances, one or more coded sub-images may be assembled in the compressed domain without transcoding to the coded image down to the sample level, and in the same or other cases, one or more coded sub-images may be extracted from a coded image in the compressed domain.

[0054] Adaptive Resolution Change (ARC) may refer to a mechanism that allows changing the resolution of an image or sub-image in a coded video sequence, for example by reference image resampling. Hereinafter, ARC parameters refer to the control information needed to perform adaptive resolution change, which may include, for example, filter parameters, scaling factors, output image and / or reference image resolution, various control flags, etc.

[0055] In an embodiment, encoding and decoding may be performed on a single semantically independent coded video image. Before describing the implications of encoding / decoding multiple sub-images with independent ARC parameters and the additional complexities that they imply, options for signaling the ARC parameters shall be described.

[0056] With reference to Figures 5A-5E, several embodiments for signaling ARC parameters are shown. As mentioned in each embodiment, they may have certain advantages and certain disadvantages in terms of coding efficiency, complexity, and architecture. A video coding standard or technology may select one or more of these embodiments, or options known from the prior art, for signaling ARC parameters. It is contemplated that the embodiments may not be mutually exclusive and may be interchanged based on application needs, relevant standard technologies, or encoder choices.

[0057] Classes of ARC parameters may include:

[0058] -Upsample and / or downsample factors, either separate or combined, in the X and Y dimensions.

[0059] -Upsample and / or downsample factors with an added time dimension, indicating a constant rate of zooming in / out for a given number of images.

[0060] - Either of the above two may include encoding of one or more presumed short syntax elements that may point to a table containing the factor(s).

[0061] Resolution in the X or Y dimension of the input, output, reference, or coded image, combined or separate, in samples, blocks, macroblocks, coding units (CUs), or any other suitable unit of granularity. If there are two or more resolutions (e.g., one for the input image, one for the reference image, etc.), in certain cases one set of values ​​may be inferred from another set of values. This may be gated, for example, by using flags. See below for more detailed examples.

[0062] - "warping" coordinates, similar to those used in H.263 Annex P, with appropriate granularity as described above. H.263 Annex P defines one efficient way of encoding such warping coordinates, although other, potentially more efficient ways are conceivable. For example, Annex P's variable-length lossless "Huffman"-style encoding of warping coordinates could be replaced by an appropriate-length binary encoding, where the length of the binary code could, for example, be derived from the maximum image size, possibly multiplied by a certain factor and offset by a certain value to allow "warping" outside the bounds of the maximum image size.

[0063] -Upsample and / or downsample filter parameters. In an embodiment, there may be only a single filter for upsampling and / or downsampling. However, in an embodiment, it may be desirable to allow more flexibility in filter design, which may require signaling of filter parameters. Such parameters may be selected via an index in a list of possible filter designs, the filter may be fully specified (e.g., via a list of filter coefficients, using a suitable entropy coding technique), the filter may be implicitly selected via the upsample and / or downsample ratio and accordingly signaled according to any of the mechanisms described above, etc.

[0064] Hereinafter, the description assumes the encoding of a finite set of upsample and / or downsample factors (the same factors used in both the X and Y dimensions) indicated via a codeword. The codeword may be variable length encoded, for example, using an Ext-Golomb code common to certain syntax elements in video encoding specifications such as H.264 and H.265. One suitable mapping of values ​​to upsample and / or downsample factors may, for example, follow Table 1.

[0065] [Table 1]

[0066] Many similar mappings can be devised according to the needs of the application and the capabilities of the upscaling and downscaling mechanisms available in the video compression technology or standard. The table can be extended to many more values. The values ​​may also be represented by entropy coding mechanisms other than Ext-Golomb codes, for example using binary coding. This may have certain advantages in cases where the resampling factor was significant outside the video processing engine (main encoder and decoder) itself, for example by MANE. Note that in situations where no resolution change is required, a short Ext-Golomb code can be chosen. In the above table, there is only a single bit. This may have coding efficiency advantages over using binary codes in the most general case.

[0067] The number of entries in the table, as well as their semantics, may be fully or partially configurable. For example, a basic overview of the table may be conveyed in a "high" parameter set, such as a sequence or decoder parameter set. In an embodiment, one or more such tables may be defined in a video encoding technology or standard, or may be selected, for example, via a decoder or sequence parameter set.

[0068] The following describes how the upsample and / or downsample factors (ARC information) coded as above may be included in a video coding technique or standard syntax. Similar considerations may apply to one or several codewords that control the upsample and / or downsample filters. See below for a description of when a relatively large amount of data is required for a filter or other data structure.

[0069] As shown in Figure 5A, H.263 Annex P includes ARC information (502) in the form of four warping coordinates into the picture header (501), specifically in the H.263 PLUSPTYPE (503) header extension. This may be a wise design choice when a) there is a picture header available and b) frequent changes of the ARC information are expected. However, the overhead when using H.263-style signaling may be very high, and because picture headers may be of a temporary nature, the scaling factor may not be relevant between picture boundaries.

[0070] As shown in Figure 5B, JVCET-M135-v1 includes ARC reference information (505) (index) located in the image parameter set (504) to index a table (506) containing target resolutions located in the sequence parameter set (507). The placement of possible resolutions in table (506) in the sequence parameter set (507) may be justified by using SPS as an interoperability negotiation point during capability exchange according to verbal statements made by the authors. Resolutions may vary within the limits set by the values ​​in table (506) on a per image basis by referencing the appropriate image parameter set (504).

[0071] 5C-5E, the following embodiments may exist for conveying ARC information in a video bitstream. Each of these options has certain advantages over the above-mentioned embodiments. The embodiments may coexist in the same video coding technology or standard.

[0072] In an embodiment, for example in the embodiment shown in FIG. 5C, the ARC information (509), such as a resampling (zoom) factor, may be present in a slice header, a GOP header, a tile header, or a tile group header. FIG. 5C shows an embodiment in which a tile group header (508) is used. This may be appropriate when the ARC information is small, such as a single variable-length ue(v) or a fixed-length codeword of a few bits, as described above. Having the ARC information directly in the tile group header has the added advantage that the ARC information may be applicable to, for example, a sub-image represented by that tile group, rather than to the entire image. See also below. In addition, even if a video compression technology or standard only assumes a full-image adaptive resolution change (as opposed to, for example, a tile group-based adaptive resolution change), putting the ARC information in the tile group header versus putting it in an H.263-style image header has certain advantages in terms of error resilience.

[0073] In an embodiment, such as the embodiment shown in FIG. 5D, the ARC information (512) itself may reside in an appropriate parameter set, such as, for example, a picture parameter set, a header parameter set, a tile parameter set, an adaptive parameter set, etc. FIG. 5D illustrates an embodiment in which an adaptive parameter set (511) is used. The scope of that parameter set may preferably be up to a picture, e.g., a tile group. The use of the ARC information is implicit by the invocation of the associated parameter set. For example, if a video coding technology or standard only contemplates picture-based ARC, then a picture parameter set or equivalent may be appropriate.

[0074] In an embodiment, such as the embodiment shown in Figure 5E, the ARC reference information (513) may be present in a tile group header (514) or similar data structure, and may point to a subset of the ARC information (515) available in a parameter set (516) that spans more than a single image, such as a sequence parameter set or a decoder parameter set.

[0075] As shown in FIG. 6A, the Tile Group Header (601) as an example syntax structure of a header applicable to a (possibly rectangular) portion of an image can conditionally contain a variable-length Exp-Golomb coding syntax element dec_pic_size_idx (602) (shown in bold). The presence of this syntax element in the Tile Group Header can be gated using the value of the adaptive resolution (603), a flag not shown here in bold, which means that the flag is present in the bitstream at the point where it occurs in the syntax diagram. Whether adaptive resolution is used for this image or a portion thereof can be signaled in any high-level syntax structure inside or outside the bitstream. In the example shown, it is signaled in the sequence parameter set as outlined below.

[0076] Referring to FIG. 6B, an excerpt of a sequence parameter set (610) is also shown. The first syntax element shown is adaptive_pic_resolution_change_flag (611). If true, that flag can indicate the use of adaptive resolution, which may require specific control information. In this example, such control information is conditionally present based on the value of the flag based on an if() statement in the parameter set (612) and the tile group header (601).

[0077] When adaptive resolution is used, in this example the encoding is output resolution in samples (613). The number 613 refers to both output_pic_width_in_luma_samples and output_pic_height_in_luma_samples which together can define the resolution of the output image. Elsewhere in the video coding technology or standard, specific limitations on either value can be defined. For example, the level definition can limit the number of total output samples that can be the product of the values ​​of those two syntax elements. Also, a particular video coding technology or standard, or an external technology or standard, such as a system standard, can limit the numbering range (e.g., one or both dimensions must be divisible by a power of 2), or the aspect ratio (e.g., width and height must have a relationship such as 4:3 or 16:9). Such limitations may be introduced to facilitate hardware implementation or for other reasons and are well known in the art.

[0078] In certain applications, it may be desirable for an encoder to instruct a decoder to use a particular reference picture size rather than implicitly assuming that size is the output picture size. In this example, the syntax element reference_pic_size_present_flag (614) gates the conditional presence of a reference picture dimension (615) (again, the numbers refer to both width and height).

[0079] Finally, a table of possible decoded image widths and heights is shown. Such a table can be represented, for example, by a table directive (num_dec_pic_size_in_luma_samples_minus1) (616). "minus1" can refer to the interpretation of the value of that syntax element. For example, if the encoded value is 0, there is one table entry. If the value is 5, there are six table entries. For each "line" in the table, the width and height of the decoded image are included in the syntax (617).

[0080] The presented table entries (617) can be indexed using the syntax element dec_pic_size_idx (602) in the tile group header, thereby allowing different decoding sizes, indeed zoom factors, per tile group.

[0081] Certain video coding techniques or standards, such as VP9, ​​support spatial scalability by implementing some form of reference picture resampling (signaled quite differently than the disclosed subject matter) in conjunction with temporal scalability to enable spatial scalability. In particular, certain reference pictures can be upsampled to higher resolutions using ARC-style techniques to form the basis of spatial enhancement layers. These upsampled pictures can then be refined using regular prediction mechanisms at higher resolutions to add detail.

[0082] The embodiments described herein can be used in such environments. In some cases, in the same or another embodiment, a value in the NAL unit header, e.g., the Temporal ID field, can be used to indicate not only temporal layers but also spatial layers. Doing so can provide certain advantages for certain system designs; for example, existing selective forwarding units (SFUs) created and optimized for temporal layer selective forwarding based on the Temporal ID value in the NAL unit header can be used without modification for scalable environments. To enable this, there may be a requirement for a mapping between coded picture size and temporal layers, which is indicated by the Temporal ID field in the NAL unit header.

[0083] In some video coding techniques, an access unit (AU) can refer to coded picture(s), slice(s), tile(s), NAL unit(s), etc. that are populated and composed into a respective picture, slice, tile, and / or NAL unit bitstream at a given temporal instance, which can be, for example, composition time.

[0084] In HEVC, and certain other video coding techniques, a picture order count (POC) value can be used to indicate a reference picture selected from among multiple reference pictures stored in a decoded picture buffer (DPB). When an access unit (AU) includes one or more pictures, slices, or tiles, each picture, slice, or tile belonging to the same AU can carry the same POC value, from which it can be derived that they were created from content of the same composition time. In other words, in a scenario where two pictures / slices / tiles carry the same given POC value, it can indicate the two pictures / slices / tiles that belong to the same AU and have the same composition time. Conversely, two pictures / tiles / slices with different POC values ​​can indicate that those pictures / slices / tiles belong to different AUs and have different composition times.

[0085] In an embodiment, this rigid relationship can be relaxed in that an access unit can contain pictures, slices, or tiles with different POC values. Allowing different POC values ​​within an AU allows the POC values ​​to be used to identify potentially independently decodable pictures / slices / tiles that have the same presentation time. This can enable support for multiple scalable layers without modifying the reference picture selection signaling, e.g., reference picture set signaling or reference picture list signaling, as described in more detail below.

[0086] However, it is still desirable to be able to identify, from the POC value alone, the AU to which an image / slice / tile belongs, relative to other images / slices / tiles with different POC values. This can be achieved as described below.

[0087] In an embodiment, the access unit count (AUC) may be signaled in a high-level syntax structure such as a NAL unit header, a slice header, a tile group header, a SEI message, a parameter set, or an AU delimiter. The value of the AUC may be used to identify NAL units, pictures, slices, or tiles that belong to a given AU. The value of the AUC may correspond to a distinct composition time instance. The AUC value may be equal to a multiple of the POC value. The AUC value may be calculated by dividing the POC value by an integer value. In some cases, the division operation may impose a certain burden on the implementation of the decoder. In such cases, a small restriction on the numbering space of the AUC values ​​may allow the division operation to be replaced by a shift operation. For example, the AUC value may be equal to the most significant bit (MSB) value of the POC value range.

[0088] In an embodiment, the value of the POC cycle per AU (poc_cycle_au) may be signaled in a high-level syntax structure such as a NAL unit header, a slice header, a tile group header, a SEI message, a parameter set, or an AU delimiter. poc_cycle_au may indicate the number of different consecutive POC values ​​that can be associated with the same AU. For example, if the value of poc_cycle_au is equal to 4, then images, slices, or tiles with POC values ​​equal to 0 to 3 may be associated with AUs with AUC values ​​equal to 0, and images, slices, or tiles with POC values ​​equal to 4 to 7 may be associated with AUs with AUC values ​​equal to 1. Thus, the value of AUC may be inferred by dividing the POC value by the value of poc_cycle_au.

[0089] In an embodiment, the value of poc_cycle_au may be derived from information identifying the number of spatial or SNR layers in the coded video sequence, for example located in a video parameter set (VPS). Examples of such possible relationships are briefly described below. Although the derivation as described above may save a few bits in the VPS and thus improve coding efficiency, in some embodiments, poc_cycle_au may be explicitly coded in a suitable high-level syntax structure hierarchically below the video parameter set so that poc_cycle_au can be minimized for a given small portion of the bitstream, such as an image. Because the POC value, and / or values ​​of syntax elements that indirectly reference the POC, may be coded in a low-level syntax structure, this optimization may save more bits than can be saved through the derivation process described above.

[0090] In an embodiment, FIG. 8 shows an example of a syntax table for signaling a syntax element of vps_poc_cycle_au in a VPS (or SPS) indicating the poc_cycle_au used for all pictures / slices in a coded video sequence, and a syntax element of slice_poc_cycle_au indicating the poc_cycle_au of the current slice in a slice header. If the POC value increases uniformly for each AU, vps_contant_poc_cycle_per_au in the VPS may be set to 1, and vps_poc_cycle_au may be signaled in the VPS. In this case, the AUC value for each AU may be calculated by dividing the POC value by vps_poc_cycle_au without explicitly signaling slice_poc_cycle_au. If the POC value does not increase uniformly for each AU, vps_contant_poc_cycle_per_au in the VPS may be set to 0. In this case, vps_access_unit_cnt may not be signaled, and slice_access_unit_cnt may be signaled in the slice header for each slice or picture. Each slice or picture may have a different value of slice_access_unit_cnt. The AUC value for each AU may be calculated by dividing the POC value by slice_poc_cycle_au.

[0091] FIG. 9 shows a block diagram illustrating an example of the above process. For example, in operation S910, the VPS (or SPS) can be analyzed, and in operation S920, it can be determined whether the POC cycle per AU is constant in the coded video sequence. If the POC cycle per AU is constant (YES in operation S920), the value of the access unit count for the specific access unit can be calculated from the poc_cycle_au signaled for the coded video sequence and the POC value of the specific access unit in operation S930. If the POC cycle per AU is not constant (NO in operation S920), the value of the access unit count for the specific access unit can be calculated from the poc_cycle_au signaled at the picture level and the POC value of the specific access unit in operation S940. In operation S950, a new VPS (or SPS) can be analyzed.

[0092] In an embodiment, images, slices, or tiles corresponding to AUs with the same AUC value may be associated with the same decoding or output time instance, even if the POC values ​​of the images, slices, or tiles are different. Thus, all or a subset of images, slices, or tiles associated with the same AU can be decoded in parallel and output at the same time instance, without any dependency between parsing / decoding across images, slices, or tiles in the same AU.

[0093] In an embodiment, images, slices, or tiles that correspond to AUs with the same AUC value may be associated with the same composition / display time instance, even if the images, slices, or tiles have different POC values. If the composition time is included in the container format, images can be displayed at the same time instance if they have the same composition time, even if they correspond to different AUs.

[0094] In an embodiment, each image, slice, or tile may have the same temporal identifier (temporal_id) within the same AU. All or a subset of images, slices, or tiles corresponding to a time instance may be associated with the same temporal sublayer. In an embodiment, each image, slice, or tile may have the same or different spatial layer id (layer_id) within the same AU. All or a subset of images, slices, or tiles corresponding to a time instance may be associated with the same or different spatial layers.

[0095] FIG. 7 shows an example of a video sequence structure with a combination of temporal_id, layer_id, POC, and AUC values ​​with adaptive resolution change. In this example, an image, slice, or tile in a first AU with AUC=0 may have temporal_id=0 and layer_id=0 or 1, while an image, slice, or tile in a second AU with AUC=1 may have temporal_id=1 and layer_id=0 or 1, respectively. Regardless of the values ​​of temporal_id and layer_id, the value of POC increases by 1 for each image. In this example, the value of poc_cycle_au may be equal to 2. In an embodiment, the value of poc_cycle_au may be set equal to the number of (spatial scalability) layers. Thus, in this example, the value of POC increases by 2 and the value of AUC increases by 1.

[0096] In the above embodiment, all or a subset of the inter-picture or inter-layer prediction structure and reference picture indication may be supported by using the existing reference picture set (RPS) signaling or reference picture list (RPL) signaling in HEVC. In the RPS or RPL, the selected reference picture may be indicated by signaling the value of POC or the delta value of POC between the current picture and the selected reference picture. In the embodiment, the RPS and RPL may be used to indicate the inter-picture or inter-layer prediction structure without changing the signaling, but with the following limitations: If the value of temporal_id of the reference picture is greater than the current picture's value of temporal_id, the current picture may not use the reference picture for motion compensation or other prediction. If the value of layer_id of the reference picture is greater than the current picture's value of layer_id, the current picture may not use the reference picture for motion compensation or other prediction.

[0097] In an embodiment, the motion vector scaling based on POC difference for temporal motion vector prediction can be disabled across multiple images in an access unit. Thus, each image may have different POC values ​​in an access unit, but the motion vector is not scaled and is not used for temporal motion vector prediction in the access unit. This is because reference images with different POCs in the same AU are considered as reference images with the same time instance. Thus, in this embodiment, if the reference image belongs to the AU associated with the current image, the motion vector scaling function can return 1.

[0098] In an embodiment, if the spatial resolution of the reference image is different from that of the current image, the scaling of the motion vector based on the POC difference for temporal motion vector prediction can be optionally disabled across multiple images. If the scaling of the motion vector is allowed, the motion vector is scaled based on both the POC difference and the spatial resolution ratio between the current image and the reference image.

[0099] In an embodiment, motion vectors may be scaled based on the AUC difference instead of the POC difference for temporal motion vector prediction, especially when poc_cycle_au has non-uniform values ​​(e.g., when vps_contant_poc_cycle_per_au==0). Otherwise (e.g., when vps_contant_poc_cycle_per_au==1), the scaling of motion vectors based on the AUC difference may be identical to the scaling of motion vectors based on the POC difference.

[0100] In an embodiment, when a motion vector is scaled based on the AUC difference, a reference motion vector within the same AU (having the same AUC value) as the current image is not scaled based on the AUC difference and is used for motion vector prediction without scaling or with scaling based on the spatial resolution ratio between the current image and the reference image.

[0101] In an embodiment, the AUC value may be used to identify AU boundaries and may be used for hypothetical reference decoder (HRD) operations that require input and output timing with AU granularity. In an embodiment, a decoded image with the top layer in the AU may be output for display. The AUC value and layer_id value may be used to identify the output image.

[0102] In an embodiment, an image may include one or more sub-images. Each sub-image may cover a local area or the entire area of ​​the image. The area supported by a sub-image may or may not overlap with the area supported by another sub-image. The area covered by one or more sub-images may or may not cover the entire area of ​​the image. If an image includes sub-images, the area supported by a sub-image may be the same as the area supported by the image.

[0103] In an embodiment, a sub-image may be coded by an encoding method similar to that used for the coded image. A sub-image may be coded independently or may be coded dependently on another sub-image or coded image. A sub-image may or may not have a parsing dependency from another sub-image or coded image.

[0104] In an embodiment, the encoded sub-images may be included in one or more layers. The encoded sub-images within a layer may have different spatial resolutions. The original sub-images may be spatially resampled (e.g., upsampled or downsampled), encoded with different spatial resolution parameters, and included in the bitstream corresponding to the layer.

[0105] In an embodiment, a sub-image having (W,H) may be coded and included in the coded bitstream corresponding to layer 0, where W denotes the width of the sub-image and H denotes the height of the sub-image, while (W*S w,k ,H*S h,k ) may be encoded and included in the encoded bitstream corresponding to layer k, w,k ,S h,k denotes the horizontal and vertical resampling ratio. S w,k ,S h,k If the value of is greater than 1, the resampling may be an upsampling. w,k ,S h,k If the value of is less than 1, the resampling may be a downsampling.

[0106] In an embodiment, an encoded subimage in a layer may have a different visual quality than a encoded subimage in another layer, either in the same subimage or in a different subimage. For example, subimage i in layer n may have a quantization parameter Q i,n and sub-image j in layer m can be coded with a quantization parameter Q j,m It can be encoded as:

[0107] In an embodiment, the encoded sub-images within a layer may be independently decodable without parsing or decoding dependencies from encoded sub-images in another layer of the same local region. A sub-image layer that may be independently decodable without reference to another sub-image layer of the same local region may be an independent sub-image layer. The encoded sub-images within an independent sub-image layer may or may not have decoding or parsing dependencies from previously encoded sub-images in the same sub-image layer, but the encoded sub-images may not have any dependencies from encoded images in another sub-image layer.

[0108] In an embodiment, an encoded subimage in a layer may be dependently decodable with any parsing or decoding dependency from an encoded subimage in another layer of the same local region. A subimage layer that may be dependently decodable with reference to another subimage layer of the same local region may be a dependent subimage layer. An encoded subimage in a dependent subimage may reference an encoded subimage belonging to the same subimage, a previously encoded subimage in the same subimage layer, or both reference subimages.

[0109] In an embodiment, an encoded sub-picture may include one or more independent sub-picture layers and one or more dependent sub-picture layers. However, there may be at least one independent sub-picture layer for an encoded sub-picture. The value of a layer identifier (layer_id), which may be present in a NAL unit header or another high-level syntax structure, of an independent sub-picture layer may be equal to 0. A sub-picture layer with layer_id equal to 0 may be a base sub-picture layer.

[0110] In an embodiment, an image may include one or more foreground sub-images and one background sub-image. The area supported by the background sub-image may be equal to the area of ​​the image. The area supported by the foreground sub-image may overlap with the area supported by the background sub-image. The background sub-image may be a base sub-image layer and the foreground sub-image may be a non-base (enhanced) sub-image layer. One or more non-base sub-image layers may reference the same base layer for decoding. Each non-base sub-image layer with layer_id equal to a may reference a non-base sub-image layer with layer_id equal to b, where a is greater than b.

[0111] In an embodiment, an image may contain one or more foreground subimages, with or without background subimages. Each subimage may have its own base subimage layer and one or more non-base (enhancement) layers. Each base subimage layer may be referenced by one or more non-base subimage layers. Each non-base subimage layer with layer_id equal to a may reference a non-base subimage layer with layer_id equal to b, where a is greater than b.

[0112] In an embodiment, an image may include one or more foreground subimages, with or without a background subimage. Each coded subimage in a (base or non-base) subimage layer may be referenced by one or more non-base layer subimages that belong to the same subimage and one or more non-base layer subimages that do not belong to the same subimage.

[0113] In an embodiment, an image may include one or more foreground sub-images with or without a background sub-image. A sub-image in layer a may be further divided into multiple sub-images in the same layer. One or more coded sub-images in layer b may reference a divided sub-image in layer a.

[0114] In an embodiment, a coded video sequence (CVS) may be a group of coded images. A CVS may contain one or more coded sub-image sequences (CSPS), where a CSPS may be a group of coded sub-images covering the same local region of an image. A CSPS may have the same or different temporal resolution as the coded video sequence.

[0115] In an embodiment, a CSPS may be encoded and included in one or more layers. A CSPS may include one or more CSPS layers. Decoding one or more CSPS layers corresponding to a CSPS may reconstruct a sequence of sub-images corresponding to the same local region.

[0116] In an embodiment, the number of CSPS layers corresponding to a CSPS may be the same as or different from the number of CSPS layers corresponding to another CSPS.

[0117] In an embodiment, a CSPS layer may have a different temporal resolution (e.g., frame rate) than another CSPS layer, and the original (uncompressed) sub-image sequence may be temporally resampled (e.g., upsampled or downsampled) and encoded with different temporal resolution parameters and included in the bitstream corresponding to the layer.

[0118] In an embodiment, a sub-image sequence having a frame rate F may be coded and included in the coded bitstream corresponding to layer 0, where F*S t,k A temporally upsampled (or downsampled) sub-image sequence from the original sub-image sequence having t,k denotes the temporal sampling ratio of layer k. S t,k If the value of is greater than 1, the temporal resampling process may be a frame rate up-conversion. t,kIf the value of is less than one, the temporal resampling process may be a frame rate down-conversion.

[0119] In an embodiment, when a sub-image with CSPS layer a is referenced by a sub-image with CSPS layer b for motion compensation or any inter-layer prediction, if the spatial resolution of CSPS layer a is different from the spatial resolution of CSPS layer b, the decoded pixels in CSPS layer a are resampled and used for reference. The resampling process can use upsampling filtering or downsampling filtering.

[0120] FIG. 10 shows an example video stream including a background video CSPS with layer_id equal to 0 and multiple foreground CSPS layers. A coded sub-picture may include one or more CSPS layers, but the background regions that do not belong to any foreground CSPS layer may include the base layer. The base layer may include background and foreground regions, while the enhanced CSPS layer may include foreground regions. The enhanced CSPS layer may have better visual quality than the base layer in the same region. The enhanced CSPS layer may refer to the reconstructed pixels and motion vectors of the base layer that correspond to the same region.

[0121] In an embodiment, the video bitstream corresponding to the base layer is contained in a track, and the CSPS layers corresponding to each sub-image are contained in separate tracks within the video file.

[0122] In an embodiment, a video bitstream corresponding to a base layer is included in a track, and CSPS layers with the same layer_id are included in a separate track. In this example, the track corresponding to layer k includes only the CSPS layer corresponding to layer k.

[0123] In an embodiment, each CSPS layer of each sub-image is stored in a separate track. Each track may or may not have a syntax analysis or decoding dependency from one or more other tracks.

[0124] In an embodiment, each track can include a bitstream corresponding to layers i to j of the CSPS layers of all or a subset of the sub-images, where 0 < i <= j <= k and k is the top layer of the CSPS.

[0125] In an embodiment, the image includes one or more related media data such as a depth map, an alpha map, 3D geometry data, an occupancy map, etc. Such related time-limited media data can be divided into one or more data sub-streams, each corresponding to one sub-image.

[0126] FIG. 11 shows an example of a video conference based on a multi-layer sub-image method. The video stream includes one base layer video bitstream corresponding to a background image and one or more extended layer video bitstreams corresponding to foreground sub-images. Each extended layer video bitstream can correspond to a CSPS layer. On the display, the image corresponding to the base layer is displayed by default. This includes the images (PIP) of one or more users within the image. When a specific user is selected under the control of the client, the extended CSPS layer corresponding to the selected user can be decoded and displayed with an enhanced quality or spatial resolution.

[0127] FIG. 12 shows a block diagram illustrating an example of the above process. For example, in operation S1210, a video bitstream having multiple layers can be decoded. In operation S1220, a background region and one or more foreground sub-images can be identified. In operation S1230, it can be determined whether a particular sub-image region, for example one of the foreground sub-images, is selected. If a particular sub-image region is selected (YES in operation S1240), an extended sub-image can be decoded and displayed. If a particular sub-image region is not selected (NO in operation S1240), a background region can be decoded and displayed.

[0128] In an embodiment, a network middle box (e.g., a router) can select a subset of layers to send to a user depending on its bandwidth. The image / sub-image organization can be used for bandwidth adaptation. For example, if a user does not have the bandwidth, the router strips layers or selects some sub-images due to their importance or based on the settings used, which can be done dynamically to employ bandwidth.

[0129] FIG. 13 illustrates an embodiment for a 360-degree video use case. When a spherical 360-degree image, e.g., image 1310, is projected onto a planar image, the projected 360-degree image may be divided into multiple sub-images as a base layer. For example, the multiple sub-images may include a back sub-image, a top sub-image, a right sub-image, a left sub-image, a forward sub-image, and a bottom sub-image. The enhancement layer of a particular sub-image, e.g., a forward sub-image, may be encoded and transmitted to a client. The decoder may decode both the base layer including all sub-images and the enhancement layer of the selected sub-image. If the current viewport is the same as the selected sub-image, the displayed image may have higher quality with the decoded sub-image with the enhancement layer. Otherwise, the decoded image with the base layer may be displayed with lower quality.

[0130] In an embodiment, any layout information for display may be present in the file as supplemental information (such as SEI messages or metadata). One or more decoded sub-images may be rearranged and displayed according to the signaled layout information. The layout information may be signaled by a streaming server or broadcaster, may be regenerated by a network entity or cloud server, or may be determined by a user's customized settings.

[0131] In an embodiment, if an input image is divided into one or more (rectangular) sub-regions, each sub-region may be coded as an independent layer. Each independent layer corresponding to a local region may have a unique layer_id value. For each independent layer, sub-image size and position information may be signaled. For example, image size (width, height), top left corner offset information (x_offset, y_offset). Figure 14 shows an example of a layout of divided sub-images, their sub-image size and position information, and their corresponding image prediction structure. Layout information including sub-image size(s) and sub-image position(s) may be signaled in a high-level syntax structure such as parameter set(s), slice or tile group header, or SEI message.

[0132] In an embodiment, each sub-image corresponding to an independent layer may have a unique POC value within an AU. When a reference image among the images stored in the DPB is indicated using a syntax element(s) of an RPS or RPL structure, the POC value(s) of each sub-image corresponding to a layer may be used.

[0133] In an embodiment, the layer_id may not be used and the POC(delta) value may be used to indicate the (inter-layer) prediction structure.

[0134] In an embodiment, a sub-image with a POC value equal to N corresponding to a layer (or local region) may or may not be used as a reference image for a sub-image with a POC value equal to N+K corresponding to the same layer (or same local region) for motion compensation prediction. In most cases, the number K may be equal to the maximum number of (independent) layers, which may be the same as the number of sub-regions.

[0135] In an embodiment, Fig. 15 shows an extended case of Fig. 14. When the input image is divided into multiple (e.g., four) sub-regions, each local region may be coded with one or more layers. In this case, the number of independent layers may be equal to the number of sub-regions, and one or more layers may correspond to a sub-region. Thus, each sub-region may be coded with one or more independent layers and zero or more dependent layers.

[0136] In an embodiment, in FIG. 15, the input image may be divided into four sub-regions. As an example, the top right sub-region may be coded as two layers, which are layer 1 and layer 4, and the bottom right sub-region may be coded as two layers, which are layer 3 and layer 5. In this case, layer 4 may refer to layer 1 for motion compensation prediction, and layer 5 may refer to layer 3 for motion compensation.

[0137] In an embodiment, in-loop filtering across layer boundaries (such as deblocking filtering, adaptive in-loop filtering, reshaper, bilateral filtering, or any deep learning based filtering) may be (optionally) disabled.

[0138] In an embodiment, motion compensated prediction or intra block copying across layer boundaries may (optionally) be disabled.

[0139] In an embodiment, border padding for motion compensated prediction or in-loop filtering at sub-image boundaries may be optionally processed. A flag indicating whether border padding is processed may be signaled in a high-level syntax structure such as a parameter set (VPS, SPS, PPS, or APS), a slice or tile group header, or an SEI message.

[0140] In an embodiment, layout information of sub-region (or sub-picture)(s) may be signaled in the VPS or SPS. FIG. 16A shows an example of syntax elements of the VPS, and FIG. 16B shows an example of syntax elements of the SPS. In this example, vps_sub_picture_dividing_flag is signaled in the VPS. The flag may indicate whether the input picture is divided into multiple sub-regions. When the value of vps_sub_picture_dividing_flag is equal to 0, the input picture(s) in the coded video sequence(s) corresponding to the current VPS may not be divided into multiple sub-regions. In this case, the input picture size may be equal to the coded picture size (pic_width_in_luma_samples, pic_height_in_luma_samples) signaled in the SPS. When the value of vps_sub_picture_dividing_flag is equal to 1, the input picture(s) may be divided into multiple sub-regions. In this case, the syntax elements vps_full_pic_width_in_luma_samples and vps_full_pic_height_in_luma_samples are signaled in the VPS. The values ​​of vps_full_pic_width_in_luma_samples and vps_full_pic_height_in_luma_samples may be equal to the width and height of the input image(s), respectively.

[0141] In an embodiment, the values ​​of vps_full_pic_width_in_luma_samples and vps_full_pic_height_in_luma_samples may not be used for decoding, but may be used for compositing and display.

[0142] In an embodiment, when the value of vps_sub_picture_dividing_flag is equal to 1, the syntax elements pic_offset_x and pic_offset_y may be signaled in (a) an SPS corresponding to a particular layer(s). In this case, the coded picture size (pic_width_in_luma_samples, pic_height_in_luma_samples) signaled in the SPS may be equal to the width and height of the sub-region corresponding to the particular layer. Also, the position of the upper left corner of the sub-region (pic_offset_x, pic_offset_y) may be signaled in the SPS.

[0143] In an embodiment, the position information (pic_offset_x, pic_offset_y) of the top left corner of the sub-region may not be used for decoding, but may be used for compositing and display.

[0144] In an embodiment, layout information (size and position) of all or a subset of the subregions of the input image, inter-layer dependency information may be signaled in a parameter set or SEI message. Figure 17 shows an example of syntax elements indicating information of the layout of the subregions, inter-layer dependencies, and relationships between the subregions and one or more layers. In this example, the syntax element num_sub_region indicates the number of (rectangular) subregions in the current coded video sequence. The syntax element num_layers indicates the number of layers in the current coded video sequence. The value of num_layers may be equal to or greater than the value of num_sub_region. If any subregion is coded as a single layer, the value of num_layers may be equal to the value of num_sub_region. When one or more subregions are coded as multiple layers, the value of num_layers may be greater than the value of num_sub_region. The syntax element direct_dependency_flag[i][j] indicates a dependency from the jth layer to the ith layer. num_layers_for_region[i] indicates the number of layers associated with the i-th subregion. sub_region_layer_id[i][j] indicates the layer_id of the j-th layer associated with the i-th subregion. sub_region_offset_x[i] and sub_region_offset_y[i] indicate the horizontal and vertical positions of the top left corner of the i-th subregion, respectively. sub_region_width[i] and sub_region_height[i] indicate the width and height of the i-th subregion, respectively.

[0145] In an embodiment, one or more syntax elements specifying an output layer set to indicate one of a plurality of layers to be output with or without profile hierarchical level information may be signaled in a high level syntax structure, such as a VPS, DPS, SPS, PPS, APS or SEI message. With reference to Figure 18, a syntax element num_output_layer_sets indicating the number of output layer sets (OLS) in a coded video sequence that references a VPS may be signaled in the VPS. For each output layer set, as many output_layer_flags as the number of output layers may be signaled.

[0146] In an embodiment, output_layer_flag[i] equal to 1 specifies that the i-th layer is to be output. vps_output_layer_flag[i] equal to 0 specifies that the i-th layer is not to be output.

[0147] In an embodiment, one or more syntax elements specifying the profile hierarchy level information of each output layer set may be signaled in a high-level syntax structure, such as a VPS, DPS, SPS, PPS, APS or SEI message. Still referring to FIG. 18, a syntax element num_profile_tile_level indicating the number of profile hierarchy level information per OLS in a coded video sequence that references the VPS may be signaled in the VPS. For each output layer set, a set of syntax elements of profile hierarchy level information or an index indicating a particular profile hierarchy level information among the entries in the profile hierarchy level information may be signaled as many times as the number of output layers.

[0148] In an embodiment, profile_tier_level_idx[i][j] specifies the index of the profile_tier_level() syntax structure that applies to the jth layer of the ith OLS within the list of profile_tier_level() syntax structures in the VPS.

[0149] In an embodiment, referring to FIG. 19, if the maximum number of layers is greater than 1 (vps_max_layers_minus1>0), the syntax elements num_profile_tile_level and / or num_output_layer_sets may be signaled.

[0150] In an embodiment, referring to FIG. 19, a syntax element vps_output_layers_mode[i] may be present in the VPS to indicate the mode of output layer signaling for the i-th output layer set.

[0151] In an embodiment, vps_output_layers_mode[i] equal to 0 specifies that only the top layer is output in the ith output layer set. vps_output_layer_mode[i] equal to 1 specifies that all layers are output in the ith output layer set. vps_output_layer_mode[i] equal to 2 specifies that the layers output are those with vps_output_layer_flag[i][j] equal to 1 in the ith output layer set. More values ​​may be reserved.

[0152] In an embodiment, output_layer_flag[i][j] may or may not be signaled depending on the value of vps_output_layers_mode[i] for the i-th output layer set.

[0153] In an embodiment, referring to Figure 19, there may be a flag vps_ptl_signal_flag[i] for the i-th output layer set. Depending on the value of vps_ptl_signal_flag[i], the profile hierarchical level information of the i-th output layer set may or may not be signaled.

[0154] In an embodiment, referring to FIG. 20, the number of sub-images in the current CVS, max_subpics_minus1, may be signaled in a high level syntax structure, such as a VPS, DPS, SPS, PPS, APS or SEI message.

[0155] In an embodiment, referring to FIG. 20, if the number of sub-pictures is greater than one (max_subpics_minus1>0), then a sub-picture identifier sub_pic_id[i] for the i-th sub-picture may be signaled.

[0156] In an embodiment, one or more syntax elements indicating the sub-picture identifiers belonging to each layer of each output layer set may be signaled in the VPS. With reference to Figure 20, sub_pic_id_layer[i][j][k] indicates the kth sub-picture present in the jth layer of the ith output layer set. With this information, the decoder can know which sub-pictures it can decode and output for each layer of a particular output layer set.

[0157] In an embodiment, a picture header (PH) may be a syntax structure that includes syntax elements that apply to all slices of a coded picture. A picture unit (PU) may be a set of NAL units that are associated with each other according to a specified classification rule, are consecutive in decoding order, and contain exactly one coded picture. A PU may include a picture header (PH) and one or more video coding layer (VCL) NAL units that make up a coded picture.

[0158] In an embodiment, an adaptation parameter set (APS) may be a syntax structure that includes syntax elements that may apply to zero or more slices as determined by zero or more syntax elements found in a slice header.

[0159] In an embodiment, the adaptation_parameter_set_id signaled in the APS (e.g., as u(5)) may provide an identifier of the APS for reference by other syntax elements. If ps_params_type is equal to ALF_APS or SCALING_APS, the value of adaptation_parameter_set_id may range from 0 to 7. If aps_params_type is equal to LMCS_APS, the value of adaptation_parameter_set_id may range from 0 to 3.

[0160] In an embodiment, the adaptation_parameter_set_id signaled as ue(v) in the APS may provide an identifier of the APS for reference by other syntax elements. If ps_params_type is equal to ALF_APS or SCALING_APS, the value of adaptation_parameter_set_id may range from 0 to 7*(max number of layers in current CVS). If aps_params_type is equal to LMCS_APS, the value of adaptation_parameter_set_id may range from 0 to 3*(max number of layers in current CVS).

[0161] In an embodiment, each APS (RBSP) may be available to the decoding process before being referenced, either included in at least one AU having a temporal identifier (e.g., TemporalId) less than or equal to the temporal identifier (e.g., TemporalId) of the coded slice NAL unit that references it, or provided via external means. If the APS NAL unit is included in an AU, the value of the temporal identifier (e.g., TemporalId) of the APS NAL unit may be equal to the value of the temporal identifier (e.g., TemporalId) of the AU that contains the APS NAL unit.

[0162] In an embodiment, each APS (RBSP) may be available to the decoding process before being referenced, and may be included in at least one AU with a temporal identifier (e.g., TemporalId) equal to 0, or provided via external means. If an APS NAL unit is included in an AU, the value of the temporal identifier (e.g., TemporalId) of the APS NAL unit may be equal to 0.

[0163] In an embodiment, the APS (RBSP) may be available to the decoding process before being referenced, and is included in at least one AU having a temporal identifier (e.g., TemporalId) equal to the temporal identifier (e.g., TemporalId) of the APS NAL unit in the CVS that contains one or more PHs or one or more coded slice NAL units that reference the APS, or is provided via external means.

[0164] In an embodiment, the APS (RBSP) may be available to the decoding process before being referenced, and is included in at least one AU with a temporal identifier (e.g., TemporalId) equal to 0 in the CVS that contains one or more PHs or one or more coded slice NAL units that reference the APS, or is provided via external means.

[0165] In an embodiment, if the flag, no_temporal_sublayer_switching_flag, is signaled in a DPS, VPS, SPS, or PPS, the temporal identifier (e.g., TemporalId) value of the APS that references a parameter set that includes the flag equal to 1 may be equal to 0, and the temporal identifier (e.g., TemporalId) value of the APS that references a parameter set that includes the flag equal to 1 may be greater than or equal to the temporal identifier (e.g., TemporalId) value of the parameter set.

[0166] In an embodiment, each APS (RBSP) may be available to the decoding process before it is referenced, either included in at least one AU with a temporal identifier (e.g., TemporalId) less than or equal to the temporal identifier (e.g., TemporalId) of the coded slice NAL unit (or PH NAL unit) that references it, or provided via external means. If the APS NAL unit is included in an AU before the AU that contains the coded slice NAL unit that references the APS, a VCL NAL unit that enables temporal up-layer switching, or a VCL NAL unit with nal_unit_type equal to STSA_NUT indicates that the picture in the VCL NAL unit may be a gradual temporal sub-layer access (STSA) picture, and may not be present after the APS NAL unit and before the coded slice NAL unit that references the APS. Figure 21 shows an example of this constraint.

[0167] In an embodiment, the APS NAL unit and the coded slice NAL unit (and its PH NAL unit) that reference the APS may be included in the same AU.

[0168] In an embodiment, the APS NAL unit and the STSA NAL unit may be included in the same AU, which may precede the coded slice NAL unit (and its PH NAL unit) that references the APS.

[0169] In an embodiment, the STSA NAL unit, the APS NAL unit, and the coded slice NAL unit (and its PH NAL unit) that reference the APS may be in the same AU.

[0170] In an embodiment, the temporal identifier (eg, TemporalId) value of a VCL NAL unit that includes an APS may be equal to the temporal identifier (eg, TemporalId) value of the preceding STSA NAL unit.

[0171] In an embodiment, the picture order count (POC) value of the APS NAL unit may be greater than or equal to the POC value of the STSA NAL unit. In FIG. 21, the value of POC M of the APS may be greater than or equal to the POC L value of the STSA NAL unit.

[0172] In an embodiment, the picture order count (POC) value of a coded slice or PH NAL unit that references an APS NAL unit may be greater than or equal to the POC value of the referenced APS NAL unit. In FIG. 21, the value of POC M of a VCL NAL unit that references an APS may be greater than or equal to the value of POC L of the APS NAL unit.

[0173] In one embodiment, the APS (RBSP) may be available to the decoding process before it is referenced by one or more PHs or one or more coded slice NAL units, and is included in at least one PU with a nuh_layer_id equal to the lowest nuh_layer_id value of a coded slice NAL unit that references an APS NAL unit in the CVS, including one or more PHs or one or more coded slice NAL units that reference the APS, or is provided via external means.

[0174] In one embodiment, the APS (RBSP) may be available to the decoding process before it is referenced by one or more PHs or one or more coded slice NAL units, and is included in at least one PU with TemporalId equal to the TemporalId of the APS NAL unit that references the APS NAL unit in the CVS, including one or more PHs or one or more coded slice NAL units that reference the PPS, and nuh_layer_id equal to the lowest nuh_layer_id value of the coded slice NAL units, or provided via external means.

[0175] In one embodiment, the APS (RBSP) may be available to the decoding process before it is referenced by one or more PHs or one or more coded slice NAL units, and is included in at least one PU with TemporalId equal to 0 referencing the APS NAL unit in the CVS and nuh_layer_id equal to the lowest nuh_layer_id value of the coded slice NAL units, including one or more PHs or one or more coded slice NAL units that reference the PPS, or provided via external means.

[0176] In one embodiment, the APS (RBSP) may be available to the decoding process before it is referenced by one or more PHs or one or more coded slice NAL units, and is included in at least one PU with TemporalId equal to 0 referencing the APS NAL unit in the CVS and nuh_layer_id equal to the lowest nuh_layer_id value of the coded slice NAL units, including one or more PHs or one or more coded slice NAL units that reference the PPS, or provided via external means.

[0177] In an embodiment, all APS NAL units with a particular value of adaptation_parameter_set_id and a particular value of aps_params_type within a PU may have the same content regardless of whether they are prefix or suffix APS NAL units.

[0178] In an embodiment, regardless of the nuh_layer_id value, APS NAL units may share the same value space for adaptation_parameter_set_id and aps_params_type.

[0179] In an embodiment, the nuh_layer_id value of an APS NAL unit may be equal to the lowest nuh_layer_id value of a coded slice NAL unit that references a NAL unit that references the APS NAL unit.

[0180] In one embodiment, when an APS with nuh_layer_id equal to m is referenced by one or more coded slice NAL units with nuh_layer_id equal to n, the layer with nuh_layer_id equal to m may be the same as the (direct or indirect) reference layer of the layer with nuh_layer_id equal to n or the layer with nuh_layer_id equal to m.

[0181] Figure 22 is a flowchart of an example process 2200 for decoding an encoded video bitstream. In some implementations, one or more process blocks of Figure 22 may be performed by the decoder 210. In some implementations, one or more process blocks of Figure 22 may be performed by another device or group of devices separate from or including the decoder 210, such as the encoder 203.

[0182] As shown in FIG. 22, process 2200 may include obtaining, from an encoded video bitstream, a coded video sequence including image units corresponding to coded images (block 2210).

[0183] As further shown in FIG. 22, the process 2200 may include obtaining a PH NAL unit included in the picture unit (block 2220).

[0184] As further shown in FIG. 22, the process 2200 may include obtaining at least one VCL NAL unit included in the picture unit (block 2230).

[0185] As further shown in FIG. 22, process 2200 may include decoding the encoded image based on a PH NAL unit, at least one VCL NAL unit, and an adaptation parameter set (APS) included in an APS NAL unit obtained from the encoded video sequence, where the APS NAL unit is available to the at least one processor before the at least one VCL NAL unit (block 2240).

[0186] As further shown in FIG. 22, the process 2200 may include outputting the decoded image (block 2250).

[0187] In an embodiment, an APS NAL unit is available to the decoding process before being referenced by one or more picture headers (PHs) or one or more coded slice network abstraction layer (NAL) units contained in at least one prediction unit (PU), and nuh_layer_id is equal to the lowest nuh_layer_id value of one or more coded slice NAL units that reference the APS NAL unit in the CVS, including one or more PHs or one or more coded slice NAL units that reference the APS.

[0188] In an embodiment, the temporal identifier of at least one VCL NAL unit is greater than or equal to the temporal identifier of the APS NAL unit.

[0189] In an embodiment, the time identifier of an APS NAL unit may be equal to 0.

[0190] In an embodiment, the POC of at least one VCL NAL unit may be greater than or equal to the POC of an APS NAL unit.

[0191] In an embodiment, the layer identifier of the PH NAL unit and the layer identifier of the at least one VCL NAL unit are equal to or greater than the layer identifier of the APS NAL unit.

[0192] In an embodiment, the PH NAL unit, at least one VCL NAL unit, and the APS NAL unit are included in a single access unit.

[0193] In an embodiment, the coded video sequence further includes an STSA NAL unit corresponding to an STSA picture, where the STSA NAL unit is not located between the APS NAL unit and the at least one VCL NAL unit.

[0194] In an embodiment, at least one VCL NAL unit, an APS NAL unit, and an STSA NAL unit may be included in a single access unit.

[0195] In an embodiment, the time identifier of the APS NAL unit may be greater than or equal to the time identifier of the STSA NAL unit.

[0196] In an embodiment, the picture order count (POC) of the APS NAL unit may be greater than or equal to the POC of the STSA NAL unit.

[0197] Although Figure 22 illustrates example blocks of process 2200, in some implementations, process 2200 may include additional, fewer, different, or differently arranged blocks than those illustrated in Figure 22. Additionally or alternatively, two or more of the blocks of process 2200 may be performed in parallel.

[0198] Additionally, the proposed methods may be implemented by a processing circuit (e.g., one or more processors or one or more integrated circuits). In one example, the one or more processors execute a program stored on a non-transitory computer-readable medium to perform one or more of the proposed methods.

[0199] The techniques described above may be implemented using computer readable instructions and as computer software physically stored on one or more computer readable media. For example, Figure 23 illustrates a computer system 2300 suitable for implementing certain embodiments of the disclosed subject matter.

[0200] The computer software may be encoded using any suitable machine code or computer language that may be subject to mechanisms such as assembly, compilation, linking, etc. to create code including instructions that can be executed directly or indirectly by a computer central processing unit (CPU), graphics processing unit (GPU), etc., via microcode execution, etc.

[0201] The instructions may be executed on various types of computers or components thereof including, for example, personal computers, tablet computers, servers, smart phones, gaming devices, Internet of Things devices, and the like.

[0202] 23 for computer system 2300 are exemplary in nature and are not intended to suggest any limitation as to the scope of use or functionality of the computer software implementing embodiments of the present disclosure. The arrangement of components should not be interpreted as having a dependency or requirement regarding any one or combination of components illustrated in the exemplary embodiment of computer system 2300.

[0203] The computer system 2300 may include certain human interface input devices. Such human interface input devices may be responsive to input by one or more human users via, for example, tactile input (e.g., keystrokes, swipes, data glove movements), audio input (e.g., voice, clapping), visual input (e.g., gestures), olfactory input (not shown). The human interface devices may be used to capture certain media not necessarily directly associated with conscious human input, such as audio (e.g., speech, music, ambient sounds), images (e.g., scanned images, photographic images obtained from still image cameras), video (e.g., two-dimensional video, three-dimensional video including stereoscopic video), etc.

[0204] The input human interface devices may include one or more (only one of each) of a keyboard 2301, a mouse 2302, a trackpad 2303, a touch screen 2310 and associated graphics adapter 2350, a data glove, a joystick 2305, a microphone 2306, a scanner 2307, a camera 2308.

[0205] The computer system 2300 may also include certain human interface output devices. Such human interface output devices may stimulate one or more of the human user's senses, for example, by haptic output, sound, light, and smell / taste. Such human interface output devices may include haptic output devices (e.g., haptic feedback via a touch screen 2310, data gloves, or joystick 2305, although there may also be haptic feedback devices that do not function as input devices), audio output devices (e.g., speakers 2309, headphones (not shown)), visual output devices (e.g., screens 2310 including cathode ray tube (CRT) screens, liquid crystal display (LCD) screens, plasma screens, organic light emitting diode (OLED) screens, each with or without touch screen input capability, each with or without haptic feedback capability, some of which may be capable of outputting two-dimensional visual output or three-dimensional or higher output via means such as stereo output; virtual reality glasses (not shown), holographic displays, and smoke tanks (not shown)), and printers (not shown).

[0206] The computer system 2300 may also include human accessible storage devices and their associated media, such as optical media 2320 including CD / DVD ROM / RW with media 2321 such as CDs / DVDs, thumb drives 2322, removable hard drives or solid state drives 2323, legacy magnetic media such as tapes and floppy disks (not shown), dedicated ROM / ASIC / PLD based devices (not shown) such as security dongles, etc.

[0207] Those skilled in the art should also understand that the term "computer-readable medium" as used in connection with the subject matter of this disclosure does not encompass transmission media, carrier waves, or other transitory signals.

[0208] The computer system 2300 may also include an interface to one or more communication networks (955). The networks may be, for example, wireless, wired, optical. The networks may further be local, wide area, metropolitan, vehicular and industrial, real-time, delay tolerant, etc. Examples of networks include local area networks such as Ethernet, wireless LAN, cellular networks including Global System for Mobile Communications (GSM), third generation (3G), fourth generation (4G), fifth generation (5G), long-term evolution (LTE), etc., television wired or wireless wide area digital networks including cable TV, satellite TV, and terrestrial broadcast TV, vehicular and industrial including CANBus, etc. Certain networks typically require an external network interface adapter (954) attached to a particular general-purpose data port or peripheral bus (949) (such as, for example, a Universal Serial Bus (USB) port of the computer system 2300); others are typically integrated into the core of the computer system 2300 by attachment to a system bus as described below (such as an Ethernet interface to a PC computer system or a cellular network interface to a smartphone computer system). As an example, a network 2355 may be connected to the peripheral bus 2349 using a network interface 2354. Using any of these networks, the computer system 2300 may communicate with other entities. Such communications may be unidirectional receive only (e.g., broadcast TV), unidirectional transmit only (e.g., CANbus to a particular CANbus device), or bidirectional, for example, to other computer systems using local or wide area digital networks. Specific protocols and protocol stacks may be used with each of those networks and network interfaces (954), as described above.

[0209] The aforementioned human interface devices, human accessible storage devices, and network interfaces may be attached to the core 2340 of the computer system 2300.

[0210] The core 2340 may include one or more central processing units (CPUs) 2341, graphics processing units (GPUs) 2342, dedicated programmable processing units in the form of field programmable gate areas (FPGAs) 2343, hardware accelerators 2344 for specific tasks, etc. These devices may be connected via a system bus 2348 along with read only memory (ROM) 2345, random access memory (RAM) 2346, and internal mass storage 2347 such as an internal non-user accessible hard drive or solid state drive (SSD). In some computer systems, the system bus 2348 may be accessible in the form of one or more physical plugs to allow expansion with additional CPUs, GPUs, etc. Peripheral devices may be attached directly to the core's system bus 2348 or via a peripheral bus 2349. Peripheral bus architectures include peripheral component interconnect (PCI), USB, etc.

[0211] The CPU 2341, GPU 2342, FPGA 2343, and accelerator 2344 can execute certain instructions that, in combination, may constitute the computer code described above. That computer code may be stored in ROM 2345 or RAM 2346. Transient data may also be stored in RAM 2346, while persistent data may be stored, for example, in internal mass storage 2347. Rapid storage and retrieval from any of the memory devices may be enabled by the use of cache memories that may be closely associated with one or more of the CPU 2341, GPU 2342, mass storage 2347, ROM 2345, RAM 2346, etc.

[0212] The computer-readable medium can bear computer code for performing various computer-implemented operations. The medium and computer code may be those specially designed and constructed for the purposes of the present disclosure, or they may be of the kind well known and available to those skilled in the computer software arts.

[0213] By way of example and not limitation, a computer system having architecture 2300, and in particular core 2340, can provide functionality as a result of one or more processors (including CPUs, GPUs, FPGAs, accelerators, etc.) executing software embodied in one or more tangible computer-readable media. Such computer-readable media can be user-accessible mass storage as described above, as well as media associated with specific storage of core 2340 of a non-transitory nature, such as core internal mass storage 2347 or ROM 2345. Software implementing various embodiments of the present disclosure can be stored in such devices and executed by core 2340. Computer-readable media can include one or more memory devices or chips, depending on the particular needs. The software can cause core 2340, and in particular the processors therein (including CPUs, GPUs, FPGAs, etc.) to perform certain processes or certain parts of certain processes described herein, including defining data structures stored in RAM 2346 and modifying such data structures according to the processes defined by the software. Additionally or alternatively, a computer system may provide functionality as a result of logic implemented in hardwired or otherwise circuitry (e.g., accelerator 2344), operating in place of or in conjunction with software to perform particular processes or portions of particular processes described herein. References to software may encompass logic, where appropriate, and vice versa. References to computer-readable media may encompass circuitry (such as integrated circuits (ICs)) that stores software for execution, circuitry that implements logic for execution, or both, where appropriate. The present disclosure encompasses any suitable combination of hardware and software.

[0214] While this disclosure has described several exemplary embodiments, there are alterations, substitutions, and various substitute equivalents that fall within the scope of this disclosure. It will thus be appreciated that those skilled in the art will be able to devise numerous systems and methods that, although not explicitly shown or described herein, embody the principles of the present disclosure and are therefore within its spirit and scope. [Explanation of symbols]

[0215] 100 Systems 110 Terminal 120 terminals 130 terminals 140 terminals 150 Network 201 Video Sources 202 Sample Stream 203 Encoder, video coder 204 Video Bitstream 205 Streaming Server 206 Client 207 Video Bitstream 208 Client 209 Video Bitstream 210 Decoder 211 outgoing video sample stream 212 Display 213 Capture Subsystem 310 Receiver 312 Channels 315 Buffer 320 Parser 321 Symbols 351 Scaler and / or Inverse Transformation Unit 352 Intra Image Prediction Unit 353 Motion Compensation Prediction Unit 355 Aggregator 356 Loop Filter Unit 357 Reference Image Memory, Reference Image Buffer 358 Current Reference Images 430 Encoder, Source Coder, Video Coder 432 encoding engine 433 Local Video Decoder 434 Reference Image Memory, Reference Image Cache 435 Predictor 440 Transmitter 443 coded video sequence 445 Entropy Coder 450 Controller 460 Channels 501 Image Header 502 ARC information 503 H.263 PLUSPTYPE 504 Image Parameter Set 505 ARC Reference Information 506 Table 507 Sequence Parameter Set 508 Tile Group Header 509 ARC information 511 Adaptive Parameter Set 512 ARC information 513 ARC Reference Information 514 Tile Group Header 515 ARC information 516 Parameter Set 601 Tile Group Header 602 Variable-length Exp-Golomb coding syntax element dec_pic_size_idx 603 Adaptive Resolution 610 Sequence Parameter Set 611 adaptive_pic_resolution_change_flag 612 Parameter Set Output resolution in samples: 613 614 Syntax element reference_pic_size_present_flag 615 Reference Image Dimensions 616 table_instruction(num_dec_pic_size_in_luma_samples_minus1) 617 Syntax, table entries presented 949 A specific general purpose data port or peripheral bus 954 External Network Interface Adapter 955 one or more communication networks 1310 images 2300 Computer Systems and Architecture 2301 Keyboard 2302 Mouse 2303 Trackpad 2305 Joystick 2306 Microphone 2307 Scanner 2308 Camera 2309 Speaker 2310 Touch Screen 2320 Optical media 2321 CD / DVD and other media 2322 Thumb Drive 2323 Removable Hard Drive or Solid State Drive 2340 Core 2341 CPU 2342 GPU 2343 FPGA 2344 Accelerator 2345 ROM 2346 RAM 2347 Internal Mass Storage 2348 System Bus 2349 Surrounding bus 2350 Graphics Adapter 2354 Network Interface 2355 Network

Claims

1. A data structure for use by at least one processor, the data structure including an encoded bitstream, the encoded bitstream including a Coded Video Sequence (CVS), the CVS including: a picture unit corresponding to a coded picture, the picture unit including a picture header (PH) network abstraction layer (NAL) unit and at least one video coding layer (VCL) NAL unit; an adaptation parameter set (APS) NAL unit, the APS NAL unit being obtained by the at least one processor from at least one prediction unit (PU) having a nuh_layer_id value equal to a lowest nuh_layer_id value of one or more coded slice NAL units that reference the APS NAL unit; Including, A data structure used by the at least one processor in a process of decoding the encoded image based on the PH NAL unit, the at least one VCL NAL unit, and an APS included in an APS NAL unit obtained from the CVS.

2. The data structure of claim 1, wherein a time identifier of the at least one VCL NAL unit is greater than or equal to a time identifier of the APS NAL unit.

3. The data structure of claim 1, wherein a picture order count (POC) of the at least one VCL NAL unit is greater than or equal to the POC of the APS NAL unit.

4. The data structure of claim 1, wherein a layer identifier of the PH NAL unit and a layer identifier of the at least one VCL NAL unit are greater than or equal to a layer identifier of the APS NAL unit.

5. The CVS further comprises a progressive temporal sub-layer access (STSA) NAL unit corresponding to an STSA picture; the STSA NAL unit is not located between the APS NAL unit and the at least one VCL NAL unit; A data structure according to any one of claims 1 to 4.

6. The data structure of claim 5, wherein the PH NAL unit, the at least one VCL NAL unit, the APS NAL unit, and the STSA NAL unit are included in a single access unit.

7. The data structure of claim 5, wherein the time identifier of the APS NAL unit is greater than or equal to the time identifier of the STSA NAL unit.

8. The data structure of claim 5, wherein a picture order count (POC) of the APS NAL unit is greater than or equal to a POC of the STSA NAL unit.

9. A method for generating an encoded video bitstream using at least one processor, the method comprising: obtaining video data corresponding to an image unit; generating a picture header (PH) network abstraction layer (NAL) unit corresponding to said picture unit; generating at least one video coding layer (VCL) NAL unit corresponding to the picture unit; generating a coded video sequence (CVS) based on the PH NAL unit, the at least one VCL NAL unit, and an adaptation parameter set (APS) included in an APS NAL unit; outputting the encoded video bitstream including the encoded video sequence; Including, the APS NAL unit is included in at least one prediction unit (PU) having a nuh_layer_id value equal to the lowest nuh_layer_id value of one or more coded slice NAL units that reference the APS NAL unit; method.

10. The method of claim 9, wherein the time identifier of the at least one VCL NAL unit is greater than or equal to the time identifier of the APS NAL unit.

11. The method of claim 9 or 10, wherein a picture order count (POC) of at least one VCL NAL unit is greater than or equal to the POC of the APS NAL unit.

12. The method of claim 9, wherein a layer identifier of the PH NAL unit and a layer identifier of the at least one VCL NAL unit are equal to or greater than a layer identifier of the APS NAL unit.

13. The CVS further comprises a stepped temporal sub-layer access (STSA) NAL unit corresponding to an STSA picture; the STSA NAL unit is not located between the APS NAL unit and the at least one VCL NAL unit; 13. The method according to any one of claims 9 to 12.

14. The method of claim 13, wherein the PH NAL unit, the at least one VCL NAL unit, the APS NAL unit, and the STSA NAL unit are included in a single access unit.

15. The method of claim 13 or 14, wherein the time identifier of the APS NAL unit is greater than or equal to the time identifier of the STSA NAL unit.

16. The method of claim 13, wherein a picture order count (POC) of the APS NAL unit is greater than or equal to a POC of the STSA NAL unit.

17. A device configured to perform a method according to any one of claims 9 to 16.

18. A computer program product for causing at least one processor to carry out a method according to any one of claims 9 to 16.