Method, apparatus and computer program for coding video data - Patents.com

By implementing flag-based adaptive resolution changes in video encoding and decoding, the method addresses inefficiencies in picture size adaptation, enhancing bandwidth and storage efficiency in video applications.

JP7551225B2Active Publication Date: 2024-09-17TENCENT AMERICA LLC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2021562365
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-11-03
Filing Date
2021-02-15
Publication Date
2024-09-17
Estimated Expiration
2041-02-15

AI Technical Summary

Technical Problem

Existing video coding and decoding technologies struggle with efficient adaptation of picture size changes, leading to inefficiencies in bandwidth and storage requirements, particularly in applications requiring variable picture sizes and resolutions.

Method used

The method involves checking flags to determine if a current picture is referenced by other pictures and being output, and decoding video data based on these flags, allowing for adaptive resolution changes (ARC) in video encoding and decoding systems.

Benefits of technology

This approach enables efficient adaptation of picture sizes and resolutions, reducing bandwidth and storage needs while maintaining video quality, suitable for applications like video conferencing and streaming.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007551225000004
    Figure 0007551225000004
  • Figure 0007551225000012
    Figure 0007551225000012
  • Figure 0007551225000017
    Figure 0007551225000017
Patent Text Reader

Abstract

A method, a computer program, and a computer system for coding video data are provided. Video data including a current picture and one or more other pictures is received. A first flag corresponding to whether the current picture is referenced by one or more other pictures in decoding order is checked. A second flag corresponding to whether the current picture is to be output is checked. The video data is decoded based on values ​​corresponding to the first flag and the second flag.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This application claims priority to U.S. Provisional Patent Application No. 63 / 003,112, filed March 31, 2020, and U.S. Patent Application No. 17 / 087,865, filed November 3, 2020, both of which are incorporated herein in their entireties.

[0002] The present disclosure relates generally to the field of data processing, and more particularly, to video encoding and decoding. [Background technology]

[0003] Video coding and decoding using inter-picture prediction with motion compensation has been known for decades. An uncompressed digital video may consist of a sequence of pictures, each with spatial dimensions of, for example, 1920x1080 luma samples and associated chroma samples. The sequence of pictures may have a fixed or variable picture rate (also informally called frame rate) of, for example, 60 pictures per second, i.e., 60 Hz. Uncompressed video has significant bitrate requirements. For example, a 1080p60 4:2:0 video (1920x1080 luma sample resolution at a frame rate of 60 Hz) with 8 bits per sample requires a bandwidth close to 1.5 Gbit / s. One hour of such video requires more than 600 GB of storage space.

[0004] One goal of video coding and decoding may be to reduce redundancy in the input video signal through compression. Compression may help reduce the aforementioned bandwidth or storage requirements, in some cases by more than one order of magnitude. Both lossless and lossy compression, as well as combinations thereof, may be used. Lossless compression refers to techniques that can reconstruct an exact replica of the original signal from the compressed original signal. With lossy compression, the reconstructed signal may not be identical to the original signal, but the distortion between the original and reconstructed signals is small enough that the reconstructed signal is useful for the intended application. For video, lossy compression is widely adopted. The amount of distortion that is tolerated varies by application. For example, a user of a particular consumer streaming application may tolerate higher distortion than a user of a television posting application. The achievable compression ratio may reflect that a higher tolerance / tolerable distortion results in a higher compression ratio.

[0005] Video encoders and decoders can utilize techniques in several broad categories, such as motion compensation, transform, quantization, and entropy coding, some of which are introduced below.

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

[0007] Changing the picture size of predicted pictures has become more mainstream in modern video coding. For example, VP9 allows for resampling of reference pictures and changing the resolution of the entire picture. Similarly, certain proposals made for VVC (including, for example, Hendry et al., "On adaptive resolution change (ARC) for VVC," Joint Video Team document JVET-M0135-v1, January 9-19, 2019, which is incorporated herein in its entirety) allow for resampling of the entire reference picture to a different (higher or lower) resolution. In that document, it is proposed that the different candidate resolutions be coded in the sequence parameter set and referenced by per-picture syntax elements in the picture parameter set. Summary of the Invention [Means for solving the problem]

[0008] The embodiments relate to a method, a system, and a computer-readable medium for coding video data. According to one aspect, a method for coding video data is provided. The method may include receiving video data including a current picture and one or more other pictures. A first flag corresponding to whether the current picture is referenced by one or more other pictures in a decoding order is checked. A second flag corresponding to whether the current picture is output is checked. The video data is decoded based on values ​​corresponding to the first flag and the second flag.

[0009] According to another aspect, a computer system for coding video data is provided. The computer system may include one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage devices, and program instructions stored in at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, thereby enabling the computer system to perform a method. The method may include receiving video data including a current picture and one or more other pictures. A first flag corresponding to whether the current picture is referenced in decoding order by one or more other pictures is checked. A second flag corresponding to whether the current picture is to be output is checked. The video data is decoded based on values ​​corresponding to the first flag and the second flag.

[0010] According to yet another aspect, a computer-readable medium for coding video data is provided. The computer-readable medium may include one or more computer-readable storage devices and program instructions stored in at least one of the one or more tangible storage devices, the program instructions being executable by a processor. The program instructions are executable by the processor to perform a method that may include receiving video data including a current picture and one or more other pictures accordingly. A first flag corresponding to whether the current picture is referenced in decoding order by one or more other pictures is checked. A second flag corresponding to whether the current picture is output is checked. The video data is decoded based on values ​​corresponding to the first flag and the second flag.

[0011] These and other objects, features and advantages will become apparent from the following detailed description of illustrative embodiments, which is to be read in connection with the accompanying drawings, in which various features of the drawings are not drawn to scale for clarity purposes in conjunction with the detailed description to facilitate understanding by those skilled in the art. [Brief description of the drawings]

[0012] [Figure 1] FIG. 1 is a schematic diagram of a simplified block diagram of a communication system according to one embodiment. [Diagram 2] FIG. 1 is a schematic diagram of a simplified block diagram of a communication system according to one embodiment. [Diagram 3] FIG. 2 is a schematic diagram of a simplified block diagram of a decoder according to one embodiment. [Figure 4] FIG. 2 is a schematic diagram of a simplified block diagram of an encoder according to one embodiment. [Diagram 5] FIG. 2 is a schematic diagram of options for signaling ARC parameters according to the prior art or embodiments; [Figure 6] 1 is an example of a syntax table according to one embodiment. [Figure 7]FIG. 1 is a schematic diagram of a computer system according to one embodiment. [Figure 8] 1 is an example of a prediction structure for scalability with adaptive resolution change. [Figure 9] 1 is an example of a syntax table according to one embodiment. [Figure 10] A schematic diagram of a simplified block diagram of syntax parsing and decoding of poc cycles per access unit and access unit count values. [Figure 11] A schematic diagram of a video bitstream structure including multi-layer sub-pictures. [Figure 12] FIG. 13 is a schematic diagram of a display of a selected sub-picture with enhanced resolution. [Figure 13] FIG. 2 is a block diagram of a process for decoding and displaying a video bitstream that includes multi-layered sub-pictures. [Figure 14] FIG. 1 is a schematic diagram of a 360 video display with a sub-picture enhancement layer. [Figure 15] 1 is an example of layout information for a sub-picture and its corresponding layer and picture prediction structures. [Figure 16] A diagram showing an example of layout information for a sub-picture and its corresponding layer and picture prediction structures using a local region spatial scalability format. [Figure 17] 13 is an example of a syntax table of sub-picture layout information. [Figure 18] 13 is an example of a syntax table of a sub-picture layout information SEI message. [Figure 19] 1 is an example of a syntax table showing profile / tier / level information for output layers and each output layer set. [Figure 20] 13 is an example of a syntax table indicating an output layer mode for each output layer set. [Figure 21] 13 is an example of a syntax table showing the current sub-picture of each layer for each output layer set. [Figure 22] FIG. 13 is a diagram illustrating an example of a syntax table of a video parameter set RBSP. [Figure 23] 13 is an example of a syntax table showing an output layer set in an output layer set mode. [Figure 24] 13 is an example of a syntax table of a picture header indicating output information of a picture. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] Detailed embodiments of the claimed structures and methods are disclosed herein. However, it can be understood that the disclosed embodiments are merely examples of the claimed structures and methods that can be embodied in various forms. However, these structures and methods may be embodied in many different forms and should not be construed as being limited to the exemplary embodiments described herein. Rather, these exemplary embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope to those skilled in the art. In the description, details of well-known features and techniques may be omitted to avoid unnecessarily obscuring the presented embodiments.

[0014] As mentioned above, video encoders and decoders have most often tended to operate with a given picture size, defined and held constant for a Coded Video Sequence (CVS), Group of Pictures (GOP), or similar multi-picture time frame. However, a picture may or may not be referenced by subsequent pictures for motion compensation or other parameter prediction. A picture may or may not be output. Therefore, it may be advantageous to signal reference information and picture output information in one or more parameter sets.

[0015] Aspects are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer-readable media according to various embodiments. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.

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

[0017] 1 shows a second pair of terminals (130, 140) provided to support two-way transmission of coded video, such as may occur during a video conference. For two-way transmission of data, each terminal (130, 140) may code video data captured at a local location for transmission over a network (150) to the other terminal. Each terminal (130, 140) may also receive coded video data transmitted by the other terminal, decode the coded data, and display the decoded video data on a local display device.

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

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

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

[0021] FIG. 3 may be a functional block diagram of a video decoder (210) according to an embodiment of the present invention.

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

