Method and apparatus for encoding and decoding encoded video bitstream

By obtaining explicit sub-picture partition information flags in the video decoding processor, the problem of low efficiency in sub-picture partition management in the prior art is solved, and more efficient video decoding and resource utilization are achieved.

CN118945348APending Publication Date: 2024-11-12TENCENT AMERICA LLC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411331034.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2020-10-27
Filing Date
2021-02-22
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

When existing video encoding and decoding technologies process encoded video bitstreams, it is difficult to effectively manage sub-picture partition information, resulting in waste of resources and inefficient decoding, especially when the number of sub-pictures is large.

Method used

Effective decoding of the current picture is achieved by obtaining a flag in the processor to determine whether to explicitly signal the sub-picture partition information and performing a decoding operation based on the information.

Benefits of technology

Improve the efficiency and resource utilization of video decoding, especially in multi-sub-picture scenarios, reducing bandwidth and storage requirements, and improving the overall performance of video decoding.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118945348A_ABST
    Figure CN118945348A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a method and equipment for decoding an encoded video bit stream. The method comprises the steps that when the number of at least one sub-picture of a current picture is larger than 1, a mark is obtained, and the mark indicates whether to explicitly send a signal to inform sub-picture partition information or not; when the sign indicates explicitly signaling the sub-picture partition information, acquiring the sub-picture partition information; and decoding the current picture based on the sub-picture partition information.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to U.S. Provisional Patent Application No. 63 / 003,123, filed on March 31, 2020, and U.S. Patent Application No. 17 / 081,392, filed on October 27, 2020, the entire contents of which are incorporated herein. Technical Field

[0003] The disclosed subject matter relates to video encoding and decoding, and more particularly, to signaling sub-picture partitioning in an encoded video bitstream. Background Art

[0004] The use of inter-picture prediction with motion compensation for video encoding and decoding is well known. An uncompressed digital video may comprise a series of pictures, each picture having spatial dimensions of, for example, 1920×1080 luma samples and associated chroma samples. The series of pictures may have a fixed or variable picture rate (also informally referred to as a frame rate), for example, 60 pictures per second or 60 Hz. Uncompressed video has very high bitrate requirements. For example, 1080p60 4:2:0 video (a resolution of 1920x1080 luma samples at a 60 Hz frame rate) with 8 bits per sample requires close to 1.5 Gbit / s of bandwidth. One hour of such video would require over 600 GB of storage space.

[0005] One goal of video encoding and decoding is to reduce redundancy in the input video signal through compression. Compression can help reduce the bandwidth or storage space requirements mentioned above, in some cases by two or more orders of magnitude. Both lossless and lossy compression, as well as combinations of the two, can be used. Lossless compression refers to techniques that reconstruct an exact replica of the original signal from a compressed original. When lossy compression is used, the reconstructed signal may not be exactly the same as the original, but the distortion between the original and the reconstructed signal is small enough that the reconstructed signal can be used for the intended application. Lossy compression is widely used in video. The amount of distortion allowed depends on the application. For example, users of some consumer streaming applications may be able to tolerate higher distortion than users of television applications. The achievable compression ratio reflects the fact that higher allowed / tolerable distortion results in higher compression ratios.

[0006] Video encoders and decoders can utilize several broad categories of techniques, including, for example, motion compensation, transforms, quantization, and entropy coding, some of which are described below.

[0007] Historically, video encoders and decoders have tended to operate at a given picture size, which in most cases is defined for a coded video sequence (CVS), group of pictures (GOP), or similar multi-picture temporal frame and remains constant. For example, in MPEG-2, system designs are known to vary the horizontal resolution (and thus the picture size) based on factors such as the activity of the scene, but only for I-pictures, and therefore typically for GOPs. For example, according to ITU-T Rec. H.263 Annex P, resampling reference pictures using different resolutions within a CVS is known. However, here the picture size is not changed, only the reference pictures are resampled, resulting in the possibility that only part of the picture canvas is used (in the case of downsampling) or only part of the scene is captured (in the case of upsampling). In addition, H.263 Annex Q allows for resampling of individual macroblocks up or down by a factor of 2 (in each dimension). Again, the picture size remains constant. The size of the macroblock is fixed in H.263, so no signaling is required.

[0008] In modern video codecs, changes in picture size in predicted pictures are becoming more and more mainstream. For example, VP9 allows for resampling of reference pictures and changing the resolution of the entire picture. Similarly, certain proposals have been made for VVC (including, for example, Hendry et al., "On adaptive resolution change (ARC) for VVC", Joint Video Group document JVET-M0135-v1, January 9-19, 2019, which is incorporated herein in its entirety) to allow for resampling of the entire reference picture to a different higher or lower resolution. In that document, it is proposed that different candidate resolutions be encoded in a sequence parameter set and referenced by a per-picture syntax element in the picture parameter set. Summary of the Invention

[0009] In an embodiment, a method for decoding an encoded video bitstream using at least one processor is provided, comprising: when the number of at least one sub-picture of a current picture is greater than 1, obtaining a flag indicating whether to explicitly signal sub-picture partition information; when the flag indicates that the sub-picture partition information is explicitly signaled, obtaining the sub-picture partition information; and decoding the current picture based on the sub-picture partition information.

[0010] In an embodiment, a device for decoding an encoded video bitstream is provided, comprising: at least one memory configured to store program code; and at least one processor configured to read the program code and operate according to instructions of the program code, wherein the program code comprises: a first acquisition code configured to enable the at least one processor to obtain a flag when the number of at least one sub-picture of a current picture is greater than 1, the flag indicating whether to explicitly signal sub-picture partition information; a second acquisition code configured to enable the at least one processor to obtain the sub-picture partition information when the flag indicates that the sub-picture partition information is explicitly signaled; and a decoding code configured to enable the at least one processor to decode the current picture based on the sub-picture partition information.

[0011] In an embodiment, a non-volatile computer-readable medium is provided for storing instructions, the instructions comprising 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: when the number of at least one sub-picture of a current picture is greater than 1, obtain a flag indicating whether sub-picture partition information is explicitly signaled; when the flag indicates that the sub-picture partition information is explicitly signaled, obtain the sub-picture partition information; and decode the current picture based on the sub-picture partition information. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Other features, properties, and various advantages of the disclosed subject matter will become more apparent from the following detailed description and accompanying drawings, in which

[0013] Figure 1 is a schematic diagram of a simplified block diagram of a communication system according to an embodiment.

[0014] Figure 2 is a schematic diagram of a simplified block diagram of a communication system according to an embodiment.

[0015] Figure 3 is a schematic diagram of a simplified block diagram of a decoder according to an embodiment.

[0016] Figure 4 is a schematic diagram of a simplified block diagram of an encoder according to an embodiment.

[0017] Figures 5A-5E is a diagram of options for signaling ARC parameters according to an embodiment.

[0018] Figures 6A-6B is a diagram of an example of a syntax table according to an embodiment.

[0019] Figure 7is an example of a prediction structure with scalability for adaptive resolution changes according to an embodiment.

[0020] Figure 8 is an example of a syntax table according to an embodiment.

[0021] Figure 9 is a schematic diagram of a simplified block diagram for parsing and decoding the POC period and access unit count value for each access unit according to an embodiment.

[0022] Figure 10 FIG. 4 is a schematic diagram of a video bitstream structure including multiple layers of sub-pictures according to an embodiment.

[0023] Figure 11 is a schematic diagram of display of a selected sub-picture with enhanced resolution according to an embodiment.

[0024] Figure 12 is a block diagram of a decoding and display process of a video bitstream including multiple layers of sub-pictures according to an embodiment.

[0025] Figure 13 is a schematic diagram of a 360 video display with an enhancement layer of sub-pictures according to an embodiment.

[0026] Figure 14 is an example of layout information and picture prediction structure of sub-pictures and their corresponding layers according to an embodiment.

[0027] Figure 15 is an example of layout information and picture prediction structure of sub-pictures and their corresponding layers with a spatial scalability modality of a local area according to an embodiment.

[0028] Figures 16A-16B is an example of a syntax table for sub-picture layout information according to an embodiment.

[0029] Figure 17 is an example of a syntax table of a SEI message for sub-picture layout information according to an embodiment.

[0030] Figure 18 is an example of a syntax table according to an embodiment, used to indicate output layers and profile / tier / level information for each output layer set.

[0031] Figure 19 is an example of a syntax table according to an embodiment, used to indicate that output layer mode is on for each output layer set.

[0032] Figure 20 is an example of a syntax table according to an embodiment, used to indicate the current sub-picture of each layer of each output layer set.

[0033] Figure 21 is an example of a syntax table according to an embodiment, used to indicate a sub-picture identifier.

[0034] Figure 22 is an example of a syntax table according to an embodiment, used to indicate sub-picture partition information.

[0035] Figure 23 is a flow chart of an example process for decoding an encoded video bitstream according to an embodiment.

[0036] Figure 24 is a schematic diagram of a computer system according to an embodiment. DETAILED DESCRIPTION

[0037] Figure 1 A simplified block diagram of a communication system (100) according to an embodiment of the present disclosure is shown. The communication system (100) may include at least two terminal devices (110, 120) interconnected via a network (150). For one-way data transmission, a first terminal device (110) may encode video data at a local location for transmission to another terminal device (120) via the network (150). The second terminal device (120) may receive the encoded video data from the other terminal device from the network (150), decode the encoded video data, and display the recovered video data. One-way data transmission is common in applications such as media services.

[0038] Figure 1 A second pair of terminal devices (130, 140) is shown that supports bidirectional transmission of encoded video, which can occur, for example, during a video conference. For bidirectional data transmission, each terminal device (130, 140) can encode video data collected at a local location for transmission to the other terminal device over a network (150). Each terminal device (130, 140) can also receive encoded video data transmitted by the other terminal device, and can decode the encoded video data and display the recovered video data on a local display device.

[0039] exist Figure 1In the embodiment of the present disclosure, the terminal devices (110-140) may be servers, personal computers, and smartphones, but the principles of the present disclosure may not be limited thereto. Embodiments of the present disclosure are applicable to laptop computers, tablet computers, media players, and / or dedicated video conferencing equipment. The network (150) represents any number of networks that transmit encoded video data between the terminal devices (110-140), including, for example, wired and / or wireless communication networks. The communication network (150) may exchange data in circuit-switched and / or packet-switched channels. Representative networks include telecommunication networks, local area networks, wide area networks, and / or the Internet. For the purposes of this discussion, unless explained below, the architecture and topology of the network (150) may be immaterial to the operation of the present disclosure.

[0040] As an application example of the disclosed subject matter, Figure 2 The placement of the video decoder and encoder in a streaming environment is shown. The disclosed subject matter is equally applicable to other video-enabled applications including, for example, video conferencing, digital TV, storing compressed video on digital media including CDs, DVDs, memory sticks, etc.

[0041] A streaming system may include an acquisition subsystem (213) that may include a video source (201) such as a digital camera that creates, for example, an uncompressed video sample stream (202). The sample stream (202) is depicted as a thicker line than an encoded video bitstream to emphasize that it is a high-data-volume video sample stream, and the sample stream (202) may be processed by an encoder (203) coupled to the camera (201). The encoder (203) may include hardware, software, or a combination of hardware and software to implement or embody various aspects of the disclosed subject matter as described in more detail below. The encoded video bitstream (204) is depicted as a thinner line than the sample stream (202) to emphasize the lower-data-volume encoded video bitstream, which 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 a copy (207, 209) of the encoded video bitstream (204). The client (206) may include a video decoder (210). The video decoder (210) decodes an incoming copy of an encoded video bitstream (207) and produces an output video sample stream (211) that can be presented on a display (212) or another presentation device (not shown). In some streaming systems, the video bitstream (204, 207, 209) may be encoded according to certain video codec / compression standards. Examples of such standards include ITU-T Recommendation H.265. The video codec standard under development is informally referred to as the Versatile Video Codec (VVC). The disclosed subject matter may be used in the context of VVC.

