Encoder, decoder, and corresponding methods
By employing inter-layer prediction techniques in video encoding and decoding, the method optimizes bitrate and compression efficiency across layers with different resolutions, addressing the challenge of high-quality video data transmission and storage.
Patent Information
- Application Number
- JP2025227108
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2019-09-24
- Filing Date
- 2025-12-03
- Publication Date
- 2026-02-16
AI Technical Summary
The challenge of efficiently compressing video data for transmission and storage while maintaining high quality is exacerbated by the need for improved compression techniques that reduce bitrate without sacrificing picture quality, particularly in scenarios involving multiple layers with different resolutions.
The method involves encoding and decoding video bitstreams by utilizing inter-layer prediction techniques, where an inter-layer enablement syntax element determines whether inter-layer reference pictures are used for prediction, and the video parameter set is referenced or not, thereby optimizing bitrate by enabling or disabling inter-layer prediction based on layer configuration.
This approach reduces bitrate by eliminating unnecessary signaling of inter-layer prediction elements and allows for efficient encoding and decoding of video data across layers with different resolutions, enhancing compression efficiency without compromising picture quality.
Smart Images

Figure 2026026310000001_ABST
Abstract
Description
[Technical Field]
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This application claims priority from application PCT / CN2019 / 107594, filed September 24, 2019. The disclosures of the aforementioned patent applications are incorporated herein by reference in their entireties.
[0002] FIELD Embodiments of the present disclosure relate generally to the field of picture processing, and more particularly to inter-layer prediction. [Background technology]
[0003] Video coding (video encoding and video decoding) is used in a wide range of digital video applications, such as broadcast digital TV, video transmission over the Internet and mobile networks, real-time interactive applications such as video chat, video conferencing, DVD and Blu-ray® discs, video content collection and editing systems, and camcorders in security applications.
[0004] The amount of video data required to render even a relatively short video can be considerable, which can pose difficulties when the data is to be streamed or otherwise transmitted across communication networks with limited bandwidth capacity. Therefore, video data is generally compressed before being transmitted across modern telecommunications networks. Because memory resources may be limited, the size of the video can also be an issue when the video is stored on a storage device. Video compression devices often use software and / or hardware at the source to code the video data before transmission or storage, thereby reducing the amount of data needed to represent a digital video image. The compressed data is then received at the destination by a video decompression device, which decodes the video data. With limited network resources and an ever-increasing demand for higher video quality, improved compression and decompression techniques that improve compression ratios with little to no sacrifice in picture quality are desirable. Summary of the Invention [Means for solving the problem]
[0005] Embodiments of the present application provide apparatuses and methods for encoding and decoding according to the independent claims.
[0006] These and other objects are achieved by the subject matter of the independent claims. Further implementation forms are evident from the dependent claims, the description and the figures.
[0007] Particular embodiments are outlined in the accompanying independent claims, with further embodiments in the dependent claims.
[0008] According to a first aspect, the invention relates to a method for decoding a coded video bitstream, the method being executed by a decoding device, comprising the steps of: obtaining a sequence parameter set (SPS) level syntax element from the bitstream, wherein an SPS level syntax element equal to a predetermined value specifies that a video parameter set (VPS) is not referenced by the SPS, and an SPS level syntax element greater than the predetermined value specifies that the SPS references the VPS; obtaining an inter-layer enablement syntax element, when the SPS level syntax element is greater than the predetermined value, that specifies whether one or more inter-layer reference pictures (ILRPs) are enabled for use in inter-prediction of one or more coded pictures; and predicting one or more coded pictures based on the value of the inter-layer enablement syntax element.
[0009] In inter-layer prediction, a coded picture and a reference picture for the coded picture belong to different layers, and different layers may correspond to different resolutions, with a lower spatial resolution being used as a reference for a higher spatial resolution. An inter-layer enable syntax element specifies whether inter-layer prediction is enabled. Thus, when an inter-layer enable syntax element specifies that inter-layer prediction is disabled, syntax elements related to inter-layer prediction do not need to be signaled, and therefore the bitrate can be reduced. Furthermore, a video parameter set (VPS) is for multiple layers, and the fact that the VPS is not referenced by the SPS means that multiple layers are not needed when decoding a picture related to the SPS; in other words, there is only one layer used when decoding a picture related to the SPS. When there is only one layer, inter-layer prediction cannot be performed, and therefore not signaling an inter-layer enable syntax element when the VPS is not referenced by the SPS further reduces the bitrate.
[0010] As used herein, a bitstream is a sequence of bits that form one or more coded video sequences (CVS).
[0011] Here, a coded video sequence (CVS) is a sequence of AUs.
[0012] Here, a coded layer video sequence (CLVS) is a sequence of PUs with the same value of nuh_layer_id.
[0013] Here, an access unit (AU) is a set of PUs that include coded pictures that belong to different layers and are associated with the same time for output from the DPB.
[0014] Here, a picture unit (PU) is a set of NAL units that are related to each other according to specified classification rules, are consecutive in decoding order, and contain exactly one coded picture.
[0015] Here, an inter-layer reference picture (ILRP) is a picture in the same AU as the current picture that has a nuh_layer_id that is smaller than the nuh_layer_id of the current picture.
[0016] Here, an SPS is a syntax structure that contains zero or more syntax elements that apply across CLVS.
[0017] In one possible implementation form of the method according to the first aspect itself, the VPS comprises syntax elements describing inter-layer prediction information of layers in a coded video sequence (CVS), the SPS comprises SPS level syntax elements and inter-layer enablement syntax elements, and the CVS comprises one or more ILRPs and one or more coded pictures.
[0018] Here, when a VPS is referenced by an SPS, the VPS comprises syntax elements that describe inter-layer prediction information of the layer to which one or more ILRPs and one or more coded pictures belong.
[0019] In one possible implementation form of a method according to any preceding implementation of the first aspect or the first aspect itself, the step of predicting one or more coded pictures based on a value of an inter-layer enablement syntax element includes a step of predicting one or more coded pictures by referencing one or more inter-layer reference pictures (ILRPs) when a value of an inter-layer enablement syntax element specifying one or more ILRPs is enabled to be used for inter-prediction of the one or more coded pictures, wherein the one or more ILRPs are obtained based on inter-layer prediction information included in a VPS referenced by the SPS.
[0020] In one possible implementation form of the method according to any preceding implementation of the first aspect or the first aspect itself, the coded picture and the ILRP of the coded picture belong to different layers.
[0021] In one possible implementation form of a method according to any preceding implementation of the first aspect or the first aspect itself, an SPS level syntax element equal to a predetermined value further specifies that the coded video sequence (CVS) comprises coded pictures of only one layer.
[0022] In one possible implementation form of the method according to any preceding implementation of the first aspect or the first aspect itself, the preset value is zero.
[0023] In one possible implementation form of a method according to any preceding implementation of the first aspect or the first aspect itself, predicting one or more coded pictures based on a value of an inter-layer enablement syntax element comprises predicting one or more coded pictures without reference to any ILRP if the value of the inter-layer enablement syntax element specifies that one or more ILRPs are not used for inter prediction of the one or more coded pictures.
[0024] According to a second aspect, the invention relates to a method for encoding a coded video bitstream, the method being executed by an encoding device, comprising the steps of: encoding a sequence parameter set (SPS) level syntax element into the bitstream, wherein an SPS level syntax element equal to a predetermined value specifies that a video parameter set (VPS) is not referenced by the SPS, and an SPS level syntax element greater than the predetermined value specifies that the SPS references the VPS; and, when the SPS level syntax element is greater than the predetermined value, encoding an inter-layer enablement syntax element into the bitstream, wherein the inter-layer enablement syntax element specifies whether one or more inter-layer reference pictures (ILRPs) are enabled to be used for inter prediction of one or more coded pictures.
[0025] In one possible implementation form of the method according to the second aspect itself, the VPS comprises syntax elements describing inter-layer prediction information of layers in a coded video sequence (CVS), the SPS comprises SPS level syntax elements and inter-layer enablement syntax elements, and the CVS comprises one or more ILRPs and one or more coded pictures.
[0026] In one possible implementation form of the method according to any preceding implementation of the second aspect or the second aspect itself, the coded picture and the ILRP of the coded picture belong to different layers.
[0027] In one possible implementation form of a method according to any preceding implementation of the second aspect or the second aspect itself, an SPS level syntax element equal to a predetermined value further specifies that the coded video sequence (CVS) comprises coded pictures of only one layer.
[0028] In one possible implementation form of the method according to any preceding implementation of the second aspect or the second aspect itself, the preset value is zero.
[0029] In one possible implementation form of a method according to any preceding implementation of the second aspect or the second aspect itself, the step of encoding inter-layer enablement syntax elements into a bitstream comprises a step of encoding inter-layer enablement syntax elements into the bitstream that specify that one or more ILRPs are enabled to be used for inter-prediction of one or more coded pictures based on determining that one or more ILRPs are enabled to be used for inter-prediction of one or more coded pictures.
[0030] In one possible implementation form of a method according to any preceding implementation of the second aspect or the second aspect itself, the step of encoding inter-layer enablement syntax elements into a bitstream comprises a step of encoding inter-layer enablement syntax elements into the bitstream that specify that one or more ILRPs are not used for inter-prediction of one or more coded pictures based on determining that one or more ILRPs are not used for inter-prediction of one or more coded pictures.
[0031] According to a third aspect, the invention relates to a decoder for decoding a coded video bitstream, comprising: an acquisition unit configured to acquire a sequence parameter set (SPS) level syntax element from the bitstream, wherein an SPS level syntax element equal to a predetermined value specifies that a video parameter set (VPS) is not referenced by the SPS, and an SPS level syntax element greater than the predetermined value specifies that the SPS references the VPS, the acquisition unit being further configured to acquire an inter-layer enablement syntax element when the SPS level syntax element is greater than the predetermined value, the inter-layer enablement syntax element specifying whether one or more inter-layer reference pictures (ILRPs) are enabled to be used for inter-prediction of one or more coded pictures; and a prediction unit configured to predict one or more coded pictures based on the value of the inter-layer enablement syntax element.
[0032] In one possible implementation form of the method according to the third aspect itself, the VPS comprises syntax elements describing inter-layer prediction information of layers in a coded video sequence (CVS), the SPS comprises SPS level syntax elements and inter-layer enablement syntax elements, and the CVS comprises one or more ILRPs and one or more coded pictures.
[0033] In one possible implementation form of a method according to any preceding implementation of the third aspect or the third aspect itself, the prediction unit is configured to predict one or more coded pictures by referencing one or more inter-layer reference pictures (ILRPs) when a value of an inter-layer enablement syntax element specifying one or more ILRPs is enabled to be used for inter-prediction of one or more coded pictures, and the one or more ILRPs are obtained based on inter-layer prediction information included in a VPS referenced by the SPS.
[0034] In one possible implementation form of the method according to any preceding implementation of the third aspect or the third aspect itself, the coded picture and the ILRP of the coded picture belong to different layers.
[0035] In one possible implementation form of a method according to any preceding implementation of the third aspect or the third aspect itself, an SPS level syntax element equal to a predetermined value further specifies that the coded video sequence (CVS) comprises coded pictures of only one layer.
[0036] In one possible implementation form of the method according to any preceding implementation of the third aspect or the third aspect itself, the preset value is zero.
[0037] In one possible implementation form of a method according to any preceding implementation of the third aspect or the third aspect itself, the prediction unit is configured to predict one or more coded pictures without reference to any ILRPs if the value of the inter-layer enablement syntax element specifies that one or more ILRPs are not used for inter prediction of one or more coded pictures.
[0038] According to a fourth aspect, the invention relates to an encoder for encoding a coded video bitstream, comprising: a first encoding unit configured to encode a sequence parameter set (SPS) level syntax element into the bitstream, wherein an SPS level syntax element equal to a preset value specifies that a video parameter set (VPS) is not referenced by the SPS, and an SPS level syntax element greater than the preset value specifies that the SPS references the VPS, and a second encoding unit configured to encode an inter-layer enablement syntax element into the bitstream when the SPS level syntax element is greater than the preset value, wherein the inter-layer enablement syntax element specifies whether one or more inter-layer reference pictures (ILRPs) are enabled to be used for inter prediction of one or more coded pictures.
[0039] In one possible implementation form of the method according to the fourth aspect itself, the encoder further comprises a determining unit configured to determine whether the SPS level syntax element is greater than a preset value.
[0040] In one possible implementation form of a method according to any preceding implementation of the fourth aspect or the fourth aspect itself, the VPS comprises syntax elements describing inter-layer prediction information of layers in a coded video sequence (CVS), the SPS comprises SPS level syntax elements and inter-layer enablement syntax elements, and the CVS comprises one or more ILRPs and one or more coded pictures.
[0041] In one possible implementation form of the method according to any preceding implementation of the fourth aspect or the fourth aspect itself, the coded picture and the ILRP of the coded picture belong to different layers.
[0042] In one possible implementation form of a method according to any preceding implementation of the fourth aspect or the fourth aspect itself, an SPS level syntax element equal to a predetermined value further specifies that the coded video sequence (CVS) comprises coded pictures of only one layer.
[0043] In one possible implementation form of the method according to any preceding implementation of the fourth aspect or the fourth aspect itself, the preset value is zero.
[0044] In one possible implementation form of a method according to any preceding implementation of the fourth aspect or the fourth aspect itself, the second encoding unit is configured to encode into a bitstream an inter-layer enablement syntax element that specifies that one or more ILRPs are enabled to be used for inter prediction of one or more coded pictures, based on determining that one or more ILRPs are enabled to be used for inter prediction of one or more coded pictures.
[0045] In one possible implementation form of a method according to any preceding implementation of the fourth aspect or the fourth aspect itself, the second encoding unit is configured to encode into the bitstream an inter-layer enablement syntax element that specifies that one or more ILRPs are not used for inter prediction of one or more coded pictures, based on determining that one or more ILRPs are not used for inter prediction of one or more coded pictures.
[0046] In one possible implementation form of a method according to any preceding implementation of the fourth aspect or the fourth aspect itself, the encoder further comprises a decision unit configured to decide whether one or more ILRPs are enabled to be used for inter prediction of one or more coded pictures.
[0047] The method according to the first aspect of the invention can be performed by an apparatus according to the third aspect of the invention. Further features and implementation forms of the method according to the third aspect of the invention correspond to the features and implementation forms of the apparatus according to the first aspect of the invention.
[0048] The method according to the second aspect of the invention can be performed by the apparatus according to the fourth aspect of the invention. Further features and implementation forms of the method according to the fourth aspect of the invention correspond to the features and implementation forms of the apparatus according to the second aspect of the invention.
[0049] The method according to the second aspect can be extended to an implementation form corresponding to an implementation form of the first device according to the first aspect, and thus the implementation form of the method comprises the features of the corresponding implementation form of the first device.
[0050] The advantages of the method according to the second aspect are the same as those of the corresponding implementation of the first device according to the first aspect.
[0051] According to a fifth aspect, the invention relates to an apparatus for decoding a video stream, comprising a processor and a memory, the memory storing instructions for causing the processor to carry out the method according to the first aspect.
[0052] According to a sixth aspect, the invention relates to an apparatus for encoding a video stream, comprising a processor and a memory, the memory storing instructions for causing the processor to carry out the method according to the second aspect.
[0053] According to a seventh aspect, there is proposed a computer-readable storage medium having stored thereon instructions that, when executed, cause one or more processors to configure to code video data, the instructions causing the one or more processors to perform a method according to the first or second aspect or any possible embodiment of the first or second aspect.
[0054] According to an eighth aspect, the invention relates to a computer program comprising a program code for performing, when the computer program is run on a computer, the method according to the first or second aspect or any possible embodiment of the first or second aspect.
[0055] According to a ninth aspect, the invention relates to a non-transitory storage medium comprising an encoded bitstream to be decoded by an image decoding device, the bitstream being generated by dividing a frame of a video signal or an image signal into a plurality of blocks, and comprising a plurality of syntax elements, wherein the inter-layer enable syntax element specifies whether one or more inter-layer reference pictures (ILRPs) are enabled to be used for inter-prediction of one or more coded pictures on condition that the SPS level syntax element is greater than a predetermined value, wherein an SPS level syntax element equal to the predetermined value specifies that a video parameter set (VPS) is not referenced by the SPS, and an SPS level syntax element greater than the predetermined value specifies that the SPS references the VPS.
[0056] The details of one or more embodiments are set forth in the accompanying drawings and the description below. Other features, objects, and advantages will become apparent from the description, drawings, and claims.
[0057] Furthermore, the following embodiments are provided:
[0058] In one embodiment, a method for decoding a coded video bitstream is provided, the method comprising: parsing a first syntax element that specifies whether a layer with index i uses inter-layer prediction, where i is an integer and i is greater than 0; parsing a second syntax element specifying whether a layer having index j is a direct reference layer for a layer having index i when a first condition is met, where j is an integer, j is less than i and is greater than or equal to 0, and the first condition includes the first syntax element specifying that the layer having index i may use inter-layer prediction, and i is greater than a preset value (e.g., 1); and predicting a picture of the layer having index i based on the value of the second syntax element.
[0059] In one embodiment, the method comprises: The method further includes a step of predicting a picture of a layer having index i using a layer having index j as a direct reference layer for the layer having index i when a second condition is satisfied, where j is an integer less than i and greater than or equal to 0, and the second condition includes a syntax element specifying that the layer having index i may use inter-layer prediction, and i is equal to a predetermined value.
[0060] In one embodiment, the method comprises: The method further comprises determining that when a second condition is met, the value of the second syntax element specifies that the layer with index j is a direct reference layer for the layer with index i.
[0061] In one embodiment, a picture of a layer with index i comprises a picture within or relating to the layer with index i.
[0062] In one embodiment, a method for decoding a coded video bitstream is provided, the method comprising: parsing a syntax element that specifies whether a layer with index i uses inter-layer prediction, where i is an integer and i is greater than 0; and when a condition is met, predicting a picture of the layer having index i using the layer having index j as a direct reference layer for the layer having index i, where j is an integer and j is equal to i-1, and the condition includes a syntax element specifying that the layer having index i may use inter-layer prediction.
[0063] In one embodiment, a picture of a layer with index i comprises a picture within or relating to the layer with index i.
[0064] In one embodiment, a method for decoding a coded video bitstream is provided, the method comprising: parsing a syntax element that specifies whether at least one long-term reference picture (LTRP) is used for inter-prediction of any coded picture in a coded video sequence (CVS), wherein each picture of the at least one LTRP is marked as "used for long-term reference" rather than an inter-layer reference picture (ILRP); and predicting one or more coded pictures in the CVS based on the values of the syntax elements.
[0065] In one embodiment, a method for decoding a coded video bitstream is provided, the method comprising: determining whether a condition is met, the condition including that a layer index of a current layer is greater than a preset value; When a condition is met, parsing a first syntax element that specifies whether at least one inter-layer reference picture (ILRP) is used for inter prediction of any coded picture in a coded video sequence (CVS); and predicting one or more coded pictures in the CVS based on the value of the first syntax element.
[0066] In one embodiment, the preset value is zero.
[0067] In one embodiment, the condition further includes that a second syntax element (eg, sps_video_parameter_set_id) is greater than 0.
[0068] In one embodiment, a method for decoding a coded video bitstream is provided, the method comprising: determining whether a condition is met, the condition including that a layer index of a current layer is greater than a preset value and that a current entry in a reference picture list structure is an ILRP entry; When the condition is met, parsing a syntax element specifying an index into a list of direct dependent layers of the current layer; predicting one or more coded pictures in the CVS based on a reference picture list structure, the current entry of which is the ILRP, obtained using an index into a list of directly dependent layers.
[0069] In one embodiment, the preset value is one.
[0070] In one embodiment, there is provided an encoder (20) comprising processing circuitry for performing a method according to any one of the preceding embodiments.
[0071] In one embodiment, there is provided a decoder (30) comprising processing circuitry for performing a method according to any one of the preceding embodiments.
[0072] In an embodiment, there is provided a computer program product comprising program code for performing a method according to any one of the preceding embodiments when the program code is executed on a computer or processor.
[0073] In one embodiment, one or more processors; A decoder is provided, comprising: a non-transitory computer-readable storage medium coupled to a processor and storing programming for execution by the processor, the programming, when executed by the processor, configuring the decoder to perform a method according to any one of the preceding embodiments.
[0074] In one embodiment, one or more processors; An encoder is provided, comprising: a non-transitory computer-readable storage medium coupled to a processor and storing programming for execution by the processor, the programming, when executed by the processor, configuring the encoder to perform a method according to any one of the preceding embodiments.
[0075] In one embodiment, a non-transitory computer-readable medium is provided that carries program code that, when executed by a computing device, causes the computing device to perform the method of any one of the preceding embodiments.
[0076] In the following, embodiments of the invention will be explained in more detail with reference to the accompanying figures and drawings. [Brief explanation of the drawings]
[0077] [Figure 1A] 1 is a block diagram illustrating an example of a video coding system configured to implement embodiments of the invention. [Figure 1B]FIG. 2 is a block diagram illustrating another example of a video coding system configured to implement embodiments of the invention. [Figure 2] FIG. 1 is a block diagram illustrating an example of a video encoder configured to implement embodiments of the invention. [Figure 3] FIG. 2 is a block diagram illustrating an example structure of a video decoder configured to implement an embodiment of the invention. [Figure 4] FIG. 1 is a block diagram illustrating an example of an encoding or decoding device. [Figure 5] FIG. 10 is a block diagram illustrating another example of an encoding or decoding device. [Figure 6] FIG. 1 is a block diagram illustrating scalable coding with two layers. [Figure 7] FIG. 31 is a block diagram showing the structure of an example of a content supply system 3100 that realizes a content distribution service. [Figure 8] FIG. 2 is a block diagram illustrating the structure of an example of a terminal device. [Figure 9] FIG. 2 is a flow diagram of a decoding method according to one embodiment. [Figure 10] FIG. 2 is a flow diagram of an encoding method according to one embodiment. [Figure 11] FIG. 2 is a schematic diagram of an encoder according to one embodiment. [Figure 12] FIG. 2 is a schematic diagram of a decoder according to one embodiment; DETAILED DESCRIPTION OF THE INVENTION
[0078] In the following, the same reference signs refer to identical or at least functionally equivalent features, unless explicitly specified otherwise.
[0079] In the following description, reference is made to the accompanying figures which form part of the disclosure and which show, by way of illustration, certain aspects of embodiments of the invention or in which embodiments of the invention may be used. It is understood that embodiments of the invention may be used in other ways and may have structural or logical changes not depicted in the figures. Therefore, the following detailed description is not to be taken in a limiting sense, and the scope of the present invention is defined by the appended claims.
[0080] For example, it is understood that disclosure regarding a described method may also apply to a corresponding device or system configured to perform that method, and vice versa. For example, if one or more particular method steps are described, a corresponding device may include one or more units, e.g., functional units, for performing the described one or more method steps, even if such one or more units are not explicitly described or illustrated in a figure. On the other hand, for example, if a particular apparatus is described based on one or more units, e.g., functional units, a corresponding method may include one step for performing the function of one or more units (e.g., one step for performing the function of one or more units, or multiple steps that each perform the function of one or more units), even if such one or more steps are not explicitly described or illustrated in a figure. Furthermore, it is understood that features of various exemplary embodiments and / or aspects described herein may be combined with each other, unless specifically noted otherwise.
[0081] Video coding typically refers to the processing of a sequence of pictures to form a video or a video sequence. Instead of the term "picture," the terms "frame" or "image" may be used synonymously in the field of video coding. Video coding (or, in general, coding) comprises two parts: video encoding and video decoding. Video encoding is performed at the source side and typically comprises processing the original video picture (e.g., by compression) to reduce the amount of data required to represent the video picture (for more efficient storage and / or transmission). Video decoding is performed at the destination side and typically comprises the reverse process compared to the encoder to reconstruct the video picture. Embodiments referring to "coding" of a video picture (or, in general, a picture) shall be understood to relate to "encoding" or "decoding" of the video picture or the respective video sequence. The combination of the encoding and decoding parts is also called CODEC (Coding and Decoding).
[0082] In the case of lossless video coding, the original video picture can be reconstructed, i.e., the reconstructed video picture has the same quality as the original video picture (assuming there is no transmission loss or other data loss during storage or transmission). In the case of lossy video coding, further compression is performed, e.g., by quantization, to reduce the amount of data representing the video picture, and the video picture cannot be perfectly reconstructed at the decoder, i.e., the quality of the reconstructed video picture is lower or worse than the quality of the original video picture.
[0083] Some video coding standards belong to the group of "lossy hybrid video codecs" (i.e., combine spatial and temporal prediction in the sample domain with 2D transform coding to apply quantization in the transform domain). Each picture of a video sequence is typically partitioned into a set of non-overlapping blocks, and coding is typically performed at the block level. In other words, at an encoder, video is typically processed, i.e., encoded, at the block (video block) level, for example, by generating a predictive block using spatial (intra-picture) prediction and / or temporal (inter-picture) prediction, subtracting the predictive block from a current block (the block currently being processed / to be processed) to obtain a residual block, transforming the residual block, and quantizing the residual block in the transform domain to reduce the amount of data to be transmitted (compression); while at a decoder, an inverse process compared to the encoder is applied to the encoded, or compressed, block to reconstruct the current block for representation. Additionally, the encoder duplicates the decoder processing loop so that both generate the same predictions (eg, intra and inter predictions) and / or reconstructions for processing, i.e., coding, subsequent blocks.
[0084] In the following, embodiments of a video coding system 10, a video encoder 20, and a video decoder 30 are described based on FIGS.
[0085] 1A is a schematic block diagram illustrating an example coding system 10, e.g., video coding system 10 (or coding system 10 for short), that may utilize the techniques of the present application. A video encoder 20 (or encoder 20 for short) and a video decoder 30 (or decoder 30 for short) of video coding system 10 represent examples of devices that may be configured to perform techniques according to various examples described in the present application.
[0086] As shown in FIG. 1A, coding system 10 includes, for example, a source device 12 configured to provide encoded picture data 21 to a destination device 14 for decoding the encoded picture data 13.
[0087] Source device 12 comprises an encoder 20 and may additionally, i.e., optionally, comprise a picture source 16 , a preprocessor (or preprocessing unit) 18 , for example, a picture preprocessor 18 , and a communication interface or unit 22 .
[0088] Picture source 16 may comprise or be any kind of picture capture device, e.g., a camera for capturing real-world pictures, and / or any kind of picture generation device, e.g., a computer graphics processor for generating computer-animated pictures, or any kind of other device for obtaining and / or providing real-world pictures, computer-generated pictures (e.g., screen content, virtual reality (VR) pictures), and / or any combination thereof (e.g., augmented reality (AR) pictures). Picture source may be any kind of memory or storage device that stores any of the above-mentioned pictures.
[0089] To distinguish from the preprocessor 18 and the processing performed by the preprocessing unit 18, the picture or picture data 17 may also be referred to as an unprocessed picture or unprocessed picture data 17.
[0090] The pre-processor 18 is configured to receive (raw) picture data 17 and perform pre-processing on the picture data 17 to obtain a pre-processed picture 19 or pre-processed picture data 19. The pre-processing performed by the pre-processor 18 may comprise, for example, cropping, color format conversion (e.g., from RGB to YCbCr), color correction, or noise removal. It can be understood that the pre-processing unit 18 may be an optional component.
[0091] Video encoder 20 is configured to receive pre-processed picture data 19 and provide encoded picture data 21 (further details will be described below, eg, based on FIG. 2).
[0092] The communications interface 22 of the source device 12 may be configured to receive the encoded picture data 21 and transmit the encoded picture data 21 (or any further processed version thereof) over the communications channel 13 to another device, such as the destination device 14 or any other device, for storage or direct reconstruction.
[0093] The destination device 14 includes a decoder 30 (e.g., a video decoder 30), and may additionally, i.e. optionally, include a communication interface or communication unit 28, a post-processor 32 (or post-processing unit 32), and a display device 34.
[0094] The communications interface 28 of the destination device 14 is configured to receive the encoded picture data 21 (or any further processed version thereof), for example, directly from the source device 12 or from any other source, for example, a storage device, for example, an encoded picture data storage device, and to provide the encoded picture data 21 to the decoder 30.
[0095] The communication interface 22 and the communication interface 28 may be configured to transmit or receive the encoded picture data 21 or the encoded data 13 via a direct communication link between the source device 12 and the destination device 14, e.g., a direct wired or wireless connection, or via any type of network, e.g., a wired or wireless network or any combination thereof, or any type of private and public network, or any type of combination thereof.
[0096] The communications interface 22 may be configured, for example, to package the encoded picture data 21 in a suitable format, e.g., packets, and / or to process the encoded picture data using any type of transmission encoding or processing for transmission over a communications link or network.
[0097] Communications interface 28, which forms the counterpart to communications interface 22, may be configured, for example, to receive the transmitted data and process the transmitted data using any type of corresponding transmission decoding or processing and / or depackaging to obtain encoded picture data 21.
[0098] Both communication interface 22 and communication interface 28 may be configured as unidirectional communication interfaces, as indicated by the arrow for communication channel 13 in FIG. 1A pointing from source device 12 to destination device 14, or as bidirectional communication interfaces, and may be configured to send and receive messages, e.g., to set up a connection, to acknowledge and exchange any other information related to the communication link and / or data transmission, e.g., encoded picture data transmission.
[0099] The decoder 30 is configured to receive the encoded picture data 21 and provide decoded picture data 31 or decoded pictures 31 (further details will be described below, for example, based on Figure 3 or Figure 5).
[0100] Post-processor 32 of destination device 14 is configured to post-process decoded picture data 31 (also called reconstructed picture data), e.g., decoded picture 31, to obtain post-processed picture data 33, e.g., post-processed picture 33. The post-processing performed by post-processing unit 32 may comprise, e.g., color format conversion (e.g., from YCbCr to RGB), color correction, cropping, or resampling, or any other processing to prepare decoded picture data 31 for, e.g., display by display device 34.
[0101] A display device 34 of destination device 14 is configured to receive the post-processed picture data 33 for displaying the picture, for example, to a user or viewer. Display device 34 may be or comprise any type of display for presenting the reconstructed picture, for example, an integrated or external display or monitor. The display may comprise, for example, a liquid crystal display (LCD), an organic light emitting diode (OLED) display, a plasma display, a projector, a micro-LED display, a liquid crystal on silicon (LCoS), a digital light processor (DLP), or any other type of display.
[0102] 1A depicts source device 12 and destination device 14 as separate devices, device embodiments may also include both source device 12 or corresponding functionality and destination device 14 or corresponding functionality. In such embodiments, source device 12 or corresponding functionality and destination device 14 or corresponding functionality may be realized using the same hardware and / or software, or by separate hardware and / or software, or any combination thereof.
[0103] As will be apparent to those skilled in the art based on the description, the functions of different units or the presence and (exact) division of functions within source device 12 and / or destination device 14 as depicted in FIG. 1A may vary depending on the actual device and application.
[0104] Encoder 20 (e.g., video encoder 20) or decoder 30 (e.g., video decoder 30), or both encoder 20 and decoder 30, may be implemented via processing circuitry as depicted in FIG. 1B , such as one or more microprocessors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), discrete logic, hardware, dedicated video coding, or any combination thereof. Encoder 20 may be implemented via processing circuitry 46 to implement various modules as discussed with respect to encoder 20 of FIG. 2 and / or any other encoder system or subsystem described herein. Decoder 30 may be implemented via processing circuitry 46 to implement various modules as discussed with respect to decoder 30 of FIG. 3 and / or any other decoder system or subsystem described herein. The processing circuitry may be configured to perform various operations as discussed below. 5, if the techniques are implemented partially in software, a device may store instructions for the software on a suitable non-transitory computer-readable storage medium and execute the instructions in hardware using one or more processors to perform the techniques of this disclosure. Either video encoder 20 and video decoder 30 may be integrated within a single device as part of a combined encoder / decoder (CODEC), for example, as shown in FIG. 1B.
[0105] Source device 12 and destination device 14 may comprise any of a wide range of devices, including any type of handheld or fixed device, such as a notebook or laptop computer, a mobile phone, a smartphone, a tablet or tablet computer, a camera, a desktop computer, a set-top box, a television, a display device, a digital media player, a video game console, a video streaming device (such as a content service server or content distribution server), a broadcast receiver device, a broadcast transmitter device, or the like, and may use no operating system or any type of operating system. In some cases, source device 12 and destination device 14 may be equipped for wireless communication. Thus, source device 12 and destination device 14 may be wireless communication devices.
[0106] 1A is merely an example, and the techniques of the present application may be applied to a video coding setting (e.g., video encoding or video decoding) without necessarily including any data communication between the encoding and decoding devices. In other examples, data may be retrieved from local memory, streamed over a network, or the like. A video encoding device may encode data and store it in memory, and / or a video decoding device may retrieve data from memory and decode it. In some examples, encoding and decoding are performed by devices that do not communicate with each other, but simply encode data to memory and / or retrieve data from memory and decode it.
[0107] For ease of explanation, embodiments of the invention are described herein by reference to, for example, High-Efficiency Video Coding (HEVC) or to reference software for Versatile Video Coding (VVC), the next-generation video coding standard developed by the ITU-T Video Coding Experts Group (VCEG) and the ISO / IEC Joint Collaboration Team on Video Coding (JCT-VC) of the Motion Picture Experts Group (MPEG). Those skilled in the art will understand that embodiments of the invention are not limited to HEVC or VVC.
[0108] Encoders and encoding methods 2 illustrates a schematic block diagram of an exemplary video encoder 20 configured to implement the techniques of the present application. In the example of FIG. 2, the video encoder 20 includes an input 201 (or input interface 201), a residual calculation unit 204, a transform processing unit 206, a quantization unit 208, an inverse quantization unit 210, an inverse transform processing unit 212, a reconstruction unit 214, a loop filter unit 220, a decoded picture buffer (DPB) 230, a mode selection unit 260, an entropy encoding unit 270, and an output 272 (or output interface 272). The mode selection unit 260 may include an inter prediction unit 244, an intra prediction unit 254, and a partitioning unit 262. The inter prediction unit 244 may include a motion estimation unit and a motion compensation unit (not shown). The video encoder 20 illustrated in FIG. 2 may also be referred to as a hybrid video encoder or a video encoder using a hybrid video codec.
[0109] The residual calculation unit 204, the transform processing unit 206, the quantization unit 208, and the mode selection unit 260 may be referred to as forming a forward signal path of the encoder 20, while the inverse quantization unit 210, the inverse transform processing unit 212, the reconstruction unit 214, the buffer 216, the loop filter 220, the decoded picture buffer (DPB) 230, the inter prediction unit 244, and the intra prediction unit 254 may be referred to as forming a backward signal path of the video encoder 20, which corresponds to the signal path of a decoder (see video decoder 30 in FIG. 3 ). The inverse quantization unit 210, the inverse transform processing unit 212, the reconstruction unit 214, the loop filter 220, the decoded picture buffer (DPB) 230, the inter prediction unit 244, and the intra prediction unit 254 are also referred to as forming a “built-in decoder” of the video encoder 20.
[0110] Pictures and picture divisions (pictures and blocks) Encoder 20 may be configured to receive picture 17 (or picture data 17), e.g., a picture of a sequence of pictures forming a video or a video sequence, e.g., via input 201. The received picture or picture data may also be preprocessed picture 19 (or preprocessed picture data 19). For purposes of brevity, the following description refers to picture 17. Picture 17 may also be called a current picture or a picture to be coded (particularly in video coding, to distinguish the current picture from other pictures of the same video sequence, i.e., a video sequence that also comprises the current picture, e.g., previously encoded and / or decoded pictures).
[0111] A (digital) picture is, or can be considered as, a two-dimensional array or matrix of samples with intensity values. The samples in the array may also be called pixels (a short form of picture element) or pels. The number of samples in the horizontal and vertical directions (or axes) of the array or picture defines the size and / or resolution of the picture. For color representation, three color components are typically employed, i.e., a picture may be represented as or contain three sample arrays. In an RBG format or color space, a picture comprises corresponding red, green, and blue sample arrays. However, in video coding, each pixel is typically represented in a luminance and chrominance format or color space, such as YCbCr, which comprises a luminance component denoted by Y (sometimes L is also used instead) and two chrominance components denoted by Cb and Cr. The luminance (or luma for short) component Y represents brightness or gray-level intensity (e.g., as in a grayscale picture), while the two chrominance (or chroma for short) components Cb and Cr represent chromaticity or color information components. Thus, a picture in YCbCr format comprises a luminance sample array of luminance sample values (Y) and two chrominance sample arrays of chrominance values (Cb and Cr). A picture in RGB format may be converted or transformed to YCbCr format, or vice versa, a process also known as color conversion or transformation. If the picture is monochrome, the picture may comprise only a luminance sample array. Thus, a picture may be, for example, an array of luma samples in monochrome format, or an array of luma samples and two corresponding arrays of chroma samples in 4:2:0, 4:2:2, and 4:4:4 color formats.
[0112] Embodiments of video encoder 20 may comprise a picture partition unit (not depicted in FIG. 2 ) configured to partition picture 17 into multiple (typically non-overlapping) picture blocks 203. These blocks may also be called root blocks, macroblocks (H.264 / AVC), or coding tree blocks (CTBs) or coding tree units (CTUs) (H.265 / HEVC and VVC). The picture partition unit may be configured to use the same block size for all pictures of a video sequence and a corresponding grid defining the block sizes, or to vary the block size among pictures or subsets or groups of pictures, and to partition each picture into corresponding blocks.
[0113] In further embodiments, the video encoder may be configured to directly receive blocks 203 of picture 17, e.g., one, some, or all of the blocks that form picture 17. Picture blocks 203 may also be referred to as current picture blocks or picture blocks to be coded.
[0114] Like picture 17, picture block 203 again can be considered as a two-dimensional array or matrix of samples having intensity values (sample values), but with smaller dimensions than picture 17. In other words, block 203 may comprise, for example, one sample array (e.g., a luma array in the case of a monochrome picture 17, or a luma or chroma array in the case of a color picture), or three sample arrays (e.g., a luma and two chroma arrays in the case of a color picture 17), or any other number and / or type of arrays depending on the applied color format. The number of samples in the horizontal and vertical directions (or axes) of block 203 defines the size of block 203. Thus, a block may be, for example, an M×N (M columns by N rows) array of samples, or an M×N array of transform coefficients.
[0115] An embodiment of video encoder 20 such as that depicted in FIG. 2 may be configured to encode picture 17 block by block, eg, encoding and prediction is performed for each block 203.
[0116] An embodiment of video encoder 20 as depicted in FIG. 2 may further be configured to partition and / or encode pictures by using slices (also called video slices), where a picture may be partitioned into or encoded using one or more (typically non-overlapping) slices, each of which may comprise one or more blocks (e.g., CTUs), or one or more groups of blocks (e.g., tiles (H.265 / HEVC and VVC) or bricks (VVC)).
[0117] An embodiment of video encoder 20 as depicted in FIG. 2 may further be configured to partition and / or encode a picture by using slices / tile groups (also referred to as video tile groups) and / or tiles (also referred to as video tiles), where a picture may be partitioned into or encoded using one or more (typically non-overlapping) slice / tile groups, each of which may comprise, for example, one or more blocks (e.g., CTUs) or one or more tiles, and each tile may be, for example, rectangular in shape and may comprise one or more blocks (e.g., CTUs), e.g., full or fractional blocks.
[0118] Residual calculation The residual calculation unit 204 may be configured to calculate the residual block 205 (also referred to as the residual 205) based on the picture block 203 and the prediction block 265 (further details about the prediction block 265 will be provided later), for example, by subtracting the sample values of the prediction block 265 from the sample values of the picture block 203 on a sample-by-sample (pixel-by-pixel) basis to obtain the residual block 205 in the sample domain.
[0119] conversion The transform processing unit 206 may be configured to apply a transform, such as a discrete cosine transform (DCT) or a discrete sine transform (DST), on the sample values of the residual block 205 to obtain transform coefficients 207 in the transform domain. The transform coefficients 207, also called transform residual coefficients, may represent the residual block 205 in the transform domain.
[0120] The transform processing unit 206 may be configured to apply an integer approximation of a DCT / DST, such as the transform specified for H.265 / HEVC. Compared to an orthogonal DCT transform, such an integer approximation is typically scaled by a factor. To maintain the norm of the residual blocks processed by the forward and inverse transforms, an additional scaling factor is applied as part of the transform process. The scaling factor is typically chosen based on certain constraints, such as the scaling factor being a power of two due to shift operations, the bit depth of the transform coefficients, a trade-off between accuracy and implementation cost, etc. For example, a particular scaling factor may be specified for, e.g., the inverse transform by the inverse transform processing unit 212 (and the corresponding inverse transform by, e.g., the inverse transform processing unit 312 in the video decoder 30), and a corresponding scaling factor for the forward transform by, e.g., the transform processing unit 206 in the encoder 20 may be specified accordingly.
[0121] An embodiment of video encoder 20 (respectively, transform processing unit 206) may be configured to output transform parameters, e.g., one or more types of transform, encoded or compressed, e.g., directly or via entropy encoding unit 270, so that, for example, video decoder 30 may receive and use the transform parameters for decoding.
[0122] quantization The quantization unit 208 may be configured to quantize the transform coefficients 207, for example, by applying scalar quantization or vector quantization, to obtain quantized coefficients 209. The quantized coefficients 209 may also be referred to as quantized transform coefficients 209 or quantized residual coefficients 209.
[0123] The quantization process may reduce the bit depth associated with some or all of the transform coefficients 207. For example, an n-bit transform coefficient may be truncated to an m-bit transform coefficient during quantization, where n is greater than m. The degree of quantization may be modified by adjusting a Quantization Parameter (QP). For example, for scalar quantization, different scaling may be applied to achieve finer or coarser quantization. A smaller quantization step size corresponds to finer quantization, while a larger quantization step size corresponds to coarser quantization. The applicable quantization step size may be indicated by the quantization parameter (QP). The quantization parameter may, for example, be an index into a predefined set of applicable quantization step sizes. For example, a small quantization parameter may correspond to fine quantization (small quantization step size) and a large quantization parameter may correspond to coarse quantization (large quantization step size), or vice versa. Quantization may involve division by a quantization step size, and corresponding and / or inverse dequantization, e.g., by the inverse quantization unit 210, may involve multiplication by the quantization step size. Some standards, e.g., HEVC, embodiments may be configured to determine the quantization step size using a quantization parameter. Generally, the quantization step size may be calculated based on the quantization parameter using a fixed-point approximation of a formula involving division. Additional scaling factors may be introduced for quantization and dequantization to restore the norm of the residual block, which may be modified due to the scaling used in the fixed-point approximation of the formula for the quantization step size and quantization parameter. In one example implementation, the scaling of the inverse transform and dequantization may be combined. Alternatively, customized quantization tables may be used and signaled, e.g., in the bitstream, from the encoder to the decoder. Quantization is a lossy operation, and the loss increases with increasing quantization step size.
[0124] Embodiments of video encoder 20 (respectively, quantization unit 208) may be configured to output a quantization parameter (QP), e.g., encoded directly or via entropy encoding unit 270, so that, for example, video decoder 30 may receive and apply the quantization parameter for decoding.
[0125] inverse quantization Inverse quantization unit 210 is configured to apply the inverse quantization of quantization unit 208 on the quantized coefficients to obtain dequantized coefficients 211, e.g., by applying the inverse of the quantization scheme applied by quantization unit 208, based on or using the same quantization step size as quantization unit 208. The dequantized coefficients 211, also referred to as dequantized residual coefficients 211, may correspond to transform coefficients 207, although they are typically not identical to the transform coefficients due to loss due to quantization.
[0126] Inverse transformation The inverse transform processing unit 212 is configured to apply an inverse transform of the transform applied by the transform processing unit 206, such as an inverse discrete cosine transform (DCT) or an inverse discrete sine transform (DST), or other inverse transform, to obtain a reconstructed residual block 213 in the sample domain (or corresponding dequantized coefficients 213). The reconstructed residual block 213 may also be referred to as a transform block 213.
[0127] Reconstruction The reconstruction unit 214 (e.g., an adder or summator 214) is configured to add the transform block 213 (i.e., the reconstructed residual block 213) to the prediction block 265 to obtain a reconstructed block 215 in the sample domain, for example, by adding the sample values of the reconstructed residual block 213 and the sample values of the prediction block 265, sample by sample.
[0128] Filtering The loop filter unit 220 (or “loop filter” 220 for short) is configured to filter the reconstructed block 215 to obtain a filtered block 221, or generally, to filter the reconstructed samples to obtain filtered sample values. The loop filter unit is configured, for example, to smooth pixel transitions or otherwise improve video quality. The loop filter unit 220 may include one or more loop filters, such as a deblocking filter, a sample-adaptive offset (SAO) filter, or one or more other filters, for example, an adaptive loop filter (ALF), a noise suppression filter (NSF), or any combination thereof. In one example, the loop filter unit 220 may include a deblocking filter, an SAO filter, and an ALF filter. The order of the filtering process may be a deblocking filter, an SAO, and an ALF. In another example, a process called luma mapping with chroma scaling (LMCS) (i.e., adaptive in-loop reshaper) is added. This process is performed before deblocking. In another example, the deblocking filter process may also be applied to interior sub-block edges, such as affine sub-block edges, ATMVP sub-block edges, sub-block transform (SBT) edges, and intra sub-partition (ISP) edges. Although loop filter unit 220 is depicted in FIG. 2 as being an in-loop filter, in other configurations, loop filter unit 220 may be implemented as a post-loop filter. Filtered block 221 may also be referred to as filtered reconstructed block 221.
[0129] An embodiment of video encoder 20 (respectively, loop filter unit 220) may be configured to output loop filter parameters (such as SAO filter parameters or ALF filter parameters or LMCS parameters), e.g., encoded directly or via entropy encoding unit 270, such that decoder 30 may receive and apply the same loop filter parameters or respective loop filters for decoding.
[0130] Decoded Picture Buffer Decoded picture buffer (DPB) 230 may be a memory that stores reference pictures, or reference picture data in general, for encoding video data by video encoder 20. DPB 230 may be formed by any of a variety of memory devices, such as dynamic random access memory (DRAM), including synchronous DRAM (SDRAM), magnetoresistive RAM (MRAM), resistive RAM (RRAM), or other types of memory devices. Decoded picture buffer (DPB) 230 may be configured to store one or more filtered blocks 221. The decoded picture buffer 230 may further be configured to store other previously filtered blocks, e.g., previously reconstructed, filtered blocks 221, e.g., previously reconstructed pictures, of the same current picture or of a different picture, and may provide, for example, for inter-prediction, a previously reconstructed, i.e., decoded, complete picture (and corresponding reference blocks and samples) and / or a partially reconstructed current picture (and corresponding reference blocks and samples). For example, if the reconstructed blocks 215 are not filtered by the loop filter unit 220 or are any other further processed versions of the reconstructed blocks or samples, the decoded picture buffer (DPB) 230 may also be configured to store one or more unfiltered reconstructed blocks 215, or in general, unfiltered reconstructed samples.
[0131] Mode Selection (Segmentation and Prediction) The mode selection unit 260 includes a partitioning unit 262, an inter prediction unit 244, and an intra prediction unit 254, and is configured to receive or obtain original picture data, e.g., original block 203 (current block 203 of current picture 17), and reconstructed picture data, e.g., filtered and / or unfiltered reconstructed samples or blocks, of the same (current) picture and / or from one or more previously decoded pictures, e.g., from the decoded picture buffer 230 or other buffers (e.g., line buffers, not shown). The reconstructed picture data is used as reference picture data for prediction, e.g., inter prediction or intra prediction, to obtain a prediction block 265 or predictor 265.
[0132] The mode selection unit 260 may be configured to determine or select a partition and a prediction mode (e.g., intra or inter prediction mode) for the current block prediction mode (which does not include partitions) and generate a corresponding prediction block 265 that is used for calculating the residual block 205 and for reconstructing the reconstructed block 215.
[0133] Embodiments of the mode selection unit 260 may be configured to select a partition and prediction mode (e.g., from those supported by or available to the mode selection unit 260) that provides the best match, or in other words, the smallest residual (smallest residual means better compression for transmission or storage), or the smallest signaling overhead (smallest signaling overhead means better compression for transmission or storage), or that considers or balances both. The mode selection unit 260 may be configured to determine the partition and prediction mode based on Rate Distortion Optimization (RDO), i.e., select a prediction mode that provides the smallest rate distortion. Terms such as “best,” “minimum,” “optimal,” etc. in this context do not necessarily refer to an overall “best,” “minimum,” “optimal,” etc., but may refer to the satisfaction of a termination or selection criterion, such as a value above or below a threshold or other constraint, potentially leading to a “suboptimal selection,” but reducing complexity and processing time.
[0134] In other words, the partitioning unit 262 may be configured to partition a picture from a video sequence into a sequence of coding tree units (CTUs), and the CTUs 203 may be further partitioned into smaller block partitions or sub-blocks (which again form blocks) using, for example, quad-tree partitioning (QT), binary partitioning (BT), or triple-tree partitioning (TT), or any combination thereof, iteratively, to perform prediction for each of the block partitions or sub-blocks, and the mode selection comprises selecting a tree structure for the partitioned block 203, and a prediction mode is applied to each of the block partitions or sub-blocks.
[0135] Below, the partitioning (eg, by partitioning unit 260) and prediction processes (by inter-prediction unit 244 and intra-prediction unit 254) performed by example video encoder 20 will be described in more detail.
[0136] classification The partition unit 262 may be configured to partition a picture from a video sequence into a sequence of coding tree units (CTUs), and the partition unit 262 may partition (or divide) the coding tree units (CTUs) 203 into smaller partitions, e.g., smaller blocks of square or rectangular size. For a picture with three sample arrays, a CTU consists of an N×N block of luma samples along with two corresponding blocks of chroma samples. The maximum allowable size of a luma block within a CTU is specified to be 128×128 in the developing Versatile Video Coding (VVC) standard, but may be specified as a value other than 128×128, e.g., 256×256, in the future. The CTUs of a picture may be clustered / grouped as slices / tile groups, tiles, or bricks. A tile covers a rectangular area of the picture, and the tile may be divided into one or more bricks. A brick consists of several CTU rows within the tile. A tile that is not partitioned into multiple bricks may be called a brick. However, a brick is a proper subset of a tile and is not called a tile. There are two modes of tile groups supported in VVC: raster scan slice / tile group mode and rectangular slice mode. In raster scan tile group mode, a slice / tile group contains a sequence of tiles in the tile raster scan of the picture. In rectangular slice mode, a slice contains several bricks of a picture that collectively form a rectangular region of the picture. The bricks within a rectangular slice are in the order of the brick raster scan of the slice. These smaller blocks (which may also be called sub-blocks) can be further partitioned into even smaller partitions.This is also called tree partitioning or hierarchical tree partitioning; for example, a root block at root tree level 0 (hierarchical level 0, depth 0) may be recursively partitioned, e.g., into two or more blocks at the next lower tree level, e.g., nodes at tree level 1 (hierarchical level 1, depth 1); these blocks may again be partitioned into two or more blocks at the next lower level, e.g., tree level 2 (hierarchical level 2, depth 2), etc., until, e.g., a termination criterion is met and partitioning is terminated, e.g., because a maximum tree depth or minimum block size has been reached. Blocks that are not further partitioned are also called leaf blocks or leaf nodes of the tree. A tree that uses partitioning into two partitions is called a Binary-Tree (BT), a tree that uses partitioning into three partitions is called a Ternary-Tree (TT), and a tree that uses partitioning into four partitions is called a Quad-Tree (QT).
[0137] For example, a coding tree unit (CTU) may be or comprise a CTB of luma samples for a picture having three sample arrays, two corresponding CTBs of chroma samples, or a CTB of samples for a monochrome picture or a picture coded using three separate color planes, and a syntax structure used to code the samples. Correspondingly, a coding tree block (CTB) may be an N×N block of samples for some values of N such that the division of the components into CTBs is partitioned. A coding unit (CU) may be or comprise a coding block of luma samples for a picture having three sample arrays, two corresponding coding blocks of chroma samples, or a coding block of samples for a monochrome picture or a picture coded using three separate color planes, and a syntax structure used to code the samples. Correspondingly, a coding block (CB) may be an M×N block of samples for some values of M and N such that the division of the CTB into coding blocks is partitioned.
[0138] For example, in an HEVC embodiment, a coding tree unit (CTU) may be divided into CUs by using a quadtree structure, denoted as a coding tree. The decision of whether a picture area should be coded using (temporal) inter-picture prediction or (spatial) intra-picture prediction is made at the leaf CU level. Each leaf CU may be further divided into one, two, or four PUs according to a PU partition type. Within one PU, the same prediction process is applied, and related information is transmitted to the decoder for each PU. After obtaining residual blocks by applying a prediction process based on the PU partition type, the leaf CU may be partitioned into transform units (TUs) according to another quadtree structure similar to the coding tree for CUs.
[0139] For example, in an embodiment according to the latest video coding standard currently under development, called Versatile Video Coding (VVC), a combined quadtree nested multitype tree employs bipartite and tripartite segmentation structures to partition coding tree units. In the coding tree structure within a coding tree unit, CUs can have either square or rectangular shapes. For example, a coding tree unit (CTU) is first partitioned by a quadtree. The quadtree leaf nodes can then be further partitioned by a multitype tree structure. In the multitype tree structure, there are four partition types: vertical bipartite (SPLIT_BT_VER), horizontal bipartite (SPLIT_BT_HOR), vertical tripartite (SPLIT_TT_VER), and horizontal tripartite (SPLIT_TT_HOR). The multitype tree leaf nodes are called coding units (CUs), and this segmentation is used for prediction and transform processing without further partitioning, unless the CU is too large for the maximum transform length. This means that in most cases, CUs, PUs, and TUs have the same block size in a quadtree with a nested multi-type tree coding block structure. An exception occurs when the maximum supported transform length is smaller than the width or height of the color components of a CU. VVC develops a unique signaling mechanism for partition split information in a quadtree with a nested multi-type tree coding tree structure. In the signaling mechanism, a coding tree unit (CTU) is treated as the root of the quadtree and is first partitioned by the quadtree structure. Each quadtree leaf node (when large enough to allow it) is then further partitioned by the multi-type tree structure.In the multi-type tree structure, a first flag (mtt_split_cu_flag) is signaled to indicate whether the node is further partitioned; when the node is further partitioned, a second flag (mtt_split_cu_vertical_flag) is signaled to indicate the split direction; and then a third flag (mtt_split_cu_binary_flag) is signaled to indicate whether the split is two-way or three-way. Based on the values of mtt_split_cu_vertical_flag and mtt_split_cu_binary_flag, the multi-type tree split mode (MttSplitMode) of the CU can be derived by the decoder based on a predefined rule or table. It should be noted that for certain designs, for example, a design of 64x64 luma blocks and 32x32 chroma pipelines in a VVC hardware decoder, TT splitting is prohibited when either the width or height of the luma coding block is greater than 64, as shown in FIG. 6. TT partitioning is also prohibited when either the width or height of a chroma coding block is greater than 32. Pipelined designs divide pictures into virtual pipeline data units (VPDUs), which are defined as non-overlapping units within a picture. In hardware decoders, consecutive VPDUs are processed simultaneously by multiple pipeline stages. The VPDU size is roughly proportional to the buffer size in most pipeline stages, so it is important to keep the VPDU size small. In most hardware decoders, the VPDU size can be set to the maximum transform block (TB) size. However, in VVC, ternary tree (TT) and binary tree (BT) partitioning can lead to an increase in VPDU size.
[0140] In addition, it should be noted that when a portion of a tree node block extends beyond the bottom or right picture boundary, the tree node block is forced to be split until all samples of every coded CU are located inside the picture boundary.
[0141] As an example, an intra subdivision (ISP) tool may divide a luma intra predicted block vertically or horizontally into two or four subdivisions depending on the block size.
[0142] In one example, mode select unit 260 of video encoder 20 may be configured to perform any combination of the partitioning techniques described herein.
[0143] As described above, video encoder 20 is configured to determine or select a best or optimal prediction mode from a (e.g., predetermined) set of prediction modes, which may comprise, for example, intra-prediction modes and / or inter-prediction modes.
[0144] Intra prediction The set of intra prediction modes may include, for example, 35 different intra prediction modes, such as DC (or average) mode and planar mode, or directional modes, as defined in HEVC, or 67 different intra prediction modes, such as DC (or average) mode and planar mode, or directional modes, as defined in VVC. As an example, for example, as defined in VVC, some conventional angular intra prediction modes are adaptively replaced with wide-angle intra prediction modes for non-square blocks. As another example, to avoid division operations for DC prediction, only the longer side is used to calculate the average for non-square blocks. Then, the results of planar mode intra prediction may be further modified by a position-dependent intra prediction combination (PDPC) method.
[0145] The intra prediction unit 254 is configured to use reconstructed samples of neighboring blocks of the same current picture to generate an intra prediction block 265 according to an intra prediction mode of the set of intra prediction modes.
[0146] The intra prediction unit 254 (or generally the mode selection unit 260) is further configured to output the intra prediction parameters (or generally information indicating the selected intra prediction mode for the block) in the form of syntax elements 266 to the entropy encoding unit 270 for inclusion in the encoded picture data 21, so that, for example, the video decoder 30 may receive and use the prediction parameters for decoding.
[0147] Inter-prediction (with inter-layer prediction) The set of inter prediction modes (or possible inter prediction modes) depends on the available reference pictures (i.e., previous pictures that have been at least partially decoded, e.g., stored in DBP 230) and other inter prediction parameters, such as whether the entire reference picture is used to search for the best matching reference block or only a portion of the reference picture, e.g., a search window area around the area of the current block, is used, and / or whether pixel interpolation, e.g., half / semi-pel, quarter-pel and / or 1 / 16-pel interpolation, is applied.
[0148] In addition to the prediction modes mentioned above, skip mode, direct mode and / or other inter prediction modes may be applied.
[0149] For example, in the case of extended merge prediction, the merge candidate list for such a mode is constructed by sequentially including the following five types of candidates: spatial MVP from spatially neighboring CUs, temporal MVP from co-located CUs, history-based MVP from a FIFO table, pairwise average MVP, and zero MV. To increase the accuracy of the MV in the merge mode, decoder-side motion vector refinement (DMVR) based on bilateral matching may be applied. The merge mode with MVD (MMVD) is derived from the merge mode with motion vector differential. To specify whether the MMVD mode is used for a CU, an MMVD flag is signaled immediately after sending the skip flag and merge flag. A CU-level adaptive motion vector resolution (AMVR) scheme may be applied. AMVR allows the MVD of a CU to be coded with different precision. The MVD of the current CU can be adaptively selected depending on the prediction mode for the current CU. When a CU is coded in merge mode, the combined inter / intra prediction (CIIP) mode may be applied to the current CU. Weighted averaging of the inter and intra prediction signals is performed to obtain the CIIP prediction. Affine motion compensation prediction: The affine motion field of a block is described by motion information of two control points (4 parameters) or a three control point motion vector (6 parameters). Subblock-based temporal motion vector prediction (SbTMVP): This is similar to temporal motion vector prediction (TMVP) in HEVC, but predicts the motion vectors of sub-CUs within the current CU.Bi-directional optical flow (BDOF), previously called BIO, is a simpler version that requires much less computation, especially in terms of the number of multiplications and the size of the multipliers. Triangular partition mode: In such a mode, the CU is divided equally into two triangular-shaped partitions using either diagonal or anti-diagonal partitioning. Furthermore, the bi-prediction mode is extended beyond simple averaging to allow weighted averaging of the two prediction signals.
[0150] The inter prediction unit 244 may include a motion estimation (ME) unit and a motion compensation (MC) unit (both not shown in FIG. 2). The motion estimation unit may be configured to receive or obtain a picture block 203 (current picture block 203 of current picture 17) and a decoded picture 231, or at least one or more previously reconstructed blocks, e.g., reconstructed blocks of one or more other / different previously decoded pictures 231, for motion estimation. For example, a video sequence may comprise the current picture and the previously decoded picture 231, or in other words, the current picture and the previously decoded picture 231 may be part of or form a sequence of pictures that form a video sequence.
[0151] The encoder 20 may be configured to, for example, select a reference block from multiple reference blocks of the same or different pictures among multiple other pictures, and provide the reference picture (or reference picture index) and / or an offset (spatial offset) between the position (x, y coordinates) of the reference block and the position of the current block to the motion estimation unit as inter-prediction parameters. This offset is also called a motion vector (MV).
[0152] The motion compensation unit is configured to obtain, e.g., receive, inter prediction parameters and perform inter prediction based on or using the inter prediction parameters to obtain inter prediction block 265. The motion compensation performed by the motion compensation unit may involve fetching or generating a predictive block based on motion / block vectors determined by motion estimation, possibly performing interpolation to sub-pixel precision. Interpolation filtering may generate additional pixel samples from known pixel samples, thus potentially increasing the number of candidate predictive blocks that can be used to code the picture block. Upon receiving a motion vector for the PU of the current picture block, the motion compensation unit may locate the predictive block to which the motion vector points in one of the reference picture lists.
[0153] The motion compensation unit may also generate syntax elements associated with the blocks and video slices for use by video decoder 30 in decoding picture blocks of the video slices. In addition to, or as an alternative to, slices and their respective syntax elements, tile groups and / or tiles and their respective syntax elements may be generated or used.
[0154] Entropy Coding The entropy encoding unit 270 may encode the quantized coefficients 209, the inter-prediction parameters, the intra-prediction parameters, the loop filter parameters, and / or other syntax elements using, for example, an entropy encoding algorithm or scheme (e.g., a variable length coding (VLC) scheme, a context adaptive VLC scheme (CAVLC)), an arithmetic coding scheme, binarization, context adaptive binary arithmetic coding (CABAC), syntax-based context-adaptive binary arithmetic coding (SBAC), probability interval partitioning entropy, etc. 2. The video decoder 30 may be configured to apply a compression algorithm (e.g., a PIPE (High Entropy Encoding) coding, or another entropy encoding methodology or technique), or bypass (no compression) to obtain encoded picture data 21, which may be output via output 272, e.g., in the form of encoded bitstream 21, whereby, for example, video decoder 30 may receive and use the parameters for decoding. Encoded bitstream 21 may be transmitted to video decoder 30 or stored in memory for later transmission or retrieval by video decoder 30.
[0155] Other structural variations of the video encoder 20 can be used to encode the video stream. For example, a non-transform-based encoder 20 can quantize the residual signal directly for a block or frame without the transform processing unit 206. In another implementation, the encoder 20 can have the quantization unit 208 and the inverse quantization unit 210 combined into a single unit.
[0156] Decoder and decoding method 3 illustrates an example of a video decoder 30 configured to implement the techniques of the present application. The video decoder 30 is configured to receive encoded picture data 21 (e.g., encoded bitstream 21), for example, encoded by encoder 20, to obtain a decoded picture 331. The encoded picture data or bitstream comprises information for decoding the encoded picture data, for example, data representing picture blocks of an encoded video slice (and / or tile group or tile), and associated syntax elements.
[0157] 3, decoder 30 includes an entropy decoding unit 304, an inverse quantization unit 310, an inverse transform processing unit 312, a reconstruction unit 314 (e.g., summer 314), a loop filter 320, a decoded picture buffer (DBP) 330, a mode application unit 360, an inter prediction unit 344, and an intra prediction unit 354. Inter prediction unit 344 may be or may include a motion compensation unit. Video decoder 30 may, in some examples, perform a decoding path that is generally complementary to the encoding path described with respect to video encoder 100 from FIG. 2.
[0158] As described with respect to encoder 20, inverse quantization unit 210, inverse transform processing unit 212, reconstruction unit 214, loop filter 220, decoded picture buffer (DPB) 230, inter prediction unit 344, and intra prediction unit 354 are also referred to as forming a “built-in decoder” of video encoder 20. Accordingly, inverse quantization unit 310 may be identical in function to inverse quantization unit 110, inverse transform processing unit 312 may be identical in function to inverse transform processing unit 212, reconstruction unit 314 may be identical in function to reconstruction unit 214, loop filter 320 may be identical in function to loop filter 220, and decoded picture buffer 330 may be identical in function to decoded picture buffer 230. Accordingly, the descriptions provided for the respective units and functions of video encoder 20 apply correspondingly to the respective units and functions of video decoder 30.
[0159] Entropy Decoding The entropy decoding unit 304 is configured to parse the bitstream 21 (or encoded picture data 21 in general), e.g., perform entropy decoding on the encoded picture data 21, e.g., to obtain quantized coefficients 309 and / or decoded coding parameters (not shown in FIG. 3 ), e.g., any or all of inter-prediction parameters (e.g., reference picture indices and motion vectors), intra-prediction parameters (e.g., intra-prediction modes or indices), transform parameters, quantization parameters, loop filter parameters, and / or other syntax elements. The entropy decoding unit 304 may be configured to apply a decoding algorithm or scheme corresponding to an encoding scheme such as described with respect to the entropy encoding unit 270 of the encoder 20. The entropy decoding unit 304 may be further configured to provide the inter-prediction parameters, intra-prediction parameters, and / or other syntax elements to the mode application unit 360 and other parameters to other units of the decoder 30. The video decoder 30 may receive syntax elements at a video slice level and / or a video block level. In addition to or as an alternative to slices and their respective syntax elements, tile groups and / or tiles and their respective syntax elements may be received and / or used.
[0160] inverse quantization Inverse quantization unit 310 may be configured to receive a quantization parameter (QP) (or generally, information regarding inverse quantization) and quantized coefficients from encoded picture data 21 (e.g., by parsing and / or decoding by entropy decoding unit 304), and apply inverse quantization on decoded quantized coefficients 309 based on the quantization parameter to obtain dequantized coefficients 311, which may also be referred to as transform coefficients 311. The inverse quantization process may involve use of a quantization parameter determined by video encoder 20 for each video block in a video slice (or tile or tile group) to determine the degree of quantization, and similarly, the degree of inverse quantization to be applied.
[0161] Inverse transformation The inverse transform processing unit 312 may be configured to receive the dequantized coefficients 311, also referred to as transform coefficients 311, and apply a transform to the dequantized coefficients 311 to obtain the reconstructed residual block 213 in the sample domain. The reconstructed residual block 213 may also be referred to as the transform block 313. The transform may be an inverse transform, e.g., an inverse DCT, an inverse DST, an inverse integer transform, or a conceptually similar inverse transform process. The inverse transform processing unit 312 may further be configured to receive transform parameters or corresponding information from the encoded picture data 21 (e.g., by parsing and / or decoding by the entropy decoding unit 304) to determine the transform to be applied to the dequantized coefficients 311.
[0162] Reconstruction The reconstruction unit 314 (e.g., an adder or summator 314) may be configured to add the reconstructed residual block 313 to the prediction block 365, for example, by adding the sample values of the reconstructed residual block 313 and the sample values of the prediction block 365, to obtain a reconstructed block 315 in the sample domain.
[0163] Filtering A loop filter unit 320 (either in the coding loop or after the coding loop) is configured to filter the reconstructed block 315 to obtain a filtered block 321, for example, to smooth pixel transitions or otherwise improve video quality. The loop filter unit 320 may include one or more loop filters, such as a deblocking filter, a sample-adaptive offset (SAO) filter, or one or more other filters, for example, an adaptive loop filter (ALF), a noise suppression filter (NSF), or any combination thereof. In one example, the loop filter unit 220 may include a deblocking filter, an SAO filter, and an ALF filter. The order of filtering processes may be deblocking filter, SAO, and ALF. In another example, a process called luma mapping with chroma scaling (LMCS) (i.e., adaptive in-loop reshaper) is added. This process is performed before deblocking. In another example, the deblocking filter process may also be applied to interior sub-block edges, e.g., affine sub-block edges, ATMVP sub-block edges, sub-block transform (SBT) edges, and intra-subdivision (ISP) edges. Although loop filter unit 320 is depicted in FIG. 3 as being an in-loop filter, in other configurations, loop filter unit 320 may be implemented as a post-loop filter.
[0164] Decoded Picture Buffer The decoded video blocks 321 of the picture are then stored in a decoded picture buffer 330, which stores the decoded picture 331 as a reference picture for subsequent motion compensation for other pictures and / or for output respective display.
[0165] The decoder 30 is configured to output the decoded pictures 311, for example via output 312, for presentation or viewing to a user.
[0166] prediction The inter prediction unit 344 may be identical to the inter prediction unit 244 (particularly the motion compensation unit), and the intra prediction unit 354 may be identical in function to the inter prediction unit 254, performing the partitioning or partition decision and prediction based on partition and / or prediction parameters or respective information received (e.g., by parsing and / or decoding by the entropy decoding unit 304) from the encoded picture data 21. The mode application unit 360 may be configured to perform prediction (intra or inter prediction (which may comprise inter-layer prediction)) for each block based on the (filtered or unfiltered) reconstructed picture, block, or respective sample to obtain a prediction block 365.
[0167] When a video slice is coded as an intra-coded (I) slice, intra prediction unit 354 of mode application unit 360 is configured to generate predictive block 365 for a picture block of the current video slice based on the signaled intra prediction mode and data from previously decoded blocks of the current picture. When a video picture is coded as an inter-coded (i.e., B or P) slice, inter prediction unit 344 (e.g., a motion compensation unit) of mode application unit 360 is configured to produce predictive block 365 for a video block of the current video slice based on motion vectors and other syntax elements received from entropy decoding unit 304. For inter prediction, the predictive block may be produced from one of the reference pictures in one of the reference picture lists. Video decoder 30 may construct the reference frame lists, List 0 and List 1, using a default construction technique based on the reference pictures stored in DPB 330. The same or similar may apply to or with embodiments that use tile groups (e.g., video tile groups) and / or tiles (e.g., video tiles) in addition to or as an alternative to slices (e.g., video slices), e.g., video may be coded using I, P, or B tile groups and / or tiles.
[0168] Mode application unit 360 is configured to determine prediction information for video blocks of a current video slice by parsing motion vectors or related information and other syntax elements, and use the prediction information to produce predictive blocks for the current video block being decoded. For example, mode application unit 360 uses some of the received syntax elements to determine the prediction mode (e.g., intra- or inter-prediction) used to code the video blocks of the video slice, the inter-prediction slice type (e.g., B slice, P slice, or GPB slice), configuration information for one or more of the reference picture lists for the slice, motion vectors for each inter-encoded video block of the slice, inter-prediction status for each inter-coded video block of the slice, and other information to decode the video blocks in the current video slice. The same or similar may apply for or with embodiments that use tile groups (e.g., video tile groups) and / or tiles (e.g., video tiles) in addition to, or as an alternative to, slices (e.g., video slices); e.g., video may be coded using I, P, or B tile groups and / or tiles.
[0169] An embodiment of video decoder 30 such as that depicted in FIG. 3 may be configured to partition and / or decode pictures by using slices (also referred to as video slices), where a picture may be partitioned into or decoded using one or more (typically non-overlapping) slices, each of which may comprise one or more blocks (e.g., CTUs), or one or more groups of blocks (e.g., tiles (H.265 / HEVC and VVC) or bricks (VVC)).
[0170] An embodiment of video decoder 30 such as that depicted in FIG. 3 may be configured to partition and / or decode a picture by using slice / tile groups (also referred to as video tile groups) and / or tiles (also referred to as video tiles), where a picture may be partitioned into or decoded using one or more (typically non-overlapping) slice / tile groups, each of which may comprise, for example, one or more blocks (e.g., CTUs) or one or more tiles, and each tile may be, for example, rectangular in shape and may comprise one or more blocks (e.g., CTUs), e.g., full or fractional blocks.
[0171] Other variations of the video decoder 30 may be used to decode the encoded picture data 21. For example, the decoder 30 may produce an output video stream without a loop filtering unit 320. For example, a non-transform-based decoder 30 may inverse quantize the residual signal directly for a block or frame without an inverse transform processing unit 312. In another implementation, the video decoder 30 may have the inverse quantization unit 310 and the inverse transform processing unit 312 combined into a single unit.
[0172] It should be understood that the processing result of the current step may be further processed and then output to the next step in the encoder 20 and the decoder 30. For example, after the interpolation filtering, motion vector derivation, or loop filtering, further operations such as clipping or shifting may be performed on the processing result of the interpolation filtering, motion vector derivation, or loop filtering.
[0173] It should be noted that further operations may be applied to the derived motion vectors of the current block (including, but not limited to, control point motion vectors in affine mode, sub-block motion vectors in affine, planar, and ATMVP modes, temporal motion vectors, etc.). For example, the value of a motion vector is constrained to a predetermined range according to its representation bits. If the representation bits of a motion vector are bitDepth, the range is -2^(bitDepth-1) to 2^(bitDepth-1)-1, where "^" means exponentiation. For example, if bitDepth is set equal to 16, the range is -32768 to 32767, and if bitDepth is set equal to 18, the range is -131072 to 131071. For example, the value of a derived motion vector (e.g., the MVs of four 4x4 sub-blocks in one 8x8 block) is constrained so that the maximum difference between the integer parts of the four 4x4 sub-block MVs is not greater than N pixels, such as not greater than 1 pixel. Here, we provide two methods for constraining motion vectors according to bitDepth.
[0174] 4 is a schematic diagram of a video coding device 400 according to one embodiment of the disclosure. The video coding device 400 is suitable for implementing the disclosed embodiments as described herein. In one embodiment, the video coding device 400 may be a decoder, such as the video decoder 30 of FIG. 1A, or an encoder, such as the video encoder 20 of FIG. 1A.
[0175] Video coding device 400 comprises an ingress port 410 (or input port 410) and a receiver unit (Rx) 420 for receiving data, a processor, logic unit, or central processing unit (CPU) 430 for processing the data, a transmitter unit (Tx) 440 and an egress port 450 (or output port 450) for transmitting the data, and a memory 460 for storing the data. Video coding device 400 may also comprise optical-to-electrical (OE) and electrical-to-optical (EO) components coupled to ingress port 410, receiver unit 420, transmitter unit 440, and egress port 450 for the egress or ingress of optical or electrical signals.
[0176] The processor 430 is implemented in hardware and software. The processor 430 may be implemented as one or more CPU chips, cores (e.g., as a multi-core processor), FPGA, ASIC, and DSP. The processor 430 is in communication with the ingress port 410, the receiver unit 420, the transmitter unit 440, the egress port 450, and the memory 460. The processor 430 includes a coding module 470. The coding module 470 implements the disclosed embodiments described above. For example, the coding module 470 implements, processes, prepares, or provides various coding operations. Thus, the inclusion of the coding module 470 provides significant improvements to the functionality of the video coding device 400 and results in the transformation of the video coding device 400 into different states. Alternatively, the coding module 470 is implemented as instructions stored in the memory 460 and executed by the processor 430.
[0177] Memory 460 may comprise one or more disks, tape drives, and solid-state drives, and may be used as an overflow data storage device for storing programs when such programs are selected for execution and for storing instructions and data read during program execution. Memory 460 may be, for example, volatile and / or non-volatile, and may be read-only memory (ROM), random access memory (RAM), ternary content-addressable memory (TCAM), and / or static random-access memory (SRAM).
[0178] FIG. 5 is a simplified block diagram of an apparatus 500 that may be used as either or both of source device 12 and destination device 14 from FIG. 1, according to an example embodiment.
[0179] The processor 502 in the apparatus 500 may be a central processing unit. Alternatively, the processor 502 may be any other type of device or devices, now existing or later developed, capable of manipulating or processing information. While the disclosed implementations may be implemented using a single processor, e.g., processor 502, as shown, advantages in speed and efficiency may be achieved using more than one processor.
[0180] The memory 504 in the apparatus 500 may be a read-only memory (ROM) device or a random access memory (RAM) device in one implementation. Any other suitable type of storage device may be used as the memory 504. The memory 504 may include code and data 506 that is accessed by the processor 502 using a bus 512. The memory 504 may further include an operating system 508 and application programs 510, which include at least one program that enables the processor 502 to perform the methods described herein. For example, the application programs 510 may include applications 1 through N, which further include a video coding application that performs the methods described herein.
[0181] The apparatus 500 may also include one or more output devices, such as a display 518. The display 518, in one example, may be a touch-sensitive display that combines a display with touch-sensitive elements operable to sense touch input. The display 518 may be coupled to the processor 502 via the bus 512.
[0182] Although depicted here as a single bus, bus 512 of device 500 may be comprised of multiple buses. Additionally, secondary storage 514 may be directly coupled to other components of device 500 or may be accessed over a network, and may comprise a single integrated unit such as a memory card, or multiple units such as multiple memory cards. Thus, device 500 may be implemented in a wide variety of configurations.
[0183] Scalable Coding Scalable coding includes quality scalable (PSNR scalable), spatial scalable, etc. For example, as shown in Figure 6, a sequence can be downsampled to a lower spatial resolution version. Both the lower spatial resolution version and the original spatial resolution (higher spatial resolution) version will be encoded. Also, typically, the lower spatial resolution will be coded first and used as a reference for the higher spatial resolution that will be coded later.
[0184] To describe the information of layers (number, dependencies, output), there is a VPS (Video Parameter Set) defined as follows:
[0185] [Table 1]
[0186] vps_max_layers_minus1 plus 1 specifies the maximum number of layers allowed in each CVS that references the VPS.
[0187] vps_all_independent_layers_flag equal to 1 specifies that all layers in the CVS are coded independently, without using inter-layer prediction. vps_all_independent_layers_flag equal to 0 specifies that one or more of the layers in the CVS may use inter-layer prediction. When not present, the value of vps_all_independent_layers_flag is inferred to be equal to 1. When vps_all_independent_layers_flag is equal to 1, the value of vps_independent_layer_flag[ i ] is inferred to be equal to 1. When vps_all_independent_layers_flag is equal to 0, the value of vps_independent_layer_flag
[0000] is inferred to be equal to 1.
[0188] vps_layer_id[ i ] specifies the nuh_layer_id value of the i-th layer. For any two non-negative integer values of m and n, when m is less than n, the value of vps_layer_id[ m ] shall be less than vps_layer_id[ n ].
[0189] vps_independent_layer_flag[ i ] equal to 1 specifies that the layer with index i does not use inter-layer prediction. vps_independent_layer_flag[ i ] equal to 0 specifies that the layer with index i may use inter-layer prediction and vps_layer_dependency_flag[ i ] is present in the VPS.
[0190] vps_direct_dependency_flag[i][j] equal to 0 specifies that the layer with index j is not a direct reference layer for the layer with index i. vps_direct_dependency_flag[i][j] equal to 1 specifies that the layer with index j is a direct reference layer for the layer with index i. When vps_direct_dependency_flag[i][j] is not present for i and j in the inclusive range from 0 to vps_max_layers_minus1, it is inferred to be equal to 0.
[0191] The variable DirectDependentLayerIdx[ i ][ j ] that specifies the jth directly dependent layer of the ith layer is derived as follows. for( i = 1; i < vps_max_layers_minus1; i-- ) if( !vps_independent_layer_flag[ i ] ) for( j = i, k = 0; j >= 0; j-- ) (7-2) if( vps_direct_dependency_flag[ i ][ j ] ) DirectDependentLayerIdx[ i ][ k++ ] = j
[0192] The variable GeneralLayerIdx[ i ], which specifies the layer index of the layer with nuh_layer_id equal to vps_layer_id[ i ], is derived as follows: for( i = 0; i <= vps_max_layers_minus1; i++ ) (7-3) GeneralLayerIdx[ vps_layer_id[ i ] ] = i
[0193] A brief explanation is as follows: vps_max_layers_minus1 plus 1 means the number of layers. vps_all_independent_layers_flag indicates whether all layers are coded independently. vps_layer_id[ i ] indicates the layer ID of the i-th layer. vps_independent_layer_flag[ i ] indicates whether the i-th layer is coded independently. vps_direct_dependency_flag[ i ][ j ] indicates whether the jth layer is used for reference for the ith layer.
[0194] Here, the syntax elements vps_independent_layer_flag[ i ] and vps_direct_dependency_flag[ i ][ j ] are inter-layer prediction information of layers, i and j are layer identifiers, and different layers correspond to different layer identifiers.
[0195] DPB Management and Reference Picture Marking To manage their reference pictures in the decoding process, decoded pictures need to be kept in a decoded picture buffer (DPB) for reference use for subsequent picture decoding. To indicate these pictures, their picture order count (POC) information needs to be signaled directly or indirectly in the slice header. Generally, there are two reference picture lists, namely, list 0 and list 1. And, to signal the picture in the list, a reference picture index also needs to be included. For uni-prediction, reference pictures are fetched from one reference picture list, and for bi-prediction, reference pictures are fetched from two reference picture lists.
[0196] All reference pictures are stored in the DPB. Every picture in the DPB can be marked with one of three statuses: "used for long-term reference," "used for short-term reference," or "not used for reference." Once a picture is marked as "not used for reference," it is no longer used for reference. If it is no longer needed to be stored for output, it can be removed from the DPB. The status of a reference picture can be signaled in the slice header or derived from slice header information.
[0197] A new reference picture management method called RPL (Reference Picture List) method has been proposed. RPL proposes a reference picture set for the entire picture or a set for the current coding picture, and the reference pictures in the reference picture set are used for decoding the current picture or future (later or following) pictures. Therefore, RPL reflects the picture information in DPB, and even if a reference picture is not used for reference for the current picture, if it will be used for reference for a subsequent picture, it is required to be stored in RPL.
[0198] After a picture is reconstructed, it will be stored in the DPB and will be marked by default as "used for short-term reference". The DPB management operations will start after parsing the RPL information in the slice header.
[0199] Reference Picture List Configuration Reference picture information can be signaled via the slice header. Also, there may be several RPL candidates in a sequence parameter set (SPS), in which case the slice header may include an RPL index to obtain the required RPL information without signaling the entire RPL syntax structure. Alternatively, the entire RPL syntax structure may be signaled within the slice header.
[0200] Introducing the RPL method To save cost bits of RPL signaling, there are possibly several RPL candidates in the SPS. A picture can use the RPL index (ref_pic_list_idx[ i ]) to get its RPL information from the SPS. The RPL candidates are signaled as follows:
[0201] [Table 2]
[0202] The semantics are as follows: rpl1_same_as_rpl0_flag equal to 1 specifies that the syntax structures num_ref_pic_lists_in_sps
[0001] and ref_pic_list_struct(1, rplsIdx) are not present, and the following applies: - The value of num_ref_pic_lists_in_sps
[0001] is inferred to be equal to the value of num_ref_pic_lists_in_sps
[0000] . For rplsIdx ranging from 0 to num_ref_pic_lists_in_sps
[0000] -1, the value of each syntax element in ref_pic_list_struct(1, rplsIdx) is inferred to be equal to the value of the corresponding syntax element in ref_pic_list_struct(0, rplsIdx).
[0203] num_ref_pic_lists_in_sps[ i ] specifies the number of ref_pic_list_struct( listIdx, rplsIdx ) syntax structures with listIdx equal to i contained in the SPS. The value of num_ref_pic_lists_in_sps[ i ] shall be in the inclusive range of 0 to 64.
[0204] In addition to obtaining the RPL information based on the RPL index from the SPS, the RPL information can be signaled in the slice header.
[0205] [Table 3]
[0206] ref_pic_list_sps_flag[ i ] equal to 1 specifies that reference picture list i of the current slice is derived based on one of the ref_pic_list_struct( listIdx, rplsIdx ) syntax structures with listIdx equal to i in the SPS. ref_pic_list_sps_flag[ i ] equal to 0 specifies that reference picture list i of the current slice is derived based on the ref_pic_list_struct( listIdx, rplsIdx ) syntax structure with listIdx equal to i that is directly included in the slice header of the current picture.
[0207] When ref_pic_list_sps_flag[ i ] is not present, the following applies: - If num_ref_pic_lists_in_sps[ i ] is equal to 0, the value of ref_pic_list_sps_flag[ i ] is inferred to be equal to 0. - Otherwise (num_ref_pic_lists_in_sps[ i ] is greater than 0), if rpl1_idx_present_flag is equal to 0, the value of ref_pic_list_sps_flag
[0001] is inferred to be equal to ref_pic_list_sps_flag
[0000] . - Otherwise, the value of ref_pic_list_sps_flag[ i ] is inferred to be equal to pps_ref_pic_list_sps_idc[ i ] - 1.
[0208] ref_pic_list_idx[ i ] specifies an index into the list of ref_pic_list_struct( listIdx, rplsIdx ) syntax structures with listIdx equal to i contained in the SPS, of ref_pic_list_struct( listIdx, rplsIdx ) syntax structures with listIdx equal to i that are used to derive reference picture list i of the current picture. The syntax element ref_pic_list_idx[ i ] is represented by Ceil( Log2( num_ref_pic_lists_in_sps[ i ] ) ) bits. When not present, the value of ref_pic_list_idx[ i ] is inferred to be equal to 0. The value of ref_pic_list_idx[ i ] shall be in the inclusive range from 0 to num_ref_pic_lists_in_sps[ i ] - 1. When ref_pic_list_sps_flag[ i ] is equal to 1 and num_ref_pic_lists_in_sps[ i ] is equal to 1, the value of ref_pic_list_idx[ i ] is inferred to be equal to 0. When ref_pic_list_sps_flag[ i ] is equal to 1 and rpl1_idx_present_flag is equal to 0, the value of ref_pic_list_idx
[0001] is inferred to be equal to ref_pic_list_idx
[0000] .
[0209] The variable RplsIdx[ i ] is derived as follows: RplsIdx[ i ] = ref_pic_list_sps_flag[ i ] ? ref_pic_list_idx[ i ] : num_ref_pic_lists_in_sps[ i ] (7-95)
[0210] slice_poc_lsb_lt[ i ][ j ] specifies the value of the picture order count modulo MaxPicOrderCntLsb of the j-th LTRP entry in the i-th reference picture list. The length of the slice_poc_lsb_lt[ i ][ j ] syntax element is log2_max_pic_order_cnt_lsb_minus4 + 4 bits.
[0211] The variables PocLsbLt[i][j] are derived as follows: PocLsbLt[ i ][ j ] = ltrp_in_slice_header_flag[ i ][ RplsIdx[ i ] ] ? slice_poc_lsb_lt[ i ][ j ] : rpls_poc_lsb_lt[ listIdx ][ RplsIdx[ i ] ][ j ] (7-96)
[0212] delta_poc_msb_present_flag[i][j] equal to 1 specifies that delta_poc_msb_cycle_lt[i][j] is present. delta_poc_msb_present_flag[i][j] equal to 0 specifies that delta_poc_msb_cycle_lt[i][j] is not present.
[0213] Let prevTid0Pic be the previous picture in decoding order that has the same nuh_layer_id as the current picture, has TemporalId equal to 0, and is not a RASL or RADL picture. setOfPrevPocVals shall be the set consisting of: - PicOrderCntVal of prevTid0Pic, - the PicOrderCntVal of each picture referenced by an entry in prevTid0Pic's RefPicList
[0000] or RefPicList
[0001] and having the same nuh_layer_id as the current picture; - The PicOrderCntVal of each picture that follows prevTid0Pic in decoding order, has the same nuh_layer_id as the current picture, and precedes the current picture in decoding order.
[0214] When there is more than one value in setOfPrevPocVals for which the value modulo MaxPicOrderCntLsb is equal to PocLsbLt[i][j], the value of delta_poc_msb_present_flag[i][j] shall be equal to 1.
[0215] delta_poc_msb_cycle_lt[i][j] specifies the value of the variable FullPocLt[i][j] as follows: if( j == 0 ) DeltaPocMsbCycleLt[ i ][ j ] = delta_poc_msb_cycle_lt[ i ][ j ] else (7-97) DeltaPocMsbCycleLt[ i ][ j ] = delta_poc_msb_cycle_lt[ i ][ j ] + DeltaPocMsbCycleLt[ i ][ j - 1 ] FullPocLt[ i ][ j ] = PicOrderCntVal - DeltaPocMsbCycleLt[ i ][ j ] * MaxPicOrderCntLsb - ( PicOrderCntVal & ( MaxPicOrderCntLsb - 1 ) ) + PocLsbLt[ i ][ j ]
[0216] The value of delta_poc_msb_cycle_lt[ i ][ j ] is between 0 and 2 (32 - log2_max_pic_order_cnt_lsb_minus4 - 4 ) When not present, the value of delta_poc_msb_cycle_lt[ i ][ j ] is inferred to be equal to 0.
[0217] The syntax structure of RPL is as follows:
[0218] [Table 4]
[0219] num_ref_entries[listIdx][rplsIdx] specifies the number of entries in the ref_pic_list_struct(listIdx,rplsIdx) syntax structure. The value of num_ref_entries[listIdx][rplsIdx] shall be in the inclusive range of 0 to sps_max_dec_pic_buffering_minus1 + 14.
[0220] ltrp_in_slice_header_flag[ listIdx ][ rplsIdx ] equal to 0 specifies that the POC LSB of the LTRP entry in the ref_pic_list_struct( listIdx, rplsIdx ) syntax structure is present in the ref_pic_list_struct( listIdx, rplsIdx ) syntax structure. ltrp_in_slice_header_flag[ listIdx ][ rplsIdx ] equal to 1 specifies that the POC LSB of the LTRP entry in the ref_pic_list_struct( listIdx, rplsIdx ) syntax structure is not present in the ref_pic_list_struct( listIdx, rplsIdx ) syntax structure.
[0221] inter_layer_ref_pic_flag[ listIdx ][ rplsIdx ][ i ] equal to 1 specifies that the i-th entry in the ref_pic_list_struct( listIdx, rplsIdx ) syntax structure is an ILRP entry. inter_layer_ref_pic_flag[ listIdx ][ rplsIdx ][ i ] equal to 0 specifies that the i-th entry in the ref_pic_list_struct( listIdx, rplsIdx ) syntax structure is not an ILRP entry. When not present, the value of inter_layer_ref_pic_flag[ listIdx ][ rplsIdx ][ i ] is inferred to be equal to 0.
[0222] st_ref_pic_flag[listIdx][rplsIdx][i] equal to 1 specifies that the i-th entry in the ref_pic_list_struct(listIdx, rplsIdx) syntax structure is a STRP entry. st_ref_pic_flag[listIdx][rplsIdx][i] equal to 0 specifies that the i-th entry in the ref_pic_list_struct(listIdx, rplsIdx) syntax structure is an LTRP entry. When inter_layer_ref_pic_flag[listIdx][rplsIdx][i] equals 0 and st_ref_pic_flag[listIdx][rplsIdx][i] is not present, the value of st_ref_pic_flag[listIdx][rplsIdx][i] is inferred to be equal to 1.
[0223] The variables NumLtrpEntries[ listIdx ][ rplsIdx ] are derived as follows: for( i = 0, NumLtrpEntries[ listIdx ][ rplsIdx ] = 0; i < num_ref_entries[ listIdx ][ rplsIdx ]; i++ ) if( !inter_layer_ref_pic_flag[ listIdx ][ rplsIdx ][ i ] && !st_ref_pic_flag[ listIdx ][ rplsIdx ][ i ] ) (7-120) NumLtrpEntries[ listIdx ][ rplsIdx ]++
[0224] abs_delta_poc_st[ listIdx ][ rplsIdx ][ i ] specifies the value of the variable AbsDeltaPocSt[ listIdx ][ rplsIdx ][ i ] as follows: if( sps_weighted_pred_flag || sps_weighted_bipred_flag ) AbsDeltaPocSt[ listIdx ][ rplsIdx ][ i ] = abs_delta_poc_st[ listIdx ][ rplsIdx ][ i ] (7-121) else AbsDeltaPocSt[ listIdx ][ rplsIdx ][ i ] = abs_delta_poc_st[ listIdx ][ rplsIdx ][ i ] + 1
[0225] The value of abs_delta_poc_st[ listIdx ][ rplsIdx ][ i ] is between 0 and 2. 15 - 1 inclusive range.
[0226] strp_entry_sign_flag[ listIdx ][ rplsIdx ][ i ] equal to 1 specifies that the i-th entry in the syntax structure ref_pic_list_struct( listIdx, rplsIdx ) has a value greater than or equal to 0. strp_entry_sign_flag[ listIdx ][ rplsIdx ][ i ] equal to 0 specifies that the i-th entry in the syntax structure ref_pic_list_struct( listIdx, rplsIdx ) has a value less than 0. When not present, the value of strp_entry_sign_flag[ listIdx ][ rplsIdx ][ i ] is inferred to be equal to 1.
[0227] The list DeltaPocValSt[ listIdx ][ rplsIdx ] is derived as follows: for( i = 0; i < num_ref_entries[ listIdx ][ rplsIdx ]; i++ ) if( !inter_layer_ref_pic_flag[ listIdx ][ rplsIdx ][ i ] && st_ref_pic_flag[ listIdx ][ rplsIdx ][ i ] ) (7-122) DeltaPocValSt[ listIdx ][ rplsIdx ][ i ] = ( strp_entry_sign_flag[ listIdx ][ rplsIdx ][ i ] ) ? AbsDeltaPocSt[ listIdx ][ rplsIdx ][ i ] : 0 - AbsDeltaPocSt[ listIdx ][ rplsIdx ][ i ]
[0228] rpls_poc_lsb_lt[ listIdx ][ rplsIdx ][ i ] specifies the value of the picture order count modulo MaxPicOrderCntLsb of the picture referenced by the i-th entry in the ref_pic_list_struct( listIdx, rplsIdx ) syntax structure. The length of the rpls_poc_lsb_lt[ listIdx ][ rplsIdx ][ i ] syntax element is log2_max_pic_order_cnt_lsb_minus4 + 4 bits.
[0229] Some general explanations of RPL structures There is an RPL structure for each list. First, num_ref_entries[ listIdx istrplsIdx ] is signaled to indicate the number of reference pictures in the list. ltrp_in_slice_header_flag[ listIdx istrplsIdx ] is used to indicate whether LSB (Least Significant Bit) information is signaled in the slice header. If the current reference picture is not an inter-layer reference picture, st_ref_pic_flag[ listIdx ][ rplsIdx ][ i ] is used to indicate whether it is a long-term reference picture. If it is a short-term reference picture, POC information (abs_delta_poc_st and strp_entry_sign_flag) is signaled. If ltrp_in_slice_header_flag[tlistIdx istrplsIdx ] is 0, then rpls_poc_lsb_lt[plistIdx istrplsIdx plsj++ ] is used to derive the LSB information of the current reference picture. The MSB (Most Significant Bit) can be derived directly or based on the information in the slice header (delta_poc_msb_present_flag[ei][j] and delta_poc_msb_cycle_lt[ei][j]).
[0230] Decoding process for reference picture list construction This process is invoked at the start of the decoding process for each slice of a non-IDR picture.
[0231] Reference pictures are addressed through a reference index, which is an index into a reference picture list. When decoding an I slice, no reference picture list is used in decoding the slice data. When decoding a P slice, only reference picture list 0 (i.e., RefPicList<0000>) is used in decoding the slice data. When decoding a B slice, both reference picture list 0 and reference picture list 1 (i.e., RefPicList<0001>) are used in decoding the slice data.
[0232] At the start of the per-slice decoding process of a non-IDR picture, the reference picture lists RefPicList
[0000] and RefPicList
[0001] are derived. The reference picture lists are used in marking reference pictures as specified in section 8.3.3 or in decoding slice data.
[0233] NOTE 1 - For an I-slice of a non-IDR picture that is not the first slice of the picture, RefPicList
[0000] and RefPicList
[0001] may be derived for bitstream conformance checking purposes, but their derivation is not required for decoding of the current picture or pictures that follow the current picture in decoding order. For a P-slice that is not the first slice of the picture, RefPicList
[0001] may be derived for bitstream conformance checking purposes, but its derivation is not required for decoding of the current picture or pictures that follow the current picture in decoding order.
[0234] The reference picture lists RefPicList
[0000] and RefPicList
[0001] are configured as follows: for( i = 0; i < 2; i++ ) { for( j = 0, k = 0, pocBase = PicOrderCntVal; j < num_ref_entries[ i ][ RplsIdx[ i ] ]; j++) { if( !inter_layer_ref_pic_flag[ i ][ RplsIdx[ i ] ][ j ] ) { if( st_ref_pic_flag[ i ][ RplsIdx[ i ] ][ j ] ) { RefPicPocList[ i ][ j ] = pocBase - DeltaPocValSt[ i ][ RplsIdx[ i ] ][ j ] if(there is a reference picture picA in the DPB with the same nuh_layer_id as the current picture and PicOrderCntVal is equal to RefPicPocList[i][j]) RefPicList[ i ][ j ] = picA else RefPicList[ i ][ j ] = "No reference pictures" (8-5) pocBase = RefPicPocList[ i ][ j ] } else { if( !delta_poc_msb_cycle_lt[ i ][ k ] ) { if(there is a reference picA in the DPB with the same nuh_layer_id as the current picture and PicOrderCntVal & ( MaxPicOrderCntLsb - 1 ) is equal to PocLsbLt[ i ][ k ]) RefPicList[ i ][ j ] = picA else RefPicList[ i ][ j ] = "No reference pictures" RefPicLtPocList[ i ][ j ] = PocLsbLt[ i ][ k ] } else { if(there is a reference picA in the DPB with the same nuh_layer_id as the current picture and PicOrderCntVal is equal to FullPocLt[i][k]) RefPicList[ i ][ j ] = picA else RefPicList[ i ][ j ] = "No reference pictures" RefPicLtPocList[ i ][ j ] = FullPocLt[ i ][ k ] } k++ } } else { layerIdx = DirectDependentLayerIdx[ GeneralLayerIdx[ nuh_layer_id ] ][ ilrp_idc[ i ][ RplsIdx ][ j ] ] refPicLayerId = vps_layer_id[ layerIdx ] if (there is a reference picture picA in the DPB with nuh_layer_id equal to refPicLayerId and the same PicOrderCntVal as the current picture) RefPicList[ i ][ j ] = picA else RefPicList[ i ][ j ] = "No reference pictures" } } }
[0235] After the RPL is constructed, refPicLayerId is the layer identifier of the ILRP, PicOrderCntVal is the POC value, and the marking process is as follows:
[0236] Decoding Process for Reference Picture Marking This process is invoked once per picture after the decoding of the slice header and the decoding process for constructing the reference picture list for the slice as specified in Section 8.3.2, but before the decoding of the slice data. This process may result in one or more reference pictures in the DPB being marked as "not used for reference" or "used for long-term reference".
[0237] A decoded picture in a DPB can be marked as "not used for reference," "used for short-term reference," or "used for long-term reference," but only one of these three can be marked at any given moment during the operation of the decoding process. When applicable, assigning one of these markings to a picture implicitly removes another of these markings. When a picture is said to be marked as "used for reference," this refers collectively to the picture being marked as "used for short-term reference" or "used for long-term reference" (but not both).
[0238] STRPs and ILRPs are identified by their nuh_layer_id and PicOrderCntVal values. LTRPs are identified by their nuh_layer_id value and the Log2(MaxLtPicOrderCntLsb) LSBs of their PicOrderCntVal value.
[0239] If the current picture is a CLVSS picture, all reference pictures in the current DPB (if any) that have the same nuh_layer_id as the current picture are marked as "unused for reference".
[0240] Otherwise, the following applies: - For each LTRP entry in RefPicList
[0000] or RefPicList
[0001] , if the referenced picture is a STRP with the same nuh_layer_id as the current picture, then the picture is marked as "used for long-term reference". - Each reference picture with the same nuh_layer_id as the current picture in the DPB that is not referenced by any entry in RefPicList
[0000] or RefPicList
[0001] is marked as "unused for reference". - For each ILRP entry in RefPicList
[0000] or RefPicList
[0001] , the referenced picture is marked as "used for long-term reference".
[0241] Note that here, the ILRP (Inter-Layer Reference Picture) is marked as "used for long-term reference."
[0242] There are two syntaxes within the SPS that relate to cross-layer reference information.
[0243] [Table 5]
[0244] When sps_video_parameter_set_id is greater than 0, it specifies the value of vps_video_parameter_set_id for the VPS referenced by the SPS. When sps_video_parameter_set_id is equal to 0, the SPS does not reference a VPS, and the VPS is not referenced when decoding each CVS that references the SPS.
[0245] long_term_ref_pics_flag equal to 0 specifies that the LTRP is not used for inter prediction of any coded pictures in the CVS. long_term_ref_pics_flag equal to 1 specifies that the LTRP may be used for inter prediction of one or more coded pictures in the CVS.
[0246] inter_layer_ref_pics_present_flag equal to 0 specifies that ILRP is not used for inter prediction of any coded pictures in the CVS. inter_layer_ref_pics_flag equal to 1 specifies that ILRP may be used for inter prediction of one or more coded pictures in the CVS. When sps_video_parameter_set_id is equal to 0, the value of inter_layer_ref_pics_present_flag is inferred to be equal to 0.
[0247] A brief explanation is as follows: The long_term_ref_pics_flag is used to indicate whether LTRP can be used in the decoding process. The inter_layer_ref_pics_present_flag is used to indicate whether the ILRP can be used in the decoding process.
[0248] So, when inter_layer_ref_pics_present_flag is equal to 1, there may be an ILRP used in the decoding process, which is marked as "used for long term reference". In this case, there is an LTRP used in the decoding process, and even long_term_ref_pics_flag is equal to 0. So, there is a conflict with the semantics of long_term_ref_pics_flag.
[0249] In existing methods, some syntax elements for inter-layer reference information are always signaled without considering the index of the current layer. This invention proposes to add some conditions to the syntax elements to improve signaling efficiency.
[0250] Since long_term_ref_pics_flag is only used to control the parsing of ltrp_in_slice_header_flag and st_ref_pic_flag, the semantics are modified to control the parsing of flags parsed within RPL.
[0251] Syntax elements for inter-layer reference information are signaled taking into account the index of the current layer. If the information can be derived by the index of the current layer, the information does not need to be signaled.
[0252] Since long_term_ref_pics_flag is only used to control the parsing of ltrp_in_slice_header_flag and st_ref_pic_flag, the semantics are modified to control the parsing of flags parsed within RPL.
[0253] Syntax elements for inter-layer reference information are signaled taking into account the index of the current layer. If the information can be derived by the index of the current layer, the information does not need to be signaled.
[0254] First embodiment (modifying the semantics of long_term_ref_pics_flag to remove the inconsistency between LTRP and ILRP) Since long_term_ref_pics_flag is only used to control the parsing of ltrp_in_slice_header_flag and st_ref_pic_flag, the semantics are modified as follows:
[0255] [Table 6]
[0256] The semantics can also be modified to exclude ILRP as follows:
[0257] long_term_ref_pics_flag equal to 0 specifies that LTRPs are not used for inter prediction of any coded pictures in the CVS. long_term_ref_pics_flag equal to 1 specifies that LTRPs may be used for inter prediction of one or more coded pictures in the CVS, where the LTRPs do not include ILRPs (inter-layer reference pictures).
[0258] Second embodiment Note that when i is equal to 1, this means that layer 1 needs to reference other layers. Only layer 0 can be a reference layer, so vps_direct_dependency_flag[i][j] does not need to be signaled. Only when i is greater than 1, vps_direct_dependency_flag[i][j] needs to be signaled.
[0259] [Table 7]
[0260] vps_direct_dependency_flag[i][j] equal to 0 specifies that the layer with index j is not a direct reference layer for the layer with index i. vps_direct_dependency_flag[i][j] equal to 1 specifies that the layer with index j is a direct reference layer for the layer with index i. When vps_direct_dependency_flag[i][j] is not present for i and j in the inclusive range of 0 to vps_max_layers_minus1, vps_direct_dependency_flag[i][j] is inferred to be equal to 1 if i is equal to 1 and vps_independent_layer_flag[i] is equal to 0, otherwise it is inferred to be equal to 0.
[0261] Third embodiment Note that here, if sps_video_parameter_set_id (SPS level syntax element) is equal to 0, it means that there are no multiple layers, so there is no need to signal inter_layer_ref_pics_flag (inter-layer enablement syntax element) and the flag is 0 by default.
[0262] [Table 8]
[0263] [Table 9]
[0264] Note that when GeneralLayerIdx[nuh_layer_id] is equal to 0, the current layer is the 0th layer and cannot refer to any other layer, so there is no need to signal inter_layer_ref_pics_present_flag and its value is 0 by default.
[0265] [Table 10]
[0266] [Table 11]
[0267] Coding both cases mentioned above, another application example is presented below.
[0268] [Table 12]
[0269] [Table 13]
[0270] Fourth embodiment (inter-layer reference information is signaled taking into account the index of the current layer to eliminate redundant information signaling and improve coding efficiency) Note that when GeneralLayerIdx[nuh_layer_id] is equal to 1, the current layer is layer 1 and we can only refer to layer 0, but the ilrp_idc of layer 0 must be 0. Therefore, there is no need to signal ilrp_idc in this case.
[0271] [Table 14]
[0272] ilrp_idc[ listIdx ][ rplsIdx ][ i ] specifies the index into the list of directly dependent layers of the ILRP of the i-th entry in the ref_pic_list_struct( listIdx, rplsIdx ) syntax structure. The value of ilrp_idc[ listIdx ][ rplsIdx ][ i ] shall be in the inclusive range from 0 to GeneralLayerIdx[ nuh_layer_id ] - 1. When GeneralLayerIdx[ nuh_layer_id ] is equal to 1, the value of ilrp_idc[ listIdx ][ rplsIdx ][ i ] is inferred to be equal to 0.
[0273] Fifth embodiment It should be noted here that some or all of the embodiments, ie, embodiment 1 to embodiment 4, can be combined to form new embodiments.
[0274] For example, embodiment 1 + embodiment 2 + embodiment 3 + embodiment 4, or embodiment 2 + embodiment 3 + embodiment 4, or other combinations.
[0275] The following is a description of the encoding method and the decoding method as presented in the above-mentioned embodiments, and the application of the system using them.
[0276] 7 is a block diagram illustrating a content delivery system 3100 for implementing a content distribution service. The content delivery system 3100 includes a capture device 3102, a terminal device 3106, and optionally a display 3126. The capture device 3102 communicates with the terminal device 3106 over a communication link 3104. The communication link may include the communication channel 13 described above. The communication link 3104 includes, but is not limited to, WIFI, Ethernet, cable, wireless (3G / 4G / 5G), USB, or any type of combination thereof, or the like.
[0277] The capture device 3102 may generate data and encode the data by the encoding method as described in the above embodiment. Alternatively, the capture device 3102 may deliver the data to a streaming server (not shown), which encodes the data and transmits the encoded data to the terminal device 3106. The capture device 3102 may include, but is not limited to, a camera, a smartphone or pad, a computer or laptop, a video conferencing system, a PDA, a vehicle-mounted device, or any combination thereof, or the like. For example, the capture device 3102 may include the source device 12 described above. When the data includes video, a video encoder 20 included in the capture device 3102 may actually perform the video encoding process. When the data includes audio (i.e., voice), an audio encoder included in the capture device 3102 may actually perform the audio encoding process. For some practical scenarios, the capture device 3102 delivers the encoded video and audio data by multiplexing them together. In other practical scenarios, for example, in a video conferencing system, the encoded audio data and the encoded video data are not multiplexed, and the capture device 3102 delivers the encoded audio data and the encoded video data to the terminal device 3106 separately.
[0278] In the content delivery system 3100, a terminal device 3106 receives and plays the encoded data. The terminal device 3106 can be a device having data reception and recovery capabilities, such as a smartphone or pad 3108, a computer or laptop 3110, a network video recorder (NVR) / digital video recorder (DVR) 3112, a TV 3114, a set top box (STB) 3116, a video conferencing system 3118, a video surveillance system 3120, a personal digital assistant (PDA) 3122, a vehicle-mounted device 3124, or any combination thereof, capable of decoding the encoded data described above. For example, the terminal device 3106 may include the destination device 14 described above. When the encoded data includes video, the video decoder 30 included in the terminal device is prioritized to perform video decoding. When the encoded data includes audio, an audio decoder included within the terminal device is prioritized to perform the audio decoding process.
[0279] For a terminal device having a display, such as a smartphone or pad 3108, a computer or laptop 3110, a network video recorder (NVR) / digital video recorder (DVR) 3112, a TV 3114, a personal digital assistant (PDA) 3122, or a vehicle-mounted device 3124, the terminal device can provide the decoded data to its display. For a terminal device not equipped with a display, such as an STB 3116, a video conferencing system 3118, or a video surveillance system 3120, an external display 3126 is contacted thereto to receive and display the decoded data.
[0280] When each device in this system performs encoding or decoding, a picture encoding device or a picture decoding device can be used as shown in the above-mentioned embodiments.
[0281] 8 is a diagram illustrating the structure of an example of the terminal device 3106. After the terminal device 3106 receives a stream from the capture device 3102, a protocol progression unit 3202 analyzes the transmission protocol of the stream. The protocol may include, but is not limited to, Real Time Streaming Protocol (RTSP), Hyper Text Transfer Protocol (HTTP), HTTP Live streaming protocol (HLS), MPEG-DASH, Real-time Transport protocol (RTP), Real Time Messaging Protocol (RTMP), or any type of combination thereof, or the like.
[0282] After the protocol progression unit 3202 processes the stream, a stream file is generated. The file is output to the demultiplexing unit 3204. The demultiplexing unit 3204 can separate the multiplexed data into encoded audio data and encoded video data. As described above, in some practical scenarios, for example, in a video conferencing system, the encoded audio data and encoded video data are not multiplexed. In this situation, the encoded data is transmitted to the video decoder 3206 and the audio decoder 3208 without passing through the demultiplexing unit 3204.
[0283] Through the demultiplexing process, a video elementary stream (ES), an audio ES, and optionally subtitles are generated. The video decoder 3206, which includes the video decoder 30 as described in the above-mentioned embodiment, decodes the video ES by the decoding method as described in the above-mentioned embodiment to generate video frames and supplies this data to the synchronization unit 3212. The audio decoder 3208 decodes the audio ES to generate audio frames and supplies this data to the synchronization unit 3212. Alternatively, the video frames may be stored in a buffer (not shown in Figure Y) before being supplied to the synchronization unit 3212. Similarly, the audio frames may be stored in a buffer (not shown in Figure Y) before being supplied to the synchronization unit 3212.
[0284] The synchronization unit 3212 synchronizes the video and audio frames and provides the video / audio to the video / audio display 3214. For example, the synchronization unit 3212 synchronizes the presentation of video and audio information. The information may be coded in the syntax using timestamps related to the presentation of the coded audio and visual data and timestamps related to the delivery of the data stream itself.
[0285] If subtitles are included in the stream, a subtitle decoder 3210 decodes the subtitles, synchronizes them with the video and audio frames, and provides the video / audio / subtitles to a video / audio / subtitle display 3216 .
[0286] The present invention is not limited to the above-described system, and either the picture encoding device or the picture decoding device in the above-described embodiments can be incorporated into other systems, for example, automobile systems.
[0287] Mathematical Operators The mathematical operators used in this application are similar to those used in the C programming language. However, the results of integer division and arithmetic shift operations are more precisely defined, and additional operations such as exponentiation and real division are defined. Numbering and counting conventions generally start at 0, e.g., "first" is equivalent to 0th, "second" is equivalent to 1st, etc.
[0288] Arithmetic operators The following arithmetic operators are defined as follows: + Addition. - Subtraction (as an operator of two arguments) or negation (as a unary prefix operator). * Multiplication, including matrix multiplication. x y Exponentiation. Specifies x to the yth power. In other contexts, such notation is used to make a superscript not intended for interpretation as a power. / Integer division with truncation of the result towards 0. For example, 7 / 4 and -7 / -4 round down to 1, and -7 / 4 and 7 / -4 round down to -1. ÷ Used to denote division in mathematical expressions, where no truncation or rounding is intended.
[0289]
number
[0290] Used to denote division in mathematical expressions where no truncation or rounding is intended.
[0291]
number
[0292] The sum of f(i) for all integer values of i from x to y inclusive. x % y modulo. The remainder when x is divided by y, defined only for integers x and y, with x>=0 and y>0.
[0293] Logical operators The following logical operators are defined as follows: x && y The Boolean logic "connection" of x and y. x || y The Boolean logic "disjunction" of x and y. ! "Not" in Boolean logic. x ? y : zIf x is TRUE, i.e. not equal to 0, evaluates to the value of y, otherwise evaluates to the value of z.
[0294] Relational operators The following relational operators are defined as follows: > Greater than. >= Greater than or equal to. < Less than. <= Less than or equal to. == Equal to. != Not equal to.
[0295] When a relational operator is applied to a syntax element or variable that has been assigned the value "na" (not applicable), the value "na" is treated as a special value for that syntax element or variable. The value "na" is not considered equal to any other value.
[0296] Bitwise Operators The following bitwise operators are defined as follows: & Bitwise "and". When operating on integer arguments, it operates on the two's complement representation of the integer value. When operating on a binary argument that contains fewer bits than another argument, the shorter argument is extended by appending the more significant bits equal to 0. Bitwise "logical or". When operating on integer arguments, it operates on the two's complement representation of the integer values. When operating on a binary argument that contains fewer bits than another argument, the shorter argument is extended by appending its more significant bits equal to 0. ^ Bitwise "exclusive or". When operating on integer arguments, it operates on the two's complement representation of the integer value. When operating on a binary argument that contains fewer bits than another argument, the shorter argument is extended by appending more significant bits equal to 0. x >> y Arithmetic right shift of the two's complement integer representation of x by y binary places. This function is defined only for non-negative integer values of y. The bit shifted into the most significant bit (MSB) as a result of the right shift has a value equal to the MSB of x before the shift operation. x << y: Arithmetic left shift of the two's complement integer representation of x by y binary places. This function is defined only for non-negative integer values of y. The bit that is shifted into the least significant bit (LSB) as a result of the left shift has value equal to 0.
[0297] assignment operator The following arithmetic operators are defined as follows: = assignment operator. ++ increment, i.e., x++ is equivalent to x = x + 1, and when used in an array index, evaluates to the value of the variable before the increment operation. -- Decrement, i.e., x--, is equivalent to x = x - 1, and when used in an array index, evaluates to the value of the variable before the decrement operation. += Increment by the specified amount, i.e., x += 3 is equivalent to x = x + 3 and x += (-3) is equivalent to x = x + (-3). -= Decrement by the specified amount, i.e., x -= 3 is equivalent to x = x - 3, and x -= (-3) is equivalent to x = x - (-3).
[0298] Range Notation The following notation is used to specify a range of values: x=y..zx takes integer values starting from y up to and including z, where x, y, and z are integers and z is greater than y.
[0299] Mathematical Functions The following mathematical functions are defined:
[0300]
number
[0301] Asin(x) The trigonometric arc sine function, operating on an argument x in the range -1.0 to 1.0, inclusive, and with an output value in radians in the range -π÷2 to π÷2, inclusive. Atan(x) The trigonometric arctangent function, operating on the argument x, with output values in the range -π÷2 to π÷2, inclusive, in radians.
[0302]
number
[0303] Ceil(x) The smallest integer greater than or equal to x. Clip1 Y ( x ) = Clip3( 0, ( 1 << BitDepth Y ) - 1, x ) Clip1 C ( x ) = Clip3( 0, ( 1 << BitDepth C ) - 1, x )
[0304]
number
[0305] Cos(x) The trigonometric cosine function, operating on the argument x in radians. Floor(x) The largest integer less than or equal to x.
[0306]
number
[0307] Ln(x) The natural logarithm of x (logarithm to base e, where e is the base constant of the natural logarithm, 2.718 281 828...). Log2(x) The base 2 logarithm of x. Log10(x) The base 10 logarithm of x.
[0308]
number
[0309] Round( x ) = Sign( x ) * Floor( Abs( x ) + 0.5 )
[0310]
number
[0311] Sin(x) The trigonometric sine function, operating on the argument x in radians.
[0312]
number
[0313] Swap( x, y ) = ( y, x ) Tan(x) The trigonometric tangent function, operating on the argument x in radians.
[0314] Order of operation precedence When the order of precedence in an expression is not explicitly indicated by the use of parentheses, the following rules apply: - An operation with higher precedence is evaluated before any operation with lower precedence. - Operations of equal precedence are evaluated sequentially from left to right.
[0315] The following table specifies the precedence of operations from highest to lowest, with higher positions in the table indicating higher precedence.
[0316] For those operators that are also used in the C programming language, the order of precedence used in this specification is the same as that used in the C programming language.
[0317] [Table 15]
[0318] Logical operations in text In the text, statements of logical operations that are to be written mathematically in the following form: if(condition 0) Statement 0 else if(condition 1) Statement 1 ... else / * explanatory notes for remaining conditions * / Statement n can be explained in the following form: ...as follows / ...the following applies - If condition 0, then statement 0 - Otherwise, if condition 1, then statement 1 - ... - Otherwise (explanatory note in the remaining condition), statement n.
[0319] Each "if, otherwise, then, otherwise" statement in the text is introduced with "as follows" or "the following applies", followed immediately by an "if." The final condition of an "if, otherwise, then, otherwise" is always "otherwise." Interleaved "if, otherwise, then, otherwise" statements can be identified by matching the "as follows" or "the following applies" with the closing "otherwise."
[0320] In the text, statements of logical operations that are to be written mathematically in the following form: if(condition0a && condition0b) Statement 0 else if(condition 1a || condition 1b) Statement 1 ... else Statement n can be explained in the following form: ...as follows / ...the following applies - Statement 0 if all of the following conditions are true: - Condition 0a - Condition 0b - Otherwise, if one or more of the following conditions are true, then statement 1: - Condition 1a - Condition 1b - ... - Otherwise, statement n
[0321] In the text, statements of logical operations that are to be written mathematically in the following form: if(condition 0) Statement 0 if(condition1) Statement 1 can be explained in the following form: If condition 0, then statement 0 If condition 1, then statement 1.
[0322] Although embodiments of the invention are primarily described in terms of video coding, it should be noted that embodiments of coding system 10, encoder 20, and decoder 30 (and, correspondingly, system 10) and other embodiments described herein may also be configured for still picture processing or coding, i.e., processing or coding of individual pictures independent of any preceding or subsequent pictures, as in video coding. In general, if picture processing coding is limited to a single picture 17, only inter prediction units 244 (encoder) and 344 (decoder) may not be available. All other functions (also called tools or techniques) of the video encoder 20 and the video decoder 30, such as residual calculation 204 / 304, transform 206, quantization 208, inverse quantization 210 / 310, (inverse) transform 212 / 312, partitioning 262 / 362, intra prediction 254 / 354, and / or loop filtering 220, 320, as well as entropy coding 270 and entropy decoding 304, may be used equally for still picture processing.
[0323] For example, embodiments of the encoder 20 and the decoder 30, and functions described herein with reference to the encoder 20 and the decoder 30, may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on a computer-readable medium or transmitted over a communication medium as one or more instructions or code and executed by a hardware-based processing unit. The computer-readable medium may include a computer-readable storage medium, which corresponds to a tangible medium such as a data storage medium, or a communication medium, which includes any medium that facilitates transfer of a computer program from one place to another, for example, according to a communication protocol. In this form, the computer-readable medium may generally correspond to (1) a tangible computer-readable storage medium that is non-transitory, or (2) a communication medium such as a signal or carrier wave. The data storage medium may be any available medium that can be accessed by one or more computers or one or more processors to retrieve instructions, code, and / or data structures for implementing the techniques described in this disclosure. A computer program product may include the computer-readable medium.
[0324] In particular, a method for decoding a coded video bitstream is provided, the method being implemented in a decoder as illustrated in Figure 9, and comprising: S901, obtaining a sequence parameter set (SPS) level syntax element from the bitstream, where the SPS level syntax element equal to a predetermined value specifies that a video parameter set (VPS) is not referenced by the SPS, and an SPS level syntax element greater than the predetermined value specifies that the SPS references the VPS; S902, when the SPS level syntax element is greater than the predetermined value, obtaining an inter-layer enable syntax element that specifies whether one or more inter-layer reference pictures (ILRPs) are enabled to be used for inter-prediction of one or more coded pictures; and S903, predicting one or more coded pictures based on the value of the inter-layer enable syntax element.
[0325] Similarly, a method for encoding a video bitstream comprising coded data, to be implemented in an encoder as illustrated in Figure 10, is provided, the method comprising: S1001, encoding a sequence parameter set (SPS) level syntax element into a bitstream, wherein an SPS level syntax element equal to a predetermined value specifies that a video parameter set (VPS) is not referenced by the SPS, and an SPS level syntax element greater than the predetermined value specifies that the SPS references the VPS; and S1003, when the SPS level syntax element is greater than the predetermined value, encoding an inter-layer enablement syntax element into the bitstream, wherein the inter-layer enablement syntax element specifies whether one or more inter-layer reference pictures (ILRPs) are enabled to be used for inter prediction of one or more coded pictures.
[0326] Additionally, the method may further comprise: S1002, determining whether the SPS level syntax element is greater than a preset value.
[0327] 11 illustrates a decoder 1100 configured to decode a video bitstream comprising coded data for a plurality of pictures. The decoder 1100 according to the depicted example comprises an acquisition unit 1110 configured to acquire a sequence parameter set (SPS) level syntax element from the bitstream, wherein the SPS level syntax element equal to a predetermined value specifies that a video parameter set (VPS) is not referenced by the SPS, and an SPS level syntax element greater than the predetermined value specifies that the SPS references the VPS, and the acquisition unit 1110 is further configured to acquire an inter-layer enablement syntax element that specifies whether one or more inter-layer reference pictures (ILRPs) are enabled to be used for inter-prediction of one or more coded pictures when the SPS level syntax element is greater than the predetermined value; and a prediction unit 1120 configured to predict one or more coded pictures based on the value of the inter-layer enablement syntax element.
[0328] Here, the obtaining unit may be the entropy decoding unit 304. The prediction unit 1120 may be the inter prediction unit 344. The decoder 1100 may be the destination device 14, the decoder 30, the apparatus 500, the video decoder 3206, or the terminal device 3106.
[0329] Similarly, an encoder 1200 configured to encode a video bitstream comprising coded data for a plurality of pictures as illustrated in Figure 12 is provided. The encoder 1200 comprises a first encoding unit 1210 configured to encode a sequence parameter set (SPS) level syntax element into the bitstream, where an SPS level syntax element equal to a preset value specifies that a video parameter set (VPS) is not referenced by the SPS and an SPS level syntax element greater than the preset value specifies that the SPS references the VPS, and a second encoding unit 1220 configured to encode an inter-layer enablement syntax element into the bitstream when the SPS level syntax element is greater than the preset value, where the inter-layer enablement syntax element specifies whether one or more inter-layer reference pictures (ILRPs) are enabled to be used for inter prediction of one or more coded pictures.
[0330] In one possible implementation form of the method according to the fourth aspect itself, the encoder further comprises a determining unit configured to determine whether the SPS level syntax element is greater than a preset value.
[0331] Here, the first encoding unit 1210 and the second encoding unit 1220 may be the entropy encoding unit 270. The decision unit may be the mode selection unit 260. The encoder 1200 may be the source device 12, the encoder 20, or the apparatus 500.
[0332] By way of example, and not limitation, such computer-readable storage media may comprise RAM, ROM, EEPROM, CD-ROM, or other optical disk storage, magnetic disk storage, or other magnetic storage devices, flash memory, or any other medium that can be used to store desired program code in the form of instructions or data structures and that can be accessed by a computer. Also, any connection is properly termed a computer-readable medium. For example, if instructions are transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included within the definition of medium. However, it should be understood that computer-readable storage media and data storage media do not include connections, carrier waves, signals, or other transitory media, but instead cover non-transitory tangible storage media. As used herein, disk and disc include compact discs (CDs), laser discs, optical discs, digital versatile discs (DVDs), floppy disks, and Blu-ray discs, where disks typically reproduce data magnetically while discs reproduce data optically using lasers. Combinations of the above should also be included within the scope of computer-readable media.
[0333] The instructions may be executed by one or more processors, such as one or more digital signal processors (DSPs), general-purpose microprocessors, application-specific integrated circuits (ASICs), field-programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuitry. Accordingly, the term "processor" as used herein may refer to any of the above structures or any other structure suitable for implementing the techniques described herein. Additionally, in some aspects, the functionality described herein may be provided in dedicated hardware and / or software modules configured for encoding and decoding, or incorporated into a combined codec. Also, the techniques may be fully implemented within one or more circuits or logic elements.
[0334] The techniques of this disclosure may be implemented in a wide variety of devices or apparatuses, including a wireless handset, an integrated circuit (IC), or a set of ICs (e.g., a chipset). Various components, modules, or units are described in this disclosure to highlight functional aspects of devices configured to perform the disclosed techniques, but do not necessarily require implementation by different hardware units. Rather, as described above, the various units may be combined in a codec hardware unit or provided by a collection of interoperable hardware units, including one or more processors as described above, along with suitable software and / or firmware. [Explanation of symbols]
[0335] 10. Video Coding System 12 Source Devices 13 Communication Channels 14 Destination Device 16 Picture Source 17 Picture, Picture Data, Raw Picture, Raw Picture Data 18 Preprocessor, preprocessing unit 19 Preprocessed Picture, Preprocessed Picture Data 20 Video Encoder 21 Encoded Picture Data 22 Communication interface, communication unit 28 Communication interface, communication unit 30 Video decoder, short decoder 31 Decoded Picture, Decoded Picture Data 32 Post-processor, post-processing unit 33 Post-Processed Picture, Post-Processed Picture Data 34 Display Devices 46 Processing Circuit 201 Input, input interface 203 Picture Block 204 Residual Calculation Unit 205 Residual Block, Residual 206 Conversion Processing Unit 207 Conversion Factor 208 quantization units 209 quantized coefficients, quantized transform coefficients, quantized residual coefficients 210 Inverse Quantization Unit 211 Dequantized Coefficients, Dequantized Residual Coefficients 212 Inverse Transformation Processing Unit 213 reconstructed residual block, corresponding dequantized coefficients, transform block 214 Reconstruction Unit 215 reconstructed blocks 220 Loop Filter Unit 221 filtered blocks, filtered reconstructed blocks 230 Decoded Picture Buffer 231 decoded pictures 244 Inter Prediction Units 254 intra prediction units 260 Mode Selection Unit 262 division units 265 prediction block, predictor 266 Syntax Elements 270 Entropy Encoding Unit 272 Output, Output Interface 304 Entropy Decoding Unit 309 Quantized Coefficients 310 Inverse Quantization Unit 311 transform coefficients, dequantized coefficients 312 Inverse Transformation Processing Unit 313 Reconstructed residual block, transform block 314 Reconstruction Unit, Adder 315 reconstructed blocks 320 Loop Filter Unit 321 filtered blocks, decoded video blocks of a picture 330 Decoded Picture Buffer (DPB) 331 Decoded Picture 344 Inter Prediction Unit 354 Intra Prediction Units 360 mode application unit 365 predicted blocks 400 Video Coding Device 410 inlet port, input port 420 receiver unit 430 Processors, Logic Units, Central Processing Units 440 transmitter unit 450 outlet port, output port 460 memory 470 Coding Module 500 devices 502 processor 504 memory 506 Code and Data 508 Operating Systems 510 Application Program 512 Bus 514 Secondary Storage 518 Display 1100 decoder 1110 Acquisition Units 1120 prediction units 1200 Encoder 1210 First Encoding Unit 1220 Second Encoding Unit 3100 Contents Supply System 3102 Capture Device 3104 Communication Links 3106 Terminal Device 3108 Smartphone / Pad 3110 Computer / Laptop 3112 Network Video Recorder / Digital Video Recorder 3114 TV 3116 Set-top Box 3118 Video Conference System 3120 Video Surveillance System 3122 Mobile Information Terminals 3124 Vehicle-mounted devices 3126 Display 3202 Protocol Progression Unit 3204 Demultiplexing Unit 3206 Video Decoder 3208 Audio Decoder 3210 Subtitle Decoder 3212 Synchronous Unit 3214 Video / Audio Display 3216 Video / Audio / Subtitle Display
Claims
1. 1. A method for decoding a coded video bitstream, comprising: obtaining a sequence parameter set (SPS) level syntax element from the bitstream, wherein the SPS level syntax element equal to a preset value specifies that a video parameter set (VPS) is not referenced by the SPS, and the SPS level syntax element greater than the preset value specifies that the SPS references a VPS; When the SPS level syntax element is greater than the preset value, obtaining an inter-layer enablement syntax element that specifies whether one or more inter-layer reference pictures (ILRPs) are enabled to be used for the inter prediction of one or more coded pictures; predicting one or more coded pictures based on the value of the inter-layer enablement syntax element; A method for providing the above.
2. 2. The method of claim 1, wherein the VPS comprises syntax elements that describe the inter-layer prediction information of the layers in a coded video sequence (CVS), the SPS comprises the SPS level syntax elements and the inter-layer enablement syntax elements, and the CVS comprises the one or more ILRPs and the one or more coded pictures.
3. 3. The method of claim 2, wherein the step of predicting one or more coded pictures based on the value of the inter-layer enablement syntax element comprises: predicting the one or more coded pictures by referencing one or more inter-layer reference pictures (ILRPs) when the value of an inter-layer enablement syntax element specifying the one or more ILRPs is enabled to be used for inter prediction of the one or more coded pictures, and the one or more ILRPs are obtained based on the inter-layer prediction information included in the VPS referenced by the SPS.
4. The method of claim 1 , wherein a coded picture and the ILRP of the coded picture belong to different layers.
5. 5. The method of claim 1, wherein the SPS level syntax element equal to a predetermined value further specifies that a coded video sequence (CVS) comprises coded pictures of only one layer.
6. 6. The method according to claim 1, wherein the preset value is 0.
7. predicting the one or more coded pictures based on the value of the inter-layer enablement syntax element, 7. The method of claim 1, further comprising: predicting one or more coded pictures without reference to any ILRP if the value of the inter-layer enable syntax element specifies that the one or more ILRPs are not used for inter prediction of the one or more coded pictures.
8. 1. A method of encoding a coded video bitstream, comprising: encoding a sequence parameter set (SPS) level syntax element into the bitstream, wherein the SPS level syntax element equal to a preset value specifies that no video parameter set (VPS) is referenced by the SPS, and the SPS level syntax element greater than the preset value specifies that the SPS references a VPS; When the SPS level syntax element is greater than the preset value, encoding an inter-layer enablement syntax element into the bitstream, the inter-layer enablement syntax element specifying whether one or more inter-layer reference pictures (ILRPs) are enabled to be used for inter prediction of one or more coded pictures; A method for providing the above.
9. 9. The method of claim 8, wherein the VPS comprises syntax elements that describe the inter-layer prediction information of the layers in a coded video sequence (CVS), the SPS comprises the SPS level syntax elements and the inter-layer enablement syntax elements, and the CVS comprises the one or more ILRPs and the one or more coded pictures.
10. The method of claim 8 or 9, wherein a coded picture and the ILRP of the coded picture belong to different layers.
11. 11. The method of claim 8, wherein the SPS level syntax element equal to a preset value further specifies that a coded video sequence (CVS) comprises coded pictures of only one layer.
12. 12. The method according to claim 8, wherein the preset value is 0.
13. 13. The method of claim 8, wherein encoding the inter-layer enablement syntax element into the bitstream comprises encoding the inter-layer enablement syntax element into the bitstream specifying that the one or more ILRPs are enabled to be used for inter prediction of one or more coded pictures, based on determining that the one or more ILRPs are enabled to be used for inter prediction of one or more coded pictures.
14. 13. The method of claim 8, wherein encoding the inter-layer enablement syntax element into the bitstream comprises encoding the inter-layer enablement syntax element into the bitstream specifying that the one or more ILRPs are not used for inter prediction of one or more coded pictures, based on determining that the one or more ILRPs are not used for inter prediction of one or more coded pictures.
15. A decoding device (30) comprising processing circuitry for carrying out the method of any one of claims 1 to 7.
16. An encoding device (20) comprising processing circuitry for carrying out the method according to any one of claims 8 to 14.
17. A computer program product comprising program code for carrying out the method according to any one of the preceding claims 1 to 14.
18. 1. A decoding device, comprising: one or more processors; a non-transitory computer-readable storage medium coupled to the processor and storing programming for execution by the processor, the programming, when executed by the processor, configuring the decoder to perform the method of any one of the preceding claims 1 to 7.
19. 1. An encoding device, comprising: one or more processors; and a non-transitory computer-readable storage medium coupled to the processor and storing programming for execution by the processor, the programming, when executed by the processor, configuring the encoder to perform the method of any one of claims 8 to 14.
20. A non-transitory computer readable medium carrying program code that, when executed by a computing device, causes the computing device to perform the method of any one of the preceding claims.
21. 1. A non-transitory storage medium comprising an encoded bitstream to be decoded by an image decoding device, the bitstream being generated by dividing a frame of a video signal or an image signal into a plurality of blocks, the non-transitory storage medium comprising a plurality of syntax elements, the plurality of syntax elements comprising an inter-layer enablement syntax element specifying whether one or more inter-layer reference pictures (ILRPs) are enabled to be used for inter-prediction of one or more coded pictures on condition that an SPS level syntax element is greater than the predetermined value, the SPS level syntax element being equal to the predetermined value specifying that a video parameter set (VPS) is not referenced by the SPS, and the SPS level syntax element being greater than the predetermined value specifying that the SPS references a VPS.