[0023] The video decoder (210) may include a parser (320) for reconstructing symbols (321) from the entropy coded video sequence. As shown in FIG. 2, these categories of symbols potentially include information used to manage the operation of the decoder (210) and information for controlling a rendering device such as a display (212) that is not an integral part of the decoder but may be coupled to it. The rendering device control information may be in the form of Supplementary Enhancement Information (SEI) messages or Video Usability Information (VUI) parameter set fragments (not shown). The parser (320) may parse / entropy decode the received coded video sequence. The coding of the coded video sequence may be according to a video coding technique or video coding standard and may be according to principles well known to those skilled in the art, including variable length coding, Huffman coding, arithmetic coding, etc., with or without context dependency. The parser (320) can extract from the coded video sequence a set of subgroup parameters for at least one of the subgroups of pixels in the video decoder based on at least one parameter corresponding to the group. The subgroups may include Group of Pictures (GOPs), pictures, tiles, slices, macroblocks, coding units (CUs), blocks, transform units (TUs), prediction units (PUs), etc. The entropy decoder / parser can also extract from the coded video sequence information such as transform coefficients, quantization parameter values, motion vectors, etc.

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

[0025] The reconstruction of the symbols (321) may involve a number of different units, depending on the type of coded video picture or part thereof (inter-picture and intra-picture, inter-block and intra-block, etc.), and other factors. The units involved and how they are involved may be controlled by subgroup control information parsed from the coded video sequence by the parser (320). For clarity, the flow of such subgroup control information between the parser (320) and the following units is not shown.

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

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

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

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

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

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

[0032] Once a particular coded picture has been fully reconstructed, it may be used as a reference picture for future prediction. Once a coded picture has been fully reconstructed and the coded picture has been identified as a reference picture (e.g., by the parser (320)), the current reference picture (356) may become part of the reference picture buffer (357), and fresh current picture memory may be reallocated before beginning reconstruction of the next coded picture.

[0033] The video decoder 320 may perform decoding operations according to a given video compression technique, which may be documented in a standard such as ITU-T Rec. H.265. The coded video sequence may conform to the syntax specified by the video compression technique or standard being used, in the sense of conforming to the syntax of the video compression technique or standard, and in particular to the profile documents therein, as specified as a video compression technique document or standard. Compliance also requires that the complexity of the coded video sequence be within a range defined by the level of the video compression technique or standard. In some cases, the level limits a maximum picture size, a maximum frame rate, a maximum reconstructed sample rate (e.g., measured in megasamples per second), a maximum reference picture size, etc. The limits set by the level may in some cases be further limited by a Hypothetical Reference Decoder (HRD) specification and metadata for HRD buffer management signaled in the coded video sequence.

[0034] In one embodiment, the receiver (310) may receive additional (redundant) data along with the encoded video. The additional data may be included as part of the coded video sequence. The additional data may be used by the video decoder (320) 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 SNR enhancement layers, redundant slices, redundant pictures, forward error correction codes, etc.

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

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

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

[0038] According to one embodiment, the encoder (203) may code and compress pictures of a source video sequence into a coded video sequence (443) in real-time or under any other time constraint as required by the application. Enforcing the appropriate coding rate is one function of the controller (450). The controller controls and is operatively coupled to other functional units as described below. For clarity, couplings are not depicted. Parameters set by the controller may include rate control related parameters (picture skip, quantization, lambda values ​​for rate distortion optimization techniques, etc.), picture size, group of pictures (GOP) layout, maximum motion vector search range, etc. One skilled in the art can readily identify other functions of the controller (450) as they may relate to a video encoder (203) optimized for a particular system design.

[0039] Some video encoders operate in a way that those skilled in the art can easily recognize as a "coding loop." As an oversimplified explanation, the coding loop may consist of an encoding part of the encoder (430) (hereafter "source coder") (responsible for creating symbols based on the input picture to be coded and the reference pictures), and a (local) decoder (433) embedded in the encoder (203) that reconstructs the symbols to create sample data that the (remote) decoder also creates (since the compression between the symbols and the coded video bitstream is lossless in the video compression techniques considered in the disclosed subject matter). The reconstructed sample stream is input to a reference picture memory (434). The decoding of the symbol stream results in bit-exact results regardless of the location of the decoder (local or remote), so the reference picture buffer contents are also bit-exact between the local and remote encoders. In other words, the predictive part of the encoder "sees" exactly the same sample values ​​for the samples of the reference picture that the decoder "sees" when using prediction during decoding. This basic principle of reference picture synchrony (and the drift that occurs when synchrony cannot be maintained, for example due to channel errors) is well known to those skilled in the art.

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

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

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

[0043] The local video decoder (433) may decode the coded video data of frames that may be designated as reference frames based on the symbols created by the source coder (430). The operation of the coding engine (432) may advantageously be a lossy process. When the coded video data may be decoded in a video decoder (not shown in FIG. 4), the reconstructed video sequence may be a replica of the source video sequence, usually with some errors. The local video decoder (433) may replicate the decoding process that may be performed by the video decoder on the reference frames and store the reconstructed reference frames in a reference picture cache (434). In this way, the encoder (203) may locally store replicas of reconstructed reference frames that have common content as reconstructed reference frames obtained by the far-end video decoder (when there are no transmission errors).

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

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

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

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

[0048] The controller (450) may manage the operation of the encoder (203). During coding, the controller (450) may assign a particular coded picture type to each coded picture, which may affect the coding technique that may be applied to the respective picture. For example, pictures may often be assigned as one of the following frame types:

[0049] An intra picture (I-picture) is one that can be coded and decoded without using other frames in a sequence as a source of prediction. Some video codecs allow different types of intra pictures, such as the Independent Decoder Refresh Picture. Those skilled in the art are aware of these variations of I-pictures and their respective uses and characteristics.

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

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

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

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

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

[0055] Before describing particular aspects of the disclosed subject matter in more detail, it is necessary to introduce certain terms that will be referenced in the remainder of this description.

[0056] Hereinafter, a sub-picture may refer to a rectangular arrangement of samples, blocks, macroblocks, coding units, or similar entities that may be semantically grouped and coded independently at a modified resolution. There may be one or more sub-pictures for a picture. One or more coded sub-pictures may form a coded picture. One or more sub-pictures may be assembled into a picture, and one or more sub-pictures may be extracted from a picture. In certain circumstances, one or more coded sub-pictures may be assembled in the compressed domain without transcoding to the coded picture to the sample level. And in the same or certain other cases, one or more coded sub-pictures may be extracted from a coded picture in the compressed domain.

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

[0058] The above description focuses on the coding and decoding of a single, semantically independent coded video picture. Before describing the implications of coding / decoding multiple sub-pictures with independent ARC parameters and the additional complexities that they imply, options for signaling the ARC parameters can be described.

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

[0060] The classes of ARC parameters may include:

[0061] -Up / downsample factors, separated or combined in the X and Y dimensions.

[0062] -Up / downsample factor with an added time dimension, indicating a constant speed zoom in / out for a given number of pictures.

[0063] - Either of the above two may involve the coding of one or more possibly short syntax elements that can point to a table containing the coefficients.

[0064] - Resolution of the X or Y dimension in units of sample, block, macroblock, CU, or any other suitable granularity, for input picture, output picture, reference picture, coded picture, combined picture, or separately. If there are two or more resolutions (e.g., one for input pictures, one for reference pictures, etc.), in certain cases one set of values ​​may be inferred from another set of values. This may be gated, for example, by using flags. See below for more detailed examples.

[0065] - The "warping" coordinates are of the appropriate granularity as described above, similar to those used in H.263 Annex P. H.263 Annex P defines one efficient way of coding such warping coordinates, although other, potentially more efficient ways are possible. For example, the variable-length lossless "Huffman" style coding of Annex P's warping coordinates could be replaced by an appropriate-length binary coding, where the length of the binary codewords could, for example, be derived from the maximum picture size, possibly multiplied by certain factors and shifted by certain values ​​to allow "warping" outside the bounds of the maximum picture size.

[0066] - Upsample filter parameters or downsample filter parameters. In the simplest case, there may be only a single filter for upsampling and / or downsampling. However, in some cases it may be advantageous to allow more flexibility in the filter design, which may require signaling of filter parameters. Such parameters may be selected via an index in a list of possible filter designs, the filter may be fully specified (e.g., via a list of filter coefficients, using an appropriate entropy coding technique), the filter may be selected implicitly via an up / downsample ratio, which is signaled according to any of the mechanisms mentioned above, and so on.

[0067] In the following, the description assumes coding of a finite set of up / downsample coefficients (the same coefficients used in both X and Y dimensions) indicated by a codeword. The codeword can advantageously be variable length coded, for example using Ext-Golomb codes common to certain syntax elements in video coding specifications such as H.264 and H.265. One suitable mapping of values ​​to up / downsample coefficients can, for example, follow the table below:

[0068] [Table 1]

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

[0070] The number of entries in a table, as well as their semantics, may be fully or partially configurable. For example, a basic overview of the table may be conveyed in a "high" parameter set, such as a sequence or decoder parameter set. Alternatively, or in addition, one or more such tables may be defined in a video coding technique or standard and may be selected, for example, via a decoder or sequence parameter set.

[0071] In the following, it is described how the upsample / downsample coefficients (ARC information) coded as described above can be included in a video coding technique or standard syntax. Similar considerations can be applied to one or several codewords that control the up / downsample filters. For a description of when a relatively large amount of data is required for a filter or other data structure, see below.

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

[0073] The above cited JVCET-M 135-v1 includes an ARC reference (505) (index) located in a picture parameter set (504) that indexes a table (506) containing target resolutions located in a sequence parameter set (507). The placement of possible resolutions in table (506) in the sequence parameter set (507) can be justified by using SPS as a negotiation point for interoperability during capability exchange, according to oral statements made by the authors. Resolutions can vary within the limits set by the values ​​in table (506) on a picture-by-picture basis by referencing the appropriate picture parameter set (504).