[0042] Figure 3 is a functional block diagram of a video decoder (210) according to an embodiment of the present disclosure.

[0043] A receiver (310) may receive one or more encoded video sequences to be decoded by a video decoder (210); in the same or another embodiment, one encoded video sequence at a time, wherein each encoded video sequence is decoded independently of the other encoded video sequences. The encoded video sequence may be received from a channel (312), which may be a hardware / software link to a storage device storing the encoded video data. The receiver (310) may receive the encoded video data as well as other data, such as encoded audio data and / or auxiliary data streams, which may be forwarded to their respective consuming entities (not shown). The receiver (310) may separate the encoded video sequence from the other data. To prevent network jitter, a buffer memory (315) may be coupled between the receiver (310) and an entropy decoder / parser (320) (hereinafter referred to as the "parser"). When the receiver (310) receives data from a store / forward device with sufficient bandwidth and controllability or from an isochronous network, the buffer memory (315) may not be required or may be made smaller. Of course, for use over a packet network such as the Internet, a buffer memory (315) may also be required, which may be relatively large and may advantageously be of an adaptive size.

[0044] The video decoder (210) may include a parser (320) to reconstruct symbols (321) from an entropy coded video sequence. These symbols may include information for managing the operation of the video decoder (210) and potentially information for controlling a display device such as display 212 that is not part of the decoder but may be coupled to the decoder, such as Figure 3. The control information for the display device may be in the form of a parameter set fragment (not shown) of a Supplementary Enhancement Information (SEI) message or a Video Usability Information (VUI). The parser (320) may parse and / or entropy decode the received coded video sequence. The coding and decoding of the coded video sequence may be performed according to 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, and the like. The parser (320) may extract a subgroup parameter set for at least one subgroup of the subgroups of pixels in the video decoder from the coded video sequence based on at least one parameter corresponding to the group. Subgroups may include Group of Pictures (GOP), pictures, sub-pictures, tiles, slices, bricks, macroblocks, Coding Tree Units (CTU), Coding Units (CU), blocks, Transform Units (TU), Prediction Units (PU), and the like. A tile may indicate a rectangular area of ​​a CU / CTU within a specific tile column and row in a picture. A brick may indicate a rectangular area of ​​a CU / CTU row within a specific tile. A slice may indicate one or more tiles of a picture, which are contained in a NAL unit. A sub-picture may indicate a rectangular area of ​​one or more slices in a picture. The entropy decoder / parser may also extract information such as transform coefficients, quantizer parameter values, motion vectors, and the like from the encoded video sequence.

[0045] The parser (320) may perform entropy decoding and / or parsing operations on a video sequence received from the buffer memory (315), thereby creating symbols (321).

[0046] Depending on the type of coded video picture or portion of a coded video picture (e.g., inter- and intra-pictures, inter- and intra-blocks), and other factors, the reconstruction of the symbol (321) may involve a plurality of different units. Which units are involved and how they are involved may be controlled by subgroup control information parsed from the coded video sequence by the parser (320). For the sake of brevity, the flow of such subgroup control information between the parser (320) and the various units described below is not described.

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

[0048] The first unit is a scaler and / or inverse transform unit (351). The scaler and / or inverse transform unit (351) receives quantized transform coefficients as symbols (321) from the parser (320) along with control information, including which transform method to use, block size, quantization factor, quantization scaling matrix, etc. The scaler / inverse transform unit (351) may output a block comprising sample values, which may be input to an aggregator (355).

[0049] In some cases, the output samples of the scaler and / or inverse transform unit (351) may belong to an intra-coded block; that is, a block that does not use predictive information from a previously reconstructed picture, but may use predictive information from a previously reconstructed portion of the current picture. Such predictive information may be provided by an intra-picture prediction unit (352). In some cases, the intra-picture prediction unit (352) uses surrounding reconstructed information extracted from the (partially reconstructed) current picture (358) to generate a block of the same size and shape as the block being reconstructed. In some cases, the aggregator (355) adds 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) on a per-sample basis.

[0050] In other cases, the output samples of the scaler and / or inverse transform unit (351) may belong to inter-frame coded and potentially motion compensated blocks. In this case, the motion compensated prediction unit (353) may access the reference picture memory (357) to extract samples for prediction. After the extracted samples are motion compensated according to the symbols (321), these samples may be added to the output of the scaler and / or inverse transform unit (in this case referred to as residual samples or residual signal) by the aggregator (355) to generate output sample information. The retrieval of the prediction samples by the motion compensated prediction unit from the address in the reference picture memory may be controlled by a motion vector, and the motion vector is provided to the motion compensated prediction unit in the form of the symbols (321), for example, including X, Y and reference picture components. Motion compensation may also include interpolation of sample values ​​extracted from the reference picture memory when using sub-sample accurate motion vectors, motion vector prediction mechanisms, etc.

[0051] The output samples of the aggregator (355) may be used by various loop filtering techniques in a loop filter unit (356). The video compression techniques may include in-loop filtering techniques that are controlled by parameters included in the coded video bitstream and made available to the loop filter unit (356) as symbols (321) from the parser (320). However, the video compression techniques may also be responsive to meta-information obtained during decoding of a previous (in decoding order) portion of a coded picture or coded video sequence, as well as to previously reconstructed and loop filtered sample values.

[0052] The output of the loop filter unit (356) may be a sample stream that may be output to a display device (212) and stored in a reference picture memory for subsequent inter-picture prediction.

[0053] Once fully reconstructed, certain coded pictures can be used as reference pictures for future prediction. Once a coded picture is fully reconstructed and the coded picture is identified as a reference picture (e.g., by a parser (320)), a current picture (358) can become part of the reference picture memory (357) and a new current picture memory can be reallocated before starting to reconstruct a subsequent coded picture.

[0054] The video decoder (210) may perform decoding operations according to a predetermined video compression technique, such as that documented in the ITU-T H.265 standard. The coded video sequence may conform to the syntax specified by the video compression technique or standard used, in the sense that the coded video sequence follows the syntax of the video compression technique or standard as specified in the video compression technology document or standard, particularly in a profile. Compliance may also require that the complexity of the coded video sequence be within the limits defined by the hierarchy of the video compression technique or standard. In some cases, the hierarchy limits the maximum picture size, maximum frame rate, maximum reconstruction sampling rate (measured in, for example, megasamples per second), maximum reference picture size, etc. In some cases, the limits set by the hierarchy may be further defined by the Hypothetical Reference Decoder (HRD) specification and metadata for HRD buffer management signaled in the coded video sequence.

[0055] In an embodiment, a receiver (310) may receive additional (redundant) data along with the encoded video. The additional data may be part of the encoded video sequence. The additional data may be used by the video decoder (210) to properly decode the data and / or more accurately reconstruct the original video data. The additional data may be in the form of, for example, temporal, spatial, or signal-to-noise ratio (SNR) enhancement layers, redundant slices, redundant pictures, forward error correction codes, and the like.

[0056] Figure 4 is a functional block diagram of a video encoder (203) according to an embodiment of the present disclosure.

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

[0058] The video source (201) may provide a source video sequence in the form of a digital video sample stream to be encoded by the video encoder (203), wherein the digital video sample stream may have 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 storing previously prepared videos. In a video conferencing system, the video source (201) may be a camera that captures local image information as a video sequence. The video data may be provided as a plurality of individual pictures that are given motion when viewed sequentially. The pictures themselves may be constructed as a spatial array of pixels, where each pixel may include one or more samples depending on the sampling structure, color space, etc. used. The relationship between pixels and samples may be readily understood by those skilled in the art. The following description focuses on samples.

[0059] According to an embodiment, the video encoder (203) may encode and compress pictures of a source video sequence into an encoded video sequence (443) in real time or under any other time constraints required by the application. Implementing an appropriate encoding speed is a function of the controller (450). The controller controls other functional units as described below and is functionally coupled to these units. For the sake of simplicity, the coupling is not shown in the figure. The parameters set by the controller may include rate control related parameters (e.g., picture skipping, quantizer, lambda value of rate-distortion optimization technique, etc.), 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 belong to the video encoder (203) optimized for a specific system design.

[0060] Some video encoders operate in a manner readily recognizable to those skilled in the art as a "coding loop." As a simplified description, the coding loop may include an encoding portion of an encoder (430) (hereinafter referred to as a "source encoder," which is responsible for creating symbols based on an input picture to be encoded and a reference picture), and a (local) decoder (433) embedded in the video encoder (203). The "local" decoder (433) reconstructs the symbols to create sample data in a manner similar to how the (remote) decoder creates sample data (because, in the video compression techniques contemplated by the disclosed subject matter, any compression between the symbols and the encoded video stream is lossless). The reconstructed sample stream is input to a reference picture memory (434). Because the decoding of the symbol stream produces bit-accurate results independent of the decoder's location (local or remote), the contents of the reference picture memory also correspond bit-accurately between the local encoder and the remote encoder. In other words, the reference picture samples "seen" by the prediction portion of the encoder are exactly the same sample values ​​that the decoder will "see" when using prediction during decoding. This basic principle of reference picture synchronization (and the resulting drift when synchronization cannot be maintained, eg due to channel errors) is well known to those skilled in the art.

[0061] The operation of the "local" decoder (433) can be combined with the Figure 3 The same "remote" decoder (210) as described in detail. However, additional brief reference is made to Figure 3 , when symbols are available and the entropy encoder (445) and parser (320) are capable of losslessly encoding and / or decoding the symbols into an encoded video sequence, the entropy decoding portion of the video decoder (210), including the channel (312), the receiver (310), the buffer memory (315), and the parser (320), may not be fully implemented in the local decoder (433).

[0062] At this point, it can be observed that any decoder techniques other than parsing and / or entropy decoding present in the decoder must also be present in substantially the same functional form in the corresponding encoder. For this reason, the disclosed subject matter focuses on decoder operation. The description of encoder techniques may be abbreviated, as they are reciprocal to the fully described decoder techniques. A more detailed description is required only in certain areas and is provided below.

[0063] As part of its operation, the source encoder (430) may perform motion-compensated predictive coding. The motion-compensated predictive coding predictively encodes an input frame with reference to one or more previously encoded frames from a video sequence, designated as "reference frames." In this manner, the encoding engine (432) encodes the differences between pixel blocks of the input frame and pixel blocks of a reference frame that may be selected as a prediction reference for the input frame.

