Method for decoding encoded video bitstream, device, and computer program
Patent Information
- Application Number
- JP2023115405
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-03-24
- Filing Date
- 2023-07-13
- Publication Date
- 2024-11-13
- Estimated Expiration
- 2041-04-12
AI Technical Summary
Existing video coding and decoding technologies struggle with efficiently managing reference picture resampling and spatial scalability in coded video streams with multiple layers, leading to inefficiencies in bandwidth and storage requirements, particularly in applications requiring adaptive resolution changes.
A method and device for decoding an encoded video bitstream that utilizes flags to determine whether reference picture resampling is enabled, allowing for adaptive resolution change (ARC) based on the picture resolution, enabling spatial scalability by using reference picture resampling when necessary and decoding without it when not needed.
This approach reduces bandwidth and storage requirements by optimizing video decoding processes, particularly in applications requiring adaptive resolution changes, enhancing efficiency and flexibility in handling multi-layered video streams.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[Technical Field]
[0001] [Cross-references to related applications] This application claims priority under 35 U.S.C. § 119 to U.S. Patent and Trademark Office provisional applications 63 / 027835 filed 20 May 2020, 63 / 035647 filed 5 June 2020, 63 / 036174 filed 8 June 2020, 63 / 036342 filed 8 June 2020, and 17 / 211236 filed 24 March 2021. The disclosures of these prior applications are incorporated herein by reference in their entirety.
[0002] [Technical field] The disclosed subject matter relates to video coding and decoding, more specifically to reference picture resampling and spatial scalability signaling coupling in multi-layer coded video streams. [Background technology]
[0003] Video coding and decoding using motion-compensated interpicture prediction are known. Uncompressed digital video can consist of a sequence of pictures, each picture having spatial dimensions of, for example, 1920×1080 luminance samples and associated chrominance samples. The sequence of pictures can have, for example, 60 pictures per second, i.e., a fixed or variable picture rate (commonly known as frame rate) of 60 Hz. Uncompressed video has significant bitrate requirements. For example, 1080p60 4:2:0 video at 8 bits per sample (1920×1080 luminance sample resolution at a frame rate of 60 Hz) requires a bandwidth close to 1.5 Gbit / s. One hour of such video requires more than 600 gigabytes (GB) of storage space.
[0004] One purpose of video coding and decoding can be to reduce the redundancy of the input video signal through compression. Compression can help reduce the bandwidth or storage space requirements by more than two orders of magnitude in some cases. Both lossless and lossy compression, as well as combinations thereof, can be used. Lossless compression refers to a technique in which an exact copy of the original signal can be reconstructed from the compressed original signal. When lossy compression is used, the reconstructed signal may not be identical to the original signal, but the distortion between the original and reconstructed signals is small enough to make the reconstructed signal useful for its intended purpose. In the case of video, lossy compression is widely used. The amount of distortion that can be tolerated depends on the application; for example, users of certain consumer streaming applications may tolerate higher distortion than users of television distribution applications. The achievable compression ratio can reflect that higher tolerable / acceptable distortion can result in a higher compression ratio.
[0005] Video encoders and decoders can utilize techniques from several broad categories, including, for example, motion compensation, transformation, quantization, and entropic coding. Some of these techniques are described below.
[0006] Previously, video encoders and decoders tended to operate in most cases with a defined and constant picture size for coded video sequences (CVS), groups of pictures (GOP), or similar multi-picture timeframes. For example, in MPEG-2, the system design is known to vary the horizontal resolution (and thus the picture size) depending on factors such as scene activity, but only for individual pictures, and therefore usually for GOPs. Resampling of the reference picture for the use of 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, and only the reference picture is resampled, resulting potentially that only a portion of the picture canvas is used (in the case of downsampling) or only a portion of the scene is captured (in the case of upsampling). Furthermore, H.263 Annex Q allows for resampling of individual macroblocks by a factor of 2 (upward or downward, in each dimension). In this case as well, the picture size remains the same. Since the macroblock size is fixed in H.263, there is no need for signaling.
[0007] Predicted picture size changes are becoming more common in modern video coding. For example, VP9 allows reference picture resampling and changes in the resolution of the entire picture. Similarly, a proposal made for VVC (e.g., Hendry, et. al, “On adaptive resolution change (ARC) for VVC”, Joint Video Team document JVET-M0135-v1, January 9-18, 2019, which is incorporated herein by reference in its entirety) allows for the resampling of the entire reference picture to different (higher or lower) resolutions. Such literature proposes that different candidate resolutions be coded in a sequence parameter set and referenced by per-picture syntax elements in a picture parameter set. [Overview of the project]
[0008] An embodiment of a method for decoding an encoded video bitstream using at least one processor, A step of obtaining a first flag from the encoded video bitstream that indicates that reference picture resampling is enabled for the coded video sequence (CVS), A step of determining the value of a second flag indicating whether the picture resolution is changed in the CVS, The steps include: decoding the CVS using the reference picture resampling for spatial scalability and adaptive resolution change (ARC) based on the value of the second flag indicating that the picture resolution is changed in the CVS; Based on the value of the second flag indicating that the picture resolution is not changed in the CVS, the steps include: decoding the CVS using the reference picture resampling for spatial scalability and without using the reference picture resampling for ARC; A method is provided that has this.
[0009] In one embodiment, a device for decoding an encoded video bitstream, At least one memory configured to store program code, A processor configured to read the program code and operate as instructed by the program code, It has, The aforementioned program code is: A first acquisition code causes at least one processor to acquire a first flag from the encoded video bitstream indicating that reference picture resampling is enabled for the coded video sequence (CVS), A decision code that causes at least one processor to determine the value of a second flag indicating whether the picture resolution is changed in the CVS, A first decoding code that causes at least one processor to decode the CVS using the reference picture resampling for spatial scalability and adaptive resolution change (ARC) based on the value of the second flag indicating that the picture resolution is changed in the CVS, A second decoding code that causes at least one processor to decode the CVS using the reference picture resampling for spatial scalability and without the reference picture resampling for ARC, based on the value of the second flag indicating that the picture resolution is not changed in the CVS. including, A device is provided.
[0010] In one embodiment, a non-temporary computer-readable medium storing instructions, The aforementioned instruction is, When the encoded video bitstream is decoded by one or more processors of a device, the one or more processors are configured to: Obtaining a first flag indicating that reference picture sampling is enabled for a coded video sequence (CVS) from the encoded video bitstream; Determining a value of a second flag indicating whether a picture resolution is changed in the CVS; Based on the value of the second flag indicating that the picture resolution is changed in the CVS, decoding the CVS using the reference picture sampling for spatial scalability and adaptive resolution change (ARC); Based on the value of the second flag indicating that the picture resolution is not changed in the CVS, decoding the CVS using the reference picture sampling for spatial scalability and without using the reference picture sampling for ARC; Having one or more instructions to cause execution; A non - transient computer - readable medium is provided.
[0011] Further features, properties, and various advantages of the disclosed subject matter will become more apparent from the following detailed description and the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] [Figure 1] It is a schematic diagram of a schematic block diagram of a communication system according to an embodiment. [Figure 2] It is a schematic diagram of a schematic block diagram of a communication system according to an embodiment. [Figure 3] It is a schematic diagram of a schematic block diagram of a decoder according to an embodiment. [Figure 4] It is a schematic diagram of a schematic block diagram of an encoder according to an embodiment. [Figure 5A] It is a schematic diagram of an option for signaling ARC parameters according to an embodiment. [Figure 5B] It is a schematic diagram of an option for signaling ARC parameters according to an embodiment. [Figure 5C] Schematic diagram of options for signaling ARC parameters according to an embodiment. [Figure 5D] Schematic diagram of options for signaling ARC parameters according to an embodiment. [Figure 5E] Schematic diagram of options for signaling ARC parameters according to an embodiment. [Figure 6A] Schematic diagram of an example of a syntax table according to an embodiment. [Figure 6B] Schematic diagram of an example of a syntax table according to an embodiment. [Figure 7] Example of a prediction structure for scalability by adaptive resolution change according to an embodiment. [Figure 8] Example of a syntax table according to an embodiment. [Figure 9] Schematic diagram of a schematic block diagram of parsing and decoding of POC cycles and access unit count values for each access unit according to an embodiment. [Figure 10] Schematic diagram of a video bitstream structure including multi-layer sub-pictures according to an embodiment. [Figure 11] Schematic diagram of the display of selected sub-pictures with enhanced resolution according to an embodiment. [Figure 12] Block diagram of a decoding and display process for a video bitstream including multi-layer sub-pictures according to an embodiment. [Figure 13] Schematic diagram of 360-degree video display by an enhancement layer of sub-pictures according to an embodiment. [Figure 14] Example of layout information of sub-pictures and their corresponding layers and picture prediction structures according to an embodiment. [Figure 15] Example of layout information of sub-pictures and their corresponding layers and picture prediction structures with spatial scalability modality in a local area according to an embodiment. [Figure 16A]This is an example of a syntax table for subpicture layer information according to an embodiment. [Figure 16B] This is an example of a syntax table for subpicture layer information according to an embodiment. [Figure 17] This is an example of a syntax table for SEI messages for subpicture layout information according to an embodiment. [Figure 18] This is an example syntax table showing profile / tier / level information for output layers and each set of output layers, according to the embodiment. [Figure 19] This is an example syntax table indicating the output layer mode is ON for each output layer set according to the embodiment. [Figure 20] This is an example syntax table showing the current subpictures of each layer for each output layer set according to the embodiment. [Figure 21] This is an example syntax table for a video parameter set raw byte sequence payload (RBSP). [Figure 22] This is an example of a syntax table showing the output layer set in output layer set mode. [Figure 23] This is an example syntax table showing reference picture resampling and resolution changes within a video sequence coded with a Sequence Parameter Set (SPS). [Figure 24] This is an example of a syntax table that indicates picture size in PPS format. [Figure 25A] This is a flowchart illustrating an example of the process for decoding an encoded video bitstream according to an embodiment. [Figure 25B] This is a flowchart illustrating an example of the process for decoding an encoded video bitstream according to an embodiment. [Figure 25C] This is a flowchart illustrating an example of the process for decoding an encoded video bitstream according to an embodiment. [Figure 26] This is a schematic diagram of a computer system according to an embodiment. [Modes for carrying out the invention]
[0013] Figure 1 shows a schematic 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). For one-way data transmission, the first terminal (110) may encode video data at its local location for transmission to the other terminal (120) via the network (150). The second terminal (120) may receive the encoded video data from the other terminal via the network (150), decode the encoded data, and display the recovered video data. One-way data transmission may be common in media serving applications and the like.
[0014] Figure 1 shows a second pair of terminals (130, 140) configured to support bidirectional transmission of coded video that may appear, for example, during a video conference. For bidirectional data transmission, each terminal (130, 140) may code video data captured at its local location for transmission to other terminals via the network (150). Each terminal (130, 140) may also receive coded video data transmitted by other terminals, decode the coded data, and display the recovered video data on a local display device.
[0015] In Figure 1, terminals (110-140) may be represented as servers, personal computers, and smartphones, but the principles of this disclosure are not limited thereto. Embodiments of this disclosure find applications in laptop computers, tablet computers, media players, and / or dedicated video conferencing equipment. Network (150) represents any number of networks that transmit coded video data between terminals (110-140), including, for example, wireline and / or wireless communication networks. Communication network (150) may exchange data over circuit-switched and / or packet-switched channels. Typical networks include telecommunications networks, local area networks, wide area networks, and / or the Internet. For the purposes of this discussion, the architecture and topology of network (150) may be irrelevant to the operation of this disclosure unless otherwise described below.
[0016] Figure 2 illustrates the arrangement of a video encoder and decoder in a streaming environment as an example of the disclosed application. The disclosed application can similarly be applied to other video-enabled applications, including, for example, video conferencing, digital television, and the storage of compressed video on digital media such as CDs, DVDs, and memory sticks.
[0017] The streaming system may include a video source (201), a capture subsystem (213) which may include, for example, a digital camera that generates uncompressed video samples. The sample stream (202) is represented as a thick line to highlight a higher data volume compared to the encoded video bitstream and may be processed by an encoder (203) coupled to the camera (201). The encoder (203) may include hardware, software, or a combination thereof to enable or implement the aspects of the subject disclosed, as will be described in more detail below. The encoded video bitstream (204) is represented as a thin line to highlight a lower data volume compared to the sample stream and may be stored in a streaming server (205) for future use. One or more streaming clients (206, 208) may access the streaming server (205) to read a copy of the encoded video bitstream (204). The client (206) may include a video decoder, which decodes an incoming copy of an encoded video bitstream (207) and generates an outgoing video sample stream (211) that can be rendered on a display (212) or other rendering device (not shown). In some streaming systems, the video bitstreams (204, 207, 209) may be encoded according to a specific video coding / compression standard. An example of such a standard is the ITU-T Recommendation H.265. A video coding standard commonly known as Versatile Video Coding or VVC is under development. The disclosed subject matter may be used in conjunction with VVC.
[0018] Figure 3 shows a functional block diagram of a video decoder (210) according to an embodiment of the present disclosure.
[0019] The receiver (310) may receive one or more coded video sequences to be decoded by the decoder (210), one coded video sequence at a time, in the same or other embodiments. The decoding of each coded video sequence is independent of other coded video sequences. The coded video sequences may be received from a channel (312), which may be a hardware / software link to a storage device that stores encoded video data. The receiver (310) may receive the encoded video data together with other data, such as coded audio data and / or auxiliary data streams, which may be transferred to their respective usage entities (not shown). The receiver (310) may isolate the coded video sequences from other data. To combat network jitter, a buffer memory (315) may be coupled between the receiver (310) and the entropy decoder / parser (320) (hereinafter "parser"). When the receiver (310) is receiving data from a storage / transfer device with sufficient bandwidth and controllability, or from an isosynchronous network, the buffer (315) may not be necessary or may be small. For use in best-effort packet networks such as the Internet, the buffer (315) may be necessary and can be relatively large and of an adaptable size.
[0020] The video decoder (210) may include a parser (320) for reconstructing symbols (321) from an entropicated video sequence. The categories of these symbols include information used to manage the operation of the decoder (210) and potentially information for controlling rendering devices such as a display (212), which is not an internal part of the decoder but can be coupled to the decoder, as shown in Figure 3. The control information for rendering devices may take the form of SEI (Supplementary Enhancement Information) messages or VUI (Video Usability Information) parameter set fragments (not shown). The parser (320) may parse / entropic decode the received coded video sequence. The coding of the coded video sequence may follow video coding techniques or standards and may follow principles well known to those skilled in the art, including variable-length coding, Huffman coding, context-dependent or independent arithmetic coding, etc. The parser (320) may 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 that group. Subgroups may include Groups of Pictures (GOP), pictures, subpictures, tiles, slices, bricks, macroblocks, coding tree units (CTU), coding units (CU), blocks, transform units (TU), prediction units (PU), and the like. Tiles may represent rectangular regions of CU / CTU within a particular tile column and row in a picture. Bricks may represent rectangular regions of CU / CTU rows within a particular tile. Slices may represent one or more bricks of a picture contained in a NAL unit. Subpictures may represent rectangular regions of one or more slices in a picture.The entropy decoder / parser may also extract quantization parameter values, motion vectors, and other information from coded video sequence information such as conversion coefficients.
[0021] The parser (320) may perform entropy decoding / parsing operations on the video sequence received from the buffer (315) in order to generate symbols (321).
[0022] The reconstruction of symbol (321) can have a wide variety of units depending on the type of coded video picture or part thereof (e.g., inter and intra pictures, inter and intra blocks) and other factors. Which units are included and how they are included may be controlled by subgroup control information parsed by parser (320) from the coded video sequence. The flow of such subgroup control information between parser (320) and the following multiple units is not shown for clarity.
[0023] Beyond the functional blocks already described, the decoder 210 can be conceptually subdivided into numerous functional units, as described below. In actual implementations operating under commercial constraints, many of these units may interact closely with each other and be at least partially integrated with one another. However, for the purpose of illustrating the subject matter disclosed, the conceptual subdivision into functional units described below is appropriate.
[0024] The first unit is the scaler and / or inverse transform unit (351). The scaler and / or inverse transform unit (351) receives control information from the parser (320) as symbols (321), along with the quantized transform coefficients, including what to transform for use, block size, quantization coefficients, quantization scaling matrix, etc. The scaler and / or inverse transform unit (351) can output a block containing sample values that can be input to the aggregator (355).
[0025] In some cases, the output samples of the scaler and / or inverse unit (351) may relate to intracoded blocks, i.e., blocks that do not use predictive information from a previously reconstructed picture, but can use predictive information from a previously reconstructed portion of the current picture. Such predictive information may be supplied by the intrapicture predictive unit (352). In some cases, the intrapicture predictive unit (352) generates a block of the same size and shape as the block being reconstructed, using the surrounding already reconstructed information fetched from the current (partially reconstructed) picture (358). In some cases, the aggregator (355) adds the predictive information generated by the intrapredictive unit (352) to the output sample information supplied by the scaler and / or inverse unit (351), sample by sample.
[0026] In other cases, the output samples of the scaler and / or inverse unit (351) may relate to an interconnected and potentially motion-compensated block. In such cases, the motion-compensated prediction unit (353) may access the reference picture memory (357) to fetch samples to be used for prediction. After the fetched samples have been motion-compensated according to the symbols (321) relating to the block, those samples may be added by the aggregator (355) to the output of the scaler and / or inverse unit (referred to in this case to residual samples or residual signals) to generate output sample information. The address in the reference picture memory from which the motion-compensated prediction unit fetches the predicted samples may be controlled by a motion vector. The motion vector is available to the motion-compensated prediction unit in the form of a symbol (321) which may have, for example, X, Y, and reference picture components. Motion compensation may also include interpolation of sample values fetched from the reference picture memory when the exact motion vector of a subsample is used, and motion vector prediction mechanisms, etc.
[0027] The output samples of the aggregator (355) can undergo various loop filtering techniques in the loop filter unit (356). The video compression technique may include an in-loop filtering technique. This technique is contained in the coded video bitstream and is controlled by parameters made available to the loop filter unit (356) as symbols (321) from the parser (320), but can also respond to metadata obtained during decoding of the preceding portion (in the decoding order) of the coded picture or coded video sequence, and further, can respond to previously configured loop-filtered sample values.
[0028] The output of the loop filter unit (356) is output to the render device (212) and can also be a sample stream that can be stored in reference picture memory for use in future interpicture prediction.
[0029] A particular coded picture, once fully reconfigured, can be used as a reference picture for future predictions. Once a coded picture is fully reconfigured and identified as a reference picture (e.g., by the parser (320)), the current reference picture (358) can become part of the reference picture memory (357), and any unused current picture memory can be reallocated before starting the reconfiguration of subsequent coded pictures.
[0030] The video decoder (210) may perform decoding operations according to a predetermined video compression technique, which may be documented in standards such as ITU-T Rec. H.265. The coded video sequence may conform to the syntax specified by the video compression technique or standard in use, in the sense that it conforms to the syntax of the video compression technique or standard defined in the video compression technique documentation or standard, specifically in the profile documentation therewith. Furthermore, the complexity of the coded video sequence must be within the boundaries defined by the level of the video compression technique or standard for compliance purposes. In some cases, the level limits the maximum picture size, maximum frame rate, maximum reconstruction sample rate (e.g., measured in megasamples / second), maximum reference picture size, etc. The limits set by the level may, in some cases, be further limited through the Hypothetical Reference Decoder (HRD) specification and metadata for HRD buffer management notified in the coded video sequence.
[0031] In an embodiment, the receiver (310) may receive additional (redundant) data along with the encoded video. The additional data may also be included as parts of the coded video sequence. The additional data may be used by the video decoder (210) to properly decode the data and / or to more accurately reconstruct the original video data. The additional data may take the form of, for example, time, space, or SNR enhancement layers, redundant slices, redundant pictures, forward error correction codes, etc.
[0032] Figure 4 may be a functional block diagram of a video encoder (203) according to an embodiment of the present disclosure.
[0033] The encoder (203) may receive a video sample from a video source (201) (not the encoder itself) that can capture a video image to be coded by the encoder (203).
[0034] The video source (201) may supply a source video sequence to be coded by the encoder (203) in the form of a digital video sample stream, which can be any suitable bit depth (e.g., 8-bit, 10-bit, 12-bit, etc.), any color space (e.g., BT.601 YCrCB, RGB, etc.), and any suitable sampling structure (e.g., YCrCb 4:2:0, YCrCb 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 (201) may be a camera that captures local image information as a video sequence. The video data may be supplied as a series of individual pictures that give motion when viewed sequentially. The picture itself may be organized as a spatial array of pixels, each pixel may have one or more samples depending on the sampling structure, color space, etc., in use. Those skilled in the art will readily understand the relationship between pixels and samples. This specification will focus on samples below.
[0035] According to the embodiment, the encoder (203) may encode and compress the pictures of the source video sequence into a coded video sequence (443) in real time or under any other time constraints required by the application. Enforcing an appropriate coding speed is one function of the controller (450). The controller may also control other functional units, such as those described below, and may be functionally coupled to those units. Couplings are not shown for clarity. Parameters set by the controller may include parameters related to rate control (e.g., picture skip, quantizer, lambda value of rate distortion optimization technique), picture size, group of pictures (GOP) layout, maximum motion vector search range, etc. Those skilled in the art will readily identify the other functions of the controller (450) as they may relate to the video encoder (203) optimized for a particular system design.
[0036] Some video encoders operate in what is readily apparent to those skilled in the art as a “coding loop.” In an overly simplified description, the coding loop may consist of an encoding portion of an encoder (430) (hereinafter “source coder”) (which is involved in generating symbols based on an input picture to be coded and a reference picture), and a (local) decoder (433) embedded in the encoder (203) that reconstructs the symbols to generate sample data which will also be generated by a (remote) decoder (when any compression between the symbols and the coded video bitstream is reversible with the video compression techniques considered in the disclosed subject). The reconstructed sample stream is input to a reference picture memory (434). Since the decoding of the symbol stream yields a bit-exact result that is independent of the decoder’s location (local or remote), the contents of the reference picture memory are also bit-exact between the local encoder and the remote encoder. In other words, the predictive part of the encoder "sees" the same sample values as the reference picture samples that the decoder will "see" when using the predictions during decoding. This basic principle of reference picture synchronicity (and the resulting drift when synchronicity cannot be maintained, for example, due to channel errors) is well known to those skilled in the art.
[0037] The operation of the “local” decoder (433) can be the same as that of the “remote” decoder (210), which has already been described in detail above with reference to Figure 3. Referring briefly to Figure 4, however, since symbols are available and the encoding / decoding of symbols to the coded video sequence by the entropicorder (445) and parser (320) can be reversible, the entropy-decoding portion of the decoder (210), including the channel (312), receiver (310), buffer (315), and parser (320), does not have to be fully implemented in the local decoder (433).
[0038] An observation that can be made at this point is that any decoder technique present in the decoder, other than purging / entropy decoding, must necessarily exist in substantially the same functional form in the corresponding encoder. For this reason, the disclosed subject matter focuses on the operation of the decoder. Descriptions of encoder techniques are omitted because they are the inverse of the decoder techniques described comprehensively. More detailed explanations are required only in certain areas and are given below.
[0039] As part of this operation, the source coder (430) may perform motion-compensated predictive coding. This predictively codes the input picture by referencing one or more previously coded frames from a video sequence designated as a “reference picture”. In this way, the coding engine (432) codes the difference between the pixel blocks of the reference picture and the pixel blocks of the input picture, which may be selected as predictive references for the input picture.
[0040] A local video decoder (433) may decode the coded video data of a frame that may be designated as a reference frame, based on symbols generated by the source coder (430). The operation of the coding engine (432) may, advantageously, be an irreversible process. When coded video data can be decoded by a video decoder (not shown in Figure 4), the reconstructed video sequence may typically be a copy of the source video sequence with some errors. The local video decoder (433) may recreate the decoding process that may be performed by the video decoder on the reference frame, so that the reconstructed reference frame is stored in the reference picture cache (434). In this way, the encoder (203) can locally store a copy of the reconstructed reference frame that has content in common with the reconstructed reference frame that will be acquired by the far-end video decoder (without transmission errors).
[0041] The predictor (435) may perform a predictive search of the coding engine (432). That is, in order for a new picture to be coded, the predictor (435) may search the reference picture memory (434) for specific metadata or sample data (as candidate reference pixel blocks), such as reference picture motion vectors, block shapes, etc., which may serve as appropriate predictive criteria for the new picture. The predictor (435) may operate on a sample block-by-pixel block basis to find appropriate predictive criteria. In some cases, the input picture may have predictive criteria drawn from multiple reference pictures stored in the reference picture memory (434), as determined by the search results obtained by the predictor (435).
[0042] The controller (450) may manage the coding operation of the video coder (430), including, for example, setting parameters and subgroup parameters used to encode video data.
[0043] The outputs of all the above functional units may undergo entropiccoding in an entropicorder (445). The entropicorder converts the symbols generated by the various functional units into coded video sequences by losslessly compressing the symbols according to techniques known to those skilled in the art, such as Huffman coding, variable-length coding, and arithmetic coding.
[0044] The transmitter (440) may buffer the coded video sequence generated by the entropicorder (445) to prepare it for transmission over the communication channel (460). The communication channel (460) 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 videocoder (430) with other data to be transmitted, such as coded audio data and / or auxiliary data streams (sources not shown).
[0045] The controller (450) may manage the operation of the encoder (203). During coding, the controller (450) may assign each coded picture a specific coded picture type that may affect the coding techniques that may be applied to each picture. For example, a picture may often be assigned as one of the following frame types:
[0046] An intra-picture (I-picture) may be a picture that can be coded and decoded without using any other pictures in the sequence as a source of prediction. Some video codecs allow various types of intra-pictures, including, for example, independent decoder refresh (IDR) pictures. Those skilled in the art will know such variations of I-pictures and their respective applications and characteristics.
[0047] A predictive picture (P-picture) may be a picture that can be coded and decoded by intra-prediction or inter-prediction using at most one motion vector and reference index to predict the sample values of each block.
[0048] A bidirectionally predictive picture (B-picture) may be a picture that can be coded and decoded by intra-prediction or inter-prediction using at most two motion vectors and reference indices to predict the sample values of each block. Similarly, multiple-predictive picture(s) may use more than two reference pictures and associated metadata for the reconstruction of a single block.
[0049] A source picture may generally be spatially subdivided into multiple sample blocks (e.g., 4x4, 8x8, 4x8, or 16x16 sample blocks, respectively), and each block may be coded. Blocks may be coded predictively by referring to other (already coded) blocks determined by the coding assignment applied to each picture in the block. For example, blocks of picture I may be coded unpredictably, or they may be coded predictively by referring to already coded blocks of the same picture (spatial prediction or intra-prediction). Pixel blocks of picture P may be coded unpredictably, or by spatial prediction or temporal prediction by referring to one previously coded reference picture. Blocks of picture B may be coded unpredictably, or by spatial prediction or temporal prediction by referring to one or two previously coded reference pictures.
[0050] 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. During these operations, the video coder (203) may perform various compression operations, including predictive coding operations that utilize temporal and spatial redundancy in the input video sequence. Thus, the coded video data may conform to the syntax defined by the video coding technique or standard being used.
[0051] In an 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 time / space / SNR enhancement layers, other forms of redundant data such as redundant pictures and slices, SEI messages, VUI parameter set fragments, and the like.
[0052] In recent years, the compression region aggregation or extraction of multiple semantically independent picture portions into a single video picture has attracted attention. In particular, multiple semantically independent source pictures (e.g., six cubic directions in a cubic projection 360-degree scene, or individual camera inputs in other camera surveillance setups) may require separate adaptive resolution settings to accommodate different scene-by-scene activity at a given point in time. That is, the encoder may choose to use different resampling factors for different semantically independent pictures constituting the entire 360-degree or surveillance scene at a given point in time. When combined into a single picture, then reference picture resampling must be performed, and adaptive resolution coding signaling is available for the coded portion of the picture.
[0053] The following are a few items that will be referenced for the remainder of this specification.
[0054] A subpicture refers to a rectangular arrangement of samples, blocks, macroblocks, coding units, or similar entities that are semantically grouped and can be coded independently at a modified resolution. One or more subpictures may form a picture. One or more coded subpictures may form a coded picture. One or more subpictures may be combined into a picture, and one or more subpictures may be extracted from a picture. In certain environments, one or more coded subpictures may be combined into a coded picture in a compressed region without transcoding to the same level, and in the same or other cases, one or more coded subpictures may be extracted from a coded subpicture in a compressed region.
[0055] Adaptive Resolution Change (ARC) refers to a mechanism that enables changes in the resolution of a picture or sub-picture within a coded video sequence, for example, by reference picture resampling. ARC parameters refer to the control information necessary to perform adaptive resolution change, and may include, for example, filter parameters, scaling factors, output and / or reference picture resolutions, various control flags, and so on.
[0056] In some embodiments, coding and decoding may be performed on a single, semantically independent coded video picture. Before describing the implications and implicit further complexities of coding / decoding multiple subpictures with independent ARC parameters, options for signaling ARC parameters should be described.
[0057] Referring to Figures 5A–5E, several embodiments of ARC parameter signaling are shown. As described by each embodiment, they may have specific advantages and disadvantages from the perspectives of coding efficiency, complexity, and architecture. A video coding standard or technology may select one or more of these embodiments or options known from related technologies for ARC parameter signaling. The embodiments may not be mutually exclusive and may be interchangeable, to the extent possible, based on application needs, relevant standards, or encoder selection.
[0058] For the classification of ARC parameters, Upsampling and / or downsampling coefficients that are separate or combined in the X and Y dimensions, The time dimension representing constant-speed zoom in / out for a given number of pictures is added as upsampling and / or downsampling coefficients. It may be included.
[0059] Both of the above may involve coding one or more, possibly short, syntax elements that can point to a table containing the coefficients.
[0060] Resolution may refer to the resolution in the X or Y dimensions, either combined or separately, in units of input picture, output picture, reference picture, sample, block, macroblock, CU, or any other appropriate granularity of the coded picture. If there are more than one resolution (e.g., one for the input picture and one for the reference picture), in certain cases, one set of values may be inferred from the other sets of values. Resolution may be gated, for example, by the use of flags. See below for more detailed examples.
[0061] The "warping" coordinates are of the same type as those used in H.263 Annex P and, as before, may be of the appropriate granularity described above. H.263 Annex P defines one efficient method for coding such warping coordinates, but other potentially more efficient methods may be devised, as far as they can be considered. For example, the variable-length reversible "Huffman" style coding of warping coordinates in Annex P may be replaced with a binary coding of appropriate length, in which case the length of the binary codeword may be derived, for example, from the maximum picture size and may be multiplied by a specific coefficient and offset by a specific value to allow "warping" outside the boundary of the maximum picture size.
[0062] Upsampling and / or downsampling filter parameters. In embodiments, there may be only a single filter for upsampling and / or downsampling. However, in embodiments, it may be desirable to allow for greater flexibility in filter design, which may require signaling of filter parameters. Such parameters may be selected by index in a list of possible filter designs, the filter may be fully specified (e.g., through a list of filter coefficients using appropriate entropic coding techniques), or the filter may be implicitly selected by an upsampling and / or downsampling ratio signaled according to one of the mechanisms described above, etc.
[0063] The following explanation assumes the coding of a finite set of upsampling and / or downsampling coefficients (the same coefficients are used in both the X and Y dimensions) represented by a codeword. This codeword may be variable-length coded, for example, by using Ext-Golomb codes common to specific syntax elements in video coding standards such as H.264 and H.265. One appropriate mapping of values to upsampling and / or downsampling coefficients may follow, for example, Table 1 below. [Table 1]
[0064] Many similar mappings could be devised according to the needs and capabilities of applying up and down scaling mechanisms available in video compression technologies or standards. The table may be extended to more values. The values may also be represented by entropic coding mechanisms other than Ext-Golomb code, for example, using binary coding. This may have particular advantages when the resampling coefficient is important outside of the video processing engine (firstly, the encoder and decoder) itself, for example, by MANE. It should be noted that for situations where resolution changes are not required, a short (e.g., only a single bit in the table above) Ext-Golomb code is an option. This may be more coding efficient than using binary code for the most common cases.
[0065] The number of entries in a table and their semantics may be fully or partially configurable. For example, the basic outline of a table may be carried by a “high” parameter set, such as a sequence or decoder parameter set. In embodiments, one or more such tables may be defined by a video coding technique or standard, and may be selected, for example, by a decoder or sequence parameter set.
[0066] The following describes how the upsampling and / or downsampling coefficients (ARC information), coded as described above, may be incorporated into video coding techniques or standard syntax. A similar concept applies to one or more codewords that control upsampling and / or downsampling filters. See below for an explanation of cases where relatively large amounts of data may be required for filters or other data structures.
[0067] As shown in Figure 5A, H.263 Annex P includes ARC information (502) in the form of four warping coordinates within the picture header (501), specifically in the H.263 PLUSPTYPE (503) header extension. This can be a reasonable design choice when (a) a picture header is available and (b) frequent changes in ARC information are expected. However, the overhead when using H.263 style signaling can be extremely high, and the scaling factor may not be attached to the picture boundary because the picture header may have a transient nature.
[0068] As shown in Figure 5B, JVCET-M135-v1 includes ARC reference information (505) (index) located in the picture parameter set (504), which indexes Table (506) containing target resolutions located in the sequence parameter set (507). The possible resolution arrangement in Table (506) within the sequence parameter set (507) can be justified, according to the authors' oral statements, by using SPS(507) as an interoperability negotiation point during capability exchange. Resolutions can vary per picture within the limits set by the values in Table (506) by referring to the appropriate picture parameter set (504).
[0069] Referring to Figures 5E-5E, the following embodiments may exist for carrying ARC information in a video bitstream. Each of these options has specific advantages over the embodiments described above. The embodiments may also exist simultaneously in the same video coding technology or standard.
[0070] In embodiments, for example, in the embodiment shown in Figure 5C, ARC information (509), such as the resampling (zoom) coefficient, may reside in the slice header, GOB header, tile header, or tile group header. Figure 5C illustrates an embodiment in which a tile group header (508) is used. This can be appropriate when the ARC information is small, such as a single variable-length ue(v) or fixed-length codeword of a few bits, as described above. Having the ARC information directly in the tile group header has the additional advantage that the ARC information may be applicable to subpictures represented by the tile group rather than the entire picture, for example. See also below. Furthermore, even if the video compression technique or standard intends for resolution changes that are applicable only to the entire picture (as opposed to adaptive resolution changes based on tile groups, for example), placing the ARC information in the tile group header, by placing it in the H263-style picture header, has certain advantages in terms of fault tolerance.
[0071] In embodiments, for example, in the embodiment shown in Figure 5D, the ARC information (512) itself may reside in an appropriate parameter set, such as a picture parameter set, a header parameter set, a tile parameter set, or an adaptive parameter set. Figure 5D represents an embodiment in which an adaptive parameter set (511) is used. The scope of the parameter set is advantageously not larger than a picture and can be, for example, a tile group. The use of ARC information may also be latent through the activation of the relevant parameter set. For example, a picture parameter set or equivalent may be appropriate when the video coding technique or standard intends only picture-based ARC.
[0072] In embodiments, for example, in the embodiment shown in Figure 5E, the ARC reference information (513) may reside in a tile group header (514) or a similar data structure. The reference information (513) may refer to a subset of ARC information (515) available in a parameter set (516) beyond a single picture, such as a sequence parameter set or a decoder parameter set.
[0073] As shown in Figure 6A, a tile group header (601), as a syntax structure that serves as an example of a header applicable to a (possibly rectangular) portion of a picture, can conditionally include a variable-length Exp-Golomb coded syntax element dec_pic_size_idx (602) (shown in bold). The presence of this syntax element in the tile group header can be gated when using adaptive resolution (603). Here, the flag value is not shown in bold, meaning that the flag exists in the bitstream at the time it occurs in the syntax diagram. Whether or not adaptive resolution is in use for this picture or a portion thereof can be signaled by any higher-level syntax structure in or outside the bitstream. In the example shown, adaptive resolution is signaled by a sequence parameter set as described below.
[0074] Referring to Figure 6B, an excerpt of the sequence parameter set (610) is also shown. The first syntax element shown is adaptive_pic_resolution_change_flag (611). If true, this flag can indicate the use of adaptive resolution, and conversely, may require certain control information. In the example, such control information exists conditionally based on the value of the flag based on an if() statement in the parameter set (612) and the tile group header (600).
[0075] When adaptive resolution is in use, in this example the output resolution is coded in units of samples (613). The number 613 refers to both output_pic_width_in_luma_samples and output_pic_height_in_luma_samples. Together these can define the resolution of the output picture. Further in the video coding technique or standard, specific limitations on either value may be defined. For example, a level definition may limit the total number of output samples, which can be the product of the values of those two syntax elements. Also, a particular video coding technique or standard, or an external technique or standard such as a system standard, may limit the numbering range (e.g., one or both dimensions should be divisible by a power of 2) or the aspect ratio (e.g., width and height must be in 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 technique.
[0076] In certain applications, it may be wise for the encoder to instruct the decoder to use a specific picture size rather than implicitly assuming the size is the output picture size. In this example, the syntax element reference_pic_size_present_flag(614) gates the conditional existence of the reference picture dimension(615) (as before, the number refers to both width and height).
[0077] Finally, a table of possible decoded picture widths and heights is shown. Such a table may be represented, for example, by the table directive (num_dec_pic_size_in_luma_samples_minus1)(616), where "minus1" can refer to the interpretation of the value of the syntax element. For example, there is one table entry when the coded value of the syntax element is 0. There are six table entries when the coded value is 5. For each "row" in the table, the decoded picture width and height are then included in syntax(617).
[0078] The represented table entries (617) can be indexed using the syntax element dec_pic_size_idx (602) in the tile group header. This allows for different decoding sizes, or in other words, zoom factors, for each tile group.
[0079] Certain video coding techniques or standards, such as VP9, support spatial scalability by implementing certain forms of reference picture resampling (signaled entirely differently from what is disclosed) along with temporal scalability to enable spatial scalability. In particular, certain reference pictures may be upsampled to higher resolutions using ARC-style techniques to form the base of a spatial enhancement layer. These upsampled pictures may then be refined at higher resolutions using conventional predictive mechanisms to add detail.
[0080] The embodiments described herein may be used in such environments. In certain cases, in the same or other embodiments, the value in the NAL unit header, for example, the Temporal ID field, may be used to indicate not only the time layer but also the spatial layer. Doing so may have certain advantages for a particular system design. For example, existing Selected Forwarding Units (SFUs) generated and optimized for time-layer selective forwarding based on the Temporal ID value in the NAL unit header can be used without modification for a scalable environment. To enable this, the mapping between coded pictures and the time layer must be indicated by the Temporal ID field in the NAL unit header.
[0081] In some video coding techniques, an Access Unit (AU) can refer to a coded picture, slice, tile, NAL unit, etc., captured at a given point in time and configured within each picture, slice, tile, and / or NAL unit bitstream. Such a point in time can be composition time.
[0082] In HEVC and certain other video coding technologies, a Picture Order Count (POC) value may be used to indicate a selected reference picture from among multiple reference pictures stored in a 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 may carry the same POC value, from which it can be deduced that they were generated from content of the same composition time. That is, in a scenario where two pictures / slices / tiles carry the same given POC value, it can be determined that the two pictures / slices / tiles belong to the same AU and have the same composition time. In contrast, two pictures / tiles / slices with different POC values can indicate that those pictures / slices / tiles belong to different AUs and have different composition times.
[0083] In some embodiments, this rigid relationship can be mitigated by allowing access units to include pictures, slices, or tiles with different POC values. Allowing different POC values within an AU makes it possible to use the POC values to identify potentially independently decodeable pictures / slices / tiles that have the same presentation time. This, in turn, allows for support of multiple scalable layers without changes to the reference picture selection signaling, e.g., reference picture set signaling or reference picture list signaling, as will be described in more detail below.
[0084] However, it is still desirable to be able to identify the AU to which a picture / slice / tile belongs, relative to other pictures / slices / tiles with different POC values, solely from the POC value. This can be achieved as described below.
[0085] In some embodiments, the Access Unit Count (AUC) may be signaled in higher-level syntactic structures such as NAL unit headers, slice headers, tile group headers, SEI messages, parameter sets, or AU delimiters. The AUC value may be used to identify which NAL unit, picture, slice, or tile belongs to a given AU. The AUC value may correspond to individual synthesis time instances. The AUC value is equal to a multiple of the POC value. The AUC value can be calculated by dividing the POC value by an integer value. In certain cases, division may impose a certain burden on the decoder implementation. In such cases, small constraints in the numbering space of the AUC value may allow for the substitution of division by a shift operation. For example, the AUC value is equal to the most significant bit (MSB) value of the POC value range.
[0086] In an embodiment, the value of the POC cycle (poc_cycle_au) for each AU may be signaled in a higher-level syntactic structure such as a NAL unit header, slice header, tile group header, SEI message, parameter set, or AU delimiter. poc_cycle_au may indicate how a number of different consecutive POC values may be associated with the same AU. For example, if the value of poc_cycle_au is equal to 4, then pictures, slices, or tiles with POC values between 0 and 3 may be associated with AUs with AUC values equal to 0, and pictures, slices, or tiles with POC values between 4 and 7 may be associated with AUs with AUC values equal to 1. Thus, the AUC value can be inferred by dividing the POC value by poc_cycle_au.
[0087] In some embodiments, the value of poc_cycle_au may be derived from information located, for example, in the video parameter set (VPS), which identifies the number of spatial or SNR layers in the coded video sequence. Examples of such possible relationships are briefly described below. While the derivation described above can improve coding efficiency by saving a few bits in the VPS, in some embodiments, poc_cycle_au may be explicitly coded in a suitable higher-level syntax structure hierarchically under the video parameter set so that it is possible to minimize poc_cycle_au for a given small portion of a bitstream, such as a picture. This optimization can save more bits than can be saved through the above derivation process, since the values of the POC value and / or syntax elements that indirectly reference the POC can be coded in a lower-level syntax structure.
[0088] In one embodiment, Figure 8 shows an example 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 / slice in the coded video sequence, and the syntax element slice_poc_cycle_au, which indicates the poc_cycle_au for the current slice in the slice header. When the POC value increases uniformly per AU, vps_contant_poc_cycle_per_au in the VPS may be set to equal to 1, and vps_poc_cycle_au may be signaled in the VPS. In this case, slice_poc_cycle_au may not be explicitly signaled, and the AUC value for each AU can be calculated by dividing the POC value by vps_poc_cycle_au. When the POC value does not increase uniformly per AU, vps_contant_poc_cycle_per_au in the VPS may be set to equal to 0. In this case, vps_access_unit_cnt does not need to be signaled, while slice_access_unit_cnt may be signaled in the slice header for each slice or picture. Each slice or picture may have a different slice_access_unit_cnt value. The AUC value for each AU can be calculated by dividing the POC value by slice_poc_cycle_au.
[0089] Figure 9 shows a block diagram illustrating an example of the process described above. For example, in operation S910, the VPS (or SPS) may be parsed, and in operation S920, it may be determined whether the POC cycle per AU is constant within the coded video sequence. If the POC cycle per AU is constant (YES in operation S920), then in operation S930, the value of the access unit count for a particular access unit may be calculated from the poc_cycle_au signaled for the coded video sequence and the POC value of that particular access unit. If the POC cycle per AU is not constant (NO in operation S920), then in operation S940, the value of the access unit count for a particular access unit may be calculated from the poc_cycle_au signaled at a particular level and the POC value of that particular access unit. In operation S950, the new VPS (or SPS) may be parsed.
[0090] In one embodiment, even if the POC values of the pictures, slices, or tiles may differ, pictures, slices, or tiles corresponding to an AU with the same AUC value may be associated with the same decoding or output time instance. Thus, without any mutual parsing / decoding dependencies between pictures, slices, or tiles within the same AU, all or a subset of pictures, slices, or tiles associated with the same AU may be decoded in parallel and output in the same time instance.
[0091] In one embodiment, even if the POC values of a picture, slice, or tile are different, pictures, slices, or tiles corresponding to AUs with the same AUC value may be associated with the same composite / display time instance. If the composite time is included in the container format, even if the pictures correspond to different AUs, if the pictures have the same composite time, the pictures may be displayed in the same time instance.
[0092] In embodiments, each picture, slice, or tile may have the same temporal identifier (temporal_id) in the same AU. All or a subset of pictures, slices, or tiles corresponding to a given time instance may be associated with the same time sublayer. In embodiments, each picture, slice, or tile may have the same or different spatial layer IDs (element layer_id) in the same AU. All or a subset of pictures, slices, or tiles corresponding to a given time instance may be associated with the same or different spatial layers.
[0093] Figure 7 shows an example of a video sequence structure with adaptive resolution changes and combinations of temporal_id, layer_id, and POC and AUC values. 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. The POC value increases by 1 for each picture, regardless of the values of temporal_id and layer_id. In this example, the value of poc_cycle_au is equal to 2. In an embodiment, the value of poc_cycle_au may be set to be equal to the number of (spatial scalability) layers. In this example, the POC value increases by 2, while the AUC value increases by 1.
[0094] In the embodiments described above, all or a subset of the interpicture or interlayer prediction structure and reference picture indication may be supported by using existing reference picture set (RPS) signaling or reference picture list (RPL) signaling in HEVC. In the RPS or RPL, the selected reference picture may be indicated by signaling the value of the POC, or the difference in the POC between the current picture and the selected reference picture. In the embodiments, the RPS or RPL may be used to indicate the interpicture or interlayer prediction structure without any change in signaling, but subject to the following limitations: If the value of the reference picture's temporal_id is greater than the value of the current picture's temporal_id, the current picture may not use the reference picture for motion compensation or other predictions. If the value of the reference picture's layer_id is greater than the value of the current picture's layer_id, the current picture may not use the reference picture for motion compensation or other predictions.
[0095] In embodiments, motion vector scaling based on POC differences for time motion vector prediction may be disabled across multiple pictures within an access unit. Thus, each picture may have a different POC value within the access unit, but the motion vector may not be scaled and used for time motion vector prediction within the access unit. This is because reference pictures with different POCs in the same AU are considered to be reference pictures with the same time instance. Therefore, in embodiments, the motion vector scaling function may return 1 if the reference picture belongs to the AU associated with the current picture.
[0096] In some embodiments, motion vector scaling based on the POC difference for time motion vector prediction may be optionally disabled across multiple pictures if the spatial resolution of the reference picture differs from that of the current picture. When motion vector scaling is permitted, the motion vectors are scaled based on both the POC difference and the spatial resolution ratio between the current picture and the reference picture.
[0097] In some embodiments, the motion vector may be scaled based on the AUC difference instead of the POC difference for time motion vector prediction, particularly when poc_cycle_au has non-uniform values (when vps_contant_poc_cycle_per_au == 0). Otherwise (when vps_contant_poc_cycle_per_au == 1), the motion vector scaling based on the AUC difference may be the same as the motion vector scaling based on the POC difference.
[0098] In one embodiment, when the motion vector is scaled based on the AUC difference, a reference motion vector (having the same AUC value) within the same AU containing the current picture is not scaled based on the AUC difference, but is used for motion vector prediction with or without scaling based on the spatial resolution ratio between the current picture and the reference picture.
[0099] In embodiments, the AUC value is used to identify the boundaries of the AU and for virtual reference decoder (HRD) operation that requires input and output timing at the AU granularity. In embodiments, the decoded picture having the top layer of the AU may be output for display. The AUC value and layer_id value may be used to identify the output picture.
[0100] In this embodiment, a picture may include one or more subpictures. Each subpicture may cover a local or entire area of the picture. The area supported by a subpicture may or may not overlap with the area supported by other subpictures. The area covered by one or more subpictures may or may not cover the entire area of the picture. If a picture includes subpictures, the area supported by those subpictures may be the same as the area supported by the picture.
[0101] In the embodiment, the subpicture may be coded by a coding method similar to the coding method used for the coded picture. The subpicture may be coded independently or may be coded in dependence on other subpictures or coded pictures. The subpicture may or may not have any purging dependencies from other subpictures or coded pictures.
[0102] In this embodiment, coded subpictures may be contained in one or more layers. Coded subpictures within a layer may have different spatial resolutions. The original subpictures may be spatially resampled (upsampled or downsampled), coded with different spatial resolution parameters, and included in the bitstream corresponding to the layer.
[0103] In one embodiment, where W represents the width of the subpicture and H represents the height of the subpicture, a subpicture having (W,H) may be coded and included in the coded bitstream corresponding to layer 0, while an upsampled (or downsampled) subpicture having the original spatial resolution, (W × S w,k H×S h,k A subpicture having ) may be coded and included in the coded bitstream corresponding to layer k. Here, Sw,k and S h,k respectively indicate resampling ratios in the horizontal and vertical directions. When the value of S w,k and S h,k is greater than 1, the resampling may be upsampling. On the other hand, when the value of S w,k and S h,k is less than 1, the resampling may be downsampling.
[0104] In an embodiment, the coded subpictures within a layer may have a different visual quality from that of the coded subpictures within other layers in the same or different subpictures. For example, subpicture i within layer n may be coded with quantization parameter Q i,n , while subpicture j within layer m may be coded with quantization parameter Q j,m . e
[0105] In an embodiment, the coded subpictures within a layer may be independently decodable without any parsing or decoding dependency from the coded subpictures within other layers in the same local region. A subpicture layer that can be independently decoded without referring to other subpicture layers in the same local region may be an independent subpicture layer. The coded subpictures within an independent subpicture layer may or may not have a decoding or parsing dependency from the previously coded subpictures within the same subpicture layer, but the coded subpictures may not have any dependency from the coded subpictures within other subpicture layers.
[0106] In an embodiment, coded subpictures within a layer may be dependently decodeable, having some parsing or decoding dependency from coded subpictures in other layers within the same local region. A subpicture layer that can be dependently decodeable by referencing other subpicture layers within the same local region may be a dependent subpicture layer. Coded subpictures within a dependent subpicture layer may reference coded subpictures belonging to the same subpicture, previously coded subpictures within the same subpicture layer, or both reference subpictures.
[0107] In one embodiment, a coded subpicture may include one or more independent subpicture layers and one or more dependent subpicture layers. However, at least one independent subpicture layer may exist for the coded subpicture. The value of the layer identifier (layer_id) of an independent subpicture layer, which may exist in the NAL unit header or other higher-level syntax structure, will be equal to 0. A subpicture layer having a layer_id equal to 0 may be a base subpicture layer.
[0108] In one embodiment, a picture may include 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 basic subpicture layer, while the foreground subpicture may be a non-basic (extended) subpicture layer. One or more non-basic subpicture layers may refer to the same basic layer for decoding. Assuming a is greater than b, each non-basic subpicture layer having a layer_id equal to a may refer to a non-basic subpicture layer having a layer_id equal to b.
[0109] In one embodiment, a picture may include one or more foreground subpictures, with or without background subpictures. Each subpicture may have its own base subpicture layer and one or more non-base (extended) layers. Each base subpicture layer may be referenced by one or more non-base subpicture layers. Assuming a is greater than b, each non-base subpicture layer having a layer_id equal to a may reference a non-base subpicture layer having a layer_id equal to b.
[0110] In one embodiment, a picture may include one or more foreground subpictures, with or without background subpictures. Each coded subpicture within a (basic or non-basic) subpicture layer may be referenced by one or more non-basic layer subpictures belonging to the same subpicture and one or more non-basic layer subpictures not belonging to the same subpicture.
[0111] In this embodiment, a picture may include one or more foreground subpictures, with or without background subpictures. A subpicture in layer a may be further partitioned into multiple subpictures within the same layer. One or more coded subpictures in layer b may reference partitioned subpictures in layer a.
[0112] In an embodiment, the coded video sequence (CVS) may be a group of coded pictures. The CVS may include one or more coded subpicture sequences (CSPS), which may be a group of coded subpictures covering the same local region of a picture. The CSPS may have the same or different temporal resolution as that of the coded video sequence.
[0113] In embodiments, a CSPS may be coded and contained within one or more layers. A CSPS may contain one or more CSPS layers. Decoding one or more CSPS layers corresponding to a CSPS may reconstruct a sequence of subpictures corresponding to the same local region.
[0114] In this embodiment, the number of CSPS layers corresponding to a CSPS may be the same as or different from the number of CSPS layers corresponding to other CSPS.
[0115] In some embodiments, a CSPS layer may have a different temporal resolution (e.g., frame rate) than other CSPS layers. The original (uncompressed) subpicture sequence may be temporally resampled (e.g., upsampled or downsampled), coded with different temporal resolution parameters, and included in the bitstream corresponding to the layer.
[0116] In one embodiment, a subpicture sequence having a frame rate F may be coded and included in a coded bitstream corresponding to layer 0, while the original subpicture sequence is temporally upsampled (or downsampled), F × S t,k A subpicture sequence having S may be coded and included in the coded bitstream corresponding to layer k. Here, S t,k This indicates the time sampling ratio for layer k. t,k If the value of is greater than 1, the time resampling process may be frame rate upconversion. On the other hand, S t,k If the value is less than 1, the time resampling process may be frame rate downconversion.
[0117] In an embodiment, if a subpicture having CSPS layer a is referenced by a subpicture having CSPS layer b for motion compensation or some interlayer prediction, and the spatial resolution of CSPS layer a differs from the spatial resolution of CSPS layer b, then the decoded pixels in CSPS layer a are resampled and used for reference. The resampling process may use upsampling filtering or downsampling filtering.
[0118] Figure 10 shows an example of a video stream containing a background video CSPS with a layer_id equal to 0 and multiple foreground CSPS layers. Coated subpictures may contain one or more CSPS layers, while background areas not belonging to any foreground CSPS layer may contain a base layer. The base layer may contain both background and foreground areas, while an enhancement CSPS layer may contain only the foreground area. An enhancement CSPS layer may have better visual quality than the base layer in the same area. An enhancement CSPS layer may reference the motion vectors and reconstructed pixels of the base layer corresponding to the same area.
[0119] In one embodiment, the video file contains a video bitstream corresponding to the base layer, while the CSPS layers corresponding to each sub-picture are contained in separate tracks.
[0120] In this embodiment, the video bitstream corresponding to the base layer is included in a track, while CSPS layers with the same layer_id are included in separate tracks. In this example, the track corresponding to layer k includes only the CSPS layers corresponding to layer k.
[0121] In this embodiment, each CSPS layer of each subpicture is stored in a separate track. Each track may or may not have any parsing or decoding dependencies from one or more other tracks.
[0122] In an embodiment, each track may include a bitstream corresponding to layers i to j of the CSPS layer of all or a subset of sub-pictures. Here, 0 < i <= j <= k, and k is the highest layer of CSPS.
[0123] In an embodiment, a picture includes one or more associated media data including a depth map, an alpha map, 3D geometry data, an occupancy map, etc. Such associated timed media data can be divided into one or more data sub-streams each corresponding to one sub-picture.
[0124] FIG. 11 shows an example of a video conference based on a multi-layer sub-picture method. The video stream includes one basic layer video bitstream corresponding to a background picture and one or more enhancement layer video bitstreams corresponding to foreground sub-pictures. Each enhancement layer video bitstream may correspond to a CSPS layer. On the display, the picture corresponding to the basic layer is displayed by default. The basic layer includes Picture In Picture (PIP) of one or more users. When a specific user is selected by the control of the client, the enhancement CSPS layer corresponding to the selected user can be decoded and displayed with improved quality or spatial resolution.
[0125] Figure 12 shows a block diagram illustrating an example of the process described above. For example, in operation S1210, a video bitstream containing multiple layers may be decoded. In operation S1220, a background area and one or more foreground subpictures may be identified. In operation S1230, it may be determined whether a specific subpicture area, for example, one of the foreground subpictures, is selected. If a specific subpicture area is selected (YES in operation S1240), the enhanced subpicture may be decoded and displayed. If a specific subpicture area is not selected (NO in operation S1240), the background area may be decoded and displayed.
[0126] In some embodiments, a network middlebox (e.g., a router) may select a subset of layers to send to users based on its bandwidth. Picture / subpicture organization may be used for bandwidth adaptation. For example, if a user has no bandwidth, the router may remove layers or select some subpictures based on their importance or the configuration being used. This can be done dynamically to adapt to bandwidth.
[0127] Figure 13 shows an embodiment relating to a use case of 360-degree video. When a spherical 360-degree picture, for example picture 1310, is projected onto a planar picture, the projected 360-degree picture may be partitioned into multiple subpictures as a base layer. For example, the multiple subpictures may include a rear subpicture, an upper subpicture, a right subpicture, a left subpicture, a front subpicture, and a down subpicture. An enhancement layer for a specific subpicture, for example, a front subpicture, may be coded and transmitted to the client. The decoder may be capable of decoding both the base layer containing all subpictures and the enhancement layer of the selected subpicture. If the current viewport is the same as the selected subpicture, the displayed picture may have higher quality with the decoded subpicture with the enhancement layer. Otherwise, the decoded picture containing the base layer may be displayed at lower quality.
[0128] In embodiments, any layout information for display may be present in the file as supplementary information (e.g., SEI messages or metadata). One or more decoded subpictures may be rearranged or displayed according to the signaled layout information. The layout information may be signaled by a streaming server or broadcaster, or played back by a network entity or cloud server, or determined by user-customized settings.
[0129] In the embodiment, if the 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) and upper-left corner offset information (x_offset, y_offset) may be signaled. Figure 14 shows an example of the layout of divided sub-pictures, their sub-picture size and position information, and their corresponding picture prediction structure. Layout information, including sub-picture size and sub-picture position, may be signaled in a parameter set, a slice or tile group header, or a high-level syntax structure such as an SEI message.
[0130] In this embodiment, each subpicture corresponding to an independent layer may have its own unique POC value within the AU. The POC value of each subpicture corresponding to a layer may be used when a reference picture in a picture stored in the DPB is indicated by using syntax elements in the RPS or RPL structure.
[0131] In this embodiment, the layer_id may not be used to represent the (interlayer) prediction structure, and a POC (difference) value may be used instead.
[0132] In this embodiment, a subpicture having a POC value equal to N corresponding to a layer (or local region) may or may not be used as a reference picture for motion-compensated predictions for a subpicture having a POC value equal to K+N corresponding to the same layer (or the same local region). In most cases, the value of K may be equal to the maximum number of (independent) layers, which may be the same as the number of subregions.
[0133] In one embodiment, Figure 15 shows an extended version of Figure 14. 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 one sub-region. Thus, each sub-region may be coded with one or more independent layers and zero or more dependent layers.
[0134] In one embodiment, the input picture in Figure 15 may be divided into four sub-regions. For example, the upper right sub-region may be coded as two layers, Layer 1 and Layer 4, while the lower right sub-region may be coded as two layers, Layer 3 and Layer 5. In this case, Layer 4 may refer to Layer 1 for motion-compensated prediction, while Layer 5 may refer to Layer 3 for motion compensation.
[0135] In some embodiments, in-loop filtering across layer boundaries (e.g., deblocking filtering, adaptive in-loop filtering, reshaper, bilateral filtering, or any deep learning-based filtering) may be (optionally) disabled.
[0136] In some embodiments, motion-compensated prediction or intrablock copying across layer boundaries may be (optionally) disabled.
[0137] In the embodiment, boundary padding for motion-compensated prediction or in-loop filtering at the boundaries of subpictures may be optionally applied. A flag indicating whether boundary padding is applied may be signaled in a parameter set (VPS, SPS, PPS, or APS), a slice or tile group header, or a high-level syntax structure such as an SEI message.
[0138] In this embodiment, layout information for sub-regions (or sub-pictures) may be signaled in the VPS or SPS. Figure 16A shows an example of a syntax element in the VPS, and Figure 16B shows an example of a syntax element in the SPS. In this example, vps_sub_picture_dividing_flag is signaled in the VPS. The flag may indicate whether the input picture is divided into multiple sub-regions. If 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 size of the input picture will be equal to the size of the coded picture (pic_width_in_luma_samples, pic_height_in_luma_samples) signaled in the SPS. If 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_samaples are signaled by the VPS. The values of vps_full_pic_width_in_luma_samples and vps_full_pic_height_in_luma_samaples will be equal to the width and height of the input picture, respectively.
[0139] In this embodiment, the values of vps_full_pic_width_in_luma_samples and vps_full_pic_height_in_luma_samaples may not be used for decoding, but may be used for composition and display.
[0140] In one embodiment, if 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 by the SPS corresponding to a particular layer. In this case, the size of the coded picture signaled by the SPS (pic_width_in_luma_samples, pic_height_in_luma_samples) will be equal to the width and height of the sub-region corresponding to the particular layer. Additionally, the position of the upper-left corner of the sub-region (pic_offset_x, pic_offset_y) may also be signaled by the SPS.
[0141] In this embodiment, the positional information of the upper-left corner of the sub-region (pic_offset_x, pic_offset_y) may not be used for decoding, but may be used for composition and display.
[0142] In some embodiments, layout information (size and position) of all or a subset of the subregions of an input picture, and dependency information between layers, may be signaled in a parameter set or SEI message. Figure 17 shows an example of syntax elements that indicate subregion layout information, dependency between layers, and relationships between a subregion and one or more layers. In this example, the syntax element num_sub_region indicates the number of (rectangular) subregions in the currently coded video sequence. The syntax element num_layers indicates the number of layers in the currently coded video sequence. The value of num_layers may be greater than or equal to the value of num_sub_region. If any subregion is coded as a single layer, the value of num_layers is equal to the value of num_sub_region. If one or more subregions are coded as multiple layers, the value of num_layers is greater than the value of num_sub_region. The syntax element direct_dependency_flag[i][j] indicates the dependency from the j-th layer to the i-th 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.
[0143] In an embodiment, one or more syntax elements that define an output layer set to indicate one or more layers to be output regardless of the presence or absence of profile tier level information may be signaled with a higher-level syntax structure, such as VPS, DPS, SPS, PPS, APS, or SEI message. Referring to Figure 18, the syntax element num_output_layer_sets, which indicates the number of Output Layer Sets (OLS) in a coded video sequence referencing a VPS, may be signaled with a VPS. For each output layer set, output_layer_flag may be signaled as many times as there are output layers.
[0144] In this embodiment, an output_layer_flag equal to 1 may indicate that the i-th layer is output. An output_layer_flag equal to 0 may indicate that the i-th layer is not output.
[0145] In an embodiment, one or more syntax elements defining profile tier level information for each output layer set may be signaled with a higher-level syntax structure, such as VPS, DPS, SPS, PPS, APS, or SEI message. Still referring to Figure 18, the syntax element num_profile_tier_level indicating the number of profile tier level pieces per OLS in a coded video sequence referencing a VPS may be signaled with VPS. For each output layer set, a set of syntax elements for profile tier level information or an index indicating a specific profile tier level piece within the profile tier level information may be signaled as many times as there are output layers.
[0146] In this embodiment, profile_tier_level_idx[i][j] specifies the index of the profile_tier_level() syntax structure to apply to the j-th layer of the i-th OLS within the list of profile_tier_level() syntax structures in the VPS.
[0147] In one embodiment, referring to Figure 19, the syntax elements num_profile_tile_level and / or num_output_layer_sets may be signaled when the maximum number of layers is greater than 1 (vps_max_layers_minus1>0).
[0148] In one embodiment, referring to Figure 19, a syntax element vps_output_layers_mode[i] indicating the mode of output layer signaling for the i-th output layer set may exist in the VPS.
[0149] In one embodiment, a vps_output_layers_mode[i] equal to 0 may indicate that only the highest layer is output by the i-th output layer set. A vps_output_layers_mode[i] equal to 1 may indicate that all layers are output by the i-th output layer set. A vps_output_layers_mode[i] equal to 2 may indicate that the layers output by the i-th output layer set are layers that have a vps_output_layer_flag[i][j] equal to 1. More values may be reserved.
[0150] In one 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.
[0151] In one embodiment, referring to Figure 19, the flag vps_ptl_flag[i] may exist for the i-th output layer set. Depending on the value of vps_ptl_flag[i], the profile tier level information for the i-th output layer set may or may not be signaled.
[0152] In one embodiment, referring to Figure 20, the current number of subpictures in CVS, max_subpics_minus1, may be signaled in a higher-level syntax structure, such as a VPS, DPS, SPS, PPS, APS, or SEI message.
[0153] In this embodiment, referring to Figure 20, the subpicture identifier sub_pic_id[i] of the i-th subpicture may be signaled if the number of subpictures is greater than 1 (max_subpics_minus1>0).
[0154] In an embodiment, one or more syntax elements indicating subpicture identifiers belonging to each layer of each output layer set may be signaled in the VPS. Referring to Figure 20, sub_pic_id_layer[i][j][k] indicates the k-th subpicture located in the j-th layer of the i-th output layer set. This information allows the decoder to know which subpictures can be decoded and output for each layer of a particular output layer set.
[0155] In embodiments, a picture header (PH) is a syntax structure containing syntax elements that apply to all slices of a coded picture. A picture unit (PU) is a set of NAL units, which are related to each other according to a specific classification rule, are consecutive in the decoding order, and contain exactly one coded picture. A PU may include a picture header (PH) and one or more VCL NAL units containing coded pictures.
[0156] In an embodiment, the SPS(RBSP) may be available to the decoding process before it is referenced, contained in at least one AU having a TemporalID equal to 0, or supplied through external means.
[0157] In embodiments, the SPS(RBSP) may be available to the decoding process before it is referenced, or it may be contained in at least one AU having a TemporalID equal to 0 in a CVS that includes one or more PPS that reference the SPS, or it may be supplied through external means.
[0158] In embodiments, the SPS(RBSP) may be available to the decoding process before it is referenced by one or more PPS, or it may be contained in at least one PU having a nuh_layer_id equal to the minimum nuh_layer_id value of the PPS NAL unit that references the SPS NAL unit in a CVS containing one or more PPS that reference the SPS, or it may be supplied through external means.
[0159] In an embodiment, the SPS(RBSP) may be available to the decoding process before it is referenced by one or more PPS, or it may be contained in at least one PU having a TemporalID equal to 0 and a nuh_layer_id equal to the minimum nuh_layer_id value of the PPS NAL unit that references the SPS NAL unit, or it may be supplied through external means.
[0160] In an embodiment, the SPS(RBSP) may be available to the decoding process before it is referenced by one or more PPS, or it may be contained in at least one PU having a TemporalID equal to 0 and a nuh_layer_id equal to the minimum nuh_layer_id value of the PPS NAL unit that references the SPS NAL unit in CVS, or it may be supplied through external means.
[0161] In the same or other embodiments, pps_seq_parameter_set_id may specify the value of sps_seq_parameter_set_id for the referenced SPS. The value of pps_seq_parameter_set_id may be the same for all PPS referenced by coded pictures in coded layerwise video sequences (CLVS).
[0162] In the same or other embodiments, all SPS NAL units in CVS having a specific sps_seq_parameter_set_id value may have the same content.
[0163] In the same or other embodiments, regardless of the nuh_layer_id value, SPS NAL units may share the same value space for sps_seq_parameter_set_id.
[0164] In the same or other embodiments, the nuh_layer_id value of a certain SPS NAL unit may be equal to the minimum nuh_layer_id value of the PPS NAL units that reference that SPS NAL unit.
[0165] In one embodiment, if an SPS having a nuh_layer_id equal to m is referenced by one or more PPSs having a nuh_layer_id equal to n, the layer having a nuh_layer_id equal to m may be the same as the (direct or indirect) reference layer of the layer having a nuh_layer_id equal to n or the layer having a nuh_layer_id equal to m.
[0166] In an embodiment, the PPS(RBSP) may be available to the decoding process before it is referenced, contained in at least one AU having a TemporalID equal to the TemporalID of the PPS NAL unit, or supplied through external means.
[0167] In embodiments, the PPS(RBSP) may be available to the decoding process before it is referenced, or it may be contained in at least one AU having a TemporalID equal to the TemporalID of the PPS NAL unit in a CVS that includes one or more PHs (or coded slice NAL units) that reference the PPS, or it may be supplied through external means.
[0168] In embodiments, the PPS(RBSP) may be available to the decoding process before it is referenced by one or more PHs (or coded slice NAL units), or it may be contained in at least one PU having a nuh_layer_id equal to the minimum nuh_layer_id value of the coded slice NAL unit referencing the PPS NAL unit in a CVS containing one or more PHs (or coded slice NAL units) referencing the PPS, or it may be supplied through external means.
[0169] In embodiments, the PPS(RBSP) may be available for the decoding process before it is referenced by one or more PHs (or coded slice NAL units), or it may be contained in at least one PU having a nuh_layer_id equal to the minimum nuh_layer_id value of the PPS NAL unit referencing the PPS NAL unit and a TemporalID equal to the TemporalID of the PPS NAL unit in a CVS containing one or more PHs (or coded slice NAL units) referencing the PPS, or it may be supplied through external means.
[0170] In the same or other embodiments, ph_pic_parameter_set_id in PH may specify the value of pps_pic_parameter_set_id for the referenced PPS in use. The value of pps_seq_parameter_set_id may be the same for all PPS referenced by the coded picture in CLVS.
[0171] In the same or other embodiments, all PPS NAL units in the PU that have a specific value for pps_pic_parameter_set_id may have the same content.
[0172] In the same or other embodiments, regardless of the nuh_layer_id value, PPS NAL units may share the same value space for pps_pic_parameter_set_id.
[0173] In the same or other embodiments, the nuh_layer_id of a PPS NAL unit may be equal to the minimum nuh_layer_id value of a coded slice NAL unit that references a NAL unit that references that PPS NAL unit.
[0174] In an embodiment, if a PPS having a nuh_layer_id equal to m is referenced by one or more coded slice NAL units having a nuh_layer_id equal to n, the layer having a nuh_layer_id equal to m may be the same as the (direct or indirect) reference layer of the layer having a nuh_layer_id equal to n or the layer having a nuh_layer_id equal to m.
[0175] In embodiments, the PPS(RBSP) may be available to the decoding process before it is referenced, or it may be contained in at least one AU having a TemporalID equal to the TemporalID of the PPS NAL unit in a CVS that includes one or more PHs (or coded slice NAL units) that reference the PPS, or it may be supplied through external means.
[0176] In embodiments, the PPS(RBSP) may be available to the decoding process before it is referenced by one or more PHs (or coded slice NAL units), or it may be contained in at least one PU having a nuh_layer_id equal to the minimum nuh_layer_id value of the coded slice NAL unit referencing the PPS NAL unit in a CVS containing one or more PHs (or coded slice NAL units) referencing the PPS, or it may be supplied through external means.
[0177] In embodiments, the PPS(RBSP) may be available for the decoding process before it is referenced by one or more PHs (or coded slice NAL units), or it may be contained in at least one PU having a nuh_layer_id equal to the minimum nuh_layer_id value of the PPS NAL unit referencing the PPS NAL unit and a TemporalID equal to the TemporalID of the PPS NAL unit in a CVS containing one or more PHs (or coded slice NAL units) referencing the PPS, or it may be supplied through external means.
[0178] In the same or other embodiments, ph_pic_parameter_set_id in PH may specify the value of pps_pic_parameter_set_id for the referenced PPS in use. The value of pps_seq_parameter_set_id may be the same for all PPS referenced by the coded picture in CLVS.
[0179] In the same or other embodiments, all PPS NAL units in the PU that have a specific value for pps_pic_parameter_set_id may have the same content.
[0180] In the same or other embodiments, regardless of the nuh_layer_id value, PPS NAL units may share the same value space for pps_pic_parameter_set_id.
[0181] In the same or other embodiments, the nuh_layer_id of a PPS NAL unit may be equal to the minimum nuh_layer_id value of a coded slice NAL unit that references a NAL unit that references that PPS NAL unit.
[0182] In an embodiment, if a PPS having a nuh_layer_id equal to m is referenced by one or more coded slice NAL units having a nuh_layer_id equal to n, the layer having a nuh_layer_id equal to m may be the same as the (direct or indirect) reference layer of the layer having a nuh_layer_id equal to n or the layer having a nuh_layer_id equal to m.
[0183] When a picture is encoded in a bitstream containing one or more examples with different resolutions, each coded video sequence in the layer may use reference picture resampling when the reference picture may have a different resolution than the current picture. It is desirable to specify a syntax element indicating reference picture resampling for spatial scalability or adaptive picture resolution change (ARC).
[0184] Referring to Figure 21, the output layer may refer to the layers of the output layer set. The output layer set (OLS) may refer to a set of layers containing a specified set of layers, in which one or more layers are specified to be output layers. The output layer set (OLS) layer index is the index of the layer in the OLS to the list of layers in the OLS.
[0185] A sublayer may represent a time-scalable layer of a time-scalable bitstream containing VCL NAL units and associated non-VCL NAL units with a specific value for their TemporalID variable. A sublayer representation may represent a subset of the bitstream containing NAL units of a specific sublayer and lower sublayers.
[0186] The VPS RBSP may be available to the decoding process before it is referenced, contained in at least one AU with a TemporalID equal to 0, or supplied through external means. All VPS NAL units with a specific value for vps_video_parameter_set_id in CVS may have the same content.
[0187] As shown in Figure 22, in this embodiment, vps_video_parameter_set_id provides identification of the VPS for reference by other syntax elements. The value of vps_video_parameter_set_id may be greater than 0.
[0188] In one embodiment, vps_max_layers_minus1 plus 1 may specify the maximum allowed number of layers in each CVS that references the VPS.
[0189] `vps_max_sublayers_minus1 plus 1` may specify the maximum number of time sublayers that may exist in a layer on each CVS referencing the VPS. The value of `vps_max_sublayers_minus1 plus 1` may be in the range of 0 to 6.
[0190] In an embodiment, a vps_all_layers_same_num_sublayers_flag equal to 1 may specify that the number of time sublayers is the same for all layers in each CVS referencing the VPS. A vps_all_layers_same_num_sublayers_flag equal to 0 may specify that each layer referencing the VPS may or may not have the same number of time sublayers. If none exist, the value of vps_all_layers_same_num_sublayers_flag may be inferred to be equal to 1.
[0191] In one embodiment, a vps_all_independent_layers_flag equal to 1 may indicate that all layers in CVS are coded independently without using interlayer prediction.
[0192] In an embodiment, a vps_all_independent_layers_flag equal to 0 may indicate that one or more layers in CVS may use interlayer prediction. If it is not present, vps_all_independent_layers_flag may be inferred to be equal to 1.
[0193] In this embodiment, vps_layer_id[i] may specify the nuh_layer_id value of the i-th layer. For any two non-negative integer values of m and n, when m is less than n, the value of vps_layer_id[m] is less than vps_layer_id[n].
[0194] In one embodiment, a vps_independent_layer_flag[i] equal to 1 may indicate that the layer having index i does not use interlayer prediction. A vps_independent_layer_flag[i] equal to 0 may indicate that the layer having index i may use interlayer prediction, and that a syntax element vps_direct_ref_layer_flag[i][j] exists in the VPS for j in the range of 0 to i-1. If it does not exist, the value of vps_independent_layer_flag[i] may be inferred to be equal to 1.
[0195] In one embodiment, a vps_direct_ref_layer_flag[i][j] equal to 0 may indicate that the layer having index j is not a direct reference layer for the layer having index i. A vps_direct_ref_layer_flag[i][j] equal to 1 may indicate that the layer having index j is a direct reference layer for the layer having index i. If vps_direct_ref_layer_flag[i][j] does not exist for i and j in the range of 0 or greater and vps_max_layers_minus1 or less, it may be inferred to be equal to 0. If vps_independent_layer_flag[i] is equal to 0, there may be at least one value of j in the range of 0 or greater and i-1 or less, such that the value of vps_direct_ref_layer_flag[i][j] is equal to 1.
[0196] The variables NumDirectRefLayers[i], DirectRefLayerIdx[i][d], NumRefLayers[i], RefLayerIdx[i][r], and LayerUsedAsRefLayerFlag[j] may be derived as follows:
number
[0197] The variable GeneralLayerIdx[i], which specifies the layer index of the layer whose nuh_layer_id is equal to vps_layer_id[i], may be derived as follows:
number
[0198] A requirement for bitstream conformance may be that, for any two different values of i and j, both are in the range of 0 or greater and less than or equal to vps_max_layers_minus1, and when dependencyFlag[i][j] is equal to 1, the values of chroma_fomart_idc and bit_depth_minus8 applied to the i-th layer are equal to the values of chroma_fomart_idc and bit_depth_minus8 applied to the j-th layer, respectively.
[0199] A max_tid_ref_present_flag[i] equal to 1 may indicate that the syntax element max_tid_il_ref_pics_plas1[i] exists. A max_tid_ref_present_flag[i] equal to 0 may indicate that the syntax element max_tid_il_ref_pics_plas1[i] does not exist.
[0200] A max_tid_il_ref_pics_plus1[i] equal to 0 may indicate that interlayer prediction will not be used by non-IRAP pictures in the i-th layer. A max_tid_il_ref_pics_plus1[i] greater than 0 may indicate that pictures with a TemporalID greater than max_tid_il_ref_pics_plus1[i]-1 will not be used as ILRP for decoding the picture in the i-th layer. If none exists, the value of max_tid_il_ref_pics_plus1[i] may be inferred to be equal to 7.
[0201] A value of each_layer_is_an_ols_flag equal to 1 may indicate that each OLS contains only one layer, and each layer in CVS referencing the VPS is itself an OLS, with the single layer it contains being the only output layer. A value of each_layer_is_an_ols_flag equal to 0 may indicate that 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 may be inferred to be equal to 1. Otherwise, if vps_all_independent_layers_flag is equal to 0, the value of each_layer_is_an_ols_flag may be inferred to be equal to 0.
[0202] A value of ols_mode_idc equal to 0 indicates that the total number of OLS specified by the VPS is equal to vps_max_layers_minus1+1, the i-th OLS contains layers with layer indices between 0 and i (inclusive), and for each OLS, only the highest layer within the OLS is output.
[0203] A value of ols_mode_idc equal to 1 indicates that the total number of OLS specified by the VPS is equal to vps_max_layers_minus1+1, the i-th OLS contains layers with layer indices between 0 and i (inclusive), and for each OLS, all layers within the OLS are output.
[0204] A ols_mode_idc equal to 2 may explicitly signal the total number of OLS specified by the VPS, and for each OLS, the output layer may be explicitly signaled, and other layers may be identified as direct or indirect reference layers of the output layer of the OLS.
[0205] The value of ols_mode_idc may be in the range of 0 to 2. A value of ols_mode_idc of 3 is reserved for future use by ITU-T|ISO / IEC.
[0206] If vps_all_independent_layers_flag is equal to 1 and each_layer_is_an_ols_flag is equal to 0, then the value of ols_mode_idc can be inferred to be equal to 2.
[0207] num_output_layer_sets_minus1 plus 1 may specify the total number of OLS specified by the VPS when ols_mode_idc is equal to 2.
[0208] The variable TotalNumOlss, which specifies the OLS set by the VPS, can be derived as follows:
number
[0209] An ols_output_layer_flag[i][j] equal to 1 may identify a layer with a nuh_layer_id equal to vps_layer_id[j] as the output layer of the i-th OLS when ols_mode_idc is equal to 2. An ols_output_layer_flag[i][j] equal to 0 may identify a layer with a nuh_layer_id equal to vps_layer_id[j] as the output layer of the i-th OLS when ols_mode_idc is equal to 2.
[0210] The variables NumOutputLayersInOls[i], which specifies the number of output layers in the i-th OLS; NumSubLayersInLayerInOLS[i][j], which specifies the number of sublayers in the j-th layer in the i-th OLS; OutputLayerIdInOls[i][j], which specifies the nuh_layer_id value of the j-th output layer in the i-th OLS; and LayerUsedAsOutputLayerFlag[k], which specifies whether the k-th layer is used as an output layer in at least one OLS, may be derived as follows:
number
[0211] For each value of i in the range of 0 to vps_max_layers_minus1, the values of LayerUsedAsRefLayerFlag[i] and LayerUsedAsOutputLayerFlag[i] do not both have to be equal to 0. In other words, there cannot be a layer that is neither an output layer of at least one OLS nor a direct reference layer of any other layer.
[0212] For each OLS, there may be at least one output layer. That is, for any value of i in the range of 0 to TotalNumOlss-1, the value of NumOutputLayersInOls[i] may be 0 or greater.
[0213] The variables NumLayersInOls[i], which specify the number of layers in the i-th OLS, and LayerIdInOls[i][j], which specify the nuh_layer_id value of the j-th layer in the i-th OLS, can be derived as follows:
number
[0214] The variable OlsLayerIdx[i][j], which specifies the OLS layer index of the layer having a nuh_layer_id equal to LayerIdInOls[i][j], is derived as follows:
[0215] The lowest layer in each OLS may be an independent layer. That is, for each i in the range of 0 to TotalNumOlss-1, the value of vps_independent_layer_flag[GeneralLayerIdx[LayerIdInOls[i][j]]] is equal to 1.
[0216] Each layer may be included in at least one OLS specified by the VPS. That is, for each layer having a specific value nuhLayerId of nuh_layer_id equal to one of vps_layer_id[k] for k in the range of 0 to vps_max_layers_minus1, there may be at least one pair of values i and j, where i is in the range of 0 to TotalNumOlss-1 and j is in the range of 0 to NumLayersInOls[i]-1, so that the value of LayerIdInOls[i][j] is equal to nuhLayerId.
[0217] In one embodiment, the decoding process may operate as follows for the current picture CuttPic: - PictureOutputFlag may be set as follows: - PictureOutputFlag may be set to 0 if one of the following conditions is true: - The current picture is RASL, and the NoOutputBeforeRecoveryFlag of the associated IRAP picture 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 that has 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 has a PictureOutputFlag equal to 1. - PicA has a nuh_layer_id nuhLid that is larger than that of the current picture. - PicA belongs to the output layer of the OLS (i.e., OutputLayerIdInOls[TargetOlsIdx][0] 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. - If there is no condition that is true, PictureOutputFlag may be set to equal to pic_output_flag.
[0218] After all slices of the current picture are decoded, the current decoded picture is marked as "for short-term reference only," and each ILRP entry in RefPicList[0] or RefPicList[1] is marked as "for short-term reference only."
[0219] In one embodiment, if each layer is an output layer set, PictureOutputFlag may be set to equal to pic_output_flag regardless of the value of ols_mode_idc.
[0220] In this embodiment, PictureOutputFlag is set such that 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 is set to the following conditions: PicA has a PictureOutputFlag equal to 1. PicA has a nuh_layer_id nuhLid that is larger than that of the current picture. PicA belongs to the output layer of the OLS (i.e., OutputLayerIdInOls[TargetOlsIdx][0] is equal to nuhLid) It may be set to 0 if it contains a picture PicA that satisfies all of the conditions.
[0221] In one embodiment, PictureOutputFlag may be set 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.
[0222] Reference picture resampling may enable adaptive resolution changes within a coded (layered) video sequence and spatial scalability across layers that have dependencies between layers belonging to the same output layer set.
[0223] In an embodiment, as shown in Figure 23, the sps_ref_pic_resampling_enabled_flag may indicate whether reference picture resampling is used for adaptive resolution changes within a coded video sequence referencing an SPS, or for spatial scalability across layers, signaled by a parameter set (e.g., a sequence parameter set). A sps_ref_pic_resampling_enabled_flag equal to 1 may specify that reference picture resampling is enabled and one or more slices of a picture in the CLVS refer to a reference picture with a different spatial resolution in the active entry of the reference picture list. A sps_ref_pic_resampling_enabled_flag equal to 0 may specify that reference picture resampling is disabled and no slices of a picture in the CLVS refer to a reference picture with a different spatial resolution in the active entry of the reference picture list.
[0224] In the embodiment, when sps_ref_pic_resampling_enabled_flag is equal to 1, a reference picture with a different spatial resolution for the current picture belongs to either the same layer as the layer containing the current picture or a different layer.
[0225] In other embodiments, sps_ref_pic_resampling_enabled_flag equal to 1 may specify that reference picture resampling is enabled and one or more slices of a picture in the CLVS refer to a reference picture in the active entry of the reference picture list that has a different spatial resolution or a different scaling window. Sps_ref_pic_resampling_enabled_flag equal to 0 may specify that reference picture resampling is disabled and slices of a picture in the CLVS do not refer to a reference picture in the active entry of the reference picture list that has a different spatial resolution or a different scaling window.
[0226] In one embodiment, when sps_ref_pic_resampling_enabled_flag is equal to 1, a reference picture having a different spatial resolution or a different scaling window belongs to either the same layer as the layer containing the current picture or a different layer.
[0227] In an embodiment, sps_res_change_in_clvs_allowed_flag may indicate whether the picture resolution changes within a CLVS or CVS. A sps_res_change_in_clvs_allowed_flag equal to 1 may specify that the picture spatial resolution may change within a CLVS referencing an SPS. A sps_res_change_in_clvs_allowed_flag equal to 0 may specify that the picture spatial resolution does not change within any CLVS referencing an SPS. If it is not present, the value of sps_res_change_in_clvs_allowed_flag may be inferred to be equal to 0.
[0228] In this embodiment, when sps_ref_pic_resampling_enabled_flag is equal to 1 and sps_res_change_in_clvs_allowed_flag is equal to 0, reference picture resampling is used only for spatial scalability and cannot be used for adaptive resolution changes within CLVS.
[0229] In an embodiment, reference picture resampling may be used for both spatial scalability and adaptive resolution changes within CLVS when sps_ref_pic_resampling_enabled_flag is equal to 1 and sps_res_change_in_clvs_allowed_flag is equal to 1.
[0230] pps_scaling_window_explicit_signalling_flag is equal to 1 if sps_ref_pic_resampling_enabled_flag is equal to 1, sps_res_change_in_clvs_allowed_flag is equal to 0, and sps_video_parameter_set_id is equal to 0. This means that when the picture resolution is constant within CLVS or CVS and reference picture resampling is used, the scaling window parameter should be explicitly signaled rather than inferring its value from the fitted window parameter.
[0231] In this embodiment, sps_virtual_boundaries_present_flag is signaled in SPS, as shown in Figure 23. The flag sps_virtual_boundaries_present_flag may indicate whether or not virtual boundary information is signaled in SPS.
[0232] In one embodiment, sps_virtual_boundaries_present_flag is conditionally signaled only if sps_res_change_in_clvs_allowed_flag is equal to 0. This is because virtual boundary information may not be signaled by SPS when reference picture resampling is used.
[0233] In an embodiment, sps_virtual_boundaries_present_flag equal to 1 may indicate that virtual boundary information is signaled in the SPS. sps_virtual_boundaries_present_flag equal to 0 may indicate that virtual boundary information is not signaled in the SPS. If there is one or more virtual boundaries that are signaled in the SPS, in-loop filtering is disabled between virtual boundaries in the picture referencing the SPS. In-loop filtering includes deblocking filters, sample-adaptive offset filters, and adaptive loop filtering. If none exist, the value of sps_virtual_boundaries_present_flag may be inferred to be equal to 0.
[0234] In this embodiment, sps_subpic_info_present_flag is signaled in SPS, as shown in Figure 23. The flag sps_subpic_info_present_flag may indicate whether or not subpicture partitioning information is signaled in SPS.
[0235] In one embodiment, sps_subpic_info_present_flag is conditionally signaled only if sps_res_change_in_clvs_allowed_flag is equal to 0. This is because subpicture partitioning information may not be signaled by SPS when reference picture resampling is used.
[0236] In one embodiment, sps_subpic_info_present_flag equal to 1 may indicate that subpicture information exists for the CLVS and that each picture in the CLVS may have one or more subpictures. sps_subpic_info_present_flag equal to 0 may indicate that subpicture information does not exist for the CLVS and that each picture in the CLVS has only one subpicture. If none exists, the value of sps_subpic_info_present_flag may be inferred to be equal to 0.
[0237] In one embodiment, pps_res_change_in_clvs_allowed_flag may be signaled in the PPS as shown in Figure 24. The value of pps_res_change_in_clvs_allowed_flag in the PPS may be equal to the value of sps_res_change_in_clvs_allowed_flag in the SPS referenced by the PPS.
[0238] In this embodiment, picture width and height information may be signaled by PPS only if pps_res_change_in_clvs_allowed_flag is equal to 1. If pps_res_change_in_clvs_allowed_flag is equal to 0, the picture width and height values are presumed to be equal to the maximum width and height of the picture signaled by SPS.
[0239] In an embodiment, pps_pic_width_in_luma_samples may specify the width of each decoded picture that references the PPS in units of luma samples. pps_pic_width_in_luma_samples cannot be equal to 0, should be an integer multiple of Max(8,MinCbSizeY), and should be less than or equal to sps_pic_width_max_in_luma_samples. If it does not exist, the value of pps_pic_width_in_luma_samples may be inferred to be equal to sps_pic_width_max_in_luma_samples. If sps_ref_wraparound_enabled_flag is equal to 1, the value of (CtbSizeY / MinCbSizeY+1) should be less than or equal to (pps_pic_width_in_luma_samples / MinCbSizeY-1), pps_pic_height_in_luma_samples may specify the height of each decoded picture referencing the PPS in units of luma samples. pps_pic_height_in_luma_samples cannot be equal to 0, should be an integer multiple of Max(8,MinCbSizeY), and should be less than or equal to sps_pic_height_max_in_luma_samples. If it does not exist, the value of pps_pic_height_in_luma_samples may be inferred to be equal to sps_pic_height_max_in_luma_samples.
[0240] Figures 25A–25C are flowcharts representing example processes 2500A, 2500B, and 2500C for decoding an encoded video bitstream. In some implementations, one or more process blocks in Figures 25A–25C may be executed by the decoder 210. In some implementations, one or more process blocks in Figures 25A–25C may be executed by other devices, such as the encoder 203, or by a group of devices separate from or including the decoder 210.
[0241] As shown in FIG. 25A, process 2500A may include obtaining, from the encoded video bitstream, a first flag indicating that reference picture resampling is enabled for a coded video sequence (CVS) (block 2511). In an embodiment, the first flag may correspond to sps_ref_pic_resampling_enabled_flag.
[0242] As further shown in FIG. 25A, process 2500A may include determining a value of a second flag indicating whether the picture resolution is changed in the CVS (block 2512). In an embodiment, the second flag may correspond to sps_res_change_in_clvs_allowed_flag.
[0243] As further shown in FIG. 25A, process 2500A may include determining whether the value of the second flag indicates whether the picture resolution is changed in the CVS (block 2513).
[0244] As further shown in FIG. 25A, process 2500A may include, based on the value of the second flag indicating that the picture resolution is changed in the CVS (YES in block 2513), decoding the CVS using reference picture resampling for spatial scalability and adaptive resolution change (ARC) (block 2515).
[0245] As shown in FIG. 25B, process 2500B may include determining whether the value of the second flag indicates whether the picture resolution is changed in the CVS (block 2523). In an embodiment, block 2523 of process 2500B may correspond to block 2513 of process 2500A.
[0246] As further shown in FIG. 25B, process 2500B may include obtaining a third flag indicating whether virtual boundary information is to be signaled (block 2525) based on the value of a second flag indicating that the picture resolution is not changed in CVS (NO in block 2523). In an embodiment, the third flag may correspond to sps_virtual_boundaries_present_flag.
[0247] As further shown in FIG. 25B, process 2500B may include that (YES in block 2523) based on the value of a second flag indicating that the picture resolution is changed in CVS, the third flag may not be signaled (block 2524).
[0248] As shown in FIG. 25C, process 2500C may include determining whether the value of the second flag indicates whether the picture resolution is changed in CVS (block 2533). In an embodiment, block 2533 of process 2500C may correspond to block 2513 of process 2500A.
[0249] As further shown in FIG. 25C, process 2500C may include obtaining a fourth flag indicating whether subpicture partitioning information is to be signaled (block 2535) based on the value of a second flag indicating that the picture resolution is not changed in CVS (NO in block 2533). In an embodiment, the fourth flag may correspond to sps_subpic_info_present_flag.
[0250] As further shown in FIG. 25C, process 2500C may include that (YES in block 2533) based on the value of a second flag indicating that the picture resolution is changed in CVS, the fourth flag may not be signaled (block 2534).
[0251] In embodiments, one or more blocks of processes 2500A, 2500B, and 2500C may be combined in any order. Furthermore, while Figures 25A-25C show examples of blocks of processes 2500A, 2500B, and 2500C, in some implementations, processes 2500A, 2500B, and 2500C may include additional blocks, fewer blocks, different blocks, or blocks arranged in a different way compared to those shown in Figures 25A-25C. Additionally or alternatively, two or more blocks of processes 2500A, 2500B, and 2500C may be executed in parallel.
[0252] Furthermore, the proposed method may be implemented by a processing circuit (e.g., one or more processors or one or more integrated circuits). For example, one or more processors execute a program stored in a non-temporary computer-readable medium to perform one or more of the proposed methods.
[0253] The above technology can be implemented as computer software that uses computer-readable instructions and is physically stored on one or more computer-readable media. For example, Figure 26 shows a computer system 2600 suitable for implementing a particular embodiment of the subject of disclosure.
[0254] Computer software can be coded in any suitable machine code or computer language that can follow mechanisms such as assembly, compilation, and linking to generate code containing instructions that can be executed directly or through interpretation, microcode execution, etc., by a central processing unit (CPU), graphics processing unit (GPU), etc.
[0255] The instructions can be executed on various types of computers or their components, including, for example, personal computers, tablet computers, servers, smartphones, game consoles, and devices for the Internet of Things.
[0256] The components shown in Figure 26 with respect to the computer system 2600 are illustrative in nature and are not intended to imply any limitation on the scope of use or functionality of computer software implementing embodiments of this disclosure. The configuration of the components should not be construed as having any dependency or requirement on any one or combination of components described in the exemplary embodiments of the computer system 2600.
[0257] The computer system 2600 may include certain human interface input devices. Such human interface input devices may respond to input from one or more users through, for example, tactile input (e.g., keyboard, swiping, data glove operation), voice input (e.g., voice, clapping), visual input (e.g., gestures), and olfactory input (not shown). The human interface devices may also be used to capture certain media that are not necessarily directly related to conscious human input, such as sound (e.g., speech, music, ambient sounds), images (e.g., scanned images, photographic images acquired from a still camera), and video (e.g., two-dimensional video, three-dimensional video including stereoscopic video).
[0258] The input human interface device may include one or more of the following (only one of each as shown): keyboard 2601, mouse 2602, trackpad 2603, touchscreen 2610 and associated graphics adapter, data glove, joystick 2605, microphone 2606, scanner 2607, and camera 2608.
[0259] The computer system 2600 may also include certain human interface output devices. Such human interface output devices may stimulate the senses of one or more users, for example, through tactile output, sound, light, and smell / taste. Such human interface output devices may include tactile output devices (e.g., touchscreen 2610, data glove, or tactile feedback via joystick 2605; however, there may also be tactile feedback devices that do not function as input devices). For example, such devices may include audio output devices (e.g., speaker 2609, headphones (not shown)), visual output devices (e.g., CRT screens, LCD screens, plasma screens, OLED screens, each with or without touchscreen input functionality and each with or without tactile feedback functionality, some of which may be screens 2610 capable of outputting two-dimensional visual output or output in more than three dimensions by means such as stereoscopic output, virtual reality glasses (not shown), holographic displays, and smoke tanks (not shown)), and printers (not shown).
[0260] The computer system 2600 may also include human-accessible storage devices and their associated media, such as a CD / DVD ROM / RW 2620 with CD / DVD or similar media 2621, a thumb drive 2622, a removable hard disk or solid-state drive 2623, legacy magnetic media, such as tape and floppy disks (not shown), dedicated ROM / ASIC / PLD-based devices, such as security dongles (not shown), and the like.
[0261] Those skilled in the art will understand that the term “computer-readable medium” as used in relation to the subject matter currently disclosed does not include transmission media, carrier waves, or other transient signals.
[0262] The computer system 2600 may also include interfaces to one or more communication networks. These networks can be, for example, wireless, wireline, or optical. They can also be local, wide-area, metropolitan, vehicle and industrial, real-time, latency-tolerant, etc. Examples of networks include local area networks such as Ethernet®, cellular networks including wireless LAN, GSM, 3G, 4G, 5G, LTE, etc., TV wireline or wireless wide-area digital networks including cable TV, satellite TV, and terrestrial TV, and vehicle and factory networks including CAN bus. Certain networks generally require an external network interface adapter 2654 attached to a specific general-purpose digital port or peripheral bus 2649 (e.g., a USB port on the computer system 2600). Others are generally integrated into the core of the computer system 2600 by attachment to a system bus as described below (e.g., an Ethernet network to a PC computer system, or a cellular network interface to a smartphone computer system). For example, network 2655 may be connected to peripheral bus 2649 using network interface 2654. Using any of these networks, computer system 2600 can communicate with other entities. Such communication can be unidirectional and receive-only (e.g., broadcast TV) or unidirectional and transmit-only (e.g., CAN bus to a specific CAN bus device), or it can be bidirectional to other computer systems using, for example, a local or wide-area digital network. Specific protocols or protocol stacks are available for use with each of the aforementioned networks and network interface 2654.
[0263] The above-mentioned human interface devices, human-accessible storage devices, and network interfaces may be mounted on the core 2640 of the computer system 2600.
[0264] The core 2640 may include one or more central processing units (CPUs) 2641, dedicated programmable processing units in the form of graphics processing units (GPUs) 2642, field-programmable gate arrays (FPGAs) 2643, hardware accelerators 2644 for specific tasks, etc. These devices may be connected via a system bus 2648, along with read-only memory (ROM) 2645, random-access memory (RAM) 2646, internal mass storage devices such as internal user-inaccessible hard drives, SSDs, etc. 2647. In some computer systems, the system bus 2648 may be accessible in the form of one or more physical plugs to allow expansion with additional CPUs, GPUs, etc. Peripherals may be attached directly to the core's system bus 2648 or via a peripheral bus 2649. Architectures for peripheral buses include Peripheral Component Interconnect (PCI), USB, etc.
[0265] The CPU 2641, GPU 2642, FPGA 2643, and accelerator 2644 are capable of executing specific instructions that can be combined to constitute the computer code described above. This computer code can be stored in ROM 2645 or RAM 2646. Temporary data can also be stored in RAM 2646, while persistent data can be stored, for example, in the built-in mass storage device 2647. High-speed storage and retrieval to any of the memory devices can be enabled by using cache memory. Cache memory may be closely associated with one or more CPUs 2641, GPUs 2642, mass storage devices 2647, ROM 2645, RAM 2646, etc.
[0266] Computer-readable media may contain computer code for performing various computer implementation operations. The media and computer code may be specifically designed and configured for the purposes of this disclosure, or they may be of a type commonly known and available to those with ordinary skill in computer software technology.
[0267] As an example, and not by way of limitation, a computer system having an architecture 2600, specifically a core 2640, can provide functionality as a result of a processor (including a CPU, GPU, FPGA, accelerator, etc.) executing software embodied in one or more tangible computer-readable media. Such computer-readable media can be media associated with the user-accessible mass storage device introduced above, in addition to specific storage devices of the core 2640 that are non-transitory in nature, such as the core-integrated mass storage device 2647 or ROM 2645. The software implementing various embodiments of the present disclosure is stored in such devices and is executable by the core 2640. The computer-readable media can include one or more memory devices or chips depending on specific needs. The software can cause the core 2640, and specifically the processors (including a CPU, GPU, FPGA, etc.) therein, to define data structures stored in the RAM 2646 and modify such data structures according to processes defined by the software, including causing the core 2640 to execute specific processes or specific portions of specific processes described herein. Additionally, or alternatively, the computer system can provide functionality as a result of logic (e.g., accelerator 2644) implemented in hardware or otherwise embodied in a circuit that operates instead of or in conjunction with software to execute specific processes or specific portions of specific processes described herein. References to software can, as necessary, include logic, and vice versa. References to computer-readable media can, as necessary, include circuits (e.g., integrated circuits (ICs)) storing software for execution, circuits embodying logic for execution, or both. The present disclosure encompasses any suitable combination of hardware and software.
[0268] While this disclosure has described several exemplary embodiments, there are various alternatives, substitutions, and equivalents within the scope of this disclosure. Therefore, as will be apparent, those skilled in the art can conceive of numerous systems and methods that embody the principles of this disclosure and thus fall within its spirit and scope, even if they are not expressly illustrated or described herein.
Claims
1. 1. A video encoding method executed by at least one processor, comprising: coding the video sequence to generate a coded video sequence (CVS); setting a first flag indicating whether reference picture resampling is enabled for the CVS; if the first flag indicates that the reference picture resampling is enabled for the CVS, setting a second flag indicating whether picture resolution changes are allowed in the CVS; having the second flag has a first value indicating that the picture resolution is allowed to be changed in the CVS if the CVS is generated using the reference picture resampling for spatial scalability and adaptive resolution change (ARC), or has a second value indicating that the picture resolution is not changed in the CVS if the CVS is generated using the reference picture resampling for the spatial scalability but not using the reference picture resampling for the ARC. method.
2. The CVS is a coded layer-wise video sequence (CLVS). The method of claim 1.
3. The method further comprises the step of setting a third flag indicating whether virtual boundary information is signaled if the second flag has the second value indicating that the picture resolution is not changed in the CVS. The method according to claim 1 or 2.
4. The method further comprising the step of setting a fourth flag indicating whether sub-picture partitioning information is signaled if the second flag has the second value indicating that the picture resolution is not changed in the CVS.
4. The method according to any one of claims 1 to 3.
5. A scaling window parameter is signaled when the second flag has the second value indicating that the picture resolution is not changed in the CVS.
5. The method according to any one of claims 1 to 4.
6. The first flag and the second flag are signaled in a sequence parameter set (SPS).
6. The method according to any one of claims 1 to 5.
7. The method of claim 1, further comprising the step of: if the second flag has the first value indicating that the picture resolution is changed in the CVS, setting a fifth flag included in a picture parameter set (PPS) referencing the SPS to indicate that the picture resolution is changed in the CVS; If the fifth flag indicates that the picture resolution is changed in the CVS, at least one of a picture width and a picture height corresponding to the PPS is explicitly signaled. The method according to claim 6.
8. The method of claim 7, further comprising the step of: if the second flag has the second value indicating that the picture resolution is not changed in the CVS, setting a fifth flag included in a picture parameter set (PPS) referencing the SPS to indicate that the picture resolution is not changed in the CVS; If the fifth flag indicates that the picture resolution is not changed in the CVS, at least one of a picture width and a picture height corresponding to the PPS is not explicitly signaled; the at least one of the width and the height is inferred to be equal to a maximum width and / or maximum height signaled in the SPS; The method according to claim 6.
9. A video encoding device comprising: at least one memory configured to store program code; at least one processor configured to read the program code and to act as directed by the program code; having The program code, when executed by the at least one processor, causes the at least one processor to perform a method according to any one of claims 1 to 8. device.
10. A computer program which, when executed on a computer, causes the computer to carry out a method according to any one of claims 1 to 8.
11. A method for generating a video bitstream using at least one processor, comprising: setting a first flag indicating whether reference picture resampling is enabled for a coded video sequence (CVS); if the first flag indicates that reference picture resampling is enabled for the CVS, setting a second flag indicating whether picture resolution changes are allowed in the CVS; encoding the first flag and the second flag into the video bitstream to generate an encoded video bitstream including the CVS, the first flag, and the second flag; having the second flag has a first value indicating that the picture resolution is allowed to be changed in the CVS if the CVS is generated using the reference picture resampling for spatial scalability and adaptive resolution change (ARC), or has a second value indicating that the picture resolution is not changed in the CVS if the CVS is generated using the reference picture resampling for the spatial scalability but not using the reference picture resampling for the ARC. method.