[0074] 5, the following additional options may exist for conveying ARC information in a video bitstream: Each of these options has certain advantages over existing techniques, as discussed above. The options may coexist in the same video coding technology or standard.

[0075] In one embodiment, the ARC information (509), such as a resampling (zoom) factor, can be present in a slice header, a GOB header, a tile header, or a tile group header (hereafter tile group header) (508). This may be appropriate if the ARC information is small, such as a single variable-length ue(v) or a fixed-length codeword of a few bits, as shown above. Having the ARC information directly in the tile group header has the added advantage that the ARC information may be applicable to, for example, a sub-picture represented by that tile group, rather than to the entire picture. See also below. In addition, even if a video compression technology or standard only assumes full-picture adaptive resolution changes (as opposed to, for example, tile group-based adaptive resolution changes), putting the ARC information in the tile group header has certain advantages from an error resilience perspective, as opposed to putting the ARC information in an H.263-style picture header.

[0076] In the same or other embodiments, the ARC information (512) itself may reside in an appropriate parameter set (511), such as, for example, a picture parameter set, a header parameter set, a tile parameter set, an adaptive parameter set, etc. (adaptive parameter set shown). The scope of that parameter set may advantageously be up to a picture, e.g., a tile group. The use of the ARC information is implicit by the invocation of the associated parameter set. For example, if a video coding technique or standard only contemplates picture-based ARC, then a picture parameter set or equivalent may be appropriate.

[0077] In the same or other embodiments, the ARC reference information (513) may be present in a tile group header (514) or similar data structure, and may point to a subset of the ARC information (515) available in a parameter set (516) that spans more than a single picture, such as a sequence parameter set or a decoder parameter set.

[0078] The implicit activation of an additional level of indirection of PPS from the tile group header, PPS, SPS used in JVET-M 0135-v1 seems unnecessary since picture parameter sets can be used for capability negotiation or announcement (and have in certain standards such as RFC 3984) similar to sequence parameter sets. However, if the ARC information should be applicable for example to sub-pictures also represented by tile groups, a parameter set with activation scope limited to the tile group, such as an adaptation parameter set or a header parameter set, may be a better choice. Also, if the ARC information is of non-negligible size, e.g., contains filter control information such as a large number of filter coefficients, parameters may be a better choice from the viewpoint of coding efficiency than using the header (508) directly, since these settings may be reusable by future pictures or sub-pictures by referencing the same parameter set.

[0079] When using a sequence parameter set or another higher parameter set that has a scope spanning multiple pictures, certain considerations may apply.

[0080] 1. The parameter set for storing the ARC information table (516) may be a sequence parameter set in some cases, but in other cases a decoder parameter set is advantageous. A decoder parameter set may have activation ranges for multiple CVSs, i.e., all coded video bits in the coded video stream, i.e., from session start to session end. Such ranges may be more appropriate since possible ARC factors may be decoder functions implemented in hardware, and hardware capabilities tend not to change with CVS (at least in some entertainment systems, Group of Pictures of length 1 / 2 or less). However, putting the table in a sequence parameter set is clearly included in the placement options described herein, especially in relation to point 2 below.

[0081] 2. The ARC reference information (513) can advantageously be placed directly in the picture / slice tile / GOB / tile group header (hereafter tile group header) (514) and not in the picture parameter set as in JVCET-M 0135-v1. The reason is that if the encoder wants to change a single value in the picture parameter set, such as the ARC reference information, it needs to create a new PPS and reference that new PPS. Suppose that only the ARC reference information changes, but other information, such as the quantization matrix information in the PPS, remains. Such information can be of significant size and needs to be retransmitted to complete the new PPS. The ARC reference information can be a single codeword, such as an index into a table (513), which is the only value that changes, so it would be cumbersome and wasteful to retransmit all of the quantization matrix information, for example. To that extent, it can be quite good in terms of coding efficiency to avoid the indirection through the PPS, as proposed in JVET-M 0135-v1. Similarly, putting the ARC reference information in the PPS has the further disadvantage that, since the scope of picture parameter set activation is the picture, the ARC information referenced by the ARC reference information (513) must apply to the entire picture and not necessarily to any subpictures.

[0082] In the same or other embodiments, the signaling of ARC parameters may follow a detailed example as outlined in Figure 6, which shows a syntax diagram of the representation used in video coding standards since at least 1993. The notation of such syntax diagrams loosely follows C-style programming. Bold lines indicate syntax elements present in the bitstream, while non-bold lines often indicate control flow or setting of variables.

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

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

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

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

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

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

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

[0090] The disclosed subject matter can be used in such environments. In some cases, in the same or other embodiments, values ​​in the NAL unit header, e.g., a Time ID field, can be used to indicate not only temporal layers but also spatial layers. Doing so has certain advantages in certain system designs. For example, existing selective forwarding units (SFUs) created and optimized for temporal layer selective forwarding based on NAL unit header Time ID values ​​can be used without modification for scalable environments. To enable this, there may be a requirement for a mapping between coded picture sizes and temporal layers, which is indicated by a Time ID field in the NAL unit header.

[0091] In some video coding techniques, an access unit (AU) can refer to a coded picture, slice, tile, NAL unit, etc. that is captured and composed into a respective picture / slice / tile / NAL unit bitstream at a given instance in time, which may be composition time.

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

[0093] In one embodiment of the disclosed subject matter, the aforementioned strict relationship can be relaxed in that an access unit can contain pictures, slices, or tiles with different POC values. By allowing different POC values ​​within an AU, it becomes possible to use the POC values ​​to identify potentially independently decodable pictures / slices / tiles that have the same presentation time. This can enable support for multiple scalable layers without modifying the reference picture selection signaling (e.g., reference picture set signaling or reference picture list signaling), as described in more detail below.

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

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

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

[0097] In the same or other embodiments, the value of poc_cycle_au may be derived from information identifying the number of spatial or SNR layers in the coded video sequence, for example located in a video parameter set (VPS). Below, such a relationship is briefly described. Although the derivation as described above may save a few bits in the VPS and thus improve coding efficiency, it may be advantageous to be able to explicitly code poc_cycle_au in a high-level syntax structure appropriate hierarchically below the video parameter set to minimize poc_cycle_au for a given small portion of the bitstream, such as a picture. This optimization may save more bits than can be saved through the above derivation process, since the POC value (and / or the values ​​of syntax elements that indirectly reference the POC) may be coded in a low-level syntax structure.

[0098] The techniques for signaling adaptive resolution parameters described above can be implemented as computer software using computer readable instructions and physically stored on one or more computer readable media. For example, FIG. 7 illustrates a computer system 700 suitable for implementing certain embodiments of the disclosed subject matter.

[0099] Computer software can be coded using any suitable machine code or computer language and can be subject to assembly, compilation, linking, or similar mechanisms to create code containing instructions that can be executed by a computer central processing unit (CPU), graphics processing unit (GPU), or the like, directly, or through interpretation, execution of microcode, or the like.

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

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

[0102] The computer system 700 may include certain human interface input devices. Such human interface input devices may be responsive to input by one or more users, such as, for example, tactile input (keystrokes, swipes, data glove movements, etc.), audio input (voice, clapping, etc.), visual input (gestures, etc.), olfactory input (not shown), etc. The human interface devices may also be used to capture certain media that are not necessarily directly related to conscious human input, such as audio (speech, music, environmental sounds, etc.), images (scanned images, photographic images obtained from a still image camera, etc.), video (two-dimensional video, three-dimensional video including stereoscopic video, etc.).

[0103] The input human interface devices may include one or more of a keyboard 701, a mouse 702, a trackpad 703, a touch screen 710, a data glove 704, a joystick 705, a microphone 706, a scanner 707, and a camera 708 (only one of each is shown).

[0104] The computer system 700 may also include certain human interface output devices. Such human interface output devices may stimulate one or more of the human user's senses, for example, by tactile output, sound, light, and smell / taste. Such human interface output devices may include haptic output devices (e.g., haptic feedback via a touch screen 710, data gloves 704, or joystick 705, although some haptic feedback devices may not function as input devices), audio output devices (speakers 709, headphones (not shown), etc.), visual output devices (screens 710 including CRT screens, LCD screens, plasma screens, OLED screens, etc., each with or without touch screen input capability, each with or without haptic feedback capability, some of which may output two-dimensional visual output or three or more dimensional output by means of stereographic output, virtual reality glasses (not shown), holographic displays, and smoke tanks (not shown), etc.), and printers (not shown).

[0105] The computer system 700 may also include human accessible storage and associated media such as optical media 721, such as CD / DVD ROM / RW 720, including CDs / DVDs, thumb drives 722, removable hard drives or solid state drives 723, legacy magnetic media such as tapes and floppy disks (not shown), and specialized ROM / ASIC / PLD based devices such as security dongles (not shown).

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

[0107] The computer system 700 may also include interfaces to one or more communication networks. The networks may be, for example, wireless, wired, optical. The networks may further be local, wide area, metropolitan, vehicular and industrial, real-time, delay tolerant, etc. Examples of networks include local area networks such as Ethernet, wireless LAN, cellular networks including GSM, 3G, 4G, 5G, LTE, etc., TV wired or wireless wide area digital networks including cable television, satellite television, terrestrial broadcast television, vehicular, industrial, etc. including CANBus, etc. Certain networks generally require an external network interface adapter connected to a particular general purpose data port or peripheral bus (749) (e.g., a USB port on the computer system 700, etc.), while others are generally integrated into the core of the computer system 700 by connecting to a system bus as described below (e.g., an Ethernet interface to a PC computer system or a cellular network interface to a smartphone computer system). Using any of these networks, the computer system 700 can communicate with other entities. Such communications may be one-way, receive only (e.g., broadcast TV), one-way transmit only (e.g., from the CANbus to a particular CANbus device), or two-way, e.g., to other computer systems using local area digital networks or wide area digital networks. Specific protocols and protocol stacks may be used with each of these networks and network interfaces, as described above.