[0064] The local video decoder (433) can decode the encoded video data of the frame that can be designated as the reference frame based on the symbols created by the source encoder (430). The operation of the encoding engine (432) can advantageously be a lossy process. When the encoded video data is available at the video decoder ( Figure 4 When decoded at a remote location (not shown), the reconstructed video sequence may typically be a copy of the source video sequence with some errors. The local video decoder (433) replicates the decoding process that the video decoder may perform on the reference frame and may cause the reconstructed reference frame to be stored in the reference picture memory (434). In this way, the encoder (203) may locally store a copy of the reconstructed reference frame that has common content (absent transmission errors) with the reconstructed reference frame that will be obtained by the remote video decoder.

[0065] The predictor (435) may perform a prediction search for the encoding engine (432). That is, for a new frame to be encoded, the predictor (435) may search the reference picture memory (434) for sample data (as candidate reference pixel blocks) or certain metadata, such as reference picture motion vectors, block shapes, etc., that may serve as suitable prediction references for the new frame. The predictor (435) may operate on a pixel-by-pixel-block basis based on sample blocks to find a suitable prediction reference. In some cases, based on the search results obtained by the predictor (435), it may be determined that the input picture may have prediction references taken from multiple reference pictures stored in the reference picture memory (434).

[0066] The controller (450) may manage encoding operations of the source encoder (430), including, for example, setting parameters and subgroup parameters for encoding video data.

[0067] The outputs of all the above functional units may be entropy coded in an entropy encoder (445). The entropy encoder may perform lossless compression on the symbols generated by the various functional units using techniques known to those skilled in the art, such as Huffman coding, variable length coding, arithmetic coding, etc., thereby converting the symbols into a coded video sequence.

[0068] The transmitter (440) can buffer the encoded video sequence created by the entropy encoder (445) in preparation for transmission over a communication channel (460), which can be a hardware / software link to a storage device where the encoded video data will be stored. The transmitter (440) can combine the encoded video data from the source encoder (430) with other data to be transmitted, such as encoded audio data and / or an auxiliary data stream (source not shown).

[0069] The controller (450) can manage the operation of the video encoder (203). During encoding, the controller (450) can assign a certain coded picture type to each coded picture, but this may affect the coding techniques that can be applied to the corresponding picture. For example, a picture can generally be assigned to any of the following picture types:

[0070] An intra picture (I picture) is a picture that can be encoded and decoded without using any other frame in the sequence as a prediction source. Some video codecs allow for different types of intra pictures, including, for example, Independent Decoder Refresh (IDR) pictures. Those skilled in the art are aware of these variations of I pictures and their respective applications and characteristics.

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

[0072] Bidirectionally predictive pictures (B pictures) can be encoded and decoded using intra prediction or inter prediction, which uses up to two motion vectors and reference indices to predict sample values ​​for each block. Similarly, multiple predictive pictures can use more than two reference pictures and associated metadata to reconstruct a single block.

[0073] A source picture is typically spatially subdivided into blocks of samples (e.g., blocks of 4×4, 8×8, 4×8, or 16×16 samples) and coded block by block. These blocks may be predictively coded with reference to other (already coded) blocks, determined according to the coding allocation applied to the block's corresponding picture. For example, blocks of an I picture may be non-predictively coded, or they may be predictively coded (spatial or intra-predicted) with reference to already coded blocks of the same picture. Pixel blocks of a P picture may be predictively coded using spatial prediction with reference to one previously coded reference picture or using temporal prediction. Blocks of a B picture may be predictively coded using spatial prediction with reference to one or two previously coded reference pictures or using temporal prediction.

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

[0075] In an embodiment, the transmitter (440) may transmit additional data along with the encoded video. The source encoder (430) may include such data as a portion of the encoded video sequence. The additional data may include temporal / spatial / SNR enhancement layers, redundant pictures and slices, and other forms of redundant data, SEI messages, VUI parameter set fragments, and the like.

[0076] Recently, there has been some interest in the compression domain aggregation or extraction of multiple semantically independent picture parts into a single video picture. Specifically, in the context of, for example, 360 encoding or certain surveillance applications, multiple semantically independent source pictures (e.g., the six cube surfaces of a 360 scene of a cube projection, or the individual camera inputs in a multi-camera surveillance setup) may require separate adaptive resolution settings to cope with different scene activities at a given point in time. In other words, the encoder can choose to use different resampling factors for the different semantically independent pictures that make up the entire 360 ​​scene or surveillance scene at a given point in time. This in turn requires that reference picture resampling be performed on parts of the coded picture when combined into a single picture, and that adaptive resolution coding signaling is available.

[0077] The following is an introduction to some terms that will be referred to in the rest of this specification.

[0078] In some cases, a sub-picture may refer to a rectangular arrangement of samples, blocks, macroblocks, coding units, or similar entities that are semantically grouped and independently coded at varying resolutions. One or more sub-pictures may form a picture. One or more coded sub-pictures may form a coded picture. One or more sub-pictures may be combined into a picture, and one or more sub-pictures may be extracted from a picture. In some circumstances, one or more coded sub-pictures may be combined in the compressed domain without transcoding to the sample level into a coded picture, and in the same or other circumstances, one or more coded sub-pictures may be extracted from a coded picture in the compressed domain.

[0079] Adaptive resolution change (ARC) may refer to a mechanism that allows the resolution of pictures or sub-pictures within a coded video sequence to be changed, for example, by resampling reference pictures. Hereinafter, ARC parameters refer to the control information required to perform adaptive resolution change, which may include, for example, filter parameters, scaling factors, output and / or reference picture resolutions, various control flags, and the like.

[0080] In an embodiment, encoding and decoding may be performed on a single semantically independent coded video picture.Before describing the implications of encoding / decoding multiple sub-pictures with independent ARC parameters and the additional complexity it implies, options for signaling ARC parameters will be described.

[0081] refer to Figures 5A-5E , several embodiments for signaling ARC parameters are shown. As described in each embodiment, they may have certain advantages and disadvantages from the perspectives of codec efficiency, complexity, and architecture. Video codec standards or technologies may select one or more of these embodiments, or options known in the relevant art, to signal ARC parameters. These embodiments may not be mutually exclusive and may be interchangeable based on application needs, the standard technologies involved, or the choice of encoder.

[0082] Categories of ARC parameters can include:

[0083] - Upsampling and / or downsampling factors in the X and Y dimensions, either separately or combined

[0084] - Adding upsampling and / or downsampling factors in the time dimension, which means that a given number of images are enlarged or reduced at a constant speed

[0085] - Either of the above two categories may involve the encoding of one or more possibly short syntax elements, which may point to a table containing one or more factors.

[0086] - The combined or individual resolutions of the input picture, output picture, reference picture, or coded picture in the X or Y dimension, in units of samples, blocks, macroblocks, coding units (CUs), or any other suitable granularity. If there is more than one resolution (e.g., one for the input picture and one for the reference picture), then in some cases one set of values ​​can be inferred from the other. This can be enabled, for example, using a flag. See below for more detailed examples.

[0087] - "Warped" coordinates are similar to those used in Annex P of H.263, again using the appropriate granularity described above. Annex P of H.263 defines an efficient way to encode such warping coordinates, but other, potentially more efficient, ways are also contemplated. For example, the variable-length reversible "Huffman" encoding of the warped coordinates of Annex P could be replaced by a binary encoding of appropriate length, where the length of the binary codewords could be derived, for example, from the maximum picture size, possibly multiplied by a factor and offset by a value to allow "warping" outside the boundaries of the maximum picture size.

[0088] - Upsampling and / or downsampling filter parameters. In embodiments, there may be only a single filter used for upsampling and / or downsampling. However, in embodiments, it may be desirable to allow greater flexibility in filter design, and this may require signaling of filter parameters. These parameters may be selected by an index into a list of possible filter designs, the filter may be fully specified (e.g., by a list of filter coefficients, using appropriate entropy coding techniques), the filter may be implicitly selected by the upsampling and / or downsampling rate, which in turn may be signaled according to any of the mechanisms described above, etc.

[0089] Hereinafter, this specification assumes that a limited set of upsampling and / or downsampling factors are encoded (using the same factors in both the X and Y dimensions), represented by codewords. The codewords can be variable-length encoded, for example, using Ext-Golomb codes common to certain syntax elements in video codec specifications such as H.264 and H.265. For example, a suitable mapping from values ​​to upsampling and / or downsampling factors can be based on Table 1:

[0090] Table 1

[0091] Codeword Ext-Golomb Code Original / target resolution 0 1 1 / 1 1 010 1 / 1.5 (50% zoom) 2 011 1.5 / 1 (50% reduction) 3 00100 1 / 2 (100% zoom) 4 00101 2 / 1 (reduced by 100%)

[0092] Many similar mappings can be designed, depending on the needs of the application and the capabilities of the upscaling and downscaling mechanisms available in the video compression technology or standard. The table is expandable to many more values. The values ​​can also be represented by entropy coding mechanisms other than Ext-Golomb codes, for example using binary encoding. This may have certain advantages when, for example, a MANE is interested in the resampling factors outside the video processing engine itself (most importantly the encoder and decoder). It should be noted that for cases where no resolution change is required, a shorter Ext-Golomb code can be chosen; in the table above, this is only one bit. In the most common cases, this has the advantage of codec efficiency over using binary codes.

[0093] The number of entries in the table and their semantics may be fully or partially configurable. For example, a basic outline 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 codec or standard and may be selected, for example, by a decoder or sequence parameter set.

[0094] The following describes how to include the upsampling and / or downsampling factors (ARC information) encoded as described above in a video codec or standard syntax. Similar considerations can be applied to one or more codewords that control upsampling and / or downsampling filters. See below for a discussion of when filters or other data structures require relatively large amounts of data.

[0095] like Figure 5A As shown, H.263 Annex P includes ARC information (502) in the form of four warp coordinates in the picture header (501), specifically in the H.263PLUSPTYPE (503) header extension. This can be a wise design choice when a) picture headers are available and b) the ARC information is expected to change frequently. However, when using H.263-style signaling, the overhead can be quite high, and because picture headers can be transient in nature, the scaling factors may not apply across picture boundaries.

[0096] like Figure 5B As shown, JVCET-M135-v1 includes ARC reference information (505) (index) located in a picture parameter set (504), which indexes a table (506) containing target resolutions, which is located in a sequence parameter set (507). According to the author's oral statement, the placement of possible resolutions in the table (506) of the sequence parameter set (507) can be demonstrated by using the SPS as an interoperability negotiation point during capability exchange. By referencing the appropriate picture parameter set (504), the resolution can be changed from picture to picture within the limits set by the values ​​in the table (506).

[0097] refer to Figures 5C-5E The following embodiments may be present to transmit ARC information in a video bitstream. Each of these options has certain advantages over the above embodiments. The embodiments may exist simultaneously within the same video codec technology or standard.

[0098] In an embodiment, for example Figure 5C In the illustrated embodiment, ARC information (509), such as resampling (scaling) factors, may be present in a slice header, a GOP header, a tile header, or a tile group header. Figure 5CAn embodiment using a tile group header (508) is shown. This may be sufficient, for example, if 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. Placing the ARC information directly in the tile group header has the additional advantage that the ARC information may apply, for example, to a sub-picture represented by the tile group, rather than to the entire picture, see also below. In addition, even if the video compression technique or standard only envisions adaptive resolution changes for the entire picture (as opposed to adaptive resolution changes based on tile groups, for example), placing the ARC information in the tile group header may have certain advantages from an error recovery perspective compared to placing it in the picture header of the H.263 format.

[0099] In an embodiment, for example Figure 5D In the illustrated embodiment, the ARC information (512) itself may reside in an appropriate parameter set, such as a picture parameter set, a header parameter set, a tile parameter set, an adaptation parameter set, or the like. Figure 5D An embodiment using an adaptive parameter set (511) is shown. Advantageously, the scope of the parameter set may be no larger than a picture, such as a group of tiles. The use of ARC information is implicit by activating the relevant parameter set. For example, when a video codec or standard only considers picture-based ARC, then a picture parameter set or equivalent parameters may be applicable.

