Method, computer system, and computer program for inter-layer alignment in encoded video streams
The solution addresses the challenge of managing multiple layers of encoded video data by employing methods for layer-to-layer alignment and adaptive resolution changes, resulting in improved video processing efficiency and quality.
Patent Information
- Application Number
- JP2024016751
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-10-05
- Filing Date
- 2024-02-07
- Publication Date
- 2025-05-09
- Estimated Expiration
- 2040-10-19
AI Technical Summary
Existing video coding and decoding technologies face challenges in efficiently managing and aligning multiple layers of encoded video data, particularly in scenarios requiring adaptive resolution changes for semantically independent source pictures.
The proposed solution involves methods, systems, and computer-readable media for layer-to-layer alignment in encoded video data. This includes decoding a video bitstream with multiple layers, identifying sub-picture regions, and selectively decoding and displaying either enhanced sub-pictures or background areas based on user selection.
This approach enables improved encoding, decoding, and display of video layers by allowing for adaptive resolution changes and efficient alignment of sub-picture regions, thereby enhancing video processing efficiency and quality.
Smart Images

Figure 0007674545000001 
Figure 0007674545000002 
Figure 0007674545000003
Abstract
Description
[Technical field]
[0001] This application claims priority from U.S. Provisional Patent Application No. 62 / 954,844, filed December 30, 2019, and U.S. Patent Application No. 17 / 063,025, filed October 5, 2020, both of which are incorporated herein by reference in their entireties.
[0002] This disclosure relates generally to the field of video encoding and decoding, and more specifically to referencing and ranges of parameter sets in encoded video streams. [Background technology]
[0003] Video encoding and decoding using inter-picture prediction with motion compensation has been known for several decades. Uncompressed digital video consists of a sequence of pictures, each with spatial dimensions of, for example, 1920x1080 luminance samples and associated chrominance samples. The sequence of pictures can have a fixed or variable picture rate (also informally known as frame rate), for example 60 pictures per second, i.e. a picture rate of 60 Hz. Uncompressed video has significant bitrate requirements. For example, 1080p60 4:2:0 video (1920x1080 luminance sample resolution at a frame rate of 60 Hz) with 8 bits per sample requires a bandwidth approaching 1.5 Gbit / s. One hour of such video requires more than 600 Gbytes of storage space.
[0004] One goal of video encoding and decoding may be the reduction of redundancy in the input video signal through compression. Compression can help reduce the aforementioned bandwidth or storage space requirements, possibly by more than one order of magnitude. Both lossless and lossy compression, as well as combinations of these, may be used. Lossless compression refers to techniques where an exact replica of the original signal can be reconstructed from the compressed original signal. When using lossy compression, the reconstructed signal may not be identical to the original signal, but the distortion between the original signal and the reconstructed signal is small enough to make the reconstructed signal useful for the intended application. For video, lossy compression is widely used. The amount of acceptable distortion depends on the application, e.g., a user of a particular consumer streaming application may tolerate higher distortion than a user of a television contribution application. The achievable compression ratio reflects this, and higher acceptable / tolerable 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, transform, quantization, and entropy coding, some of which are introduced below.
[0006] Historically, video encoders and decoders have tended to work with a given picture size that is mostly defined and left constant for a coded video sequence (CVS), a group of pictures (GOP), or a similar multi-picture time frame. For example, in MPEG-2, system designs are known that vary the horizontal resolution (and therefore the picture size) depending on factors such as scene activity, but only in I-pictures and therefore typically only for GOPs. Resampling of reference pictures to use different resolutions within a CVS is known, for example, from ITU-T Recommendation H.263 Annex P. However, there the picture size remains the same and only the reference pictures are resampled, possibly to only the part of the picture canvas that is used (in the case of downsampling) or only the part of the scene that is captured (in the case of upsampling). H.263 Annex Q also allows resampling of individual macroblocks by a factor of two (in each dimension) upwards or downwards. Again, the picture size remains the same: the macroblock size is fixed in H.263 and therefore does not need to be signaled.
[0007] In modern video coding, picture size changes in predicted pictures have become more mainstream. For example, VP9 allows resampling and resolution changes of reference pictures for the entire picture. Similarly, certain proposals made for VVC (e.g., Hendry et al., “On adaptive resolution change (ARC) for VVC”, Joint Video Team document JVET-M0135-v1, Jan. 9-19, 2019, incorporated herein by reference in its entirety) allow resampling of the entire reference picture to a different resolution, either higher or lower. In that document, it is proposed that multiple different candidate resolutions be coded in the sequence parameter set and referenced by per-picture syntax elements in the picture parameter set. Summary of the Invention
[0008] Embodiments relate to methods, systems, and computer-readable media for inter-layer alignment in encoded video data. According to one aspect, a method for inter-layer alignment in encoded video data is provided. The method may include decoding a video bitstream having multiple layers. One or more sub-picture regions are identified from among the multiple layers of the decoded video bitstream, the sub-picture regions including a background region and one or more foreground sub-picture regions. Based on a determination that a foreground sub-picture region has been selected, an enhanced sub-picture is decoded and displayed. Based on a determination that a foreground sub-picture region has not been selected, the background region is decoded and displayed.
[0009] According to another aspect, a computer system for inter-layer alignment in encoded video data is provided. The computer system may include one or more processors, one or more computer readable memories, one or more computer readable tangible storage devices, and program instructions stored in at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, such that the computer system can perform a method. The method may include decoding a video bitstream having multiple layers. One or more sub-picture regions are identified from among the multiple layers of the decoded video bitstream, the sub-picture regions including a background region and one or more foreground sub-picture regions. Based on a determination that a foreground sub-picture region has been selected, an enhanced sub-picture is decoded and displayed. Based on a determination that a foreground sub-picture region has not been selected, the background region is decoded and displayed.
[0010] According to yet another aspect, a computer-readable medium for inter-layer alignment in encoded video data is provided. The computer-readable medium may include one or more computer-readable storage devices and program instructions stored in at least one of the one or more storage devices and executable by a processor. The program instructions are executable by a processor to perform a method, the method may include decoding a video bitstream having multiple layers in accordance therewith. One or more sub-picture regions are identified from among the multiple layers of the decoded video bitstream, the sub-picture regions including a background region and one or more foreground sub-picture regions. Based on a determination that a foreground sub-picture region has been selected, an enhanced sub-picture is decoded and displayed. Based on a determination that a foreground sub-picture region has not been selected, the background region is decoded and displayed. [Brief description of the drawings]
[0011] These and other objects, features and advantages will become apparent from the following detailed description of illustrative embodiments, which is to be read in connection with the accompanying drawings, in which the various features are not drawn to scale, as the illustrations are for clarity in facilitating understanding by those skilled in the art in connection with the detailed description. [Figure 1] FIG. 1 is a schematic diagram of a simplified block diagram of a communication system according to one embodiment. [Diagram 2] FIG. 1 is a schematic diagram of a simplified block diagram of a communication system according to one embodiment. [Diagram 3] FIG. 2 is a schematic diagram of a simplified block diagram of a decoder according to one embodiment. [Figure 4] FIG. 2 is a schematic diagram of a simplified block diagram of an encoder according to one embodiment. [Diagram 5] FIG. 2 is a schematic diagram of options for signaling ARC parameters according to an embodiment, according to an embodiment; [Figure 6] 4 is an example of a syntax table according to one embodiment. [Figure 7] FIG. 1 is a schematic diagram of a computer system according to one embodiment. [Figure 8] 1 is an example of a prediction structure for scalability with adaptive resolution change. [Figure 9] 4 is an example of a syntax table according to one embodiment. [Figure 10] A schematic diagram of a simplified block diagram of parsing and decoding poc cycles per access unit and access unit count values. [Figure 11] FIG. 2 is a schematic diagram of a video bitstream structure with multi-layered sub-pictures according to one embodiment. [Figure 12] FIG. 2 is a schematic diagram of a display of a selected sub-picture at an enhanced resolution. [Figure 13] FIG. 2 is a block diagram of a decoding and display process for a video bitstream with multi-layered sub-pictures. [Figure 14] FIG. 1 is a schematic diagram of a 360 video display using a sub-picture enhancement layer. [Figure 15] 1 is an example of layout information for a sub-picture and its corresponding layer and picture prediction structure. [Figure 16] 1 is an example of sub-picture layout information and its corresponding layer and picture prediction structure using local region spatial scalability modality. [Figure 17] 13 is an example of a syntax table for sub-picture layout information. [Figure 18] 13 is an example of a syntax table of an SEI message regarding sub-picture layout information. [Figure 19] 13 is an example syntax table showing output layers and profile / tier / level information for each output layer set. [Figure 20] 13 is an example syntax table showing the output layer mode on for each output layer set. [Figure 21] 13 is an example of a syntax table showing the current sub-picture of each layer for each output layer set. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] Although detailed embodiments of the claimed structures and methods are disclosed herein, it is to be understood that the disclosed embodiments are merely illustrative of the claimed structures and methods, which may be implemented in various forms. These structures and methods, however, may be embodied in many different forms and should not be construed as being limited to the exemplary embodiments set forth herein. Rather, these exemplary embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope to those skilled in the art. In the description, details of well-known mechanisms and techniques may be omitted so as not to unnecessarily obscure the presented embodiments.
[0013] FIELD OF THE DISCLOSURE Embodiments relate generally to the field of data processing, and more specifically to media processing. Exemplary embodiments described below provide, among other things, systems, methods, and computer programs that enable alignment between multiple layers of encoded video data. Accordingly, some embodiments have the ability to improve the field of computing through improved video encoding and decoding.
[0014] As mentioned above, video encoders and decoders have tended to work with a given picture size that is mostly defined and left constant for a coded video sequence (CVS), a group of pictures (GOP), or a similar multi-picture time frame. For example, in MPEG-2, system designs are known that vary the horizontal resolution (and therefore the picture size) depending on factors such as scene activity, but only in I-pictures and therefore typically only for GOPs. Resampling of reference pictures to use different resolutions within a CVS is known, for example, from ITU-T Recommendation H.263 Annex P. However, there the picture size remains the same and only the reference pictures are resampled, possibly to only the part of the picture canvas that is used (in the case of downsampling) or only the part of the scene that is captured (in the case of upsampling). H.263 Annex Q also allows resampling of individual macroblocks by a factor of two (in each dimension) upwards or downwards. Again, the picture size remains the same: the macroblock size is fixed in H.263 and therefore does not need to be signaled.
[0015] However, for example, in the context of 360 coding or certain surveillance applications, multiple semantically independent source pictures (e.g., six cubic surfaces of a cubic projected 360 scene, or individual camera inputs in case of a multi-camera surveillance setup) may require separate adaptive resolution settings to address different activities per scene at a given time. In other words, an encoder may choose to use different resampling factors for multiple different semantically independent pictures that make up the entirety of a 360 scene or surveillance scene at a given time. When combined into a single picture, it requires that resampling of the reference pictures is performed and that adaptive resolution coding signaling is available for multiple parts of the picture to be coded. Therefore, it may be advantageous to use the available adaptive resolution coding signaling data for better alignment, coding, decoding, and display of the video layers.
[0016] FIG. 1 illustrates a simplified block diagram of a communication system (100) according to one embodiment of the present disclosure. The system (100) may include at least two terminals (110-120) interconnected via a network (150). In a one-way transmission of data, a first terminal (110) may encode video data at a local location for transmission to the other terminal (120) via the network (150). The second terminal (120) may receive the other terminal's encoded video data from the network (150), decode the encoded data, and display the reconstructed video data. One-way data transmission may be common in media service provisioning applications and the like.
[0017] 1 illustrates a second pair of terminals (130, 140) arranged to support bidirectional transmission of encoded video, such as may occur during a video conference. In the bidirectional transmission of data, each terminal (130, 140) may encode video data captured at a local location for transmission to the other terminal over the network (150). Each terminal (130, 140) may also receive encoded video data transmitted by the other terminal, decode the encoded data, and display the reconstructed video data on a local display device.
[0018] Although the terminals (110-140) may be illustrated in FIG. 1 as servers, personal computers, and smartphones, the principles of the present disclosure are not so limited. Embodiments of the present disclosure find application in laptop computers, tablet computers, media players, and / or dedicated video conferencing equipment. The network (150) represents any number of networks that convey encoded video data between the terminals (110-140), including, for example, wired and / or wireless communication networks. The communication network (150) may exchange data over circuit-switched and / or packet-switched channels. Exemplary networks include telecommunications networks, local area networks, wide area networks, and / or the Internet. For purposes of this description, the architecture and topology of the network (150) may not be important to the operation of the present disclosure, unless otherwise described below.
[0019] 2 illustrates the arrangement of video encoders and decoders in a streaming environment as an example of an application of the subject matter of this disclosure, which may be equally applicable to other uses in which video can be used, including, for example, video conferencing, digital TV, and storage of compressed video on digital media including CDs, DVDs, memory sticks, and the like.
[0020] The streaming system may include a capture subsystem (213), which may include a video source (201), such as a digital camera, that produces an uncompressed video sample stream (202). The sample stream (202) is depicted as a thick line to emphasize its high data volume compared to an 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 aspects of the subject matter of this disclosure, which are described in more detail below. The encoded video bitstream (204) is depicted as a thin line to emphasize its low data volume compared to the sample stream, and may be stored on a streaming server (205) for later use. One or more streaming clients (206, 208) may access the streaming server (205) to retrieve copies (207, 209) of the encoded video bitstream (204). The client (206) may include a video decoder (210) that decodes a copy (207) of the incoming encoded video bitstream and produces an outgoing video sample stream (211) that may be rendered on a display (212) or other rendering device (not shown). In some streaming systems, the video bitstreams (204, 207, 209) may be encoded according to a particular video encoding / compression standard. Examples of such standards include ITU-T Recommendation H.265. A video encoding standard informally known as Versatile Video Coding, or VVC, is under development. The subject matter of this disclosure may be used in the context of VVC.
[0021] FIG. 3 may be a functional block diagram of a video decoder (210) in accordance with one or more embodiments.
[0022] A receiver (310) may receive one or more coded video sequences to be decoded by the decoder (210), and in the same or other embodiments may receive one coded video sequence at a time, with the decoding of each coded video sequence being independent of the other coded video sequences. The coded video sequences may be received from a channel (312), which may be a hardware / software link to a storage device that stores the coded video data. The receiver (310) may receive the coded video data along with other data, such as coded audio data and / or auxiliary data streams, which may be forwarded to their respective using entities (not shown). The receiver (310) may separate the coded video sequences from the other data. To combat network jitter, a buffer memory (315) may be coupled between the receiver (310) and the entropy decoder / parser (320) (hereinafter the "parser"). When the receiver 310 is receiving data from a store / forward device with sufficient bandwidth and controllability or from an isosynchronous network, the buffer 315 may not be needed or can be made small. For use over a best-effort packet network such as the Internet, the buffer 315 may be needed and can be made relatively large and, advantageously, of an adaptable size.
[0023] The video decoder (210) may include a parser (320) for reconstructing symbols (321) from the entropy coded video sequence. These categories of symbols may include information used to manage the operation of the decoder (210) and possibly information for controlling a rendering device, such as a display (212). A rendering device, such as a display (212), may not be an integral part of the decoder, but may be coupled to the decoder as shown in FIG. 2. The control information for the rendering device(s) may be in the form of a Supplementary Enhancement Information (SEI) message or a Video Usability Information (VUI) parameter set fragment (not shown). The parser (320) may parse / entropy decode the received coded video sequence. The coding of the coded video sequence may be according to a video coding technique or standard and may follow principles well known to those skilled in the art, including variable length coding, Huffman coding, arithmetic coding with or without context sensitivity, etc. The parser (320) may extract from the coded video sequence a set of subgroup parameters for at least one of the subgroups of pixels in the video decoder based on at least one parameter corresponding to the group. The subgroups may include a group of pictures (GOP), a picture, a tile, a slice, a macroblock, a coding unit (CU), a block, a transform unit (TU), a prediction unit (PU), etc. The entropy decoder / parser may also extract information from the coded video sequence information, such as transform coefficients, quantization parameter values, motion vectors, etc.
[0024] The parser (320) may perform an entropy decoding / parsing process on the video sequence received from the buffer (315) to produce symbols (321).
[0025] The reconstruction of the symbols (321) may involve several different units, depending on the type of coded video picture or portion thereof and other factors (e.g., inter-picture and intra-picture, inter-block and intra-block, etc.). Which units are involved and how can be controlled by subgroup control information parsed from the coded video sequence by the parser (320). The flow of such subgroup control information between the parser (320) and the following units is not shown for the sake of clarity.
[0026] Beyond the functional blocks already described, the decoder 210 can be conceptually subdivided into a number of functional units, as described below. In a practical implementation operating under commercial constraints, many of these units may interact closely with each other and may be at least partially integrated with each other. However, for purposes of describing the subject matter of this disclosure, the following conceptual subdivision into functional units is adequate:
[0027] The first unit is a scalar / inverse transform unit (351). The scalar / inverse transform unit (351) receives the quantized transform coefficients as symbol(s) (321) from the parser (320), along with control information including which transform to use, block size, quantization factor, quantization scaling matrix, etc. It can output blocks with sample values that can be input to an aggregator (355).
[0028] In some cases, the output samples of the scaler / inverse transform (351) may relate to intra-coded blocks, i.e., blocks that do not use prediction information from a previously reconstructed picture, but can use prediction information from a previously reconstructed part of the current picture. Such prediction information can be provided by an intra-picture prediction unit (352). In some cases, the intra-picture prediction unit (352) generates a block of the same size and shape as the block being reconstructed using surrounding already reconstructed information fetched from the current (partially reconstructed) picture (356). The aggregator (355) optionally adds, on a sample-by-sample basis, the prediction information generated by the intra-prediction unit (352) to the output sample information provided by the scaler / inverse transform unit (351).
[0029] In other cases, the output samples of the scalar / inverse transform unit (351) may relate to a block that may be inter-coded and motion-compensated. In such cases, the motion compensation prediction unit (353) may access the reference picture memory (357) to fetch samples used for prediction. After motion compensating the fetched samples according to the symbols (321) related to the block, these samples may be added by the aggregator (355) to the output of the scalar / inverse transform unit (referred to as residual samples or residual signals in this case) to generate output sample information. The addresses in the reference picture memory from which the motion compensation unit fetches prediction samples may be controlled by motion vectors available to the motion compensation unit, for example in the form of symbols (321) that may have X, Y, and reference picture components. Motion compensation may also include interpolation of sample values fetched from the reference picture memory when sub-sample accurate motion vectors are used, motion vector prediction mechanisms, etc.
[0030] The output samples of the aggregator (355) may be subjected to various loop filtering techniques in a loop filter unit (356). Video compression techniques may include in-loop filter techniques, which are controlled by parameters included in the coded video bitstream and made available to the loop filter unit (356) as symbols (321) from the parser (320), but may also be responsive to meta-information obtained during decoding of previous portions of the coded picture or coded video sequence (in decoding order), as well as to previously reconstructed loop filtered sample values.
[0031] The output of the loop filter unit (356) may be a sample stream that can be output to a rendering device (212), which may also be stored in a reference picture memory (357) for use in future inter-picture prediction.
[0032] Once a particular coded picture is fully reconstructed, it can be used as a reference picture for future prediction. Once a coded picture is fully reconstructed and identified as a reference picture (e.g., by the parser (320)), the current reference picture (356) can become part of the reference picture buffer (357) and a new current picture memory can be reallocated before beginning reconstruction of the next coded picture.
[0033] The video decoder 210 may perform the decoding process according to a given video compression technique, which may be documented in a standard, such as ITU-T Recommendation H.235. The encoded video sequence may comply with the syntax defined by the video compression technique or standard used, in the sense of adhering to the syntax of the video compression technique or standard as defined in the video compression technique document or standard, in particular in the profile documents therein. Also necessary for compliance is that the complexity of the encoded video sequence is within the limits defined by the level of the video compression technique or standard. In some cases, the level constrains the maximum picture size, maximum frame rate, maximum reconstruction sample rate (e.g., measured in megasamples per second), maximum reference picture size, etc. The limits set by the level may be further constrained in some cases through a Hypothetical Reference Decoder (HRD) specification and metadata for HRD buffer management signaled in the encoded video sequence.
[0034] In one embodiment, the receiver (310) may receive additional (redundant) data along with the encoded video. The additional data may be included as part of the encoded video sequence(s). The additional data may be used by the video decoder (210) to properly decode the data and / or to more accurately reconstruct the original video data. The additional data may be in the form of, for example, temporal, spatial, or SNR enhancement layers, redundant slices, redundant pictures, forward error correction codes, etc.
[0035] FIG. 4 may be a functional block diagram of a video encoder (203) according to one embodiment of the disclosure.
[0036] The encoder (203) may receive video samples from a video source (201) (not part of the encoder) that may capture the video image(s) that are encoded by the encoder (203).
[0037] The video source (201) may provide a source video sequence to be encoded by the encoder (203) in the form of a digital video sample stream that may be of any suitable bit depth (e.g., 8-bit, 10-bit, 12-bit, ...), any color space (e.g., BT.601 Y CrCB, RGB, ...), and any suitable sampling structure (e.g., Y CrCb 4:2:0, Y CrCb 4:4:4). In a media service provision system, the video source (201) may be a storage device that stores pre-prepared videos. In a video conferencing system, the video source (201) may be a camera that captures local image information as a video sequence. The video data may be provided as a number of individual pictures that convey motion when viewed in sequence. The pictures themselves may be organized as a spatial array of pixels, each of which may have one or more samples, depending on the sampling structure, color space, etc. used. Those skilled in the art will readily appreciate the relationship between pixels and samples. The following description focuses on samples.
[0038] According to one embodiment, the encoder (203) may encode and compress pictures of a source video sequence into an encoded video sequence (443) in real-time or under other time constraints required by the application. Enforcing an appropriate encoding rate is one function of the controller (450). The controller controls and is operatively coupled to other functional units, as described below, which couplings are not shown for clarity. Parameters set by the controller may include rate control related parameters (picture skip, quantizer, lambda value for rate distortion optimization techniques, ...), picture size, group of pictures (GOP) layout, maximum motion vector search range, etc. Those skilled in the art can readily identify other functions of the controller (450) as being relevant for the video encoder (203) to be optimized for a particular system design.
[0039] Some video encoders operate in what those skilled in the art would immediately recognize as a "coding loop." As an oversimplified explanation, the coding loop may consist of a coding part (430) of the encoder (hereafter "source coder") (responsible for creating symbols based on the input picture to be coded and the reference picture(s)) and a (local) decoder (433) embedded in the encoder (203) that reconstructs the symbols to generate sample data that the (remote) decoder may also create (since in the video compression techniques considered in the present disclosure, any compression between the symbols and the coded video bitstream is lossless). The reconstructed sample stream is input to a reference picture memory (434). Since the decoding of the symbol stream results in bit-accurate results that are independent of the decoder location (local or remote), the contents of the reference picture buffer are also bit-accurate between the local and remote encoders. In other words, the predictive part of the encoder "sees" exactly the same sample values as the decoder "sees" when using prediction during decoding. This basic principle of reference picture synchrony (and the resulting drift when synchrony cannot be maintained, for example due to channel errors) is well known to those skilled in the art.
[0040] The operation of the "local" decoder (433) may be the same as that of the "remote" decoder (210), which has already been described in detail above in connection with Figure 3. However, with brief reference also to Figure 3, because symbols are available and the encoding / decoding of the symbols into a coded video sequence by the entropy coder (445) and parser (320) may be lossless, the entropy decoding portion of the decoder (210), including the channel (312), receiver (310), buffer (315), and parser (320), may not be fully implemented in the local decoder (433).
[0041] At this point, it can be noted that any decoder technique, except for parsing / entropy decoding, present in the decoder must necessarily exist in the corresponding encoder in substantially the same functional form. For this reason, the subject matter of this disclosure focuses on the decoder operation. The description of the encoder technique can be omitted since it is the reverse of the decoder technique described in detail. Only in certain areas is a more detailed description required and is provided below.
[0042] As part of its operation, the source coder (430) may perform motion-compensated predictive coding, which predictively codes an input frame relative to one or more previously coded frames from the video sequence designated as “reference frames.” Thus, the coding engine (432) codes differences between pixel blocks of the input frame and pixel blocks of the reference frame(s) that may be selected as the prediction reference(s) for the input frame.
[0043] The local video decoder (433) may decode the encoded video data of frames that may be designated as reference frames based on symbols created by the source coder (430). The operation of the encoding engine (432) may advantageously be a lossy process. When the encoded video data may be decoded by a video decoder (not shown in FIG. 4), the reconstructed video sequence may typically be a replica of the source video sequence with some errors. The local video decoder (433) may replicate the decoding process that may be performed by a video decoder on the reference frames, causing the reconstructed reference frames to be stored in a reference picture cache (434). Thus, the encoder (203) may locally store copies of reconstructed reference frames that have common content with reconstructed reference frames that will be obtained by a far-end video decoder.
[0044] The predictor (435) may perform a predictive search for the coding engine (432). That is, for a new frame to be encoded, the predictor (435) may search the reference picture memory (434) for sample data (as candidate reference pixel blocks) or specific metadata, such as reference picture video vectors or block shapes, that may serve as suitable prediction references for the new picture. The predictor (435) may operate on a pixel block by pixel block basis to find a suitable prediction reference. In some cases, as determined by the search results obtained by the predictor (435), the input picture may have prediction references drawn from multiple reference pictures stored in the reference picture memory (434).
[0045] The controller (450) may manage the encoding process of the video coder (430), including, for example, setting the parameters and subgroup parameters used to encode the video data.
[0046] The output of all the aforementioned functional units may be subjected to entropy coding in an entropy coder (445), which converts the symbols produced by the various functional units into a coded video sequence by losslessly compressing the symbols according to techniques known to those skilled in the art, such as Huffman coding, variable length coding, arithmetic coding, etc.
[0047] A transmitter (440) may buffer the encoded video sequence produced by the entropy coder (445) and prepare it for transmission over a communication channel (460), which may be a hardware / software link to a storage device that stores the encoded video data. The transmitter (440) may merge the encoded video data from the video coder (430) with other data to be transmitted, such as encoded audio data and / or auxiliary data streams (sources not shown).
[0048] The controller (450) may manage the operation of the encoder (203). During encoding, the controller (450) may assign each encoded picture a particular encoding picture type, which may affect the encoding technique that may be applied to the respective picture. For example, pictures may often be assigned as one of the following frame types:
[0049] An intra picture (I-picture) may be something that can be encoded and decoded without using other frames in a sequence as a source of prediction. Some video codecs allow different types of intra pictures, including, for example, independent decoder refresh pictures. Those skilled in the art are aware of these variants of I-pictures, as well as their respective uses and characteristics.
[0050] A predictive picture (P-picture) may be encoded and decoded using intra- or inter-prediction, using at most one motion vector and reference index to predict the sample values of each block.
[0051] Bidirectionally predicted pictures (B-pictures) may be encoded and decoded using intra- or inter-prediction, using at most two motion vectors and reference indices to predict the sample values of each block. Similarly, multi-predictive images may use more than two reference pictures and associated metadata for the reconstruction of a single block.
[0052] A source picture is generally spatially subdivided into multiple sample blocks (e.g., blocks of 4x4, 8x8, 4x8, or 16x16 samples each) and may be coded block by block. Blocks may be predictively coded with reference to other (already coded) blocks determined by the coding assignment applied to their respective pictures. For example, blocks of I-pictures may be coded non-predictively or they may be predictively coded with reference to already coded blocks of the same picture (spatial or intra prediction). Pixel blocks of P-pictures may be coded non-predictively or via spatial or temporal prediction with reference to one previously coded reference picture. Blocks of B-pictures may be coded non-predictively or via spatial or temporal prediction with reference to one or two previously coded reference pictures.
[0053] The video coder (203) may perform an encoding process according to a given video encoding technique or standard, such as ITU-T Recommendation H.265. In operation, the video coder (203) may perform various compression processes, including predictive encoding processes that exploit temporal and spatial redundancies in the input video sequence. The encoded video data may therefore conform to a syntax defined by the video encoding technique or standard being used.
[0054] In one embodiment, the transmitter (440) may transmit additional data along with the encoded video. The video coder (430) may include such data as part of the encoded video sequence. The additional data may include temporal / spatial / SNR enhancement layers, other forms of redundant data such as redundant pictures and slices, Supplemental Enhancement Information (SEI) messages, Video Usability Information (VUI) parameter set fragments, etc.
[0055] Before describing particular aspects of the disclosed subject matter in further detail, it is necessary to introduce certain terms that will be referenced in the remainder of this description.
[0056] Subpictures hereafter refer to rectangularly organized samples, blocks, macroblocks, coding units, or similar entities that, in some cases, can be semantically grouped and coded independently at a modified resolution. One or more subpictures can form a picture. One or more coded subpictures can form a coded picture. One or more subpictures can be assembled into a picture, and one or more subpictures can be extracted from a picture. In certain circumstances, one or more coded subpictures can be assembled into a coded picture in the compressed domain without transcoding to the sample level, and in the same or certain other cases, one or more coded subpictures can be extracted from a coded picture in the compressed domain.
[0057] Adaptive Resolution Change (ARC) hereafter refers to a mechanism that allows changing the resolution of pictures or sub-pictures in a coded video sequence, for example by reference picture resampling. ARC parameters hereafter refer to the control information needed to perform adaptive resolution change, which may include, for example, filter parameters, scaling factors, output and / or reference picture resolutions, various control flags, etc.
[0058] The above description focuses on encoding and decoding a single, semantically independent coded video picture. Before describing the implications of encoding / decoding multiple sub-pictures with independent ARC parameters and the additional complexities it introduces, options for signaling the ARC parameters are described.
[0059] With reference to Figure 5, several new options for signaling ARC parameters are shown. As mentioned for each of these options, they have certain advantages and certain disadvantages in terms of coding efficiency, complexity, and architecture. A video coding standard or technology may select one or more of these options or options known from the prior art for signaling ARC parameters. These options are not mutually exclusive and may be interchanged, wherever possible, based on application needs, standards technologies involved, or encoder choices.
[0060] Classes of ARC parameters may include: - Separate or combined up / down sampling factors in the X and Y dimensions - Up / down sampling factors with the addition of a time dimension, indicating a constant speed of zooming in / out for a given number of pictures Either of the above two may involve the encoding of one or more possibly short syntax elements that may point into a table containing the factor(s). - Resolution in the X or Y dimension, either in combination or separately, of input picture, output picture, reference picture, sample of coded picture, block, macroblock, CU, or other suitable unit of granularity. If there is more than one resolution (e.g. one for input picture, one for reference picture), in certain cases one set of values can be inferred from another set of values. This can be gated, for example by use of a flag. See below for more detailed examples. - "Warping" coordinates similar to those used in H.263 Annex P, again with a suitable granularity as described above. H.263 Annex P specifies one efficient way to encode such warping coordinates, but conceivably other, possibly more efficient ways could be devised. For example, the variable length lossless "Huffman" style encoding of the Annex P warping coordinates could be replaced by a suitable length binary encoding, where the length of the binary codewords could, for example, be derived from the maximum picture size, possibly multiplied by a certain factor and offset by a certain value to allow "warping" outside the bounds of the maximum picture size. - Up- or downsampling filter parameters. In the simplest case there may be only a single filter for upsampling and / or downsampling. However, in certain cases it may be advantageous to allow more flexibility in the filter design, which may require signaling of filter parameters. Such parameters may be selected via an index in a list of possible filter designs, the filter may be fully specified (e.g. via a list of filter coefficients, using appropriate entropy coding techniques), or the filter may be selected implicitly through the up / downsampling ratio, which in turn is signaled according to any of the mechanisms mentioned above.
[0061] From here on, the description assumes the encoding of a finite set of up / down sampling coefficients (the same coefficients are used in both X and Y dimensions) that are indexed through a codeword, which can advantageously be variable length coded using Ext-Golomb codes, as prevalent for certain syntax elements in video coding specifications such as H.264 and H.265.
[0062] Many similar mappings can be devised according to the needs of the application and the capabilities of the upscaling and downscaling mechanisms available in the video compression technology or standard. This table may be extended to more values. The values may also be represented by entropy coding mechanisms other than Ext-Golomb codes, for example using binary coding. This may have certain advantages if the resampling factor is of interest outside the video processing engine (encoder and decoder first) itself, for example by MANE. Note that in the (probably) most common case where no resolution change is required, one can choose the short Ext-Golomb code, which is only one bit in the above table. This may have coding efficiency advantages over using binary codes for the most common case.
[0063] The number of entries in the table and their semantics may be fully or partially configurable. For example, the basic gist of the table may be conveyed in a "high" parameter set, such as a sequence or decoder parameter set. Alternatively, or in addition, one or more such tables may be defined in a video coding technology or standard and may be selected, for example, via a decoder or sequence parameter set.
[0064] Hereafter, we will explain how the upsampling / downsampling coefficients (ARC information) encoded as described above are included in the syntax of a video coding technique or standard. Similar considerations can be applied to one or a small number of codewords that control the up / downsampling filters. See below for a discussion of when a relatively large amount of data is required for a filter or other data structure.
[0065] H.263 Annex P includes ARC information (502) in the form of four warping coordinates in the picture header (501), specifically in the H.263 PLUSPTYPE (503) header extension. This may be a reasonable design choice when a) there is a picture header available, and b) frequent changes of the ARC information are expected. However, the overhead when using H.263-style signaling may be very high, and because picture headers may be of a temporary nature, scaling factors may not be appropriate between picture boundaries.
[0066] The JVCET-M135-v1 cited above includes ARC reference information (505) (index) located in a picture parameter set (504), which in turn indexes a table (506) containing target resolutions located in a sequence parameter set (507). The placement of possible resolutions in the table (506) in the sequence parameter set (507) can be justified, according to the verbal description given by the author, by using SPS as an interoperability negotiation point during capability exchange. Resolution can vary from picture to picture, within the limits set by the values in the table (506), by referencing the appropriate picture parameter set (504).
[0067] Still referring to Figure 5, the following additional options may exist for conveying ARC information within a video bitstream: Each of these options has certain advantages over the existing techniques discussed above. These options may also coexist in the same video coding technology or standard:
[0068] In one embodiment, the ARC information (509), e.g., resampling (zoom) factor, may be present in a slice header, a GOB header, a tile header, or a tile group header (hereafter tile group header) (508). This may be appropriate when the ARC information is small, e.g., a single variable-length ue(v) or a fixed-length codeword of a few bits, as shown above. Having the ARC information directly in the tile group header has the added advantage that the ARC information may be applicable to, e.g., a sub-picture represented by that tile group, rather than to the whole picture. See also below. Furthermore, even if a video compression technology or standard only envisages picture-wide adaptive resolution change (as opposed to, e.g., tile group-based adaptive resolution change), putting the ARC information in the tile group header has certain advantages in terms of error resilience compared to putting it in an H.263-style picture header.
[0069] In the same or another embodiment, the ARC information (512) itself may reside within an appropriate parameter set (511), such as a picture parameter set, a header parameter set, a tile parameter set, an adaptive parameter set, etc. (An adaptive parameter set is shown). The scope of this parameter set may advantageously be no larger than a picture, such as a tile group. The use of the ARC information is implicit with the activation of the associated parameter set. For example, if a video coding technology or standard only contemplates picture-based ARC, then a picture parameter set or equivalent may be appropriate.
[0070] In the same or another embodiment, the ARC reference information (513) can be present in a tile group header (514) or a similar data structure, and can reference a subset (515) of the ARC information available in a parameter set (516) that has a scope beyond a single picture, such as a sequence parameter set or a decoder parameter set.
[0071] This additional level of indirect implicit activation of the PPS from the tile group header, PPS, SPS as used in JVET-M0135-v1 seems unnecessary since picture parameter sets can be used (and have in certain standards, e.g. RFC3984) for capability negotiation or announcement, similar to sequence parameter sets. However, if the ARC information should also be applicable to e.g. sub-pictures represented by tile groups, a parameter set with activation scope limited to the tile group, e.g. an adaptation parameter set or a header parameter set, may be a better choice. Also, if the ARC information is of more than negligible magnitude and contains filter control information, e.g. a large number of filter coefficients, the parameters may be a better choice in terms of coding efficiency than using the header (508) directly, since their settings can be reused by future pictures or sub-pictures by referencing the same parameter set.
[0072] When using a sequence parameter set, or another higher parameter set with a range spanning multiple pictures, certain of the following considerations may apply.
[0073] The parameter set that stores the ARC information table (516) can be a sequence parameter set in some cases, but advantageously a decoder parameter set in other cases. A decoder parameter set can have a validity range of multiple CVSs, specifically the coded video stream, i.e., all coded video bits from session start to session release. Such a range may be more appropriate, since the possible ARC coefficients may be decoder capabilities, possibly implemented in hardware, and hardware capabilities are not likely to change with the CVS (which is a group of pictures of less than one second duration, at least in some entertainment systems). However, putting the table in a sequence parameter set is clearly included in the deployment options described herein.
[0074] The ARC reference information (513) may advantageously be placed directly in the picture / slice tile / GOB / tile group header (hereafter tile group header) (514) and not in the picture parameters as in JVCET-M0135-v1. The reason is as follows: if an encoder wants to change a single value in the picture parameter set, e.g. the ARC reference information, it has to create a new PPS and reference the new PPS. It is assumed that only the ARC reference information changes and other information, e.g. the quantization matrix information in the PPS, remains the same. Such information may be of significant size and needs to be retransmitted to complete the new PPS. Since the ARC reference information can be a single codeword, e.g. an index into a table (513), and it is the only value that changes, it may be cumbersome and wasteful to retransmit all of the quantization matrix information, for example. If so, it may be much better in terms of coding efficiency to avoid the roundabout way through the PPS, as proposed in JVET-M0135-v1. Similarly, placing the ARC reference information within the PPS has the further disadvantage that, since the scope of picture parameter set activation is the picture, the ARC information referenced by the ARC reference information (513) necessarily applies to the entire picture and not to sub-pictures.
[0075] In the same or another embodiment, the signaling of ARC parameters may follow the detailed example outlined in Figures 6A-6B. Figure 6 shows a syntax diagram in a notation as used in video coding standards since at least 1993. The notation of such syntax diagrams loosely follows C-style programming. Bold lines indicate syntax elements present in the bitstream, while non-bold lines often indicate control flow or variable setting.
[0076] The tile group header (601) as an exemplary syntax structure of a header applicable to a (possibly rectangular) part of a picture can conditionally contain the variable length Exp-Golomb coding syntax element dec_pic_size_idx (602) (shown in bold). The presence of this syntax element in the tile group header can be gated with the use of a flag value adaptive resolution (603) not shown here in bold, meaning that the flag is present in the bitstream where it occurs in the syntax diagram. Whether adaptive resolution is used for this picture or part of it can be signaled in any high level syntax structure inside or outside the bitstream. In the illustrated example, it is signaled in the sequence parameter set as outlined below.
[0077] Still referring to FIG. 6, an excerpt of a sequence parameter set (610) is also shown. The first syntax element shown is the adplicative_pic_resolution_change_flag (611). When true, this flag can indicate the use of adaptive resolution, which in turn may require specific control information. In this example, such control information is conditionally present based on the value of the flag based on an if() statement in the parameter set (612) and the tile group header (601).
[0078] When adaptive resolution is used, in this example, the output resolution is coded in samples (613). Reference 613 refers to both output_pic_width_in_luma_samples and output_pic_height_in_luma_samples, which together may define the resolution of the output picture. Specific limitations on either value may be defined elsewhere in the video coding technology or standard. For example, the level specification may limit the total number of output samples that may be the product of the values of these two syntax elements. Also, a particular video coding technology or standard, or an external technology or standard, such as a system standard, may limit the numbering range (e.g., one or both dimensions must be divisible by a power of two) or the aspect ratio (e.g., width and height must have a relationship such as 4:3 or 16:9). Such limitations may be introduced to facilitate hardware implementation or for other reasons and are well known in the art.
[0079] In certain applications, it may be desirable for the encoder to instruct the decoder to use a given reference picture size rather than implicitly assuming that size as the output picture size. In this example, the syntax element reference_pic_size_present_flag (614) gates the conditional presence of the reference picture dimensions (615) (again, this reference refers to both width and height).
[0080] Finally, a table of possible decoded picture widths and heights is shown. Such a table can be represented, for example, by a table indication (num_dec_pic_size_in_luma_samples_minus1) (616). "minus1" can refer to the interpretation of the value of this syntax element. For example, if the encoded value is zero, there is one table entry, if the value is 5, there are six table entries. For each "line" in the table, the width and height of the decoded picture are included in the syntax (617).
[0081] The presented table entries (617) can be indexed using the syntax element dec_pic_size_idx (602) in the tile group header, allowing for different decoding sizes (effectively, zoom factors) per tile group.
[0082] Certain video coding techniques or standards, such as VP9, support spatial scalability by implementing certain forms of reference picture resampling, along with temporal scalability, to enable spatial scalability. In particular, certain reference pictures may be upsampled to a higher resolution using ARC-style techniques to form the basis of spatial enhancement layers. These upsampled pictures may then be refined using conventional prediction mechanisms at that higher resolution to add detail.
[0083] The disclosed subject matter can be used in such environments. In certain cases, in the same or another embodiment, a value such as a Temporal ID field in the NAL unit header can be used to indicate not only temporal layers but also spatial layers. Doing so has certain advantages for certain system designs, e.g., existing Selected Forwarding Units (SFUs) created and optimized for a temporal layer selected based on the Temporal ID value in the NAL unit header can be used without modification for a scalable environment. To enable this, a mapping between coded picture sizes and temporal layers may need to be indicated by the Temporal ID field in the NAL unit header.
[0084] In some video coding techniques, an access unit (AU) can refer to (one or more) coded pictures, slices, tiles, NAL units, etc. that are captured at a given instance in time and composited into a respective picture / slice / tile / NAL unit bitstream. This time instance can be the composition time.
[0085] In HEVC and certain other video coding techniques, a picture order count (POC) value may be used to indicate a reference picture selected from multiple reference pictures stored in a decoded picture buffer (DPB). When an access unit (AU) has one or more pictures, slices, or tiles, each picture, slice, or tile belonging to the same AU may carry the same POC value, from which it can be derived that they are created from content of the same composition time. In other words, in a scenario where two pictures / slices / tiles carry the same POC value, it can be taken as an indication that the two pictures / slices / tiles belong to the same AU and have the same composition time. Conversely, two pictures / tiles / slices with different POC values can indicate that the pictures / slices / tiles belong to different AUs and have different composition times.
[0086] In one embodiment of the disclosed subject matter, the above strict relationship may be relaxed in that an access unit may have multiple pictures, slices, or tiles with different POC values. Allowing multiple different POC values within one AU allows the POC values to be used to identify potentially independently decodable pictures / slices / tiles with equal presentation time. This in turn may enable support for multiple scalable layers without modification of reference picture selection signaling (e.g., reference picture set signaling or reference picture list signaling), as described in more detail below.
[0087] However, it is still desirable to be able to identify, from the POC value alone, the AU to which a picture / slice / tile belongs with respect to other pictures / slices / tiles with different POC values. This can be achieved as described below.
[0088] In the same or other embodiments, an access unit count (AUC) may be signaled in a high-level syntax structure, such as a NAL unit header, a slice header, a tile group header, a SEI message, a parameter set, or an AU delimiter. The value of the AUC may be used to identify which NAL units, pictures, slices, or tiles belong to a given AU. The value of the AUC may correspond to distinct synthesis time instances. The AUC value may be equal to a multiple of the POC value. The AUC value may be calculated by dividing the POC value by an integer value. In certain cases, the division operation may impose a certain burden on the decoder implementation. In such cases, a small constraint in the numbering space of the AUC values may allow the division operation to be replaced by a shift operation. For example, the AUC value may be equal to the most significant bit (MSB) value of the POC value range.
[0089] In the same embodiment, a value of POC cycle per AU (poc_cycle_au) may be signaled in a high-level syntax structure, such as a NAL unit header, a slice header, a tile group header, an SEI message, a parameter set, or an AU delimiter. poc_cycle_au may indicate how many consecutive different POC values may be associated with the same AU. For example, if the value of poc_cycle_au is equal to 4, pictures, slices, or tiles with POC values equal to 0-3, inclusive, are associated with an AU with an AUC value equal to 0, and pictures, slices, or tiles with POC values equal to 4-7, inclusive, are associated with an AU with an AUC value equal to 1. Thus, the value of AUC may be estimated by dividing the POC value by the value of poc_cycle_au.
[0090] In the same or another embodiment, the value of poc_cycle_au may be derived from information specifying the number of spatial or SNR layers in the coded video sequence, for example located in a video parameter set (VPS). Such possible relationships are briefly described below. Although the above derivation may save a few bits in the VPS and thus improve coding efficiency, it may be advantageous to explicitly code poc_cycle_au in an appropriate high-level syntax structure hierarchically under the video parameter set, so that poc_cycle_au can be minimized for a given small portion of the bitstream, such as a picture. This optimization may save more bits than can be saved through the above derivation process, since the POC value (and / or values of syntax elements that indirectly reference POC) may be coded in a lower level syntax structure.
[0091] In the same or another embodiment, Figure 9 shows an example of a syntax table for signaling the syntax element vps_poc_cycle_au in the VPS (or SPS), which indicates the poc_cycle_au used for all pictures / slices in the coded video sequence, and the syntax element slice_poc_cycle_au, which indicates the poc_cycle_au of the current slice in the slice header. If the POC value increases uniformly per AU, vps_contant_poc_cycle_per_au in the VPS is set to 1, and vps_poc_cycle_au is signaled in the VPS. In this case, slice_poc_cycle_au is not explicitly signaled, and the value of AUC for each AU is calculated by dividing the value of POC by vps_poc_cycle_au. If the POC value does not increase uniformly per AU, vps_contant_poc_cycle_per_au in the VPS is set equal to 0. In this case, vps_access_unit_cnt is not signaled, but slice_access_unit_cnt is signaled in the slice header of each slice or picture. Each slice or picture may have a different value of slice_access_unit_cnt. The value of AUC for each AU is calculated by dividing the value of POC by slice_poc_cycle_au. Figure 10 shows a block diagram illustrating the related workflow.
[0092] In the same or other embodiments, pictures, slices, or tiles corresponding to AUs with the same AUC value may be associated with the same decoding or output time instance, even though the values of the POC of the pictures, slices, or tiles may be different. Thus, all or a subset of pictures, slices, or tiles associated with the same AU may be decoded in parallel and output at the same time instance, without cross parsing / decoding dependencies across pictures, slices, or tiles within the same AU.
[0093] In the same or other embodiments, pictures, slices, or tiles that correspond to AUs with the same AUC value may be associated with the same composition / display time instance, even though the POC values of the pictures, slices, or tiles may differ. If the composition time is included in the container format, pictures can be displayed at the same time instance if they have the same composition time, even if they correspond to different AUs.
[0094] In the same or other embodiments, each picture, slice, or tile may have the same temporal identifier (temporal_id) within the same AU. All or a subset of pictures, slices, or tiles corresponding to a time instance may be associated with the same temporal sublayer. In the same or other embodiments, each picture, slice, or tile may have the same or different spatial layer ID (layer_id) within the same AU. All or a subset of pictures, slices, or tiles corresponding to a time instance may be associated with the same or different spatial layers.
[0095] FIG. 8 shows an example of a video sequence structure with combinations of temporal_id, layer_id, POC, and AUC values with adaptive resolution change. In this example, pictures, slices, and tiles in the first AU with AUC=0 may have temporal_id=0 and layer_id=0 or 1, and pictures, slices, and tiles in the second AU with AUC=1 may have temporal_id=1 and layer_id=0 or 1. The value of POC is increased by 1 for every picture, regardless of the values of temporal_id and layer_id. In this example, the value of poc_cycle_au may be equal to 2. Preferably, the value of poc_cycle_au may be set equal to the number of (spatial scalability) layers. In this example, the value of POC is therefore increased by 2, and the value of AUC is increased by 1.
[0096] In the above embodiment, all or a subset of inter-picture or inter-layer prediction structures and reference picture indications may be supported by using the existing Reference Picture Set (RPS) signaling or Reference Picture List (RPL) signaling in HEVC. In RPS or RPL, the selected reference picture is indicated by signaling the value of POC or the delta value of POC between the current picture and the selected reference picture. In the disclosed matter, RPS and RPL can be used to indicate the inter-picture or inter-layer prediction structure without signaling changes, with the following constraints: If the value of the temporal_id of a reference picture is greater than the value of the temporal_id of the current picture, the current picture may not use that reference picture for motion compensation or other prediction. If the value of the layer_id of a reference picture is greater than the value of the layer_id of the current picture, the current picture may not use that reference picture for motion compensation or other prediction.
[0097] In the same or other embodiments, motion vector scaling based on POC difference for temporal motion vector prediction may be disabled across multiple pictures in an access unit. Thus, although each picture may have a different POC value within an access unit, motion vectors are not scaled and are not used for temporal motion vector prediction within the access unit. This is because reference pictures with different POCs within the same AU are considered as reference pictures with the same time instance. Thus, in an embodiment, if the reference picture belongs to the AU associated with the current picture, the motion vector scaling function may return 1.
[0098] In the same or other embodiments, motion vector scaling based on POC difference for temporal motion vector prediction may be optionally disabled across pictures if the spatial resolution of the reference picture differs from the spatial resolution of the current picture. When motion vector scaling is enabled, the motion vectors are scaled based on both the POC difference and the spatial resolution ratio between the current picture and the reference picture.
[0099] In the same or another embodiment, the motion vectors may be scaled based on the AUC difference instead of the POC difference for temporal motion vector prediction, especially if poc_cycle_au has non-uniform values (if vps_contant_poc_cycle_per_au==0), otherwise (if vps_contant_poc_cycle_per_au==1), the motion vector scaling based on the AUC difference may be the same as the motion vector scaling based on the POC difference.
[0100] In the same or other embodiments, when a motion vector is scaled based on the AUC difference, a reference motion vector in the same AU (having the same AUC value) as the current picture is not scaled based on the AUC difference and is used for motion vector prediction without scaling or with scaling based on the spatial resolution ratio between the current picture and the reference picture.
[0101] In the same or other embodiments, the AUC value is used to identify AU boundaries and may be used for hypothetical reference decoder (HRD) operations that require input and output timing at AU granularity. In most cases, the decoded picture with the highest layer in the AU may be output for display. The AUC value and the layer_id value may be used to identify the output picture.
[0102] In one embodiment, a picture may be composed of one or more sub-pictures. Each sub-picture may cover a local area or the entire area of the picture. The area supported by a sub-picture may or may not overlap with the area supported by another sub-picture. The area composed by one or more sub-pictures may or may not cover the entire area of the picture. When a picture is composed of one sub-picture, the area supported by that sub-picture is the same as the area supported by the picture.
[0103] In the same embodiment, a sub-picture may be coded by an encoding method similar to that used for the picture being coded. A sub-picture may be coded independently or dependently on another sub-picture or coded picture. A sub-picture may or may not have some parsing dependency from another sub-picture or coded picture.
[0104] In the same embodiment, a coded sub-picture may be included in one or more layers. The coded sub-pictures within a layer may have different spatial resolutions. The original sub-picture may be spatially resampled (upsampled or downsampled), coded with different spatial resolution parameters, and included in the bitstream corresponding to the layer.
[0105] In the same or another embodiment, a sub-picture having (W,H), where W denotes the width of the sub-picture and H denotes the height of the sub-picture, is coded into the coded bitstream corresponding to layer 0, and S w,k , S h,k Let W*S denote the horizontal and vertical resampling ratios. w,k ,H*S h,k ), sub-pictures upsampled (or downsampled) from the sub-pictures with the original spatial resolution may be coded and included in the coded bitstream corresponding to layer k. w,k, S h,k If the value of S is greater than 1, the resampling is equivalent to upsampling. w,k , S h,k If the value of is less than 1, the resampling is equivalent to downsampling.
[0106] In the same or another embodiment, a coded subpicture in a layer may have a different visual quality than a coded subpicture of another layer, either in the same subpicture or in a different subpicture. For example, subpicture i in layer n may have a quantization parameter Q i,n and subpicture j in layer m is coded with quantization parameter Q j,m is encoded as
[0107] In the same or another embodiment, the coded sub-pictures in a layer may be independently decodable without parsing or decoding dependencies from coded sub-pictures in another layer of the same local region. A sub-picture layer that may be independently decodable without reference to another sub-picture layer of the same local region is an independent sub-picture layer. A coded sub-picture in an independent sub-picture layer may or may not have decoding or parsing dependencies from previously coded sub-pictures in the same sub-picture layer, but a coded sub-picture may not have any dependencies from coded pictures in another sub-picture layer.
[0108] In the same or another embodiment, a coded subpicture in a layer may be dependently decodable with a parsing or decoding dependency from a coded subpicture in another layer of the same local region. A subpicture layer that can be dependently decodable with reference to another subpicture layer of the same local region is a dependent subpicture layer. A coded subpicture in a dependent subpicture layer may reference coded subpictures belonging to the same subpicture, previously coded subpictures in the same subpicture layer, or both reference subpictures.
[0109] In the same or another embodiment, a coded subpicture is composed of one or more independent subpicture layers and one or more dependent subpicture layers. However, at least one independent subpicture layer may be present in a coded subpicture. An independent subpicture layer may have a layer identifier (layer_id) value equal to 0, which may be present in a NAL unit header or other high-level syntax structure. A subpicture layer with layer_id equal to 0 may be a base subpicture layer.
[0110] In the same or another embodiment, a picture consists of one or more foreground subpictures and one background subpicture. The area supported by the background subpicture may be equal to the area of the picture. The area supported by the foreground subpicture may overlap with the area supported by the background subpicture. The background subpicture may be a base subpicture layer, and the foreground subpicture may be a non-base (enhancement) subpicture layer. One or more non-base subpicture layers may reference the same base layer for decoding. Each non-base subpicture layer with layer_id equal to a may reference a non-base subpicture layer with layer_id equal to b, where a is greater than b.
[0111] In the same or another embodiment, a picture may be composed of 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 (enhancement) layers. Each base subpicture layer may be referenced by one or more non-base subpicture layers. Each non-base subpicture layer with layer_id equal to a may reference a non-base subpicture layer with layer_id equal to b, where a is greater than b.
[0112] In the same or another embodiment, a picture may consist of one or more foreground subpictures, with or without background subpictures. Each coded subpicture in a (base or non-base) subpicture layer may be referenced by one or more non-base layer subpictures that belong to the same subpicture, and by one or more non-base layer subpictures that do not belong to the same subpicture.
[0113] In the same or another embodiment, a picture may consist of one or more foreground subpictures, with or without background subpictures. A subpicture in layer a may be further split into multiple subpictures in the same layer. One or more coded subpictures in layer b may reference a split subpicture in layer a.
[0114] In the same or another embodiment, a Coded Video Sequence (CVS) may be a group of coded pictures. A CVS may be composed of one or more Coded Sub-Picture Sequences (CSPS), which may be a group of coded sub-pictures covering the same local area of a picture. A CSPS may have the same or a different temporal resolution as the Coded Video Sequence.
[0115] In the same or another embodiment, the CSPS may be coded into one or more layers. The CSPS may consist of one or more CSPS layers. By decoding one or more CSPS layers corresponding to a CSPS, a sequence of sub-pictures corresponding to the same local region can be reconstructed.
[0116] In the same or another embodiment, the number of CSPS layers corresponding to one CSPS may be the same as or different from the number of CSPS layers corresponding to another CSPS.
[0117] In the same or another embodiment, a CSPS layer may have a different temporal resolution (e.g., frame rate) than another CSPS layer, and the original (uncompressed) sub-picture sequence may be temporally resampled (upsampled or downsampled), encoded with different temporal resolution parameters, and included in the bitstream corresponding to the layer.
[0118] In the same or another embodiment, a sub-picture sequence having a frame rate F is encoded and included in the encoded bitstream corresponding to layer 0, S t,k denotes the time sampling ratio for layer k, F*S t,k A sub-picture sequence that is temporally upsampled (or downsampled) from the original sub-picture sequence, having a sub-picture sequence S t,k If the value of S is greater than 1, the time resampling process is equivalent to frame rate up-conversion. t,k If the value of is less than 1, the temporal resampling process is equivalent to a frame rate down-conversion.
[0119] In the same or another embodiment, when a sub-picture with CSPS layer a is referenced by a sub-picture with CSPS layer b for motion compensation or some inter-layer prediction, if the spatial resolution of CSPS layer a is different from the spatial resolution of CSPS layer b, the decoded pixels in CSPS layer a are resampled and used for reference. This resampling process may require upsampling or downsampling filtering.
[0120] FIG. 11 shows an example of a video stream including a background video CSPS having a layer_id equal to 0 and a plurality of foreground CSPS layers. Encoded sub-pictures that do not belong to any of the foreground CSPS layers, which can be composed of one or more CSPS layers, can be composed of a base layer. The base layer can include a background area and a foreground area, and the enhancement CSPS layer includes a foreground area. The enhancement CSPS layer may have better visual quality than the base layer in the same area. The enhancement CSPS layer may refer to the reconstructed pixels and motion vectors of the base layer corresponding to the same area.
[0121] In the same embodiment or another embodiment, the video bitstream corresponding to the base layer is included in a track, and the CSPS layer corresponding to each sub-picture is included in a separate track within the video file.
[0122] In the same embodiment or another embodiment, the video bitstream corresponding to the base layer is included in a track, and the CSPS layer having the same layer ID is included in a separate track. In this example, the track corresponding to layer k includes only the CSPS layer corresponding to layer k.
[0123] In the same embodiment or another embodiment, each CSPS layer of each sub-picture is stored in a separate track. Each track may or may not have a parsing or decoding dependency from one or more other tracks.
[0124] In the same embodiment or another embodiment, assuming 0 < i <= j <= k and k is the top layer of the CSPS, each track may include the bitstream corresponding to the CSPS layers from layer i to layer j of all or a subset of the sub-pictures.
[0125] In the same or another embodiment, a picture is composed of 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.
[0126] In the same or another embodiment, FIG. 12 shows an example of a video conference based on a multi-layered sub-picture method. A video stream includes one base layer video bitstream corresponding to a background picture and one or more enhancement layer video bitstreams corresponding to a foreground sub-picture. Each enhancement layer video bitstream corresponds to a CSPS layer. On the display, a picture corresponding to the base layer is displayed by default. This includes one or more user picture-in-pictures (PIPs). When a particular user is selected by client control, the enhancement CSPS layers corresponding to the selected user are decoded and displayed with increased quality or spatial resolution. FIG. 13 shows an operational diagram.
[0127] In the same or another embodiment, a network middle box (such as a router) may select a subset of layers to send to a user depending on its bandwidth. Picture / sub-picture organization may be used for bandwidth adaptation. For example, if a user does not have the bandwidth, the router may strip layers or select some sub-pictures by importance or based on usage setup, which may be done dynamically to adapt to the bandwidth.
[0128] FIG. 14 shows a use case of 360 video. When a spherical 360 picture is projected onto a planar picture, the projected 360 picture may be divided into multiple sub-pictures as a base layer. The enhancement layer of a particular sub-picture may be encoded and sent to the client. The decoder may be able to decode both the base layer including all the sub-pictures and the enhancement layer of the selected sub-picture. If the current viewport is the same as the selected sub-picture, the displayed picture may have higher quality with the decoded sub-picture with the enhancement layer. If not, the decoded picture with the base layer may be displayed with lower quality.
[0129] In the same or another embodiment, some layout information for display may be present in the file as supplemental information (such as SEI message or metadata). One or more decoded sub-pictures may be rearranged and displayed according to the signaled layout information. The layout information may be signaled by a streaming server or broadcaster, regenerated by a network entity or cloud server, or determined by a user's customization settings.
[0130] In one embodiment, when an input picture is divided into one or more (rectangular) sub-regions, each sub-region may be coded as an independent layer. Each independent layer corresponding to a local region may have a unique layer_id value. For each independent layer, sub-picture size and position information may be signaled, such as picture size (width, height), top left corner offset information (x_offset, y_offset). Figure 15 shows an example of a layout of divided sub-pictures, their sub-picture size and position information, and corresponding picture prediction structure. This layout information, including sub-picture size(s) and sub-picture position(s), may be signaled in a high-level syntax structure, such as parameter set(s), slice or tile group header, or SEI message.
[0131] In the same embodiment, each sub-picture corresponding to an independent layer may have its own POC value in the AU. When a reference picture among multiple pictures stored in the DPB is pointed to by using a syntax element(s) in the RPS or RPL structure, the POC value(s) of each sub-picture corresponding to a layer may be used.
[0132] In the same or another embodiment, the layer_id may not be used to indicate the (inter-layer) prediction structure, but rather the POC(delta) value.
[0133] In the same embodiment, a sub-picture 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 a sub-picture having a POC value equal to N+K corresponding to the same layer (or the same local region) for motion compensation prediction. In most cases, the value of the number K may be equal to the maximum number of (independent) layers, which may be equal to the number of sub-regions.
[0134] In the same embodiment or another embodiment, Figure 16 shows an extended case of Figure 15. When an 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 a sub-region. Thus, each sub-region may be coded with one or more independent layers and zero or more dependent layers.
[0135] In the same embodiment, in Figure 16, the input picture may be divided into four sub-regions: the top right sub-region may be coded as two layers, Layer 1 and Layer 4, and the bottom 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 compensation prediction, and Layer 5 may refer to Layer 3 for motion compensation.
[0136] In the same or another embodiment, in-loop filtering across layer boundaries (e.g., deblocking filtering, adaptive in-loop filtering, reshaper, bilateral filtering, or any deep learning based filtering) may (optionally) be disabled.
[0137] In the same or another embodiment, motion compensated prediction or intra block copying across layer boundaries may (optionally) be disabled.
[0138] In the same or another embodiment, border padding for motion compensated prediction or in-loop filtering at sub-picture boundaries may be optionally processed. A flag indicating whether border padding is processed or not may be signaled in a high-level syntax structure, such as, for example, parameter set(s) (VPS, SPS, PPS, or APS), slice or tile group header, or SEI message.
[0139] In the same or another embodiment, layout information of the sub-region(s) (or sub-picture(s)) may be signaled in the VPS or SPS. FIG. 17 shows an example of syntax elements in the VPS and SPS. In this example, vps_sub_picturing_dividing_flag is signaled in the VPS. This flag may indicate whether the input picture(s) are divided into multiple sub-regions or not. If the value of vps_sub_picture_dividing_flag is equal to 0, the input picture(s) in the coded video sequence(s) corresponding to the current VPS may not be divided into multiple sub-regions. In this case, the input picture size may be equal to the coded picture size (pic_width_in_luma_samples, pic_height_in_luma_samples) signaled in the SPS. If the value of vps_sub_picture_dividing_flag is equal to 1, the input picture(s) may be divided into multiple sub-regions. In this case, the syntax elements vps_full_pic_width_in_luma_samples and vps_full_pic_height_in_luma_samples are signaled in the VPS. The values of vps_full_pic_width_in_luma_samples and vps_full_pic_height_in_luma_samples may be equal to the width and height of the input picture(s), respectively.
[0140] In some embodiments, the values of vps_full_pic_width_in_luma_samples and vps_full_pic_height_in_luma_samples may not be used for decoding, but may be used for compositing and display.
[0141] In the same embodiment, if the value of vps_sub_picture_dividing_flag is equal to 1, syntax elements pic_offset_x and pic_offset_y may be signaled in the SPS that (a) corresponds to a particular layer(s). In this case, the coded picture size (pic_width_in_luma_samples, pic_height_in_luma_samples) signaled in the SPS may be equal to the width and height of the sub-region corresponding to the particular layer. The location of the top left corner of the sub-region (pic_offset_x, pic_offset_y) may also be signaled in the SPS.
[0142] In the same embodiment, the position information (pic_offset_x, pic_offset_y) of the top left corner of the sub-region may not be used for decoding, but may be used for compositing and display.
[0143] In the same or another embodiment, layout information (size and position) of all or a subset of the sub-region(s) of the input picture(s), dependency information between the layers may be signaled in a parameter set or SEI message. FIG. 18 shows an example of syntax elements indicating information of the layout of the sub-regions, dependencies between layers, and relationships between the sub-regions and one or more layers. In this example, the syntax element num_sub_region indicates the number of (rectangular) sub-regions in the 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 equal to or greater than the value of num_sub_region. When any sub-region is coded as a single layer, the value of num_layers may be equal to the value of num_sub_region. When one or more sub-regions are coded as multiple layers, the value of num_layers may be greater than the value of num_sub_region. The syntax element direct_dipendency_flag[i][j] indicates the dependency of the jth layer to the ith layer. num_layers_for_region[i] indicates the number of layers associated with the i-th subregion. sub_region_layer_id[i][j] indicates the layer_id of the j-th layer associated with the i-th subregion. sub_region_offset_x[i] and sub_region_offset_y[i] indicate the horizontal and vertical location, respectively, of the top-left corner of the i-th subregion. sub_region_width[i] and sub_region_height[i] indicate the width and height, respectively, of the i-th subregion.
[0144] In one embodiment, one or more syntax elements specifying an output layer set may be signaled in a high level syntax structure, such as a VPS, DPS, SPS, PPS, APS, or SEI message, to indicate one or more layers to be output with or without profile tier level information. With reference to Figure 19, a syntax element num_output_layer_sets may be signaled in a VPS to indicate the number of output layer sets (OLS) in a coded video sequence that references the VPS. For each output layer set, an output_layer_flag may be signaled as many times as the number of output layers.
[0145] In the same embodiment, output_layer_flag[i] equal to 1 specifies that the i-th layer is output. vps_output_layer_flag[i] equal to 0 specifies that the i-th layer is not output.
[0146] In the same or another embodiment, one or more syntax elements specifying profile tier level information for each output layer set may be signaled in a high level syntax structure, such as a VPS, DPS, SPS, PPS, APS, or SEI message. Still referring to FIG. 19, a syntax element num_profile_tile_level may be signaled in the VPS indicating the number of profile tier level information per OLS in a coded video sequence that references the VPS. For each output layer set, a set of syntax elements for profile tier level information or an index pointing to a particular profile tier level information among the entries in the profile tier level information may be signaled as many times as the number of output layers.
[0147] In the same embodiment, profile_tier_level_idx[i][j] specifies the index of the profile_tier_level() syntax structure that applies to the jth layer of the ith OLS in the list of profile_tier_level() syntax structures in the VPS.
[0148] In the same or another embodiment, referring to FIG. 20, when the maximum number of layers is greater than 1 (vps_max_layers_minus1>0), the syntax elements num_profile_tile_level and / or num_output_layer_sets may be signaled.
[0149] In the same or another embodiment, referring to FIG. 20, a syntax element vps_output_layers_mode[i] may be present in the VPS to indicate the mode of output layer signaling for the i-th output layer set.
[0150] In the same embodiment, vps_output_layers_mode[i] equal to 0 specifies that only the top layer is output in the ith output layer set. vps_output_layer_mode[i] equal to 1 specifies that all layers are output in the ith output layer set. vps_output_layer_mode[i] equal to 2 specifies that the layers output are those with vps_output_layer_flag[i][j] equal to 1 in the ith output layer set. More values may be reserved.
[0151] In the same embodiment, output_layer_flag[i][j] may or may not be signaled depending on the value of vps_output_layers_mode[i] for the i-th output layer set.
[0152] In the same or another embodiment, referring to Figure 20, a flag vps_ptl_signal_flag[i] may be present for the i-th output layer set. Depending on the value of vps_ptl_signal_flag[i], profile tier level information for the i-th output layer set may or may not be signaled.
[0153] In the same or another embodiment, referring to FIG. 21, the number of sub-pictures in the current CVS, max_subpics_minus1, may be signaled in a high level syntax structure, such as a VPS, DPS, SPS, PPS, APS, or SEI message.
[0154] In the same embodiment, referring to FIG. 21, if the number of sub-pictures is greater than one (max_subpics_minus1>0), a sub-picture identifier sub_pic_id[i] for the i-th sub-picture may be signaled.
[0155] In the same or another embodiment, one or more syntax elements may be signaled in the VPS indicating the sub-picture identifiers belonging to each layer of each output layer set. With reference to Figure 21, sub_pic_id_layer[i][j][k] indicates the kth sub-picture present in the jth layer of the ith output layer set. With this information, the decoder can know which sub-pictures can be decoded and output for each layer of a particular output layer set.
[0156] In one embodiment, a picture header (PH) is a syntax structure that contains syntax elements that apply to all slices of a coded picture. A picture unit (PU) is a collection of NAL units that are associated with each other according to a specified classification rule, are consecutive in decoding order, and contain exactly one coded picture. A PU may contain a picture header (PH) and one or more VCL NAL units that contain a coded picture.
[0157] In one embodiment, the SPS (RBSP) is made available to the decoding process before it is referenced, and may be included in at least one AU with TemporalId equal to 0 or provided via external means.
[0158] In one embodiment, the SPS (RBSP) is made available to the decoding process before it is referenced and may be included in at least one AU with TemporalId equal to 0 in a CVS, which may contain one or more PPSs that reference the SPS, or may be provided via external means.
[0159] In one embodiment, an SPS (RBSP) is made available to the decoding process before it is referenced by one or more PPSs, and may be included in at least one PU with a nuh_layer_id equal to the lowest nuh_layer_id value of a PPS NAL unit that references an SPS NAL unit in a CVS, which may contain one or more PPSs that reference the SPS, or may be provided via external means.
[0160] In one embodiment, an SPS (RBSP) is made available to the decoding process before it is referenced by one or more PPSs, and may be included in at least one PU with TemporalId equal to 0 and nuh_layer_id equal to the lowest nuh_layer_id value of the PPS NAL unit that references the SPS NAL unit, or provided via external means.
[0161] In one embodiment, an SPS (RBSP) is made available to the decoding process before it is referenced by one or more PPSs, and may be included in at least one PU with TemporalId equal to 0 and nuh_layer_id equal to the lowest nuh_layer_id value of a PPS NAL unit that references an SPS NAL unit in a CVS that may contain one or more PPSs that reference the SPS, or may be provided via external means.
[0162] In the same or another embodiment, pps_seq_parameter_set_id specifies 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 PPSs referenced by coded pictures in the CLVS.
[0163] In the same or another embodiment, all SPS NAL units with a particular value of sps_seq_parameter_set_id in the CVS may have the same content.
[0164] In the same or another embodiment, regardless of the nuh_layer_id value, SPS NAL units may share the same value space for sps_seq_parameter_set_id.
[0165] In the same or another embodiment, the nuh_layer_id value of an SPS NAL unit may be equal to the lowest nuh_layer_id value of a PPS NAL unit that references the SPS NAL unit.
[0166] In one embodiment, when an SPS with nuh_layer_id equal to m is referenced by one or more PPS with nuh_layer_id equal to n, the layer with nuh_layer_id equal to m may be the same as the (direct or indirect) reference layer of the layer with nuh_layer_id equal to n or the layer with nuh_layer_id equal to m.
[0167] In one embodiment, the PPS (RBSP) is made available to the decoding process before it is referenced, and may be included in at least one AU with TemporalId equal to the TemporalId of the PPS NAL unit, or provided via external means.
[0168] In one embodiment, a PPS (RBSP) is made available to the decoding process before it is referenced, and may be included in at least one AU with a TemporalId equal to the TemporalId of a PPS NAL unit in a CVS that contains one or more PHs (or coded slice NAL units) that reference the PPS, or may be provided via external means.
[0169] In one embodiment, a PPS (RBSP) is made available to the decoding process before it is referenced by one or more PHs (or coded slice NAL units) and may be included in at least one PU with a nuh_layer_id equal to the lowest nuh_layer_id of a coded slice NAL unit that references a PPS NAL unit in a CVS that contains one or more PHs (or coded slice NAL units) that reference the PPS, or may be provided via external means.
[0170] In one embodiment, a PPS (RBSP) is made available to the decoding process before it is referenced by one or more PHs (or coded slice NAL units) and may be included in at least one PU, or provided via external means, with a TemporalId equal to the TemporalId of the PPS NAL unit and a nuh_layer_id equal to the lowest nuh_layer_id of a coded slice NAL unit that references the PPS NAL unit in a CVS that contains one or more PHs (or coded slice NAL units) that reference the PPS.
[0171] In the same or another embodiment, the ph_pic_parameter_set_id in the PH specifies the value of pps_pic_parameter_set_id for the reference PPS used. The value of pps_seq_parameter_set_id may be the same for all PPSs referenced by coded pictures in the CLVS.
[0172] In the same or another embodiment, all PPS NAL units with a particular value of pps_pic_parameter_set_id within a PU have the same content.
[0173] In the same or another embodiment, PPS NAL units may share the same value space for pps_pic_parameter_set_id regardless of the nuh_layer_id value.
[0174] In the same or another embodiment, the nuh_layer_id value of a PPS NAL unit may be equal to the lowest nuh_layer_id value of any coded slice NAL unit that references a NAL unit that references the PPS NAL unit.
[0175] In one embodiment, when a PPS with nuh_layer_id equal to m is referenced by one or more coded slice NAL units with nuh_layer_id equal to n, the layer with nuh_layer_id equal to m may be the same as the (direct or indirect) reference layer of the layer with nuh_layer_id equal to n or the layer with nuh_layer_id equal to m.
[0176] In one embodiment, the PPS (RBSP) is made available to the decoding process before it is referenced, and may be included in at least one AU with TemporalId equal to the TemporalId of the PPS NAL unit, or provided via external means.
[0177] In one embodiment, a PPS (RBSP) is made available to the decoding process before it is referenced, and may be included in at least one AU with a TemporalId equal to the TemporalId of a PPS NAL unit in a CVS that contains one or more PHs (or coded slice NAL units) that reference the PPS, or may be provided via external means.
[0178] In one embodiment, a PPS (RBSP) is made available to the decoding process before it is referenced by one or more PHs (or coded slice NAL units) and may be included in at least one PU with a nuh_layer_id equal to the lowest nuh_layer_id of a coded slice NAL unit that references a PPS NAL unit in a CVS that contains one or more PHs (or coded slice NAL units) that reference the PPS, or may be provided via external means.
[0179] In one embodiment, a PPS (RBSP) is made available to the decoding process before it is referenced by one or more PHs (or coded slice NAL units) and may be included in at least one PU, or provided via external means, with a TemporalId equal to the TemporalId of the PPS NAL unit and a nuh_layer_id equal to the lowest nuh_layer_id of a coded slice NAL unit that references the PPS NAL unit in a CVS that contains one or more PHs (or coded slice NAL units) that reference the PPS.
[0180] In the same or another embodiment, the ph_pic_parameter_set_id in the PH specifies the value of pps_pic_parameter_set_id for the reference PPS used. The value of pps_seq_parameter_set_id may be the same for all PPSs referenced by coded pictures in the CLVS.
[0181] In the same or another embodiment, all PPS NAL units with a particular value of pps_pic_parameter_set_id within a PU have the same content.
[0182] In the same or another embodiment, PPS NAL units may share the same value space for pps_pic_parameter_set_id regardless of the nuh_layer_id value.
[0183] In the same or another embodiment, the nuh_layer_id value of a PPS NAL unit may be equal to the lowest nuh_layer_id value of any coded slice NAL unit that references a NAL unit that references the PPS NAL unit.
[0184] In one embodiment, when a PPS with nuh_layer_id equal to m is referenced by one or more coded slice NAL units with nuh_layer_id equal to n, the layer with nuh_layer_id equal to m may be the same as the (direct or indirect) reference layer of the layer with nuh_layer_id equal to n or the layer with nuh_layer_id equal to m.
[0185] In one embodiment, when the flag no_temporal_sublayer_switching_flag is signaled in a DPS, VPS, or SPS, the TemporalId value of a PPS that references a parameter set that includes the flag equal to 1 may be equal to 0, and the TemporalId value of a PPS that references a parameter set that includes the flag equal to 1 may be equal to or greater than the TemporalId value of the parameter set.
[0186] In one embodiment, each PPS (RBSP) is made available to the decoding process before it is referenced, and may be included in at least one AU with a TemporalId less than or equal to the TemporalId of the coded slice NAL unit (or PH NAL unit) that references it, or may be provided via external means. When a PPS NAL unit is included in an AU prior to the AU containing the coded slice NAL unit that references the PPS, no VCL NAL units that enable temporal up-layer switching or have a nal_unit_type equal to STSA_NUT (which indicates that the picture in the VCL NAL unit may be a stepwise temporal sub-layer access (STSA) picture) may be present after the PPS NAL unit and before the coded slice NAL unit that references the PPS.
[0187] In the same or another embodiment, the PPS NAL unit and the coded slice NAL unit (and its PH NAL unit) that reference the PPS may be included in the same AU.
[0188] In the same or another embodiment, the PPS NAL unit and the STSA NAL unit that reference the PPS may be included in the same AU that precedes the coded slice NAL unit (and its PH NAL unit).
[0189] In the same or another embodiment, the STSA NAL unit, the PPS NAL unit, and the coded slice NAL unit (and its PH NAL unit) that reference the PPS may be in the same AU.
[0190] In the same or another embodiment, the TemporalId value of a VCL NAL unit that contains a PPS may be equal to the TemporalId value of the preceding STSA NAL unit.
[0191] In the same embodiment, the picture order count (POC) value of the PPS NAL unit may be equal to or greater than the POC value of the STSA NAL unit.
[0192] In the same embodiment, the picture order count (POC) value of a coded slice or a PH NAL unit that references a PPS NAL unit may be equal to or greater than the POC value of the referenced PPS NAL unit.
[0193] In one embodiment, the value of sps_max_sublayers_minus1 is the same across all layers in a coded video sequence because all VCL NAL units in an AU have the same TemporalId value. The value of sps_max_sublayers_minus1 is the same in all SPSs referenced by coded pictures in a CVS.
[0194] In one embodiment, where layer A is a direct reference layer for layer B, the chroma_format_idc value of an SPS referenced by one or more coded pictures in layer A is equal to the chroma_format_idc value in an SPS referenced by one or more coded pictures in layer B, since every coded picture has the same chroma_format_idc value as its reference picture. The chroma_format_idc value of an SPS referenced by one or more coded pictures in layer A is equal to the chroma_format_idc value in an SPS referenced by one or more coded pictures in a direct reference layer of layer A in the CVS.
[0195] In one embodiment, where layer A is a direct reference layer of layer B, the values of subpics_present_flag and sps_subpic_id_present_flag of an SPS referenced by one or more coded pictures in layer A are equal to the values of subpics_present_flag and sps_subpic_id_present_flag in an SPS referenced by one or more coded pictures in layer B. This is because the subpicture layout needs to be aligned or related between layers. Otherwise, subpictures with multiple layers may not be extracted correctly. The values of subpics_present_flag and sps_subpic_id_present_flag of an SPS referenced by one or more coded pictures in layer A are equal to the values of subpics_present_flag and sps_subpic_id_present_flag in an SPS referenced by one or more coded pictures in a direct reference layer of layer A in the CVS.
[0196] In one embodiment, if an STSA picture in layer A is referenced by a picture in a direct reference layer of layer A in the same AU, the picture that references the STSA picture is an STSA picture. Otherwise, the temporal sub-layer switch-up cannot be synchronized between layers. If an STSA NAL unit in layer A is referenced by a VCL NAL unit in a direct reference layer of layer A in the same AU, the nal_unit_type value of the VCL NAL unit that references the STSA NAL unit is equal to STSA_NUT.
[0197] In one embodiment, if an RASL picture in layer A is referenced by a picture in a direct reference layer of layer A in the same AU, the picture that references the RASL picture is an RASL picture. Otherwise, the picture cannot be correctly decoded. If an RASL NAL unit in layer A is referenced by a VCL NAL unit in a direct reference layer of layer A in the same AU, the nal_unit_type value of the VCL NAL unit that references the RASL NAL unit is equal to RASL_NUT.
[0198] The techniques for signaling adaptive resolution parameters described above can be implemented as computer software using computer readable instructions and can be physically stored on one or more computer readable media. For example, Figure 7 illustrates a computer system 700 suitable for implementing certain embodiments of the disclosed subject matter.
[0199] The computer software may be coded using any suitable machine code or computer language that may be assembled, compiled, linked, or similarly subjected to mechanisms to produce code having instructions that can be executed by a computer central processing unit (CPU), graphics processing unit (GPU), and the like, either directly or via interpretation, microcode execution, and the like.
[0200] The instructions may be executed on various types of computers or components thereof, including, for example, personal computers, tablet computers, servers, smart phones, gaming devices, Internet of Things devices, and the like.
[0201] 7 for computer system 700 are exemplary in nature and are not intended to suggest any limitation as to the scope of use or functionality of the computer software implementing embodiments of the present disclosure, nor should the arrangement of components be interpreted as having any dependency or requirement related to any one or combination of components illustrated in this exemplary embodiment of computer system 700.
[0202] The computer system 700 may include certain human interface input devices. Such human interface input devices may be responsive to input by one or more human users, for example, via tactile input (e.g., keystrokes, swipes, moving a data glove, etc.), audio input (e.g., voice, clapping, etc.), visual input (e.g., gestures, etc.), 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 audio (e.g., speech, music, ambient sounds, etc.), images (e.g., scanned images, photographic images obtained from a still camera, etc.), video (e.g., two-dimensional video, three-dimensional video including stereoscopic video, etc.).
[0203] The input human interface devices may include one or more of a keyboard 701, a mouse 702, a trackpad 703, a touch screen 710, a data glove 704, a joystick 705, a microphone 706, a scanner 707, and a camera 708 (only one of each shown).
[0204] The computer system 700 may also include certain human interface output devices. Such human interface output devices may stimulate one or more of the senses of a human user, for example, through haptic output, sound, light, and smell / taste. Such human interface output devices may include haptic output devices (e.g., haptic feedback via a touch screen 710, data gloves 704, or joystick 705, although there may also be haptic feedback devices that do not function as input devices), audio output devices (e.g., speakers 709, headphones (not shown), etc.), visual output devices (e.g., screens 710 including CRT screens, LCD screens, plasma screens, OLED screens (each with or without touch screen input capability, each with or without haptic feedback capability, some of which may be capable of outputting two-dimensional visual output, or output in four or more dimensions through means such as stereoscopic output), virtual reality glasses (not shown), holographic displays, and smoke tanks (not shown), etc.), and printers (not shown).
[0205] The computer system 700 may also include human-accessible storage devices and their associated media, such as optical media including, for example, a CD / DVD ROM / RW 720 having a CD / DVD or similar media 721, a thumb drive 722, a removable hard drive or solid state drive 723, legacy magnetic media such as tape and floppy disks (registered trademark, not shown), specialized ROM / ASIC / PLD based devices (not shown) such as security dongles, and the like.
[0206] Those skilled in the art will also appreciate that the term "computer-readable medium" as used in connection with the subject matter disclosed herein does not include transmission media, carrier waves, or other transitory signals.
[0207] The computer system 700 may also include interfaces to one or more communication networks. The networks may be, for example, wireless, wired, optical. The networks may further be local, wide area, metropolitan, vehicular and industrial, real-time, delay tolerant, etc. Examples of networks include local area networks, such as Ethernet, cellular networks including WLAN, GSM, 3G, 4G, 5G, LTE, and the like, TV wired or wireless wide area digital networks including cable TV, satellite TV, and terrestrial broadcast TV, vehicular and industrial including CANBus, etc. Certain networks typically require an external network interface adapter that is attached to a particular general-purpose data port or peripheral bus (749) (e.g., a USB port of the computer system 700, etc.), while others are typically integrated into the core of the computer system 700 by attachment to a system bus, as described below (e.g., an Ethernet interface to a PC computer system, or a cellular network interface to a smartphone computer system). Using any of these networks, the computer system 700 can communicate with other entities. Such communications may be one-way receive only (e.g., broadcast TV), one-way transmit only (e.g., CANbus to a particular CANbus device), or two-way, for example to other computer systems using local or wide area digital networks. Specific protocols and protocol stacks may be used on each of the networks and network interfaces, as described above.
[0208] The aforementioned human interface devices, human accessible storage devices, and network interfaces may be attached to a core 740 of the computer system 700 .
[0209] The core 740 may include one or more central processing units (CPUs) 741, graphics processing units (GPUs) 742, specialized programmable processing units in the form of field programmable gate arrays (FPGAs) 743, hardware accelerators 744 for specific tasks, etc. These devices may be connected via a system bus 748 along with read only memory (ROM) 745, random access memory 746, internal mass storage 747 such as internal non-user accessible hard drives, SSDs, and the like 747. In some computer systems, the system bus 748 may be made accessible in the form of one or more physical plugs to allow expansion with additional CPUs, GPUs, and the like. Peripheral devices may be attached either directly to the core's system bus 748 or via a peripheral bus 749. Peripheral bus architectures include PCI, USB, and the like.
[0210] The CPU 741, GPU 742, FPGA 743, and accelerator 744 may execute certain instructions that may combine to constitute the aforementioned computer code. The computer code may be stored in ROM 745 or RAM 746. Transient data may also be stored in RAM 746, while permanent data may be stored, for example, in internal mass storage 747. Rapid storage and retrieval in any of the memory devices may be enabled by the use of cache memories that may be associated proximate to one or more of the CPU 741, GPU 742, mass storage 747, ROM 745, RAM 746, and the like.
[0211] The computer-readable media can have computer code thereon for performing various computer-implemented processes. The media and computer code may be those specially designed and constructed for the purposes of the present disclosure, or they may be of the kind well known and available to those skilled in the computer software arts.
[0212] As an example, and not by way of limitation, a computer system having architecture 700, and in particular core 740, can provide functionality as a result of processor(s) (including CPU, GPU, FPGA, accelerator, and the like) executing software embodied in one or more tangible computer-readable media. Such computer-readable media can be media associated with specific storage of core 740 that is non-transitory in nature, such as mass storage 747 internal to the core or ROM 745, and user-accessible mass storage as introduced above. Software implementing various embodiments of the present disclosure can be stored in such devices and executed by core 740. Computer-readable media can include one or more memory devices or chips according to specific needs. The software can cause core 740, and in particular the processors therein (including CPU, GPU, FPGA, and the like) to perform certain processes or certain portions of certain processes described herein, including defining data structures stored in RAM 746 and modifying such data structures according to processes defined by the software. Additionally, or alternatively, a computer system may provide functionality as a result of logic hardwired or otherwise embodied in circuitry (e.g., accelerator 744) that can operate in place of or in conjunction with software to perform particular processes, or portions of particular processes, described herein. References to software include logic, and vice versa, where appropriate. References to computer-readable media may include circuitry (e.g., an integrated circuit (IC) or the like) that stores software for execution, circuitry embodied with logic for execution, or both, where appropriate. The present disclosure includes any suitable combination of hardware and software.
[0213] While this disclosure describes several exemplary embodiments, there are alterations, permutations, and various equivalent alternatives that fall within the scope of the disclosure. It will thus be understood that those skilled in the art will be able to devise numerous systems and methods that, although not explicitly shown or described herein, embody the principles of the disclosure and are therefore within its spirit and scope.
Claims
1. 1. A processor-implemented method for alignment between layers in a 360 video stream, comprising: decoding a 360 bit stream having multiple layers; identifying one or more sub-picture regions from a base layer of the decoded 360 bit stream, the base layer comprising a planar projection of the 360 video stream divided into a plurality of sub-picture regions; based on a determination that the current viewport is the same as a selected sub-picture region, decoding and displaying both the base layer and one or more enhanced layers associated with the selected sub-picture region; based on a determination that the current viewport is not the same as the selected sub-picture region, decoding and displaying only the base layer associated with the selected sub-picture region; The method according to claim 1,
2. 2. The method of claim 1, wherein the step of decoding and displaying both the base layer and the one or more enhancement layers comprises resampling decoded pixels in the first enhancement layer associated with the selected sub-picture region and using them as reference when decoding the second enhancement layer associated with the selected sub-picture region based on a determination that the second enhancement layer associated with the selected sub-picture region references the first enhancement layer associated with the selected sub-picture region.
3. 2. The method of claim 1 , wherein the step of decoding and displaying both the base layer and the one or more enhancement layers comprises aligning the base layer and the one or more enhancement layers associated with the selected sub-picture region based on a first matrix indicating dependencies between the one or more enhancement layers associated with the selected sub-picture region.
4. selecting a subset of the one or more enhancement layers based on bandwidth; transmitting the selected subset of the one or more enhancement layers; The method of claim 1 further comprising:
5. processing border padding for motion compensated prediction or in-loop filtering at the boundaries of the sub-picture region; The method of claim 1 further comprising:
6. The method of claim 1 , wherein layout information of the sub-picture regions is signaled by parameter set data.
7. The method of claim 6 , wherein the layout information comprises a size and a position relative to the sub-picture region.
8. The method of claim 6 , wherein one or more of the sub-picture regions may be rearranged and displayed based on the layout information.
9. The method of claim 1 , wherein each subpicture region may be coded as an independent layer corresponding to a local region with a unique layer identification value.
10. The method of claim 9 , wherein each of the sub-picture regions corresponding to the independent layer has a unique picture order count value within an access unit.
11. The method of claim 10 , wherein the inter-layer prediction structure between the independent layers is based on differences in the intrinsic picture order counts within the access unit.
12. 1. A computer system for alignment between layers in an encoded video stream, comprising: one or more memories storing a computer program; one or more processors; having The computer program causes the one or more processors to carry out a method according to any one of claims 1 to 11. Computer system.
13. A computer program causing a computer to carry out the method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Visual configuration management technology for multimedia audio conferencing
JP2010503280A
Methods and apparatus of viewport adaptive 360 degree video delivery
WO2017205794A1
360-degree video delivery over next generation network
WO2018222996A1