[0108] The aforementioned human interface devices, human accessible storage devices, and network interfaces may be connected to a core 740 of the computer system 700 .

[0109] The cores 740 may include specialized programmable processing devices in the form of one or more central processing units (CPUs) 741, graphics processing units (GPUs) 742, field programmable gate areas (FPGAs) 743, hardware accelerators for specific tasks 744, etc. These devices may be connected via a system bus 748 along with read only memory (ROM) 745, random access memory 746, internal mass storage devices 747 such as internal hard drives, SSDs, etc. that are not user accessible. In some computer systems, the system bus 748 may be accessible in the form of one or more physical plugs to allow expansion with additional CPUs, GPUs, etc. Peripherals may be connected to the core's system bus 748 directly or via a peripheral bus 749. Peripheral bus architectures include PCI, USB, etc.

[0110] The CPU 741, GPU 742, FPGA 743, and accelerator 744 may execute certain instructions that may combine to constitute the aforementioned computer code. That computer code may be stored in ROM 745 or RAM 746. Transient data may also be stored in RAM 746, while persistent data may be stored, for example, in internal mass storage device 747. The use of cache memory, which may be closely associated with one or more of the CPU 741, GPU 742, mass storage device 747, ROM 745, RAM 746, etc., allows for fast storage and retrieval from any memory device.

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

[0112] By way of example and not limitation, a computer system having architecture 700, and in particular core 740, can provide functionality as a result of a processor (including CPU, GPU, FPGA, accelerator, etc.) executing software embodied in one or more tangible computer-readable media. Such computer-readable media can be the user-accessible mass storage devices introduced above, as well as media associated with specific storage devices of the core 740 that are non-transitory in nature, such as the core internal mass storage device 747 and ROM 745. Software implementing various embodiments of the present disclosure can be stored in such devices and executed by the core 740. The computer-readable media can include one or more memory devices or chips according to specific needs. The software can cause the core 740, and in particular the processor therein (including CPU, GPU, FPGA, etc.) to perform specific operations or specific portions of specific operations described herein, including defining data structures stored in RAM 746 and modifying such data structures according to software-defined operations. Additionally or alternatively, a computer system may provide functionality as a result of logic hardwired or otherwise embodied in circuitry (e.g., accelerator 744), which may operate in place of or in conjunction with software to perform certain operations or portions of certain operations described herein. References to software may include logic, and vice versa, as appropriate. References to computer-readable media may encompass circuitry (such as integrated circuits (ICs)) that stores software for execution, circuitry that embodies logic for execution, or both, as appropriate. The present disclosure encompasses any suitable combination of hardware and software.

[0113] FIG. 8 shows an example of a video sequence structure with a combination of temporal_id, layer_id, POC, and AUC values ​​with adaptive resolution change. In this example, 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 value of POC increases by 1 for every picture. In this example, the value of poc_cycle_au may be equal to 2. Preferably, the value of poc_cycle_au may be set equal to the number of (spatial scalability) layers. Thus, in this example, the value of POC increases by 2 and the value of AUC increases by 1.

[0114] In the above embodiment, all or a subset of the inter-picture or inter-layer prediction structure and reference picture indication may be supported by using the existing reference picture set (RPS) signaling or reference picture list (RPL) signaling in HEVC. In RPS or RPL, the selected reference picture is indicated by signaling the value of POC or delta value of POC between the current picture and the selected reference picture. For the disclosed subject matter, RPS and RPL may be used to indicate the inter-picture or inter-layer prediction structure without changing the signaling, but with the following restrictions: If the value of the temporal_id of the reference picture is greater than the value of the temporal_id 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.

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

[0116] In the same and other embodiments, if the spatial resolution of the reference picture is different from the spatial resolution of the current picture, the scaling of the motion vector based on the POC difference for temporal motion vector prediction can be optionally disabled across multiple pictures. If the scaling of the motion vector is allowed, the motion vector is scaled based on both the POC difference and the spatial resolution ratio between the current picture and the reference picture.

[0117] In the same or other embodiments, motion vectors may be scaled based on AUC differences instead of POC differences for temporal motion vector prediction, especially if poc_cycle_au has non-uniform values ​​(if vps_contant_poc_cycle_per_au==0), otherwise (if vps_contant_poc_cycle_per_au==1), the scaling of motion vectors based on AUC differences may be identical to the scaling of motion vectors based on POC differences.

[0118] In the same or other embodiments, when a motion vector is scaled based on the AUC difference, reference motion vectors within the same AU (having the same AUC value) as the current picture are not scaled based on the AUC difference and are used for unscaled or scaled motion vector prediction based on the spatial resolution ratio between the current picture and the reference picture.

[0119] In the same and other embodiments, the AUC value is used to identify AU boundaries and is used for hypothetical reference decoder (HRD) operations that require input and output timing with AU granularity. In most cases, the decoded picture with the highest layer in the AU can be output for display. The AUC value and layer_id value can be used to identify the output picture.

[0120] In one embodiment, a picture may consist of one or more sub-pictures. Each sub-picture may cover a local area or the entire area of ​​the picture. The area supported by a sub-picture may or may not overlap with the area supported by another sub-picture. The area constituted by one or more sub-pictures may or may not cover the entire area of ​​the picture. When a picture consists of sub-pictures, the area supported by the sub-pictures is the same as the area supported by the picture.

[0121] In the same embodiment, a sub-picture may be coded by a coding method similar to that used for a coded picture. A sub-picture may be coded independently or may be coded depending on another sub-picture or coded picture. A sub-picture may or may not have a syntax parsing dependency from another sub-picture or coded picture.

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

[0123] In the same or other embodiments, a sub-picture with (W,H) may be coded and included in the coded bitstream corresponding to layer 0, where W denotes the width of the sub-picture and H denotes the height of the sub-picture, while (W*S w、k , H*S h、k ) may be coded and included in the coded bitstream corresponding to layer k, w、k , S h、k denotes the horizontal and vertical resampling ratio. S w、k , S h、k For values ​​of greater than 1, resampling is equivalent to upsampling. On the other hand, S w、k , S h、k For values ​​of less than 1, resampling is equivalent to downsampling.

[0124] In the same or other embodiments, a coded subpicture in a layer may have a different visual quality than a coded subpicture in another layer, either in the same subpicture or in a different subpicture. For example, subpicture i in layer n may have a quantization parameter Q i、n and subpicture j in layer m is coded with quantization parameter Q j、m is coded as

[0125] In the same or other embodiments, coded subpictures within a layer may be independently decodable without a syntax parsing or decoding dependency from a coded subpicture in another layer of the same local region. A subpicture layer that may be independently decodable without reference to another subpicture layer of the same local region is an independent subpicture layer. Coded subpictures within an independent subpicture layer may or may not have a decoding or syntax parsing dependency from a previously coded subpicture in the same subpicture layer, but a coded subpicture may not have any dependency from a coded picture in another subpicture layer.

[0126] In the same or other embodiments, a coded subpicture in a layer may be dependently decodable, with any syntax parsing or decoding dependency from a coded subpicture in another layer of the same local region. A subpicture layer that may be dependently decodable with reference to another subpicture layer of the same local region is a dependent subpicture layer. A coded subpicture in a dependent subpicture may reference a coded subpicture belonging to the same subpicture, a previously coded subpicture in the same subpicture layer, or both reference subpictures.

[0127] In the same or other embodiments, a coded subpicture consists of one or more independent subpicture layers and one or more dependent subpicture layers. However, there may be at least one independent subpicture layer for a coded subpicture. An independent subpicture layer may have a value of a layer identifier (layer_id), which may be present in the NAL unit header or another higher level syntax structure, equal to 0. A subpicture layer with layer_id equal to 0 is a base subpicture layer.

[0128] In the same or other embodiments, a picture may consist of one or more foreground subpictures and one background subpicture. The area supported by the background subpicture may be equal to the area of ​​the picture. The area supported by the foreground subpicture may overlap with the area supported by the background subpicture. The background subpicture may be a base subpicture layer and the foreground subpicture may be a non-base (enhancement) subpicture layer. One or more non-base subpicture layers may reference the same base layer for decoding. Each non-base subpicture layer with layer_id equal to a may reference a non-base subpicture layer with layer_id equal to b, where a is greater than b.

[0129] In the same or other embodiments, a picture can consist of one or more foreground subpictures, with or without background subpictures. Each subpicture can have its own base subpicture layer and one or more non-base (enhancement) layers. Each base subpicture layer can be referenced by one or more non-base subpicture layers. Each non-base subpicture layer with layer_id equal to a can reference a non-base subpicture layer with layer_id equal to b, where a is greater than b.

[0130] In the same or other embodiments, a picture can consist of one or more foreground subpictures, with or without a background subpicture. Each coded subpicture in a (base or non-base) subpicture layer can be referenced by one or more non-base layer subpictures that belong to the same subpicture, and by one or more non-base layer subpictures that do not belong to the same subpicture.

[0131] In the same or other embodiments, a picture may consist of one or more foreground subpictures, with or without background subpictures. A subpicture in layer a may be further divided into multiple subpictures in the same layer. One or more coded subpictures in layer b may reference a divided subpicture in layer a.