[0100] In an embodiment, for example Figure 5E In the illustrated embodiment, ARC reference information (513) may be present in a tile group header (514) or similar data structure. This reference information (513) may refer to a subset of the ARC information (515) available in a parameter set (516) that extends beyond a single picture, such as a sequence parameter set or a decoder parameter set.

[0101] like Figure 6A As shown in FIG1 , as an example syntax structure for a header applicable to a portion of a picture (possibly rectangular), a tile group header ( 601 ) may conditionally contain a variable-length, Exp-Golomb-coded syntax element, dec_pic_size_idx ( 602 ) (in boldface). The presence of this syntax element in the tile group header may be gated based on the use of adaptive resolution ( 603 )—here, the flag's value is not in boldface, meaning that the flag is present in the bitstream at the point where it appears in the syntax diagram. Whether adaptive resolution is used for the picture or its portion may be signaled in any higher-level syntax structure, either internal or external to the bitstream. In the example shown, it is signaled in a sequence parameter set, as described below.

[0102] refer to Figure 6B, an excerpt of a sequence parameter set (610) is also shown. The first syntax element shown is adaptive_pic_resolution_change_flag (611). When true, this flag may indicate the use of adaptive resolution, which in turn may require certain control information. In this example, such control information appears conditionally based on the value of the flag, which is based on an if() statement in the parameter set (612) and the tile group header (601).

[0103] When adaptive resolution is used, in this example, the output resolution in samples (613) is encoded. The number 613 refers to output_pic_width_in_luma_samples and output_pic_height_in_luma_samples, which together can define the resolution of the output picture. Elsewhere in the video codec technology or standard, certain restrictions on any one value can be defined. For example, the level definition can limit the number of total output samples, which can be the product of the values ​​of these two syntax elements. Moreover, some video codec technologies or standards, or external technologies or standards (such as system standards) may limit the number range (for example, one or two dimensions must be divisible by a power of 2) or aspect ratio (for example, the width and height must be in a relationship of, for example, 4:3 or 16:9). Such restrictions can be introduced to facilitate hardware implementation, or for other reasons, and are well known in the art.

[0104] In some applications, it may be advisable for the encoder to instruct the decoder to use a certain reference picture size, rather than implicitly assuming that size as the output picture size. In this example, the syntax element reference_pic_size_present_flag (614) enables the conditional presence of the reference picture dimensions (615) (again, the numbers refer to width and height).

[0105] Finally, a table of possible decoded picture widths and heights is shown. Such a table may be indicated, for example, by a table indication (num_dec_pic_size_in_luma_samples_minus1) (616). "Minus1" may refer to the interpretation of the value of this syntax element. For example, if the coded value is zero, there is one table entry. If the value is 5, there are six table entries. For each "row" in the table, the decoded picture width and height are included in the syntax (617).

[0106] The presented table entry (617) can be indexed using the syntax element dec_pic_size_idx (602) in the tile group header, allowing each tile group to have a different decoded size - effectively a scaling factor.

[0107] Some video codecs or standards (e.g., VP9) support spatial scalability by implementing some form of reference picture resampling (signaled in a completely different manner from the disclosed subject matter) in conjunction with temporal scalability to achieve spatial scalability. Specifically, certain reference pictures can be upsampled to a higher resolution using ARC-style techniques to form the basis of spatial enhancement layers. These upsampled pictures can be modified using a high-resolution normal prediction mechanism to increase detail.

[0108] The embodiments discussed herein can be used in such an environment. In some cases, in the same or another embodiment, the value in the NAL unit header (e.g., the time ID field) can be used to indicate not only the temporal layer but also the spatial layer. Doing so may have certain benefits for certain system designs. For example, an existing Selected Forwarding Unit (SFU) created and optimized for temporal layer selective forwarding based on the NAL unit header time ID value can be used in a scalable environment without modification. To achieve this, the mapping between the coded picture size and the temporal layer may need to be indicated by the time ID field in the NAL unit header.

[0109] In some video codecs, an access unit (AU) may refer to one or more coded pictures, one or more slices, one or more tiles, one or more NAL units, etc., captured at a given time instance and assembled into a corresponding picture, slice, tile, and / or NAL unit bitstream. The given time instance may be, for example, composition time.

[0110] In HEVC and certain other video codecs, a picture order count (POC) value can be used to indicate a reference picture selected from a plurality of 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 may carry the same POC value, from which it can be derived that they are created based on content at the same composition time. In other words, where two pictures / slices / tiles carry the same given POC value, the POC value may indicate two pictures / slices / tiles belonging to the same AU and having the same composition time. Conversely, two pictures / slices / tiles with different POC values ​​may indicate those pictures / slices / tiles belonging to different AUs and having different composition times.

[0111] In an embodiment, this rigid relationship can be relaxed because an access unit can include pictures, slices, or tiles with different POC values. By allowing different POC values ​​within an AU, the POC value can be used to identify pictures / slices / tiles with the same presentation time that may be independently decoded. This in turn can support multiple scalable layers without changing the reference picture selection signaling, such as reference picture set signaling or reference picture list signaling, as described in more detail below.

[0112] However, for other pictures / slices / tiles with different POC values, it is still desirable to be able to identify the AU to which the picture / slice / tile belongs based solely on the POC value. This can be achieved as described below.

[0113] In an embodiment, an 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, an SEI message, a parameter set, or an AU delimiter. The AUC value may be used to identify which NAL units, pictures, slices, or tiles belong to a given AU. The AUC value may correspond to different synthesis time instances. 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 place a certain burden on the decoder implementation. In this case, making some minor restrictions in the numbering space of the AUC value may allow a shift operation to be used instead of a division operation. For example, the AUC value may be equal to the most significant bit (MSB) value within the POC value range.

[0114] In an embodiment, the value of the POC cycle (poc_cycle_au) for each AU may be signaled in a high-level syntax structure (e.g., a NAL unit header, a slice header, a tile group header, an SEI message, a parameter set, or an AU delimiter). poc_cycle_au may indicate how many different and consecutive POC values ​​may be associated with the same AU. For example, if the value of poc_cycle_au is equal to 4, a picture, slice, or tile with a POC value of 0 to 3 (inclusive) may be associated with an AU with an AUC value of 0, and a picture, slice, or tile with a POC value of 4 to 7 (inclusive) may be associated with an AU with an AUC value of 1. Therefore, the AUC value may be inferred by dividing the POC value by the value of poc_cycle_au.

[0115] In an embodiment, the value of poc_cycle_au can be derived from information located, for example, in a video parameter set (VPS), which identifies the number of spatial or SNR layers in the coded video sequence. An example of this possible relationship is briefly described below. Although the derivation as described above can save a few bits in the VPS and thus improve codec efficiency, in some embodiments, poc_cycle_au is explicitly encoded in an appropriate high-level syntax structure at a level lower than the video parameter set so that poc_cycle_au can be minimized for a given small portion of the bitstream (e.g., a picture). Since the POC value and / or the value of the syntax element that indirectly references the POC can be encoded using a low-level syntax structure, this optimization can save more bits than the bits that can be saved by the above-mentioned derivation process.

[0116] In an embodiment, Figure 8 An example of a syntax table is shown. This syntax table is used to signal the syntax element vps_poc_cycle_au in a VPS (or SPS), where vps_poc_cycle_au indicates the poc_cycle_au used for all pictures / slices in the encoded video sequence. This syntax table is also used to signal the syntax element slice_poc_cycle_au, where slice_poc_cycle_au indicates the poc_cycle_au of the current slice in the slice header. If the POC value for each AU increases uniformly, vps_contant_poc_cycle_per_au in the VPS can be set to 1, and vps_poc_cycle_au can be signaled in the VPS. In this case, slice_poc_cycle_au may not be explicitly signaled, and the AUC value for each AU may be calculated by dividing the POC value by vps_poc_cycle_au. If the POC value for each AU does not increase uniformly, 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, but slice_access_unit_cnt may be signaled in the slice header for each slice or picture. Each slice or picture may have a different slice_access_unit_cnt value. The AUC value for each AU may be calculated by dividing the POC value by slice_poc_cycle_au.

[0117] Figure 9A block diagram illustrating an example of the above process is shown. For example, in operation S910, the VPS (or SPS) can be parsed, and it can be determined at operation S920 whether the POC period of each AU is constant within the encoded video sequence. If the POC period of each AU is constant ("yes" at operation S920), then at operation S930, the value of the access unit count of the specific access unit can be calculated based on the poc_cycle_au signaled for the encoded video sequence and the POC value of the specific access unit. If the POC period of each AU is not constant ("no" at operation S920), then at operation S940, the value of the access unit count of the specific access unit can be calculated based on the poc_cycle_au signaled at the picture level and the POC value of the specific access unit. At operation S950, the new VPS (or SPS) can be parsed.

[0118] In an embodiment, pictures, slices, or tiles corresponding to AUs with the same AUC value may be associated with the same decoding or output time instance, even though the POC values ​​of the pictures, slices, or tiles may be different. Therefore, in the absence of any inter-frame parsing / decoding dependencies between pictures, slices, or tiles in the same AU, all or a subset of the pictures, slices, or tiles associated with the same AU may be decoded in parallel and may be output at the same time instance.

[0119] In an embodiment, pictures, slices, or tiles corresponding to AUs with the same AUC value may be associated with the same composition / display time instance, even though the POC values ​​of the pictures, slices, or tiles may be different. When the composition time is included in the container format, pictures may be displayed at the same time instance even if they correspond to different AUs if they have the same composition time.

[0120] In an embodiment, each picture, slice, or tile in the same AU may have the same temporal identifier (temporal_id). All or a subset of pictures, slices, or tiles corresponding to a temporal instance may be associated with the same temporal sub-layer. In an embodiment, each picture, slice, or tile in the same AU may have the same or different spatial layer ids (layer_id). All or a subset of pictures, slices, or tiles corresponding to a temporal instance may be associated with the same or different spatial layers.

[0121] Figure 7An example of a video sequence structure with a combination of temporal_id, layer_id, POC value, and AUC value with adaptive resolution change is shown. In this example, a picture, slice, or tile in the first AU with AUC=0 may have temporal_id=0 and layer_id=0 or 1, while a picture, slice, or tile in the 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 POC value of each picture increases by 1. 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 to be equal to the number of (spatial scalability) layers. Therefore, in this example, the value of POC increases by 2, while the value of AUC increases by 1.

[0122] In the above embodiments, 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 POC value or the delta value of the POC between the current picture and the selected reference picture. In an 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 the temporal_id of the reference picture is greater than the value of the temporal_i of the current picture, the current picture may not use the reference picture for motion compensation or other prediction. If the value of the layer_id of the reference picture is greater than the value of the layer_id of the current picture, the current picture may not use the reference picture for motion compensation or other prediction.

[0123] In an embodiment, the use of motion vector scaling based on POC differences for temporal motion vector prediction can be disabled across multiple pictures within an access unit. Thus, even though each picture within an access unit may have a different POC value, the motion vectors are not scaled and used for temporal motion vector prediction within the access unit. This is because reference pictures with different POCs within the same AU are considered to have the same temporal instance. Therefore, in this embodiment, the motion vector scaling function may return 1 when the reference picture belongs to the AU associated with the current picture.

[0124] In an embodiment, when the spatial resolution of the reference picture is different from the spatial resolution of the current picture, the use of motion vector scaling based on POC difference for temporal motion vector prediction between multiple pictures can be optionally disabled. When motion vector scaling is allowed, the motion vector is scaled based on the POC difference and the ratio of the spatial resolution between the current picture and the reference picture.

