Deriving values for each layer representation of a video bitstream
By modifying the decoding order of sublayer_level_idc[i] in VVC to a single traversal, the decoding complexity is reduced, addressing the inefficiency in setting values for sublayer_level_idc[i] array.
Patent Information
- Application Number
- JP2022574525
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-06-08
- Filing Date
- 2021-01-27
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-01-27
AI Technical Summary
The current version of VVC requires two traversals to set the values of sublayer_level_idc[i] array, leading to increased decoding complexity when maxNumSubLayersMinus1 is equal to or greater than 2.
Modify the parsing/decoding of sublayer_level_idc[i] to be done in descending order of index i, allowing the values to be set using a single traversal by setting sublayer_level_idc[i] to sublayer_level_idc[i+1] when not signaled in the bitstream.
This modification reduces decoding complexity by allowing the values of sublayer_level_idc[i] to be set in a single pass, thereby optimizing the decoding process.
Smart Images

Figure 0007555430000016 
Figure 0007555430000012 
Figure 0007555430000017
Abstract
Description
[Technical field]
[0001] Embodiments are disclosed that relate to determining a value (eg, a level value) for each layer representation in a video bitstream. [Background technology]
[0002] 1. HEVC and VVC
[0003] High Efficiency Video Coding (HEVC) is a block-based video codec standardized by ITU-T and MPEG that utilizes both temporal and spatial prediction. Spatial prediction is achieved using intra (I) prediction from within the current picture. Temporal prediction is achieved using unidirectional (P) or bidirectional inter (B) prediction at the block level from a previously decoded reference picture. At the encoder, the difference between the original and predicted pixel data, called the residual, is transformed to the frequency domain, quantized, and then entropy coded before being transmitted along with the necessary prediction parameters, such as the prediction mode and motion vectors, which are also entropy coded. The decoder performs entropy decoding, inverse quantization, and inverse transform to obtain the residual, which is then added to the intra or inter prediction to reconstruct the picture.
[0004] MPEG and ITU-T are working on a successor to HEVC within the Joint Video Exploratory Team (JVET). The name of this video codec under development is Versatile Video Coding (VVC). At the time of writing, the current version of the VVC draft specification is JVET-Q2001-vD.
[0005] 2. Ingredients
[0006] A video (aka video sequence) consists of a series of pictures, where each picture (aka image) consists of one or more components. Each component can be described as a two-dimensional rectangular array of sample values. A picture in a video sequence typically consists of three components: one luma component Y, whose sample values are luma values, and two chroma components Cb and Cr, whose sample values are chroma values. Also, the dimensions of the chroma components are typically 1 / 2 smaller in each dimension than the luma components. For example, the luma component of an HD picture would have a size of 1920x1080, and the chroma components would each have dimensions of 960x540. The components are sometimes called color components.
[0007] 3. Blocks and Units
[0008] A block is a two-dimensional array of samples. In video coding, each component is split into blocks, and the coded video bitstream consists of a series of coded blocks. In video coding, an image is typically split into units that cover a certain area of the image. Each unit consists of all blocks from all components that make up that particular area, and each block belongs entirely to one unit. A macroblock in H.264 and a coding unit (CU) in HEVC are examples of units.
[0009] A block may alternatively be defined as a two-dimensional array to which a transform used in coding is applied. These blocks are known by the name "transform block". Alternatively, a block may be defined as a two-dimensional array to which a single prediction mode is applied. These blocks may be called "prediction block". In this application, the word block is not tied to one of these definitions, but the description herein may apply to either definition.
[0010] 4. Residuals, Transforms, and Quantization
[0011] A residual block consists of samples that represent sample value differences between the sample values of the original source block and the sample values of the predicted block. The residual block is processed using a spatial transform. At the encoder, the transform coefficients are quantized according to a quantization parameter (QP) that controls the precision of the quantized coefficients. The quantized coefficients are sometimes called residual coefficients. High QP values result in low precision coefficients and therefore low fidelity residual blocks. A decoder receives the residual coefficients and applies inverse quantization and an inverse transform to derive the residual block.
[0012] 5.NAL Unit
[0013] Both HEVC and VVC specify a network abstraction layer (NAL). All data in HEVC and VVC, i.e. both video coding layer (VCL) data or non-VCL data, is encapsulated in NAL units. VCL NAL units contain data representing picture sample values. Non-VCL NAL units contain additional associated data such as parameter sets and supplemental enhancement information (SEI) messages. A NAL unit in HEVC starts with a header that specifies the NAL unit type of the NAL unit, which identifies what type of data is carried in the NAL unit, the layer ID and the time ID to which the NAL unit belongs. The NAL unit type is transmitted in a nal_unit_type codeword in the NAL unit header, and the type indicates and specifies how the NAL unit should be parsed and decoded. The remainder of the bytes of the NAL unit are the payload of the type indicated by the NAL unit type. A bitstream consists of a series of concatenated NAL units.
[0014] The syntax for the NAL unit header for HEVC is shown in Table 1.
[0015] TIFF0007555430000001.tif32170
[0016] The syntax for the NAL unit header in the current version of the VVC draft is shown in Table 2. TIFF0007555430000002.tif36170
[0017] The NAL unit types in the current VVC draft are shown in Table 3.
[0018] The decoding order is the order in which the NAL units shall be decoded, which is the same as the order of the NAL units in the bitstream. The decoding order may differ from the output order, which is the order in which the decoded pictures should be output by a decoder for display, etc. TIFF0007555430000003.tif191170
[0019] 6. Parameter Set
[0020] HEVC specifies three types of parameter sets: Picture Parameter Set (PPS), Sequence Parameter Set (SPS), and Video Parameter Set (VPS). A PPS contains data that is common to an entire picture, an SPS contains data that is common to a Coded Video Sequence (CVS), and a VPS contains data that is common to multiple CVSs.
[0021] The current version of VVC also specifies one additional parameter set, the Adaptive Parameter Set (APS). The APS may contain information that can be used for multiple slices, and two slices of the same picture can use different ones. The APS carries the parameters required for the Adaptive Loop Filter (ALF) tool and the luma mapping and chroma scaling (LMCS) tool.
[0022] 7. Decoding Capability Information (DCI)
[0023] The DCI specifies information that may not change during a decoding session and that the decoder may be good to know, such as the maximum number of sub-layers allowed. The information in the DCI is not necessary for the operation of the decoding process. In previous drafts of the VVC specification, the DCI was called the Decoding Parameter Set (DPS).
[0024] The decoding capability information also contains a set of general constraints on the bitstream that give the decoder information on what to expect from the bitstream in terms of coding tools, types of NAL units, etc. In the current version of VVC, the general constraint information can also be signaled in the VPS or SPS.
[0025] 8. Profiles, Tiers and Levels
[0026] In VVC, the profile, tier and level information for a bitstream is signaled in the bitstream itself. For multi-layer bitstreams, the information is signaled in the VPS, and for single-layer bitstreams, the information is signaled in the SPS. The syntax for SPS signaling is shown in Tables 4 and 5. TIFF0007555430000004.tif44170TIFF0007555430000005.tif87170
[0027] The semantics of general_level_idc and sublayer_level_idc[i] in the current version of VVC are as follows, where OlsInScope is the set of output layers within the scope of the bitstream.
[0028] general_level_idc indicates the level to which OlsInScope conforms, as specified in Annex A. The bitstream shall not contain values of general_level_idc other than those specified in Annex A. Other values of general_level_idc are reserved for future use by ITU-T|ISO / IEC. NOTE 1 - A higher value of general_level_idc indicates a higher level. The maximum level signaled in the DCI NAL unit for OlsInScope may be higher, but not lower, than the level signaled in the SPS for the CLVS contained within OlsInScope. NOTE 2 - When OlsInScope conforms to multiple profiles, general_profile_idc should indicate the profile that provides the preferred decoded result or preferred bitstream identification, as determined by the encoder (in a manner not specified herein). NOTE 3 – When the CVSs of OlsInScope conform to different profiles, multiple profile_tier_level() syntax structures may be included in the DCI NAL unit such that for each CVS of OlsInScope, there is at least one set of indicated profiles, tiers and levels for decoders that are able to decode the CVS.
[0029] The semantics of the syntax element sublayer_level_idc[i] is the same as the syntax element general_level_idc, apart from the specification of the inference of absent values, but it applies to the sublayer expression with TemporalId equal to i.
[0030] When not present, the value of sublayer_level_idc[i] is inferred as follows: a) sublayer_level_idc[maxNumSubLayersMinus1] is inferred to be equal to general_level_idc of the same profile_tier_level() structure, and b) for i between maxNumSubLayersMinus1-1 and 0, inclusive (in descending order of i values), sublayer_level_idc[i] is inferred to be equal to sublayer_level_idc[i+1].
[0031] In the VVC decoding process, the decoder derives (maxNumSubLayersMinus1+1) level values from the coded video bitstream. When profile_tier_level() is present in the SPS, the number of level values is decoded from the sps_max_sublayers_minus1 syntax element. Each level value specifies the level value for the i-th layer representation, where i=0 is the lowest layer representation and i=maxNumSubLayersMinus1 is the highest layer representation. The level values are called sublayer_level_idc[i] in VVC, where the index variable i can have values in the range {0,1,...,maxNumSubLayersMinus1}, inclusive. maxNumSubLayersMinus1 must be equal to or greater than 0. Summary of the Invention
[0032] As can be seen from the semantics, the value of sublayer_level_idc[i] in VVC is derived as follows: a) when i is equal to maxNumSubLayersMinus1, the value of sublayer_level_idc[i] is set equal to general_level_idc, and b) when i is less than maxNumSubLayersMinus1, if sublayer_level_idc[i] is signaled in the bitstream, the value of sublayer_level_idc[i] is derived from decoding the coded bitstream, otherwise (i.e., when the sublayer_level_idc[i] syntax element is not present in the bitstream), the value of sublayer_level_idc[i] is set equal to the value of sublayer_level_idc[i+1].
[0033] Currently, there are some challenges. For example, in the current version of VVC, when the value of maxNumSubLayersMinus1 is equal to or greater than 2, the decoder is required to scan the array sublayer_level_idc[i] twice to set the level value as follows:
[0034] A) In a first scan, performed in ascending order of index i (i.e., starting at 0 and ending at maxNumSubLayersMinus1-1), for each value of i, determine whether sublayer_level_idc[i] is signaled in the bitstream, and when it is determined that sublayer_level_idc[i] is signaled in the bitstream, decode the corresponding syntax element and set sublayer_level_idc[i] to the value of the decoded syntax element; and
[0035] B) In a second scan, performed in descending order of index i (i.e., i starts at maxNumSubLayersMinus1-1 and ends at 0), for each value of i, determine whether sublayer_level_idc[i] is signaled in the bitstream or not, and when it is determined that sublayer_level_idc[i] is not signaled in the bitstream, set the value of sublayer_level_idc[i] equal to sublayer_level_idc[i+1].
[0036] The reason two traversals are required is because the parsing / decoding of sublayer_level_idc[i] is in ascending order of index i, but the inference of sublayer_level_idc[i] is in descending order of index i.
[0037] The present disclosure provides a solution by providing a method where the values of the sublayer_level_idc[i] array are set using a single scan by modifying the parsing / decoding of sublayer_level_idc[i] to be done in descending order of index i, and thus, when sublayer_level_idc[i] is not signaled in the bitstream, for any i in the range from 0 to maxNumSubLayersMinus1-1, an inferred value to use is already available because the value of sublayer_level_idc[i+1] has either already been decoded from the bitstream or set to an inferred value.
[0038] According to a first aspect of the present disclosure, a method for processing a bitstream is provided. The method includes determining a value N, where N identifies a number of ordered layer representations, and N is greater than or equal to 3, such that the N ordered layer representations comprise a highest layer representation, a second-highest layer representation, and a third-highest layer representation. The method further includes determining a value for the highest layer representation. The method includes determining a value for the second-highest layer representation after determining the value for the highest layer representation and before determining the value for the third-highest layer representation. The method includes determining a value for the third-highest layer representation after determining the value for the second-highest layer representation.
[0039] According to a second aspect of the present disclosure there is provided a computer program comprising instructions which, when executed by a processing circuit, cause the processing circuit to perform the method according to the first aspect.
[0040] According to a third aspect of the present embodiment there is provided a carrier comprising a computer program according to the second aspect, the carrier being one of an electronic signal, an optical signal, a radio signal and a computer readable storage medium.
[0041] According to a fourth aspect of the present disclosure there is provided an apparatus, the apparatus adapted to perform the method according to the first aspect.
[0042] At least one of the aspects provides the advantage of reducing the decoding complexity. That is, the modification proposed in this disclosure ensures that the order of values in the bitstream is reversed compared to the current VVC draft specification. By setting the values of the sublayer_level_idc[i] array in a single pass, the decoding complexity is significantly reduced.
[0043] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate various embodiments. [Brief description of the drawings]
[0044] [Figure 1] FIG. 1 illustrates a system according to an exemplary embodiment. [Diagram 2] FIG. 2 is a schematic block diagram of an encoder according to one embodiment. [Diagram 3] FIG. 2 is a schematic block diagram of a decoder according to one embodiment. [Figure 4] 1 is a flowchart illustrating a process according to one embodiment. [Diagram 5] 1 is a flowchart illustrating a process according to one embodiment. [Figure 6] 1 is a flowchart illustrating a process according to one embodiment. [Figure 7] 1 is a flowchart illustrating a process according to one embodiment. [Figure 8] FIG. 2 is a block diagram of an apparatus according to one embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0045] 1 illustrates a system 100 according to an example embodiment. The system 100 includes an encoder 102 in communication with a decoder 104 via a network 110 (e.g., the Internet or other network).
[0046] FIG. 2 is a schematic block diagram of an encoder 102 for encoding a block (hereinafter "block") of pixel values in a video frame (picture) of a video sequence according to one embodiment. A current block is predicted by performing motion estimation by a motion estimator 250 from an already provided block in the same frame or in a previous frame. The result of the motion estimation is a motion vector or a displacement vector relative to a reference block in case of inter prediction. The motion vector is utilized by a motion compensator 250 to output an inter prediction of the block. An intra predictor 249 calculates an intra prediction of the current block. The output from the motion estimator / compensator 250 and the output from the intra predictor 249 are input into a selector 251 which selects either an intra prediction or an inter prediction for the current block. The output from the selector 251 is input into an error calculator in the form of an adder 241, which also receives the pixel values of the current block. The adder 241 calculates and outputs a residual error as the difference in pixel values between the block and the prediction of that block. The error is transformed in a transformer 242, such as by a discrete cosine transform, and quantized by a quantizer 243, followed by coding in an encoder 244, such as by an entropy encoder. In inter-coding, the estimated motion vector is also provided to the encoder 244 to generate a coded representation of the current block. The transformed and quantized residual error for the current block is also provided to an inverse quantizer 245 and an inverse transformer 246 to retrieve the original residual error. This error is added by an adder 247 to the block prediction output from the motion compensator 250 or the intra predictor 249 to create a reference block that can be used in predicting and coding the next block. This new reference block is first processed by a deblocking filter unit 230, according to an embodiment, to perform deblocking filtering to eliminate any blocking artifacts.The processed new reference block is then temporarily stored in the frame buffer 248 , where it is available to the intra predictor 249 and the motion estimator / compensator 250 .
[0047] 3 is a corresponding schematic block diagram of the decoder 104 according to some embodiments. The decoder 104 comprises a decoder 361, such as an entropy decoder, for decoding the coded representation of the block to obtain a set of quantized and transformed residual errors. These residual errors are dequantized in an inverse quantizer 362 and inverse transformed by an inverse transformer 363 to obtain a set of residual errors. These residual errors are added to pixel values of a reference block in an adder 364. The reference block is determined by a motion estimator / compensator 367 or an intra predictor 366 depending on whether inter or intra prediction is performed. Thereby, a selector 368 is interconnected to the adder 364, the motion estimator / compensator 367 and the intra predictor 366. The resulting decoded block output from the adder 364 is input to a deblocking filter unit 230 according to an embodiment for deblocking filtering any blocking artifacts. The filtered block is output from the decoder 504 and is preferably also temporarily provided to a frame buffer 365 where it may be used as a reference block for subsequent blocks to be decoded. The frame buffer 365 is thereby connected to a motion estimator / compensator 367 to make the stored blocks of pixels available to the motion estimator / compensator 367. The output from the adder 364 is also preferably input to an intra predictor 366 for use as an unfiltered reference block.
[0048] Embodiment
[0049] In the following description, various embodiments are described that solve one or more of the problems described above. It should be understood by those skilled in the art that two or more embodiments, or parts of the embodiments, may be combined to form a new solution that is still covered by the present disclosure.
[0050] In the following embodiments, given an array X[i] having N elements, an increasing scan order is defined as a loop through each element in X[i] starting with i equal to 0 and ending with i equal to (N-1), and a decreasing scan order is defined as a loop through each element in X[i] starting with i equal to (N-1) and ending with i equal to 0.
[0051] 4 is a flow chart illustrating a process 400 for deriving at least N values (e.g., N level values) for N corresponding layer representations from a coded video bitstream, according to one embodiment. The decoder 104 may perform some or all of the steps of process 400. Process 400 may begin at step s402. In one embodiment, each of the N layer representations is a temporal sub-layer representation, and the variable i (described below) may represent a temporal sub-layer ID (TemporalId).
[0052] Step s402 includes deriving a value N, which represents the number of layer representations present in the coded video bitstream, and which is derived from a syntax element SYN1 in the coded video bitstream. The value N here may be a value greater than 2.
[0053] After step s402, N values L[i] for i = 0 to N - 1 are derived, each value L[i] corresponding to the i-th layer representation in the coded video bitstream, each value L[i] specifying a level for the i-th layer representation, and further, the values L[i] are derived in descending order of scanning from the highest layer representation (e.g., i equal to N - 1) to the lowest layer representation (e.g., i equal to 0) (see steps s404 to s412).
[0054] In step s404, the value of L[N - 1] is set equal to a specific value (denoted as "G") (step s404). After step s404, steps s405 and s406 are performed, where in step s405, i is set equal to N - 2, and in step s406, it is determined whether i is greater than or equal to 0. If i is greater than or equal to 0, the process proceeds to step s407, otherwise, the process ends. Step s407 includes determining whether the syntax element SYN[i] for the i-th layer representation exists in the coded video bitstream.
[0055] If it is determined that the corresponding syntax element SYN[i] exists in the coded video bitstream, step s408 is performed, otherwise, step s410 is performed. Step s408 includes deriving the value of L[i] by decoding the corresponding SYN[i] syntax element, where the syntax element SYN[i] represents the level value L[i] for the i-th layer representation (e.g., L[i] is set equal to SYN[i]). Step s410 includes setting the value of L[i] equal to the value of L[i + 1]. In an alternative version of this embodiment, step s410 is modified such that L[i] is set equal to L[j] instead of L[i + 1], where j > i and j < N. Step s412 includes decrementing i. After step s412 is performed, the process returns to step s406.
[0056] In one embodiment, the particular value (i.e., denoted G above) is derived from a syntax element (denoted SYN2) in the coded video bitstream, where the value G is a general level value. The syntax element SYN2 may be a syntax element with the name general_level_idc. The syntax element may be present in an SPS and / or a VPS in the coded video bitstream.
[0057] In one embodiment, process 400 further includes deriving an ordered set of values V[i], from i=0 to i=(N-1), from the (N-1) syntax elements in the coded video bitstream, where each value V[i] corresponds to an i-th layer representation in the coded video bitstream, and each value V[i] indicates whether there is a syntax element SYN[i] for the i-th layer representation present in the coded video bitstream. In this embodiment, in step s407, determining whether a syntax element SYN[i] for the i-th layer representation is present in the coded video bitstream includes determining a value of the corresponding value V[i]. In one embodiment, each of the (N-1) syntax elements is a one-bit flag. In the bitstream, the order of the syntax elements may be such that all V[i] syntax elements precede (i.e., come before) any SYN[i] syntax element. The order of SYN[i] syntax elements must be such that SYN[m] precedes SYN[n] in the bitstream when m is greater than n. That is, SYN[i] syntax elements are ordered in the bitstream in descending order of i. Syntax elements V[i] may be ordered in the bitstream in ascending or descending order of i.
[0058] 5 is a flow chart illustrating a process 500 for deriving at least N level values (L[i] for i=0 to i=N-1) for N corresponding layer representations (e.g., N corresponding temporal sub-layer representations) from a coded video bitstream according to another embodiment. The decoder 104 may perform some or all of the steps of process 500. Process 500 may begin at step s502.
[0059] Step s502 includes decoding syntax element S1 from the bitstream and deriving the number N of layer representations present in the bitstream from S1 (for example, S1 may be vps_ptl_max_temporal_id[i] or sps_max_sublayers_minus1).
[0060] Step s504 involves decoding syntax element S2 from the bitstream and deriving a general level value G from the decoded S2 value.
[0061] Step s506 involves setting L[N-1] to G.
[0062] If N is equal to 1, then process 500 is completed, otherwise process 500 proceeds to step s510, where variable i is set to 0. After step s510, steps s512, s514, and s516 are performed until i reaches N-1.
[0063] In step s512, for layer representation i, syntax element S3 is decoded from the bitstream and a value V[i] is derived from the decoded value, where V[i] determines whether syntax element S4 represents a level value for the respective layer representation (i.e., whether the i-th layer representation is present in the bitstream). Step s514 includes incrementing i by 1 (i.e., i=i1). Step s516 includes determining whether i=N-1. If i=N-1, process 500 proceeds to step s518; otherwise, process 500 returns to step s512. As shown in FIG. 5, in this embodiment, the decoder order of syntax element S3 and the derivation of the V[i] value are performed in ascending order from the lowest layer representation (e.g., i=0) to the second highest layer representation (e.g., i=N-2).
[0064] Once all of the V[i] values have been obtained, the level values L[i] for each of the layer representations (e.g., layer representation=i) are derived by a single pass from the highest layer representation (i.e., i=N-1) to the lowest layer representation (i.e., i=0), i.e., steps s518 to s528 are performed.
[0065] Step s518 involves setting i=N-2.
[0066] Step s520 involves determining whether the value of the corresponding syntax element S3 specifies that the corresponding syntax element S4 is present in the bitstream. In one embodiment (shown in FIG. 5), this involves determining whether V[i] is equal to 1. In this embodiment, if V[i] is equal to 1, the corresponding syntax element S4 is present in the bitstream and process 500 proceeds to step s522; otherwise, the corresponding syntax element S4 is not present in the bitstream and process 500 proceeds to step s524.
[0067] Step s522 includes decoding the corresponding S4 syntax element and deriving a level value L[i] for the layer representation from the S4 (e.g., setting L[i] equal to the decoded corresponding S4 syntax element).
[0068] Step s524 involves setting the level value L[i] for the layer representation equal to the level value for the nearest higher layer representation (eg, setting L[i] equal to L[i+1]).
[0069] Step s526 includes setting i=i-1, and step s528 includes determining whether i is greater than or equal to 0. If i is not greater than or equal to 0, the process 500 is complete; otherwise, the process 500 returns to step s520.
[0070] The number of the layer representation (eg, i) may be the number of the temporal sub-layer representation, and the level value L[i] may be the temporal sub-layer level value.
[0071] In some embodiments, one or more of the steps of process 500 (e.g., steps s510-s528) are performed by the decoder 104 when the decoder 104 is decoding the syntax structure profile_tier_level(). The names of the constant values and syntax tables in the decoding steps may be mapped to names in the syntax structure in Table 6 as follows: TIFF0007555430000006.tif32170
[0072] In one embodiment, profile_tier_level() is defined in Table 7 as follows: TIFF0007555430000007.tif88170
[0073] Comparing Table 7 with Table 5, one instance can be seen where row 16 of Table 7 differs from row 16 of Table 5. In particular, in row 16 of Table 7, variable i is initialized to (maxNumSubLayersMinus1-1) and then decremented until variable i reaches -1, whereas in row 16 of Table 5, variable i is initialized to 0 and then incremented until variable i reaches maxNumSubLayersMinus1. Thus, assuming that sublayer_level_present_flag[i] and sublayer_level_present_flag[i-1] are both set to 1 (i.e., the bitstream contains both sublayer_level_idc[i] and sublayer_level_idc[i-1]), the syntax element sublayer_level_idc[i] precedes the syntax element sublayer_level_idc[i-1] in the bitstream.
[0074] In this embodiment shown in Table 7, the semantics of sublayer_level_idc[i] are as follows:
[0075] sublayer_level_idc[i] indicates the level for the sublayer representation with TemporalId equal to i. When not present, the value of sublayer_level_idc[i] is inferred as follows: sublayer_level_idc[maxNumSubLayersMinus1] is inferred to be equal to the general_level_idc of the same profile_tier_level() structure, and for i from maxNumSubLayersMinus1-1 to 0, inclusive (in descending order of i values), sublayer_level_idc[i] is inferred to be equal to sublayer_level_idc[i+1].
[0076] In another embodiment, profile_tier_level() is defined in Table 8 as follows: TIFF0007555430000008.tif94170
[0077] In this embodiment, shown in Table 8, the loop index variable (denoted as "i" in the syntax table above) starts at 0 and ends at the highest value, i.e., ascending order. However, the examination of the sublayer_level_present_flag[] values and the parsing of the sublayer_level_idc[] syntax elements are performed in descending index order. Thus, this embodiment is equivalent to the embodiment disclosed above, but expressed in an alternative manner.
[0078] In another embodiment, the exemplary syntax table is the same (or unchanged) compared to the current version of VVC. S1 is one syntax element in the decoding step. In the exemplary syntax table, S1 is vps_ptl_max_temoral_id[i] or sps_max_sublayers_minus1 in the VPS and SPS, respectively. The value N is equal to the decoded value of the syntax element S1 + 1.
[0079] S1 is vps_ptl_max_temporal_id[i] in the VPS TIFF0007555430000009.tif59170
[0080] S1 is sps_max_sublayers_minus1 in SPS TIFF0007555430000010.tif39170
[0081] 6 is a flow chart illustrating a process 600 for deriving at least N level values for N corresponding layer representations (e.g., N corresponding temporal sub-layer representations) from a coded video bitstream according to another embodiment. Process 600 is similar to process 500, but uses a single loop instead of two loops. Process 600 may begin at step s602.
[0082] Step s602 includes decoding syntax element S1 from the bitstream and deriving the number N of layer representations present in the bitstream from S1 (for example, S1 may be vps_ptl_max_temporal_id[i] or sps_max_sublayers_minus1).
[0083] Step s604 involves decoding syntax element S2 from the bitstream and deriving a general level value G from the decoded S2 value.
[0084] Step s606 involves setting L[N-1] to G.
[0085] If N is equal to 1, the process 600 is completed, otherwise the process 600 proceeds to step s610.
[0086] Step s610 includes setting a variable i to N-2. After step s610, steps s612 to s622 are performed until i reaches -1.
[0087] In step s612, for layer representation i, syntax element S3 is decoded from the bitstream and a value V[i] is derived from the decoded value, where V[i] determines whether syntax element S4 represents a level value for the respective layer representation (i.e., whether the i-th layer representation is present in the bitstream or not).
[0088] Step s614 involves determining whether the value of the corresponding syntax element S3 specifies that the corresponding syntax element S4 is present in the bitstream. In one embodiment (shown in FIG. 6), this involves determining whether V[i] is equal to 1. In this embodiment, if V[i] is equal to 1, the corresponding syntax element S4 is present in the bitstream and process 600 proceeds to step s616; otherwise, the corresponding syntax element S4 is not present in the bitstream and process 600 proceeds to step s618.
[0089] Step s616 includes decoding the corresponding S4 syntax element and deriving a level value L[i] for the layer representation from the S4 (e.g., setting L[i] equal to the decoded corresponding S4 syntax element).
[0090] Step s618 involves setting the level value L[i] for the layer representation equal to the level value for the nearest higher layer representation (eg, setting L[i] equal to L[i+1]).
[0091] Step s620 includes setting i=i-1, and step s622 includes determining whether i is equal to -1. If i is equal to -1, the process 600 is complete; otherwise, the process 600 returns to step s612.
[0092] In this embodiment, profile_tier_level() is defined in Table 9 as follows: TIFF0007555430000011.tif87170
[0093] As Table 9 shows, the two "For" loops shown in Table 5 can be replaced by a single "For" loop.
[0094] 8 is a block diagram of an apparatus 800 for implementing the decoder 104 and / or the encoder 102, according to some embodiments. When the apparatus 800 implements a decoder, the apparatus 800 may be referred to as a "decoding apparatus 800," and when the apparatus 800 implements an encoder, the apparatus 800 may be referred to as an "encoding apparatus 800." As shown in FIG. 8, the apparatus 800 includes a processing circuit (PC) 802, which may include one or more processors (P) 855 (e.g., a general-purpose microprocessor and / or one or more other processors, such as an application specific integrated circuit (ASIC), field programmable gate array (FPGA), etc.), which may be co-sited in a single housing or in a single data center, or may be geographically distributed (i.e., the apparatus 800 may be a distributed computing device), and at least one network interface 848, which may be configured to communicate with the apparatus 800 via the network interface 848. The PC 802 may comprise at least one network interface 848, which may include a transmitter (Tx) 845 and a receiver (Rx) 847 for enabling the PC 802 to transmit data to and receive data from other nodes connected to the network 110 (e.g., an Internet Protocol (IP) network) to which it is (directly or indirectly) connected (e.g., the network interface 848 may be wirelessly connected to the network 110, in which case the network interface 848 may be connected in an antenna configuration), and a storage unit (a.k.a. "data storage system") 808, which may include one or more non-volatile storage devices and / or one or more volatile storage devices. In an embodiment in which the PC 802 includes a programmable processor, a computer program product (CPP) 841 may be provided. The CPP 841 includes a computer readable medium (CRM) 842, which stores a computer program (CP) 843 comprising computer readable instructions (CRI) 844.The CRM 842 may be a non-transitory computer-readable medium, such as a magnetic medium (e.g., a hard disk), an optical medium, a memory device (e.g., a random access memory, a flash memory), etc. In some embodiments, the CRI 844 of the computer program 843, when executed by the PC 802, configures the CRI to cause the device 800 to perform steps described herein (e.g., steps described herein with reference to a flowchart). In other embodiments, the device 800 may be configured to perform steps described herein without the need for code. That is, for example, the PC 802 may simply consist of one or more ASICs. Thus, features of the embodiments described herein may be implemented in hardware and / or software.
[0095] Although various embodiments have been described herein, it should be understood that the embodiments have been presented by way of example only, and not by way of limitation. Thus, the breadth and scope of the present disclosure should not be limited by any of the exemplary embodiments described above. Moreover, unless otherwise indicated herein or clearly contradicted by context, any combination of the above-described elements in all possible variations thereof is encompassed by the present disclosure.
[0096] Additionally, while the processes described above and illustrated in the Figures have been shown as a sequence of steps, this has been done for purposes of illustration only, and it is therefore contemplated that some steps may be added, some steps may be omitted, the order of the steps may be rearranged, and some steps may be performed in parallel.
Claims
1. A method (700) for processing a video bitstream, the method comprising: determining (s702) a value N, where N identifies a number of ordered layer representations, and N is greater than or equal to three, such that the N ordered layer representations comprise a highest layer representation, a second highest layer representation, and a third highest layer representation; determining (s704) a value for the highest layer representation; and determining (s706) a value for the second-highest layer representation after determining the value for the highest layer representation and before determining a value for the third-highest layer representation, wherein determining (s706) the value for the second-highest layer representation comprises: determining whether the video bitstream includes a first certain syntax element associated with the second highest layer representation; if the video bitstream includes the first certain syntax element associated with the second-highest layer representation, deriving a value from the first certain syntax element associated with the second-highest layer representation and determining that the value for the second-highest layer representation is the value derived from the first certain syntax element, otherwise inferring that the value for the second-highest layer representation is equal to the value for the highest layer representation and determining that the value for the second-highest layer representation is the inferred value; determining (s706) a value for the second highest layer representation, comprising: determining (s708) a value for the third-highest layer representation after determining the value for the second-highest layer representation, the determining (s708) comprising: determining whether the video bitstream includes a second syntax element associated with the third higher layer representation; if the video bitstream includes the second certain syntax element associated with the third-highest layer representation, deriving a value from the second certain syntax element associated with the third-highest layer representation and determining that the value for the third-highest layer representation is the value derived from the second certain syntax element, otherwise inferring that the value for the third-highest layer representation is equal to the value for the second-highest layer representation and determining that the value for the third-highest layer representation is the inferred value; determining (s708) a value for the third highest layer representation, comprising: A method comprising:
2. 2. The method of claim 1, wherein when the video bitstream includes both the first certain syntax element associated with the second highest layer representation and the second certain syntax element associated with the third highest layer representation, the first certain syntax element associated with the second highest layer representation precedes the second certain syntax element associated with the third highest layer representation in the video bitstream.
3. the method further comprising: decoding a syntax element from the video bitstream to produce a decoded value; and setting a variable V2 equal to the decoded value; determining whether the video bitstream includes the first certain syntax element associated with the second highest layer representation includes determining whether V2 is equal to a predetermined value. The method according to claim 1 or 2.
4. the method further comprising: decoding a syntax element from the video bitstream to produce a decoded value; and setting a variable V3 equal to the decoded value; determining whether the video bitstream includes the second certain syntax element associated with the third highest layer representation includes determining whether V3 is equal to a predetermined value.
4. The method according to any one of claims 1 to 3.
5. The method of claim 4 when claim 3 is recited, wherein the syntax element used to set the variable V2 and / or the syntax element used to set the variable V3 is ptl_sublayer_level_present_flag[i].
6. The method of claim 1 , wherein determining N comprises determining N based on syntax elements included in the video bitstream.
7. Determining N determining N based on syntax elements included in a video parameter set (VPS) included in the video bitstream; or Determining N based on syntax elements included in a sequence parameter set (SPS) included in the video bitstream. The method of any one of claims 1 to 6, comprising:
8. 8. The method of claim 6 or 7, wherein determining N is based on a syntax element that specifies a maximum time ID for a profile, tier and level (PTL) structure or a syntax element used to determine a maximum number of sublayers.
9. 9. The method of claim 1 , wherein determining a value for the highest layer representation comprises deriving the value for the highest layer representation from a syntax element included in a parameter set included in the video bitstream.
10. The method of claim 9 , wherein the parameter set is a sequence parameter set or a video parameter set.
11. A method according to any preceding claim, wherein each value for each layer representation is a level value.
12. The method according to claim 1 , wherein the layered representation is a temporal sub-layered representation.
13. Setting (s710) a first variable associated with the highest layer representation equal to the value determined for the highest layer representation; setting (s712) a second variable associated with the second highest layer representation equal to the value determined for the second highest layer representation; setting (s714) a third variable associated with the third highest layer representation equal to the value determined for the third highest layer representation; 13. The method of claim 1, further comprising:
14. A computer program (843) comprising instructions (844) which, when executed by a processing circuit (802), cause the processing circuit (802) to perform a method according to any one of claims 1 to 13.
15. A computer readable storage medium (842) containing the computer program of claim 14.
16. An apparatus (800) adapted to perform the method according to any one of claims 1 to 13.
Citation Information
Patent Citations
Image decoding device, image decoding method, image coding device, and image coding method
WO2015053120A1
Temporal sub-layer descriptor
WO2017195582A1