[0132] In the same or other embodiments, a coded video sequence (CVS) may be a group of coded pictures. A CVS may consist of one or more coded sub-picture sequences (CSPS), where a CSPS may be a group of coded sub-pictures covering the same local area of ​​a picture. A CSPS may have the same or different temporal resolution as the temporal resolution of the coded video sequence.

[0133] In the same or other embodiments, a CSPS may be coded and included in one or more layers. A CSPS may consist of one or more CSP layers. Decoding one or more CSP layers corresponding to a CSPS can reconstruct a sequence of sub-pictures corresponding to the same local region.

[0134] In the same or other embodiments, the number of CSP layers corresponding to a CSPS may be the same as or different from the number of CSP layers corresponding to another CSPS.

[0135] In the same or other embodiments, a CSP layer may have a different temporal resolution (e.g., frame rate) than another CSP layer, and the original (uncompressed) sub-picture sequence may be temporally resampled (upsampled or downsampled), coded with different temporal resolution parameters, and included in the bitstream corresponding to the layer.

[0136] In the same or other embodiments, a sub-picture sequence having a frame rate F may be coded and included in the coded bitstream corresponding to layer 0, where F*S t、k may be coded and included in the coded bitstream corresponding to layer k, where S t、k denotes the temporal sampling ratio of layer k. S t、k For values ​​of greater than 1, the temporal resampling process is equivalent to frame rate up-conversion. t、k If the value of is less than 1, the temporal resampling process is equivalent to a frame rate down-conversion.

[0137] In the same or other embodiments, when a subpicture with CSP layer a is referenced by a subpicture with CSP layer b for motion compensation or any inter-layer prediction, if the spatial resolution of CSP layer a differs from the spatial resolution of CSP layer b, the decoded pixels in CSP layer a are resampled and used for reference. The resampling process may require up-sampling filtering or down-sampling filtering.

[0138] In the same or other embodiment, FIG. 9 shows an example of a syntax table for signaling the syntax element vps_poc_cycle_au in the VPS (or SPS), which indicates the poc_cycle_au used for all pictures / slices in the coded video sequence, and the syntax element slice_poc_cycle_au, which indicates the poc_cycle_au of the current slice in the slice header. If the POC value increases uniformly per AU, vps_contant_poc_cycle_per_au in the VPS is set to 1, and vps_poc_cycle_au is signaled in the VPS. In this case, slice_poc_cycle_au is not explicitly signaled, and the value of AUC per AU is calculated by dividing the value of POC by vps_poc_cycle_au. If the POC value does not increase uniformly per AU, vps_contant_poc_cycle_per_au in the VPS is set to 0. In this case, vps_access_unit_cnt is not signaled, and slice_access_unit_cnt is signaled in the slice header for each slice or picture. Each slice or picture may have a different value of slice_access_unit_cnt. The AUC value per AU is calculated by dividing the POC value by slice_poc_cycle_au. Figure 10 shows a block diagram illustrating the related work flow.

[0139] In the same or other embodiments, pictures, slices, or tiles corresponding to AUs with the same AUC value may be associated with the same decoding or output time instance, even if the POC values ​​of the pictures, slices, or tiles are different. Thus, all or a subset of pictures, slices, or tiles associated with the same AU may be decoded in parallel and output simultaneously, without dependency between syntax parsing / decoding across pictures, slices, or tiles within the same AU.

[0140] In the same or other embodiments, pictures, slices, or tiles corresponding to AUs with the same AUC value may be associated with the same composition / display time instance, even if the pictures, slices, or tiles have different POC values. If the composition time is included in the container format, pictures may be displayed at the same time instance if they have the same composition time, even if they correspond to different AUs.

[0141] In the same or other embodiments, each picture, slice, or tile may have the same temporal identifier (temporal_id) within the same AU. All or a subset of pictures, slices, or tiles corresponding to a time instance may be associated with the same temporal sublayer. In the same or other embodiments, each picture, slice, or tile may have the same or different spatial layer ID (layer_id) within the same AU. All or a subset of pictures, slices, or tiles corresponding to a time instance may be associated with the same or different spatial layers.

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

[0143] In the same or other embodiments, the video bitstream corresponding to the base layer is included in a track, and the CSP layers corresponding to each sub-picture are included in separate tracks within the video file.

[0144] In the same or other embodiments, the video bitstream corresponding to the base layer is included in a track, and the CSP layers having the same layer_id are included in separate tracks. In this example, the track corresponding to layer k includes only the CSP layer corresponding to layer k.

[0145] In the same or other embodiments, each CSP layer of each subpicture is stored in a separate track. Each track may or may not have any syntax analysis or decoding dependencies from one or more other tracks.

[0146] In the same or other embodiments, each track can include a bitstream corresponding to layer i to layer j of the CSP layers of all or a subset of the subpictures, where 0 < i <= j <= k and k is the top layer of the CSPS.

[0147] In the same or other embodiments, a picture consists of one or more associated media data including a depth map, an alpha map, 3D geometry data, an occupancy map, etc. Such associated temporal media data can each be divided into one or more data substreams corresponding to one subpicture.

[0148] In the same or other embodiments, FIG. 12 shows an example of a video conference based on a multi-layer sub-picture method. The video stream includes one base layer video bitstream corresponding to a background picture and one or more enhancement layer video bitstreams corresponding to a foreground sub-picture. Each enhancement layer bitstream corresponds to a CSP layer. On the display, the picture corresponding to the base layer is displayed by default. This includes one or more users' picture-in-picture (PIP). When a particular user is selected by client control, the enhancement CSP layer corresponding to the selected user is decoded and displayed with enhanced quality or spatial resolution. FIG. 13 shows a diagram for the operation.

[0149] In the same or other embodiments, a network intermediate box (such as a router) can select a subset of layers to send to a user depending on its bandwidth. The picture / sub-picture organization can be used for bandwidth adaptation. For example, if a user does not have the bandwidth, the router will take away layers or select some sub-pictures due to their importance or based on the settings used, which can be done dynamically to take up the bandwidth.

[0150] FIG. 14 shows a use case of 360 video. When a spherical 360 picture is projected onto a planar picture, the projected 360 picture may be split into multiple sub-pictures as a base layer. The enhancement layer of a particular sub-picture may be coded and sent to the client. The decoder may decode both the base layer containing all the sub-pictures and the enhancement layer of the selected sub-picture. If the current viewport is the same as the selected sub-picture, the displayed picture may have higher quality with the decoded sub-picture with the enhancement layer. Otherwise, the decoded picture with the base layer may be displayed with lower quality.

[0151] In the same or other embodiments, any layout information for display may be present in the file as auxiliary information (such as SEI messages or metadata). One or more decoded subpictures may be rearranged and displayed according to the signaled layout information. The layout information may be signaled by a streaming server or broadcaster, may be regenerated by a network entity or cloud server, or may be determined by a user's customized settings.

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

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

[0154] In the same or other embodiments, the layer_id may not be used and the POC(delta) value may be used to indicate the (inter-layer) prediction structure.

[0155] In the same embodiment, a sub-picture with a POC value equal to N corresponding to a layer (or local region) may or may not be used as a reference picture for a sub-picture with a POC value equal to N+K corresponding to the same layer (or same local region) for motion compensation prediction. In most cases, the 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.

[0156] In the same or other embodiments, Figure 16 shows an extended case of Figure 15. When the input picture is divided into multiple (e.g., four) sub-regions, each local region may be coded with one or more layers. In this case, the number of independent layers may be equal to the number of sub-regions, and one or more layers may correspond to the sub-regions. Thus, each sub-region may be coded with one or more independent layers and zero or more independent layers.

[0157] In the same embodiment, in FIG. 16, the input picture may be divided into four sub-regions. The top right sub-region may be coded as two layers, which are layer 1 and layer 4, and the bottom right sub-region may be coded as two layers, which are layer 3 and layer 5. In this case, layer 4 may refer to layer 1 for motion compensation prediction, and layer 5 may refer to layer 3 for motion compensation.

[0158] In the same or other embodiments, in-loop filtering across layer boundaries (such as a deblocking filter, an adaptive in-loop filter, a reshaper, a bilateral filter, or any deep learning based filtering) may (optionally) be disabled.

[0159] In the same or other embodiments, motion compensated prediction or intrablock copying across layer boundaries may (optionally) be disabled.

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

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

[0162] In the same embodiment, the values ​​of vps_full_pic_width_in_luma_samples and vps_full_pic_height_in_luma_samples may not be used for decoding, but may be used for synthesis and display.

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

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

[0165] In the same or other embodiments, the layout information (size and position) of all or a subset of sub-regions of the input picture, the dependency information between layers may be signaled in a parameter set or SEI message. Figure 18 shows an example of syntax elements indicating the information o the layout of sub-regions, the dependency between layers, and the information about the relationship between the 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 may be equal to or greater than the value of num_sub_region. If any sub-region is coded as a single layer, the value of num_layers may be equal to the value of num_sub_region. When one or more sub-regions are coded as multiple layers, the value of num_layers may be greater than the value of num_sub_region. The syntax element direct_dependency_flag[ i ][ j ] indicates 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 subregion. sub_region_layer_id[ i ][ j ] indicates the layer_id of the j-th layer associated with the i-th subregion. sub_region_offset_x[ i ] and sub_region_offset_y[ i ] indicate the horizontal and vertical positions of the top left corner of the i-th subregion, respectively. sub_region_width[ i ] and sub_region_height[ i ] indicate the width and height of the i-th subregion, respectively.

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

[0167] In the same 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.

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

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

[0170] In the same or other embodiments, referring to FIG. 20, if the maximum number of layers is greater than 1 (vps_max_layers_minus1>0), the syntax elements num_profile_tile_level and / or num_output_layer_sets may be signaled.