[0125] In an embodiment, for temporal motion vector prediction, especially when poc_cycle_au has a non-uniform value (e.g., when vps_contant_poc_cycle_per_au == 0), the motion vector may be scaled based on the AUC difference instead of the POC difference. Otherwise (e.g., when vps_contant_poc_cycle_per_au == 1), the motion vector scaling based on the AUC difference may be the same as the motion vector scaling based on the POC difference.

[0126] In an embodiment, when the motion vector is scaled based on the AUC difference, the reference motion vector in the same AU (having the same AUC value) as the current picture is not scaled based on the AUC difference, but is used for motion vector prediction without scaling or is scaled based on the ratio of the spatial resolutions between the current picture and the reference picture for motion vector prediction.

[0127] In embodiments, the AUC value can be used to identify AU boundaries and for use in hypothetical reference decoder (HRD) operations, which require input and output timing with AU granularity. In embodiments, a decoded picture with the highest layer in an AU can be output for display. The AUC value and layer_id value can be used to identify the output picture.

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

[0129] In an embodiment, a sub-picture may be encoded using a similar encoding method as used for an already encoded picture. A sub-picture may be encoded independently or may be encoded based on another sub-picture or an already encoded picture. A sub-picture may or may not have any parsing dependencies on another sub-picture or an already encoded picture.

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

[0131] In an embodiment, a sub-picture with (W, H) may be encoded and included in the encoded bitstream corresponding to layer 0, where W indicates the width of the sub-picture and H indicates the height of the sub-picture. A sub-picture upsampled (or downsampled) from a sub-picture with the original spatial resolution (with (W*S w,k ,H*S h,k )) can be encoded and included in the coded bitstream corresponding to layer k, where S w,k 、S h,k Indicates the resampling ratio in horizontal and vertical directions. If S w,k 、S h,k If the value of is greater than 1, then the resampling can be upsampling. However, if S w,k 、S h,k If the value of is less than 1, the resampling can be downsampling.

[0132] In an embodiment, the visual quality of a coded sub-picture in one layer may be different from the visual quality of a coded sub-picture in another layer in the same sub-picture or in a different sub-picture. For example, a sub-picture i in layer n may be quantized with quantization parameter Q i,n For encoding, the sub-image j in layer m can be quantized with the parameter Q j,m to encode.

[0133] In an embodiment, a coded sub-picture in one layer may be independently decodable without any parsing or decoding dependency on a coded sub-picture in another layer of the same local region. A sub-picture layer that can be independently decoded without reference to another sub-picture layer of the same local region may be an independent sub-picture layer. A coded sub-picture in an independent sub-picture layer may or may not have a decoding or parsing dependency on a previously coded sub-picture in the same sub-picture layer, but may not have any dependency on a coded picture in another sub-picture layer.

[0134] In an embodiment, a coded sub-picture in one layer may be dependently decodable, having any parsing or decoding dependency on a coded sub-picture in another layer of the same local region. A sub-picture layer that can be dependently decodable while referencing another sub-picture layer of the same local region may be a dependent sub-picture layer. A coded sub-picture in a dependent sub-picture may reference a coded sub-picture belonging to the same sub-picture, a previously coded sub-picture in the same sub-picture layer, or both reference sub-pictures.

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

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

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

[0138] In an embodiment, a picture may include one or more foreground sub-pictures with or without background sub-pictures. Each coded sub-picture in a (base or non-base) sub-picture layer may be referenced by one or more non-base layer sub-pictures belonging to the same sub-picture and one or more non-base layer sub-pictures not belonging to the same sub-picture.

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

[0140] In an embodiment, a coded video sequence (CVS) may be a set of coded pictures. A CVS may include one or more coded sub-picture sequences (CSPS), where a CSPS may be a set of coded sub-pictures covering the same local area of ​​a picture. A CSPS may have the same or different temporal resolution as the coded video sequence.

[0141] In an embodiment, the CSPS may be encoded and included in one or more layers. The CSPS may include one or more CSPS layers. Decoding the one or more CSPS layers corresponding to the CSPS may reconstruct a sub-picture sequence corresponding to the same local area.

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

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

[0144] In an embodiment, a sub-picture sequence with a frame rate F may be encoded and included in the coded bitstream corresponding to layer 0, while the sub-picture sequence with a frame rate F*S in the original sub-picture sequence may be encoded and included in the coded bitstream corresponding to layer 0. t,k A temporally upsampled (or downsampled) sub-picture sequence of S can be encoded and included in the coded bitstream corresponding to layer k, where S t,k Indicates the temporal sampling rate of layer k. If S t,k The value of is greater than 1, then the temporal resampling process can be a frame rate up conversion. However, if S t,k If the value of is less than 1, the temporal resampling process may be a frame rate down conversion.

[0145] In an embodiment, when a sub-picture having CSPS layer a is referenced by a sub-picture having 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 as a reference. The resampling process may use upsampling filtering or downsampling filtering.

[0146] Figure 10 An example video stream is shown that includes a background video CSPS with layer_id equal to 0 and multiple foreground CSPS layers. Although a coded sub-picture may include one or more CSPS layers, a background area that does not belong to any foreground CSPS layer may include a base layer. A base layer may contain background and foreground areas, while an enhanced CSPS layer may contain foreground areas. In the same area, an enhanced CSPS layer may have better visual quality than the base layer. The enhanced CSPS layer may reference motion vectors of reconstructed pixels and the base layer corresponding to the same area.

[0147] In an embodiment, in a video file, the video bitstream corresponding to the base layer is contained in a track, while the CSPS layer corresponding to each subpicture is contained in a separate track.

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

[0149] In an embodiment, each CSPS layer of each subpicture is stored in a separate track. Each track may or may not have any parsing or decoding dependencies on one or more other tracks.

[0150] In an embodiment, each track may contain a bitstream corresponding to layers i to j of the CSPS layers of all or a subset of the subpictures, where 0 < i = < j = < k, and k is the highest layer of the CSPS.

[0151] In an embodiment, a picture includes one or more associated media data, and these associated media data include depth maps, alpha (α) maps, 3D geometric data, occupancy maps, etc. Such associated timed media data can be divided into one or more data substreams, and each data substream corresponds to a subpicture.

[0152] Figure 11 An example of a video conference based on a multi-layer subpicture method is shown. In a video stream, there is one base layer video bitstream corresponding to a background picture and one or more enhancement layer video bitstreams corresponding to foreground subpictures. Each enhancement layer video bitstream may correspond to a CSPS layer. On a display, the picture corresponding to the base layer is displayed by default. It includes picture-in-picture (PIP) of one or more users. When a specific user is selected through the controls of a client, the enhanced CSPS layer corresponding to the selected user can be decoded and displayed with enhanced quality or spatial resolution. Figure 13 A schematic diagram of this operation is shown.

[0153] Figure 12 A block diagram showing an example illustrating the above process is shown. For example, in operation S1210, a video bitstream with multiple layers can be decoded. In operation S1220, a background region and one or more foreground subpictures can be identified. At operation S1230, it can be determined whether a specific subpicture region, such as one of the foreground subpictures, is selected. If a specific subpicture region is selected (yes at operation S1240), the enhanced subpicture can be decoded and displayed. If a specific subpicture region is not selected (no at operation S1240), the background region can be decoded and displayed.

[0154] In an embodiment, a network middlebox (e.g., a router) can select a subset of layers to send to a user based on its bandwidth. Image / sub-image organization can be used for bandwidth adaptation. For example, if a user has limited bandwidth, the router can strip layers or select sub-images based on their importance or based on the settings used. This can be done dynamically to adapt to bandwidth.

[0155] Figure 13 An embodiment involving a use case of 360 video is shown. When a spherical 360 picture (e.g., picture 1310) is projected onto a flat picture, the projected 360 picture can be divided into multiple sub-pictures as a base layer. For example, the multiple sub-pictures can include a back sub-picture, a top sub-picture, a right sub-picture, a left sub-picture, a front sub-picture, and a bottom sub-picture. An enhancement layer for a specific sub-picture (e.g., a front sub-picture) can be encoded and sent to the client. The decoder is capable of decoding the base layer including all sub-pictures and the enhancement layer of the selected sub-picture. When the current viewport is the same as the selected sub-picture, the displayed picture may have a higher quality than the decoded sub-picture with the enhancement layer. Otherwise, the decoded picture with the base layer may be displayed at a lower quality.

[0156] In an embodiment, any layout information used for display may be present in the file as supplementary information (e.g., SEI messages or metadata). One or more decoded sub-pictures may be repositioned and displayed based on the signaled layout information. The layout information may be signaled by the streaming server or broadcast device, or may be regenerated by a network entity or cloud server, or may be determined by a user's customized settings.

[0157] In an embodiment, when the input image is divided into one or more (rectangular) sub-regions, each sub-region can be encoded as an independent layer. Each independent layer corresponding to a local region can have a unique layer_id value. For each independent layer, sub-image size and position information can be signaled, for example, image size (width, height), upper left corner offset information (x_offset, y_offset). Figure 14 An example of a layout of divided sub-pictures, their sub-picture size and position information, and their corresponding picture prediction structure is shown. The layout information, including one or more sub-picture sizes and one or more sub-picture positions, can be signaled in a high-level syntax structure (e.g., one or more parameter sets, a slice header or a tile group header, or an SEI message).

[0158] In an embodiment, each sub-picture corresponding to an independent layer may have a unique POC value within an AU. When indicating a reference picture in a picture stored in a DPB by using a syntax element in an RPS or RPL structure, the POC value of each sub-picture corresponding to a layer may be used.

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

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

[0161] In an embodiment, Figure 15 Shown Figure 14 When the input picture is divided into multiple (for example, four) sub-regions, each local region can be encoded in one or more layers. In this case, the number of independent layers can be equal to the number of sub-regions, and one or more layers can correspond to the sub-region. Therefore, each sub-region can be encoded in one or more independent layers and zero or more dependent layers.

[0162] In an embodiment, Figure 15 In

[15] , the input picture can be divided into four sub-regions. As an example, the upper right sub-region can be encoded into two layers, namely layer 1 and layer 4, while the lower right sub-region can be encoded into two layers, namely layer 3 and layer 5. In this case, layer 4 can refer to layer 1 for motion compensation prediction, while layer 5 can refer to layer 3 for motion compensation.

[0163] In an embodiment, in-loop filtering (e.g. deblocking filtering, adaptive in-loop filtering, shaper, bilateral filtering or any deep learning based filtering) may be (optionally) disabled across layer boundaries.

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

[0165] In an embodiment, boundary filling or in-loop filtering at sub-picture boundaries for motion compensated prediction may be optionally processed. A flag may be signaled in a high-level syntax structure (e.g., one or more parameter sets (VPS, SPS, PPS, or APS), a slice header or a tile group header, or an SEI message) to indicate whether boundary filling is processed.

[0166] In an embodiment, layout information of one or more sub-regions (or one or more sub-pictures) may be signaled in a VPS or an SPS. Figure 16A shows an example of syntax elements in a VPS, Figure 16BAn example of a syntax element in an SPS is shown. In this example, vps_sub_picture_dividing_flag is signaled in the VPS. This flag may indicate whether one or more input pictures are divided into multiple sub-regions. When the value of vps_sub_picture_dividing_flag is equal to 0, one or more input pictures in one or more coded video sequences 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), which is signaled in the SPS. When the value of vps_sub_picture_dividing_flag is equal to 1, the one or more input pictures 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 one or more input pictures, respectively.

[0167] 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 for synthesis and display.