[0171] In the same or other embodiments, referring to FIG. 20, a syntax element vps_output_layers_mode[ i ] may be present in the VPS to indicate the mode of output layer signaling for the i-th output layer set.

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

[0173] In the same 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.

[0174] In the same or other embodiments, referring to Figure 20, there may be a flag vps_ptl_signal_flag[i] for the i-th output layer set. Depending on the value of vps_ptl_signal_flag[i], profile tier level information for the i-th output layer set may or may not be signaled.

[0175] In the same or other embodiments, referring to FIG. 21, the number of sub-pictures in the current CVS, max_subpics_minus1, may be signaled in a high level syntax structure, such as a VPS, DPS, SPS, PPS, APS or SEI message.

[0176] In the same embodiment, referring to FIG. 21, if the number of sub-pictures is greater than one (max_subpics_minus1>0), the sub-picture identifier sub_pic_id[ i ] of the i-th sub-picture may be signaled.

[0177] In the same or other embodiments, one or more syntax elements indicating the sub-picture identifiers belonging to each layer of each output layer set may be signaled in the VPS. With reference to Figures 22 and 23, sub_pic_id_layer[i][j][k] indicates the kth sub-picture present in the jth layer of the ith output layer set. With this information, the decoder can know which sub-pictures can be decoded and output for each layer of a particular output layer set.

[0178] In one embodiment, a picture header (PH) is a syntax structure that contains 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 a coded picture.

[0179] In one embodiment, the SPS (RBSP) is available to the decoding process before being referenced and may be included in at least one AU with TemporalId equal to 0 or provided via external means.

[0180] In one embodiment, the SPS (RBSP) may be available to the decoding process before being referenced, may be included in at least one AU with TemporalId equal to 0 in the CVS that contains one or more PPSs that reference the SPS, or may be provided via external means.

[0181] In one embodiment, the SPS (RBSP) may be available to the decoding process before being referenced by one or more PPSs contained in at least one PU having a nuh_layer_id equal to the lowest nuh_layer_id value of a PPS NAL unit that references an SPS NAL unit in a CVS, including one or more PPSs that reference the SPS, or provided via external means.

[0182] In one embodiment, the SPS (RBSP) may be available to the decoding process before being referenced by one or more PPSs contained in at least one PU with TemporalId equal to 0 and nuh_layer_id equal to the lowest nuh_layer_id value of a PPS NAL unit that references an SPS NAL unit or is provided via external means.

[0183] In one embodiment, the SPS (RBSP) may be available to the decoding process before being referenced by one or more PPSs, or may be provided via external means, or may be provided via external means, that include one or more PPSs that reference the SPS, and that are contained in at least one PU whose PPS NAL unit referencing the SPS NAL unit in the CVS has TemporalId equal to 0 and whose nuh_layer_id is equal to the lowest nuh_layer_id value.

[0184] In the same or other embodiments, pps_seq_parameter_set_id specifies the value of sps_seq_parameter_set_id of 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.

[0185] In the same or other embodiments, all SPS NAL units with a particular value of sps_seq_parameter_set_id in the CVS may have the same content.

[0186] In the same or other embodiments, regardless of the nuh_layer_id value, SPS NAL units may share the same value space of sps_seq_parameter_set_id.

[0187] In the same or other embodiments, the nuh_layer_id value of an SPS NAL unit may be equal to the lowest nuh_layer_id value of a PPS NAL unit that references the SPS NAL unit.

[0188] In one 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 (direct or indirect) reference layer of the layer with nuh_layer_id equal to n or the layer with nuh_layer_id equal to m.

[0189] In one embodiment, the PPS (RBSP) may be available to the decoding process before being referenced, either contained in at least one AU with TemporalId equal to the TemporalId of the PPS NAL unit or provided via external means.

[0190] In one embodiment, the PPS (RBSP) may be available to the decoding process before being referenced, contained in at least one AU with a TemporalId equal to the TemporalId of the PPS NAL unit in the CVS that contains one or more PHs (or coded slice NAL units) that reference the PPS, or provided via external means.

[0191] In one embodiment, a PPS (RBSP) may be available for the decoding process before it is referenced by one or more PHs (or coded slice NAL units) contained in at least one PU having a nuh_layer_id equal to the lowest nuh_layer_id value of a coded slice NAL unit that references a PPS NAL unit in a CVS that contains one or more PHs (or coded slice NAL units) that reference the PPS, or that is provided via external means.

[0192] In one embodiment, a PPS (RBSP) may be available for the decoding process before being referenced by one or more PHs (or coded slice NAL units) contained in at least one PU having a TemporalId equal to the TemporalId of the PPS NAL unit and a nuh_layer_id equal to the lowest nuh_layer_id value of the coded slice NAL units, which contain one or more PHs (or coded slice NAL units) that reference the PPS, or which are provided via external means and refer to a PPS NAL unit in a CVS.

[0193] In the same or other embodiments, the ph_pic_parameter_set_id of the PH specifies the value of the pps_pic_parameter_set_id of the reference PPS in use. The value of pps_seq_parameter_set_id may be the same in all PPSs referenced by coded pictures in the CLVS.

[0194] In the same or other embodiments, all PPS NAL units with a particular value of pps_pic_parameter_set_id within a PU may have the same content.

[0195] In the same or other embodiments, PPS NAL units may share the same value space of pps_pic_parameter_set_id regardless of the nuh_layer_id value.

[0196] In the same or other embodiments, the nuh_layer_id value of a PPS NAL unit may be equal to the lowest nuh_layer_id value of a coded slice NAL unit that references a NAL unit that references the PPS NAL unit.

[0197] In one 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 (direct or indirect) reference layer of the layer with nuh_layer_id equal to n or the layer with nuh_layer_id equal to m.

[0198] In one embodiment, the PPS (RBSP) may be available to the decoding process before being referenced, either contained in at least one AU with TemporalId equal to the TemporalId of the PPS NAL unit or provided via external means.

[0199] In one embodiment, the PPS (RBSP) may be available to the decoding process before being referenced, contained in at least one AU with a TemporalId equal to the TemporalId of the PPS NAL unit in the CVS that contains one or more PHs (or coded slice NAL units) that reference the PPS, or provided via external means.

[0200] In one embodiment, a PPS (RBSP) may be available for the decoding process before it is referenced by one or more PHs (or coded slice NAL units) contained in at least one PU having a nuh_layer_id equal to the lowest nuh_layer_id value of a coded slice NAL unit that references a PPS NAL unit in a CVS that contains one or more PHs (or coded slice NAL units) that reference the PPS, or that is provided via external means.

[0201] In one embodiment, a PPS (RBSP) may be available for the decoding process before being referenced by one or more PHs (or coded slice NAL units) contained in at least one PU having a TemporalId equal to the TemporalId of the PPS NAL unit and a nuh_layer_id equal to the lowest nuh_layer_id value of the coded slice NAL units, which contain one or more PHs (or coded slice NAL units) that reference the PPS, or which are provided via external means and refer to a PPS NAL unit in a CVS.

[0202] In the same or other embodiments, the ph_pic_parameter_set_id of the PH specifies the value of the pps_pic_parameter_set_id of the reference PPS in use. The value of pps_seq_parameter_set_id may be the same in all PPSs referenced by coded pictures in the CLVS.

[0203] In the same or other embodiments, all PPS NAL units with a particular value of pps_pic_parameter_set_id within a PU may have the same content.

[0204] In the same or other embodiments, PPS NAL units may share the same value space of pps_pic_parameter_set_id regardless of the nuh_layer_id value.

[0205] In the same or other embodiments, the nuh_layer_id value of a PPS NAL unit may be equal to the lowest nuh_layer_id value of a coded slice NAL unit that references a NAL unit that references the PPS NAL unit.

[0206] In one 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 (direct or indirect) reference layer of the layer with nuh_layer_id equal to n or the layer with nuh_layer_id equal to m.

[0207] Output Layers indicates which layers of the Output Layer Set are to be output. Output Layer Set (OLS) indicates a set of layers consisting of a specified set of layers, where one or more layers in the set of layers are designated to be output layers. Output Layer Set (OLS) Layer Index is the index of a layer in the OLS into the list of layers in the OLS.

[0208] A sublayer indicates a temporal scalable layer of a temporal scalable bitstream consisting of VCL NAL units and associated non-VCL NAL units with a particular value of the TemporalId variable. A sublayer representation indicates a subset of a bitstream consisting of NAL units of a particular sublayer and lower sublayers.

[0209] The VPS RBSP is available to the decoding process before it is referenced and may be included in at least one AU with TemporalId equal to 0 or provided via external means. All VPS NAL units with a particular value of vps_video_parameter_set_id in the CVS may have the same content.

[0210] The vps_video_parameter_set_id provides an identifier for the VPS for reference by other syntax elements. The value of vps_video_parameter_set_id may be greater than 0.

[0211] vps_max_layers_minus1+1 specifies the maximum number of layers allowed in each CVS that references the VPS.

[0212] vps_max_sublayers_minus1+1 specifies the maximum number of temporal sublayers that may exist in a layer in each CVS that references the VPS. The value of vps_max_sublayers_minus1 may range from 0 to 6, inclusive.

[0213] vps_all_layers_same_num_sublayers_flag equal to 1 specifies that the number of temporal sublayers is the same for all layers in each CVS that references the VPS. vps_all_layers_same_num_sublayers_flag equal to 0 specifies that the layers in each CVS that references the VPS may or may not have the same number of temporal sublayers. If not present, the value of vps_all_layers_same_num_sublayers_flag is inferred to be equal to 1.

[0214] vps_all_independent_layers_flag equal to 1 specifies that all layers in the CVS are coded independently, without using inter-layer prediction. vps_all_independent_layers_flag equal to 0 specifies that one or more layers in the CVS may use inter-layer prediction. If not present, the value of vps_all_independent_layers_flag is inferred to be equal to 1.