[0168] 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 the SPS, corresponding to one or more specific layers. 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 specific layer. Furthermore, the position of the upper left corner of the sub-region (pic_offset_x, pic_offset_y) may be signaled in the SPS.

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

[0170] In an embodiment, layout information (size and position) of all or a subset of sub-regions of one or more input pictures, as well as dependency information between layers may be signaled in a parameter set or SEI message. Figure 17 Examples of syntax elements are shown for indicating information about the layout of sub-regions, dependencies between layers, and relationships between sub-regions and one or more layers. In this example, the syntax element num_sub_region indicates the number of (rectangular) sub-regions 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 can be equal to or greater than the value of num_sub_region. When any sub-region is coded in a single layer, the value of num_layers can be equal to the value of num_sub_region. When one or more sub-regions are coded in multiple layers, the value of num_layers can be greater than the value of num_sub_region. The syntax element direct_dependency_flag[i][j] indicates the dependency from the jth layer to the ith layer. num_layers_for_region[i] indicates the number of layers associated with the i-th sub-region. sub_region_layer_id[i][j] indicates the layer_id of the jth layer associated with the i-th sub-region. sub_region_offset_x[i] and sub_region_offset_y[i] indicate the horizontal and vertical positions of the upper left corner of the i-th sub-region, respectively. sub_region_width[i] and sub_region_height[i] indicate the width and height of the i-th sub-region, respectively.

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

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

[0173] In an embodiment, one or more syntax elements may be signaled in a high-level syntax structure (e.g., VPS, DPS, SPS, PPS, APS, or SEI message) that specify profile level information for each output layer set. Figure 18 In the VPS, a syntax element num_profile_tile_level may be signaled, indicating the number of profile level information for each OLS in the coded video sequence that references the VPS. For each output layer set, as many sets of syntax elements for profile level information as the number of output layers may be signaled, or an index indicating a specific profile level information entry in the profile level information.

[0174] In an embodiment, profile_tier_level_idx[i][j] specifies the index of the profile_tier_level() syntax structure that applies to the j-th tier of the ith OLS in the list of profile_tier_level() syntax structures in the VPS.

[0175] In the examples, reference Figure 19 , when 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.

[0176] In the examples, reference Figure 19 , the syntax element vps_output_layers_mode[i] indicating the mode of output layer signaling for the i-th output layer set may be present in the VPS.

[0177] In an embodiment, vps_output_layers_mode[i] equal to 0 specifies that only the top layer is output using the i-th output layer set. vps_output_layer_mode[i] equal to 1 specifies that all layers are output using the i-th output layer set. vps_output_layer_mode[i] equal to 2 specifies that the layers output are those for which vps_output_layer_flag[i][j] is equal to 1 and which use the i-th output layer set. More values ​​are reserved.

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

[0179] In the examples, reference Figure 19 For the i-th output layer set, the flag vps_ptl_signal_flag[i] may be present. Depending on the value of vps_ptl_signal_flag[i], the profile level information of the i-th output layer set may be signaled or not.

[0180] In the examples, reference Figure 20 , the number of sub-pictures in the current CVS, max_subpics_minus1, can be signaled in a high-level syntax structure (e.g., VPS, DPS, SPS, PPS, APS, or SEI message).

[0181] In the examples, reference Figure 20 , when the number of sub-pictures is greater than 1 (max_subpics_minus1>0), the sub-picture identifier sub_pic_id[i] of the i-th sub-picture may be signaled.

[0182] In an embodiment, one or more syntax elements may be signaled in the VPS indicating the sub-picture identifier of each layer belonging to each output layer set. Figure 20 , sub_pic_id_layer[i][j][k] indicates the kth sub-picture present in the jth layer of the i-th output layer set. Using this information, the decoder can identify which sub-picture is decoded and output for each layer of a specific output layer set.

[0183] In an embodiment, a picture header (PH) is a syntax structure containing syntax elements that apply to all slices of a coded picture. A picture unit (PU) is 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 contain a picture header (PH) and one or more VCL NAL units that make up the coded picture.

[0184] In an embodiment, the SPS (RBSP) may be made available to the decoding process before being referenced, included in at least one AU with TemporalId equal to 0, or provided externally.

[0185] In an embodiment, the SPS (RBSP) is available for decoding before being referenced, included in at least one AU with TemporalId equal to 0 in the CVS, or provided externally, and the CVS contains one or more PPSs that reference the SPS.

[0186] In an embodiment, the SPS (RBSP) is made available to the decoding process before being referenced by one or more PPSs, is included in at least one PU, or is provided externally, where the nuh_layer_id of the at least one PU is equal to the lowest nuh_layer_id value of the PPS NAL units referencing the SPS NAL units in the CVS, where the CVS contains one or more PPSs referencing the SPS.

[0187] In an embodiment, the SPS (RBSP) is made available to the decoding process before being referenced by one or more PPSs, included in at least one PU, or provided by external means, where the at least one PU has TemporalId equal to 0 and nuh_layer_id equal to the lowest nuh_layer_id value of the PPS NAL units that reference the SPS NAL units.

[0188] In an embodiment, the SPS (RBSP) is made available to the decoding process before being referenced by one or more PPSs, is included in at least one PU, or is provided by external means, where the at least one PU has a TemporalId equal to 0 and a nuh_layer_id equal to the lowest nuh_layer_id value of the PPS NAL units that reference the SPS NAL units in the CVS, where the CVS contains one or more PPSs that reference the SPS.

[0189] In the same or another embodiment, pps_seq_parameter_set_id may specify the value of sps_seq_parameter_set_id for the referenced SPS. The value of pps_seq_parameter_set_id may be the same in all PPSs referenced by coded pictures in the CLVS.

[0190] In the same or another embodiment, all SPSNAL units in a CVS with a particular sps_seq_parameter_set_id value may have the same content.

[0191] In the same or another embodiment, SPS NAL units may share the same value space for sps_seq_parameter_set_id regardless of the nuh_layer_id value.

[0192] In the same or another embodiment, the nuh_layer_id value of the SPS NAL unit may be equal to the lowest nuh_layer_id value of the PPS NAL units that reference the SPS NAL unit.

[0193] In an embodiment, when an SPS with nuh_layer_id equal to m is referenced by one or more PPSs with nuh_layer_id equal to n, the layer with nuh_layer_id equal to m may be the same as the layer with nuh_layer_id equal to n or the (direct or indirect) reference layer of the layer with nuh_layer_id equal to m.

[0194] In an embodiment, the PPS (RBSP) is available for use in the decoding process before being referenced, included in at least one AU, or provided externally, the TemporalId of the at least one AU being equal to the TemporalId of the PPS NAL unit.

[0195] In an embodiment, the PPS (RBSP) is available to the decoding process before being referenced, included in at least one AU, or provided externally, and the TemporalId of the at least one AU is equal to the TemporalId of the PPS NAL unit in the CVS, and the CVS contains one or more PHs (or coded slice NAL units) that reference the PPS.

[0196] In an embodiment, the PPS (RBSP) is made available to the decoding process before being referenced by one or more PHs (or coded slice NAL units), included in at least one PU, or provided externally, where the nuh_layer_id of the at least one PU is equal to the lowest nuh_layer_id value of the coded slice NAL units that reference the PPS NAL unit in the CVS, where the CVS contains one or more PHs (or coded slice NAL units) that reference the PPS.

[0197] In an embodiment, the PPS (RBSP) is made available to the decoding process before being referenced by one or more PHs (or coded slice NAL units), included in at least one PU, or provided externally, with the TemporalId of the at least one PU being equal to the TemporalId of the PPS NAL unit and the nuh_layer_id being equal to the lowest nuh_layer_id value of the coded slice NAL units that reference the PPS NAL unit in the CVS, the CVS containing one or more PHs (or coded slice NAL units) that reference the PPS.

[0198] In the same or another embodiment, ph_pic_parameter_set_id in the PH may specify the value of pps_pic_parameter_set_id for the PPS referenced in use. The value of pps_seq_parameter_set_id may be the same in all PPSs referenced by coded pictures in the CLVS.

[0199] In the same or another embodiment, all PPSNAL units in a PU with a particular pps_pic_parameter_set_id value may have the same content.

[0200] In the same or another embodiment, PPS NAL units may share the same value space for pps_pic_parameter_set_id regardless of the nuh_layer_id value.

[0201] In the same or another embodiment, the nuh_layer_id value of a PPS NAL unit may be equal to the lowest nuh_layer_id value of the coded slice NAL units that reference the PPS NAL unit.

[0202] In an embodiment, when a PPS 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 layer with nuh_layer_id equal to n or the (direct or indirect) reference layer of the layer with nuh_layer_id equal to m.

[0203] In an embodiment, the PPS (RBSP) is available for use in the decoding process before being referenced, included in at least one AU, or provided externally, the TemporalId of the at least one AU being equal to the TemporalId of the PPS NAL unit.

[0204] In an embodiment, the PPS (RBSP) is available to the decoding process before being referenced, included in at least one AU, or provided externally, and the TemporalId of the at least one AU is equal to the TemporalId of the PPS NAL unit in the CVS, and the CVS contains one or more PHs (or coded slice NAL units) that reference the PPS.

[0205] In an embodiment, the PPS (RBSP) is made available to the decoding process before being referenced by one or more PHs (or coded slice NAL units), included in at least one PU, or provided externally, where the nuh_layer_id of the at least one PU is equal to the lowest nuh_layer_id value of the coded slice NAL units that reference the PPS NAL unit in the CVS, where the CVS contains one or more PHs (or coded slice NAL units) that reference the PPS.

[0206] In an embodiment, the PPS (RBSP) is made available to the decoding process before being referenced by one or more PHs (or coded slice NAL units), included in at least one PU, or provided externally, with the TemporalId of the at least one PU being equal to the TemporalId of the PPS NAL unit and the nuh_layer_id being equal to the lowest nuh_layer_id value of the coded slice NAL units that reference the PPS NAL unit in the CVS, the CVS containing one or more PHs (or coded slice NAL units) that reference the PPS.

[0207] In the same or another embodiment, ph_pic_parameter_set_id in the PH may specify the value of pps_pic_parameter_set_id for the PPS referenced in use. The value of pps_seq_parameter_set_id may be the same in all PPSs referenced by coded pictures in the CLVS.

[0208] In the same or another embodiment, all PPSNAL units in a PU with a particular pps_pic_parameter_set_id value may have the same content.

[0209] In the same or another embodiment, PPS NAL units may share the same value space for pps_pic_parameter_set_id regardless of the nuh_layer_id value.

[0210] In the same or another embodiment, the nuh_layer_id value of a PPS NAL unit may be equal to the lowest nuh_layer_id value of the coded slice NAL units that reference the PPS NAL unit.

[0211] In an embodiment, when a PPS 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 layer with nuh_layer_id equal to n or the (direct or indirect) reference layer of the layer with nuh_layer_id equal to m.

[0212] In an embodiment, Figure 21 As shown in FIG, pps_subpic_id[i] in the picture parameter set may specify the sub-picture ID of the i-th sub-picture. The length of the pps_subpic_id[i] syntax element is pps_subpic_id_len_minus1+1 bits.

[0213] For each value of i in the range from 0 to sps_num_subpics_minus1 (inclusive), the variable SubpicIdVal[i] can be derived as follows:

[0214]

[0215] In the same or another embodiment, for any two different values ​​of i and j in the range of 0 to sps_num_subpics_minus1, inclusive, SubpicIdVal[i] may not be equal to SubpicIdVal[j].