[0215] vps_layer_id[ i ] specifies the value of nuh_layer_id for the i-th layer. For any two non-negative integer values ​​of m and n, the value of vps_layer_id[ m ] may be less than vps_layer_id[ n ] when m is less than n.

[0216] vps_independent_layer_flag[ i ] equal to 1 specifies that the layer with index i does not use inter-layer prediction. vps_independent_layer_flag[ i ] equal to 0 specifies that the layer with index i can use inter-layer prediction and that a syntax element vps_direct_ref_layer_flag[ i ][ j ] with j in the range 0 to i-1 inclusive is present in the VPS. If not present, the value of vps_independent_layer_flag[ i ] is inferred to be equal to 1.

[0217] vps_direct_ref_layer_flag[i][j] equal to 0 specifies that the layer with index j is not a direct reference layer for the layer with index i. vps_direct_ref_layer_flag[i][j] equal to 1 specifies that the layer with index j is a direct reference layer for the layer with index i. For i and j in the range 0 to vps_max_layers_minus1, inclusive, vps_direct_ref_layer_flag[i][j] is inferred to be equal to 0 if not present. When vps_independent_layer_flag[i] is equal to 0, there may be at least one value of j in the range 0 to i-1, inclusive, such that the value of vps_direct_ref_layer_flag[i][j] is equal to 1.

[0218] The variables NumDirectRefLayers[i], DirectRefLayerIdx[i][d], NumRefLayers[i], RefLayerIdx[i][r], and LayerUsedAsRefLayerFlag[j] are derived as follows: for(i=0;i <=vps_max_layers_minus1;i++){ for(j=0;j <=vps_max_layers_minus1;j++){ dependencyFlag[ i ][ j ]=vps_direct_ref_layer_flag[ i ][ j ] for(k=0;k <i;k++) if(vps_direct_ref_layer_flag[ i ][ k ]&&dependencyFlag[ k ][ j ]) dependencyFlag[ i ][ j ]=1 } LayerUsedAsRefLayerFlag[ i ]=0 } for(i=0;i <=vps_max_layers_minus1;i++){ for(j=0, d=0, r=0;j <=vps_max_layers_minus1;j++){ if(vps_direct_ref_layer_flag[ i ][ j ]){ DirectRefLayerIdx[ i ][ d++]=j LayerUsedAsRefLayerFlag[ j ]=1 } if(dependencyFlag[ i ][ j ]) RefLayerIdx[ i ][ r++]=j } NumDirectRefLayers[ i ]=d NumRefLayers[ i ]=r }

[0219] The variable GeneralLayerIdx[ i ], which specifies the layer index of the layer with nuh_layer_id equal to vps_layer_id[ i ], is derived as follows: for(i=0;i <=vps_max_layers_minus1;i++) GeneralLayerIdx[ vps_layer_id[ i ] ]=i

[0220] It is a bitstream conformance requirement that for any two distinct values ​​of both i and j in the range from 0 to vps_max_layers_minus1, when dependencyFlag[i][j] is equal to 1, the values ​​of chroma_format_idc and bit_depth_minus8 applied to the i-th layer may be equal to the values ​​of chroma_format_idc and bit_depth_minus8 applied to the j-th layer, respectively.

[0221] max_tid_ref_present_flag[ i ] equal to 1 specifies that the syntax element max_tid_il_ref_pics_plus1[ i ] is present. max_tid_ref_present_flag[ i ] equal to 0 specifies that the syntax element max_tid_il_ref_pics_plus1[ i ] is not present.

[0222] max_tid_il_ref_pics_plus1[ i ] equal to 0 specifies that inter-layer prediction is not used for non-IRAP pictures of the i-th layer. max_tid_il_ref_pics_plus1[ i ] greater than 0 specifies that pictures with TemporalId greater than max_tid_il_ref_pics_plus1[ i ]-1 are not used as ILRP for decoding pictures of the i-th layer. If not present, the value of max_tid_il_ref_pics_plus1[ i ] is inferred to be equal to 7.

[0223] each_layer_is_an_ols_flag equal to 1 specifies that each OLS contains only one layer, each layer in the CVS that references the VPS is itself an OLS, and the single contained layer is the only output layer. When each_layer_is_an_ols_flag is equal to 0, an OLS may contain more than one layer. If vps_max_layers_minus1 is equal to 0, the value of each_layer_is_an_ols_flag is inferred to be equal to 1. Otherwise, when vps_all_independent_layers_flag is equal to 0, the value of each_layer_is_an_ols_flag is inferred to be equal to 0.

[0224] ols_mode_idc equal to 0 specifies that the total number of OLSs specified by the VPS is equal to vps_max_layers_minus1+1, the i-th OLS includes layers with layer indices 0 to i, and for each OLS, only the top layer of the OLS is output.

[0225] ols_mode_idc equal to 1 specifies that the total number of OLSs specified by the VPS is equal to vps_max_layers_minus1+1, where the i-th OLS includes layers with layer indices ≥ 0 and <= i, and for each OLS, all layers in the OLS are output.

[0226] ols_mode_idc equal to 2 specifies that the total number of OLSs specified by the VPS is explicitly signaled, the output layers are explicitly signaled for each OLS, and the other layers are direct or indirect reference layers of the output layers of the OLS.

[0227] The value of ols_mode_idc may range from 0 to 2, inclusive. The value 3 of ols_mode_idc is reserved for future use by ITU-T|ISO / IEC.

[0228] If vps_all_independent_layers_flag is equal to 1 and each_layer_is_an_ols_flag is equal to 0, the value of ols_mode_idc is inferred to be equal to 2.

[0229] num_output_layer_sets_minus1 plus1 specifies the total number of OLS specified by the VPS when ols_mode_idc equals 2.

[0230] The variable TotalNumOlss, which specifies the total number of OLSs specified by the VPS, is derived as follows: if(vps_max_layers_minus1==0) TotalNumOlss=1 else if(each_layer_is_an_ols_flag | | ols_mode_idc==0 | | ols_mode_idc==1) TotalNumOlss=vps_max_layers_minus1+1 else if(ols_mode_idc==2) TotalNumOlss=num_output_layer_sets_minus1+1

[0231] ols_output_layer_flag[ i ][ j ] being 1 specifies that the layer with nuh_layer_id equal to vps_layer_id[ j ] is the output layer of the i-th OLS when ols_mode_idc is equal to 2, and ols_output_layer_flag[ i ][ j ] being 0 specifies that the layer with nuh_layer_id equal to vps_layer_id[ j ] is not the output layer of the i-th OLS when ols_mode_idc is equal to 2.

[0232] The variable NumOutputLayersInOls[ i ] that specifies the number of output layers in the i-th OLS, the variable NumSubLayersInLayerInOLS[ i ][ j ] that specifies the number of sublayers in the j-th layer in the i-th OLS, the variable OutputLayerIdInOls[ i ][ j ] that specifies the nuh_layer_id value of the j-th output layer in the i-th OLS, and the variable LayerUsedAsOutputLayerFlag[ k ] that specifies whether the k-th layer is used as an output layer in at least one OLS are derived as follows: NumOutputLayersInOls

[0000] =1 OutputLayerIdInOls

[0000]

[0000] =vps_layer_id

[0000] NumSubLayersInLayerInOLS

[0000]

[0000] =vps_max_sub_layers_minus1+1 LayerUsedAsOutputLayerFlag

[0000] =1 for(i=1, i <=vps_max_layers_minus1;i++){ if(each_layer_is_an_ols_flag | | ols_mode_idc<2) LayerUsedAsOutputLayerFlag[ i ]=1 else / *(!each_layer_is_an_ols_flag&&ols_mode_idc==2)* / LayerUsedAsOutputLayerFlag[ i ]=0 } for(i=1;i <TotalNumOlss;i++) if(each_layer_is_an_ols_flag | | ols_mode_idc==0){ NumOutputLayersInOls[ i ]=1 OutputLayerIdInOls[ i ]

[0000] =vps_layer_id[ i ] for(j=0;j<i&&(ols_mode_idc==0);j++) NumSubLayersInLayerInOLS[ i ][ j ]=max_tid_il_ref_pics_plus1[ i ] NumSubLayersInLayerInOLS[ i ][ i ]=vps_max_sub_layers_minus1+1 } else if(ols_mode_idc==1){ NumOutputLayersInOls[ i ]=i+1 for(j=0;j<NumOutputLayersInOls[ i ];j++){ OutputLayerIdInOls[ i ][ j ]=vps_layer_id[ j ] NumSubLayersInLayerInOLS[ i ][ j ]=vps_max_sub_layers_minus1+1 } } else if(ols_mode_idc==2){ for(j=0;j <=vps_max_layers_minus1;j++){ layerIncludedInOlsFlag[ i ][ j ]=0 NumSubLayersInLayerInOLS[ i ][ j ]=0 } for(k=0,j=0;k <=vps_max_layers_minus1;k++)(40) if(ols_output_layer_flag[ i ][ k ]){ layerIncludedInOlsFlag[ i ][ k ]=1 LayerUsedAsOutputLayerFlag[ k ]=1 OutputLayerIdx[ i ][ j ]=k OutputLayerIdInOls[ i ][ j++]=vps_layer_id[ k ] NumSubLayersInLayerInOLS[ i ][ j ]=vps_max_sub_layers_minus1+1 } NumOutputLayersInOls[ i ]=j for(j=0;j <NumOutputLayersInOls[ i ];j++){ idx=OutputLayerIdx[ i ][ j ] for(k=0;k <NumRefLayers[ idx ];k++){ layerIncludedInOlsFlag[ i ][ RefLayerIdx[ idx ][ k ] ]=1 if(NumSubLayersInLayerInOLS[ i ][ RefLayerIdx[ idx ][ k ] ] < max_tid_il_ref_pics_plus1[ OutputLayerIdInOls[ i ][ j ] ]) NumSubLayersInLayerInOLS[ i ][ RefLayerIdx[ idx ][ k ] ]= max_tid_il_ref_pics_plus1[ OutputLayerIdInOls[ i ][ j ] ] } } }

[0233] For each value of i in the range 0 to vps_max_layers_minus1, inclusive, none of the values ​​of LayerUsedAsRefLayerFlag[ i ] and LayerUsedAsOutputLayerFlag[ i ] may be equal to 0. In other words, there may be no layers that are not the output layer of at least one OLS layer or a direct reference layer of another layer.

[0234] For each OLS, there may be at least one layer that is an output layer, i.e., for any value of i in the range 0 to TotalNumOlss-1, inclusive, the value of NumOutputLayersInOls[ i ] may be 1 or greater.

[0235] The variable NumLayersInOls[ i ] that specifies the number of layers in the i-th OLS and the variable LayerIdInOls[ i ][ j ] that specifies the nuh_layer_id value of the j-th layer in the i-th OLS are derived as follows: NumLayersInOls

[0000] =1 LayerIdInOls

[0000]

[0000] =vps_layer_id

[0000] for(i=1;i <TotalNumOlss;i++){ if(each_layer_is_an_ols_flag){ NumLayersInOls[ i ]=1 LayerIdInOls[ i ]

[0000] =vps_layer_id[ i ] } else if(ols_mode_idc==0 | | ols_mode_idc==1){ NumLayersInOls[ i ]=i+1 for(j=0;j <NumLayersInOls[ i ];j++) LayerIdInOls[ i ][ j ]=vps_layer_id[ j ] } else if(ols_mode_idc==2){ for(k=0,j=0;k <=vps_max_layers_minus1;k++) if(layerIncludedInOlsFlag[ i ][ k ]) LayerIdInOls[ i ][ j++]=vps_layer_id[ k ] NumLayersInOls[ i ]=j } }

[0236] The variable OlsLayerIdx[ i][ j ], which specifies the OLS layer index of the layer whose nuh_layer_id is equal to LayerIdInOls[ i][ j ], is derived as follows: for(i=0;i <TotalNumOlss;i++) for j=0;j <NumLayersInOls[ i ];j++) OlsLayerIdx[ i ][ LayerIdInOls[ i ][ j ] ]=j

[0237] The bottom layer in each OLS may be an independent layer, i.e., the value of vps_independent_layer_flag[ GeneralLayerIdx[ LayerIdInOls[ i ]

[0000] ] ] may be 1 for each i in the range 0 to TotalNumOlss-1.

[0238] Each layer may be included in at least one OLS specified by the VPS. In other words, for each layer for which a particular value of nuh_layer_id nuhLayerId is equal to one of vps_layer_id[ k ], for k in the range 0 to vps_max_layers_minus1 inclusive, there may be at least one pair of values ​​of i and j such that the value of LayerIdInOls[ i ][ j ] is equal to nuhLayerId, where i is in the range 0 to TotalNumOlss-1 inclusive and j is in the range NumLayersInOls[ i ]-1 inclusive.

[0239] In one embodiment, the decoding process operates as follows for the current picture, CurrPic. -PictureOutputFlag is set as follows: - PictureOutputFlag is set equal to 0 if one of the following conditions is true: - The current picture is a RASL picture and the associated IRAP picture's NoOutputBeforeRecoveryFlag is equal to 1. - gdr_enabled_flag is equal to 1 and the current picture is a GDR picture with NoOutputBeforeRecoveryFlag equal to 1. - gdr_enabled_flag is equal to 1, the current picture is associated with a GDR picture with NoOutputBeforeRecoveryFlag equal to 1, and the current picture's PicOrderCntVal is less than the associated GDR picture's RpPicOrderCntVal. - sps_video_parameter_set_id is greater than 0, ols_mode_idc is equal to 0, and the current AU contains a picture picA that satisfies all of the following conditions: -PicA's PictureOutputFlag is 1. -PicA has a higher nuh_layer_id nuhLid than the current picture. -PicA belongs to the output layer of OLS (i.e., OutputLayerIdInOls [ TargetOlsIdx ]

[0000] is equal to nuhLid). - sps_video_parameter_set_id is greater than 0, ols_mode_idc is equal to 2, and ols_output_layer_flag [ TargetOlsIdx ][ GeneralLayerIdx [ nuh_layer_id ] ] is equal to 0. - Otherwise, PictureOutputFlag is set equal to pic_output_flag.

[0240] After all slices of the current picture are decoded, the current decoded picture is marked as "used for short-term reference" and each ILRP entry in RefPicList

[0000] or RefPicList

[0001] is marked as "used for short-term reference".

[0241] In the same or other embodiments, if each layer is an output layer set, PictureOutputFlag is set equal to pic_output_flag, regardless of the value of ols_mode_idc.

[0242] In the same or other embodiments, PictureOutputFlag is set equal to 0 if sps_video_parameter_set_id is greater than 0, each_layer_is_an_ols_flag is equal to 0, ols_mode_idc is equal to 0, and the current AU contains a picture picA that satisfies all of the following conditions: PicA has a PictureOutputFlag equal to 1, PicA has a nuh_layer_id nuhLid greater than that of the current picture, and PicA belongs to an output layer of OLS (i.e., OutputLayerIdInOls[ TargetOlsIdx ]

[0000] is equal to nuhLid).

[0243] In the same or other embodiments, PictureOutputFlag is set equal to 0 if sps_video_parameter_set_id is greater than 0, each_layer_is_an_ols_flag is equal to 0, ols_mode_idc is equal to 2, and ols_output_layer_flag [ TargetOlsIdx ][ GeneralLayerIdx [ nuh_layer_id ] ] is equal to 0.

[0244] A picture may or may not be referenced in decoding order by one or more subsequent pictures for motion compensation or parameter prediction. A flag indicating whether the current picture is referenced by a following picture may be explicitly signaled in the picture header or slice header.

[0245] For example, in Figure 24, non_reference_picture_flag is signaled in the picture header. non_reference_picture_flag equal to 1 specifies that the picture associated with the PH is never used as a reference picture. non_reference_picture_flag equal to 0 specifies that the picture associated with the PH may or may not be used as a reference picture.

[0246] When a picture is cropped and may or may not be output for display or other purposes. A flag indicating whether the current picture is cropped and output may be explicitly signaled in the picture header or slice header.

[0247] For example, in Figure 24, pic_output_flag is signaled in the picture header. pic_output_flag equal to 1 indicates that the current picture may be cropped and output. pic_output_flag equal to 0 indicates that the current picture may not be cropped and output.

[0248] When the current picture is a non-reference picture that may not be referenced by subsequent pictures in decoding order and the value of non_reference_picture_flag is equal to 1, the value of pic_output_flag may be equal to 1 because any picture that is not referenced by subsequent pictures and is not output may not be included in the video bitstream at the decoder side.

[0249] In the same or other embodiments, when the current picture is a non-reference picture (ie, non_reference_picture_flag is equal to 1), pic_output_flag is not explicitly signaled and is inferred to be equal to 1.

[0250] On the encoder side, non-reference pictures that are not output may not be coded into the coded bitstream.

[0251] At intermediate system elements, coded pictures with non_reference_picture_flag equal to 1 and pic_output_flag equal to 0 may be discarded from the coded bitstream.

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

[0253] 210 Decoder 320 Video Decoder 360 spherical, projection 501 Picture Header 502 ARC information 700 Computer Systems 701 Keyboard 702 Mouse 703 Trackpad 704 Data Gloves 705 Joystick 706 Mike 707 Scanner 708 Camera 709 Speaker 710 Touchscreen 721 Optical Media 722 Thumb Drive 723 Solid State Drive 740 cores 741 CPU 743 FPGA 744 Hardware Accelerator 745 ROM 746 RAM 747 Mass Storage Device 748 System Bus 749 Surrounding Bus

Claims

1. 1. A method executable by a processor for encoding video data, comprising: receiving video data including a current picture and one or more other pictures; encoding the video data based on values ​​set in a first flag and a second flag, wherein the current picture is not encoded into an output bitstream if the first flag is set to 1, indicating that the current picture is not referenced by one or more other subsequent pictures, and the second flag is set to 0, indicating that the current picture is not output; signaling the first flag indicating whether the current picture is referenced by the one or more other subsequent pictures; signaling the second flag indicating whether the current picture is to be output; A method comprising:

2. The method of claim 1 , wherein the first flag and the second flag are signaled in a picture header or a slice header associated with the video data.

3. The method of claim 1 or 2, wherein the first flag corresponds to whether the current picture is referenced for motion compensation or parameter prediction.

4. The method of claim 1 , wherein the second flag corresponds to whether the current picture is to be cropped and output for display or other purposes.

5. The method of claim 1 , wherein the value of the second flag is inferred based on the value of the first flag.

6. The method of claim 5 , wherein the value of the second flag is inferred at an encoder side or a decoder side.

7. 7. The method of claim 1, wherein the step of encoding the video data is further based on a value of a picture order count cycle per access unit, the value of the picture order count cycle per access unit being signaled in a video parameter set if the picture order count value increases uniformly per access unit, and the value of the picture order count cycle per access unit being signaled in a slice header if the picture order count value does not increase uniformly per access unit.

8. Apparatus for encoding video data arranged to perform a method according to any one of claims 1 to 7.

9. A computer program product for causing a computer of a device for encoding video data to carry out the method according to any one of claims 1 to 7.