[0216] In the same or another embodiment, when the current picture is not the first picture of the CLVS, for each value of i in the range of 0 to sps_num_subpics_minus1 (inclusive), if the value of SubpicIdVal[i] is not equal to the value of SubpicIdVal[i] of the previous picture in decoding order in the same layer, the nal_unit_type of all coded slice NAL units of the sub-picture (with sub-picture index i) in the current picture may be equal to a specific value in the range of IDR_W_RADL to CRA_NUT (inclusive).

[0217] In the same or another embodiment, when the current picture is not the first picture of the CLVS, for each value of i in the range of 0 to sps_num_subpics_minus1 (inclusive), if the value of SubpicIdVal[i] is not equal to the value of SubpicIdVal[i] of the previous picture in decoding order in the same layer, sps_independent_subpics_flag may be equal to 1.

[0218] In the same or another embodiment, when the current picture is not the first picture of the CLVS, for each value of i in the range of 0 to sps_num_subpics_minus1 (inclusive), if the value of SubpicIdVal[i] is not equal to the value of SubpicIdVal[i] of the previous picture in decoding order in the same layer, subpic_treated_as_pic_flag[i] and loop_filter_across_subpic_enabled_flag[i] may be equal to 1.

[0219] In the same or another embodiment, when the current picture is not the first picture of the CLVS, for each value of i in the range of 0 to sps_num_subpics_minus1 (inclusive), if the value of SubpicIdVal[i] is not equal to the value of SubpicIdVal[i] of the previous picture in decoding order in the same layer, sps_independent_subpics_flag can be equal to 1 or subpic_treated_as_pic_flag[i] and loop_filter_across_subpic_enabled_flag[i] can be equal to 1.

[0220] In the same or another embodiment, when a sub-picture is coded independently without reference to another sub-picture, the value of the sub-picture identifier of a region may change in the coded video sequence.

[0221] In an embodiment, a picture may be partitioned into one or more sub-pictures. Each sub-picture may be further partitioned into one or more slices. An efficient signaling method is required to signal sub-picture partition information.

[0222] Samples can be processed in units of CTBs. The array size of each luma CTB is CtbSizeY (in samples) in width and height. The width and height of the array of each chroma CTB are CtbWidthC and CtbHeightC (in samples), respectively. Each CTB is assigned a partition signaling to identify the block size used for intra or inter prediction and for transform coding. Partitioning is a recursive quadtree partitioning. The root of the quadtree is associated with the CTB. The quadtree is partitioned until a leaf is reached, which is called a quadtree leaf. When the component width is not an integer of the CTB size, the CTB at the right component boundary is incomplete. When the component height is not an integer multiple of the CTB size, the CTB at the bottom component boundary is incomplete.

[0223] The width and height information of each sub-picture can be signaled in the SPS in units of CtbSizeY. Figure 22 In

[15] , subpic_width_minus1[i] plus 1 specifies the width of the i-th sub-picture in units of CtbSizeY. The length of this syntax element is Ceil(Log2((pic_width_max_in_luma_samples+CtbSizeY-1)>>CtbLog2SizeY)) bits. When not present, the value of subpic_width_minus1[i] is inferred to be equal to ((pic_width_max_in_luma_samples+CtbSizeY-1)>>CtbLog2SizeY)-subpic_ctu_top_left_x[i]-1. subpic_height_minus1[i] plus 1 specifies the height of the i-th sub-picture in units of CtbSizeY. The length of this syntax element is Ceil(Log2((pic_height_max_in_luma_samples+CtbSizeY-1)>>CtbLog2SizeY)) bits. When not present, the value of subpic_height_minus1[i] is inferred to be equal to ((pic_height_max_in_luma_samples + CtbSizeY - 1) >> CtbLog2SizeY) - subpic_ctu_top_left_y[i] - 1.

[0224] When the image width is greater than or equal to CtbSizeY, the width of each sub-image can be greater than or equal to CtbSizeY. When the image height is greater than or equal to CtbSizeY, the height of each sub-image can be greater than or equal to CtbSizeY.

[0225] If the picture width is not greater than CtbSizeY and the picture height is not greater than CtbSizeY, the picture may not be divided into more than one sub-picture. In this case, the number of sub-pictures may be equal to 1.

[0226] When pic_width_max_in_luma_samples is not greater than CtbSizeY and pic_height_max_in_luma_samples is not greater than CtbSizeY, the value of subpic_info_present_flag may be equal to 0. When subpic_info_present_flag is equal to 0, there is no explicit signaling for sub-picture partition information and the number of sub-pictures in the picture is equal to 1.

[0227] In the same or another embodiment, sps_subpic_id_len_minus1 plus 1 specifies the number of bits used to represent the syntax element sps_subpic_id[i], the syntax element pps_subpic_id[i] (when present), and the syntax element slice_subpic_id (when present). The value of sps_subpic_id_len_minus1 can be in the range of 0 to 15 (inclusive). The value of 1<<(sps_subpic_id_len_minus1) can be greater than or equal to sps_num_subpics_minus1+1.

[0228] In the same or another embodiment, when the number of sub-pictures is equal to 1, subpic_info_present_flag may be equal to 0 and the sub-picture partition information may not be explicitly signaled, since in this case the sub-picture width and height information are equal to the width and height information of the picture and the upper left position of the sub-picture is equal to the upper left position of the picture.

[0229] For example, subpic_ctu_top_left_x[i] specifies the horizontal position of the top left CTU of the i-th sub-picture in CtbSizeY. The length of this syntax element is Ceil(Log2((pic_width_max_in_luma_samples+CtbSizeY-1)>>CtbLog2SizeY)) bits. When not present, the value of subpic_ctu_top_left_x[i] is inferred to be equal to 0. subpic_ctu_top_left_y[i] specifies the vertical position of the top left CTU of the i-th sub-picture in CtbSizeY. The length of this syntax element is Ceil(Log2((pic_height_max_in_luma_samples+CtbSizeY-1)>>CtbLog2SizeY)) bits. When not present, the value of subpic_ctu_top_left_y[i] is inferred to be equal to 0. subpic_width_minus1[i] plus 1 specifies the width of the i-th sub-picture in units of CtbSizeY. The length of this syntax element is Ceil(Log2((pic_width_max_in_luma_samples+CtbSizeY-1)>>CtbLog2SizeY)) bits. When not present, the value of subpic_width_minus1[i] is inferred to be equal to ((pic_width_max_in_luma_samples+CtbSizeY-1)>>CtbLog2SizeY)-subpic_ctu_top_left_x[i]-1. subpic_height_minus1[i] plus 1 specifies the height of the i-th sub-picture in units of CtbSizeY. The length of this syntax element is Ceil(Log2((pic_height_max_in_luma_samples+CtbSizeY-1)>>CtbLog2SizeY)) bits. When not present, the value of subpic_height_minus1[i] is inferred to be equal to ((pic_height_max_in_luma_samples + CtbSizeY - 1) >> CtbLog2SizeY) - subpic_ctu_top_left_y[i] - 1.

[0230] In the same or another embodiment, when the number of sub-pictures is greater than 1, subpic_info_present_flag may be equal to 1, and the sub-picture partition information may be explicitly signaled in the parameter set, such as Figure 22 shown.

[0231] For example, in Figure 22 In

[15] , sps_num_subpics_minus2 plus 2 specifies the number of subpictures in each picture in the CLVS. The value of sps_num_subpics_minus2 can be in the range of 0 to Ceil(pic_width_max_in_luma_samples ÷ CtbSizeY)*Ceil(pic_height_max_in_luma_samples ÷ CtbSizeY)-2, inclusive. When not present, the value of sps_num_subpics_minus2 is inferred to be equal to 0.

[0232] In the same embodiment, for i in the range of 0 to sps_num_subpics_minus1 (inclusive), the lists SubpicWidthInTiles[i] and SubpicHeightInTiles[i] specify the width and height of the i-th sub-picture in the tile column and row, respectively; for i in the range of 0 to sps_num_subpics_minus1 (inclusive), the list subpicHeightLessThanOneTileFlag[i] specifies whether the height of the i-th sub-picture is less than one tile row. These lists can be derived as follows:

[0233]

[0234]

[0235] When rect_slice_flag is equal to 1, for i in the range of 0 to num_slices_in_pic_minus1 (inclusive), the list NumCtusInSlice[i] specifies the number of CTUs in the i-th slice; for i in the range of 0 to num_slices_in_pic_minus1 (inclusive), the list SliceTopLeftTileIdx[i] specifies the tile index of the tile containing the first CTU in the slice; for i in the range of 0 to num_slices_in_pic_minus1 (inclusive), and j in the range of 0 to NumCtusInSlice[i]-1 (inclusive), the matrix CtbAddrInSlice[i][j] specifies the picture raster scan address of the j-th CTB in the i-th slice, and the variable NumSlicesInTile[i] specifies the number of slices in the tile containing the i-th slice. These lists, matrices, and variables can be derived as follows:

[0236]

[0237]

[0238]

[0239] Figure 23 is a flow chart of an example process 2300 for decoding an encoded video bitstream. In some embodiments, Figure 23 One or more process blocks of may be performed by decoder 210. In some implementations, Figure 23 One or more process blocks of may be performed by another device or group of devices, such as encoder 203, separate from or including decoder 210.

[0240] like Figure 23 As shown, the process 2300 may include obtaining a flag indicating whether to explicitly signal sub-picture partition information when the number of at least one sub-picture of the current picture is greater than 1 (block 2310). In an embodiment, the first flag may correspond to subpic_info_present_flag.

[0241] like Figure 23 As further shown, process 2300 may include obtaining the sub-picture partition information when the flag indicates that the sub-picture partition information is explicitly signaled (block 2320).

[0242] like Figure 23 As further shown, process 2300 may include decoding the current picture based on the sub-picture partition information (block 2330).

[0243] In an embodiment, the flag and the sub-picture partition information may be signaled in a sequence parameter set (SPS).

[0244] In an embodiment, the number of the at least one sub-picture may be signaled in the SPS.

[0245] In an embodiment, when the picture size of the current picture is smaller than the size of the coding tree unit of the luma component of the current picture, the number of the at least one sub-picture is equal to 1. The size of the coding tree unit of the luma component of the current picture may correspond to CtbSizeY.

[0246] In an embodiment, when the number of the at least one sub-picture is equal to 1, the flag may indicate that the sub-picture partition information is not explicitly signaled.

[0247] In an embodiment, the sub-picture partition information may indicate the size of a sub-picture in the at least one sub-picture.

[0248] In an embodiment, the size of the sub-picture may include the height and width of the sub-picture.

[0249] In an embodiment, the size of the sub-picture may be indicated in the sub-picture partition information in units of the size of the coding tree unit of the luma component of the current picture. The size of the coding tree unit of the luma component of the current picture may correspond to CtbSizeY.

[0250] In an embodiment, the size of another sub-picture is determined based on the size of the sub-picture indicated by the sub-picture partition information.

[0251] Although Figure 23 Example blocks of process 2300 are shown, but in some implementations, process 2300 may include more Figure 23 More blocks, fewer blocks, different blocks, or differently arranged blocks may be used as depicted in the process 2300. Additionally or alternatively, two or more blocks of process 2300 may be executed in parallel.

[0252] In addition, the proposed method can 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 in a non-transitory computer-readable medium to perform one or more of the proposed methods.

[0253] The above techniques can be implemented as computer software through computer-readable instructions and physically stored in one or more computer-readable media. For example, Figure 24 A computer system 2400 is shown that is suitable for implementing some embodiments of the disclosed subject matter.

[0254] The computer software may be encoded in any suitable machine code or computer language, and may be assembled, compiled, linked, or other mechanisms to create code comprising instructions, which may be directly executed by one or more computer central processing units (CPUs), graphics processing units (GPUs), or the like, or executed through decoding, microcode, or the like.

[0255] The instructions may be executed on various types of computers or components thereof, including, for example, personal computers, tablets, servers, smartphones, gaming devices, IoT devices, and the like.

[0256] Figure 24 The components shown for computer system 2400 are exemplary in nature and are not intended to limit the scope of use or functionality of computer software implementing embodiments of the present disclosure. Nor should the configuration of components be interpreted as having any dependency or requirement on any one or combination of components shown in the exemplary embodiment of computer system 2400.

[0257] Computer system 2400 may include certain human interface input devices. Such human interface input devices may respond to input from one or more human users via tactile input (e.g., keyboard input, swipe gestures, data glove movements), audio input (e.g., voice, applause), visual input (e.g., gestures), or olfactory input (not shown). The human interface devices may also be used to capture media that is not necessarily directly related to conscious human input, such as audio (e.g., speech, music, ambient sounds), images (e.g., scanned images, photographic images obtained from a still camera), and video (e.g., two-dimensional video, three-dimensional video including stereoscopic video).

[0258] The human-machine interface input devices may include one or more of the following (only one of which is depicted): keyboard 2401 , mouse 2402 , touchpad 2403 , touch screen 2410 and associated graphics adapter 2450 , data gloves, joystick 2405 , microphone 2406 , scanner 2407 , camera 2408 .

[0259] Computer system 2400 may also include certain human-computer interface output devices. Such human-computer interface output devices can stimulate one or more of the human user's senses through, for example, tactile output, sound, light, and smell / taste. Such human-computer interface output devices may include tactile output devices (e.g., tactile feedback via touch screen 2410, data gloves, or joystick 2405, although tactile feedback devices that do not function as input devices may also be present), audio output devices (e.g., speakers 2409, headphones (not shown)), visual output devices (e.g., screens 2410 including cathode ray tube (CRT) screens, liquid crystal display (LCD) screens, plasma screens, and organic light emitting diode (OLED) screens, each with or without touch screen input capabilities, each with or without tactile feedback capabilities—some of which can output two-dimensional visual output or output in three or more dimensions through means such as stereoscopic image output; virtual reality glasses (not shown), holographic displays, and cigarette boxes (not shown)), and printers (not shown).

[0260] The computer system 2400 may also include human-accessible storage devices and their associated media, such as optical media including high-density read-only / rewritable optical disks (CD / DVD ROM / RW) 2420 with CD / DVD or similar media 2421, a thumb drive 2422, a removable hard drive or solid state drive 2423, traditional magnetic media such as tapes and floppy disks (not shown), dedicated ROM / ASIC / PLD-based devices such as security software dongles (not shown), and the like.

[0261] Those skilled in the art will also understand that the term "computer-readable media" used in connection with the presently disclosed subject matter does not include transmission media, carrier waves, or other transient signals.

[0262] The computer system 2400 may also include an interface to one or more communication networks (2455). For example, the network may be wireless, wired, or optical. The network may also be a local area network, a wide area network, a metropolitan area network, an in-vehicle network, an industrial network, a real-time network, a delay-tolerant network, and the like. Networks also include local area networks such as Ethernet, wireless local area networks, cellular networks (including global systems 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 television, satellite television, and terrestrial broadcast television), in-vehicle and industrial networks (including CANBus), and the like. Some networks typically require an external network interface adapter (2454) for connecting to some universal data port or peripheral bus (2449) (e.g., a universal serial bus (USB) port of the computer system 2400); other systems are typically integrated into the core of the computer system 2400 by connecting to a system bus as described below (e.g., an Ethernet interface integrated into a PC computer system or a cellular network interface integrated into a smartphone computer system). As an example, the network 2455 can be connected to the peripheral bus 2449 using the network interface 2454. By using any of these networks, the computer system 2400 can communicate with other entities. The communication can be one-way, for receiving only (e.g., wireless television), one-way, for sending only (e.g., a CAN bus to certain CAN bus devices), or two-way, such as to other computer systems via a local or wide area digital network. Each of the above-mentioned networks and network interfaces (2454) can use certain protocols and protocol stacks.

[0263] The aforementioned human-machine interface devices, human-accessible storage devices, and network interfaces may be connected to the core 2440 of the computer system 2400 .

[0264] Core 2440 may include one or more central processing units (CPUs) 2441, graphics processing units (GPUs) 2442, specialized programmable processing units in the form of field programmable gate arrays (FPGAs) 2443, hardware accelerators 2444 for specific tasks, and the like. These devices, as well as read-only memory (ROM) 2445, random access memory (RAM) 2446, and internal mass storage (e.g., an internal non-user-accessible hard drive, solid-state drive (SSD), etc.) 2447, may be connected via a system bus 2448. In some computer systems, system bus 2448 may be accessible in the form of one or more physical plugs to allow expansion with additional central processing units, graphics processing units, and the like. Peripheral devices may be attached directly to the core's system bus 2448 or connected via a peripheral bus 2449. Peripheral bus architectures include peripheral component interconnect (PCI), universal serial bus (USB), and the like.

[0265] The CPU 2441, GPU 2442, FPGA 2443, and accelerator 2444 can execute certain instructions, which, when combined, constitute the aforementioned computer code. This computer code can be stored in ROM 2445 or RAM 2446. Transient data can also be stored in RAM 2446, while permanent data can be stored, for example, in internal mass storage 2447. Fast storage and retrieval from any memory device can be achieved through the use of cache memory, which can be closely associated with one or more of the CPU 2441, GPU 2442, mass storage 2447, ROM 2445, RAM 2446, and the like.

[0266] The computer readable medium may have computer code thereon for performing various computer-implemented operations. The medium and computer code may be specially designed and constructed for the purposes of this disclosure, or may be medium and code well known and available to those skilled in the art of computer software.

[0267] As an embodiment and not limitation, a computer system having architecture 2400, in particular core 2440, can provide the function of executing software contained in one or more tangible computer-readable media as a processor (including CPU, GPU, FPGA, accelerator, etc.). Such computer-readable media can be a medium associated with the above-mentioned user-accessible mass storage, as well as a specific memory of the core 2440 having non-volatility, such as core internal mass storage 2447 or ROM 2445. The software implementing the various embodiments of the present application can be stored in such a device and executed by the core 2440. Depending on specific needs, the computer-readable medium may include one or more storage devices or chips. The software can enable the core 2440, in particular the processor therein (including CPU, GPU, FPGA, etc.) to perform a specific process or a specific part of a specific process described herein, including defining a data structure stored in RAM 2446 and modifying such a data structure according to a software-defined process. Additionally or alternatively, the computer system may provide functionality hardwired in logic or otherwise contained in circuitry (e.g., accelerator 2444) that may operate in place of or in conjunction with software to perform a particular process or a particular portion of a particular process described herein. Where appropriate, references to software may include logic and vice versa. Where appropriate, references to computer-readable media may include circuitry (e.g., an integrated circuit (IC)) storing the executing software, circuitry containing the executing logic, or both. The present disclosure includes any suitable combination of hardware and software.

[0268] Although this disclosure has described a number of exemplary embodiments, various modifications, permutations, and equivalent substitutions of the embodiments are within the scope of this disclosure. Therefore, it should be understood that those skilled in the art will be able to devise a variety of systems and methods that, although not explicitly shown or described herein, embody the principles of this disclosure and are therefore within the spirit and scope of this disclosure.

Claims

1. A method for decoding a coded video bit stream, characterized in that: The method comprises: When sub-picture information is signaled in a coded video bitstream, obtaining a first syntax element and a second syntax element from the coded video bitstream, the first element indicating a number of sub-pictures of a current picture, the second element indicating whether a sub-picture identifier mapping is signaled for the current picture; When the second syntax element indicates that the sub-picture identifier mapping is signaled for the current picture: Obtaining a third syntax element of a sub-picture of the current picture from a picture parameter set PPS of the coded video bitstream, wherein the third syntax element indicates a sub-picture identifier of the sub-picture of the current picture; deriving corresponding sub-picture identifier values ​​for sub-pictures of the current picture using the third syntax element, wherein for any two different sub-pictures of the sub-pictures of the current picture, the corresponding sub-picture identifier values ​​are not equal; and decoding the current picture based on the corresponding sub-picture identifier value; When the second syntax element indicates that the sub-picture identifier mapping is not signaled for the current picture, the current picture is decoded based on the first syntax element and the second syntax element without obtaining the third syntax element.

2. The method according to claim 1, characterized in that The first syntax element, the second syntax element and the third syntax element are signaled in a sequence parameter set SPS.

3. The method according to claim 2, characterized in that The number of sub-pictures is signaled in the SPS.

4. The method according to claim 1, characterized in that: Based on the fact that the picture size of the current picture is smaller than the size of the coding tree unit of the luminance component of the current picture, the number of sub-pictures is equal to 1.

5. The method according to claim 4, characterized in that Based on the number of sub-pictures being equal to 1, sub-picture partition information of the current picture is not explicitly signaled.

6. The method according to claim 1, characterized in that When the first syntax element indicates that the number of sub-pictures of the current picture is greater than 1, a size of at least one sub-picture of the sub-picture is obtained from the encoded video bitstream.

7. The method according to claim 6, characterized in that The size of at least one of the sub-pictures includes a height and a width of at least one of the sub-pictures.

8. The method according to claim 6, characterized in that The size of at least one of the sub-pictures is indicated in the encoded video bitstream in units of a size of a coding tree unit of a luma component of the current picture.

9. The method according to claim 6, characterized in that Based on the size of at least one of the sub-pictures, the size of another sub-picture is determined.

10. A video encoding method, characterized in that: The method comprises: Encoding the current picture based on the sub-picture information to generate a video bitstream; Setting a first syntax element and a second syntax element in the video bitstream, the first element indicating a number of sub-pictures of the current picture, the second element indicating whether a sub-picture identifier mapping is signaled for the current picture; When the second syntax element indicates that the sub-picture identifier mapping is signaled for the current picture: Setting a third syntax element of a sub-picture of the current picture in a picture parameter set PPS of the video bitstream, The third syntax element indicates a sub-picture identifier of a sub-picture of the current picture; and The third syntax element is used to derive corresponding sub-picture identifier values ​​for sub-pictures of the current picture, wherein for any two different sub-pictures in the sub-pictures of the current picture, the corresponding sub-picture identifier values ​​are not equal; When the second syntax element indicates that the sub-picture identifier mapping is not signaled for the current picture, the third syntax element does not need to be set.

11. A device for decoding a coded video bit stream, characterized in that: The device comprises: at least one memory configured to store program code; and At least one processor is configured to read the program code and operate according to instructions of the program code to execute the method according to any one of claims 1 to 9.

12. A video encoding device, characterized in that: The device comprises: at least one memory configured to store program code; and At least one processor is configured to read the program code and operate according to instructions of the program code to execute the encoding method of claim 10.

13. A non-volatile computer readable medium, characterized in that: Used to store instructions, the instructions include one or more instructions, when the one or more instructions are executed by one or more processors, the one or more processors are caused to execute the method according to any one of claims 1 to 10.

14. A method for processing a video bitstream, characterized in that: The video bit stream is generated according to the encoding method according to claim 10, or is decoded based on the decoding method according to any one of claims 1-9.